Commit Graph

52 Commits (d2f6588b66549b33adf8bac7044d03c89d668470)

Author SHA1 Message Date
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
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
wxiaoguang 7bcbdd0707
Add user status filter to admin user management page (#16770) 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
6543 0b27b93728
Make allowed Visiblity modes configurable for Users (#16271) 3 years ago