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.
gitea/models
Rowan Bohde 407b6e6dfc
allow the actions user to login via the jwt token (#32527)
We have some actions that leverage the Gitea API that began receiving
401 errors, with a message that the user was not found. These actions
use the `ACTIONS_RUNTIME_TOKEN` env var in the actions job to
authenticate with the Gitea API. The format of this env var in actions
jobs changed with go-gitea/gitea/pull/28885 to be a JWT (with a
corresponding update to `act_runner`) Since it was a JWT, the OAuth
parsing logic attempted to parse it as an OAuth token, and would return
user not found, instead of falling back to look up the running task and
assigning it to the actions user.

Make ACTIONS_RUNTIME_TOKEN in action runners could be used,
attempting to parse Oauth JWTs. The code to parse potential old
`ACTION_RUNTIME_TOKEN` was kept in case someone is running an older
version of act_runner that doesn't support the Actions JWT.
2 months ago
..
actions Trim title before insert/update to database to match the size requirements of database (#32498) 3 months ago
activities Fix nil panic if repo doesn't exist (#32501) 3 months ago
admin Fix javascript error when an anonymous user visiting migration page (#32144) 4 months ago
asymkey bump to go 1.23 (#31855) 5 months ago
auth Fix nuget/conan/container packages upload bugs (#31967) 5 months ago
avatars
db Refactor push mirror find and add check for updating push mirror (#32539) 2 months ago
dbfs Enable `unparam` linter (#31277) 8 months ago
fixtures allow the actions user to login via the jwt token (#32527) 2 months ago
git refactor: remove redundant err declarations (#32381) 3 months ago
issues Trim title before insert/update to database to match the size requirements of database (#32498) 3 months ago
migrations Improve testing and try to fix MySQL hanging (#32515) 3 months ago
organization Reimplement GetUserOrgsList to make it simple and clear (#32486) 3 months ago
packages Fix db engine (#32351) 3 months ago
perm Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 3 months ago
project Trim title before insert/update to database to match the size requirements of database (#32498) 3 months ago
pull
repo Refactor push mirror find and add check for updating push mirror (#32539) 2 months ago
secret Clarify Actions resources ownership (#31724) 6 months ago
shared/types
system
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 3 months ago
unittest Reduce integration test overhead (#32475) 3 months ago
user Allow code search by filename (#32210) 4 months ago
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 9 months ago