Commit Graph
106 Commits
Author SHA1 Message Date
dependabot[bot]andGitHub f0b20d9e2e Bump django-otp from 1.0.2 to 1.0.3
Bumps [django-otp](https://github.com/django-otp/django-otp) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/django-otp/django-otp/releases)
- [Changelog](https://github.com/django-otp/django-otp/blob/master/CHANGES.rst)
- [Commits](https://github.com/django-otp/django-otp/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-07 08:20:31 +00:00
Antoine Nguyen bad2a96a61 Removed django-braces requirement. 2021-04-07 09:54:38 +02:00
Jérôme Lebleu f08157ff6a Accept rrdtool version of current Debian package 2021-02-08 17:03:25 +01:00
dependabot[bot]andGitHub 59af8feb18 Bump django-reversion from 3.0.8 to 3.0.9
Bumps [django-reversion](https://github.com/etianen/django-reversion) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/etianen/django-reversion/releases)
- [Changelog](https://github.com/etianen/django-reversion/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/etianen/django-reversion/compare/v3.0.8...v3.0.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 08:58:26 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Christophe CHAUVET
268414ace8 Update djangorestframework requirement from <3.12,>=3.11 to >=3.11,<3.13 (#2052)
Updates the requirements on [djangorestframework](https://github.com/encode/django-rest-framework) to permit the latest version.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/compare/3.11.0...3.12.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2020-11-10 20:29:31 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Christophe CHAUVET
eca303ee30 Bump django-reversion from 3.0.5 to 3.0.8 (#2060)
Bumps [django-reversion](https://github.com/etianen/django-reversion) from 3.0.5 to 3.0.8.
- [Release notes](https://github.com/etianen/django-reversion/releases)
- [Changelog](https://github.com/etianen/django-reversion/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/etianen/django-reversion/compare/v3.0.5...v3.0.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2020-11-10 20:17:55 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Christophe CHAUVET
2ab3bc3956 Bump feedparser from 5.2.1 to 6.0.2 (#2068)
Bumps [feedparser](https://github.com/kurtmckee/feedparser) from 5.2.1 to 6.0.2.
- [Release notes](https://github.com/kurtmckee/feedparser/releases)
- [Changelog](https://github.com/kurtmckee/feedparser/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/kurtmckee/feedparser/compare/5.2.1...6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2020-11-10 18:55:39 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
21d101b6d6 Bump jsonfield from 2.0.2 to 3.1.0 (#2053)
Bumps [jsonfield](https://github.com/rpkilby/jsonfield) from 2.0.2 to 3.1.0.
- [Release notes](https://github.com/rpkilby/jsonfield/releases)
- [Changelog](https://github.com/rpkilby/jsonfield/blob/master/CHANGES.rst)
- [Commits](https://github.com/rpkilby/jsonfield/compare/2.0.2...3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 17:16:35 +00:00
Antoine Nguyen 591f9b9a1d Added drf-spectacular.
fix #2071
2020-11-09 20:55:40 +01:00
Christophe CHAUVETandGitHub 8b3af1ae17 Update Gevent and Greenlet version together (#2063) 2020-10-24 16:13:48 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3bb0c3d384 Bump django-ckeditor from 5.8.0 to 6.0.0 (#2057)
Bumps [django-ckeditor](https://github.com/django-ckeditor/django-ckeditor) from 5.8.0 to 6.0.0.
- [Release notes](https://github.com/django-ckeditor/django-ckeditor/releases)
- [Changelog](https://github.com/django-ckeditor/django-ckeditor/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/django-ckeditor/django-ckeditor/compare/5.8.0...6.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-24 11:16:52 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c15b4fbb97 Bump django-phonenumber-field[phonenumbers] from 4.0.0 to 5.0.0 (#2056)
Bumps [django-phonenumber-field[phonenumbers]](https://github.com/stefanfoulis/django-phonenumber-field) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/stefanfoulis/django-phonenumber-field/releases)
- [Changelog](https://github.com/stefanfoulis/django-phonenumber-field/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/stefanfoulis/django-phonenumber-field/compare/4.0.0...5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-24 12:43:36 +02:00
Antoine NguyenandGitHub 0227af1744 Merge pull request #2059 from modoboa/dependabot/pip/passlib-approx-eq-1.7.4
Update passlib requirement from ~=1.7.3 to ~=1.7.4
2020-10-23 21:20:05 +02:00
dependabot[bot]andGitHub d5b02a6a68 Update passlib requirement from ~=1.7.3 to ~=1.7.4
Updates the requirements on [passlib](https://passlib.readthedocs.io) to permit the latest version.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 18:04:39 +00:00
dependabot-preview[bot]andGitHub abb41b08ae Bump django-otp from 1.0.1 to 1.0.2
Bumps [django-otp](https://github.com/django-otp/django-otp) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/django-otp/django-otp/releases)
- [Changelog](https://github.com/django-otp/django-otp/blob/master/CHANGES.rst)
- [Commits](https://github.com/django-otp/django-otp/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 17:46:51 +00:00
Antoine Nguyen 3e7b817510 Bumped passlib to 1.7.3
fix #2036
2020-10-21 15:41:05 +02:00
Antoine NguyenandGitHub a40d46db94 Feature/tfa (#2037)
* WIP: two-factor authentication.

* Added support for 2FA using TOTP devices.

see #1760 #1672 #1455

* Added documentation.

* Updated documentation.

* Added missing qrcode requirement.

* Fixed unit tests.
2020-10-21 10:42:56 +02:00
Antoine NguyenandGitHub 08360400a9 Improved notifications management in MX checks. (#2015)
* Improved notifications management in MX checks.

see #1820

* Increased alarm internal code length.

* Force greenlet 0.4.16 due to a binary issue with 0.4.17.

* Improved coverage.
2020-09-25 21:27:24 +02: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
Michael CramerandGitHub 0cada520d6 bump gevent to 1.5.0
fixes #1875
2020-08-30 14:10:36 +02:00
Antoine Nguyen 4053204c38 WIP: new policy daemon. 2020-06-12 17:59:06 +02:00
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
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