-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
issue/duplicateThe issue has already been reported.The issue has already been reported.
Description
It would be nice if Gitea had support for invite links, like Mastodon does.
As an instance admin, you can choose who can generate them (admins, moderators, users).
When someone generates an invite link, they can then choose the amount of people that can use it, and after what time it expires.
Oreolek, arthur-trt, poVoq, 6543 and tastytea
Metadata
Metadata
Assignees
Labels
issue/duplicateThe issue has already been reported.The issue has already been reported.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
poVoq commentedon Feb 16, 2022
This would be really nice for semi-public instances.
ForestJohnson commentedon Mar 10, 2022
Hello, I forked @f0x52 's gitea-registration-proxy to implement this in a very simplistic way on my own gitea instance without modifying the gitea code. It's an app which reverse proxies the GET and POST for the gitea
/user/sign_up
form to enforce a single shared invite token.You may check out my solution here:
https://git.sequentialread.com/forest/gitea-registration-proxy
Mirror: https://git.cyberia.club/forest/gitea-registration-proxy
If you are curious, this is how I deploy gitea and my fork of the registration proxy:
https://git.sequentialread.com/forest/sequentialread-caddy-config/src/commit/81a2323124aeecc8263f31f1d43de0f971835a3d/docker-compose.yml#L492-L548
Mirror: https://git.cyberia.club/sequentialread/sequentialread-caddy-config/src/commit/81a2323124aeecc8263f31f1d43de0f971835a3d/docker-compose.yml#L492-L548
poVoq commentedon Mar 10, 2022
@ForestJohnson the link to your repository is dead.
ForestJohnson commentedon Mar 10, 2022
@poVoq sorry about that. My server crashes and goes down sometimes. It should be up now. I'll post an additional mirror later today
techknowlogick commentedon Apr 13, 2022
closing as dupe of #5353