Commit Graph
3402 Commits
Author SHA1 Message Date
Antoine Nguyen 8e5dfd67ad Added clean method for ldap_search_filter.
see #1872
2020-04-07 17:31:42 +02:00
Antoine Nguyen cd0da40593 Fixed unit test. 2020-04-02 10:03:21 +02:00
Antoine Nguyen c4f876e0c1 ldap import: avoid duplicated entries. 2020-04-02 09:55:34 +02:00
Antoine Nguyen 5b9b494593 ldap auth: fixed unit test. 2020-03-30 12:33:08 +02:00
Antoine Nguyen 56a9c44b93 ldap auth: avoid creation of duplicated identities. 2020-03-30 11:41:39 +02:00
Antoine Nguyen 6f2bca12f1 LDAP sync: skip when no DN is found. 2020-03-30 09:54:18 +02:00
Antoine Nguyen 1e12ccad20 LDAP auth: fixed wrong setting name. 2020-03-30 09:44:24 +02:00
Antoine Nguyen 9af5fa2b48 ldapauth: fixed wrong setting names. 2020-03-26 11:19:22 +01:00
Antoine Nguyen ec0f276b3f Updated translations files. 2020-03-20 13:19:44 +01:00
Antoine Nguyen 7d76275125 Updated travis config. 2020-03-09 16:02:02 +01:00
Antoine Nguyen 156adb015d Merge branch 'master' of github.com:modoboa/modoboa 2020-03-09 15:51:49 +01:00
Antoine Nguyen 87914d05c5 Updated coded function prototypes.
see #1689
2020-03-09 15:51:15 +01:00
Antoine NguyenandGitHub 9b27cf53d1 Merge pull request #1795 from tsabi/master-domain-sender
New functionality: account can send email from a domain with any address
2020-03-09 15:43:56 +01:00
Antoine NguyenandGitHub baa5fb4e4a Merge pull request #1851 from modoboa/fix/remove_rfc6266
Removed deprecated dependancy.
2020-03-03 10:52:59 +01:00
Antoine Nguyen 747ef68175 Removed deprecated dependancy.
see #1780
2020-03-03 10:38:07 +01:00
jeromelebleuandGitHub 916b4a2367 Update settings template and test_project's one (#1830) 2020-02-27 10:27:22 +01: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
Antoine NguyenandGitHub a086a1b81c New management command to import LDAP accounts. (#1845)
* New management command to import LDAP accounts.

see #1844
2020-02-24 09:14:03 +01:00
Antoine NguyenandGitHub 7cad5ef629 Merge pull request #1839 from modoboa/fix/ldap_ad_groups
Retrieve LDAP groups with AD.
2020-02-24 09:13:21 +01:00
Antoine Nguyen 9e328a3c2a Retrieve LDAP groups with AD. 2020-02-20 17:26:09 +01:00
Antoine NguyenandGitHub 2571354a27 Merge pull request #1843 from modoboa/feature/secondary_ldap_server
Added support for a secondary LDAP server.
2020-02-19 08:48:36 +01:00
Antoine Nguyen a9b56dde07 Fixed tests. 2020-02-17 18:03:27 +01:00
Antoine Nguyen 59dfecd801 Use a classmethod here. 2020-02-17 17:52:10 +01:00
Antoine Nguyen cfa3c0bee5 Fixed loop. 2020-02-17 17:42:54 +01:00
Antoine Nguyen 4f5f8ba3fa Added support for a secondary LDAP server.
see #1842
2020-02-17 17:27:25 +01:00
Antoine NguyenandGitHub 7f08e76e21 Merge pull request #1840 from modoboa/fix/ldap_login_with_simple_username
Allow login with username instead of email for LDAP.
2020-02-17 16:58:09 +01:00
Antoine Nguyen 9c85cba068 Fixed test. 2020-02-17 16:45:09 +01:00
Antoine Nguyen 5d9ac817b2 Allow login with username instead of email for LDAP.
see #1798
2020-02-17 15:52:32 +01:00
Antoine Nguyen f8d5f072f8 Fixed migration conflict. 2020-01-22 09:48:06 +01:00
Antoine NguyenandGitHub fac80445e4 Merge pull request #1829 from modoboa/feature/mail_notif_when_update_avail
Send email notification when new update is available.
2020-01-22 09:34:45 +01:00
Antoine NguyenandGitHub 7356d065d9 Merge pull request #1822 from jeromelebleu/django22
Bump Django to 2.2
2020-01-22 09:33:11 +01:00
Antoine Nguyen e056a99311 Send email notification when new update is available.
see #1402
2020-01-21 17:16:27 +01:00
Antoine NguyenandGitHub ef5f0eb75e Merge pull request #1824 from modoboa/fix/remove_permissions
Remove domain permissions when role is SimpleUsers.
2020-01-14 15:42:24 +01:00
Antoine Nguyen fe1845cd62 Better fix. 2020-01-14 14:14:15 +01:00
Antoine Nguyen 8c0d9516c3 Remove domain permissions when role is SimpleUsers.
see #1815
2020-01-14 12:22:18 +01:00
Antoine NguyenandGitHub 8b37fcfece Merge pull request #1823 from jeromelebleu/fix-multiple-strings-record
Handle multiple strings in DNS record value
2020-01-14 09:30:26 +01:00
Jérôme Lebleu 89f54f887c dnstools: handle multiple strings in record value 2020-01-13 19:40:53 +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 40e6dc838f core: use class-based views for auth 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 c4b2decff2 dnstools: fix name in apps.py 2020-01-13 09:55:17 +01:00
Jérôme Lebleu 4319205527 limits: squash old migrations to clean the creation 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
Antoine NguyenandGitHub 4fb614756c Merge pull request #1812 from jeromelebleu/drop-python2
Remove Python 2 support
2020-01-13 09:52:18 +01:00
Antoine NguyenandGitHub 5912f08eec Merge pull request #1818 from jeromelebleu/load_initial_data
Catch errors in load_initial_data command
2020-01-13 09:51:50 +01:00
Antoine NguyenandGitHub 0cc52ca38f Merge pull request #1821 from dbryar/patch-1
Update modoboa.rst
2020-01-13 09:27:25 +01:00
Daniel BryarandGitHub 0907216f82 Update modoboa.rst
You need libssl-dev to build cryptography
2020-01-11 22:51:10 +10:00
Jérôme Lebleu c30bc3174b core: catch errors in load_initial_data command 2020-01-07 18:19:15 +01:00