Commit Graph

28 Commits

Author SHA1 Message Date
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
3b3f3f4011 Use TechnicalDataSet in record_adapter 2015-07-10 11:56:17 +02:00
Thibaud Fabre
2d7d58079e Use base ID instead of collection ID 2015-07-01 11:52:12 +02:00
Benoît Burnichon
041f017fd7 Merge pull request #1395 from jygaulier/PHRAS-442_FACETS-IN-API
PHRAS-442
2015-06-29 17:55:56 +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
Jean-Yves Gaulier
50ddbbed60 PHRAS-442 #time 10 m
cs
2015-06-22 18:20:22 +02:00
Jean-Yves Gaulier
1d0dcaa240 PHRAS-442 #time 5h
facets returned in API
"suggestions" returned in API (as flat facets)
2015-06-22 18:20:22 +02:00
Thibaud Fabre
af1dc9126b Return base_id in API & remove unneeded conversions 2015-06-18 11:24:11 +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
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
d77b55388d Add extended behavior to listRecord
PHRAS-537
2015-05-22 16:18:14 +02:00
Benoît Burnichon
1dc0ff9123 JWT uses an ArrayAccess but expects a string, not a Secret model. 2015-05-21 14:33:11 +02:00
Benoît Burnichon
fb5ca52306 Add Permalink 2015-05-21 12:26:28 +02:00
Benoît Burnichon
c2ff3b6575 Add Secrets to ApplicationBox. 2015-05-19 18:26:57 +02:00
Benoît Burnichon
469e2d0583 Add DataboxLoggerAware where needed 2015-05-14 23:43:00 +02:00
Benoît Burnichon
3b1d5aff10 Merge remote-tracking branch 'origin/feature/controller-as-service' 2015-05-13 10:19:38 +02:00
Jean-Yves Gaulier
e713cbcc80 - fix : title is writen in the (first) field declared "thumbtitle"
- add (wip, do not use) : metadatas can be set for the new story(ies), by field name of metadata_struct_id, see sample:

{
	"stories": [
		{
  			"title": "Story 1",
  			"description": "A story from Phraseanet",
	    	"collection_id": 494,
            "metadatas": {
            	"Ville": "Paris",
                "Pays": "France",
                "7": "Dupond",
                "MotsCles": [
                	"soleil",
                    "pluie"
                ]
            },
			"story_records": [
				{
					"title": "record 1 in story 1",
					"databox_id": 3,
					"record_id": 209
				},
				{
					"title": "record 2 in story 1",
					"databox_id": 3,
					"record_id": 210
				}
			]
	  	},
		{
  			"title": "Story 2",
  			"description": "Another story from Phraseanet",
	    	"collection_id": 495
  		}
	]
}
2015-05-12 21:29:52 +02:00
Benoît Burnichon
61206fd517 Replace calls to mediavorus to getMediaFromUri 2015-05-12 18:12:02 +02:00
Benoît Burnichon
634f5366ae use DispatcherAware wherever possible 2015-05-12 17:15:11 +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
Jean-Yves Gaulier
ae24e5332a -fix 2015-05-11 11:41:43 +02:00
Jean-Yves Gaulier
02a06c6515 #time 2h
- fix api subdef substitute
- fix api addrecord/nosubdef
2015-05-07 19:32:15 +02:00
Jean-Yves Gaulier
68a27c173f fix 2015-05-07 17:53:04 +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
62b8e5a6e4 Refactoring of API V1 Controller 2015-04-27 20:35:36 +02:00