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
3da671649f
When retrieving data from memcache, invalid data is sometimes retrieved.
...
Because of highly concurrent accesses to cache layer, calling isset/get can sometimes fail.
To avoid this, a callback function can be used in memcached driver but it is maintained by doctrine/cache.
To prevent error, check whether returned value is of proper type.
2015-06-05 14:37:50 +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
Benoît Burnichon
d677de03ec
Refactor Story Controller to use method names
2015-06-01 11:16:27 +02:00
Benoît Burnichon
4f1c654ede
Refactor Prod ShareController
2015-06-01 10:59:05 +02:00
Benoît Burnichon
a02886fa62
Split Share into provider/controller classes
2015-06-01 10:55:06 +02:00
Benoît Burnichon
649f0fe510
Refactor can see business fields.
2015-05-29 17:53:45 +02:00
Benoît Burnichon
80e2783855
Restore ability to see business fields
2015-05-29 14:19:19 +02:00
Benoît Burnichon
cd20b31a22
PHPCS and slight improve in caption/record
2015-05-29 14:17:24 +02:00
Benoît Burnichon
e4a461ba99
Add all fields to search options when none selected.
2015-05-28 15:58:13 +02:00
Benoît Burnichon
5984a78240
Refactor Prod/RootController
2015-05-28 10:20:06 +02:00
Benoît Burnichon
6f721b5e05
Split Prod/Root Controller into provider/controller
2015-05-28 09:59:16 +02:00
Benoît Burnichon
6c85fb62a8
Rename methods in Prod/Root controller
2015-05-28 09:52:17 +02:00
Benoît Burnichon
7581aada18
Merge pull request #1384 from bburnichon/feature/controller-as-service
...
controller as service
2015-05-27 18:30:40 +02:00
Benoît Burnichon
2489cc6ffe
Rework FeedAggregate. Issue with embedded entry collection.
...
PHRAS-542
2015-05-27 12:56:46 +02:00
Benoît Burnichon
a85f495b23
Fixup return on getEntry to Collection.
...
PHRAS-542.
2015-05-27 11:11:20 +02:00
Benoît Burnichon
84295780f7
Small perfs improve in appbox and SearchEngineOptions
2015-05-26 18:38:19 +02:00
Benoît Burnichon
692de2dd47
DefaultSecretProvider to cache requested Secrets to avoid too many queries
2015-05-26 18:37:08 +02:00
Benoît Burnichon
c083cd5d53
Allow API to be used with WebProfiler
2015-05-26 18:35:57 +02:00
Benoît Burnichon
2523320850
Refactor RecordController. Adding SearchEngineTrait
2015-05-25 17:38:09 +02:00
Benoît Burnichon
4536a14f30
Split Record provider into controller/provider
2015-05-25 16:28:06 +02:00