Commit Graph

9700 Commits

Author SHA1 Message Date
Mathieu Darse
386251b91c Remove duplication & fix test class name 2015-07-03 17:40:56 +02:00
Mathieu Darse
393e4c62c1 Test thesaurus Concept 2015-07-03 16:57:33 +02:00
Mathieu Darse
570e4fea81 Test TextNode
Make buildConceptQueries() return early when no concepts are available (do not
call getFields() uselessly anymore).
2015-07-03 16:54:47 +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
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
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
Benoît Burnichon
079f9244aa Circle CI, remove vendor and bin dirs from cache. No improvements seen on 2 consecutive builds 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
jygaulier
4ad4a0bf60 Merge pull request #1419 from jygaulier/PHRAS-482_QPARSER-RECORDID
PHRAS-482 #time 4h
2015-07-02 11:09:36 +02:00
Jean-Yves Gaulier
ce80c4222b PHRAS-482 #time 1m
CS
2015-07-02 11:09:11 +02:00
Jean-Yves Gaulier
45d96fa301 PHRAS-482 #time 20m
- added tests
2015-07-01 18:30:43 +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
Benoît Burnichon
eaa2f6759a Merge pull request #1417 from aztech-dev/fix-api-rights
PHRAS-571 - Use base ID instead of collection ID
2015-07-01 12:10:03 +02:00
Thibaud Fabre
2d7d58079e Use base ID instead of collection ID 2015-07-01 11:52:12 +02:00
Benoît Burnichon
e7337cb064 Merge pull request #1416 from nlegoff/wg-plugin-tp
Add blocks to allow override for some custom plugins
2015-07-01 10:04:32 +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
Nicolas Le Goff
8ba08d12ce Add blocks to allow override 2015-06-30 13:52:21 +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