Commit Graph
21 Commits
Author SHA1 Message Date
Cédric Krier 5307e3303a Set email content with maintype when needed and correctly set Content-Language header
When the content is not a string, EmailMessage.set_content requires a maintype
argument but not when it is a string. The maintype is then deduced using the
mimetypes module.
The Content-Language of content or alternate must be set using the headers
parameter instead of params which is for the Content-Type.
And finally the Content-Language must be set on the main message only if it
contains multiparts otherwise it is set twice.

Closes #14028
2025-05-23 17:07:57 +02:00
Cédric Krier 1e151a15a2 Remove support for Python 3.8 2025-04-06 12:11:03 +02:00
Cédric Krier 6d8b42c687 Add support for Python 3.13 2025-04-06 12:10:20 +02:00
Cédric Krier cac922b6ca Replace passlib by pwdlib
Closes #12936
2024-12-01 14:25:26 +01:00
Cédric Krier 01e715bb05 Add plural to language 2024-10-16 22:46:26 +02:00
Cédric Krier a75f6b3f9c Test access to report execute 2024-09-12 16:10:29 +02:00
Cédric Krier cd1c57dddf Use UPSERT to update cache 2024-06-23 08:39:41 +02:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +01:00
Cédric Krier 3567c87ebc Test workflow graph report 2023-11-19 17:50:14 +01:00
Cédric Krier b43f3165fb Do not fail on DNSException when running test
Closes #12628
2023-10-21 16:22:50 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier 2d599f67cf Replace pkg_resources by importlib
pkg_resources is deprecated in favor of importlib.resources,
importlib.metadata.
2023-10-23 16:49:01 +02:00
Cédric Krier 66f10aed84 Add email validation tools 2023-04-29 18:52:40 +02:00
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Cédric Krier 4e3b817b81 Require at least version 0.12 of werkzeug
Closes #12021
2023-02-19 11:23:50 +01:00
Cédric Krier 871695b912 Add support for barcode and QR code
Closes #11791
2022-12-26 22:32:03 +01:00
Cédric Krier 1ca173894b Use standard functools.wraps instead of wrapt 2023-01-14 11:43:51 +01:00
Cédric Krier 98cbb23f58 Improve setup.py
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier 5d3e4a39f2 Prepare migration to monorepo 2022-12-16 23:16:08 +01:00
Cédric Krier cc8faa6699 Prepare migration to monorepo 2022-12-16 14:43:04 +01:00