Commit Graph
37 Commits
Author SHA1 Message Date
Antoine Nguyen 89cc0cf2a3 Code reformatted using black 2024-02-20 21:45:07 +01:00
Antoine NguyenandGitHub 3df446f657 Moving back the stats module to the core. (#2011)
* Moving back the stats module to the core.

* Added system packages to build RRDtool.

* Fixed unit tests.

* Improved coverage.
2020-09-17 16:02:39 +02:00
Antoine NguyenandGitHub 44d5e80aee Added alarms for domain/mailboxes. (#2009)
* Added alarms for domain/mailboxes.

* Try to close connections in thread.

* Make sure to close database connections in threads.

* Use TransactionTestCase for policyd because we use threads.

* Added unit test.
2020-09-11 17:27:41 +02:00
Antoine Nguyen e34345a2b7 Removed mistake. 2020-04-17 10:25:16 +02:00
Antoine Nguyen 89b795bcff Fixed wrong help text. 2020-04-17 10:21:18 +02:00
Jérôme Lebleu 817015688d Bump Django to 2.0 and simplify URL routing syntax
See: https://docs.djangoproject.com/en/stable/releases/2.0/

The only required changes are - as reported in #1466 - the addition of
`app_name` in `urls.py` for URL namespaces.
2020-01-13 09:55:17 +01:00
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 384ea598c4 Load next page of the right type.
see #1412
2018-03-01 16:05:40 +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
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
Arthur Vuillard 615f73f272 unicode_literals everywhere and modoboa-admin deploy fixes 2017-05-11 09:25:42 +02:00
Antoine Nguyen 3297b88d4f Fixed deploy command.
see #1024
2017-02-10 15:39:37 +01:00
Antoine Nguyen 01f926ca95 Django 1.0 support.
see #1024
2017-02-10 14:29:21 +01:00
Antoine Nguyen d640c65a11 Move global statistics to admin dashboard.
see #1020
2017-02-07 13:56:18 +01:00
Antoine Nguyen 4dd8980562 Use a CBV and increase coverage. 2016-09-30 12:13:13 +02:00
Antoine Nguyen f33bd7e509 Added view to display MX records. 2016-09-14 20:42:51 +02:00
Antoine Nguyen 8fef1a555f Few fixes.
see #894
2016-07-06 09:38:50 +02:00
Antoine Nguyen 9281c53fd1 Detail views for Account and Alias.
see #894
2016-07-03 16:50:17 +02:00
Antoine Nguyen 7f233b2f26 DNSBL checks for domains.
see #879
2016-06-08 17:08:08 +02:00
Antoine Nguyen 55c6678f53 WIP 2016-06-03 17:48:44 +02:00
Antoine Nguyen 11064393a6 Merge with admin, limits and relaydomains extensions.
WIP
2015-11-09 18:25:34 +01:00
Antoine Nguyen 1155532365 wip: Big refacto
The admin application is now a true extension.
2013-08-16 16:34:15 +02:00
Antoine Nguyen 119c530176 Same mistake for domain removal :p
see #389
2013-06-04 14:43:04 +02:00
Antoine Nguyen 8fc10df639 DELETE request don't support arguments :p
see #389
2013-06-04 14:26:32 +02:00
Antoine Nguyen aa141403cb New audit trail page. Need to add a cleanup script.
see #320
2013-05-17 14:15:40 +02:00
Antoine Nguyen b15e475475 Improvements about aliases:
* Referencing an existing alias as a recipient is now allowed
* Alias type verification is less restrictive

fixes #403
2013-05-06 17:28:04 +02:00
Antoine Nguyen db1373484f Added a new table to store per-user quota usage. (dovecot compatible)
A simple quotas listing page has been added to the admin. panel.

see #391
2013-04-12 14:12:54 +02:00
Antoine Nguyen f05a330612 All occurences of 'django.conf.urls.defaults' have been replaced by 'django.conf.urls'.
see #384
2013-03-03 09:29:09 +01:00
Antoine Nguyen 90d385769a * Possibility to export domains and identities (see #116)
* Display Modoboa version nicely (fix #304)
2013-01-12 18:27:10 +01:00
Antoine Nguyen e9730097cb New *information* page to display usefull information for super administrators.
see #304 & #307
2012-12-24 14:17:53 +01:00
Antoine Nguyen 4d86968d63 Job's done! All modoboa applications are now using ajax based navigation.
fixes #315
2012-12-02 11:41:56 +01:00
Antoine Nguyen 9ad3f8b240 Settings pages are now more responsive.
see #315
2012-12-01 11:55:43 +01:00
Antoine Nguyen 0724e91484 All listing pages (domains and identities) are now more responsive. No full reload anymore.
see #315
2012-11-30 16:17:49 +01:00
Antoine Nguyen 0503c684ea Making Modoboa a standard django application.
see #245
2012-06-20 09:21:10 +02:00