gitea/modules
sommerf-lf 7cdde20c73
Email option to embed images as base64 instead of link (#32061)
ref: #15081
ref: #14037

Documentation: https://gitea.com/gitea/docs/pulls/69

# Example
Content:

![image](https://github.com/user-attachments/assets/e73ebfbe-e329-40f6-9c4a-f73832bbb181)
Result in Email:

![image](https://github.com/user-attachments/assets/55b7019f-e17a-46c3-a374-3b4769d5c2d6)
Result with source code:
(first image is external image, 2nd is now embedded)

![image](https://github.com/user-attachments/assets/8e2804a1-580f-4a69-adcb-cc5d16f7da81)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-03-05 16:29:29 +00:00
..
actions Artifacts download api for artifact actions v4 (#33510) 2025-02-16 08:32:54 +08:00
activitypub Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
analyze Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
assetfs Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
auth Fix pam auth test regression (#33169) 2025-01-09 21:09:11 +08:00
avatar Use `crypto/sha256` (#29386) 2024-02-25 13:32:13 +00:00
badge Implement actions badge svgs (#28102) 2024-02-27 18:56:18 +01:00
base chore: fix some trivial problems and TODOs (#33473) 2025-02-02 18:16:56 +00:00
cache Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
charset refactor: remove redundant err declarations (#32381) 2024-10-30 19:36:24 +00:00
container Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
csv Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
dump Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
emoji Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
eventsource Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
generate
git Remove context from git struct (#33793) 2025-03-04 11:56:11 -08:00
gitrepo Remove context from git struct (#33793) 2025-03-04 11:56:11 -08:00
globallock Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
graceful Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
gtprof Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
hcaptcha
highlight
hostmatcher Support allowed hosts for migrations to work with proxy (#32025) 2024-09-11 05:47:00 +00:00
htmlutil Refactor HTMLFormat, update chroma render, fix js error (#33136) 2025-01-08 03:44:32 +00:00
httpcache Fix wrong last modify time (#32102) 2024-09-21 21:56:25 +00:00
httplib Email option to embed images as base64 instead of link (#32061) 2025-03-05 16:29:29 +00:00
indexer Remove context from git struct (#33793) 2025-03-04 11:56:11 -08:00
issue/template Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
json
label
lfs Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
lfstransfer Fix SSH LFS memory usage (#33455) 2025-01-31 19:05:48 +08:00
log Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
markup Refactor global init code and add more comments (#33755) 2025-03-03 10:57:28 +08:00
mcaptcha
metrics Rename project board -> column to make the UI less confusing (#30170) 2024-05-27 08:59:54 +00:00
migration refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +00:00
nosql Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
optional Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
options
packages Refactor error system (#33771) 2025-03-03 05:36:10 +00:00
paginator
pprof
private Fix SSH LFS memory usage (#33455) 2025-01-31 19:05:48 +08:00
process Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
proxy
proxyprotocol
public
queue Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
recaptcha
references Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
regexplru
repository Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
reqctx [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
secret Upgrade golangci-lint to v1.64.5 (#33654) 2025-02-21 00:05:40 +08:00
session Improve oauth2 client "preferred username field" logic and the error handling (#30622) 2024-04-25 11:22:32 +00:00
setting Email option to embed images as base64 instead of link (#32061) 2025-03-05 16:29:29 +00:00
sitemap
ssh Fine tune ssh related comments and code (#32846) 2024-12-15 06:07:50 +00:00
storage Upgrade golangci-lint to v1.64.5 (#33654) 2025-02-21 00:05:40 +08:00
structs Artifacts download api for artifact actions v4 (#33510) 2025-02-16 08:32:54 +08:00
svg Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
sync Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 2024-09-06 10:12:41 +00:00
system Refactor fixture loading for testing (#33024) 2024-12-30 04:06:57 +00:00
tailmsg Support performance trace (#32973) 2025-01-21 18:57:07 +00:00
templates Worktime tracking for the organization level (#19808) 2025-02-03 01:51:12 +08:00
test Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
testlogger Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
timeutil Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
translation Refactor error system (#33771) 2025-03-03 05:36:10 +00:00
turnstile
typesniffer Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
updatechecker
uri
user Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
util Refactor error system (#33771) 2025-03-03 05:36:10 +00:00
validation Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
web chore: fix some trivial problems and TODOs (#33473) 2025-02-02 18:16:56 +00:00
webhook Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00
zstd Support compression for Actions logs (#31761) 2024-08-09 10:10:30 +08:00