Benjamin Dauvergne
e92438db1f
fix push document API
2016-03-31 22:17:17 +02:00
Benjamin Dauvergne
60e2db5736
add ending slash to urlpatterns
2016-03-31 22:03:51 +02:00
Benjamin Dauvergne
4bfae95016
remove document_type field from PushDocumentSerializer
2016-03-31 21:34:32 +02:00
Benjamin Dauvergne
80a11ad966
settings: only allow admin users on web services
2016-03-30 23:31:31 +02:00
Benjamin Dauvergne
0361a7356d
admin: show thumbnail in UserDocument details
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
1c86678c5f
admin: show users and thumbnail in Docunent details
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
1d90bcbb99
admin: allow searching UserDocumemt by user's first name, last name, email, by filename and by origin
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
75f9b15fb9
admin: show thumbnails in Document listing
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
1b16760c80
admin: show thumbnails in UserDocument listing
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
3a33613dbf
add thumbnail_data_url read-only property to Document
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
9e6657445a
add __unicode__ method to Origin
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
ebd3aad0eb
admin: fix users columns in document listing
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
f240b61cbf
admin: show origin in validation details
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
412c6ba0a1
admin: show description and origin then hide content_hash in validation listing
2016-03-29 15:11:24 +02:00
Benjamin Dauvergne
0787fb7d07
give a description to document type lacking a display template
2016-03-29 15:11:17 +02:00
Benjamin Dauvergne
e998aeb146
jenkins.sh: add missing helper scripts
2016-03-29 15:10:38 +02:00
Benjamin Dauvergne
5083e6eaf4
jenkins.sh: fix coverage and test reports
2016-03-29 02:03:53 +02:00
Benjamin Dauvergne
3ee6890f36
jeknins.sh: use last pylint
2016-03-29 01:50:40 +02:00
Benjamin Dauvergne
49ad1ada6a
jenkins.sh: install pylint-django
2016-03-28 13:56:45 +02:00
Benjamin Dauvergne
1e89925a22
restore wrongly removed part of licence statement ( #10375 )
2016-03-28 13:53:48 +02:00
Benjamin Dauvergne
ddda5d75d9
jenkins.sh: use tox
2016-03-28 03:45:23 +02:00
Benjamin Dauvergne
172efdb392
add display_template to document types ( #10375 )
2016-03-28 03:28:54 +02:00
Benjamin Dauvergne
0bff0ff51e
add Origin model to admin
2016-03-28 03:28:54 +02:00
Benjamin Dauvergne
804cf6ba63
remove validation view ( #10375 )
2016-03-28 03:28:54 +02:00
Benjamin Dauvergne
c286fd517a
create thumbnails ( fixes #10456 )
2016-03-28 03:28:54 +02:00
Benjamin Dauvergne
2682ea90de
add accessor to get an user document from a validation ( #10375 )
2016-03-28 03:28:54 +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
Benjamin Dauvergne
ad6b0fcac4
add column origin to Validation ( #10375 )
2016-03-28 03:17:37 +02:00
Benjamin Dauvergne
85e64a6711
pep8ness
2016-03-28 03:17:37 +02:00
Benjamin Dauvergne
5bdcc13725
remove user_document column from Validation ( fixes #10374 )
2016-03-28 03:17:37 +02:00
Benjamin Dauvergne
d0fb4df437
fill new columns user and content_hash ( #10374 )
2016-03-28 03:17:36 +02:00
Benjamin Dauvergne
9fe7d95d5f
add columns user and content_hash to Validation ( #10374 )
2016-03-28 03:17:36 +02:00
Benjamin Dauvergne
86cb54b4a1
add document types ( fixes #9544 )
2016-03-28 03:17:36 +02:00
Benjamin Dauvergne
2930a6bcb2
add logging configuration
2016-03-28 03:17:36 +02:00
Benjamin Dauvergne
d4ae353ad4
add tox.ini
2016-03-23 00:29:01 +01:00
Benjamin Dauvergne
1f0d620fd5
setup.py: constrain django-tables2 to version < 1.1
2016-03-23 00:29:01 +01:00
Benjamin Dauvergne
1e7465b6ea
setup.py: use setuptools sdist
2016-03-13 01:40:40 +01:00
Frédéric Péters
07ed737e23
misc: fix check of permission to delete file
2016-02-15 14:32:28 +01:00
Frédéric Péters
c0fc38d9cf
trivial: add missing import
2016-02-13 16:17:18 +01:00
Frédéric Péters
0955b36b13
api: add a new /api/documents/recently-added endpoint ( #9971 )
2016-02-12 19:23:50 +01:00
Frédéric Péters
1d3228f9f9
general: add API to push documents ( #7080 )
2016-02-12 19:23:30 +01:00
Frédéric Péters
5afdfb0004
misc: don't allow removal of documents that have an origin set ( #7230 )
2016-02-12 15:34:22 +01:00
Frédéric Péters
3214b29853
misc: add an 'origin' field to documents ( #7230 )
2016-02-12 11:25:42 +01:00
Frédéric Péters
0aa18bdec0
debian: always restart after a hobo-agent trigger ( #9405 )
2016-01-22 13:36:24 +01:00
Frédéric Péters
f94d5ac156
debian: don't restart on hobo-deploy trigger ( #9405 )
2016-01-21 11:20:00 +01:00
Frédéric Péters
c664a75b79
jenkins: don't use pip 8
2016-01-20 19:33:20 +01:00
Frédéric Péters
f0a1d5f035
style: align dialog buttons to the bottom of the popup
2016-01-16 19:04:51 +01:00
Frédéric Péters
574658803e
templates: also use a single "Upload a new document" button in picker dialog
2016-01-16 19:04:12 +01:00