Commit Graph

899 Commits

Author SHA1 Message Date
Benoît Burnichon
7fb21dbfb4 Increase setTrustedProxySubscriber priority.
This should occurs very early in request
2016-02-01 18:03:45 +01:00
Benoît Burnichon
0ef9b668c2 Remove use of gettext shortcut method. 2016-02-01 14:03:29 +01:00
Thibaud Fabre
fa3e49f5fb Configure event processor factory via DI 2016-01-28 18:42:59 +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
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
465f48f461 Merge pull request #1643 from bburnichon/improvement/slight-refactoring
Progressive refactoring
2016-01-26 17:07:03 +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
0ebc062f8e Add code reuse in SubdefGenerator 2016-01-26 14:25:09 +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
88e2d5ff86 Replace call to non-existent method in tests and fix CS 2016-01-26 11:25:25 +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
Thibaud Fabre
b521947ea5 Fix API plugin route initialization and remove odd syntax 2016-01-22 17:29:45 +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
Thibaud Fabre
9db95c65ac Add timing for cache profile and use call stats for toolbar 2016-01-20 14:41:18 +01:00
Thibaud Fabre
2ac69b438c Replicate contains/fetch pattern in traceable cache for accuracy 2016-01-20 12:41:31 +01:00
Thibaud Fabre
587b5beb27 Add by key aggregates in cache profiler 2016-01-20 12:23:59 +01:00
Thibaud Fabre
2b7d5e382f Add call summaries by type and key in cache profiler 2016-01-20 12:09:39 +01:00
Thibaud Fabre
f5ef76168f Catch potential cache exceptions in traceable cache 2016-01-20 11:43:50 +01:00
Thibaud Fabre
d5bf51bc82 Move profiler template to different directory 2016-01-20 11:20:19 +01:00
Thibaud Fabre
f93c66b430 Add HIT/MISS result in cache profile call table 2016-01-20 10:43:55 +01:00
Thibaud Fabre
b5ed9d51f5 Add traceable cache for profiling 2016-01-20 10:13:57 +01:00
Thibaud Fabre
92f161f5dd Improve profiler service provider 2016-01-20 09:30:14 +01:00
Thibaud Fabre
1b3fec1f3e Extract CacheProfile and CacheProfileSummary from cache server stats 2016-01-20 08:51:09 +01:00
Thibaud Fabre
fc4f1848d7 Add logging/profiling in WebProfiler service provider 2016-01-20 08:10:45 +01:00
Thibaud Fabre
19648c970a Add basic cache stats panel 2016-01-20 08:07:48 +01:00
Thibaud Fabre
9d2a2d7e18 Bind all DB connections to Doctrine profiler 2016-01-20 08:07:39 +01:00
Thibaud Fabre
35d6301122 Fix profiler service init for ajax profiling 2016-01-20 08:00:16 +01:00
Thibaud Fabre
17e4750b59 Add WebProfilerServiceProvider to inject Ajax profiler
- Silex provider implements feature, but only in Silex 2.0 compatible branch
2016-01-20 08:00:02 +01:00
Benoît Burnichon
c5b57395fd Remove static method in ServeFileResponseFactory 2016-01-14 10:58:18 +01:00
Benoît Burnichon
bba360c3a1 Remove static create calls in Symlinker module 2016-01-14 10:46:18 +01:00
Benoît Burnichon
bce0236fc4 Update plugin_name translation key. 2016-01-12 20:18:36 +01:00
Benoît Burnichon
127c9ab243 Merge pull request #1617 from aztech-dev/merge-clean-boxes
Merge clean boxes
2016-01-08 15:56:31 +01:00
Thibaud Fabre
f5df9f1ad4 Bust databox cache via repository 2016-01-08 15:15:29 +01:00
Benoît Burnichon
d481d5066a Try clear 'last' query.
PHRAS-895
2016-01-07 18:03:17 +01:00
Thibaud Fabre
c92d5da9fe Merge branch 'clean-boxes' into merge-clean-boxes 2016-01-06 19:53:43 +01:00
Benoît Burnichon
51023c5533 bump copyright year 2016-01-05 13:38:14 +01:00
Benoît Burnichon
3b6cd117bb Merge pull request #1607 from bburnichon/feature/PHRAS-867
API Basket elements add/removal
2015-12-22 19:08:42 +01:00
Benoît Burnichon
91d79678ae LazaretSession could be created by tasks.
PHRAS-883
2015-12-22 17:51:22 +01:00
Benoît Burnichon
8d4e6a5f3f Remove debug messages when not in debug mode 2015-12-22 17:44:35 +01:00
Benoît Burnichon
07e62ad3bf Slight Refactoring of SessionManagerSubscriber 2015-12-22 17:44:35 +01:00
Benoît Burnichon
30b8ec66ed Add API add/remove elements. Change prod basket management 2015-12-22 17:44:34 +01:00
Benoît Burnichon
28650e6a66 Add BasketManipulator to unify internal/external API 2015-12-22 17:44:34 +01:00
Benoît Burnichon
985ec4a491 Extract JsonBodyHelper and use it 2015-12-22 14:24:32 +01:00
Benoît Burnichon
3a1a39cbd9 Refactor and fixup some bugs in V1Controller 2015-12-22 14:24:32 +01:00
Benoît Burnichon
b2ee2668a1 Change to be able to return called API version 2015-12-22 14:19:34 +01:00
Jean-Yves Gaulier
80f3285737 #PHRAS-874 time 2d
type hinting / cs
events renamed / deleted
n+1 removed for status-bits & technical meta
events added (subdef creation / created)
fix : es indexes after all subdefs are created
2015-12-17 20:07:48 +01:00
Benoît Burnichon
5bb8d4167b Add cascade delete on ApiLog accountId.
Also add a postConnect listener to enable foreign keys in sqlite
2015-12-09 13:12:08 +01:00