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/models
zeripath e819da0837
WebAuthn CredentialID field needs to be increased in size (#20530)
WebAuthn have updated their specification to set the maximum size of the
CredentialID to 1023 bytes. This is somewhat larger than our current
size and therefore we need to migrate.

The PR changes the struct to add CredentialIDBytes and migrates the CredentialID string 
to the bytes field before another migration drops the old CredentialID field. Another migration
renames this field back.

Fix #20457

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
admin Add more linters to improve code readability (#19989) 2 years ago
appstate Sync gitea app path for git hooks and authorized keys when starting (#17335) 3 years ago
asymkey Add more linters to improve code readability (#19989) 2 years ago
auth WebAuthn CredentialID field needs to be increased in size (#20530) 2 years ago
avatars format with gofumpt (#18184) 2 years ago
db Modify milestone search keywords to be case insensitive again (#20513) 2 years ago
fixtures Exclude Archived repos from Dashboard Milestones (#19882) 2 years ago
foreignreference Store the foreign ID of issues during migration (#18446) 2 years ago
git Add more linters to improve code readability (#19989) 2 years ago
issues Modify milestone search keywords to be case insensitive again (#20513) 2 years ago
migrations WebAuthn CredentialID field needs to be increased in size (#20530) 2 years ago
organization Add order by for assignee no sort issue (#20053) 2 years ago
packages Add Docker /v2/_catalog endpoint (#20469) 2 years ago
perm Store read access in access for team repo's (#20275) 2 years ago
project Add option to purge users (#18064) 2 years ago
pull Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 2 years ago
repo Fix: Actor is required to get user repositories (#20443) 2 years ago
unit Add more linters to improve code readability (#19989) 2 years ago
unittest Use git.HOME_PATH for Git HOME directory (#20114) 2 years ago
user Added email notification option to receive all own messages (#20179) 2 years ago
webhook Add more linters to improve code readability (#19989) 2 years ago
action.go Refix indices on actions table (#20158) 2 years ago
action_list.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
action_test.go Move issues related files into models/issues (#19931) 2 years ago
consistency.go Move issues related files into models/issues (#19931) 2 years ago
error.go Move issues related files into models/issues (#19931) 2 years ago
fixture_generation.go Move access and repo permission to models/perm/access (#19350) 2 years ago
fixture_test.go Decouple unit test code from business code (#17623) 3 years ago
main_test.go Move issues related files into models/issues (#19931) 2 years ago
migrate.go Move issues related files into models/issues (#19931) 2 years ago
migrate_test.go Move issues related files into models/issues (#19931) 2 years ago
notification.go Add more linters to improve code readability (#19989) 2 years ago
notification_test.go Move issues related files into models/issues (#19931) 2 years ago
org.go Use neutral language in comments and docs (#20135) 2 years ago
org_team.go Move issues related files into models/issues (#19931) 2 years ago
org_team_test.go Move access and repo permission to models/perm/access (#19350) 2 years ago
org_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
release.go Add more linters to improve code readability (#19989) 2 years ago
repo.go Add option to purge users (#18064) 2 years ago
repo_activity.go Move issues related files into models/issues (#19931) 2 years ago
repo_collaboration.go Move issues related files into models/issues (#19931) 2 years ago
repo_collaboration_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
repo_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
repo_transfer.go Move issues related files into models/issues (#19931) 2 years ago
repo_transfer_test.go Move repository model into models/repo (#17933) 3 years ago
statistic.go Add more linters to improve code readability (#19989) 2 years ago
task.go Fix typos related to ErrTaskDoesNotExist error (#20118) 2 years ago
token.go Use base32 for 2FA scratch token (#18384) 2 years ago
token_test.go A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
upload.go Remove NewSession method from db.Engine interface (#17577) 3 years ago
user.go Add option to purge users (#18064) 2 years ago
user_heatmap.go Move organization related structs into sub package (#18518) 2 years ago
user_heatmap_test.go RSS/Atom support for Repos (#19055) 2 years ago