Commit Graph
78 Commits
Author SHA1 Message Date
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
jeromelebleuandAntoine 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 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 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 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
Christophe CHAUVETandAntoine 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
Antoine Nguyen 7418f7ed6c Make sure to install Django 1.8.7 !! 2015-12-02 19:21:17 +01:00
Antoine Nguyen c40af540a1 Make sure Django 1.9 won't be installed. 2015-12-02 19:19:05 +01:00
Antoine Nguyen 68b5fc1a3e First draft of a REST API.
see #523
2015-11-27 14:48:07 +01:00
Antoine Nguyen ab99a05dd2 Django 1.8 compat.
see #787
2015-11-15 15:16:06 +01:00
Antoine Nguyen 8d2dadfdd0 Update requirements. 2015-11-10 15:25:19 +01:00
Antoine Nguyen 2e5b4cefd4 django-passwords 0.3.4 2015-10-21 10:25:54 +02:00
Antoine Nguyen 066c10b5b1 Passwords complexity rules.
fix #758
2015-07-22 10:37:57 +02:00