Commit Graph

3622 Commits

Author SHA1 Message Date
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
5aad5e933e Extract repository classes to read/update box versions 2015-07-08 13:46:17 +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
647f869b00 PHPCS 2015-07-08 11:30:15 +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
a3649aae88 Add Some TagMetadata to TagFactory 2015-07-08 11:08:06 +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
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
ff67120388 Fixup some tests that fails with Elasticsearch. 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
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
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
Benoît Burnichon
b79eb27632 Fixup NativeAuthentication arguments 2015-07-02 12:27:25 +02:00
Benoît Burnichon
8e60e3f3ab Remove factory method from interface as not used and currently throwing Fatal Error. 2015-07-02 12:27:25 +02:00
Benoît Burnichon
8d47fb4848 Add ApplicationBoxAware trait 2015-07-02 12:27:25 +02:00
Benoît Burnichon
dbb33c85b9 Rename GlobalElasticOptions ElasticsearchOptions 2015-07-02 12:27:25 +02:00
Mathieu Darse
0f7deea610 Fix wrong query context instanciation 2015-07-02 12:25:36 +02:00
Mathieu Darse
1dd2a61338 Fix tests 2015-07-02 12:18:55 +02:00
Mathieu Darse
ebbcd3f4dd Restore privateCollectionMap in context & fix tests 2015-07-02 12:10:36 +02:00
jygaulier
8bc0b13e29 Merge pull request #1411 from jygaulier/PHRAS-556_EDIT-PRESETS_rebased
PHRAS-556
2015-07-02 11:26:28 +02:00
Jean-Yves Gaulier
a958087398 PHRAS-556 #time 1m
CS
2015-07-02 11:19:46 +02:00
Jean-Yves Gaulier
ce80c4222b PHRAS-482 #time 1m
CS
2015-07-02 11:09:11 +02:00
Jean-Yves Gaulier
d7c3a9943f PHRAS-482 #time 4h
- added "recordid:xxx"
- added "base:yyy" (makes "Base" facets ok)
to query parser
2015-07-01 17:54:32 +02:00
Thibaud Fabre
2d7d58079e Use base ID instead of collection ID 2015-07-01 11:52:12 +02:00
Jean-Yves Gaulier
22fb208667 PHRAS-556 #time 1h
CS
2015-06-30 18:13:42 +02:00
Jean-Yves Gaulier
04e6240414 PHRAS-556 #time 5h
- fix: creation of presets
- fix: usage of presets
- fix: deletion of presets
- new: routes for presets
2015-06-30 18:13:42 +02:00
Benoît Burnichon
7711d89ad2 Remove privateCollectionMap as not used and make test fail. 2015-06-29 20:28:16 +02:00
Mathieu Darse
6da62a55b3 Fix search options serialization & query context creation 2015-06-29 19:15:52 +02:00
Mathieu Darse
4157d14d1b Get collections by private fields & filter collections by user rights 2015-06-29 19:15:52 +02:00
Mathieu Darse
801314bf59 Fix tests 2015-06-29 19:15:52 +02:00
Mathieu Darse
8e45b3872f Fix context create 2015-06-29 19:15:52 +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