1
0
Fork 0
forgejo/services
techknowlogick 1819c4b59b
Add new user types reserved, bot, and remote (#24026)
This allows for usernames, and emails connected to them to be reserved
and not reused.

Use case, I manage an instance with open registration, and sometimes
when users are deleted for spam (or other purposes), their usernames are
freed up and they sign up again with the same information.

This could also be used to reserve usernames, and block them from being
registered (in case an instance would like to block certain things
without hardcoding the list in code and compiling from scratch).

This is an MVP, that will allow for future work where you can set
something as reserved via the interface.

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-04-17 12:36:50 -04:00
..
actions Use actions job link as commit status URL instead of run link (#24023) 2023-04-10 06:40:30 -04:00
agit
asymkey
attachment
auth Add new user types reserved, bot, and remote (#24026) 2023-04-17 12:36:50 -04:00
automerge
context
convert
cron
externalaccount
forms Title can be empty when creating tag only (#23917) 2023-04-06 21:44:52 -04:00
gitdiff
issue Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
lfs Improve LFS error logs (#24072) 2023-04-12 11:01:41 -04:00
mailer
markup
migrations Update github.com/google/go-github to v51 (#23946) 2023-04-08 19:27:30 +08:00
mirror
org
packages
pull Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
release Delete deleted release attachments immediately from storage (#23913) 2023-04-06 18:01:36 -04:00
repository Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
task
user
webhook
wiki