Commit Graph

3071 Commits

Author SHA1 Message Date
Benoît Burnichon
6f0ae02a8e Avoid double return in switch statement 2016-02-29 17:44:01 +01:00
Benoît Burnichon
5975178749 Merge branch '4.0'
Also updated dependencies
2016-02-28 23:31:16 +01:00
Benoît Burnichon
37bcd1d909 Increase maxFilenameLength to 256 and allow to overrid value from code. 2016-02-26 16:18:48 +01:00
Benoît Burnichon
6129cc6dd2 Introduce MAX_FILENAME_LENGTH const 2016-02-26 16:18:48 +01:00
Benoît Burnichon
7c93657e73 Error in fetching User ID. Improvement of SQLs
Fixes PHPCS in set classes.
2016-02-26 16:18:48 +01:00
Benoît Burnichon
6e1be6099f Avoid cache requests on subdef already in cache. 2016-02-26 16:18:11 +01:00
Benoît Burnichon
93fd4bda03 Add orderable status in admin forms 2016-02-24 17:23:06 +01:00
Benoît Burnichon
557c98a9b9 Changes on SubdefGroup reflected in using clients 2016-02-24 13:54:35 +01:00
Benoît Burnichon
0a40ef291d Extract SubdefGroup class 2016-02-24 13:52:33 +01:00
Benoît Burnichon
c63f8d777f Merge branch '4.0'
Conflicts:
	composer.lock
	lib/Alchemy/Phrasea/ControllerProvider/Api/V2.php
2016-02-23 16:27:04 +01:00
Benoît Burnichon
8a907e9bb0 Add touch capability to record_adapter. 2016-02-23 10:40:01 +01:00
Benoît Burnichon
5916e584eb Merge branch '4.0' 2016-02-17 19:53:48 +01:00
Jean-Yves Gaulier
28a7a653d3 #PHRAS-987 1h
PNG-Subdefs (port from 3.8)
2016-02-17 16:55:47 +01:00
Benoît Burnichon
90b4ad596c Check whether subdef exists before perform get on it 2016-02-17 12:41:06 +01:00
Benoît Burnichon
c1b9d74cfc Missing inclusion of plugin autoloader file 2016-02-17 11:21:52 +01:00
Benoît Burnichon
6c2f12d5ce Merge branch '4.0' 2016-02-17 09:40:00 +01:00
Benoît Burnichon
27eaf37a45 Set OAuth2_Adapter default API version 2016-02-16 13:48:35 +01:00
Benoît Burnichon
41287802ca fixup some PHPCS 2016-02-16 13:48:06 +01:00
Benoît Burnichon
d8048bef64 Merge branch '4.0' 2016-02-15 16:28:52 +01:00
Benoît Burnichon
8a0b461cdc Bridge_Api class should not depend on SQL time
PHRAS-961
2016-02-15 13:53:56 +01:00
Benoît Burnichon
7d380d326e Merge branch '4.0' 2016-02-12 19:58:24 +01:00
Benoît Burnichon
de590a60ea PHPCS Fixes some unused class imports 2016-02-12 17:29:21 +01:00
Benoît Burnichon
14fffe314a PHPCS 2016-02-10 19:38:30 +01:00
Benoît Burnichon
721edc33c6 Add Orderable to subdef Controller 2016-02-10 17:06:08 +01:00
Benoît Burnichon
20178f76cd Add orderable flat to subdef 2016-02-10 16:52:14 +01:00
Benoît Burnichon
810bef41fb rename is_downloable to isDownloable
Change Functional to unit test
2016-02-10 16:01:24 +01:00
Benoît Burnichon
02879cdde5 Reorder class 2016-02-10 15:07:51 +01:00
Benoît Burnichon
fae284d482 media_subdef could sometimes be constructed without a proper URL
Introduced by #1626
2016-02-05 15:36:19 +01:00
Benoît Burnichon
617dff5b33 Remove databox's dispatch method 2016-02-05 15:36:19 +01:00
Benoît Burnichon
afde09645a WIP 2016-02-05 15:36:19 +01:00
Thibaud Fabre
5585fb6186 Fix upgrade command when plugin autoloader is not available 2016-02-03 18:10:20 +01:00
Thibaud Fabre
dc51e489fe Fix migration from v3.8.8 to v4.0.0 2016-02-03 16:35:20 +01:00
Benoît Burnichon
0ef9b668c2 Remove use of gettext shortcut method. 2016-02-01 14:03:29 +01:00
Thibaud Fabre
3d298a6012 Add unmount method on databox repositories to invalidate cache on unmount 2016-01-28 16:16:53 +01:00
Thibaud Fabre
841182eca4 Add delete method on databox repositories to invalidate cache on delete 2016-01-28 16:09:37 +01:00
Thibaud Fabre
40ff41501c Move create and mount SQL calls to repository for proper cache invalidation 2016-01-28 15:54:40 +01:00
Benoît Burnichon
beda5d3820 Getting collection calls access_restriction which is not properly cached.
Remove use of cache in AccessRestriction and use instance memory cache instead.
Beware static keyword declares variable static for the class, not the instance
2016-01-27 18:55:49 +01:00
Benoît Burnichon
3544f70130 PHPCS record_adapter 2016-01-27 11:00:54 +01:00
Benoît Burnichon
14cd8a1903 Use existing SubdefSubstituer service i/o record_adapter 2016-01-26 19:17:41 +01:00
Benoît Burnichon
005524d572 Add typehints and reduce code duplication 2016-01-26 14:25:08 +01:00
Benoît Burnichon
614394edc7 Method renaming 2016-01-26 14:25:08 +01:00
Benoît Burnichon
3838fc6faf Add watermark and stamp related RealPath retrieval methods 2016-01-26 14:25:08 +01:00
Benoît Burnichon
35d299145a Fixup mismatch updated/uploaded test 2016-01-22 20:47:10 +01:00
Benoît Burnichon
b4555a696a Remove all sleep statements in tests. 2016-01-22 19:27:36 +01:00
Benoît Burnichon
f501cba16b Extract whether subdef metadata updates are required 2016-01-22 17:39:33 +01:00
Benoît Burnichon
401ed4f431 Group exiftool.writer calls into methods/variables 2016-01-22 17:17:31 +01:00
Benoît Burnichon
0ccc5a49d4 Remove useless function argument apply_patches 2016-01-22 12:23:18 +01:00
Benoît Burnichon
f1a427a519 Add array type check on cache returned value 2016-01-22 12:23:18 +01:00
Benoît Burnichon
07a89c26de Remove unused fields. Extract methods in phrasea 2016-01-22 12:23:18 +01:00
Benoît Burnichon
985b603cf3 Remove unused argument on databox::dispatch method 2016-01-22 12:23:18 +01:00