Commit Graph

4398 Commits

Author SHA1 Message Date
Thibaud Fabre
199b5b1c46 Inject base order controller dependencies 2016-10-25 13:55:34 +02:00
Thibaud Fabre
3f1230a86c Add missing include 2016-10-21 09:41:04 +02:00
Thibaud Fabre
2aacbb789e Fix term indexer creation 2016-10-19 14:01:43 +02:00
Thibaud Fabre
47cc31ef77 Improve create index command logging 2016-10-19 13:31:39 +02:00
Thibaud Fabre
b345ef7ac7 Fix indexer dependency injection 2016-10-19 13:31:39 +02:00
Thibaud Fabre
899188d970 Export mapping as array to create it 2016-10-19 13:31:17 +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
8ee6cfc31d Add --drop option to create index command
Forces existing indices to be dropped before re-creating them
2016-10-19 13:31:17 +02:00
Thibaud Fabre
f79a78e4c5 Restore merge exceptions and add structure factory method 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
299b24d4fb Update class for mapping type constants 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
Thibaud Fabre
f2cfe93f8c Finish refactoring mapping creation 2016-10-19 13:29:54 +02:00
Thibaud Fabre
7a71886dc9 Start extracting specialized field mapping classes from mapping 2016-10-19 13:29:54 +02:00
Thibaud Fabre
8fb1cd9944 Coding style and docblocks 2016-10-19 13:29:54 +02:00
Thibaud Fabre
9c2e1cb459 Add stub record index data structure 2016-10-19 13:29:54 +02:00
Thibaud Fabre
246503ee42 Extract index data structure from indexer 2016-10-19 13:29:54 +02:00
Thibaud Fabre
c2f0a5a184 Remove check on facet count 2016-10-19 13:29:53 +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
dedd763581 Refactor databox service and controller 2016-10-19 07:00:33 +02:00
Thibaud Fabre
11d25021cc CS fixes 2016-10-19 06:51:37 +02:00
Thibaud Fabre
7adec6a300 Add missing return statement 2016-10-19 06:51:37 +02:00
Thibaud Fabre
9a44033c00 Use databox service to mount databoxes in admin 2016-10-19 06:51:37 +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
a040dc2aea Merge pull request #1988 from alchemy-fr/jygaulier-PHRAS-714
Improve architecture
2016-10-18 22:17:32 +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
Thibaud Fabre
4acd20fa80 Revert "Revert "PHRAS-714_thesaurus_indexation"" 2016-10-18 21:17:10 +02:00
Thibaud Fabre
ba8be47423 Revert "PHRAS-714_thesaurus_indexation" 2016-10-18 20:15:23 +02:00
Thibaud Fabre
eba83584f4 Merge pull request #1986 from jygaulier/PHRAS-1271_better-buildsubdefs
PHRAS-1271_better-buildsubdefs
2016-10-18 18:00:54 +02:00
Jean-Yves Gaulier
0f3ae20d50 PHRAS-1271_better-buildsubdefs
- new :  new options --mode, --all, --scheduled, --reverse, --show-sql
 - changed : option --garbage_collect renamed as --prune
 - changed : verbosity -v prints lines, no verbosity displays progress-bar
2016-10-18 15:09:26 +02:00
Thibaud Fabre
e413eff4f9 Merge pull request #1978 from jygaulier/PHRAS-714
PHRAS-714_thesaurus_indexation
2016-10-18 10:11:46 +02:00
Thibaud Fabre
0a1d248969 Merge pull request #1983 from alchemy-fr/feature/download-intent
PHRAS-1225 Log downloads triggered via permalinks
2016-10-13 17:01:19 +02:00
Thibaud Fabre
a82297def6 PHRAS-1225 Log downloads triggered via permalinks 2016-10-13 16:18:27 +02:00
Thibaud Fabre
fd61435468 Improve task manager logs
Available versions are now sorted by date in descending order
2016-10-13 15:23:25 +02:00
Thibaud Fabre
5cbb377f29 Merge pull request #1980 from alchemy-fr/feature/native-session-handler
Native session handler
2016-10-13 14:40:04 +02:00
Thibaud Fabre
0c8f507abe PHRAS-1236 Add native session handler config option
Allows use of custom session handlers via php.ini
2016-10-13 14:29:23 +02:00
Thibaud Fabre
ca0c015e17 PHRAS-1266 Add PHP configuration recommandations for secure cookies 2016-10-13 14:07:05 +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
Xavier Rousset
7945994140 PHRAS-1173 SQL fix and template update 2016-10-11 15:27:13 +02:00
Thibaud Fabre
f2b956b015 Merge pull request #1968 from jygaulier/PHRAS-946_delete-record-api
PHRAS-946_delete-record-api
2016-09-29 17:41:24 +02:00
Jean-Yves Gaulier
c6186abe56 PHRAS-946_delete-record-api
- add : api route to delete record : verb DELETE ; /api/v1/records/{{databox_id}}/{{record_id}}
2016-09-29 15:54:04 +02:00
Thibaud Fabre
cdc410191c Merge pull request #1960 from jygaulier/PHRAS-1192_quarantaine-by-filenames_4.0
PHRAS-1192_quarantaine-by-filenames_4.0
2016-09-29 14:11:08 +02:00
Thibaud Fabre
91aae6a236 Merge pull request #1945 from jygaulier/PHRAS-1178_edit-story-and-records_4.0
PHRAS-1178_edit-story-and-records_4.0
2016-09-29 14:10:47 +02:00
Thibaud Fabre
08a8970147 Merge pull request #1944 from jygaulier/PHRAS-842_search-logged-as-es_4.0
PHRAS-842_search-logged-as-es_4.0
2016-09-29 14:10:21 +02:00
Thibaud Fabre
bd7e0987bc Clear log repository on user deletion 2016-09-29 10:22:05 +02:00
Thibaud Fabre
b98d8a38b2 Fix webhook repository test 2016-09-28 21:35:48 +02:00
Thibaud Fabre
73be6d5615 PHRAS-1239 Add webhook for user deleted events 2016-09-28 21:35:48 +02:00
Thibaud Fabre
f62c22bc5c Move setting to registry and form type 2016-09-28 20:58:26 +02:00
Thibaud Fabre
7cf5d28a99 Fix configuration setting access 2016-09-28 20:25:25 +02:00