Commit Graph
3348 Commits
Author SHA1 Message Date
Jérôme Lebleu 0823d1ae77 Remove [bdist_wheel] section from setup.cfg 2020-01-07 10:16:54 +01:00
Jérôme Lebleu b665cc442d Update setup.py and add python_requires 2020-01-07 10:16:54 +01:00
Jérôme Lebleu 09434afd9e Remove usage of six 2020-01-07 10:16:54 +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
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
Jérôme Lebleu 4c4c08d453 Drop Python 2.7 from tests and doc 2020-01-07 10:16:54 +01:00
Jérôme LebleuandAntoine Nguyen db12a4aeef test: skip ldapsync if it is not available 2020-01-07 09:34:39 +01:00
Jérôme LebleuandAntoine Nguyen c0aedd04d5 core: mark dbpath as safe for Postfix maps
When tests are using SQLite as database backend, the database name can
contain '&' which is escaped if `dbname` is unsafe.
2020-01-07 09:34:39 +01:00
Jérôme LebleuandAntoine Nguyen 6868654416 Update tested modules in tox.ini 2020-01-07 09:34:39 +01:00
Jérôme LebleuandAntoine Nguyen 5eb7affc23 Update Python versions in tox.ini 2020-01-07 09:34:39 +01:00
Antoine NguyenandGitHub 7658835f93 Merge pull request #1814 from jeromelebleu/fix-domain-admins
Fix account removal from domain admins
2020-01-06 10:12:03 +01:00
Jérôme Lebleu 2b23f5a9be admin: fix account removal from domain admins 2020-01-03 15:16:36 +01:00
Antoine NguyenandGitHub a3d0de77fa Merge pull request #1807 from timgates42/bugfix/typo_detailed
Fix simple typo: detailled -> detailed
2019-12-17 09:43:18 +01:00
Tim Gates b15abab340 Fix simple typo: detailled -> detailed
Closes #1806
2019-12-17 17:08:47 +11:00
Antoine NguyenandGitHub df915f4e94 Merge pull request #1790 from Arvedui/argon2_fix_password_mismatch
Fix exception handling in argon2 for mismatching passwords
2019-12-03 10:32:00 +01:00
Arvedui 672a702673 Fix exception handling in argon2 for mismatching passwords 2019-12-02 23:43:28 +01:00
Antoine NguyenandGitHub 138c62e35a Merge pull request #1778 from kokel/fix-docs-ldapsync
doc: fix ldapsync parameters table.
2019-12-02 16:47:40 +01:00
Antoine Nguyen 1e228ab608 Removed Python 3.4 from test matrix. 2019-12-02 15:07:17 +01:00
Tobias Hachmer 7ae977d78d doc: fix ldapsync parameters table. 2019-09-24 21:35:42 +02:00
Antoine Nguyen 9fcd133bc8 doc: fixed label syntax. 2019-07-09 09:55:01 +02:00
Antoine NguyenandGitHub 1d430ba96e Changed message field type to TextField. (#1754)
fix #1743
2019-07-05 14:51:28 +02:00
Tom HendrikxandAntoine Nguyen bb78d6b5e2 Remove lots of dead and/or unreliable DNSBLs from the default list. (#1748) 2019-06-25 15:02:24 +02:00
Antoine Nguyen 115dab7a6c Try to upgrade postgres version. 2019-06-13 12:32:02 +02:00
Antoine Nguyen f80eff16db ldap auth direct bind fix
set AUTH_LDAP_BIND_AS_AUTHENTICATING_USER to True when direct bind auth
is enabled because we need to access user attributes.

See https://django-auth-ldap.readthedocs.io/en/latest/authentication.html#customizing-authentication
2019-06-13 12:13:26 +02:00
Antoine Nguyen da24e2c877 ldapsync: do not sync empty passwords. 2019-06-07 17:21:48 +02:00
Antoine Nguyen 032b370a68 Updated locales. 2019-06-07 11:00:22 +02:00
Antoine Nguyen e38d173d40 Merge branch 'master' of github.com:modoboa/modoboa 2019-06-07 10:23:50 +02:00
Antoine Nguyen 98a400293c ldap: deactivate password update when sync is enabled. 2019-06-07 10:23:17 +02:00
jeromelebleuandAntoine Nguyen 793dba96cb Make dependency to argon2 optional (#1701) 2019-05-17 09:29:06 +02:00
Antoine Nguyen 1af015c6c6 Do not activate ldapsync app by default. 2019-05-07 12:35:44 +02:00
Antoine Nguyen 657b88882f Updated documentation. 2019-05-07 12:31:27 +02:00
Antoine Nguyen e74a45095f Updated translations. 2019-05-07 11:30:30 +02:00
Antoine NguyenandGitHub ab592c3d02 LDAP synchronization process (#1732)
* Initial commit for LDAP sync process.

* Fixed unit tests.

* Added doc and run ldapsync tests on travis.

* Removed server address.

* Force bytes when calling ldap methods.

* Fixed tests compat with python2.

* Do not force bytes here.

* Force bytes.

* Force bytes for attribute names too.

* Disable bytes mode in PY2.

* Handle account removals.

* Fixed unit tests.

* Limit sync to simple users.

* Fixed unit test.

* Fixed unit test.
2019-05-07 10:48:00 +02:00
Antoine Nguyen 76109337aa Fixed doc. 2019-04-29 12:15:53 +02:00
Antoine NguyenandGitHub 6d934435f5 Merge pull request #1722 from Eveley/remove-bad-dnsbl
Removed bad DNSBL bad.psky.me - see issue #1721.
2019-04-24 16:33:10 +02:00
Chris Eveley 24efdf16e3 Removed bad DNSBL bad.psky.me - see issue #1721. 2019-04-22 09:41:52 +02:00
Antoine NguyenandGitHub 3e2ddc001d Merge pull request #1690 from Arvedui/argon2
Argon2 support
2019-03-19 09:08:20 +01:00
Arvedui bd2ad0ce3f fixup! add test for rehash on login for parameter update 2019-03-13 22:20:10 +01:00
Arvedui 0a7a7a10bb fixup! Implement support for the argon2 password hash 2019-03-13 22:19:20 +01:00
Arvedui 3e072debad add test for rehash on login for parameter update 2019-03-03 12:42:11 +01:00
Arvedui c4108a1544 add basic test for argon2 hash 2019-03-03 12:41:43 +01:00
Arvedui 6145965154 Implement support for the argon2 password hash 2019-03-03 00:38:00 +01:00
Arvedui ab0926f916 add facilities to rehash on login passwords if parameters change 2019-03-03 00:17:27 +01:00
Antoine NguyenandGitHub dd2e8ab360 Merge pull request #1686 from Arvedui/fix_rounds_parameter
fix regression that caused the rounds parameter to be ignored
2019-03-01 12:11:51 +01:00
Arvedui af72e52db2 fix regression that caused the rounds parameter to be ignored 2019-02-28 21:48:55 +01:00
Antoine Nguyen 404f4bc0f5 Fixed doc. 2019-02-28 14:40:13 +01:00
Antoine Nguyen 3cfdcff53e Added 1.13.1 documentation. 2019-01-31 19:16:39 +01:00
Antoine NguyenandGitHub d1a5253e1f Merge pull request #1631 from alexander255/patch-1
Allow users to send emails from alias domains
2019-01-31 19:08:02 +01:00