You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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.
9 months ago
..
tests/repos Fix verifyCommits error when push a new branch (#26664) 10 months ago
actions.go Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) 9 months ago
default_branch.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
hook_post_receive.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
hook_pre_receive.go Add context parameter to some database functions (#26055) 11 months ago
hook_proc_receive.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 1 year ago
hook_verification.go Fix verifyCommits error when push a new branch (#26664) 10 months ago
hook_verification_test.go Fix verifyCommits error when push a new branch (#26664) 10 months ago
internal.go Add gitea manager reload-templates command (#24843) 1 year ago
internal_repo.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 1 year ago
key.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 1 year ago
mail.go Prevent multiple `To` recipients (#22566) 1 year ago
main_test.go Fix verifyCommits error when push a new branch (#26664) 10 months ago
manager.go Fix logger refactoring regression: manager logging add (#24847) 1 year ago
manager_process.go Replace `interface{}` with `any` (#25686) 1 year ago
manager_unix.go Implement FSFE REUSE for golang files (#21840) 2 years ago
manager_windows.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 1 year ago
restore_repo.go Fix regression: access log template, gitea manager cli command (#24838) 1 year ago
serv.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 1 year ago
ssh_log.go Refactor the setting to make unit test easier (#22405) 1 year ago