jwinterm
f23379a251
fix: handle None from Redis in get_message_counter
...
The int response callback on hget raises TypeError when the key is
missing, so the None check in the mixin never actually executed.
Bypass the callback and handle the conversion manually.
2026-03-21 09:22:53 -04:00
jwinterm
701370d3fd
test: cover sent_messages when Redis counter is missing
2026-03-20 20:06:42 -04:00
John Winter Murphy and Christophe CHAUVET
55e86fe3f4
fix: handle None from Redis in sent_messages counter
...
When Redis keys are missing (after FLUSHALL, restart, or for new
mailboxes/domains), hget() returns None. The sent_messages property
in MessageLimitMixin now treats a missing counter as zero messages
sent, preventing TypeError on /api/v2/accounts/ and /api/v2/domains/.
2026-03-04 18:36:19 +01:00
Antoine Nguyen and GitHub
f230d0247a
Merge pull request #3958 from modoboa/fix-chardet-7-incompatibility
...
Pin chardet version in pyproject.toml
2026-03-04 17:10:25 +01:00
Christophe CHAUVET and GitHub
dd89902d79
Pin chardet version in pyproject.toml
...
CI is broken with Chardet 7.0.x
2026-03-04 16:52:09 +01:00
Antoine Nguyen and GitHub
23462680d8
Merge pull request #3954 from modoboa/3771-dovecot-self-signed-cert
...
docs: add self signed certificate tips
2026-03-04 13:32:58 +01:00
Christophe CHAUVET
ee06913f7b
docs: add self signed certificate tips
2026-03-02 16:18:29 +00:00
Antoine Nguyen and GitHub
23f445f0b7
Merge pull request #3948 from modoboa/3517-fix-dbport
...
fix: rewrite port detection value
2026-03-02 14:14:49 +01:00
Christophe CHAUVET
1aa059748a
fix: rewrite port detection value
2026-03-02 08:13:34 +00:00
Antoine Nguyen and GitHub
9bdd17e8a9
Merge pull request #3949 from modoboa/fix/missing-permissions
...
Fixed several security issues.
2026-02-27 17:43:58 +01:00
Antoine Nguyen
fd3c655bfb
Fixed wrong validation code box mbox property
2026-02-27 17:29:28 +01:00
Antoine Nguyen
e0a4e3b9ee
Fixed several security issues.
...
see #3945
2026-02-26 18:15:30 +01:00
6d1f5e9897
Translate frontend/src/locale/en/app.po in ja_JP ( #3946 )
...
100% translated source file: 'frontend/src/locale/en/app.po' on 'ja_JP'.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2026-02-26 09:23:02 +01:00
Antoine Nguyen and GitHub
fac644be9f
Merge pull request #3942 from modoboa/3924-add-spectacular-settings
...
fix: prevent http 401 on API
2026-02-25 11:10:44 +01:00
Christophe CHAUVET
66f5080a85
chore: fix typo
2026-02-25 09:55:22 +00:00
Christophe CHAUVET
e39faf426a
fix: prevent http 401 on API
...
Ref #3924
2026-02-25 09:36:16 +00:00
Antoine Nguyen and GitHub
0fe2a4db08
Merge pull request #3940 from modoboa/fix/email-reply
...
Do not load message from Drafts folder when replying.
2026-02-25 09:40:58 +01:00
Antoine Nguyen
87fd426244
Better error message.
2026-02-24 11:37:14 +01:00
Antoine Nguyen
0359bb1b87
Do not load message from Drafts folder when replying.
...
fix #3939
2026-02-24 11:26:35 +01:00
Antoine Nguyen and GitHub
3af49cff5d
Merge pull request #3938 from modoboa/translations_04c0b653215cb5fa48ab101eae1a1917_fr
...
Updates for file frontend/src/locale/en/app.po in fr
2026-02-23 16:17:27 +01:00
transifex-integration[bot] and GitHub
783df449da
Translate frontend/src/locale/en/app.po in fr
...
100% translated source file: 'frontend/src/locale/en/app.po'
on 'fr'.
2026-02-23 15:17:04 +00:00
Antoine Nguyen
8e5183a24f
Updated translation files
2026-02-23 16:15:14 +01:00
Antoine Nguyen
b74b467d1b
Updated frontend deps
2026-02-23 16:14:07 +01:00
Antoine Nguyen and GitHub
453d6eb633
Merge pull request #3937 from modoboa/task/dns-check-last-execution-date
...
Added last DNS checks execution date to Domain model.
2026-02-23 16:13:47 +01:00
Antoine Nguyen
2815310c01
Added last DNS checks execution date to Domain model.
2026-02-23 15:46:02 +01:00
Antoine Nguyen and GitHub
8db984cdf4
Merge pull request #3936 from modoboa/fix/graphics-issue-popen
...
Make graphics rendering work again after change to Popen execution mode.
2026-02-23 15:45:32 +01:00
Antoine Nguyen
a5214b42ae
Compatibility fix for chardet 6.x
2026-02-23 15:28:43 +01:00
Antoine Nguyen
15a5c1f680
Removed shell=True
2026-02-23 12:34:09 +01:00
Antoine Nguyen
02e4d18398
Make graphics rendering work again after change to Popen execution mode.
...
Since it does not use a shell anymore, "" were escaped, which prevented
JSON output to be loaded properly.
2026-02-23 10:42:09 +01:00
Antoine Nguyen and GitHub
abb72fb289
Merge pull request #3934 from modoboa/fix/prevent-os-command-injection
...
Prevent OS command injection using exec_cmd()
2026-02-21 11:48:14 +01:00
Antoine Nguyen
bf5310c131
Removed debug
2026-02-21 10:06:07 +01:00
Antoine Nguyen
45caec1929
Removed shell=True
2026-02-21 09:57:06 +01:00
Antoine Nguyen
6208f82b85
Added debug
2026-02-21 09:43:53 +01:00
Antoine Nguyen
5730213083
Use list everywhere.
2026-02-21 09:39:30 +01:00
Antoine Nguyen
a2cf6e4cb8
Removed all shell=True from command executions.
2026-02-21 09:25:36 +01:00
Antoine Nguyen and GitHub
6824d963cb
Merge pull request #3933 from modoboa/fix/password-check
...
Use django authentication function to check password.
2026-02-20 22:30:32 +01:00
Antoine Nguyen
0d8fc455cb
Make sure all args are strings
2026-02-20 22:29:03 +01:00
Antoine Nguyen
5effff7ddf
Added shell=True arg
2026-02-20 15:39:50 +01:00
Antoine Nguyen
27a7aa133d
Prevent OS command injection using exec_cmd()
...
Security issue.
2026-02-20 15:34:45 +01:00
Antoine Nguyen
2a57cd6629
Use django authentication function to check password.
...
see 3928
2026-02-20 09:59:13 +01:00
Antoine Nguyen and GitHub
82d64bb9e4
Merge pull request #3932 from modoboa/fix/iso-weeks
...
Make sure to use ISO based weeks in every case.
2026-02-19 14:43:57 +01:00
Antoine Nguyen
d51682b635
Make sure to use ISO based weeks in every case.
...
fix #3910
2026-02-19 14:26:34 +01:00
Antoine Nguyen and GitHub
ce2b67575d
Merge pull request #3931 from modoboa/fix/email-field-label-update
...
Updated email field label to make a distinction with Address field.
2026-02-19 13:49:57 +01:00
Antoine Nguyen
e9728eca12
Updated email field label to make a distinction with Address field.
...
fix #3904
2026-02-19 13:48:40 +01:00
Antoine Nguyen and GitHub
fb360eb512
Merge pull request #3930 from modoboa/doc/moving-to-modoboa
...
Added link to "Moving to Modoboa" section.
2026-02-19 13:40:15 +01:00
Antoine Nguyen
ae3a83635f
Added link to "Moving to Modoboa" section.
...
fix #3918
2026-02-19 13:36:45 +01:00
Antoine Nguyen and GitHub
b521bcb4fd
Merge pull request #3929 from modoboa/fix/django-rq-version
...
Set django-rq 3.2.2 as minimal version
2026-02-18 21:40:07 +01:00
Antoine Nguyen
abdcb3f8f0
Set django-rq 3.2.2 as minimal version
...
fix #3926
2026-02-18 15:36:31 +01:00
Antoine Nguyen and GitHub
f34f872148
Merge pull request #3927 from modoboa/fix/rspamd_maps_generation
...
Improved dkim key creation to avoid duplicate runs.
2026-02-18 15:32:22 +01:00
Antoine Nguyen
eeb09d10cb
Improved coverage
2026-02-18 13:45:59 +01:00