gitea/models
Gusted 9d0253a9fa
Use better message for consistency check ()
- Don't log the reflect struct, but instead log the ID of the struct.
This improves the error message, as you would actually know which row is
the error.
..
admin Use a struct as test options ()
appstate Sync gitea app path for git hooks and authorized keys when starting ()
asymkey Use a struct as test options ()
auth Fix some slice problems (incorrect slice length) ()
avatars format with gofumpt ()
db Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
fixtures GetFeeds must always discard actions with dangling repo_id ()
foreignreference Store the foreign ID of issues during migration ()
issues Use a struct as test options ()
migrations Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
organization more context for models ()
packages Add Helm Chart registry ()
perm Team permission allow different unit has different permission ()
project Add missing `sorting` column in `project_issue` table ()
pull Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
repo Repository level enable package or disable ()
unit Repository level enable package or disable ()
unittest Use better message for consistency check ()
user Fix some slice problems (incorrect slice length) ()
webhook Use a struct as test options ()
access.go Move organization related structs into sub package ()
access_test.go Move organization related structs into sub package ()
action.go Don't select join table's columns ()
action_list.go GetFeeds must always discard actions with dangling repo_id ()
action_test.go GetFeeds must always discard actions with dangling repo_id ()
branches.go Use for a repo action one database transaction ()
branches_test.go more context for models ()
commit.go Collaborator trust model should trust collaborators ()
commit_status.go more context for models ()
commit_status_test.go Move repository model into models/repo ()
consistency.go [doctor] Add check/fix for bogus action rows ()
consistency_test.go [doctor] Add check/fix for bogus action rows ()
engine_test.go Refactor install page (db type) ()
error.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
fixture_generation.go Move repository model into models/repo ()
fixture_test.go Decouple unit test code from business code ()
issue.go Use for a repo action one database transaction ()
issue_assignees.go Move milestone to models/issues/ ()
issue_assignees_test.go Move some issue methods as functions ()
issue_comment.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
issue_comment_list.go Move milestone to models/issues/ ()
issue_comment_test.go Propagate context and ensure git commands run in request context ()
issue_dependency.go Use for a repo action one database transaction ()
issue_dependency_test.go Use for a repo action one database transaction ()
issue_label.go more context for models ()
issue_label_test.go more context for models ()
issue_list.go Move milestone to models/issues/ ()
issue_list_test.go Decouple unit test, remove intermediate `unittestbridge` package ()
issue_lock.go Move milestone to models/issues/ ()
issue_project.go Move milestone to models/issues/ ()
issue_stopwatch.go Improve Stopwatch behavior ()
issue_stopwatch_test.go Move user related model into models/user ()
issue_test.go Use for a repo action one database transaction ()
issue_tracked_time.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
issue_tracked_time_test.go Refactor SecToTime() function ()
issue_user.go Move repository model into models/repo ()
issue_user_test.go Move repository model into models/repo ()
issue_watch.go Add missing `X-Total-Count` and fix some related bugs ()
issue_watch_test.go A better go code formatter, and now `make fmt` can run in Windows ()
issue_xref.go Use for a repo action one database transaction ()
issue_xref_test.go Use for a repo action one database transaction ()
lfs.go Improve SyncMirrors logging ()
lfs_lock.go more context for models ()
main_test.go Use a struct as test options ()
migrate.go Move milestone to models/issues/ ()
migrate_test.go Move milestone to models/issues/ ()
notification.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
notification_test.go Move user related model into models/user ()
org.go Move organization related structs into sub package ()
org_team.go Performance improvement for add team user when org has more than 1000 repositories ()
org_team_test.go Move organization related structs into sub package ()
org_test.go Move organization related structs into sub package ()
protected_tag.go Move organization related structs into sub package ()
protected_tag_test.go Move repository model into models/repo ()
pull.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
pull_list.go Use for a repo action one database transaction ()
pull_test.go Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md ()
release.go add test coverage for original author conversion during migrations ()
repo.go Move some helper files out of models ()
repo_activity.go Fix some slice problems (incorrect slice length) ()
repo_collaboration.go Move organization related structs into sub package ()
repo_collaboration_test.go Move repository model into models/repo ()
repo_generate.go Move init repository related functions to modules ()
repo_generate_test.go Fixed assert statements. ()
repo_list.go Move some helper files out of models ()
repo_list_test.go Decouple unit test, remove intermediate `unittestbridge` package ()
repo_permission.go Use for a repo action one database transaction ()
repo_permission_test.go more context for models ()
repo_test.go Allow users to self-request a PR review ()
repo_transfer.go Move organization related structs into sub package ()
repo_transfer_test.go Move repository model into models/repo ()
review.go more context for models ()
review_test.go format with gofumpt ()
statistic.go Federation: return useful statistic information for nodeinfo ()
task.go Only check for non-finished migrating task ()
token.go Use base32 for 2FA scratch token ()
token_test.go A better go code formatter, and now `make fmt` can run in Windows ()
upload.go Remove NewSession method from db.Engine interface ()
user.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion ()
user_heatmap.go Move organization related structs into sub package ()
user_heatmap_test.go RSS/Atom support for Repos ()
user_test.go Move organization related structs into sub package ()
userlist.go Move organization related structs into sub package ()
userlist_test.go Move organization related structs into sub package ()