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 Fix bug of branches API with tests(#25578) (#25579) 2023-07-03 16:17:30 +02:00
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 Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00