Commit Graph

3722 Commits

Author SHA1 Message Date
Benoît Burnichon
f2306d575c Split ReportInformation into provider/controller 2015-06-15 16:58:19 +02:00
Benoît Burnichon
ea7fb2b182 Refactor ActivityController 2015-06-15 16:51:23 +02:00
Mathieu Darse
605c943af5 Fix IN search regression from 40e2df6c3f 2015-06-15 16:13:44 +02:00
Benoît Burnichon
8297793980 Split ReportActivity into provider/controller 2015-06-15 16:12:43 +02:00
Benoît Burnichon
2b689a4118 Merge pull request #1398 from lostdalek/master
Added videos representation screenshots generation for all image subDefs
2015-06-15 10:20:12 +02:00
Florian BLOUET
05d293a4a1 videos representation screenshots generation code cleanup 2015-06-12 15:33:14 +02:00
Florian BLOUET
a372148d5a Added videos representation screenshots generation for all image subDefinitions 2015-06-11 18:44:28 +02:00
Jean-Yves Gaulier
b21d3ded24 PHRAS-582 #time 10 m
populate : records are indexed from newer to older (rid desc)
2015-06-11 17:56:08 +02:00
Jean-Yves Gaulier
bea0c2a6e6 PHRAS-462 #time 5 h
populate : candidates are written under the good field
2015-06-11 17:31:23 +02:00
Benoît Burnichon
4241fd0e6c WIP with cache 2015-06-10 19:09:38 +02:00
Benoît Burnichon
d473a6f69c Fixup tests with proper clearing of cache. 2015-06-10 14:50:29 +02:00
Thibaud Fabre
c425c3391a CS fixes 2015-06-10 10:50:52 +02:00
Thibaud Fabre
265b40c6e0 List collection rights in /me 2015-06-09 16:51:05 +02:00
Benoît Burnichon
92636bfe5a Properly initialize value.
Change call to protected method to public one.
2015-06-09 11:26:20 +02:00
Benoît Burnichon
cd7d8b5d3b Properly clear cache at end of tests. Avoid side-effects on others tests.
Also prevent flushing empty queues as it load mocked configuration
2015-06-09 11:12:01 +02:00
Jean-Yves Gaulier
59ab4f7dac PHRAS-368
first thesaurus modification events for MDarse to test.
cs
more events to be added later
2015-06-09 11:05:07 +02:00
Jean-Yves Gaulier
90c2cb5f5d PHRAS-368 #time 3d
wip
2015-06-09 10:48:29 +02:00
Jean-Yves Gaulier
249334c7ed wip 2015-06-09 10:48:28 +02:00
Benoît Burnichon
2242e45081 Refactor WorkzoneController 2015-06-08 12:56:39 +02:00
Benoît Burnichon
b1583528b1 Split Workzone into provider/controller 2015-06-08 12:56:39 +02:00
Benoît Burnichon
4529c4dd6b Refactor UsrListController 2015-06-08 11:48:14 +02:00
Benoît Burnichon
a3db27b8d0 Split UsrLists into Provider/Controller 2015-06-08 10:18:05 +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
Benoît Burnichon
4fcb69ba5c apply change to RecordInterface already implemented in ElasticRecord and record_adapter 2015-06-03 21:11:36 +02:00
Mathieu Darse
40e2df6c3f Search in private fields using new structure features 2015-06-03 19:45:49 +02:00
Mathieu Darse
89957c1104 Limit facets to searchable fields 2015-06-03 19:45:49 +02:00
Mathieu Darse
b14c845811 Remove remaining calls to getFieldsStructure() 2015-06-03 19:45:48 +02:00
Mathieu Darse
1e4669c122 Test structure more extensively & make isPrivate() throw on invalid field name 2015-06-03 19:45:48 +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
06bd5d09bc Merge pull request #1388 from bburnichon/feature/controller-as-service
Controller as service
PHRAS-529
2015-06-02 17:11:42 +02:00
Benoît Burnichon
6df9626fce Use SubDefinitionSubstituerAware in some Controllers 2015-06-02 13:59:33 +02:00
Benoît Burnichon
4eea27d9be Refactor UploadController 2015-06-02 13:59:16 +02:00
Benoît Burnichon
9ce56ae9ef Split Upload into provider/controller 2015-06-02 13:11:26 +02:00
Benoît Burnichon
16d9922530 Refactor TooltipController 2015-06-02 12:33:28 +02:00
Benoît Burnichon
e268920e47 Split Tooltip into provider/controller 2015-06-02 12:23:27 +02:00
Benoît Burnichon
b346e91912 Move ToolsController to Controller directory 2015-06-02 12:23:26 +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
9008529952 Prevent updateAccount to generate 400 bad request.
PHRAS-547
2015-06-01 18:03:20 +02:00
Benoît Burnichon
3504d29add Merge pull request #1386 from bburnichon/feature/controller-as-service
PHRAS-529
2015-06-01 16:30:59 +02:00
Benoît Burnichon
9eb9307908 Refactor ToolsController 2015-06-01 15:49:18 +02:00
Benoît Burnichon
40f3dc74ea Move methods from provider to controller 2015-06-01 14:56:38 +02:00
Benoît Burnichon
854467bcbf Split Tools into provider/controller 2015-06-01 14:53:38 +02:00
Benoît Burnichon
f850573cae Refactor TOUController 2015-06-01 14:37:07 +02:00
Benoît Burnichon
2a2fb00b61 Split TOU into provider/controller 2015-06-01 14:29:07 +02:00
Benoît Burnichon
c73f770892 Refactor StoryController 2015-06-01 11:57:42 +02:00
Benoît Burnichon
d7b21c65cb Move methods from Story provider to controller 2015-06-01 11:41:00 +02:00