Skip to content

Invite Links #7095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
f0x52 opened this issue May 31, 2019 · 5 comments
Closed

Invite Links #7095

f0x52 opened this issue May 31, 2019 · 5 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@f0x52
Copy link
Contributor

f0x52 commented May 31, 2019

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.

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label May 31, 2019
@poVoq
Copy link

poVoq commented Feb 16, 2022

This would be really nice for semi-public instances.

@ForestJohnson
Copy link
Contributor

ForestJohnson commented 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
Copy link

poVoq commented Mar 10, 2022

@ForestJohnson the link to your repository is dead.

@ForestJohnson
Copy link
Contributor

ForestJohnson commented 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
Copy link
Member

closing as dupe of #5353

@techknowlogick techknowlogick added issue/duplicate The issue has already been reported. and removed type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Apr 13, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

5 participants