Benoît Burnichon
4c1fcff4e6
Better checking TechnicalDataSet return type.
2015-07-10 11:56:17 +02:00
Benoît Burnichon
02cd830491
Fixup typo that leads to Fatal Error.
2015-07-10 11:56:17 +02:00
Benoît Burnichon
3b3f3f4011
Use TechnicalDataSet in record_adapter
2015-07-10 11:56:17 +02:00
Benoît Burnichon
a425043b9a
Fix typo in Technical data const
2015-07-10 11:56:16 +02:00
Benoît Burnichon
3d16c624b4
Change some properties from protected to private
2015-07-10 11:56:16 +02:00
Benoît Burnichon
2e4d659045
Refactor record_adapter constructor
2015-07-10 11:56:16 +02:00
Benoît Burnichon
408e350b2e
PHPCS and add blackfire bash aliases
2015-07-10 11:56:16 +02:00
Benoît Burnichon
c9cd428acc
Use of old PDO singleton.
...
Also fixup test suite to check behaviour of set_mime (only setter)
2015-07-10 11:43:51 +02:00
Aztech
616f57e8ed
WIP Extract collection service
2015-07-10 10:09:35 +02:00
Thibaud Fabre
07c0691092
Implement save method in collection reference repository
2015-07-09 20:13:46 +02:00
Thibaud Fabre
c5cab178a9
Add cache busting via save method of collection repository
2015-07-09 19:00:34 +02:00
Thibaud Fabre
977e778b61
Refactor collection repositories: use one instance per databox
2015-07-09 18:48:53 +02:00
Thibaud Fabre
6b516618aa
Fix some test failures
2015-07-09 16:20:41 +02:00
Thibaud Fabre
bd57e04dc0
Add array cache collection repository
2015-07-09 15:49:27 +02:00
Thibaud Fabre
080aecd208
Fix undefined property
2015-07-09 14:40:23 +02:00
Thibaud Fabre
2623f39488
Add de/serialization methods for collection caching
2015-07-09 12:32:06 +02:00
Thibaud Fabre
ea6a4fdbf0
Extract repository and factory classes for collections
2015-07-09 12:32:06 +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
c65fc6abec
Fix incorrect call to read/save version
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
2a134d4bca
Fix incorrect argument
2015-07-08 13:45:24 +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
8ee5279d58
Remove all uses of databox_field::get_instance
2015-07-08 11:08:07 +02:00
Benoît Burnichon
82f19ee55d
Begin databox_field refactor
2015-07-08 11:08:07 +02:00
Thibaud Fabre
1bcefda9a1
Add API get collection route
...
Conflicts:
lib/Alchemy/Phrasea/Controller/Api/V1.php
lib/classes/API/V1/adapter.php
Conflicts:
lib/classes/appbox.php
2015-07-07 19:28:50 +02:00
Benoît Burnichon
cc7a238e92
Remove an SQL statement in databox, along with cache Key
2015-07-03 18:20:09 +02:00
Benoît Burnichon
62ac0e0cbc
Use computed key from appbox.
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
Mathieu Darse
e4aafaac10
Restrict search on visible private fields
...
Search on private fields is only supported on bare text search right now (TextNode).
This also fix and issue on databox::get_collection_unique_ids() returning the
value from the first call over and over.
2015-07-03 14:33:48 +02:00
Benoît Burnichon
6e52421437
Merge pull request #1390 from mdarse/private-fields-collection-map
...
Fields « used by » collection map
2015-07-02 12:55:45 +02:00
Benoît Burnichon
ff67120388
Fixup some tests that fails with Elasticsearch.
2015-07-02 12:33:19 +02:00
Benoît Burnichon
f920e8354a
Replace phraseanet.appbox by getApplicationBox() method calls.
2015-07-02 12:33:19 +02:00
Benoît Burnichon
d645b92afa
Add AclAware Trait
2015-07-02 12:33:18 +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
6e651f3b07
Replace app['phraseanet.appbox']->get_databox using trait
2015-07-02 12:27:26 +02:00
Benoît Burnichon
360e69ff8d
Remove Commented method
2015-07-02 12:27:25 +02:00
Benoît Burnichon
fea47ef5ee
Change Elastic Field structure to cope with Collection base_ids
2015-06-29 19:15:52 +02:00
Benoît Burnichon
acb8ed86c8
Retrieve Collections indexed by field name
2015-06-29 19:15:51 +02:00
Benoît Burnichon
a0cc568a0c
CS fixes
2015-06-29 19:15:43 +02:00
Mathieu Darse
9172da904b
Braindump of collection-fields map
2015-06-29 19:13:56 +02:00
Benoît Burnichon
dd0b661dac
Refactor AccountController
...
PHRAS-529 #time 1h
2015-06-18 14:49:52 +02:00
Thibaud Fabre
22b912fa87
Cast coll_id to int
2015-06-18 11:40:59 +02:00
Thibaud Fabre
af1dc9126b
Return base_id in API & remove unneeded conversions
2015-06-18 11:24:11 +02:00
Benoît Burnichon
e1510143a7
Merge pull request #1392 from bburnichon/feature/controller-as-service
...
Controller as service
PHRAS-529
2015-06-16 11:08:03 +02:00
Benoît Burnichon
ea7fb2b182
Refactor ActivityController
2015-06-15 16:51:23 +02:00
Benoît Burnichon
43d93eef36
More checks on cache returned values.
...
Switched to Redis in tests.
2015-06-12 12:09:00 +02:00