Commit Graph

59 Commits (67e9f0d49828f62a942ac6db04153207f88e82ee)

Author SHA1 Message Date
Zettat123 4129e0e79b
Add a warning for disallowed email domains (#29658) 8 months ago
Zettat123 136dd99e86
Skip email domain check when admins edit user emails (#29609) 9 months ago
Zettat123 4fd9c56ed0
Skip email domain check when admin users adds user manually (#29522) 9 months ago
6543 e3e6569c5f
Add option to set language in admin user view (#28449) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
6543 f6656181e4
migrate some more "OptionalBool" to "Option[bool]" (#29479) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
yp05327 ce0225c1b8
Forbid removing the last admin user (#28337) 10 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
6543 16ba16dbe9
Allow to set explore page default sort (#27951) 1 year ago
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
wxiaoguang 9f8d59858a
Refactor system setting (#27000) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Lunny Xiao 198a9ca635
Display all user types and org types on admin management UI (#27050) 1 year ago
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
techknowlogick 084eacb5d4
fetch emails of currently displayed user on admin page (#26918) 1 year ago
Denys Konovalov 5b5bb8d354
User details page (#26713) 1 year ago
wxiaoguang e8b990999f
Make "link-action" backend code respond correct JSON content (#26680) 1 year ago
wxiaoguang 71d253f42e
Remove unnecessary template helper DisableGravatar (#26386) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569) 2 years ago
techknowlogick 4daf40505a
Sort users and orgs on explore by recency by default (#24279) 2 years ago
Hester Gong 63a401ac40
Move secrets and runners settings to actions settings (#24200) 2 years ago
yp05327 06d9d9e407
Fix incorrect/Improve error handle in edit user page (#23805) 2 years ago
yp05327 c09eab5485
Fix incorrect visibility dropdown list in add/edit user page (#23804) 2 years ago
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 4bd3b05b62
Redirect if user does not exist (#20981) 2 years ago
zeripath bffa303020
Add option to purge users (#18064) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao 9efa47131f
Admin should not delete himself (#19423) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 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
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 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
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
qwerty287 3be156f66a
Allow admins to change user avatars (#17661) 3 years ago