0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-18 21:50:01 +01:00
gitea/models
wxiaoguang 911975059a
Improve test logger (#24235)
Before, there was a `log/buffer.go`, but that design is not general, and
it introduces a lot of irrelevant `Content() (string, error) ` and
`return "", fmt.Errorf("not supported")` .


And the old `log/buffer.go` is difficult to use, developers have to
write a lot of `Contains` and `Sleep` code.


The new `LogChecker` is designed to be a general approach to help to
assert some messages appearing or not appearing in logs.
2023-04-21 16:32:25 -04:00
..
actions Treat PRs with agit flow as fork PRs when triggering actions. (#23884) 2023-04-06 16:57:30 -04:00
activities Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
admin
asymkey Prefer native parser for SSH public key parsing (#23798) 2023-04-11 14:34:28 +08:00
auth Fix 500 error if there is a name conflict when edit authentication source (#23832) 2023-03-31 22:32:18 +08:00
avatars
db Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
dbfs Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
fixtures Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
git Fix branch protection priority (#24045) 2023-04-11 13:22:49 -04:00
issues Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
migrations Improve test logger (#24235) 2023-04-21 16:32:25 -04:00
organization Add owner team permission check test (#24096) 2023-04-19 19:19:13 -04:00
packages Use ghost user if package creator does not exist (#23822) 2023-04-04 16:14:46 +08:00
perm
project Improve GetBoards and getDefaultBoard (#22981) 2023-04-09 22:07:23 +08:00
pull
repo Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
secret
system
unit Improve LoadUnitConfig to handle invalid or duplicate units (#23736) 2023-04-03 16:42:38 +08:00
unittest Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
user Fix comment for EmailNotificationsAndYourOwn constant (#24236) 2023-04-21 10:27:32 -04:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate_test.go
migrate.go
org_team_test.go
org_team.go Fix internal sever error when visiting a PR that bound to the deleted team (#24127) 2023-04-19 19:50:00 -04:00
org_test.go
org.go
repo_collaboration_test.go
repo_collaboration.go
repo_test.go
repo_transfer_test.go
repo_transfer.go
repo.go