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/user
wxiaoguang 2c1ff8701a
Refactor context flash msg and global variables (#33375)
1. add `GetSiteCookieFlashMessage` to help to parse flash message
2. clarify `handleRepoHomeFeed` logic
3. remove unnecessary global variables, use `sync.OnceValue` instead
4. add some tests for `IsUsableUsername` and `IsUsableRepoName`
6 days ago
..
avatar.go Fix duplicate sub-path for avatars (#31365) 8 months ago
avatar_test.go Fix duplicate sub-path for avatars (#31365) 8 months ago
badge.go Add admin API route for managing user's badges (#23106) 11 months ago
block.go Add user blocking (#29028) 11 months ago
email_address.go Support for email addresses containing uppercase characters when activating user account (#32998) 1 month ago
email_address_test.go Enable tenv and testifylint rules (#32852) 2 months ago
error.go Remove unused `KeyID`. (#29167) 12 months ago
external_login_user.go allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
follow.go Add user blocking (#29028) 11 months ago
follow_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
list.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
must_change_password.go Add command to bulk set must-change-password (#22823) 2 years ago
openid.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
openid_test.go Refactor older tests to use testify (#33140) 3 weeks ago
redirect.go Another round of `db.DefaultContext` refactor (#27103) 1 year ago
redirect_test.go Another round of `db.DefaultContext` refactor (#27103) 1 year ago
search.go Refactor pagination (#33037) 1 month ago
setting.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
setting_keys.go Save initial signup information for users to aid in spam prevention (#31852) 5 months ago
setting_test.go Enable tenv and testifylint rules (#32852) 2 months ago
user.go Refactor context flash msg and global variables (#33375) 6 days ago
user_list.go Some small refactors (#33144) 3 weeks ago
user_system.go Replace -1 with GhostUserID (#27703) 1 year ago
user_test.go Refactor context flash msg and global variables (#33375) 6 days ago
user_update.go Implement FSFE REUSE for golang files (#21840) 2 years ago