Commit Graph

449 Commits

Author SHA1 Message Date
Benjamin Dauvergne 55e17ac3fc When applying an automatic forwarding rule, select the new sender among the original recipients who matched the rule 2011-11-23 10:29:37 +01:00
Benjamin Dauvergne fcdb9660b7 extend request timeout to 3 hours 2011-11-18 17:03:18 +01:00
Benjamin Dauvergne 60fd163246 add the shell script to call the postfix filter 2011-11-18 13:57:08 +01:00
Benjamin Dauvergne 345a0dfe5a [view] when forwarding mark original document as read for any user which has forwarding power
We get the list of users with forwarding power and lookup all their
mailboxes for the original document, then mark it read.
2011-11-17 16:19:25 +01:00
Benjamin Dauvergne ce9d26580e [grappeli] always show the original message in the admin object history view 2011-11-16 22:16:32 +01:00
Benjamin Dauvergne a996551378 configure the default email notification of exception mails 2011-11-15 18:18:26 +01:00
Benjamin Dauvergne c808eec24f [docbow] re-import signals module in the admin module, fix commit b9457856 2011-10-23 22:29:56 +02:00
Benjamin Dauvergne 95bd69bacc Merge branch 'master' into dev 2011-10-18 21:26:59 +02:00
Benjamin Dauvergne deb521506b Do not check ManyToMany field in a model field
Such checks must be done in a ModelForm clean() method as ManyToMany
field cannot be manipulated on an as-yet-to-be-saved object.
2011-10-18 12:29:18 +02:00
Benjamin Dauvergne 3a1d8fea08 update french translations 2011-10-18 00:58:47 +02:00
Benjamin Dauvergne 05af0efe2f remove debugging statements 2011-10-18 00:58:30 +02:00
Benjamin Dauvergne 7ab4c1c21e use special select widget for new field 2011-10-18 00:58:14 +02:00
Benjamin Dauvergne b3819cc0ce Send traceback to admin@entrouvert.com 2011-10-17 17:22:49 +02:00
Benjamin Dauvergne efaaaefd29 [automatic forwarding] add one more selecting field: originaly_to_user
* Document now needs at least one of their recipient to match the
   AutomaticForwarding.originaly_to_user field which references a list
   of users for an AutomaticForwarding rule to be applied.
2011-10-16 09:59:56 +02:00
Benjamin Dauvergne b945785684 do some cleaning 2011-10-16 09:54:55 +02:00
Benjamin Dauvergne ab854501ab fix base_url computation (bis) 2011-10-10 15:16:44 +02:00
Benjamin Dauvergne 86a1830e30 fix base_url computation 2011-10-10 15:12:41 +02:00
Benjamin Dauvergne 5523d772c2 complete the makefile with needed management commandś when updateing 2011-10-10 14:59:56 +02:00
Benjamin Dauvergne 764b894f8a Allow forwarding to Greffe, member of Greffe list, and to members of Administrateurs group 2011-10-10 11:29:30 +02:00
Benjamin Dauvergne 426cd570c7 Restore destination limitations, only activate forwarding for the Greffe account 2011-10-10 10:22:12 +02:00
Benjamin Dauvergne fbf3426ae0 set the sender for automatically forwarded message to Greffe in production settings 2011-10-07 16:11:11 +02:00
Benjamin Dauvergne 72bd2b8e3d make the link in the listing extend to the full block size 2011-10-07 16:10:35 +02:00
Benjamin Dauvergne 71ed7049d3 fix display of the trashcan icon when the Document.comment field is empty (bis) 2011-10-06 23:08:47 +02:00
Benjamin Dauvergne 2ea55d9104 factorize some queryset filtering from inbox() and outbox() inside the listing() view 2011-10-06 23:08:15 +02:00
Benjamin Dauvergne 255f347dd3 fix trashcan rowspan when a document has an empty comment field 2011-10-06 21:49:57 +02:00
Benjamin Dauvergne 2d494c04d4 fix cycling of row colors in listing template 2011-10-06 21:42:41 +02:00
Benjamin Dauvergne eb2cc6f7d0 Update french translations 2011-10-06 17:17:13 +02:00
Benjamin Dauvergne 842c3f1030 Show automatic status of forwarding in the listing page 2011-10-06 17:07:32 +02:00
Benjamin Dauvergne 8e47960b53 Implement logic of automatic forwarding
All exceptions are logged then ignored so that normal sending is never blocked by a problem inside
2011-10-06 17:07:32 +02:00
Benjamin Dauvergne f24eae5464 in views.forward_document remove all use of request
As request is no more passed to forward_document
any use of request must be moved to the caller.
2011-10-06 17:07:32 +02:00
Benjamin Dauvergne 8bac8c3f17 move automatic field from AutomaticForwarding to DocumentForwarded models 2011-10-06 17:07:32 +02:00
Benjamin Dauvergne 9a7b90a956 Remove the request argument to forward_document, explicitely pass the sender and logger objects 2011-10-06 17:07:31 +02:00
Benjamin Dauvergne b71d173c90 add 'automatic' optional argument to the forward_docucment function
This function will be reused for the automatic forwarding feature.
2011-10-06 17:07:31 +02:00
Benjamin Dauvergne 09518a133e add a flag to differ automatic from manual forwarding 2011-10-06 17:07:31 +02:00
Benjamin Dauvergne b433d2bc30 factorize extraction of to_list and to_user recipients from Forwarding form 2011-10-06 17:07:31 +02:00
Benjamin Dauvergne cc0e6e4988 remove the AutomaticForwarding.from_list field from the AdminModel settings 2011-10-06 17:07:31 +02:00
Benjamin Dauvergne 0c8d8b5d34 Fix __unicode__ method of the AutomaticForwarding object (due to suppression of the from_list field) 2011-10-06 17:07:31 +02:00
Benjamin Dauvergne 252b8abcb6 remove AutomaticForwarding.from_list field 2011-10-06 17:06:33 +02:00
Benjamin Dauvergne ed6a07e49b plug AutomaticForwarding model in the admin interface 2011-10-04 10:08:52 +02:00
Benjamin Dauvergne 4dd07c3098 add a model object to store forwarding rules 2011-10-04 08:31:20 +02:00
Benjamin Dauvergne 2920974c6a add 1em margin above the forwarding frame 2011-10-04 03:30:56 +02:00
Benjamin Dauvergne 2aff9f7177 remove javascript hiding of the forwarding form 2011-10-04 03:26:21 +02:00
Benjamin Dauvergne e9b451db46 show the forwarding form 2011-10-04 03:25:12 +02:00
Benjamin Dauvergne adefcd5614 do not show the forwarded to header if it is empty 2011-10-04 03:23:48 +02:00
Benjamin Dauvergne 7ef54f9c4d show forwarding status of documents, implement forwarding post handler 2011-10-04 03:17:11 +02:00
Benjamin Dauvergne 34cd198af6 supress border-spacing in main listings, color comment rows same as header rows 2011-10-03 23:14:31 +02:00
Benjamin Dauvergne f0042f84f9 add decorator to cache views results inside the session 2011-10-03 17:55:13 +02:00
Benjamin Dauvergne ce0320d122 Merge branch 'master' into dev
Conflicts:
	docbow_project/docbow/forms.py
	docbow_project/docbow/static/css/send-file.css
	docbow_project/settings/main.py
2011-10-03 17:11:13 +02:00
Benjamin Dauvergne 8f0d13f24b load a configuration file from /etc/gunicorn 2011-10-03 16:55:47 +02:00
Benjamin Dauvergne bd3f51768c change logging settings, do not log 404 warning to the db logger 2011-10-03 10:31:25 +02:00