0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/modules
Gergely Nagy 9a01062ae2
Fix user mention processing
When mentioning a user, the markup post-processor did not handle the
case where the mentioned user did not exist well: it tried to skip to
the next node, which in turn, ended up skipping the rest of the line.

To fix this, lets skip just the mentioned, but non-existing user, and
continue processing the current node from there.

Fixes #3535.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-30 12:51:30 +02:00
..
actions
activitypub
analyze
assetfs
auth Replace deprecated math/rand functions (#30733) 2024-04-28 15:39:02 +02:00
avatar
base
cache
charset s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00
container Add container.FilterSlice function (gitea#30339) 2024-04-16 11:49:44 +02:00
csv
emoji
eventsource
generate
git Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
gitgraph models/asymkey: Implement Tag verification 2024-03-30 16:22:05 +01:00
gitrepo
graceful [FIX] make pprof labels conformant with prometheus spec 2024-03-31 17:07:14 +02:00
hcaptcha
highlight Fix 2024-03-30 15:23:48 +01:00
hostmatcher
html
httpcache
httplib [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
indexer Perform Newest sort type correctly when sorting issues (#30644) 2024-04-28 15:39:00 +02:00
issue/template
json
label
lfs fix: close file in the Upload func (#30262) 2024-04-07 15:40:31 +02:00
log Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
markup Fix user mention processing 2024-04-30 12:51:30 +02:00
mcaptcha
metrics
migration
nosql s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00
optional Add interface{} to any replacement to make fmt, exclude *.pb.go (#30461) 2024-04-15 20:01:36 +02:00
options
packages Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
paginator
pprof
private
process Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
secret
session Avoid importing modules/web/middleware in modules/session (#30584) 2024-04-21 16:28:16 +02:00
setting Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
sitemap
ssh
storage
structs [FEAT]Add Option to hide Release Archive links (#3139) 2024-04-24 15:15:55 +00:00
svg
sync
system
templates Fix user mention processing 2024-04-30 12:51:30 +02:00
test
testlogger Merge pull request '[FEAT] Mark database errors in tests as failure' (#2972) from gusted/forgejo-log-db into forgejo 2024-04-02 14:47:32 +00:00
timeutil
translation Rename ByteSize to ReadableSize 2024-03-31 20:17:12 +05:00
turnstile
typesniffer
updatechecker
uri
user
util Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
validation
web Avoid importing modules/web/middleware in modules/session (#30584) 2024-04-21 16:28:16 +02:00
webhook [FEAT] sourcehut webhooks 2024-04-05 10:20:40 +02:00