0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 07:34:49 +01:00
gitea/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 Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
blame.go
branch.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
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 Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
editor_test.go
editor.go Refactor "Content" for file uploading (#25851) 2023-07-18 18:14:47 +00:00
find.go
helper_test.go
helper.go
http_test.go
http.go Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
issue_content_history.go Check ctx.Written() for GetActionIssue (#25698) 2023-07-05 18:52:12 +00:00
issue_dependency.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_label_test.go
issue_label.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
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
issue.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
main_test.go
middlewares.go
migrate.go
milestone.go Fix incorrect milestone count when provide a keyword (#25880) 2023-07-16 03:43:51 +00:00
packages.go
patch.go
projects_test.go
projects.go Fix empty project displayed in issue sidebar (#25802) 2023-07-12 16:10:35 +02:00
pull_review.go Check ctx.Written() for GetActionIssue (#25698) 2023-07-05 18:52:12 +00:00
pull.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
release_test.go
release.go Use frontend fetch for branch dropdown component (#25719) 2023-07-21 11:20:04 +00:00
render.go
repo.go Use frontend fetch for branch dropdown component (#25719) 2023-07-21 11:20:04 +00:00
search.go
topic.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
treelist.go
view_test.go
view.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
wiki_test.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
wiki.go Less naked returns (#25713) 2023-07-07 05:31:56 +00:00