0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 05:42:49 +01:00
gitea/modules/convert
zeripath ea86c2b56a
Use GhostUser if needed for TrackedTimes (#22021)
When getting tracked times out of the db and loading their attributes
handle not exist errors in a nicer way. (Also prevent an NPE.)

Fix #22006

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-12-04 17:48:18 +00:00
..
convert.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
git_commit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
git_commit_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
issue.go Use GhostUser if needed for TrackedTimes (#22021) 2022-12-04 17:48:18 +00:00
issue_comment.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
issue_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mirror.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
package.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
pull.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
pull_review.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
pull_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
release.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repository.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
status.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
user.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
utils.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
utils_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
wiki.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00