forgejo-federation/modules
Yarden Shoham f5ce2ed292
Allow all URL schemes in Markdown links by default (#24805)
- Closes #21146
- Closes #16721

## ⚠️ BREAKING ⚠️
This changes the default behavior to now create links for any URL scheme
when the user uses the markdown form for links (`[label](URL)`), this
doesn't affect the rendering of inline links. To opt-out set the
`markdown.CUSTOM_URL_SCHEMES` setting to a list of allowed schemes, all
other schemes (except `http` and `https`) won't be allowed.

# Before

![image](https://github.com/go-gitea/gitea/assets/20454870/35fa18ce-7dda-4995-b5b3-3f360f38296d)

# After

![image](https://github.com/go-gitea/gitea/assets/20454870/0922216b-0b35-4b77-9919-21a5c21dd5d0)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-19 17:17:07 +02:00
..
actions show workflow config error on file view also (#24267) 2023-04-22 22:16:54 -04:00
activitypub
analyze
assetfs
auth
avatar Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
base
cache
charset
container
context Refactor Pull Mirror and fix out-of-sync bugs (#24732) 2023-05-15 19:02:10 +00:00
csv
doctor Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
emoji
eventsource
generate
git Add status indicator on main home screen for each repo (#24638) 2023-05-13 21:59:01 +00:00
gitgraph
graceful Implement systemd-notify protocol (#21151) 2023-05-15 22:20:30 +00:00
hcaptcha
highlight
hostmatcher
html
httpcache Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
httplib Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
indexer Some refactors for issues stats (#24793) 2023-05-19 22:17:48 +08:00
issue/template
json
label
lfs Make repository response support HTTP range request (#24592) 2023-05-09 15:34:36 +08:00
log Enable forbidigo linter (#24278) 2023-04-24 05:50:58 -04:00
markup Allow all URL schemes in Markdown links by default (#24805) 2023-05-19 17:17:07 +02:00
mcaptcha
metrics
migration
mirror Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
nosql
notification Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
options
packages Add Go package registry (#24687) 2023-05-14 23:38:40 +08:00
paginator
pprof
private
process
proxy
proxyprotocol
public Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
queue Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
recaptcha
references
regexplru
repository Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
secret Improve decryption failure message (#24573) 2023-05-07 19:29:43 +08:00
session
setting Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
sitemap
ssh
storage Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
structs Make repo migration cancelable and fix various bugs (#24605) 2023-05-11 08:25:46 +00:00
svg
sync
system
templates Modify luminance calculation and extract related functions into single files (#24586) 2023-05-10 11:19:03 +00:00
test Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
testlogger Make testlogger output "TestLogger" prefix (#24683) 2023-05-12 14:20:29 +00:00
timeutil Fix incorrect webhook time and use relative-time to display it (#24477) 2023-05-03 19:53:43 -04:00
translation Make repo size style matches others (commits/branches/tags) (#24408) 2023-04-28 17:23:19 -04:00
turnstile
typesniffer
updatechecker
upload
uri
user
util Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
validation
web Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
webhook