Thibaud Fabre
7f97445b51
Log error in exception handler
2015-09-22 12:53:56 +02:00
Benoît Burnichon
e0573fc4f6
Merge pull request #1423 from mdarse/private-fields-ast
...
Restrict search on visible private fields
2015-07-17 17:36:30 +02:00
Benoît Burnichon
e8d4d5f38d
Record_adapter now uses a specific repository from databox
2015-07-15 11:26:13 +02:00
Benoît Burnichon
c97eedd40f
Deprecate is_grouping in favor of isStory
2015-07-13 18:14:51 +02:00
Mathieu Darse
929705f13e
Structure -> GlobalStructure + LimitedStructure
...
Rename Structure to GlobalStructure.
Add new LimitedStructure to wrap another Structure and transparently restrict
access on private fields.
2015-07-10 12:30:13 +02:00
Benoît Burnichon
dd73d6dae2
Renaming of Databox{,Field}Repository
2015-07-08 14:58:41 +02:00
Thibaud Fabre
e28b080c5a
Extract thumbnail manager classes from appbox
2015-07-08 13:46:17 +02:00
Aztech
5aad5e933e
Extract repository classes to read/update box versions
2015-07-08 13:46:17 +02:00
Aztech
35989c7c7c
Extract database maintenance service from base box + cleanup
2015-07-08 13:45:24 +02:00
Aztech
2605729137
Extract VO class for database connection settings
2015-07-08 13:45:24 +02:00
Benoît Burnichon
82f19ee55d
Begin databox_field refactor
2015-07-08 11:08:07 +02:00
Benoît Burnichon
62ac0e0cbc
Use computed key from appbox.
2015-07-03 18:20:09 +02:00
Benoît Burnichon
26f8869f1e
Remove DataboxHydrator as now too tiny.
...
Add createMany to DataboxFactory.
2015-07-03 18:20:09 +02:00
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