Commit Graph

81 Commits (9b698362a333de2c388499f1a64d39545b0263bd)

Author SHA1 Message Date
Giteabot fc7d3f7315
Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
caicandong 4211efe8b7
fix Missing 404 swagger response docs for /admin/users/{username} (#26086) 1 year ago
Lunny Xiao c59a057297
Refactor rename user and rename organization (#24052) 2 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 2 years ago
Lunny Xiao 6f9cc617fc
Add login name and source id for admin user searching API (#23376) 2 years ago
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789) 2 years ago
John Olheiser 0a6f6354bb
Purge API comment (#23451) 2 years ago
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
Sybren aa45777c92
Allow custom "created" timestamps in user creation API (#22549) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 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 59b867dc2d
Add `ContextUser` to http request context (#18798) 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
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
zeripath d29b689f81
Ensure complexity, minlength and ispwned are checked on password setting (#18005) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 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
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
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031) 4 years ago
KN4CK3R 8c8471e754
Addition to (Add Location, Website and Description to API #15675) (#15690) 4 years ago
6543 80d6c6d7de
[refactor] mailer service (#15072) 4 years ago
6543 290cf75f93
[refactor] Unify the export of user data via API (#15144) 4 years ago
6543 8d5c795cc4
[API] Add Restricted Field to User (#14630) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 74a0481586
[Refactor] Passwort Hash/Set (#14282) 4 years ago
6543 1bb5c09b5d
API: Admin EditUser: Make FullName, Email, Website & Location optional (#13562) 4 years ago
Chris Shyi d025d84d91
Add email validity check (#13475) 4 years ago
John Olheiser c6e4bc53aa
Check passwords against HaveIBeenPwned (#12716) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago
Cirno the Strongest 81324cf37c
Add pagination headers on endpoints that support total count from database (#11145) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 5 years ago
6543 ea50f60df2
Prevent DeleteUser API abuse (#10125) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 6baa5d7588 [API] Add notification endpoint (#9488) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago