Commit Graph

5798 Commits

Author SHA1 Message Date
Benoît Burnichon
e30fc76603 PHPCS and use final classes to enforce composition 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
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
360e69ff8d Remove Commented method 2015-07-02 12:27:25 +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
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
041f017fd7 Merge pull request #1395 from jygaulier/PHRAS-442_FACETS-IN-API
PHRAS-442
2015-06-29 17:55:56 +02:00
Benoît Burnichon
28fee99fc4 Add Form for ElasticSearch Configuration.
Also changed type from array to Options object.
2015-06-29 17:10:32 +02:00
Benoît Burnichon
eeccc7184d Merge branch 'subdef-slow-events' of https://github.com/mdarse/Phraseanet into mdarse-subdef-slow-events 2015-06-23 16:03:55 +02:00
Benoît Burnichon
9743a83259 Merge pull request #1400 from bburnichon/feature/controller-as-service
PHRAS-529
2015-06-23 15:16:05 +02:00
Benoît Burnichon
aeee8d8f62 Refactor ThesaurusXmlHttpController 2015-06-23 13:24:00 +02:00