Commit Graph

42 Commits (6473bd333a54f38f333920a6e567edafe6692ff5)

Author SHA1 Message Date
Lunny Xiao d91d4db344
Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao 772ad761eb
Fix some slice problems (incorrect slice length) (#19592) 3 years ago
6543 e2a3f3d259
Federation: return useful statistic information for nodeinfo (#19561) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Gusted 43332a483f
Update reserved usernames list (#18438) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
wxiaoguang dd712b77f7
Refactor admin user filter query parameters (#18965) 3 years ago
6543 1f45d1e130
Accounts with WebAuthn only (no TOTP) now exist ... fix code to handle that case (#18897) 3 years ago
Gusted 33e19c8004
Don't update email for organisation (#18905) 3 years ago
Lunny Xiao 6621710deb
Fix update user (#18878) 3 years ago
Lunny Xiao f1b1472632
Fix ldap user sync missed email in email_address table (#18786) 3 years ago
Lunny Xiao dc988eae0c
Fix bug for get user by email (#18833) 3 years ago
Johan Van de Wauw 0cc2675c44
Fix ldap loginname (#18789) 3 years ago
Viktor Suprun 4d939845d2
Added auto-save whitespace behavior if it changed manually (#15566) 3 years ago
Gusted 7a42e35741
Pass correct context (#18638) 3 years ago
singuliere 8bd89ca294
preserve users if restoring a repository on the same Gitea instance (#18604) 3 years ago
singuliere 367894adc8
add test coverage for original author conversion during migrations (#18506) 3 years ago
Viktor Kuzmin 80048c091a
Fix for AvatarURL database type (#18487) 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
qwerty287 1f40933d38
Add config options to hide issue events (#17414) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Gusted d413a1f8a4
Improve the comment for 2FA filter in admin panel (#18017) 3 years ago
Lunny Xiao 67d73882f4
Fix update user bug (#18250) 3 years ago
Gusted 623c93ff46
Increase Salt randomness (#18179) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 3 years ago
zeripath 0981ec30c3
Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 3 years ago
a1012112796 ba57e30f13
fix 500 error while use a reserved name in org rename (#17878) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
Lunny Xiao 371ebce252
Fix database inconsistent when admin change user email (#17549) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
techknowlogick 499b05da22
Add user settings key/value DB table (#16834) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago