Commit Graph
88 Commits
Author SHA1 Message Date
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 NguyenandGitHub 5b279f533a Merge pull request #1352 from modoboa/feature/per_domain_dkim_key
Per domain DKIM key generation.
2018-01-19 11:14:06 +01:00
Antoine Nguyen ff2c019fc6 Few fixes. 2018-01-19 09:56:24 +01:00
Antoine Nguyen 213a363716 Per domain DKIM key generation.
see #1325
2018-01-12 17:42:04 +01:00
Andrew Fyfe d4d403d4a0 fix order of doveadm paramters
Fixes #1267

also remove u prefix from exception string.
2018-01-12 15:32:31 +00:00
Antoine NguyenandGitHub 36a434f346 Reintroduced relay domain concept. (#1334)
* Reintroduced relay domain concept.

* Removed wrong url include.

* Removed deprecated tests.

* Updated requirement.
2017-12-21 11:15:02 +01: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
Andrew Fyfe 3308c56480 StopIterator has been depreciated, use return [PEP479]
https://www.python.org/dev/peps/pep-0479/#consequences-for-existing-code
2017-12-19 00:50:52 +00:00
Antoine NguyenandGitHub 98eea782a0 Generic transport editor. (#1309)
Generic transport editor.

see #1301

* Fixed unit test.

* Added unit tests.

* Fixed unit test.

* Added transport module to test list.

* Moved relay transport backend to appropriate app.

see #1301

* Added missing file.
2017-11-27 10:42:27 +01:00
Anthony BourguignonandAntoine Nguyen 9349b7a90a Quota (#1262)
* Add domain quota listing
See #1135

* Add permission on domains quotas listing

* Always send context headers
even if domains or identities are empty

* rename identities quotas view in the tests

* Added unit test for domain quota list
2017-10-06 17:11:55 +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 226d65c0a0 Check MX validity when adding new domain. (#1215)
* Check MX validity when adding new domain.

see #1211

* Fixed unit test.

see #1215

* Added unit tests.

see #1211

* Fixed unit test.

see #1211

* Added missing file.

see #1211

* Fixed error definition.

see #1211
2017-08-18 09:29:01 +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 299b6f6f46 admin: fixed domain quota display when db not ready.
see #1174
2017-07-05 21:20:37 +02:00
Antoine Nguyen 188216b96e Improved domain quota display.
see #1146
2017-06-22 18:51:16 +02:00
Antoine Nguyen 3c614ea00f Fixed forward creation from import.
see #1144
2017-06-22 16:50:03 +02:00
Arthur Vuillard 6fe26028d4 tests for modoboa.admin for python 2 and 3 2017-05-11 23:22:22 +02:00
Arthur Vuillard 20e34bc199 checkpoint for modoboa.admin tests in both python 2 and 3 2017-05-11 17:56:16 +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 aeb834b9cf Allowed more values.
see #1087
2017-04-03 14:04:57 +02:00
Antoine Nguyen 1cbdbf22ef Don't use bulk_create because we need post_save signal. 2017-03-03 11:37:32 +01:00
Antoine Nguyen 8bb6450814 Added unit tests.
see #1046
2017-02-27 18:30:16 +01:00
Antoine Nguyen 55bdf3a82f Fixed mailbox removal.
see #1046
2017-02-27 16:17:08 +01:00
Antoine Nguyen 6ecb50deab Default mailbox quota should not be greater than quota.
see #1035
2017-02-20 16:57:38 +01:00
Antoine Nguyen 8ef3dc8e06 Added support for reseller quota.
see #1035
2017-02-16 11:28:40 +01:00
Antoine Nguyen cdd4e7e89e Increase coverage.
see #1030
2017-02-15 20:46:47 +01:00
Antoine Nguyen e8ceadaa1d Updated import.
see #1030
2017-02-15 16:36:12 +01:00
Antoine Nguyen b9342f7801 Display domain quota usage.
see #1030
2017-02-15 15:41:57 +01:00
Antoine Nguyen 496624a711 Added support for domain quota.
see #1030
2017-02-15 13:30:12 +01:00
Antoine Nguyen 4279d0cabd Renamed domain quota field to default_mailbox_quota.
see #1030
2017-02-15 10:04:13 +01:00
Antoine Nguyen ce77b66a2e Control DNS checks per domain.
WIP
2017-02-06 07:27:30 +01:00
Antoine Nguyen a468533411 Increase coverage.
see #998
2017-01-17 17:28:21 +01:00
Antoine Nguyen 0429105883 No tests for reserved domains.
fix #995

Conflicts:
	modoboa/admin/models/domain.py
2017-01-16 12:27:05 +01:00
Antoine Nguyen 3480e187a3 Do not include internal aliases in counter.
fix #1001
2017-01-16 12:25:24 +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 784acaca46 Fixed form. 2016-11-05 14:53:11 +01:00
Antoine Nguyen 762f621493 WIP. 2016-11-05 14:19:59 +01:00
Antoine NguyenandGitHub 233defcc39 Merge pull request #954 from tonioo/refactor/parameters
Refactor/parameters
2016-11-04 18:10:12 +01:00
Antoine Nguyen 6838e53ead Fix #959 2016-11-04 09:20:01 +01:00
Antoine Nguyen 3fb1c13f18 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
Antoine NguyenandGitHub 4cc344500d Merge pull request #925 from tonioo/fix/reseller_permissions
Fixes about Resellers permissions.
2016-09-30 12:03:47 +02:00
Antoine Nguyen d4a736dba2 Fixes about Resellers permissions. 2016-09-22 10:26:11 +02:00
Gael Pasgrimaud 2e1515f855 remove bool even if I like it 2016-09-19 18:06:10 +02:00
Gael Pasgrimaud e0f2f34523 take care of creation date while showing DNS status 2016-09-19 15:37:37 +02:00