Commit Graph
114 Commits
Author SHA1 Message Date
rdzantoine.pro@gmail.comandAntoine Nguyen 02201381d6 add allow_special_characters for random pwd option to parameters form 2025-06-23 10:03:06 +02:00
Antoine Nguyen 0a001364d0 WIP: remove legacy interface 2025-06-08 15:12:48 +02:00
Antoine Nguyen 4458e82c25 New fixes 2025-02-18 16:15:44 +01:00
Antoine Nguyen 01fb00c38c Replaced pylint by ruff 2025-02-17 17:44:02 +01:00
Antoine Nguyen 89cc0cf2a3 Code reformatted using black 2024-02-20 21:45:07 +01:00
Spitap d9ee525218 don't take the redis fail case 2024-02-13 13:05:41 +01:00
Spitap 99b27819f5 nullable domain on alarms, improved password scheme caching 2024-02-13 12:40:16 +01:00
Spitfireap 91ff9e26f0 Make password scheme caching more permissive 2024-01-12 17:04:15 +01:00
SpitfireapandSpitfireap 81fefe81e1 Use REDIS cache instead, updated frontend locals
Removed old code
2023-11-07 19:43:49 +01:00
Spitap 7da3017745 squashed old attempt
Refactor

Improved test

Revert "Use SimpleWorker for the job test"

This reverts commit f7ea07d19a43ba0455d3a251c216c50f94a1ac66.

Force job to run

Empty queue before bursting jobs

Added test

Updated test

Switched json encoder

Removed call to doveadm on user login

Fixed issues, updated doc

Reduce doveadm calls
2023-11-07 19:43:44 +01:00
Spitap 3ba8c5cdfd Removed deprecation 2023-05-04 08:17:29 +02:00
SpitfireapandGitHub e8e26e1a6b Update app_settings.py 2023-03-03 09:00:06 +00:00
Spitap 7c9ad9a4ec Specify that threshold is in days 2023-03-03 09:38:50 +01:00
Spitap c0c120ab44 Merge from master 2023-02-27 10:11:35 +01:00
Spitap 1f6ac324fd Fixed tests 2023-02-26 19:18:25 +01:00
Spitap 2aea37db22 Handle disabling by a flag 2023-02-26 19:04:04 +01:00
Spitap a53aaddce3 Added ability to disable inactive accounts 2023-02-25 16:13:25 +01:00
Spitap 00a6b63841 added pdfcredential native support 2023-02-18 11:52:04 +01:00
Antoine Nguyen 2d9ae1c89b Added information page about components in UI v2 2023-01-25 13:57:44 +01:00
Antoine Nguyen 812608978f Added unit tests about parameters API. 2021-06-02 11:23:00 +02:00
Antoine Nguyen ea98bed16b Changes:
* Updated parameter forms
* Updated layout
* Updated login page
* Added 2FA authentication
2021-05-29 09:57:35 +02:00
Antoine Nguyen b81d2657f9 Merge branch 'master' into refacto/vuejs_interface 2021-02-12 21:35:47 +01:00
Antoine Nguyen 1827bce52d Run doveadm command as vmail user.
see #2084
2021-02-11 17:16:21 +01:00
Antoine Nguyen 8898eda7c4 Merge branch 'master' into refacto/vuejs_interface 2020-10-07 10:14:27 +02:00
Antoine Nguyen 49017ac374 Fixed pep8 issues. 2020-05-05 21:50:12 +02:00
Antoine Nguyen 5497930244 Merge branch 'master' of github.com:modoboa/modoboa 2020-05-05 21:36:54 +02:00
Clément RivièreandGitHub 8fa842d92c LDAP Authentication - Webmail / Dovecot (#1876)
* Adding settings options for dovecot ldap sync

* Creating update_dovecot_conf command

* Adding async command to update dovecot ldap conf

* Adding unit tests

* Adding port to dovecot generated uris & unit tests

* Code improvement & doc update & tests update
2020-05-05 21:36:29 +02:00
Antoine Nguyen 09fb2201a8 Fixed error. 2020-05-05 08:11:47 +02:00
Antoine Nguyen 9a13121fde Improved coverage. 2020-04-21 13:58:31 +02:00
Antoine Nguyen cb0197c609 Retrieve password by SMS.
see #1877
2020-04-21 11:34:29 +02:00
Antoine Nguyen 8e5dfd67ad Added clean method for ldap_search_filter.
see #1872
2020-04-07 17:31:42 +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 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 Nguyen 9e328a3c2a Retrieve LDAP groups with AD. 2020-02-20 17:26:09 +01:00
Antoine Nguyen 4f5f8ba3fa Added support for a secondary LDAP server.
see #1842
2020-02-17 17:27:25 +01:00
Antoine Nguyen e056a99311 Send email notification when new update is available.
see #1402
2020-01-21 17:16:27 +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
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 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
Anthony Bourguignon b321228a82 Improve code quality 2018-10-13 12:00:57 +02:00
Anthony Bourguignon fcb3208e20 check for dovecot supported password schemes
call doveadm pw -l to list password schemes
only show supported password schemes
2018-10-13 11:47:29 +02:00
Anthony Bourguignon b88f5d9fa5 improve code quality 2018-10-09 12:09:59 +02:00
Anthony Bourguignon 5955adfdab add a parameter to choose between updating the password to the default scheme or not 2018-10-05 15:52:16 +02:00
Antoine Nguyen 6d17cb4f30 All parameters are migrated. 2018-10-05 14:06:59 +02:00
Antoine Nguyen 865c9226c1 Added settings to serializer. 2018-10-05 14:06:59 +02:00
Antoine Nguyen 19f2af429a Better parameters management. 2018-10-05 14:06:59 +02:00
Antoine Nguyen af1461469a WIP: new system to manage settings. 2018-10-05 14:06:59 +02:00