Commit Graph

3426 Commits

Author SHA1 Message Date
Benoît Burnichon
8f8030bb11 Remove $app dependency on FeedItemRepository::isRecordInPublicFeed() method. 2015-05-07 11:03:27 +02:00
Benoît Burnichon
a104ebd72c Merge pull request #1372 from bburnichon/feature/cleanup
cleanup
2015-05-06 14:13:52 +02:00
Benoît Burnichon
31116a14a9 Remove OpCache options as now bundled with PHP5.5+ 2015-05-06 12:00:28 +02:00
Benoît Burnichon
0349db4adb Remove useless cache.paths services, use cache.path instead 2015-05-06 11:59:49 +02:00
Jean-Yves Gaulier
08b067a9b5 #time 1h 2015-05-05 18:02:25 +02:00
Benoît Burnichon
50ea2e26cb Remove ArrayCollection as there is no benefits to use it.
Change twig from ArrayCollection to plain array.
2015-05-05 11:09:28 +02:00
Nicolas Le Goff
2d5a36f5a2 Add highlights query 2015-05-05 11:09:28 +02:00
Benoît Burnichon
1ef4c1300d Merge pull request #1368 from jygaulier/THUMB_TRAIN
Thumb train
2015-05-05 09:45:12 +02:00
Jean-Yves Gaulier
f77a425ae9 fix #PHRAS-492
#time 1d
2015-05-04 19:32:25 +02:00
Benoît Burnichon
d3a2de2536 Fixup tests after #1363 2015-05-04 14:58:12 +02:00
Benoît Burnichon
554239d366 Add ControllerProviderTrait
Ease writing of controller providers and reduce duplication
2015-04-30 21:27:59 +02:00
Benoît Burnichon
d9cbe87c26 Refactor of Client Root 2015-04-30 20:23:22 +02:00
Benoît Burnichon
8d812283de Bump revision to 4.0.0-alpha1 2015-04-30 20:01:01 +02:00
Mathieu Darse
f3a4b35420 Make ThesaurusHydrator code style uniform 2015-04-30 16:47:41 +02:00
Mathieu Darse
3e2c2da4a2 Fix typos 2015-04-30 16:47:01 +02:00
Benoît Burnichon
074167e968 realpath returns false when an error occurs and path is not readable 2015-04-30 16:27:26 +02:00
Mathieu Darse
dd64b01fdd Warn about missing search-time filtering 2015-04-29 20:50:18 +02:00
Mathieu Darse
feb7fd057e Add some indexer logging 2015-04-29 20:43:20 +02:00
Mathieu Darse
24bcdba635 Handle field root concepts (prefixes) on indexing 2015-04-29 20:42:51 +02:00
Mathieu Darse
30391e89b8 Add logging capabilities to thesaurus 2015-04-29 19:08:42 +02:00
Jean-Yves Gaulier
a0815afcd5 - restore task interfaces
- remove task "phraseanet-indexer"
todo :
task "recordmover"
2015-04-29 14:48:22 +02:00
Mathieu Darse
f7eea7f63d Static method dispatch in Navigator 2015-04-28 12:08:45 +02:00
Mathieu Darse
69b64540f7 Prefixes are always an array 2015-04-28 11:26:28 +02:00
Benoît Burnichon
c90a60b0f6 Missing OAuth Service Provider 2015-04-28 10:40:54 +02:00
Benoît Burnichon
b268b2d07b Some PHPCS issues 2015-04-28 10:24:58 +02:00
Benoît Burnichon
62b8e5a6e4 Refactoring of API V1 Controller 2015-04-27 20:35:36 +02:00
Nicolas Maillat
427439f87e Merge pull request #1359 from mdarse/thesaurus-prefixes
[WIP] Thesaurus prefixes in field structure PHRAS-462  PHRAS-247
2015-04-23 16:41:02 +02:00
Mathieu Darse
c6075fcc1a Thesaurus prefixes in field structure
Also fixes candidates collected from all string fields
2015-04-22 20:46:37 +02:00
Benoît Burnichon
3f4e767557 Refactor Api OAuth2 Controller 2015-04-21 19:40:22 +02:00
Mathieu Darse
0e6bfe4874 Fix context regression from #1347 2015-04-15 18:56:55 +02:00
Mathieu Darse
033faa1b9a Use mapping type constants 2015-04-15 18:28:12 +02:00
Mathieu Darse
c813eee73f Add equality expressions 2015-04-15 18:28:12 +02:00
Mathieu Darse
4785fbc8ed Fix indexing issue with date fields
- Date and number types sanitization
- Remove `RecordIndexer` dependency on `ElasticSearchEngine`
- Move some sanitization from `RecordIndexer` to `RecordHelper`
2015-04-15 18:28:12 +02:00
Mathieu Darse
fcc3f1ba24 Fix range query field 2015-04-15 18:28:12 +02:00
Mathieu Darse
34a88d9ac6 Simpler range AST constructors 2015-04-15 18:23:36 +02:00
Mathieu Darse
b3f9dd4ca2 Implement inequality in query visitor & fix IN expressions 2015-04-15 18:23:36 +02:00
Benoît Burnichon
21195820f2 Fixup form submission.
In our case, we want to allow empty requests... If using handleRequest, the form should at least contains the CSRF tokens.
2015-04-14 11:07:26 +02:00
Benoît Burnichon
e90687e4ff Missing ControllerProvider in Application and error in private method 2015-04-13 19:49:55 +02:00
Benoît Burnichon
27f1f98dbe Refactor TaskManagerController 2015-04-13 19:29:51 +02:00
Benoît Burnichon
14a62fd9e8 Split TaskManager ControllerProvider into 2 classes 2015-04-13 19:01:37 +02:00
Benoît Burnichon
8136f06a54 Refactor SubdefsController 2015-04-13 18:25:28 +02:00
Benoît Burnichon
9b96e96e04 Refactor Admin/SetupController 2015-04-13 18:03:37 +02:00
Benoît Burnichon
6d4fcbbe9a Refactor SearchEngineController 2015-04-13 17:44:44 +02:00
Benoît Burnichon
e5c1cab623 Merge pull request #1347 from mdarse/facets-strict-match
Strict facet matching
2015-04-10 17:29:46 +02:00
Mathieu Darse
38465a591f Strict facet matching
Clicking on a facet value on the left pane now return the expected result count.

This commit implement a new "raw" matcher. It can be used like
`r"some raw value"`. It operate on the the `.raw` multi-field and skips all
analysis.
Escaping `"` is supported by prepending a backslash `\"`. You can also escape
the escaping character `\` by doubling it (`\\`).

Adds a new `ContextAbleInterface` to differenciate matcher supporting an
optional context from those who can't.

Fixes an issue with `QueryContext::narrowToFields()` ignoring passed fields.
2015-04-09 20:32:13 +02:00
Jean-Yves Gaulier
56fa78e0ef wip : removed Sphinx and Phrasea search engines 2015-04-08 18:37:11 +02:00
Benoît Burnichon
45a43ef86a Missing removal of old ControllerProvider 2015-04-08 12:10:15 +02:00
Benoît Burnichon
52e11a4b76 AdminRoot Controller refactoring 2015-04-08 11:50:40 +02:00
Benoît Burnichon
98694496b5 Change Application to use ControllerProvider 2015-04-08 11:50:40 +02:00
Benoît Burnichon
fb6e04c018 FeedController creation 2015-04-08 11:50:40 +02:00