Commit Graph

922 Commits

Author SHA1 Message Date
Pierre Cros 8018f0910a Modifications to have one only doc for pw and pfwb 2014-05-26 10:33:29 +02:00
Pierre Cros 404c288d8f Logo removed from captures 2014-05-23 07:51:09 +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
Benjamin Dauvergne f659d02f99 utils: only take the most used extension for each mime-type 2013-09-13 11:56:22 +02:00
Benjamin Dauvergne 90ab28a292 forms: when creating delegation for existing users, emit errors, fixes #3570
- if the email is one of an existing simple delegation refuse to create
	 it,
 - if the email belong to existing normal users, list them and tell user
	 that it must use the combo box listing existing users,
 - if the email belong to the current user, tell him he cannot delegate
	 to himself.
2013-09-12 18:47:51 +02:00
Benjamin Dauvergne b8d207d037 views: remove repeating users in user recipients form fields when sending limitations are enforced, fixes #3572 2013-09-12 11:28:55 +02:00
Benjamin Dauvergne 739baa6388 forms: use threadind package for sending SMS in background thread, log exceptions 2013-09-12 10:35:32 +02:00
Benjamin Dauvergne 359f099e53 sms_carrier_ovh: restore import urllib 2013-09-11 18:51:34 +02:00
Benjamin Dauvergne 60730b8306 locale: fix typo
fixes #3597
2013-09-11 17:36:47 +02:00
Frédéric Péters 77b0cc9789 sync-from-tabellio: alter types to always start with a capital (#3592) 2013-09-11 17:11:55 +02:00
Benjamin Dauvergne 3fe8f31aa9 utils: read full file when trying do detect mime-type 2013-09-11 16:46:46 +02:00
Benjamin Dauvergne 628a1d01ec utils: read at least 10000 bytes from file for detecting content type 2013-09-11 16:44:49 +02:00
Benjamin Dauvergne abee690dcc sms_carrier_ovh: use urllib2 which correctly handle https proxies 2013-09-11 16:04:24 +02:00
Benjamin Dauvergne a997886429 docbow: add minimum number of files limitation to FileTypeAttachedFileKind model
fixes #3588
2013-09-11 13:29:05 +02:00
Benjamin Dauvergne c725f50c81 views: pass the delegate user as user to the send file form when a guest delegate is sending
fixes #3590
2013-09-11 12:59:11 +02:00
Benjamin Dauvergne 2389b49ca9 tables,locale: explicitely declare the string "self" for translation and restore its translation
ref #3590
2013-09-11 12:29:48 +02:00
Benjamin Dauvergne 78ac477e6e models,views: compute limitations by unioning with limitations from delegators
Only if the delegate had no limitation before the delegation, then no
limitation is applied to him.

fixes #3587
2013-09-11 12:22:28 +02:00
Benjamin Dauvergne 0bc9c7e93c models: change regexp to authorize dots in mime-types
refs #3589
2013-09-11 12:22:28 +02:00
Frédéric Péters b01a1e0539 add a real description for init script 2013-09-11 10:23:02 +02:00
Benjamin Dauvergne 7cf9c2dcdf views: when computing user list after limitations, ignore inactive users 2013-09-10 19:37:41 +02:00
Benjamin Dauvergne ac2323b857 forms: do not clobber the user_qs keyword argument
fixes #3572
2013-09-10 19:37:41 +02:00
Frédéric Péters c365f1a6aa sync-tabellio: sync document types (#3544) 2013-09-10 16:55:06 +02:00
Frédéric Péters 696054321b move sync-tabellio to the pfwb application 2013-09-10 09:46:14 +02:00
Frédéric Péters 4d7c688459 doc: document tabellio synchronisation settings 2013-09-10 09:45:20 +02:00
Frédéric Péters bfae035913 doc: fix underlining length 2013-09-10 09:42:25 +02:00
Frédéric Péters 03a7b1415f sync-tabellio: add a bunch of comments 2013-09-10 09:41:00 +02:00
Frédéric Péters 89a8a7e9d7 sync-tabellio: comment translation 2013-09-10 09:41:00 +02:00
Benjamin Dauvergne cecd8c30d3 pfwb: overload docbow command sendmail()
This command handle specificities about the handling of incoming emails
at the PFWB. It uses six new special application settings.

The loading order of the pfwb application was changed as you can only
overload a command from a previously loaded application.

ref #3542
2013-09-09 22:50:23 +02:00
Benjamin Dauvergne ff43bcdf8b models: use app_settings.BASE_URL instead of setting.DOCBOW_BASE_URL 2013-09-09 18:00:53 +02:00
Benjamin Dauvergne a61dc44c24 docbow: fix typo error in import path in the sendmail command 2013-09-09 18:00:42 +02:00
Benjamin Dauvergne 9f9df45b43 settings: remove duplicate entry 2013-09-09 16:24:24 +02:00
Frédéric Péters c6bd9f7735 sync-tabellio: create and sync mailing lists for political groups (#3545) 2013-09-09 13:16:39 +02:00
Frédéric Péters ddadfa65a7 settings: remove duplicated DOCBOW_BASE_URL 2013-09-09 13:06:56 +02:00
Benjamin Dauvergne 8ec434ed24 settings: define default BASE_URL for the PFWB 2013-09-09 11:22:26 +02:00