Commit Graph

27 Commits (4f879a00df029e09b40f64bf8de0572704766115)

Author SHA1 Message Date
yp05327 cc044818c3
Support delete user email in admin panel (#31690) 4 months ago
wxiaoguang fb1ad920b7
Refactor sha1 and time-limited code (#31023) 6 months ago
wxiaoguang a008486f5c
Refactor DeleteInactiveUsers, fix bug and add tests (#30206) 8 months ago
Nanguan Lin df05c558da
Fix user id column case (#29863) 8 months ago
Zettat123 4129e0e79b
Add a warning for disallowed email domains (#29658) 9 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 f6656181e4
migrate some more "OptionalBool" to "Option[bool]" (#29479) 9 months ago
wxiaoguang 6bdfc84e6c
Allow to change primary email before account activation (#29412) 9 months ago
KN4CK3R 155269fa58
Remove unused `KeyID`. (#29167) 9 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
techknowlogick 45976a1bde
Check blocklist for emails when adding them to account (#26812) 1 year ago
KN4CK3R 3fef47b41c
Use ErrInvalidArgument in packages (#22268) 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
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
Andreas Fischer 9862936ed3
Make e-mail sanity check more precise (#20991) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago