Benjamin Dauvergne
7ab9a10a6c
add copyright notices
2019-07-04 13:00:43 +02:00
Benjamin Dauvergne
76af20c99e
tests: fix PEP8ness
2019-07-04 13:00:43 +02:00
Benjamin Dauvergne
cecf66e523
tests: test interface URLs
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
Frédéric Péters
6d753a0f45
api: allow multiple occurences of same document in portfolio ( #23339 )
2018-04-24 10:23:11 +02:00
Benjamin Dauvergne
90d3f824d9
tests: fix no determinism in tests when using postgresql ( #23134 )
2018-04-12 16:30:03 +02:00
Benjamin Dauvergne
2db8756f48
fargo: prevent pushing the same file many times ( #22682 )
...
Bug was discovered because we added the creation_date non-null field as
content_hash is the primary key. When saving a Document with the same
content_hash, Django try to update the existing document by setting
creation_date to NULL which fails.
2018-03-27 13:08:06 +02:00
Benjamin Dauvergne
cb97010961
tests: adapt to changes in django-webtest
2017-03-22 22:48:08 +01:00
Josue Kouka
244c4ca485
test api: fix assertion errors
2016-08-03 11:34:50 +02:00
Josue Kouka
7a85464a6b
url encode filenames ( #12793 )
2016-08-03 11:25:30 +02:00
Josue Kouka
cf2e7b6ba2
misc: fix document max size api asserts
2016-08-03 11:23:10 +02:00
Thomas NOËL
73f611de34
add explicit deletable_by_user attribute ( #10890 )
2016-06-30 10:56:19 +02:00
Benjamin Dauvergne
cd9cb5a20f
tests: fix test to use the tax assesment notice ( fixes #11195 )
2016-06-07 02:01:04 +02:00
Benjamin Dauvergne
f68253a408
converge metadata schema format and w.c.s. fields JSON serialization
2016-04-06 12:01:03 +02:00
Benjamin Dauvergne
e92438db1f
fix push document API
2016-03-31 22:17:17 +02:00
Benjamin Dauvergne
8365adb4ee
add constraint on document box size ( fixes #278 )
2016-03-28 03:28:54 +02:00
Benjamin Dauvergne
eddee96dcf
add constraint on document size ( fixes #279 )
2016-03-28 03:28:51 +02:00
Benjamin Dauvergne
a302008b4b
add validation API ( fixes #10375 )
...
- a serializer for referring to an user factorized with the push document API
- add common mixin for handling validation errors and successfull results
- add common fixtures for writing tests
2016-03-28 03:28:10 +02:00