Commit Graph
384 Commits
Author SHA1 Message Date
Antoine Nguyen 7bcd3f6eb2 Added missing permissions on API endpoints 2023-02-27 11:12:21 +01:00
Spitap 33e10248ad fixed tests 2023-02-18 11:52:11 +01:00
Antoine Nguyen a08bf13171 Fixed formating issues. 2023-02-10 18:58:18 +01:00
Spitap b79dffada8 fixed test 2023-02-08 14:08:16 +01:00
Spitap 8c0fb3d4ff Better throttle, attempt to have proper UX 2023-02-07 12:47:58 +01:00
Spitap 5cf2976013 Added comment 2023-02-06 11:09:35 +01:00
Spitap fdbf30bf4c better throttling, doc updated 2023-02-06 10:48:06 +01:00
Spitap b707ae292c use of url for the throttle scope of ddos 2023-02-01 14:09:28 +01:00
Spitap bee1342f4d fix 2023-02-01 12:16:44 +01:00
Spitap cbfac68b97 Make throttling more strict 2023-01-27 22:03:09 +01:00
Spitap bde07163b0 Fixed default throttle class 2023-01-27 17:41:32 +01:00
Spitap 126f3a7ea5 Tried to create test 2023-01-27 17:15:42 +01:00
Spitap 2e9f43d3a7 Improved custom throttling 2023-01-27 16:55:45 +01:00
Spitap 0d2f3d05a3 Added throttling to v2 api routes 2023-01-27 16:27:52 +01:00
Spitap 0146175153 Refactoring, better tests 2022-12-28 18:42:58 +01:00
Spitap 1a0a4395d4 removed useless file write 2022-08-30 15:33:26 +02:00
Antoine Nguyen 03eddeb5f5 Added missing requirement.
fix #2510
2022-05-10 16:45:23 +02:00
Antoine Nguyen 74984d3420 Import / export features 2022-04-21 18:13:08 +02:00
Antoine Nguyen 4ef53a8cd7 Django 3.2 support 2022-04-20 11:39:43 +02:00
Mohamed Jamal GhayyadandAntoine Nguyen 6e26b718d8 Patch for imap4-utf-7 on Debian 11 and Python 3.9 #227
Patch for imap4-utf-7 on Debian 11 and Python 3.9 #227
2022-02-04 14:45:31 +01:00
Antoine Nguyen f7c59390c6 Fixed issue introduced by lxml 4.7+
Looks like the html.tostring() function does not respect the encoding
setting anymore, the ascii value in particular...
2022-01-13 10:45:00 +01:00
Antoine Nguyen 45a7b4e74f Added message log view in new frontend. 2021-07-01 09:02:17 +02:00
Antoine Nguyen aed0614660 Better handling of API communication errors.
fix #2087
2021-06-30 14:20:37 +02:00
Antoine Nguyen a07d7b906b Merge branch 'master' into refacto/vuejs_interface 2021-05-30 09:53:50 +02:00
Antoine Nguyen bad2a96a61 Removed django-braces requirement. 2021-04-07 09:54:38 +02:00
Antoine Nguyen b81d2657f9 Merge branch 'master' into refacto/vuejs_interface 2021-02-12 21:35:47 +01:00
Antoine NguyenandGitHub 2a5e983fab Merge pull request #2159 from jeromelebleu/fix/api-revision
Wrap ModelViewSet requests to a revision block
2021-02-12 11:32:12 +01:00
Antoine Nguyen 1827bce52d Run doveadm command as vmail user.
see #2084
2021-02-11 17:16:21 +01:00
Jérôme Lebleu 233a8fe9fd Wrap ModelViewSet requests to a revision block 2021-02-11 15:17:30 +01:00
Antoine Nguyen b9f233c126 Introduced API versioning. 2020-10-30 18:49:30 +01:00
Antoine Nguyen 8898eda7c4 Merge branch 'master' into refacto/vuejs_interface 2020-10-07 10:14:27 +02:00
Antoine Nguyen f50c1fa679 Convert bytes output to str.
see #1990
2020-08-24 15:23:11 +02:00
Antoine Nguyen cb0197c609 Retrieve password by SMS.
see #1877
2020-04-21 11:34:29 +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 87914d05c5 Updated coded function prototypes.
see #1689
2020-03-09 15:51:15 +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 Nguyen 5d9ac817b2 Allow login with username instead of email for LDAP.
see #1798
2020-02-17 15:52:32 +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
Antoine Nguyen 250300f7ef Added support for unit when defining a quota.
see #1514
2018-10-17 13:42:51 +02:00
Anthony Bourguignon 2c4d707305 Improve code quality (again) 2018-10-14 12:50:32 +02:00
Anthony Bourguignon bb05f502cf Fix an issue with __metaclass__ in python3
improve code quality
2018-10-14 12:41:59 +02:00
Anthony Bourguignon 1836cee5fb Improve code quality
move doveadm call to sysutils
password hashers name and label are now class properties
2018-10-14 10:33:58 +02:00
Antoine Nguyen 69a5a2c243 Do not try to decode empty string. 2018-10-12 22:30:22 +02:00
Antoine Nguyen b9ff6ce6a6 fixed: enhanced decoding for SMTPUTF8 support.
see #1585
2018-10-12 16:44:25 +02:00
Antoine Nguyen 865c9226c1 Added settings to serializer. 2018-10-05 14:06:59 +02:00