Benoît Burnichon
c5239259d1
Refactor DataboxRepository
2015-07-03 18:20:09 +02:00
Benoît Burnichon
a22ef5fa27
Rename AccessRestriction::filterAvailableDataboxes
2015-07-03 18:20:09 +02:00
Benoît Burnichon
00f5f3369e
Add DataboxRepository
2015-07-03 18:20:09 +02:00
Benoît Burnichon
f920e8354a
Replace phraseanet.appbox by getApplicationBox() method calls.
2015-07-02 12:33:19 +02:00
Benoît Burnichon
4880f2bf5a
Add getAuthenticator usage
...
Replace $app['authentication']->getUser() by $app->getAuthenticatedUser()
replace twig app['authentication'].getUser() with corresponding method
2015-07-02 12:33:18 +02:00
Benoît Burnichon
5f281fd525
Remove appbox-register service as never used and class not defined
2015-07-02 12:27:26 +02:00
Benoît Burnichon
6e651f3b07
Replace app['phraseanet.appbox']->get_databox using trait
2015-07-02 12:27:26 +02:00
Benoît Burnichon
dbb33c85b9
Rename GlobalElasticOptions ElasticsearchOptions
2015-07-02 12:27:25 +02:00
Benoît Burnichon
28fee99fc4
Add Form for ElasticSearch Configuration.
...
Also changed type from array to Options object.
2015-06-29 17:10:32 +02:00
Benoît Burnichon
1dd4bc5c5f
Merge pull request #1393 from jygaulier/PHRAS-368_TH-REINDEX-EVT
...
Phras 368 th reindex evt
2015-06-18 17:17:24 +02:00
Benoît Burnichon
4bd2f03856
Merge pull request #1399 from mdarse/new-structure-regression-search-in
...
Fix IN search regression
2015-06-16 11:03:15 +02:00
Benoît Burnichon
479a24d610
Add some Status code to authorized ones.
...
PHRAS-588 #time 15mn
2015-06-16 10:48:51 +02:00
Mathieu Darse
ea8eb4dc07
Fix another IN search regression from 40e2df6c3f
...
Move getIndexFieldName() from `RecordHelper` to `Field`.
Also remove an unused injected dependency
2015-06-15 19:18:06 +02:00
Jean-Yves Gaulier
90c2cb5f5d
PHRAS-368 #time 3d
...
wip
2015-06-09 10:48:29 +02:00
Benoît Burnichon
d0dee9ea2b
Delay indexer instantiation, indexer subscriber can be called synchronously or asynchronously
2015-06-05 14:37:50 +02:00
Benoît Burnichon
7be5e332db
Add LazyLocator
2015-06-04 12:22:47 +02:00
jygaulier
fe057a8a6b
Merge pull request #1389 from jygaulier/RESTORE-INDEXER-TASK
...
RESTORE-INDEXER-TASK
2015-06-04 10:43:09 +02:00
Mathieu Darse
52709fb5af
More semantic Structure factory
2015-06-03 19:45:48 +02:00
Mathieu Darse
421684757a
Refactor merged field structure
...
Here is the new model:
+-----------------------------+
| Structure |
+-----------------------------+
| +createFromDataboxes() |
| getAllFields() |
| getUnrestrictedFields() |
| getPrivateFields() |
| getFacetsFields() |
| getThesaurusEnabledFields() |
| getDateFields() |
|- - - - - - - - - - - - - - -|
| add() |
| get() |
| typeOf() |
| isPrivate() |
+-------+-+-+-----------------+
| | | +---------------------+
| | +--------> | Field |
| | +---------------------+
| | | getName() |
| | | getType() |
| | | isXXX() |
| | | getThesaurusRoots() |
| | +---------------------+
| |
| | +-------+
| +----------> | Field |
| +-------+
|
| +-------+
+------------> | Field |
+-------+
It was driven by the following use cases:
- Get list of facets (only searchable fields)
- Get list of fields with concept inference
- Get list of all fields
- Splitted in private / public fields (to define mapping)
- Get all date fields
- Get field type
- To apply sanitization rules
- To define mapping
- Check if concept inference enabled
- Check if the field is searchable
- Check if the field is a facet
- Check if the field is private
- Dereference field from label (still to be done)
(The last two UCs are new)
Also removed old code from legacy search engines.
[#PHRAS-500]
2015-06-03 19:45:48 +02:00
Jean-Yves Gaulier
74e16b4ec2
RESTORE-INDEXER-TASK
...
#time 1h
2015-06-03 19:21:00 +02:00
Benoît Burnichon
89df907285
Display registration should use pending Registrations.
...
fixes PHRAS-551
2015-06-02 11:40:03 +02:00
Benoît Burnichon
2a3e31ffa6
Add default-subdef-url-ttl value
2015-05-20 16:50:08 +02:00
Benoît Burnichon
c2ff3b6575
Add Secrets to ApplicationBox.
2015-05-19 18:26:57 +02:00
Benoît Burnichon
beabf90fdf
Refactor Notifier
2015-05-12 21:05:29 +02:00
Benoît Burnichon
72fdfa7141
Fixup ApiTests about Content-Type
2015-05-11 18:11:51 +02:00
Benoît Burnichon
8c037232d5
Merge pull request #1374 from jygaulier/API_STORY
...
report des routes api/story de 3.8
2015-05-11 12:18:45 +02:00
Benoît Burnichon
3856622d48
Merge pull request #1361 from mdarse/thesaurus-prefixes
...
Thesaurus prefixes in field structure (the return)
2015-05-11 12:07:48 +02:00
Jean-Yves Gaulier
f7b1991b0d
fix
2015-05-07 17:00:56 +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
8d812283de
Bump revision to 4.0.0-alpha1
2015-04-30 20:01:01 +02:00
Mathieu Darse
feb7fd057e
Add some indexer logging
2015-04-29 20:43:20 +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
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
Jean-Yves Gaulier
56fa78e0ef
wip : removed Sphinx and Phrasea search engines
2015-04-08 18:37:11 +02:00
Benoît Burnichon
96c2125c1e
Merge remote-tracking branch 'upstream/master' into feature/controller-as-service
2015-03-30 17:59:11 +02:00
Mathieu Darse
99e62f7530
QueryParser -> QueryCompiler
2015-03-30 16:17:40 +02:00
Benoît Burnichon
ad51a350b7
Change content type negotiation in API.
...
Fix typo in negotiator word.
2015-03-27 13:46:54 +01:00
Benoît Burnichon
bf27dcff20
Remove useless Dependency
2015-03-27 12:58:07 +01:00
Benoît Burnichon
8d7fe65430
Add Session Listener to enforce save of session at kernel response
2015-03-26 00:51:13 +01:00
Benoît Burnichon
ad51820f51
Merge pull request #1318 from alchemy-fr/feature/disable-notification-at-install
...
disable notification at install
2015-03-24 17:55:53 +01:00
Benoît Burnichon
a84c55418e
Bump Version and fix array_filter arguments order
2015-03-24 17:15:17 +01:00
Benoît Burnichon
e5f48a2f09
Disable ZMQNotifier in setup_mode
2015-03-24 16:06:27 +01:00
Benoît Burnichon
3cc78d769a
Extract Proper NotifierInterface in TaskManager
2015-03-24 15:06:20 +01:00
Benoît Burnichon
893f78afa1
Remove call to TaskRepository as not used.
2015-03-24 14:19:29 +01:00
Benoît Burnichon
ef68007132
Remove references to Phrasea Indexer.
2015-03-23 18:13:58 +01:00
Benoît Burnichon
31d5237b5d
Merge pull request #1303 from bburnichon/feature/use-phpunit4
...
use phpunit4
2015-03-19 16:57:00 +01:00
Mathieu Darse
679106d226
Fix typos and check-in Escaper
2015-03-19 16:41:53 +01:00
Mathieu Darse
b1a03ae566
Smart facet value escaping
2015-03-19 13:42:04 +01:00
Benoît Burnichon
775552f613
Change Version to non-static
2015-03-19 11:28:06 +01:00