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
Benjamin Dauvergne
1bc81386d6
docbow/app_settings: introduce a BASE_URL setting, use it in sendmail
2013-09-09 11:21:55 +02:00
Benjamin Dauvergne
e35f26d4b4
pfwb/models: add new model TabellioDocType
2013-09-09 11:17:32 +02:00
Benjamin Dauvergne
b7d2b0cace
pfwb: initialize migrations
2013-09-09 11:15:15 +02:00
Benjamin Dauvergne
73d5fe9526
rename application plone to pfwb
...
It will hold all adaptation to pfwb context
2013-09-09 10:41:41 +02:00
Benjamin Dauvergne
c6a5c34d70
tables: add a recipients column to outbox table (CSV and HTML)
2013-09-06 09:28:28 +02:00
Pierre Cros
46551e97e0
Suppression du développement de l'acronyme DocBow sur la page d'accueil
2013-09-05 17:48:23 +02:00
Frédéric Péters
600363b798
create accounts as first.lastname, not the other way
2013-09-05 14:49:20 +02:00
Frédéric Péters
3871abce8f
add management command to sync users with tabellio
2013-09-05 14:41:11 +02:00
Benjamin Dauvergne
7d4b313b54
commands/add_user,commands/add-list: fix wrong access name for command flags, add flags for activating deactivating users, and for setting the is_superuser field
...
fixes #3534
2013-09-04 15:56:37 +02:00
Benjamin Dauvergne
21b99f1a1b
commands/list-users: add columns for the is_active and is_superuser flags
2013-09-04 15:56:03 +02:00
Benjamin Dauvergne
f3cdb2c626
views: when filtering by date the end date is inclusive, fixes #3442
2013-09-04 12:42:18 +02:00
Benjamin Dauvergne
5880747208
utils: add method to convert date to aware datetime set at 00:00
2013-09-04 12:41:56 +02:00
Benjamin Dauvergne
92ad7b13a4
models,views: take the union of sending limitations applying to an user, not the first one found
...
It also handles recursive group membership.
fixes #3465
2013-09-03 16:59:54 +02:00
Benjamin Dauvergne
f564f43f40
setup.py,requirements.txt: change name of disitribution for python-entrouvert
2013-09-03 16:35:47 +02:00
Benjamin Dauvergne
f14f8a6458
docbow.init: add more environment variable when calling management commands
2013-09-03 15:10:44 +02:00
Benjamin Dauvergne
3d9fe34dd7
docbow.init: the -- must precede the command but be after the environment variables declarations
2013-09-02 12:05:09 +02:00
Benjamin Dauvergne
20415669b7
docbow.init: conserve some environment variable when calling sudo
2013-09-02 12:02:55 +02:00
Benjamin Dauvergne
c5601cc34d
docbow.init: use sudo instead of su
2013-09-02 11:59:16 +02:00
Benjamin Dauvergne
0716b72706
admin,actions: add mass activation/deactivation actions for users and mailing lists, fixes #3494
2013-09-02 11:55:16 +02:00
Benjamin Dauvergne
d3f0b4a2b0
admin: restore mass deletion action for users and mailing lists, fixes #3494
2013-08-30 17:24:56 +02:00
Benjamin Dauvergne
a1c77dc498
models: set minimum cardinality to 0
2013-08-30 15:25:07 +02:00
Benjamin Dauvergne
9ed7b9b2fa
forms: pass a dummy attached_file_kind in case no busness rule exists
2013-08-30 15:20:15 +02:00
Benjamin Dauvergne
305da35b29
locale: escape quotes in messages
2013-08-29 14:14:24 +02:00
Pierre Cros
f8f387b181
mise à jour pour le PFWB
2013-08-29 14:09:46 +02:00
Frédéric Péters
c03e741420
style: rearrange a bit the profile page
2013-08-29 11:29:01 +02:00
Frédéric Péters
8846eac890
style: a little bit of the profile page
2013-08-29 11:20:56 +02:00
Benjamin Dauvergne
8b876cbb37
static: add missing yelp-code.png
2013-08-29 10:56:33 +02:00
Benjamin Dauvergne
fe7de5db9f
css: change paths to yelp icons
2013-08-29 10:55:38 +02:00
Benjamin Dauvergne
eee5b9b72a
static: add missing yelp icons
2013-08-29 10:49:32 +02:00
Frédéric Péters
e7f475789b
help: force image into their width
2013-08-29 10:48:04 +02:00
Benjamin Dauvergne
bfc7d99824
help: add missing figure
2013-08-29 10:26:16 +02:00
Pierre Cros
03c9ffc631
Captures PFWB en remplacement des captures PW
2013-08-29 10:03:27 +02:00