Skip to content

Invite Links #7095

@f0x52

Description

@f0x52
Contributor

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.

Activity

added
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
on May 31, 2019
poVoq

poVoq commented on Feb 16, 2022

@poVoq

This would be really nice for semi-public instances.

ForestJohnson

ForestJohnson commented on Mar 10, 2022

@ForestJohnson
Contributor

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

poVoq commented on Mar 10, 2022

@poVoq

@ForestJohnson the link to your repository is dead.

ForestJohnson

ForestJohnson commented on Mar 10, 2022

@ForestJohnson
Contributor

@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

techknowlogick commented on Apr 13, 2022

@techknowlogick
Member

closing as dupe of #5353

added
issue/duplicateThe issue has already been reported.
and removed
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
on Apr 13, 2022
locked and limited conversation to collaborators on May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/duplicateThe issue has already been reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lunny@techknowlogick@poVoq@ForestJohnson@f0x52

        Issue actions

          Invite Links · Issue #7095 · go-gitea/gitea