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
Benjamin Dauvergne
a478e646d4
push internal server error to the docbow logging domain
2011-09-30 02:54:58 +02:00
Benjamin Dauvergne
edac470cd4
forbid attached files with too long names, word-wrap filename in the upload file box
2011-09-30 02:02:51 +02:00
Benjamin Dauvergne
d9247c6fa6
add some styling to the forwarding form, add js to hide by default
2011-09-29 11:08:12 +02:00
Benjamin Dauvergne
0d7a831829
add a new model DocumentForwarded to store the forwarding status of documents
2011-09-27 19:00:34 +02:00
Benjamin Dauvergne
a21d612fe7
prefer rsync the virtualenv instead running pip by ssh
2011-09-26 12:00:59 +02:00
Benjamin Dauvergne
1da33c620f
fix minimal Django version to 1.3.1
2011-09-26 11:50:54 +02:00
Benjamin Dauvergne
d1f1f3b41e
add Makefile to handle update of source code on production servers
2011-09-26 11:33:30 +02:00
Benjamin Dauvergne
d0c46b80d0
use the format() method in the emit() method of LogToDbHandler class
2011-09-26 10:09:41 +02:00
Benjamin Dauvergne
c6667283d6
import signals module in the admin module
2011-09-26 10:09:13 +02:00
Benjamin Dauvergne
c9c3c8be39
Merge commit 'f38e2864686380889e564dac2402c54d28204c13' into dev
2011-09-23 15:40:59 +02:00