Commit Graph

439 Commits

Author SHA1 Message Date
Thibaud Fabre
2aacbb789e Fix term indexer creation 2016-10-19 14:01:43 +02:00
Thibaud Fabre
b345ef7ac7 Fix indexer dependency injection 2016-10-19 13:31:39 +02:00
Thibaud Fabre
c133b42716 Refactoring
- Split search engine service registration into sub-methods
- Remove unused properties
- Fix coding style
2016-10-19 13:31:17 +02:00
Thibaud Fabre
f5452eac1e Check for undefined key 2016-10-19 13:31:17 +02:00
Thibaud Fabre
6e88b97c55 Extract record index and term index from respective indexers 2016-10-19 13:31:16 +02:00
Jean-Yves Gaulier
06a66a916f PHRAS-1271_better-buildsubdefs
- new :  doc
 - changed : some options are mandatory
 - changed : es logging to app['monolog'] to respect not-verbose mode (no more broken progress-bar due to log on screen)
2016-10-19 11:22:11 +02:00
Thibaud Fabre
32fe54ac35 Add databox mount command 2016-10-19 06:51:37 +02:00
Thibaud Fabre
efc5842e06 Add create databox console command 2016-10-19 06:51:37 +02:00
Thibaud Fabre
79a9411923 Code architecture
- Remove circular dependency between indexer and record indexer
- Restore interface type hints on indexer methods
2016-10-18 21:17:38 +02:00
Jean-Yves Gaulier
cf40c99ea7 PHRAS-714_thesaurus_indexation
- new : if the thesaurus has been modified since it's last indexation, it will be re-indexed as soon a record is to be indexed.
 - nb : after thesaurus modification, the databox MUST be manually re-indexed (which will reindex the thesaurus before)
 - todo : remove useless dialog boxes from thesaurus app (... "this term was..."  "...add with/out reindexing ?..."). To be done in the future app using future routes.
2016-10-12 18:42:16 +02:00
Jean-Yves Gaulier
b49a5ceda5 PHRAS-1168_Backport-PHRAS-1094-to-4.0
(update php-es lib)
#time 30m
2016-06-16 17:57:04 +02:00
Thibaud Fabre
a02eab5f9e Fix order notification subscriber and provider 2016-05-18 13:07:28 +02:00
Thibaud Fabre
d924a8aad5 Fix JSON schema decode error 2016-05-17 23:17:10 +02:00
Thibaud Fabre
c7b1b6b78d Merge pull request #1830 from aztech-dev/feature/order-webhooks
Add webhook notifications for order events
2016-05-12 14:59:59 +02:00
Thibaud Fabre
4ae762657e Update tests to mock event subscribers not mailers 2016-05-12 14:22:49 +02:00
Thibaud Fabre
5495c4b507 Fix initialisation of order event subscriber 2016-05-12 11:44:04 +02:00
Benoît Burnichon
8e693964df Refactor getChildren() and get_grouping_parents() 2016-05-11 17:50:57 +02:00
Benoît Burnichon
1e18b3e69f This is a combination of 33 commits.
- Squashed Pull request #1730
- Squashed Pull request #1741
- Squashed Pull request #1742
- Squash merge branch 4.0
- Squashed Pull request #1744
- Squashed Pull request #1746
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed Pull request #1758
- Avoid using imagine/imagine alias as it is causing install issues
- Squashed merge branch 4.0
- Squashed Pull request #1763
- Squashed merge branch 4.0
- Squash of 6 commits
- Squashed merge branch 4.0
- This is a combination of 2 commits.
- Squashed Pull request #1775
- Squashed Pull request #1777
- Squashed Pull request #1779
- Squashed Pull request #1780
- Squashed Pull request #1782
- Adds a Pull request template
- Squased Pull request #1783
- Squash Pull request #1786
- Squashed Pull request #1796
- Squashed merge branch 4.0
- Squash Pull request #1791
- Squashed merge branch 4.0
- Squashed Pull request #1808
- Squashed Pull request #1811
- Squashed Pull request #1809
2016-04-20 16:22:14 +02:00
Jean-Yves Gaulier
1c63194400 PHRAS-1065 #time 1h
backport PHRAS-947
2016-04-06 19:10:54 +02:00
Benoît Burnichon
2b5557ac7c Add lookup by order master to collection reference repository 2016-03-22 15:55:54 +01:00
Benoît Burnichon
cd80e9e1ed Remove unused appbox parameter 2016-03-15 19:11:56 +01:00
Benoît Burnichon
4c30e577c9 Inject DataboxRepository into PhraseanetMetadataSetter 2016-03-09 13:48:55 +01:00
Benoît Burnichon
7bf98ed8f3 Merge 2 subscribers and make appbox lazyloaded. 2016-02-23 15:55:10 +01:00
Benoît Burnichon
929177c526 Refactor RecordEdit event which is always used with single record 2016-02-23 15:07:24 +01:00
Benoît Burnichon
5feb50cd54 Remove subscribtion from Application 2016-02-23 14:34:14 +01:00
Benoît Burnichon
27eaf37a45 Set OAuth2_Adapter default API version 2016-02-16 13:48:35 +01:00
Benoît Burnichon
afde09645a WIP 2016-02-05 15:36:19 +01:00
Benoît Burnichon
58b80bf08a Group Filesystem related service providers 2016-02-05 15:36:19 +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
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
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
fe37cd7a74 Extract "meta" service providers to bootstrap app 2016-01-22 18:40:27 +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
d5bf51bc82 Move profiler template to different directory 2016-01-20 11:20:19 +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
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