gitea/routers/private
Lunny Xiao 3b2da7e4ae
Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143)
Partially Fix #25041

This PR redefined the meaning of column `is_active` in table
`action_runner_token`.
Before this PR, `is_active` means whether it has been used by any
runner. If it's true, other runner cannot use it to register again.

In this PR, `is_active` means whether it's validated to be used to
register runner. And if it's true, then it can be used to register
runners until it become false. When creating a new `is_active` register
token, any previous tokens will be set `is_active` to false.
2023-09-27 05:37:48 +00:00
..
tests/repos Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
actions.go Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) 2023-09-27 05:37:48 +00:00
default_branch.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
hook_post_receive.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
hook_pre_receive.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
hook_proc_receive.go
hook_verification_test.go Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
hook_verification.go Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
internal_repo.go
internal.go Add gitea manager reload-templates command (#24843) 2023-05-22 23:51:40 +08:00
key.go
mail.go
main_test.go Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
manager_process.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
manager_unix.go
manager_windows.go
manager.go Fix logger refactoring regression: manager logging add (#24847) 2023-05-24 08:09:33 +08:00
restore_repo.go Fix regression: access log template, gitea manager cli command (#24838) 2023-05-22 09:38:38 +08:00
serv.go
ssh_log.go