Commit Graph

489 Commits

Author SHA1 Message Date
Benjamin Dauvergne 4847f07414 Merge branch 'master' of repos.entrouvert.org:docbow 2011-06-28 10:52:02 +02:00
Benjamin Dauvergne c364db785e Rename relation between SentFile and SeenState to « seen_set » 2011-06-28 10:50:50 +02:00
Benjamin Dauvergne 1020cb3e7d When saving a SeenUntil erase older SeenState objects 2011-06-28 10:50:13 +02:00
Frédéric Péters 133be49e77 Larger title subpicture, to avoid artefacts on very large screens 2011-06-27 21:36:51 +02:00
Benjamin Dauvergne 53a15578ea Add a LOCALE_PATHS settings as django/wsgi seems to not behave like the internal web server 2011-06-27 19:12:44 +02:00
Benjamin Dauvergne 96d4b9996f Improve contact form
- add submit buttons
 - remove rich text control, will be done later
 - repeat submit button under the message
2011-06-27 19:10:22 +02:00
Benjamin Dauvergne 48701b3388 Do not show last-three-files section when they do not exist 2011-06-27 18:42:59 +02:00
Benjamin Dauvergne 7ab650791c Overload admin templates 2011-06-27 18:02:09 +02:00
Benjamin Dauvergne d736748195 Merge remote branch 'origin/master' 2011-06-27 17:56:03 +02:00
Benjamin Dauvergne c330e18a8a Remove django.contrib.sites, improve translations and admin UI 2011-06-27 17:54:28 +02:00
Benjamin Dauvergne 64a5bf7543 remove debugging statement 2011-06-27 17:54:01 +02:00
Frédéric Péters 7bcf0b996a Styling main template 2011-06-27 16:44:19 +02:00
Frédéric Péters 6f0389402d Removing the clock
There's no use in displaying the time it was when the page was loaded.
2011-06-27 16:14:11 +02:00
Frédéric Péters 0e0eb45cbd Styling the login page 2011-06-27 16:13:17 +02:00
Frédéric Péters 116cfd5e39 Fix instruction for initial syncdb 2011-06-27 15:32:54 +02:00
Benjamin Dauvergne f3553c4ecd Fix instructions for compiling translations files 2011-06-27 14:54:19 +02:00
Benjamin Dauvergne b9d209035d Change initial_data format from yaml to json
PyYAML is not downloadable currently :(
2011-06-27 14:50:59 +02:00
Benjamin Dauvergne b797d43b72 add instructions to compile translation files 2011-06-27 14:36:30 +02:00
Benjamin Dauvergne e3849b55b9 Improve views
- add the type of the document to the received documents listing
 - translate table headers;
 - fix file download;
 - add Content-disposition header to transmit name of the document to
   the browser which it can use to save the file;
2011-06-27 14:34:57 +02:00
Benjamin Dauvergne 3e5013c081 Use the new getters for users and groups documents targets in the template 2011-06-27 14:34:57 +02:00
Benjamin Dauvergne 9a12b6ea9b Improve the SentFile model
- do not use HTMLField for now, rich text comment will be developped
   later;
 - try to keep the original filename of files;
 - add a getter method for the document filename;
 - sort files inside sub-directories by day of the year of the
   /media/files/ directory;
 - add translatated verbose_name to fields;
 - add getter methods for user-interface list of user and groups
   targets.
2011-06-27 14:34:57 +02:00
Benjamin Dauvergne 682148952a Show sending date of documents in the listing 2011-06-27 14:34:57 +02:00
Benjamin Dauvergne 1e0f0bcb84 Improve url regexps 2011-06-27 14:34:57 +02:00
Benjamin Dauvergne 8d3804b3e4 Use django-south, move main setting file to a subdirectory to allow makemessages to work, add groups to hide in send file page
manage.py makemessages seems to only parse files in sub-directory of the
current working directory.
2011-06-27 14:34:53 +02:00
Benjamin Dauvergne d03c2e44e3 Remove data files whicho should not have been comitted 2011-06-27 14:24:09 +02:00
Benjamin Dauvergne 3ef07f5b6a Update translations 2011-06-27 14:21:54 +02:00
Benjamin Dauvergne 7aee1854f1 Improve send file form
- only show regular user in the to_user field
 - only show groups not related to access control
 - move buttons to the top
 - validate there is at least one target for the document
 - show error message when targets are missing
 - use django-uni-form Layout object to layout the form
2011-06-27 14:19:37 +02:00
Benjamin Dauvergne 0abe7c1dff Update pip requirement file 2011-06-27 14:19:28 +02:00
Benjamin Dauvergne 708ad6e02e Update test datas 2011-06-27 14:19:17 +02:00
Benjamin Dauvergne 348ce81712 add a .gitignore file 2011-06-27 14:00:04 +02:00
Benjamin Dauvergne 966e1b8c1d Add installation instructions to README.rst 2011-06-27 13:58:35 +02:00
Benjamin Dauvergne a4efa87b8a Really commit new style 2011-06-25 10:48:19 +02:00
Benjamin Dauvergne fdaa957910 Improve styling to just look awful, not extremely awfull
- styling of the login page and the send button
- marking of the sent files already seen
- add last three sent files listing to the new send page
2011-06-25 10:42:28 +02:00
Benjamin Dauvergne a61981ca5d Add a txt file listing style information extracted from parlement.wallonie.be stylesheet 2011-06-25 10:40:53 +02:00
Benjamin Dauvergne af47d79a09 update translations 2011-06-24 18:30:54 +02:00
Benjamin Dauvergne 659c8da83d add developement requirements 2011-06-24 17:56:50 +02:00
Benjamin Dauvergne f7ea94ed71 second commit 2011-06-24 17:54:34 +02:00
Benjamin Dauvergne b151e6a3b6 First commit 2011-06-24 17:53:41 +02:00
Benjamin Dauvergne a9b48ace33 Add a readme file 2011-06-09 16:10:46 +02:00