Commit Graph

138 Commits (238eb3ff9f36bcf7b4637957ae2dd98446105894)

Author SHA1 Message Date
yp05327 cf9061f44a
Fix empty field `login_name` in API response JSON when creating user (#30511) 7 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 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
techknowlogick cb52b17f92
Add admin API route for managing user's badges (#23106) 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 baf0d402d9
Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 11 months ago
Bo-Yi Wu 14ffdf6173
chore(api): support ignore password if login source type is LDAP for creating user API (#28491) 11 months ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 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
Yevhen Pavlov 1dfaf83798
Return `404` in the API if the requested webhooks were not found (#24823) 2 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 2 years ago
wxiaoguang a6450494c3
Fix unclear `IsRepositoryExist` logic (#24374) 2 years ago
silverwind fe007b65bd
Fix typo in API route (#24310) 2 years ago
Lunny Xiao 6f9cc617fc
Add login name and source id for admin user searching API (#23376) 2 years ago
techknowlogick d56bb74201
add admin API email endpoints (#22792) 2 years ago
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789) 2 years ago
Zettat123 8421b8264f
Handle missing `README` in create repos API (#23387) 2 years ago
John Olheiser 0a6f6354bb
Purge API comment (#23451) 2 years ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 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
Lunny Xiao c0015979a6
Support system hook API (#14537) 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
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 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
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 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
qwerty287 1563a45623
Fix page and missing return on unadopted repos API (#18848) 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