Commit Graph

922 Commits

Author SHA1 Message Date
Benjamin Dauvergne 7bd6e4f0f6 js: show confirmation dialog when leaving a completed form without saving, fixes #2347 2013-02-19 17:31:21 +01:00
Benjamin Dauvergne e2f788ed67 templates: in the new delegation message, do not try to follow relation as the user can already have been deleted 2013-02-19 15:45:37 +01:00
Benjamin Dauvergne e79d99d48b replace plateforme by plate-forme everywhere 2013-02-19 15:40:33 +01:00
Benjamin Dauvergne 64c4b3fea1 templates: complete mail subject with origin indication 2013-02-19 15:39:48 +01:00
Benjamin Dauvergne 1bd8160c60 templates: use short organization name in sms template if possible 2013-02-19 15:33:38 +01:00
Benjamin Dauvergne 142be78892 locale: fix wrong variable name in translated message 2013-02-19 15:26:40 +01:00
Benjamin Dauvergne f4c05dd8d6 templates: add missing endautoescape tag 2013-02-19 10:17:03 +01:00
Benjamin Dauvergne 4f14353a20 add an example for local_settings.py 2013-02-19 10:13:46 +01:00
Benjamin Dauvergne 147ba89c8f admin: improve user listing
- add flag for guest accounts
 - add list of delegations received
2013-02-11 13:18:56 +01:00
Benjamin Dauvergne 01cbe9d7db forms: queryset shown in the user field of the delegation is stale, fix #2494 2013-02-11 13:16:35 +01:00
Benjamin Dauvergne d947d8e88a templates: improve templates notification of delegation deletion, refs #2493 2013-02-11 13:00:03 +01:00
Benjamin Dauvergne 9efab4e707 static: add missing js files, refresh.js 2013-02-11 12:59:21 +01:00
Benjamin Dauvergne f72ded2eea views: fix message for new guest delegates, refs #2424 2013-02-07 17:19:03 +01:00
Benjamin Dauvergne d4738c5805 views: do not show empty lists on the mailing lists page 2008-02-03 00:07:23 +01:00
Benjamin Dauvergne 22f75e68b1 style: collapse border of delegation table 2013-02-05 14:17:08 +01:00
Benjamin Dauvergne 86428d1961 views: do not let browsers cache page for logged in users, fixes #2421 2013-02-05 13:54:14 +01:00
Benjamin Dauvergne fe1ee463f0 change module name for decorators 2013-02-05 13:54:01 +01:00
Benjamin Dauvergne db36448b1f settings: use a less real default from email 2013-01-31 23:20:10 +01:00
Benjamin Dauvergne 704788d513 Makefile: exclude south when creating a dump of the database 2013-01-31 23:19:23 +01:00
Benjamin Dauvergne 8cad7fa0ec README: add a section on template customization 2013-01-31 23:17:24 +01:00
Benjamin Dauvergne 38d6d77398 settings: add /var/lib/docbow/templates/ as a place to overload default templates 2013-01-31 23:13:55 +01:00
Benjamin Dauvergne 6359b7a70e add /var/lib/docbow/extra_static/ as a place to hold extra static files 2013-01-31 23:13:14 +01:00
Benjamin Dauvergne 6729d6de99 README: add a settings section 2013-01-31 23:13:11 +01:00
Benjamin Dauvergne d5c9a368d9 commands: add new commands to administrate list and users from the command line 2013-01-31 23:05:00 +01:00
Benjamin Dauvergne 0dbe93f296 models/template: improve all email notifications templates
settings was already passed to notification templates, use it to get to
the ORGANIZATION variable.

New file to hold the signature of the platform were added.
2013-01-31 22:58:48 +01:00
Benjamin Dauvergne db1ec038dd templates: improve new delegation templates, fixes #2424 2013-01-31 22:36:14 +01:00
Benjamin Dauvergne b63bc95fff remove grappelli templates 2013-01-31 16:58:06 +01:00
Benjamin Dauvergne 21ce921301 models/templates: add an organization variable to the new-document notifications templates, fixes # 2013-01-31 16:56:50 +01:00
Benjamin Dauvergne 9bf7e704ca models: do not fail on timestamping errors, just log them 2013-01-31 15:34:51 +01:00
Benjamin Dauvergne 42d6d62bbc timestamp: convert all internal exceptions to TimestampingError 2013-01-31 15:31:51 +01:00
Benjamin Dauvergne 562f0d6ac3 change profile menu french translation, fixes #2439 2013-01-31 15:31:05 +01:00
Benjamin Dauvergne 8cca8e5fd9 forms: in FileForm, fix error when sender field is removed 2013-01-30 21:01:18 +01:00
Benjamin Dauvergne d2ad9b7052 forms: update translation of the Enter SMS code message, fixes #2414
Also move the initialization of the crispy form layout for the profile
form as it is modified by the clean_mobile_phone() method.
2013-01-30 14:13:28 +01:00
Benjamin Dauvergne b61847abe4 forms: in ProfileForm give a placement to the sms code field, fixes #2415 2013-01-30 14:02:26 +01:00
Benjamin Dauvergne 24228a4d56 models/forms: validate formatting of the mobile phone, fixes #2413 2013-01-30 14:01:38 +01:00
Benjamin Dauvergne ce31f38d7d views: when creating a delegate from an existing email extract notification emails from the user not the form, fixes #2417 2013-01-30 01:00:43 +01:00
Benjamin Dauvergne 5ff132e192 remove debugging statements 2013-01-28 21:51:50 +01:00
Benjamin Dauvergne 4a3e43d589 models: replace Delegation.guest_delegate by an attribute on DocbowProfile named is_guest 2013-01-28 01:49:50 +01:00
Benjamin Dauvergne 737d726205 views: remove all user of transaction.commit_on_success
We use the Transaction middleware now.
2013-01-23 19:31:39 +01:00
Benjamin Dauvergne ed2eb7e7d3 forms,models: add guest_users() and non_guest_users() methods
use them when needing to list guest and non guest users.
2013-01-23 19:31:14 +01:00
Benjamin Dauvergne 01c1e2bf88 views: remove debugging statement 2013-01-23 18:02:43 +01:00
Benjamin Dauvergne a3efef8dbd admin: using horizontal selector widget for mailing list members of mailing lists 2013-01-18 16:20:14 +01:00
Benjamin Dauvergne cdbda4981d templates: fix title in admin template 2013-01-18 15:09:31 +01:00
Benjamin Dauvergne 4b0da894e3 templates: add template for adding link to homepage from admin
fixes #2386
2013-01-18 15:07:21 +01:00
Benjamin Dauvergne a5441e09e2 models: record to which list user belong when posting 2013-01-18 14:50:17 +01:00
Benjamin Dauvergne f9ab1bcf6c views: override the user argument in request.record, when logging delegate actions 2013-01-18 14:24:17 +01:00
Benjamin Dauvergne 40fa0c568f views: prevent testing for empty sender to raise DoesNotExist exception 2013-01-18 13:51:35 +01:00
Benjamin Dauvergne e495a62ff0 commands: add a sendfile command 2013-01-18 10:09:04 +01:00
Benjamin Dauvergne c6fe18e331 templates: show last connection even for non guest accounts (potential security problem) 2013-01-18 10:09:04 +01:00
Benjamin Dauvergne dddb29c1a0 views: enable forwarding for everybody 2013-01-17 19:05:50 +01:00