Benoît Burnichon
440bde0063
Add GV_default_subdef_url_ttl to API list
2015-08-12 00:30:39 +02:00
Benoît Burnichon
0e8e462ca7
Backport of #1383 .
...
Add logic on MediaAccessorController
2015-08-12 00:25:28 +02:00
Thibaud Fabre
5e4713da29
Prevent user from setting email that is already used as login
2015-08-04 13:33:07 +02:00
Thibaud Fabre
9092e38986
Use login instead of email for API routes
2015-08-03 19:56:25 +02:00
Thibaud Fabre
d6b6adba7a
Initialize deleted property to false
2015-07-29 21:07:57 +02:00
Thibaud Fabre
f605de52a4
Add is_deleted properties on API apps and accounts and fix doc blocks
2015-07-29 21:05:16 +02:00
Thibaud Fabre
9a1aa761bc
Add account delete route
2015-07-29 20:41:54 +02:00
Thibaud Fabre
8c47de5959
Add delete route
2015-07-29 19:24:06 +02:00
Thibaud Fabre
8b56afbf39
Add route to create collection access requests
2015-07-29 15:53:12 +02:00
Thibaud Fabre
f90c70a0e5
Extract mapper class to list collection requests
2015-07-29 14:52:20 +02:00
Thibaud Fabre
5f46b2e847
Add access requests info to /me
2015-07-28 19:58:01 +02:00
Thibaud Fabre
caf171d1c5
Extract update password action into account service and add API route
2015-07-28 16:03:19 +02:00
Thibaud Fabre
42fac2a111
Only update fields set in request
2015-07-28 12:19:37 +02:00
Thibaud Fabre
251c098dcc
Extract account service to handle account update
...
- Adds API route to update accounts
2015-07-27 19:33:29 +02:00
Thibaud Fabre
dbeade5259
Create registration requests to collections from API route
...
- Adds a collection key to the JSON data array to request specific collections upon account creation
2015-07-27 14:26:13 +02:00
Jean-Yves Gaulier
ca9a292aa3
#PHRAS-597 #time 5m
...
api quarantine/list can return up to 1000 items
2015-07-22 11:09:35 +02:00
Thibaud Fabre
5d268029bb
Fix SQL error
2015-07-17 12:18:14 +02:00
Thibaud Fabre
e91dc156bf
Add user registration approval webhooks
2015-07-17 12:18:14 +02:00
jygaulier
330bf938ab
Merge pull request #1436 from jygaulier/PHRAS-602_del-story-elements
...
#PHRAS-602 #time 3h
2015-07-16 10:54:13 +02:00
Jean-Yves Gaulier
b135e5e1bf
#PHRAS-602 #time 3h
...
- new : api : delete records from story
2015-07-16 10:51:59 +02:00
Thibaud Fabre
87a6fc5600
Add databox ID in collection response
2015-07-10 11:08:55 +02:00
Thibaud Fabre
1e25e6ba0d
Add API get collection route
2015-07-07 18:52:51 +02:00
Thibaud Fabre
baf53e4bed
Use base ID instead of collection ID
2015-07-01 13:00:43 +02:00
Thibaud Fabre
506967bd74
Add unlock account API route
2015-06-26 11:09:14 +02:00
Thibaud Fabre
979770953e
Add API action to create account
2015-06-26 11:09:01 +02:00
Aztech
31f06f925e
Extract reset password in service and add API routes
2015-06-25 00:27:39 +02:00
Thibaud Fabre
6513679410
Return base_id in API & remove unneeded conversions
2015-06-19 14:18:59 +02:00
Benoît Burnichon
f5bec99616
Rebase #1394 onto 3.8
...
List collection rights in /me
2015-06-19 12:23:06 +02:00
Jean-Yves Gaulier
9df0370ec7
#PHRAS-488
...
- fix some names and parameters
- doc
2015-04-23 16:56:54 +02:00
Jean-Yves Gaulier
04d4b8f369
#PHRAS-488
...
- 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-04-21 20:23:48 +02:00
Jean-Yves Gaulier
8062369c7b
#PHRAS-29
...
#time 3h
- 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-04-16 12:24:54 +02:00
Nicolas Le Goff
938a83b967
PHRAS-29 #fix Add creation story in API
2015-02-23 14:44:16 +01:00
Nicolas Le Goff
2b96a0b238
Revert downloadble subdef api expositioon
2015-02-20 18:44:19 +01:00
Jean-Yves Gaulier
41cd9c3f17
#PHRAS-325
...
add parameter "adapt" to route "/embed/substitute"
fix : substituted was indicated only for thumbnails on prod/tools/recreate
2015-02-18 18:12:11 +01:00
Jean-Yves Gaulier
2b3186266c
fix :
...
nosubdef --> no subdefs
nosubdef=1 --> no subdefs
nosubdef=0 --> subdefs
2015-02-05 16:19:30 +01:00
Jean-Yves Gaulier
e69d84b3d5
#PHRAS-325
...
fix typo : the new parameter is "nosubdefs" (with 's' at end)
2015-02-02 17:08:50 +01:00
Jean-Yves Gaulier
6449c58e17
#PHRAS-325 #time 3h
...
added parameter "nosubdef" to route "/api/v1/records/add"
nb : does NOT prevent creation of subdef if file passes thru the quarantine.
2015-02-02 17:04:54 +01:00
Jean-Yves Gaulier
138008f7c6
#PHRAS-325 #time 5h
...
fix "substit" flag in subdef.
new api route /embed/substitute
parms :
- databox_id
- record_id
- name
- /file/
more properties returned by api / object "embed" :
- substituted
- created_on
- updated_on
2015-01-29 19:55:24 +01:00
Jean-Yves Gaulier
344cc0cdd8
fix #PHRAS-388 #time 4h
2015-01-27 16:55:07 +01:00
Nicolas Le Goff
5fe09febb7
Merge pull request #1209 from nlegoff/patch-387
...
[3.8.7] Fix some easy pick
2015-01-21 17:19:02 +01:00
Nicolas Le Goff
0275ede43c
PHRAS-315 Do not expose not downloadable subdef
2015-01-21 16:14:44 +01:00
Nicolas Le Goff
ea4a567b67
Bump year to 2015
2015-01-20 14:18:45 +01:00
Nicolas Le Goff
d82adbf109
Bump year to 2015
2015-01-20 14:08:25 +01:00
Nicolas Le Goff
7d44a356e3
CUS-120 #fix editon date for records
2014-11-18 17:47:33 +01:00
Nicolas Le Goff
3f26c2161d
Fix status bit offset
2014-10-29 16:55:33 +01:00
Nicolas Le Goff
68fc8f660e
Update API version
2014-10-01 12:37:30 +02:00
Nicolas Le Goff
a6c411f404
Fix sql to get created client apps
2014-09-30 16:15:45 +02:00
Nicolas Le Goff
ab73febefd
Fix users right
2014-09-09 20:05:57 +02:00
Nicolas Le Goff
042748e044
Apply user rights on sub-definition
2014-08-13 16:20:08 +02:00
Nicolas Le Goff
e640f72c33
Merge pull request #1101 from nlegoff/api-extend
...
[3.8.6][PHRAS-32] Add extended format option for records API responses
2014-07-30 19:33:51 +02:00