Commit Graph

9508 Commits

Author SHA1 Message Date
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
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