Jérôme Lebleu
369d05e1c3
Remove the UTF-8 coding header
2020-01-07 10:16:54 +01:00
Jérôme Lebleu
74d66c00a0
Update imports for Python 3.4+
2020-01-07 10:16:54 +01:00
Antoine Nguyen and GitHub
1d430ba96e
Changed message field type to TextField. ( #1754 )
...
fix #1743
2019-07-05 14:51:28 +02:00
Antoine Nguyen
98a400293c
ldap: deactivate password update when sync is enabled.
2019-06-07 10:23:17 +02:00
Antoine Nguyen
782e340ef6
Display fullname when last_name is set too.
...
see #1629
2018-12-17 09:31:47 +01:00
Andrew Fyfe
f71414ddfa
add missing utf8 header
...
use `# -*- coding: utf-8 -*-` which is more widely supported by editors
2018-02-03 00:59:08 +00:00
Andrew Fyfe
24a7ca6a9e
sort imports using isort
...
pip install isort
isort -y
2018-02-03 00:43:59 +00:00
Andrew Fyfe
8a1d5736c9
fix quotes
...
This ensures all files use " for quotes with the exception of
migrations, as this are auto generated I've not modified them.
pip install unify
unify --in-place --recursive --quote \" .
2018-02-03 00:43:58 +00:00
Antoine Nguyen
dad0827b7d
Use default language code for new accounts.
...
see #1369
2018-02-02 14:18:02 +01:00
Andrew Fyfe
425792d23d
Fix importing csv files containing utf8 characters
...
The csv module on Python 2 doesn't support utf8 (even encoded as bytes), the easiest fix is to use the csv module backported from Python 3.
Fixes #1312
See https://docs.python.org/2/library/csv.html
See https://github.com/ryanhiebert/backports.csv
2018-01-05 12:47:21 +00:00
Andrew Fyfe
892160d5aa
updates for django 1.11 support
...
- MIDDLEWARE_CLASSES is replaced by MIDDLEWARE
- add MiddlewareMixin to modoboa middlewares
- on_delete will become a required parameter for ForeignKey()
set it to the current default CASCADE
- on_delete will become a required parameter for OneToOneField()
set it to the current default CASCADE
- reverse and reverse_lazy have moved to django.urls
- RadioChoiceInput widget has been removed, replace with HorizontalRadioSelect
2017-12-19 00:50:53 +00:00
Antoine Nguyen
3afc2a983c
We need str objects here.
...
see #1207
2017-08-04 09:51:03 +02:00
Antoine Nguyen
1ca8e13307
Convert to bytes.
...
see #1207
2017-08-02 21:54:43 +02:00
Floréal Cabanettes
54a8dc6aab
Replace __unicode__ functions by python_2_unicode_compatible decorator
2017-07-24 14:49:42 +02:00
Floréal Cabanettes
908faba24a
Python3 compatibility: add __str__ functions in addition to __unicode__ functions
2017-07-24 13:00:44 +02:00
Antoine Nguyen
5fc80c24b6
Fixed custom User model.
...
see #1165
2017-07-07 11:03:11 +02:00
Arthur Vuillard
6fe26028d4
tests for modoboa.admin for python 2 and 3
2017-05-11 23:22:22 +02:00
Arthur Vuillard
4d109a6857
fix a test in python3
2017-05-11 18:19:33 +02:00
Arthur Vuillard
615f73f272
unicode_literals everywhere and modoboa-admin deploy fixes
2017-05-11 09:25:42 +02:00
Arthur Vuillard
9a5c293d52
remove useless builtins imports
2017-05-11 00:02:00 +02:00
Antoine Nguyen
2109feffd2
Initial python3 support.
2017-05-10 18:29:17 +02:00
Antoine Nguyen
989c34e4c3
Quote sender local-part.
...
see #1096
2017-04-26 10:36:33 +02:00
Antoine Nguyen
bbc6b67ce3
Force lower-case addresses.
...
see #1088
2017-04-20 11:19:45 +02:00
Antoine Nguyen
aeb834b9cf
Allowed more values.
...
see #1087
2017-04-03 14:04:57 +02:00
Antoine Nguyen
01f926ca95
Django 1.0 support.
...
see #1024
2017-02-10 14:29:21 +01:00
Antoine Nguyen
5480a96a73
WIP.
2016-11-23 11:31:57 +01:00
Antoine Nguyen
9ee200ea5b
WIP.
2016-11-19 16:45:09 +01:00
Antoine Nguyen
762f621493
WIP.
2016-11-05 14:19:59 +01:00
Antoine Nguyen
3fb1c13f18
WIP
...
see #951
2016-10-28 15:48:08 +02:00
Antoine Nguyen
08943f15ec
WIP
...
see #951
2016-10-28 15:48:08 +02:00
Antoine Nguyen
9367dcd09f
WIP
...
see #951
2016-10-28 15:48:08 +02:00
Christian Wiegand
5da45f277b
Improved German translation: Translation of user settings dialog, corrected wrong parenthesis in logging of login/logout, language label field had no label tag
2016-10-16 14:37:24 +02:00
Christian Wiegand
8ec95a4cd0
Improved German translation: Translation of user settings dialog, corrected wrong parenthesis in logging of login/logout, language label field had no label tag
2016-10-16 10:55:22 +02:00
Antoine Nguyen
f3586789d7
Removed deprecated property.
2016-10-12 11:30:55 +02:00
Antoine Nguyen
fe7d4abe6f
Make sure to set the owner.
...
see #937
2016-10-12 10:39:01 +02:00
Antoine Nguyen
d4a736dba2
Fixes about Resellers permissions.
2016-09-22 10:26:11 +02:00
Antoine Nguyen
6b85ad0715
Translation files updated.
2016-09-16 16:05:11 +02:00
Antoine Nguyen
936200710b
Extra sender addresses for account.
...
see #802
2016-09-11 17:42:53 +02:00
Antoine Nguyen
abe24d2093
New admin dashboard and widget to display blog news.
...
see #891
2016-09-07 15:15:26 +02:00
Antoine Nguyen
9281c53fd1
Detail views for Account and Alias.
...
see #894
2016-07-03 16:50:17 +02:00
Antoine Nguyen
413d01323a
Send statistics to the API.
...
see #890
2016-06-15 21:35:45 +02:00
Antoine Nguyen
68cb067317
Django 1.9 compat
...
see #867
2016-04-29 11:44:14 +02:00
Antoine Nguyen
fa2cabdbfe
Move signal handlers and load them at the right time.
2016-04-11 14:17:02 +02:00
Antoine Nguyen
000aba6569
WIP (handle conflicts)
...
see #832
2016-02-22 09:33:18 +01:00
Antoine Nguyen
8e348ef696
WIP.
...
see #832
2016-02-16 16:02:09 +01:00
Antoine Nguyen
6f75875ad2
Refactor applications loading (wip).
2016-01-05 08:56:25 +01:00
Antoine Nguyen
0d5e35f41e
Add support for domain/address using non-ASCII characters.
...
see #790
2015-11-30 19:45:19 +01:00
Antoine Nguyen
68b5fc1a3e
First draft of a REST API.
...
see #523
2015-11-27 14:48:07 +01:00
Antoine Nguyen
64ca18891e
Redirect user to profile on first login.
...
see #596
2015-11-16 14:12:16 +01:00
Antoine Nguyen
334013ec69
New user fields.
...
see #673
2015-11-14 15:19:41 +01:00