Commit Graph

2594 Commits

Author SHA1 Message Date
Benoît Burnichon
e8d4d5f38d Record_adapter now uses a specific repository from databox 2015-07-15 11:26:13 +02:00
Jean-Yves Gaulier
d012978508 PHRAS-504 #time 8h
fix: prod / cr-lf in metadata is ok for aggregate  filter
cr,lf,crlf are normalized
- getting field values from recordadapter
- during es indexation (direct sql read in metadata...)
- before querying
2015-07-15 11:10:38 +02:00
Benoît Burnichon
fd530d8795 Deprecate get_databox in favor of getDatabox 2015-07-13 18:47:10 +02:00
Benoît Burnichon
0b36d706a0 Deprecate {set,get}_type in favor of {set,get}Type 2015-07-13 18:43:28 +02:00
Benoît Burnichon
d5d9699397 Deprecated {set,get}_mime in favor of {set,get}MimeType 2015-07-13 18:35:20 +02:00
Benoît Burnichon
a4637c2e72 Deprecate get_record_id in favor of getRecordId 2015-07-13 18:24:06 +02:00
Benoît Burnichon
ff7801132d Deprecate get_collection_id instead of getCollectionId 2015-07-13 18:22:21 +02:00
Benoît Burnichon
8d4cf71d6d Deprecate get_base_id in favor of getBaseId 2015-07-13 18:19:42 +02:00
Benoît Burnichon
c97eedd40f Deprecate is_grouping in favor of isStory 2015-07-13 18:14:51 +02:00
Benoît Burnichon
2107cd28df Deprecated get_uuid in favor of getUuid 2015-07-13 18:08:04 +02:00
Benoît Burnichon
38ae7bc2ac Rename get_number/set_number to getNumber/setNumber 2015-07-13 17:50:20 +02:00
Benoît Burnichon
e14b2155aa Deprecated get_modification_date 2015-07-13 17:08:22 +02:00
Benoît Burnichon
9fea438079 Deprecated old underscore get_creation_date. Use getCreated instead. 2015-07-13 17:08:22 +02:00
Benoît Burnichon
620425cbf9 PHPCS fixes 2015-07-13 12:34:19 +02:00
Benoît Burnichon
f5949cd9f4 Fix story set metadata collection. 2015-07-13 11:18:12 +02:00
Benoît Burnichon
afbacaa640 set_original_name wasn't working as expected. Added test. 2015-07-10 19:06:10 +02:00
Thibaud Fabre
232b72269a Fix call on non object 2015-07-10 19:04:54 +02:00
Thibaud Fabre
d8f498aa26 Improve collection reference caching and remove legacy maps 2015-07-10 18:39:36 +02:00
Thibaud Fabre
569c2ff6d8 Implement save collection VO 2015-07-10 17:32:09 +02:00
Benoît Burnichon
c0ceb65ba2 Prepared statements does not handle string to int conversion.
Convert it from PHP.
2015-07-10 17:19:00 +02:00
Benoît Burnichon
277808c441 Reduce code complexity using Dbal methods. 2015-07-10 16:34:04 +02:00
Benoît Burnichon
5d8e89363e Some PHPCS 2015-07-10 16:32:39 +02:00
Benoît Burnichon
de8657aabf Restore previous behaviour of get_duration. PHPCS 2015-07-10 11:56:18 +02:00
Benoît Burnichon
4c1fcff4e6 Better checking TechnicalDataSet return type. 2015-07-10 11:56:17 +02:00
Benoît Burnichon
02cd830491 Fixup typo that leads to Fatal Error. 2015-07-10 11:56:17 +02:00
Benoît Burnichon
3b3f3f4011 Use TechnicalDataSet in record_adapter 2015-07-10 11:56:17 +02:00
Benoît Burnichon
a425043b9a Fix typo in Technical data const 2015-07-10 11:56:16 +02:00
Benoît Burnichon
3d16c624b4 Change some properties from protected to private 2015-07-10 11:56:16 +02:00
Benoît Burnichon
2e4d659045 Refactor record_adapter constructor 2015-07-10 11:56:16 +02:00
Benoît Burnichon
408e350b2e PHPCS and add blackfire bash aliases 2015-07-10 11:56:16 +02:00
Benoît Burnichon
c9cd428acc Use of old PDO singleton.
Also fixup test suite to check behaviour of set_mime (only setter)
2015-07-10 11:43:51 +02:00
Aztech
616f57e8ed WIP Extract collection service 2015-07-10 10:09:35 +02:00
Thibaud Fabre
07c0691092 Implement save method in collection reference repository 2015-07-09 20:13:46 +02:00
Thibaud Fabre
c5cab178a9 Add cache busting via save method of collection repository 2015-07-09 19:00:34 +02:00
Thibaud Fabre
977e778b61 Refactor collection repositories: use one instance per databox 2015-07-09 18:48:53 +02:00
Thibaud Fabre
6b516618aa Fix some test failures 2015-07-09 16:20:41 +02:00
Thibaud Fabre
bd57e04dc0 Add array cache collection repository 2015-07-09 15:49:27 +02:00
Thibaud Fabre
080aecd208 Fix undefined property 2015-07-09 14:40:23 +02:00
Thibaud Fabre
2623f39488 Add de/serialization methods for collection caching 2015-07-09 12:32:06 +02:00
Thibaud Fabre
ea6a4fdbf0 Extract repository and factory classes for collections 2015-07-09 12:32:06 +02:00
Benoît Burnichon
dd73d6dae2 Renaming of Databox{,Field}Repository 2015-07-08 14:58:41 +02:00
Thibaud Fabre
e28b080c5a Extract thumbnail manager classes from appbox 2015-07-08 13:46:17 +02:00
Aztech
c65fc6abec Fix incorrect call to read/save version 2015-07-08 13:46:17 +02:00
Aztech
5aad5e933e Extract repository classes to read/update box versions 2015-07-08 13:46:17 +02:00
Aztech
2a134d4bca Fix incorrect argument 2015-07-08 13:45:24 +02:00
Aztech
35989c7c7c Extract database maintenance service from base box + cleanup 2015-07-08 13:45:24 +02:00
Aztech
2605729137 Extract VO class for database connection settings 2015-07-08 13:45:24 +02:00
Benoît Burnichon
8ee5279d58 Remove all uses of databox_field::get_instance 2015-07-08 11:08:07 +02:00
Benoît Burnichon
82f19ee55d Begin databox_field refactor 2015-07-08 11:08:07 +02:00
Thibaud Fabre
1bcefda9a1 Add API get collection route
Conflicts:
	lib/Alchemy/Phrasea/Controller/Api/V1.php
	lib/classes/API/V1/adapter.php

Conflicts:
	lib/classes/appbox.php
2015-07-07 19:28:50 +02:00