Commit Graph

132 Commits

Author SHA1 Message Date
Jean-Yves Gaulier
231a4dc067 PHRAS-608 #time 10m
a record of type "video" can be used (elected) as cover via "create story" api
2015-09-03 17:42:25 +02:00
Jean-Yves Gaulier
f2d37a353e #PHRAS-597 #time 15m
fix: api quarantine/list now can return up to 1000 items
2015-07-21 19:05:31 +02:00
Jean-Yves Gaulier
bb29eeba77 #PHRAS-603 #time 6h
cs bb
2015-07-21 10:57:10 +02:00
Jean-Yves Gaulier
3b5e2a4089 #PHRAS-603 #time 6h
fix "use_as_cover" in story api
2015-07-20 18:10:51 +02:00
Jean-Yves Gaulier
2a138ed596 #PHRAS-602 #time 5m
fix
2015-07-16 16:14:36 +02: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
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
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
Benoît Burnichon
956b6e401c Fixup ApiTests about Content-Type
# Conflicts:
#	lib/Alchemy/Phrasea/Controller/Prod/BridgeController.php
2015-05-13 09:49:33 +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
72fdfa7141 Fixup ApiTests about Content-Type 2015-05-11 18:11:51 +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
Benoît Burnichon
3f4e767557 Refactor Api OAuth2 Controller 2015-04-21 19:40:22 +02:00
Benoît Burnichon
1342756b84 Rename Controller to ControllerProvider 2015-03-27 12:55:43 +01:00
Benoît Burnichon
0095ae611f Some Version static calls changed to method calls. 2015-03-19 15:15:59 +01:00
Benoît Burnichon
03b573f19c Some PHPCS fixes. 2015-03-19 15:15:59 +01:00
Benoît Burnichon
775552f613 Change Version to non-static 2015-03-19 11:28:06 +01:00
Benoît Burnichon
0ce4fd3192 Change to use border-manager as checker registry. 2015-03-17 16:55:55 +01:00
Benoît Burnichon
9a115726f4 Remove use of LazaretCheck::getMessage() static calls
LazaretCheck should not perform the translations.

It would be better to have Checker registry to find checker to use.
2015-03-17 15:59:53 +01:00
Benoît Burnichon
e32816a8e0 Refactor Api/V1 controller.
Reorder entries.
Properly indent routes.
2015-03-16 15:03:30 +01:00
Benoît Burnichon
c72e31163b Merge remote-tracking branch 'upstream/3.8' 2015-03-13 18:50:49 +01:00
Nicolas Le Goff
d5a56165a2 Fix search route tests 2015-03-11 21:50:36 +01:00
Benoît Burnichon
118bb2f03c Some fixup for ES instance 2015-03-11 15:22:20 +01:00
Nicolas Le Goff
ed3ffb59a6 Merge remote-tracking branch 'upstream/master' into 20150306-elastic-indexer
Conflicts:
	bin/console
	bower.json
	composer.json
	composer.lock
	lib/Alchemy/Phrasea/Application.php
	lib/Alchemy/Phrasea/Border/Manager.php
	lib/Alchemy/Phrasea/Controller/Api/V1.php
	lib/Alchemy/Phrasea/Core/PhraseaEvents.php
	lib/Alchemy/Phrasea/SearchEngine/SearchEngineOptions.php
	lib/classes/caption/field.php
	lib/classes/record/Interface.php
	templates/web/prod/index.html.twig
	www/skins/prod/000000/prodcolor.css
2015-03-10 14:36:31 +01:00