forgejo/routers/web/repo
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055)
To avoid deadlock problem, almost database related functions should be
have ctx as the first parameter.
This PR do a refactor for some of these functions.
2023-07-22 22:14:27 +08:00
..
actions Actions Artifacts support uploading multiple files and directories (#24874) 2023-07-21 10:42:01 +08:00
setting Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go
commit.go
compare.go Use frontend fetch for branch dropdown component (#25719) 2023-07-21 11:20:04 +00:00
download.go
editor.go Refactor "Content" for file uploading (#25851) 2023-07-18 18:14:47 +00:00
editor_test.go
find.go
helper.go
helper_test.go
http.go
http_test.go
issue.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_content_history.go
issue_dependency.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_stopwatch.go
issue_test.go
issue_timetrack.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_watch.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go
projects_test.go
pull.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
pull_review.go
release.go Use frontend fetch for branch dropdown component (#25719) 2023-07-21 11:20:04 +00:00
release_test.go
render.go
repo.go Use frontend fetch for branch dropdown component (#25719) 2023-07-21 11:20:04 +00:00
search.go
topic.go
treelist.go
view.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
view_test.go
wiki.go
wiki_test.go