Commit Graph

5932 Commits

Author SHA1 Message Date
Benoît Burnichon
3ef3a8e697 Refactor QueryController 2015-05-25 16:12:31 +02:00
Benoît Burnichon
2eeef9aa05 Split Query provider into controller/provider 2015-05-25 15:49:08 +02:00
Benoît Burnichon
1a6fa2423f Refactor PushController 2015-05-25 15:42:28 +02:00
Benoît Burnichon
cab9a66082 Split Push provider into controller/provider 2015-05-25 14:19:47 +02:00
Benoît Burnichon
9ec06701dc Refactor PropertyController 2015-05-25 12:38:21 +02:00
Benoît Burnichon
0dd5fffa30 Split Property provider into controller/provider 2015-05-25 12:29:35 +02:00
Benoît Burnichon
32204ebe7c Refactor PrinterController 2015-05-25 12:22:04 +02:00
Benoît Burnichon
3864a31cc8 Split Printer provider into controller/provider 2015-05-25 12:17:20 +02:00
Benoît Burnichon
82da488ba2 Refactor OrderController 2015-05-25 12:01:58 +02:00
Benoît Burnichon
94133aabe4 Create UserQueryAware trait. 2015-05-25 10:49:05 +02:00
Benoît Burnichon
4603159bb2 Split Order Provider into Controller/Provider 2015-05-25 09:08:18 +02:00
Benoît Burnichon
d77b55388d Add extended behavior to listRecord
PHRAS-537
2015-05-22 16:18:14 +02:00
Benoît Burnichon
a9c79973a9 Returns a Not Found exception when providing invalid/expired/before JWT token 2015-05-22 11:06:45 +02:00
Benoît Burnichon
f51d1c47a9 Merge pull request #1383 from bburnichon/feature/remove-permalink-static-access-PHRAS-532
Add media accesor
2015-05-21 16:59:37 +02:00
Benoît Burnichon
fac4f4b6a5 Handle invalid JWT. download belongs to query, not request. 2015-05-21 16:45:13 +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
Jean-Yves Gaulier
87bf645edb cs 2015-05-21 11:38:10 +02:00
Jean-Yves Gaulier
b00cd16251 task record mover ok to test
- better sample
- twig cs
#time 1.5d
2015-05-20 20:05:37 +02:00
Jean-Yves Gaulier
708dd4cba0 task record mover, wip 2015-05-20 19:11:59 +02:00
Benoît Burnichon
2a3e31ffa6 Add default-subdef-url-ttl value 2015-05-20 16:50:08 +02:00
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
f4c3d40701 Prod EditController should use callable and not protected.
refs PHRAS-529
2015-05-18 18:59:13 +02:00
Benoît Burnichon
3577ef12f8 Merge pull request #1378 from jygaulier/TASK_SUBDEF_FILTERS
PHRAS-524
2015-05-18 18:20:48 +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
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
Jean-Yves Gaulier
eeed4d3120 task subdef
- better format of xml settings
- fix filter on document type
- fix filter on multiple databoxes
- fix unit tests
2015-05-13 19:38:39 +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
fd1f515390 - add route to change cover of a story
- enhance route to create stories (set cover)
- enhance route to add records to a story (change cover)
- refactor code
todo :
- doc
- better dispatch events (many events for one op)
2015-05-12 21:42:40 +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