Commit Graph
49 Commits
Author SHA1 Message Date
Jérôme Lebleu 74d66c00a0 Update imports for Python 3.4+ 2020-01-07 10:16:54 +01:00
Jérôme Lebleu 2b23f5a9be admin: fix account removal from domain admins 2020-01-03 15:16:36 +01:00
Antoine Nguyen 250300f7ef Added support for unit when defining a quota.
see #1514
2018-10-17 13:42:51 +02:00
Antoine Nguyen 615a2f98f9 fixed: force lower case domain names and addresses.
see #1570
2018-10-01 11:51:43 +02:00
Antoine Nguyen 019a0c550d Make sure email and username are the same even for super admins.
see #1240
2018-07-19 15:06:02 +02: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 4fe51d6726 random code clean ups
- removed duplicate imports
- whitespace fixes
- removed unnecessary u"" prefixes
- added missing r"" prefixes where required
- added missing default values to DynamicForm() to prevent possible unassigned variable access
2017-12-19 01:24:01 +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 5692baff20 Added new option to create an alias on mailbox rename.
see #1250
2017-09-29 09:10:20 +02:00
Antoine Nguyen 5be9c7cdbf Fixed validation errors display.
see #1231
2017-09-15 10:31:07 +02:00
Antoine Nguyen 268479b84f Merge branch '1.8.x' 2017-09-08 10:41:05 +02:00
Antoine Nguyen 1a2b9821c2 Fixed quota error.
see #1223
2017-09-08 09:44:35 +02:00
Antoine NguyenandGitHub 0dd55069bc Added random password generator. (#1225)
* Added random password generator.

see #1219

* Fixed unit test.

see #1219

* Fixed typo.

see #1219

* Increased coverage.

see #1219
2017-09-07 18:18:43 +02:00
Antoine Nguyen e453601b32 admin: added profile form to account update view.
see #1169
2017-07-05 22:19:12 +02:00
Antoine Nguyen ba2014e4f0 Don't check password if empty.
see #1153
2017-06-22 15:53:58 +02:00
Antoine Nguyen c236d60bd9 Replaced django-passwords by django's builtins.
see #1153
2017-06-22 15:53:58 +02:00
Arthur Vuillard 615f73f272 unicode_literals everywhere and modoboa-admin deploy fixes 2017-05-11 09:25:42 +02:00
Antoine Nguyen 2109feffd2 Initial python3 support. 2017-05-10 18:29:17 +02:00
Antoine Nguyen d8554a5a63 Security fixes.
see #1100
2017-04-20 15:41:14 +02:00
Antoine Nguyen 8ef3dc8e06 Added support for reseller quota.
see #1035
2017-02-16 11:28:40 +01:00
Antoine Nguyen b9342f7801 Display domain quota usage.
see #1030
2017-02-15 15:41:57 +01:00
Antoine Nguyen c368b62f83 Fixed unit tests.
see #1030
2017-02-15 14:03:39 +01:00
Antoine Nguyen 496624a711 Added support for domain quota.
see #1030
2017-02-15 13:30:12 +01:00
Antoine Nguyen 8dfbca46c2 Remove deprecated signals. 2016-11-23 14:18:39 +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 3fb1c13f18 WIP
see #951
2016-10-28 15:48:08 +02:00
Cédric de l'EpineandGitHub 3f994c76b7 Update account.py
tip update on the alias field according the new wildcard syntax (without '*')
2016-10-14 23:13:36 +02:00
Antoine Nguyen 6421efff56 Python3 compat/ 2016-10-05 14:35:53 +02:00
Antoine Nguyen 82e46ac4e1 Fix #933 2016-10-05 14:16:58 +02:00
Antoine Nguyen f440b0d99a Fix unit test. 2016-09-23 17:35:59 +02:00
Antoine Nguyen d4a736dba2 Fixes about Resellers permissions. 2016-09-22 10:26:11 +02:00
Antoine Nguyen 936200710b Extra sender addresses for account.
see #802
2016-09-11 17:42:53 +02:00
Antoine Nguyen fdde0a0f71 Do not display internal aliases in mailbox form.
fix #876
2016-05-11 16:15:42 +02:00
Antoine Nguyen 48f7cc608f Try to fix #863 2016-04-27 13:37:57 +02:00
Antoine Nguyen 49e5362f41 WIP.
see #799
2016-04-16 15:27:33 +02:00
Antoine Nguyen 0210275499 WIP.
see #860
2016-04-14 12:03:05 +02:00
Antoine Nguyen 33aa0da080 Few fixes about master users. 2016-04-10 13:46:43 +02:00
Antoine Nguyen 0ff132014a Do not check domain if not needed.
see #832
2016-03-07 09:20:33 +01:00
Antoine Nguyen 5f9bc8a4e2 Refactor.
see #832
2016-03-07 09:13:39 +01:00
Antoine Nguyen b6f1282c7e WIP
see #832
2016-03-02 15:57:09 +01: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 e6bd494a8d Fix #823. 2016-01-19 19:01:38 +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 11064393a6 Merge with admin, limits and relaydomains extensions.
WIP
2015-11-09 18:25:34 +01:00