Commit Graph

1004 Commits

Author SHA1 Message Date
Benjamin Dauvergne bf17544e29 wip 2013-11-29 18:16:40 +01:00
Benjamin Dauvergne a0ba27a129 clean unused imports 2013-11-29 10:24:47 +01:00
Benjamin Dauvergne a2e2887bf2 views,models: simplify code computing transitive closure of MailingList models 2013-11-29 10:23:41 +01:00
Benjamin Dauvergne a87ab42812 views: remove all uses of LoggerAdapter 2013-11-29 10:22:48 +01:00
Benjamin Dauvergne 4704690c5a tests: inbox_by_document changed its behaviour since inbox-message now use documents ids 2013-11-26 11:09:14 +01:00
Benjamin Dauvergne e786499a1e views: inbox_by_document must redirect to inbox-message not inbox
fix bug introduced in 75ea414334
2013-11-26 11:01:27 +01:00
Benjamin Dauvergne 6dde756176 style.css: remove position: absolute on download-buttons
fixes #3813
2013-11-26 10:57:13 +01:00
Benjamin Dauvergne 8c9ee047b2 templates: clear floats before displaying the forwarding forms
fixes #3813
2013-11-26 10:54:57 +01:00
Benjamin Dauvergne 6eaf66c098 views: in su() clear the related_users cache when changing user 2013-11-26 10:45:00 +01:00
Benjamin Dauvergne 57e629d339 migrations: in migration 35 use foreignkey id instead of objects 2013-11-26 10:40:58 +01:00
Benjamin Dauvergne cf615c7fac migrations: fix migration 35 2013-11-26 10:40:13 +01:00
Benjamin Dauvergne b9e73fb26e style.css: adjust date column width 2013-11-26 10:38:21 +01:00
Benjamin Dauvergne 75ea414334 use documents instead of mailboxes in views 2013-11-26 10:38:21 +01:00
Benjamin Dauvergne af28eb63f3 models: fix bug in username() when first_name and last_name are not both defined 2013-11-26 10:38:21 +01:00
Benjamin Dauvergne 9a94816476 raise requirement on python-entrouvert 2013-11-26 10:38:20 +01:00
Benjamin Dauvergne bdc61cc169 views: add a get_related_users function to get and cache user linked to the current session 2013-11-26 10:38:20 +01:00
Benjamin Dauvergne 9cd7d79131 add deletion of DeletedDocument objects to the undelete-all command 2013-11-26 10:38:20 +01:00
Benjamin Dauvergne 5c979fb5a7 migrations: provision new model DeletedDocument from Mailbox.deleted field 2013-11-26 10:38:20 +01:00
Benjamin Dauvergne 3133e0ab8e models: new model DeletedDocument 2013-11-26 10:38:20 +01:00
Benjamin Dauvergne 05b9aab7e0 tables: remove the official_recipient table column from the InboxTable
also update translations

refs #3941
2013-11-26 10:38:01 +01:00
Benjamin Dauvergne b6f537c7db jenkins.sh: do not ignore errors 2013-11-20 08:50:51 +01:00
Benjamin Dauvergne 0e10b59fd6 remove debuging statement 2013-11-15 12:29:08 +01:00
Benjamin Dauvergne c884fb8dc8 docbow: username should return user.username when first_name and last_name are both empty
fix bug introduced in f25be11
2013-11-15 12:02:55 +01:00
Benjamin Dauvergne f25be1102f views: fix typo 2013-11-15 11:24:27 +01:00
Benjamin Dauvergne b5928dc7cd pfwb/sendmail: add support for recipients like liste-listes-des-parlementaires@ to send documents to mailing lists
fixes #3959
2013-11-15 11:05:23 +01:00
Benjamin Dauvergne 12fd8cedb4 pfwb/sendmail: clean unused imports 2013-11-15 10:43:50 +01:00
Benjamin Dauvergne 3f16165a42 tables: recipients column cannot be ordered
fixes #3971
2013-11-15 10:41:50 +01:00
Benjamin Dauvergne a3b8fa44ea view: factorize common code in inbox_by_document, outbox_by_document
fixes #3947
2013-11-15 10:36:53 +01:00
Benjamin Dauvergne 5b9105af21 docbow.init: preserve environment when using sudo 2013-11-06 12:47:29 +01:00
Benjamin Dauvergne 667fe6159e settings: add sentry support 2013-11-06 11:59:18 +01:00
Benjamin Dauvergne 6b281270d0 docbow: add missing fedict certificate 2013-11-04 10:28:54 +01:00
Benjamin Dauvergne aa8ceb207b timestamp: add new timestamp provider fedict 2013-10-31 11:52:02 +01:00
Benjamin Dauvergne 060d7cc175 models: urse urlparse.urljoin to build document urls 2013-10-29 15:51:52 +01:00
Benjamin Dauvergne 96d482f48c tests: add test around delegation, first with the *_by_document improvement for multiple delegates
refs #3886
2013-10-29 11:47:52 +01:00
Benjamin Dauvergne 33539b7e4e tests: build a base class to common setUp() operations 2013-10-29 11:47:52 +01:00
Benjamin Dauvergne 2be8998ab1 views: in the *_by_document view, redirect to the first owned mailbox if multiple one are returned or the first no owned mailbox is returned
fixes #3886
2013-10-29 11:47:52 +01:00
Frédéric Péters 60ca929d79 style: update "new message" icon with a darker version (#3899) 2013-10-28 14:35:09 +01:00
Benjamin Dauvergne 5da9a6a7ec pfwb/sendmail: truncate filename coming from expedition at 230 characters
fixes #3870
2013-10-24 11:04:13 +02:00
Benjamin Dauvergne 705a01268f settings: import SECRET_KEY from environment 2013-10-22 12:10:17 +02:00
Benjamin Dauvergne 420d644a2a docbow-ctl: set a SECRET_KEY when launching tests 2013-10-22 11:59:35 +02:00
Benjamin Dauvergne 8a5ac231c2 docbow-ctl: do not always activate the debug log, it breaks the sendmail command 2013-10-22 11:40:08 +02:00
Benjamin Dauvergne e6dcdeb9e9 requirements.txt: rfc3161 release 0.1.8 is bugged, bump requirement to 0.1.9 2013-10-22 11:34:57 +02:00
Benjamin Dauvergne 861b8bca14 start a new application for the pw 2013-10-22 11:33:28 +02:00
Benjamin Dauvergne 3c327e8369 requirements.txt: bump needed version of python-rfc3161 to 0.1.8 2013-10-18 10:58:13 +02:00
Benjamin Dauvergne 1c38b5ff45 signals: do not log modification to model done by code and not an user 2013-10-18 10:57:07 +02:00
Benjamin Dauvergne e68a56f6f2 settings: set an explicit logger to disable the console logger automatically installed by Django 2013-10-18 10:56:37 +02:00
Benjamin Dauvergne d9854f9b96 signals: do not log non user-initiated modifications to models 2013-10-18 10:34:40 +02:00
Benjamin Dauvergne 4ebbcb794e docbow: add a new timestamping provider 2013-10-17 23:02:24 +02:00
Benjamin Dauvergne 658e6bad31 models: fix ordering of User models
fixes #3712
2013-10-17 15:35:22 +02:00
Benjamin Dauvergne 8b13a688cd docbow: log at warning level when unable to timestamp 2013-10-16 18:54:20 +02:00