Commit Graph

1103 Commits

Author SHA1 Message Date
Benjamin Dauvergne 2c45b32d6c pfwb/templates: fix grammatical error 2013-10-15 18:12:05 +02:00
Benjamin Dauvergne 8d38aae523 css: add word-break: break-all on filename row in upload widget 2013-10-15 17:58:52 +02:00
Benjamin Dauvergne e817a0b182 css: set word-break: break-all on the filename column of mailbox tables 2013-10-15 17:51:38 +02:00
Benjamin Dauvergne 331983cc30 models: enlarge the AttachedFile.name field to 300 characters 2013-10-15 17:51:35 +02:00
Benjamin Dauvergne d377b524e2 forms: improve email handling in PasswordResetForm
1. send mail to personal email if it was the email used for the request
2. or if there is no official email,
3. if no email is found skip the user
2013-10-15 17:01:50 +02:00
Benjamin Dauvergne dc8bad4ae9 pfwb: overload template for password reset emails 2013-10-15 15:53:00 +02:00
Benjamin Dauvergne 75354b6a2f templates: fix typo in password_reset_email.html template 2013-10-11 15:02:18 +02:00
Benjamin Dauvergne 2dee46260a auth_backend: complete the DummyUser.save() method 2013-10-11 11:19:14 +02:00
Benjamin Dauvergne 35776f1860 auth_backend: adapt to Django 1.5 change in the login() method, define DummyUser.pk 2013-10-11 11:15:37 +02:00
Benjamin Dauvergne 92f4ddc3b1 templates: update url template tag usage for django 1.5 2013-10-10 17:01:29 +02:00
Benjamin Dauvergne 9046eb762d models: enlarge AttachedFile.content field 2013-10-10 15:10:57 +02:00
Benjamin Dauvergne a44c5e97d4 pfwb/tests: add test on the sendmail command customzed for pfwb 2013-10-08 15:52:25 +02:00
Benjamin Dauvergne 3e1d7f6567 migrations: fix migration 0012 for naive datetime 2013-10-08 15:50:32 +02:00
Benjamin Dauvergne d0db52b5fc filter-widget/SelectFilter2.js: replace js urls by onlick attributes
IE trigger onbeforeunload when cliking on a link with a javascript:
scheme in the URL; it breaks askdirtyform.js.
2013-10-08 13:53:00 +02:00
Benjamin Dauvergne 6b14e1bea4 docbow: use time from trusted timestamps, if available, to timestamp the documents
This commit absolutely requires python-rfc3161 0.1.7, in consequence
requirements.txt was updated.
2013-10-08 12:31:13 +02:00
Benjamin Dauvergne 52ee7f35d9 filter-widget/SelectBox.js: work around missing method Array.indexOf in IE8 2013-10-08 12:30:24 +02:00
Benjamin Dauvergne 4981807201 askdirtyform.js: fix bug in IE which does not like window.onbeforeunload to be set to undefined 2013-10-08 12:29:44 +02:00
Benjamin Dauvergne 3f29d11417 docbow/tests: fix use of assertQuerysetEqual in test_document_accessors 2013-10-07 01:19:14 +02:00
Benjamin Dauvergne f7d7ff5ef3 templates,tables: install and configure refresh.js, fixes #3704 2013-10-03 17:17:50 +02:00
Benjamin Dauvergne 0e9570e41d docbow: add more tests on models methods 2013-10-03 16:47:08 +02:00
Benjamin Dauvergne e0ca0638ce models: fix Document.delivered_to 2013-10-03 16:47:08 +02:00
Frédéric Péters d464db3b47 update and sync django required version number to allow all of 1.5.* 2013-10-02 23:22:36 +02:00
Frédéric Péters b01bf14743 update requirements to match django version from setup.py 2013-10-02 23:19:58 +02:00
Benjamin Dauvergne 0c49c9264a pfwb/sendmail: if name does not end with .pdf add it, fixes #3688 2013-09-30 10:08:48 +02:00
Frédéric Péters a661adf0e3 allow longer filenames 2013-09-27 10:02:02 +02:00
Benjamin Dauvergne 22515225ee models: in Document.post() only notify active users, fixes #3650 2013-09-23 16:50:09 +02:00
Frédéric Péters 6cedb59f4b only disable persons that were deputies or ministers (#3649) 2013-09-23 16:46:04 +02:00
Benjamin Dauvergne ebaa4514fb tools: make postfix_filter.sh use directly the init script 2013-09-20 11:14:01 +02:00
Benjamin Dauvergne dbbb34253f profile_views: do not forget to save the password in PasswordChangeView, fixes #3643 2013-09-20 11:13:10 +02:00
Benjamin Dauvergne 2873db4bb4 docbow.init: fix typo 2013-09-20 10:06:29 +02:00
Benjamin Dauvergne 9bb9a8f3bf docbow.init: make it usable by the docbow user 2013-09-20 10:04:33 +02:00
Benjamin Dauvergne 0b1fc6132f docbow.init: use "$@" not just $@ to pass arguments 2013-09-20 10:02:35 +02:00
Benjamin Dauvergne da22854c55 pfwb: only use the username of the email address in the sendmail command 2013-09-20 09:59:21 +02:00
Pierre Cros d81b822ca9 doc mise à jour avec modifs Gaëtan 2013-09-18 17:56:44 +02:00
Pierre Cros fa39600d98 ajout page notification à la doc 2013-09-18 17:56:44 +02:00
Pierre Cros 4eed01bb2d modifs doc demandées par Gaëtan 2013-09-18 17:56:44 +02:00
Benjamin Dauvergne 040702687d locale: change fr translation for the notification reception checkbox 2013-09-18 14:35:29 +02:00
Benjamin Dauvergne 9325a57b36 add missing migration for field accept_notifications 2013-09-18 11:18:02 +02:00
Benjamin Dauvergne f68d46a94a views: adapt su() view to work with guest delegates 2013-09-17 21:48:56 +02:00
Benjamin Dauvergne 6ded756009 provile_views: hide delegation section for guest delegates, fixes #3634 2013-09-17 21:40:21 +02:00
Benjamin Dauvergne c26751db6b models: do not aggregate delegate recursively when computing the set of users to notify about a document 2013-09-17 21:27:14 +02:00
Benjamin Dauvergne b72fd7cd0a models add field DocbowProfile.accept_notifications to allow user to block notifications, fixes #3635 2013-09-17 21:23:45 +02:00
Benjamin Dauvergne a208f055ed models: augment NotificationManager.notify() to also notify delegates recursively, fixes #3635 2013-09-17 21:07:36 +02:00
Benjamin Dauvergne c37a4e933a views: the profile view must be accessed as the delegate and not as the delegatee, fixes #3634 2013-09-17 20:53:57 +02:00
Benjamin Dauvergne 454a2b1ae3 views: use delegation list to compute recipient limitations, fixes #3633 2013-09-17 20:53:20 +02:00
Benjamin Dauvergne 2de2128b0c views: add recursive list members when computing list limitations 2013-09-17 17:52:20 +02:00
Benjamin Dauvergne 55422f752d views: only show the forwarding form if user limitations allows it to send the document filetype, fixes #3625 2013-09-16 19:16:24 +02:00
Benjamin Dauvergne aeba55812b forms: send mobile phone verification code synchronously 2013-09-14 02:16:40 +02:00
Benjamin Dauvergne a9e6f99de5 template: add query string to export URLs only if there is currently one 2013-09-13 18:54:17 +02:00
Benjamin Dauvergne 76337ddad6 docbow: add new ODS export view for inbox and outbox
This commit includes code copied from w.c.s.

fixes #3621
2013-09-13 18:44:56 +02:00