0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-12 00:28:41 -05:00
forgejo/tests
Earl Warren 5aad8a6918
[GITEA] enable system users for comment.LoadPoster
System users (Ghost, ActionsUser, etc) have a negative id and may be
the author of a comment, either because it was created by a now
deleted user or via an action using a transient token.

The GetPossibleUserByID function has special cases related to system
users and will not fail if given a negative id.

Refs: https://codeberg.org/forgejo/forgejo/issues/1425
(cherry picked from commit 97667e06b3)
2023-09-12 11:02:07 +02:00
..
e2e
fuzz
gitea-lfs-meta
gitea-repositories-meta
integration [GITEA] enable system users for comment.LoadPoster 2023-09-12 11:02:07 +02:00
mssql.ini.tmpl Do not use deprecated log config options by default (#26592) (#26600) 2023-08-21 07:27:20 +02:00
mysql.ini.tmpl Do not use deprecated log config options by default (#26592) (#26600) 2023-08-21 07:27:20 +02:00
mysql8.ini.tmpl Do not use deprecated log config options by default (#26592) (#26600) 2023-08-21 07:27:20 +02:00
pgsql.ini.tmpl Do not use deprecated log config options by default (#26592) (#26600) 2023-08-21 07:27:20 +02:00
sqlite.ini.tmpl Do not use deprecated log config options by default (#26592) (#26600) 2023-08-21 07:27:20 +02:00
test_utils.go