Commit Graph

9528 Commits

Author SHA1 Message Date
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
7839bf507f Merge pull request #1430 from bburnichon/PHRAS-372
PHRAS-372 Bad forward port
2015-07-10 11:51:19 +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
Benoît Burnichon
12ca9a48c4 Merge pull request #1426 from aztech-dev/clean-boxes
Clean boxes
2015-07-08 14:18:03 +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
be320ea7a2 Bump elasticsearch version to 1.6.0 2015-07-08 12:07:32 +02:00
Benoît Burnichon
647f869b00 PHPCS 2015-07-08 11:30:15 +02:00
Benoît Burnichon
f3834eb083 Add getFirstDatabox and getClient to PhraseanetTestCase 2015-07-08 11:08:07 +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
0199196b71 Bump phpexiftool to allow static method resolution 2015-07-08 11:08:06 +02:00
Benoît Burnichon
a3649aae88 Add Some TagMetadata to TagFactory 2015-07-08 11:08:06 +02:00
Benoît Burnichon
3b7938c412 Add target install to Makefile
Update Makefile to perform grunt install
2015-07-06 19:09:58 +02:00
Benoît Burnichon
57ae1ade77 Fixup instability on local testsuite.
Permalink were checked on a non authentified call. So received resources were watermarked.
2015-07-06 17:01:48 +02:00
Benoît Burnichon
773f72859f Merge pull request #1422 from bburnichon/feature/performance-pass
Apply some improvements to cache handling
2015-07-03 18:38:10 +02:00
Benoît Burnichon
e30fc76603 PHPCS and use final classes to enforce composition 2015-07-03 18:20:10 +02:00
Benoît Burnichon
bfcf254390 Fixup SubdefsTest. Databox could not be stored as subdef modification invalidates it. 2015-07-03 18:20:10 +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
26f8869f1e Remove DataboxHydrator as now too tiny.
Add createMany to DataboxFactory.
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
0eb9ec40d8 Add Tests to DataboxRepository 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
fbfb61269f Merge pull request #1421 from mdarse/query-parser-code-style
Fix code style on latest query parser feature & add tests
2015-07-02 21:31:54 +02:00
Mathieu Darse
1d0257554b Fix code style on latest query parser feature & add tests 2015-07-02 19:06:44 +02:00
Benoît Burnichon
c66248981c Missing xmlhttp Service provider declaration. 2015-07-02 13:27:38 +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
272b729bb5 Merge pull request #1420 from bburnichon/feature/appbox-cleanup
appbox cleanup
2015-07-02 12:51:34 +02:00
Benoît Burnichon
ff67120388 Fixup some tests that fails with Elasticsearch. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
4cdca486d8 Add getApplication() method PhraseanetTestCase. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
a9160d62f6 Authentication linked test issues fixup 2015-07-02 12:33:19 +02:00
Benoît Burnichon
78187f7103 PHPCS fixup 2015-07-02 12:33:19 +02:00
Benoît Burnichon
d62a4eb4e7 Refactor setAdmin method to properly handle special cases. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
1eb7271810 Remove unused phraseaIndexerPath. 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
19b8d41dcd Mock AclProvider in pimple AND Application.
fix CamelCase in `stubbedACL` name.
2015-07-02 12:33:18 +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
3804eb5408 Add AuthenticatorAware trait to Application 2015-07-02 12:27:26 +02:00
Benoît Burnichon
5f281fd525 Remove appbox-register service as never used and class not defined 2015-07-02 12:27:26 +02:00
Benoît Burnichon
6e651f3b07 Replace app['phraseanet.appbox']->get_databox using trait 2015-07-02 12:27:26 +02:00