Commit Graph

656 Commits

Author SHA1 Message Date
jygaulier
a70bf2fc70 PHRAS-1304_AUTO-COMPLETION_MASTER (#2061)
* PHRAS-1304_AUTO-COMPLETION_MASTER
ported from 4.0

* PHRAS-1304_AUTO-COMPLETION_MASTER
fix

* PHRAS-1304_AUTO-COMPLETION_MASTER
fix

* PHRAS-1304_AUTO-COMPLETION_MASTER
bump php version to 5.5.31 (5.5.21 is obsolete in cicleci)

* PHRAS-1304_AUTO-COMPLETION_MASTER
bump php version to 5.5.31 : php.ini moved in circelci

* PHRAS-1304_AUTO-COMPLETION_MASTER
add zmq & date to php for circleci

* PHRAS-1304_AUTO-COMPLETION_MASTER
add zmq

* PHRAS-1304_AUTO-COMPLETION_MASTER
bump amqp

* PHRAS-1304_AUTO-COMPLETION_MASTER
downgrade amqp to 1.2 to test compilation against old librabbit 0.4 (ubuntu)

* PHRAS-1304_AUTO-COMPLETION_MASTER
add amqp.so to php.ini, (re)bump amqp to 1.6

* PHRAS-1304_AUTO-COMPLETION_MASTER
build rabittmq from git

* PHRAS-1304_AUTO-COMPLETION_MASTER
build rabittmq from git again

* PHRAS-1304_AUTO-COMPLETION_MASTER
build rabittmq from git again and again

* PHRAS-1304_AUTO-COMPLETION_MASTER
fix test on media rotation 600*400 -> 400*599 !!!

* PHRAS-1304_AUTO-COMPLETION_MASTER
restore facebook sdk to 4.0.1 due to mistake

* PHRAS-1304_AUTO-COMPLETION_MASTER
deleted unwanted file
2017-02-06 18:26:56 +01:00
Thibaud Fabre
97f2e66698 Merge 4.0 branch 2016-12-05 17:04:54 +01:00
Thibaud Fabre
b5bbb1851f Merge branch 4.0 2016-12-05 15:26:48 +01:00
jygaulier
c3d379afd1 Merge pull request #2011 from jygaulier/PHRAS-828_CTERMS-NOT-PURGED
PHRAS-828_CTERMS-NOT-PURGED
2016-11-29 18:22:24 +01:00
Thibaud Fabre
52578f9c65 Fix record ID field name when generating sort query 2016-11-17 16:56:12 +01:00
Thibaud Fabre
b8c695fe88 Always add recordid as last sort option 2016-11-17 15:47:58 +01:00
Jean-Yves Gaulier
75a44812d6 PHRAS-828_CTERMS-NOT-PURGED
- fix : cterms are cleared before reindexation (admin button) or populate (cli) ; terms in "stock" are preserved.
 nb.: rejected terms (red) are also purged so a term may pop-up again as candidate even if it had been rejected before.
2016-11-07 18:38:51 +01:00
Thibaud Fabre
77c848f32e Merge pull request #2008 from jygaulier/PHRAS-1260_INDEX-WIDTH-HEIGHT
Phras 1260 index width height
2016-11-03 16:22:26 +01:00
Jean-Yves Gaulier
229c80fe74 PHRAS-1260_INDEX-WIDTH-HEIGHT
- new : added size (filesize) of document to es
 - new : methods getWidth(),... to record_adapter
 - fix : template
2016-11-03 15:27:57 +01:00
Thibaud Fabre
2e56649c42 Fix invalid string mapping 2016-11-03 11:02:50 +01:00
Thibaud Fabre
5b68ceefe2 Merge pull request #2001 from jygaulier/PHRAS-508_acl-cache
PHRAS-508_acl-cache
2016-11-02 17:54:48 +01:00
Jean-Yves Gaulier
68ab86d9d4 PHRAS-1260_INDEX-WIDTH-HEIGHT
- new : added with & height of document to es
2016-11-02 17:29:20 +01:00
Jean-Yves Gaulier
e42bb376f8 PHRAS-508_acl-cache
- fix ref on pdo stmt
2016-10-27 18:32:39 +02:00
Thibaud Fabre
2ae21532bc Fix undefined property error 2016-10-27 15:42:26 +02:00
Thibaud Fabre
59befbfecc Clean up complex field hierarchy to improve readability 2016-10-27 15:22:39 +02:00
Thibaud Fabre
e1fc53dc64 Clean up mapping build process 2016-10-27 15:17:33 +02:00
Thibaud Fabre
ce59523405 Add specialized complex mapping for property maps 2016-10-27 15:15:54 +02:00
Thibaud Fabre
165877e50a Fix infinite recursion error 2016-10-27 13:14:05 +02:00
Thibaud Fabre
cba5423822 Fix concept_path node in index structure 2016-10-27 13:04:47 +02:00
Jean-Yves Gaulier
0c75189a64 PHRAS-508_acl-cache
- refactor : acl strings changed to ACL class constants
 - code cleanup
 - wip but try to merge for bc break test
2016-10-26 16:13:47 +02:00
Jean-Yves Gaulier
6a2285f66d PHRAS-508_acl-cache
- wip
2016-10-26 16:13:47 +02:00
Thibaud Fabre
3f1230a86c Add missing include 2016-10-21 09:41:04 +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
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
Thibaud Fabre
11d25021cc CS fixes 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
827e4fe255 PHRAS-842_search-logged-as-es_4.0
- fix : query is logged in a "user" form, before parsing
2016-09-22 15:16:36 +02:00
jygaulier
d558192a74 Merge pull request #1910 from jygaulier/PHRAS-1168_Backport-PHRAS-1094-to-4.0
PHRAS-1168_Backport-PHRAS-1094-to-4.0
2016-07-18 13:32:27 +02:00
Thibaud Fabre
5648f3219c Remove records property from story search results 2016-06-28 13:12:58 +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
Jean-Yves Gaulier
378cc45a87 PHRAS-1101_THMB-TRAIN-IN-PREVIEW
backport from master
#time 30m
2016-05-12 17:16:47 +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
Benoît Burnichon
cd80e9e1ed Remove unused appbox parameter 2016-03-15 19:11:56 +01:00
Benoît Burnichon
57aab7aa85 Fixup PHPCS 2016-03-15 17:47:13 +01:00
Benoît Burnichon
b8a506d3b2 Improve readability of Thesaurus Helper 2016-03-15 17:31:01 +01:00
Benoît Burnichon
daf2cf6150 replace StringUtils::slugify by a proper instance
Previous implementation had a flaw when using a different separating character. New implementation should be well tested.
2016-03-15 16:59:53 +01:00
Thibaud Fabre
8cef133413 Leave shard refresh interval alone 2016-03-08 17:53:28 +01:00
Benoît Burnichon
b0330d8f56 Added RecordReferenceCollection utility method 2016-03-07 12:30:51 +01:00
Benoît Burnichon
8a907e9bb0 Add touch capability to record_adapter. 2016-02-23 10:40:01 +01:00