Commit Graph

10953 Commits

Author SHA1 Message Date
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
Thibaud Fabre
2643874b73 Add array cache repository to reduce load on cache backend 2016-01-28 15:54:02 +01:00
Thibaud Fabre
ec569809fc Merge pull request #1648 from bburnichon/master
Fixup wrongly passed definition i/o providerKey
2016-01-28 11:57:47 +01:00
Benoît Burnichon
21779c85e3 Fixup wrongly passed definition i/o providerKey 2016-01-28 11:35:22 +01:00
Benoît Burnichon
0a1f7c1db7 Merge pull request #1647 from jygaulier/PHRAS-920_EXPORT-WRONG-DATABOX
PHRAS-920
2016-01-27 21:38:52 +01:00
Jean-Yves Gaulier
f89fe9754a #PHRAS-920 time 1h
fix : "BaseFromColl" (dbox coll_id -> abox base_id) check for sbas_id
2016-01-27 19:40:40 +01:00
Benoît Burnichon
80dae56f44 Merge pull request #1646 from bburnichon/improvement/avoid-cache-overload
Avoid many calls to cache layer
2016-01-27 19:18:23 +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
ac4f15c5b5 Merge pull request #1645 from bburnichon/improvement/extract-substitute-action
extract substitute action
2016-01-27 13:16:19 +01:00
Benoît Burnichon
3544f70130 PHPCS record_adapter 2016-01-27 11:00:54 +01:00
Benoît Burnichon
66cef8caeb Refactor SubdefSubstituer 2016-01-26 20:26:40 +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
465f48f461 Merge pull request #1643 from bburnichon/improvement/slight-refactoring
Progressive refactoring
2016-01-26 17:07:03 +01:00
Benoît Burnichon
99bff24910 Merge pull request #1644 from aztech-dev/refactor/webhooks
Refactor event processor factory to make it extensible
2016-01-26 17:05:46 +01:00
Benoît Burnichon
f99b361ec0 Merge pull request #1642 from aztech-dev/feature/app-loader
Extract "meta" service providers to bootstrap app
2016-01-26 16:51:22 +01:00
Thibaud Fabre
46ab82914f Extract class in error message for objects 2016-01-26 16:32:43 +01:00
Thibaud Fabre
efa06ad9bd Initialize Twig before HTTP stack 2016-01-26 16:26:51 +01:00
Thibaud Fabre
37b62f929c Refactor event processor factory to make it extensible 2016-01-26 16:03:39 +01:00
Thibaud Fabre
e38fd4bdbb Remove unnecessary argument to please bbn 2016-01-26 15:45:12 +01:00
Thibaud Fabre
fa19e779cb Extract HTTP meta service provider 2016-01-26 15:31:09 +01:00
Benoît Burnichon
eb0df4193b Bump composer.lock due to Security issues 2016-01-26 14:25:10 +01:00
Benoît Burnichon
5d24b53ad4 Add flysystem dependencies 2016-01-26 14:25:09 +01:00
Benoît Burnichon
79ddc58100 Extract methods in SubdefsJob. Update copyright 2016-01-26 14:25:09 +01:00
Benoît Burnichon
0ebc062f8e Add code reuse in SubdefGenerator 2016-01-26 14:25:09 +01:00
Benoît Burnichon
db3513721c Remove $this return as cannot be relied upon. 2016-01-26 14:25:09 +01:00
Benoît Burnichon
90ce63af29 Reduce code in SubdefGenerator. 2016-01-26 14:25:09 +01:00
Benoît Burnichon
005524d572 Add typehints and reduce code duplication 2016-01-26 14:25:08 +01:00
Benoît Burnichon
f383ca08a4 Avoid unqualified result by using proper method 2016-01-26 14:25:08 +01:00
Benoît Burnichon
0f91a10645 Extract Variables in tests to ease reading 2016-01-26 14:25:08 +01:00
Benoît Burnichon
ce4b9f25d9 PHPCS: Parameter types are declared wrong way 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
Thibaud Fabre
62f0388d7b Extract media utilities "meta" provider
And replace todo comments by no-op comments
2016-01-26 14:13:58 +01:00
Thibaud Fabre
195b40ef40 Remove debug statement 2016-01-26 11:58:39 +01:00
Thibaud Fabre
88e2d5ff86 Replace call to non-existent method in tests and fix CS 2016-01-26 11:25:25 +01:00
Benoît Burnichon
8b2ac43ec6 Merge pull request #1639 from bburnichon/improvement/slight-refactoring
slight refactoring
2016-01-22 21:08: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
Thibaud Fabre
4caa4fa2e7 Fix relative translations paths 2016-01-22 18:49:36 +01:00
Thibaud Fabre
fe37cd7a74 Extract "meta" service providers to bootstrap app 2016-01-22 18:40:27 +01:00
Benoît Burnichon
fafabf3e9e Backdate updated_on using reflection in tests to avoid unreliable time tests. 2016-01-22 18:26:58 +01:00
Benoît Burnichon
49392c80c0 Merge pull request #1641 from aztech-dev/feature/app-loader
Application bootstrap refactor
2016-01-22 17:41:19 +01:00
Benoît Burnichon
f501cba16b Extract whether subdef metadata updates are required 2016-01-22 17:39:33 +01:00
Thibaud Fabre
b521947ea5 Fix API plugin route initialization and remove odd syntax 2016-01-22 17:29:45 +01:00
Benoît Burnichon
401ed4f431 Group exiftool.writer calls into methods/variables 2016-01-22 17:17:31 +01:00
Thibaud Fabre
450adb0847 Application bootstrap refactor
- Extract environment properties in Environment class
- Replaces initialisation closure by ApplicationLoader class
- Removes undesirable error handling/PHP settings modifications
2016-01-22 17:12:21 +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