Commit Graph

2419 Commits

Author SHA1 Message Date
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
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
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
Benoît Burnichon
dd0b661dac Refactor AccountController
PHRAS-529 #time 1h
2015-06-18 14:49:52 +02:00
Thibaud Fabre
22b912fa87 Cast coll_id to int 2015-06-18 11:40:59 +02:00
Thibaud Fabre
af1dc9126b Return base_id in API & remove unneeded conversions 2015-06-18 11:24:11 +02:00
Benoît Burnichon
e1510143a7 Merge pull request #1392 from bburnichon/feature/controller-as-service
Controller as service

PHRAS-529
2015-06-16 11:08:03 +02:00
Benoît Burnichon
ea7fb2b182 Refactor ActivityController 2015-06-15 16:51:23 +02:00
Benoît Burnichon
43d93eef36 More checks on cache returned values.
Switched to Redis in tests.
2015-06-12 12:09:00 +02:00
Benoît Burnichon
4241fd0e6c WIP with cache 2015-06-10 19:09:38 +02:00
Thibaud Fabre
c425c3391a CS fixes 2015-06-10 10:50:52 +02:00