Commit Graph

10 Commits

Author SHA1 Message Date
Benjamin Dauvergne 7ab9a10a6c add copyright notices 2019-07-04 13:00:43 +02:00
Frédéric Péters 510bd0c84f add compatibility with python 3 (#25642) 2018-08-12 17:48:35 +02:00
Benjamin Dauvergne aebddbb7bf admin: add oauth2 models, improve search (fixes #22950)
We also add default ordering on creation_date for most models.
2018-04-09 09:38:27 +02:00
Benjamin Dauvergne 7089a0fa7e add a fargo-cleanup command (#22682) 2018-03-27 11:20:44 +02:00
Benjamin Dauvergne 23124dbe34 oauth2: use auto_now_add for creation_date fields (#22682) 2018-03-26 15:32:47 +02:00
Frédéric Péters a0a4c7962f oauth2: extend oauth2tempfile uuid to 32 characters (#22782) 2018-03-24 08:30:33 +01:00
Benjamin Dauvergne 59ec2bea1a oauth2: do not use the document hash as primary key for temp files (#22717)
It prevents a client from pushing the same file multiple times, which
makes temporary errors harder to handle (client would have to handle a
failure from the web-service). We allow any number of push of the same
document, orphans will be cleaned up by a background task, and storage
is not duplicated as document are deduplicated through their hash.
2018-03-22 21:15:30 +01:00
Benjamin Dauvergne 1dddba4baf oauth2: link authorizations and temp files to clients (#22717) 2018-03-22 11:47:47 +01:00
Benjamin Dauvergne 60d6259023 oauth2: use client_name as unicode value of clients (#22717) 2018-03-22 11:47:47 +01:00
Jean-Baptiste Jaillet fe873ff083 add oauth2 access to get and put a document (#14147) 2017-11-06 17:37:00 +01:00