Antoine Nguyen
cb0197c609
Retrieve password by SMS.
...
see #1877
2020-04-21 11:34:29 +02:00
Antoine Nguyen
747ef68175
Removed deprecated dependancy.
...
see #1780
2020-03-03 10:38:07 +01:00
Jérôme Lebleu
0968a1ce86
Bump Django to 2.2
...
See: https://docs.djangoproject.com/en/stable/releases/2.2/
2020-01-13 18:23:10 +01:00
Jérôme Lebleu
8d1f1e58ae
Bump Django to 2.1 and rename view permissions
...
See: https://docs.djangoproject.com/en/stable/releases/2.1/
The main change is the addition of a view permission. To prevent
redundancy, the custom and current `view_` permissions are renamed to
use the new ones - e.g. `view_aliases` is renamed to `view_alias`. Only
`view_domain` is used to check permissions and `view_domains` is not
deleted in case customizations have been made by user - in such case
a manual squash is needed.
2020-01-13 14:24:25 +01:00
Jérôme Lebleu
2241b1a3a2
Replace django-subcommand2 by custom code
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
0e8c320695
Bump djangorestframework to 3.9 and adapt the code
...
See: https://www.django-rest-framework.org/community/3.9-announcement/
The 3.10 release begins the deprecation process for the CoreAPI based
schema generation and requires thus more changes - especially for the
documentation.
2020-01-07 10:16:54 +01:00
Jérôme Lebleu
d06692e06a
Bump requirements versions
...
Each package version is updated to use the last one if it doesn't
require code changes. Only Django REST Framework is currently stuck on
release 3.7 since breaking changes and deprecations come with newer
releases.
2020-01-07 10:16:54 +01:00
jeromelebleu and Antoine Nguyen
793dba96cb
Make dependency to argon2 optional ( #1701 )
2019-05-17 09:29:06 +02:00
Arvedui
6145965154
Implement support for the argon2 password hash
2019-03-03 00:38:00 +01:00
Antoine Nguyen
3cfdcff53e
Added 1.13.1 documentation.
2019-01-31 19:16:39 +01:00
Andrew Fyfe
e7667dd05b
add missing optional dependency used by ckeditor for attaching images
2018-04-14 11:06:23 +01:00
Andrew Fyfe
dab91eb149
only use backports.csv on python 2
2018-03-24 15:32:54 +00:00
Andrew Fyfe
e6966c0ecb
clean up requirements.txt
...
argparse - remove, now part of Pythons stdlib in Python 2.7 and 3.4+
backports.csv - only required for Python 2
ipaddress - only required for Python < 3.3
2018-03-19 19:03:06 +00:00
Andrew Fyfe
d07e9c58ad
better error handling for when e-mail messages lie about their encoding
...
also fix test output, looks like it was getting truncated
2018-02-01 21:41:10 +00:00
Andrew Fyfe
e8debf4e43
use setuptools parse_version for version comparision
...
adds support for version strings conformin to PEP 440
See https://www.python.org/dev/peps/pep-0440/
2018-01-12 16:55:39 +00: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
c984596ae9
improve modoboa.lib.email_utils.Email
...
This is a refactor of moboboa.lib.email_utils.Email, currently it has
trouble parsing messages containing certain attachment types.
For html messages inline images are now base64 encoded and embedded into
the <img> tag rather than being saved to disk.
This only effects modoboa-amavis as modoboa-webmail implements it's own
parser for e-mails as they are retrieved differently using IMAP.
This adds a new external dependency on lxml.
2018-01-03 17:16:04 +00:00
Antoine Nguyen and GitHub
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
8fb3e244f6
upgrade to django 1.11
...
pin to >=1.11.8 as thats the current version when the upgrade was done
2017-12-19 00:53:13 +00:00
Andrew Fyfe
ba861965b7
upgrade dependencies with minor version updates
2017-12-19 00:53:13 +00:00
Andrew Fyfe
0cd444be6b
django-reversion >= 2.0.0 should be used with django >= 1.8
...
https://django-reversion.readthedocs.io/en/stable/django-versions.html
2017-12-19 00:53:12 +00:00
Antoine Nguyen and GitHub
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
Christophe CHAUVET and Antoine Nguyen
e3c35560ed
Impossible to enable domain on creation or update with coreapi ( #1281 )
...
I found a bug in the coreapi to create a domain
this problem is on the djangorestframework and fix ten days ago
see: https://github.com/mozilla/mozillians/pull/1892
https://github.com/encode/django-rest-framework/issues/1101
Fix: https://github.com/encode/django-rest-framework/pull/5038/files
2017-10-27 19:58:56 +02:00
Antoine Nguyen
77318c8a0d
Bumped django-rest-framework to 3.6.3.
2017-07-28 15:29:47 +02:00
Antoine Nguyen
3529372466
Updated requirements.
2017-07-28 15:25:53 +02:00
Antoine Nguyen
7515ca3bb7
Fixed python3 compat. issues
2017-07-21 23:01:49 +02:00
Antoine Nguyen
c236d60bd9
Replaced django-passwords by django's builtins.
...
see #1153
2017-06-22 15:53:58 +02:00
Arthur Vuillard
20e34bc199
checkpoint for modoboa.admin tests in both python 2 and 3
2017-05-11 17:56:16 +02:00
Antoine Nguyen
6644ca3a55
Added python 3.4 to test matrix.
...
see #755
2017-05-10 19:09:02 +02:00
Antoine Nguyen
50397bb6d8
Added pytz as a requirement.
2017-03-30 15:45:03 +02:00
Antoine Nguyen
9374f9b30b
Updated requirements.
2017-03-16 16:19:32 +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
5dadf036a5
Bumped gevent to 1.2.1.
...
see #1059
2017-03-07 14:42:40 +01:00
Antoine Nguyen
0dc317e568
Updated doc.
2017-03-03 14:37:06 +01:00
Antoine Nguyen
01f926ca95
Django 1.0 support.
...
see #1024
2017-02-10 14:29:21 +01:00
Antoine Nguyen
5e0b5de94a
Improve documentation.
...
see #942
2016-10-14 14:24:10 +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
413d01323a
Send statistics to the API.
...
see #890
2016-06-15 21:35:45 +02:00
Antoine Nguyen
c7f48cc3e2
Add requirement.
...
see #879
2016-06-08 17:08:57 +02:00
Antoine Nguyen
7f233b2f26
DNSBL checks for domains.
...
see #879
2016-06-08 17:08:08 +02:00
Antoine Nguyen
daf3584476
Update requirements.
...
see #867
2016-04-29 17:39:21 +02:00
Antoine Nguyen
daa7b41300
Update requirements.
...
see #867
2016-04-29 12:02:09 +02:00
Antoine Nguyen
e85a0c8f77
Update requirements.
2016-04-19 10:07:16 +02:00
Antoine Nguyen
d2900ef38e
Use django-rest-swagger for API documentation.
2016-04-08 13:42:09 +02:00
Antoine Nguyen
3181f5df5d
WIP
...
see #831
2016-01-29 16:18:03 +01:00
Antoine Nguyen
32a7380259
Refactor and try to fix order.
...
see #822
2016-01-27 13:22:14 +01:00
Antoine Nguyen
3e14f88282
Fix #826
2016-01-13 16:34:31 +01:00