You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310)
* Apply DefaultUserIsRestricted in CreateUser

* Enforce system defaults in CreateUser

Allow for overwrites with CreateUserOverwriteOptions

* Fix compilation errors

* Add "restricted" option to create user command

* Add "restricted" option to create user admin api

* Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed

* Revert "Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed"

This reverts commit ee95d3e8dc9e9fff4fa66a5111e4d3930280e033.
2 years ago
..
admin.go Add Goroutine stack inspector to admin/monitor (#19207) 2 years ago
admin_test.go format with gofumpt (#18184) 2 years ago
auths.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
emails.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
hooks.go Only send webhook events to active system webhooks and only deliver to active hooks (#19234) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
notice.go Update HTTP status codes to modern codes (#18063) 2 years ago
orgs.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
packages.go Package registry changes (#19305) 2 years ago
repos.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
users.go Respect DefaultUserIsRestricted system default when creating new user (#19310) 2 years ago
users_test.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago