Commit Graph

367 Commits

Author SHA1 Message Date
Benoît Burnichon
afd3fc56f7 Change in ContentNegotiationSubscriber 2015-10-29 18:06:33 +01:00
Benoît Burnichon
a1b467d571 Make it possible to use OAuth outside /api 2015-10-28 17:49:11 +01:00
Benoît Burnichon
f64e3afa63 Use voters in workzone, actionbar and basket_actionbar 2015-10-28 14:43:24 +01:00
Benoît Burnichon
924f20d19d Add Basic handling of plugins in admin 2015-10-28 13:05:00 +01:00
Benoît Burnichon
c01f3f238f Add basic template and hooks in Admin 2015-10-28 13:03:00 +01:00
Florian BLOUET
4953361035 updated existing plugin interfaces, added basket actionbar plugin interface 2015-10-28 12:49:05 +01:00
Florian BLOUET
831436f6fe updated existing plugin interfaces, added basket actionbar plugin interface 2015-10-28 12:49:02 +01:00
Benoît Burnichon
f6ad7c1829 JMS Serializer does not register its Doctrine Annotations.
This causes failures when trying to load serialization metadata using Annotation Driver.

PHRAS-677 #time 2h
2015-10-28 12:36:45 +01:00
Benoît Burnichon
f37fc7d15a Add handlers to JMSSerializer Service Provider 2015-10-28 12:17:30 +01:00
Benoît Burnichon
4ae61e913b Update JMSSerializerServiceProvider to allow adding metadata_dirs 2015-10-28 12:00:38 +01:00
Benoît Burnichon
0db32e35b8 Change to comply negotiation:^2.0.0 2015-10-28 11:56:59 +01:00
Benoît Burnichon
a01849bfa7 Add plugin.actionbar pimple container to PluginServiceProvider 2015-10-28 11:34:30 +01:00
Benoît Burnichon
b335620306 Add plugin capability to add routes. 2015-10-28 10:59:20 +01:00
Benoît Burnichon
cf627a3c44 Update ConnectionPoolManager. Make proper use of it. 2015-10-27 19:37:11 +01:00
Benoît Burnichon
43a68777d1 Change instantiation of ORMs to allow adding listeners. 2015-10-27 19:37:11 +01:00
Benoît Burnichon
e64c82067f Make plugins translation available 2015-10-27 19:37:10 +01:00
Benoît Burnichon
1fbe2225f9 Add plugin support for locale 2015-10-27 19:37:10 +01:00
Benoît Burnichon
e3b154dc32 Add Necessary templates for plugins handling 2015-10-27 19:37:10 +01:00
Thibaud Fabre
c2a10fca61 Add delete/update account routes 2015-10-20 09:16:31 +02:00
Thibaud Fabre
82697bc4c2 WIP Account management 2015-10-20 09:15:57 +02:00
Thibaud Fabre
854bfb631d Add delete/update account routes 2015-10-20 09:12:22 +02:00
Thibaud Fabre
f02fdc186f User registration refactoring 2015-10-20 09:12:22 +02:00
Thibaud Fabre
59a6b39e55 WIP Account management 2015-10-20 09:12:22 +02:00
jygaulier
a50f7eeddd Merge pull request #1543 from jygaulier/PHRAS-771_clone-750
PHRAS-771 #time 2h
2015-10-19 10:32:20 +02:00
Jean-Yves Gaulier
ddf977465c PHRAS-771 #time 2h
report de PHRAS-750 (connect to ftp via a auth proxy)
2015-10-15 17:02:04 +02:00
Thibaud Fabre
49ec3e0c95 Fix undefined property error 2015-10-12 16:40:28 +02:00
Benoît Burnichon
6ffba52bc4 Merge pull request #1507 from aztech-dev/recovery
Extract password recovery logic in service
2015-10-07 17:50:51 +02:00
Jean-Yves Gaulier
db33e2c4fd PHRAS-749 #time 2h
disable-highlight
2015-10-06 14:41:29 +02:00
Thibaud Fabre
1915da1eb1 Fix DI key for user repository 2015-09-22 20:19:49 +02:00
Thibaud Fabre
2aa24186f4 Add API routes for password resets 2015-09-22 18:33:06 +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
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
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
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
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
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
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