Commit Graph

3426 Commits

Author SHA1 Message Date
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
d2a0eb6d6f Add Language Controller service provider 2015-05-14 21:50:16 +02:00
Benoît Burnichon
8e4a5994a9 Refactor LanguageController 2015-05-14 21:44:25 +02:00
Benoît Burnichon
60774683f8 Split Language Controller Provider into methods 2015-05-14 21:16:59 +02:00
Benoît Burnichon
ee50322010 Refactor FeedController 2015-05-14 21:06:40 +02:00
Benoît Burnichon
014733b26f Rework some phpdox in FeedAggregate 2015-05-14 21:06:39 +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
a13726025e Feed Controller split into method calls 2015-05-14 17:43:25 +02:00
Benoît Burnichon
549c63d083 PHRAS-530
FileSystemAware was renamed FilesystemAware (lowercase S) but change was not reflected on real git filesystem.
2015-05-13 15:53:12 +02:00
Benoît Burnichon
96df8cc926 Revert "PHRAS-524"
This reverts commit a7af07b00c.
2015-05-13 13:43:07 +02:00
Jean-Yves Gaulier
a7af07b00c PHRAS-524
close #1378

task subdef
- fix filter on document type
- add filter on multiple databoxes
2015-05-13 10:31:33 +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
beabf90fdf Refactor Notifier 2015-05-12 21:05:29 +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
Benoît Burnichon
3856622d48 Merge pull request #1361 from mdarse/thesaurus-prefixes
Thesaurus prefixes in field structure (the return)
2015-05-11 12:07:48 +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
f7b1991b0d fix 2015-05-07 17:00:56 +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
a4f530a00c Change some phpdocs 2015-05-07 13:30:51 +02:00
Benoît Burnichon
b805aba322 Add doc blocks to help IDE in FeedLinkGenerator. 2015-05-07 12:29:05 +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