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
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
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
Benoît Burnichon
cc7a238e92
Remove an SQL statement in databox, along with cache Key
2015-07-03 18:20:09 +02:00
Benoît Burnichon
62ac0e0cbc
Use computed key from appbox.
2015-07-03 18:20:09 +02:00
Benoît Burnichon
c5239259d1
Refactor DataboxRepository
2015-07-03 18:20:09 +02:00
Benoît Burnichon
a22ef5fa27
Rename AccessRestriction::filterAvailableDataboxes
2015-07-03 18:20:09 +02:00
Benoît Burnichon
00f5f3369e
Add DataboxRepository
2015-07-03 18:20:09 +02:00
Mathieu Darse
e4aafaac10
Restrict search on visible private fields
...
Search on private fields is only supported on bare text search right now (TextNode).
This also fix and issue on databox::get_collection_unique_ids() returning the
value from the first call over and over.
2015-07-03 14:33:48 +02:00
Benoît Burnichon
6e52421437
Merge pull request #1390 from mdarse/private-fields-collection-map
...
Fields « used by » collection map
2015-07-02 12:55:45 +02:00
Benoît Burnichon
ff67120388
Fixup some tests that fails with Elasticsearch.
2015-07-02 12:33:19 +02:00
Benoît Burnichon
f920e8354a
Replace phraseanet.appbox by getApplicationBox() method calls.
2015-07-02 12:33:19 +02:00
Benoît Burnichon
d645b92afa
Add AclAware Trait
2015-07-02 12:33:18 +02:00
Benoît Burnichon
4880f2bf5a
Add getAuthenticator usage
...
Replace $app['authentication']->getUser() by $app->getAuthenticatedUser()
replace twig app['authentication'].getUser() with corresponding method
2015-07-02 12:33:18 +02:00
Benoît Burnichon
6e651f3b07
Replace app['phraseanet.appbox']->get_databox using trait
2015-07-02 12:27:26 +02:00
Benoît Burnichon
360e69ff8d
Remove Commented method
2015-07-02 12:27:25 +02:00
Benoît Burnichon
fea47ef5ee
Change Elastic Field structure to cope with Collection base_ids
2015-06-29 19:15:52 +02:00
Benoît Burnichon
acb8ed86c8
Retrieve Collections indexed by field name
2015-06-29 19:15:51 +02:00
Benoît Burnichon
a0cc568a0c
CS fixes
2015-06-29 19:15:43 +02:00
Mathieu Darse
9172da904b
Braindump of collection-fields map
2015-06-29 19:13:56 +02:00