1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/routers/private
Lunny Xiao b167f35113
Add context parameter to some database functions ()
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.go parseScope with owner/repo always sets owner to zero () 2023-07-19 21:21:51 +08:00
default_branch.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" () 2023-03-29 14:32:26 +08:00
hook_post_receive.go Use the type RefName for all the needed places and fix pull mirror sync bugs () 2023-05-26 01:04:48 +00:00
hook_pre_receive.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
hook_proc_receive.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" () 2023-03-29 14:32:26 +08:00
hook_verification.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" () 2023-03-29 14:32:26 +08:00
internal_repo.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" () 2023-03-29 14:32:26 +08:00
internal.go Add gitea manager reload-templates command () 2023-05-22 23:51:40 +08:00
key.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" () 2023-03-29 14:32:26 +08:00
mail.go Prevent multiple To recipients () 2023-01-22 08:23:52 -06:00
manager_process.go Replace interface{} with any () 2023-07-04 18:36:08 +00:00
manager_unix.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
manager_windows.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" () 2023-03-29 14:32:26 +08:00
manager.go Fix logger refactoring regression: manager logging add () 2023-05-24 08:09:33 +08:00
restore_repo.go Fix regression: access log template, gitea manager cli command () 2023-05-22 09:38:38 +08:00
serv.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" () 2023-03-29 14:32:26 +08:00
ssh_log.go Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00