forgejo/modules
Giteabot dfd960f22a
Render email addresses as such if followed by punctuation () ()
Backport  by @yardenshoham

Added the following characters to the regular expression for the email:

- ,
- ;
- ?
- !

Also added a test case.

- Fixes  

# Before

![image](https://github.com/go-gitea/gitea/assets/20454870/c57eac26-f281-43ef-a51d-9c9a81b63efa)

# After

![image](https://github.com/go-gitea/gitea/assets/20454870/fc7d5c08-4350-4af0-a7f0-d1444d2d75af)

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
2023-11-11 13:26:27 +08:00
..
actions Fix activity type match in matchPullRequestEvent () () 2023-07-11 06:42:07 +00:00
activitypub Add Chef package registry () 2023-02-06 09:49:21 +08:00
analyze Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
assetfs Skip unuseful error message in dev mode when watching local filesystem () () 2023-07-17 10:26:29 +00:00
auth Use a general approach to access custom/static/builtin assets () 2023-04-12 18:16:45 +08:00
avatar Improve avatar uploading / resizing / compressing, remove Fomantic card module () 2023-05-13 20:59:11 +02:00
base Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
cache Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
charset Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
container Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
context Unify two factor check () () 2023-11-06 23:06:21 +01:00
csv Refactor locale number () 2023-04-17 11:37:23 +08:00
doctor Revert "fix orphan check for deleted branch () ()" () 2023-10-24 05:58:11 +00:00
emoji Fix unstable emoji sort () 2023-01-05 13:58:51 +02:00
eventsource Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
generate Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
git Fix git 2.11 error when checking IsEmpty () () 2023-10-02 23:30:04 +08:00
gitgraph Add context cache as a request level cache () 2023-02-15 21:37:34 +08:00
graceful Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
hcaptcha Consume hcaptcha and pwn deps () 2023-01-29 09:49:51 -06:00
highlight test_env: hardcode major go version in use () 2023-03-14 16:09:01 -04:00
hostmatcher Support allowed hosts for webhook to work with proxy () () 2023-10-18 15:07:20 +02:00
html Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
httpcache Use standard HTTP library to serve files () 2023-05-13 16:04:57 +02:00
httplib Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
indexer Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
issue/template Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
json Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
label Make label templates have consistent behavior and priority () 2023-04-10 16:44:02 +08:00
lfs Rewrite logger system () 2023-05-21 22:35:11 +00:00
log Use stderr as fallback if the log file can't be opened () () 2023-07-24 05:58:16 +00:00
markup Render email addresses as such if followed by punctuation () () 2023-11-11 13:26:27 +08:00
mcaptcha Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
metrics Use a separate admin page to show global stats, remove actions stat () 2023-06-03 22:03:41 +08:00
migration Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
mirror Improve queue and logger context () 2023-05-26 07:31:55 +00:00
nosql Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
notification Load reviewer before sending notification () () 2023-09-13 15:32:58 -05:00
options Use a general approach to access custom/static/builtin assets () 2023-04-12 18:16:45 +08:00
packages Use docs.gitea.com instead of docs.gitea.io () 2023-08-28 19:58:16 +08:00
paginator Use more specific test methods () 2023-04-22 17:56:27 -04:00
pprof Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
private Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
process Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
proxy Use proxy for pull mirror () 2023-02-11 08:39:50 +08:00
proxyprotocol Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
public Use standard HTTP library to serve files () 2023-05-13 16:04:57 +02:00
queue Calculate MAX_WORKERS default value by CPU number () () 2023-07-27 19:24:07 +08:00
recaptcha Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
references Use correct captured group range when parsing cross-reference () 2023-01-31 10:08:05 +01:00
regexplru Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repository Fix context cache bug & enable context cache for dashabord commits' authors() () 2023-09-13 15:15:00 +08:00
secret Improve decryption failure message () 2023-05-07 19:29:43 +08:00
session Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
setting Use secure cookie for HTTPS sites () () 2023-09-11 09:59:00 +00:00
sitemap Fix sitemap () 2022-12-30 23:31:00 +08:00
ssh Fix admin queue page title and fix CI failures () () 2023-08-10 11:04:48 +02:00
storage Use correct minio error () () 2023-08-21 16:51:30 +00:00
structs Fix package webhook () () 2023-10-31 11:26:06 +01:00
svg Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
sync Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
system Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
templates Fix label render containing invalid HTML () () 2023-10-24 09:39:17 +08:00
test Fix incorrect CLI exit code and duplicate error message () () 2023-08-05 23:37:04 +08:00
testlogger Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
timeutil Fix incorrect webhook time and use relative-time to display it () 2023-05-03 19:53:43 -04:00
translation Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
turnstile Add new captcha: cloudflare turnstile () 2023-02-05 15:29:03 +08:00
typesniffer Detect ogg mime-type as audio or video () () 2023-08-15 11:15:26 +08:00
updatechecker Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
upload Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
uri Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
user Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
util Replace interface{} with any () () 2023-07-04 23:41:32 -04:00
validation check blocklist for emails when adding them to account () () 2023-08-31 00:52:19 +00:00
web Fix incorrect router logger () () 2023-07-26 08:37:43 +08:00
webhook New webhook trigger for receiving Pull Request review requests () 2023-05-24 22:06:27 -04:00