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.
forgejo/services
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
..
agit more context for models (#19511) 2 years ago
asymkey more context for models (#19511) 2 years ago
attachment Use a struct as test options (#19393) 2 years ago
auth Respect DefaultUserIsRestricted system default when creating new user (#19310) 2 years ago
comments Move some issue methods as functions (#19255) 2 years ago
context Add `ContextUser` to http request context (#18798) 2 years ago
cron Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Add "Allow edits from maintainer" feature (#18002) 2 years ago
gitdiff Use a struct as test options (#19393) 2 years ago
issue more context for models (#19511) 2 years ago
lfs more context for models (#19511) 2 years ago
mailer Use a struct as test options (#19393) 2 years ago
migrations Fix migrate release from github (#19510) 2 years ago
mirror Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
org Use a struct as test options (#19393) 2 years ago
packages Package registry changes (#19305) 2 years ago
pull Add "Allow edits from maintainer" feature (#18002) 2 years ago
release Use a struct as test options (#19393) 2 years ago
repository Prevent dangling archiver goroutine (#19516) 2 years ago
task Use a more general (and faster) method to sanitize URLs with credentials (#19239) 2 years ago
user Use a struct as test options (#19393) 2 years ago
webhook Use queue instead of memory queue in webhook send service (#19390) 2 years ago
wiki Use a struct as test options (#19393) 2 years ago