Commit Graph

1450 Commits

Author SHA1 Message Date
Benoît Burnichon
205dc746f4 Remove 400 status code on globals submission
PHRAS-535
2015-05-20 16:20:38 +02:00
Benoît Burnichon
c2ff3b6575 Add Secrets to ApplicationBox. 2015-05-19 18:26:57 +02:00
Benoît Burnichon
b1b70520bd Refactor MoveCollectionController 2015-05-15 02:05:05 +02:00
Benoît Burnichon
178247b99e Split MoveCollection controller 2015-05-15 02:05:05 +02:00
Benoît Burnichon
ad766a3eaf Refactor LazaretController 2015-05-15 02:05:05 +02:00
Benoît Burnichon
b19083096b Add DelivererAware trait 2015-05-15 02:05:05 +02:00
Benoît Burnichon
382459d3f4 Refactor using FilesystemAware 2015-05-14 23:44:05 +02:00
Benoît Burnichon
469e2d0583 Add DataboxLoggerAware where needed 2015-05-14 23:43:00 +02:00
Benoît Burnichon
0dfe090ac0 Split Lazaret Controller into 2 classes 2015-05-14 22:05:25 +02:00
Benoît Burnichon
8e4a5994a9 Refactor LanguageController 2015-05-14 21:44:25 +02:00
Benoît Burnichon
ee50322010 Refactor FeedController 2015-05-14 21:06:40 +02:00
Benoît Burnichon
e25cd4097c Change DispatcherAware to accept concrete instances
Dispatcher is already instanciated when invoking controller. So useless to lazy load it.
2015-05-14 21:06:39 +02:00
Benoît Burnichon
55190dffd0 Move methods from Feed ControllerProvider to Controller 2015-05-14 18:34:12 +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
4eabe26e58 Use NotifierAware in some controllers 2015-05-12 19:17:10 +02:00
Benoît Burnichon
88cb63b3ed Refactor ExportController 2015-05-12 19:09:08 +02:00
Benoît Burnichon
61206fd517 Replace calls to mediavorus to getMediaFromUri 2015-05-12 18:12:02 +02:00
Benoît Burnichon
81e8fcb606 Fixup CS and missing $this->app 2015-05-12 17:15:38 +02:00
Benoît Burnichon
634f5366ae use DispatcherAware wherever possible 2015-05-12 17:15:11 +02:00
Benoît Burnichon
019bf563f8 Split Export Controller, introduce DispatcherAware trait 2015-05-12 17:11:47 +02:00
Benoît Burnichon
414111f7f2 Refactor EditController 2015-05-12 10:40:31 +02:00
Benoît Burnichon
fc03fa80be Split EditController into Provider and Controller 2015-05-11 20:22:41 +02:00
Benoît Burnichon
704679eda6 Refactor DownloadController 2015-05-11 18:56:17 +02:00
Benoît Burnichon
5e8f5035c6 Refactor DoDownloadController 2015-05-11 18:45:12 +02:00
Benoît Burnichon
77031ee719 Move DoDownload actions in its own class. 2015-05-11 18:33:09 +02:00
Benoît Burnichon
72fdfa7141 Fixup ApiTests about Content-Type 2015-05-11 18:11:51 +02:00
Benoît Burnichon
4d4f631672 Change Application to use BridgeController.
Remove reference to app.
2015-05-11 13:26:56 +02:00
Benoît Burnichon
99264e258e Refactor BridgeController 2015-05-11 13:03:12 +02:00
Benoît Burnichon
c954544cec Change BridgeController 2015-05-11 12:37:09 +02:00
Benoît Burnichon
9950711ce8 Basket controller cleanup 2015-05-11 12:37:09 +02:00
Benoît Burnichon
137942a6d1 Move methods from Basket Provider to BasketController. 2015-05-11 12:37:09 +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
a024ea8b90 Merge pull request #1375 from jygaulier/SUBSTITUTE_SUBDEF
report api substitute / nosubdef
2015-05-11 12:13:42 +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
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
f4b24c41d9 Change permalink delivery to always check activated state
Changed permalink constructor visibility to public to allow search of a permalink
2015-05-07 11:12:39 +02:00
Benoît Burnichon
8f8030bb11 Remove $app dependency on FeedItemRepository::isRecordInPublicFeed() method. 2015-05-07 11:03:27 +02:00
Benoît Burnichon
d9cbe87c26 Refactor of Client Root 2015-04-30 20:23:22 +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
21195820f2 Fixup form submission.
In our case, we want to allow empty requests... If using handleRequest, the form should at least contains the CSRF tokens.
2015-04-14 11:07:26 +02:00
Benoît Burnichon
e90687e4ff Missing ControllerProvider in Application and error in private method 2015-04-13 19:49:55 +02:00
Benoît Burnichon
27f1f98dbe Refactor TaskManagerController 2015-04-13 19:29:51 +02:00
Benoît Burnichon
14a62fd9e8 Split TaskManager ControllerProvider into 2 classes 2015-04-13 19:01:37 +02:00
Benoît Burnichon
8136f06a54 Refactor SubdefsController 2015-04-13 18:25:28 +02:00