Benjamin Dauvergne
|
b0e7b88e69
|
views: make get_related_users always return a QuerySet
|
2014-01-16 09:19:16 +01:00 |
Benjamin Dauvergne
|
1afa257ee9
|
forms,fields: on new document form order sender list box content
|
2014-01-16 09:12:02 +01:00 |
Benjamin Dauvergne
|
2b430a74f9
|
improve documentation
|
2014-01-16 09:09:32 +01:00 |
Benjamin Dauvergne
|
d7bd50f822
|
views,templatetags: use new optimized SQL queries
|
2014-01-16 09:09:07 +01:00 |
Benjamin Dauvergne
|
0ac341ef45
|
views: do not store User objects in the session to comply with Django 1.6 new default JSON session serializer
|
2014-01-16 09:08:38 +01:00 |
Benjamin Dauvergne
|
143399e47f
|
sql: new module for storing optimized SQL queries
|
2014-01-16 09:02:43 +01:00 |
Benjamin Dauvergne
|
5197eb7aef
|
views: order delegators by theyr last_name, first_name then username
fixes #4221
|
2014-01-15 14:27:10 +01:00 |
Benjamin Dauvergne
|
a2cde1066e
|
models,tables: use full name for the sender column
fixes #4222
|
2014-01-15 14:23:13 +01:00 |
Benjamin Dauvergne
|
788a3fe536
|
forms: order sender in the sender list box
fixes #4221
|
2014-01-15 14:20:35 +01:00 |
Benjamin Dauvergne
|
2483aaf31e
|
views,tables: restore the seen column on inbox view
|
2014-01-15 12:59:41 +01:00 |
Benjamin Dauvergne
|
d0b197ac7b
|
static: highlight rows when hovering on mailbox table
fixes #4062
|
2014-01-14 14:57:05 +01:00 |
Benjamin Dauvergne
|
15b4c93fe1
|
views: fix misuse of get_or_create()
|
2014-01-13 16:10:33 +01:00 |
Benjamin Dauvergne
|
ffed6751ff
|
pfwb: in archive2 command use natural keys when dumping attached files
It preserves attached file kind name instead of the numeric id.
|
2014-01-06 17:01:11 +01:00 |
Benjamin Dauvergne
|
6283a9ddc3
|
pfwb: translate README file into french, add section on archiving
|
2014-01-06 16:41:30 +01:00 |
Benjamin Dauvergne
|
6d93475c28
|
pfwb: move archive2 command into the pfwb application
|
2014-01-06 16:41:25 +01:00 |
Benjamin Dauvergne
|
ceafa8d5ef
|
pfwb: add more docstrings and comments
|
2014-01-06 15:53:42 +01:00 |
Benjamin Dauvergne
|
226337c7fb
|
pfwb/tests: remove test on undecodable as I don't know how to make it pass
|
2013-12-20 01:37:51 +01:00 |
Benjamin Dauvergne
|
496ac48bed
|
pfwb: in sendmail log repr(subject) as it could be non ascii
|
2013-12-20 01:35:49 +01:00 |
Benjamin Dauvergne
|
d3648dd079
|
pfwb/sendmail: improve report when failing to retrieve the document from the tabellio server
|
2013-12-20 01:35:24 +01:00 |
Benjamin Dauvergne
|
b8d7293d31
|
pfwb: add more tests
|
2013-12-20 01:34:47 +01:00 |
Benjamin Dauvergne
|
472c8fb004
|
settings: do not overwirte the DEBUG_TOOLBAR_CONFIG setting
|
2013-12-18 15:48:14 +01:00 |
Benjamin Dauvergne
|
9c7f844da5
|
tests: ignore ordering when comparing user list
|
2013-12-18 15:12:19 +01:00 |
Benjamin Dauvergne
|
6cc62362f9
|
pfwb/migrations: add dependency on first docbow migration
|
2013-12-18 15:11:30 +01:00 |
Benjamin Dauvergne
|
5caacd78ed
|
django.conf.urls.defaults is deprecated
|
2013-12-18 10:01:07 +01:00 |
Benjamin Dauvergne
|
3c1d4072a8
|
benchmark: output result to JSON
|
2013-12-18 09:33:55 +01:00 |
Benjamin Dauvergne
|
f588355118
|
templatetags: update unseen documents counting in the menu template tag
|
2013-12-17 10:32:43 +01:00 |
Benjamin Dauvergne
|
d0f3b6c031
|
views: create seen document objects when downloading an attached file
|
2013-12-17 10:32:43 +01:00 |
Benjamin Dauvergne
|
f830fe2e0a
|
models: use prefetched mailboxes in Document.related_users()
|
2013-12-17 10:32:43 +01:00 |
Benjamin Dauvergne
|
b103476067
|
models: add SeenDocument model
|
2013-12-17 10:32:43 +01:00 |
Benjamin Dauvergne
|
b88eec536b
|
models: add index on Mailbox.outbox field
|
2013-12-17 10:06:13 +01:00 |
Benjamin Dauvergne
|
2180131b29
|
templatetags: use get_documents() to compute count of visible documents
|
2013-12-17 09:52:44 +01:00 |
Benjamin Dauvergne
|
1f3cce5b86
|
views: factorize code to compute visible documents into function get_documents()
|
2013-12-17 09:52:07 +01:00 |
Benjamin Dauvergne
|
12eb4f5447
|
settings: activate cached template loader when DEBUG is False
It shaves 10ms from the mean view rendering time.
refs #4124
|
2013-12-16 17:23:19 +01:00 |
Benjamin Dauvergne
|
5178015576
|
benchmark: measure rendering time for main views and all users
Selected views are inbox, outbox and send_file.
Current measures indicate a rendering mean time of around 50 ms for all
views.
fixes #4124
|
2013-12-16 16:28:13 +01:00 |
Benjamin Dauvergne
|
0375da771f
|
migrations: fix typo in migration 35
|
2013-12-16 15:17:10 +01:00 |
Benjamin Dauvergne
|
3bc598a9d4
|
tables: fix ordering directives to remove the Mailbox level
|
2013-12-16 15:17:10 +01:00 |
Benjamin Dauvergne
|
04585b13b7
|
settings: only activate sentry logger if RAVEN_CONFIG_DSN is configured, use the mail_admins handler otherwise
|
2013-12-16 15:17:10 +01:00 |
Benjamin Dauvergne
|
c29f8a3a71
|
forms,pfwb: use truncate_filename when attaching files to new documents
|
2013-12-16 15:17:10 +01:00 |
Benjamin Dauvergne
|
53973b239a
|
utils: add a truncate_filename function parameterized by a setting
|
2013-12-16 15:17:08 +01:00 |
Benjamin Dauvergne
|
7177f46f61
|
adopt new app_settings pattern
|
2013-12-16 15:16:09 +01:00 |
Benjamin Dauvergne
|
06871eb300
|
templates: fix click handler on mailbox tables to work under iOS webkit (bis)
rename live() to delegate()
|
2013-12-11 18:15:36 +01:00 |
Benjamin Dauvergne
|
1f53dbb22e
|
templates: fix click handler on mailbox tables to work under iOS webkit
Click events do not bubble to the body element, it breaks the jQuery
live method.
fixes #4073
|
2013-12-11 18:09:20 +01:00 |
Benjamin Dauvergne
|
a8eda560dd
|
static: enlarge line height and with of inbox recipients column
|
2013-12-06 11:28:27 +01:00 |
Benjamin Dauvergne
|
1f4636c4ad
|
template: load project stylesheet at the end, to permit overloading
|
2013-12-06 10:10:24 +01:00 |
Benjamin Dauvergne
|
78194be045
|
tables: restore recipients column
|
2013-12-04 17:18:38 +01:00 |
Benjamin Dauvergne
|
ab17f5eaae
|
css: set cursor to pointer over mailbox tables
fixes #4062
|
2013-12-04 15:46:28 +01:00 |
Benjamin Dauvergne
|
5119c0d616
|
templates: in message.html use username template tag to format user names
That fixes empty username when users have no first name and last name.
fixes #4061
|
2013-12-04 12:22:51 +01:00 |
Benjamin Dauvergne
|
6cab115064
|
views: return documents only one time
|
2013-12-03 17:55:46 +01:00 |
Benjamin Dauvergne
|
2b3e3b449c
|
in the message view show recipient only if the user has a delegation over it or if it's him
refs #3941
|
2013-11-29 18:19:24 +01:00 |
Benjamin Dauvergne
|
087bda41ea
|
views: fix multiple object returned exception in get_document()
|
2013-11-29 18:17:18 +01:00 |