Commit Graph

4675 Commits

Author SHA1 Message Date
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
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
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
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
Benoît Burnichon
8b2ac43ec6 Merge pull request #1639 from bburnichon/improvement/slight-refactoring
slight refactoring
2016-01-22 21:08:08 +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
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
f2942dac89 Reduce duplication in H264MappingGenerator 2016-01-22 12:23:18 +01:00
Benoît Burnichon
e68eb78657 Extract tamper-proofing code into its own method 2016-01-22 12:23:18 +01:00
Benoît Burnichon
24e12dbfca Rename variable 2016-01-22 12:23:18 +01:00
Benoît Burnichon
6fb295b6b9 PHPCS 2016-01-22 12:23:18 +01:00
Benoît Burnichon
bbcdb5ff31 Remove unused variable 2016-01-22 12:23:18 +01:00
Benoît Burnichon
27012d4b28 Merge pull request #1635 from bburnichon/bug/number-field-seen-as-date-PHRAS-898
Check type of field before considering it a Date
2016-01-21 13:47:47 +01:00
Benoît Burnichon
d0bae320d3 Check type of field before considering it a Date 2016-01-21 13:13:20 +01:00
Benoît Burnichon
72691f3a0e Merge pull request #1634 from aztech-dev/feature/repository-cache-keys
Add cache key prefix in cached collection repository
2016-01-20 15:53:47 +01:00
Thibaud Fabre
dd1ad99f7f Add cache key prefix in cached collection repository 2016-01-20 15:19:05 +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
9350cdfbad Add some type hints 2016-01-14 11:55:25 +01:00
Benoît Burnichon
33b4ac5563 Change setupUrlGenerator to setRequestContext 2016-01-14 11:54:44 +01:00