Commit Graph
65 Commits
Author SHA1 Message Date
Antoine Nguyen 0a001364d0 WIP: remove legacy interface 2025-06-08 15:12:48 +02:00
Antoine NguyenandSpitfireap 29da965722 Removed old UI interface and related code. 2024-06-22 19:45:15 +02:00
Antoine NguyenandSpitfireap d2ef09b7f2 WIP: sieve filters 2024-06-22 19:44:45 +02:00
Antoine Nguyen 89cc0cf2a3 Code reformatted using black 2024-02-20 21:45:07 +01:00
SpitapandAntoine Nguyen 415aefc764 Started import work 2023-04-18 15:44:08 +02:00
Spitap a3a71f03ef merge from master 2023-02-23 20:51:43 +01:00
Antoine Nguyen 7745ea4f0b WIP: Moved DMARC plugin back to core repo 2023-02-23 18:08:13 +01:00
Spitap 00a6b63841 added pdfcredential native support 2023-02-18 11:52:04 +01:00
Antoine Nguyen d3d2c505c4 Fixed unit tests. 2021-05-30 09:49:29 +02:00
Antoine Nguyen 68fa66b772 Make a clear distinction between v1 and v2 API endpoints. 2021-02-17 08:59:43 +01:00
Antoine Nguyen dde2027569 Improved API doc. 2020-12-04 09:26:40 +01:00
Antoine Nguyen f6915deccc Merge branch 'master' into refacto/vuejs_interface 2020-11-13 14:20:46 +01:00
Antoine Nguyen 304ee7e8fb Fixed unit test. 2020-11-10 16:25:22 +01:00
Antoine Nguyen 78a772eaf1 Added description for domain viewset routes. 2020-11-09 21:20:18 +01:00
Antoine Nguyen 591f9b9a1d Added drf-spectacular.
fix #2071
2020-11-09 20:55:40 +01:00
Antoine Nguyen b9f233c126 Introduced API versioning. 2020-10-30 18:49:30 +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 Nguyen cb0197c609 Retrieve password by SMS.
see #1877
2020-04-21 11:34:29 +02:00
Antoine NguyenandGitHub cb9bd8b2e8 Added setting to define external password url. (#1849)
* Added setting to define external password url.

see #1848

* Fixed tests.
2020-02-27 10:24:51 +01:00
Jérôme Lebleu 40e6dc838f core: use class-based views for auth 2020-01-13 14:24:25 +01: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 e0c7305149 Bump djangorestframework to 3.11 and move to OpenAPI
See: https://www.django-rest-framework.org/community/3.10-announcement/

CoreAPI is being deprecated and since 3.10, settings must be modified to
keep using CoreAPI schemas. This is especially required for the
documentation generation.

To prevent settings modification while upgrading Modoboa and to follow
the standard for modeling Web APIs, CoreAPI is removed. Instead, OpenAPI
is used to generate the schema and Swagger UI is used to render the
documentation as described here:

  https://www.django-rest-framework.org/topics/documenting-your-api/
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 277602e3f0 New DNS checks.
see #1618
2018-11-19 18:54:12 +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 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
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
Antoine Nguyen c6054066d5 Added password reset service.
see #1151
2017-06-22 11:24:42 +02:00
Arthur Vuillard 615f73f272 unicode_literals everywhere and modoboa-admin deploy fixes 2017-05-11 09:25:42 +02:00
Antoine Nguyen e93a94b241 Few changes. 2017-04-20 15:06:44 +02:00
Antoine Nguyen 0252bccf2f Include plugins API urls if available.
see #1084
2017-03-26 18:17:36 +02:00
Antoine Nguyen d2f4dab739 Change include order. 2017-03-16 13:58:33 +01:00
Antoine Nguyen b9f789d813 Try to disable urls... 2017-03-16 12:21:16 +01:00
Antoine Nguyen b260ca5417 DRF 3.6.2
see #1078
2017-03-16 11:33:18 +01:00
Antoine Nguyen af33751947 Added django-ckeditor as dependency.
see #1076
2017-03-15 11:41:12 +01:00
Antoine Nguyen 01f926ca95 Django 1.0 support.
see #1024
2017-02-10 14:29:21 +01:00
Antoine Nguyen 3264041bde Fixed signal. 2016-11-30 14:56:30 +01:00
Antoine Nguyen 9ee200ea5b WIP. 2016-11-19 16:45:09 +01:00
Antoine Nguyen c8a2f739ed Refactor.
see #891
2016-09-08 21:31:23 +02:00
Antoine Nguyen e437ffc31e LDAP authentication unit testing.
see #870
2016-05-03 17:07:16 +02:00
Antoine Nguyen d2900ef38e Use django-rest-swagger for API documentation. 2016-04-08 13:42:09 +02:00
Antoine Nguyen 6f75875ad2 Refactor applications loading (wip). 2016-01-05 08:56:25 +01:00
Antoine Nguyen 68b5fc1a3e First draft of a REST API.
see #523
2015-11-27 14:48:07 +01:00
Antoine Nguyen 11064393a6 Merge with admin, limits and relaydomains extensions.
WIP
2015-11-09 18:25:34 +01:00
Antoine Nguyen e1d381ab91 Few fixes. 2015-02-02 15:32:30 +01:00
Antoine Nguyen bc9bb3c068 Few fixes 2015-01-13 21:53:21 +01:00
Antoine Nguyen a12e72f0c8 Use URL namespaces.
see #585
2014-09-24 21:36:29 +02:00