Benoît Burnichon
af25e6bfd8
Remove status table
2015-12-23 14:13:07 +01:00
Benoît Burnichon
3b6cd117bb
Merge pull request #1607 from bburnichon/feature/PHRAS-867
...
API Basket elements add/removal
2015-12-22 19:08:42 +01:00
Benoît Burnichon
c532e01c40
fixup Change record_adapter
2015-12-22 17:44:33 +01:00
Benoît Burnichon
00d0ea66bb
Change getIsRead to isRead
2015-12-22 14:25:13 +01:00
Jean-Yves Gaulier
80f3285737
#PHRAS-874 time 2d
...
type hinting / cs
events renamed / deleted
n+1 removed for status-bits & technical meta
events added (subdef creation / created)
fix : es indexes after all subdefs are created
2015-12-17 20:07:48 +01:00
Jean-Yves Gaulier
18909462fa
#PHRAS-840 time 12h
...
add : es "technical" fields (_index, _type, _version, ...) to es-record
fix: add etag to thumbnail on es answers, based on document _version
clean : obsolete methods calls changed, cs, ...
2015-12-10 17:58:16 +01:00
Benoît Burnichon
2e1ad08383
Fixup build-missing-subdef command.
...
PHRAS-855
2015-12-03 15:00:44 +01:00
Benoît Burnichon
8aca5f6126
Use Uuid with its new namespace
2015-10-27 20:14:01 +01:00
Jean-Yves Gaulier
c751605554
#PHRAS-602 #time 6h
...
new : api to delete records from story
2015-07-16 15:52:05 +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
fd530d8795
Deprecate get_databox
in favor of getDatabox
2015-07-13 18:47:10 +02:00
Benoît Burnichon
0b36d706a0
Deprecate {set,get}_type in favor of {set,get}Type
2015-07-13 18:43:28 +02:00
Benoît Burnichon
d5d9699397
Deprecated {set,get}_mime in favor of {set,get}MimeType
2015-07-13 18:35:20 +02:00
Benoît Burnichon
a4637c2e72
Deprecate get_record_id in favor of getRecordId
2015-07-13 18:24:06 +02:00
Benoît Burnichon
ff7801132d
Deprecate get_collection_id instead of getCollectionId
2015-07-13 18:22:21 +02:00
Benoît Burnichon
8d4cf71d6d
Deprecate get_base_id in favor of getBaseId
2015-07-13 18:19:42 +02:00
Benoît Burnichon
c97eedd40f
Deprecate is_grouping in favor of isStory
2015-07-13 18:14:51 +02:00
Benoît Burnichon
2107cd28df
Deprecated get_uuid in favor of getUuid
2015-07-13 18:08:04 +02:00
Benoît Burnichon
38ae7bc2ac
Rename get_number/set_number to getNumber/setNumber
2015-07-13 17:50:20 +02:00
Benoît Burnichon
e14b2155aa
Deprecated get_modification_date
2015-07-13 17:08:22 +02:00
Benoît Burnichon
9fea438079
Deprecated old underscore get_creation_date. Use getCreated instead.
2015-07-13 17:08:22 +02:00
Benoît Burnichon
f5949cd9f4
Fix story set metadata collection.
2015-07-13 11:18:12 +02:00
Benoît Burnichon
afbacaa640
set_original_name wasn't working as expected. Added test.
2015-07-10 19:06:10 +02:00
Benoît Burnichon
c0ceb65ba2
Prepared statements does not handle string to int conversion.
...
Convert it from PHP.
2015-07-10 17:19:00 +02:00
Benoît Burnichon
277808c441
Reduce code complexity using Dbal methods.
2015-07-10 16:34:04 +02:00
Benoît Burnichon
5d8e89363e
Some PHPCS
2015-07-10 16:32:39 +02:00
Benoît Burnichon
de8657aabf
Restore previous behaviour of get_duration. PHPCS
2015-07-10 11:56:18 +02:00
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
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
Benoît Burnichon
8ee5279d58
Remove all uses of databox_field::get_instance
2015-07-08 11:08:07 +02:00
Benoît Burnichon
ff67120388
Fixup some tests that fails with Elasticsearch.
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
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
4241fd0e6c
WIP with cache
2015-06-10 19:09:38 +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
61206fd517
Replace calls to mediavorus to getMediaFromUri
2015-05-12 18:12:02 +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
80bb56b875
Merge pull request #1373 from bburnichon/feature/phras-519-revocable-permalinks
...
PHRAS-519 avoid public feeds not to check permalink status (is_enabled status field)
2015-05-07 17:35:06 +02:00
Jean-Yves Gaulier
3305329501
report des routes api/story de 3.8
...
#time 1.5d
2015-05-07 16:53:53 +02:00
Benoît Burnichon
5eb7af9542
Merge pull request #1360 from bburnichon/feature/controller-as-service
...
controller as service
2015-05-07 16:09:40 +02:00
Benoît Burnichon
4db591a12a
PHPCS fixing and avoid returns in some constructors
2015-05-07 11:04:45 +02:00