Skip to content
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

Add option to prohibit fork if user reached maximum limit of repositories #21848

Merged
merged 14 commits into from Dec 27, 2022
Merged

Add option to prohibit fork if user reached maximum limit of repositories #21848

merged 14 commits into from Dec 27, 2022

Commits on Nov 17, 2022

  1. Prohibit fork if user reached maximum limit of repositories

    fixed #21847
    
    Signed-off-by: Xinyu Zhou <i@sourcehut.net>
    Xinyu Zhou committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    b2bb0f3 View commit details
    Browse the repository at this point in the history
  2. Add test

    Signed-off-by: Xinyu Zhou <i@sourcehut.net>
    Xinyu Zhou committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    fc21dbb View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2022

  1. Update templates/repo/pulls/fork.tmpl

    Co-authored-by: delvh <dev.lh@web.de>
    Xinyu Zhou and delvh committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    3eca445 View commit details
    Browse the repository at this point in the history
  2. CanForkRepo returns if user login can fork a repository

    Signed-off-by: Xinyu Zhou <i@sourcehut.net>
    Xinyu Zhou committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    9f88874 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. Apply suggestions from code review

    Co-authored-by: delvh <dev.lh@web.de>
    Xinyu Zhou and delvh committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    572aa44 View commit details
    Browse the repository at this point in the history
  2. use base/alert to generate warning

    Signed-off-by: Xinyu Zhou <i@sourcehut.net>
    Xinyu Zhou committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    97f3e27 View commit details
    Browse the repository at this point in the history
  3. make fmt

    Signed-off-by: Xinyu Zhou <i@sourcehut.net>
    Xinyu Zhou committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    3c3fbf9 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. Add option to allow fork repositories without maximum number limit

    - `ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT`: Default **false**: Allow fork repositories without maximum number limit
    
    Signed-off-by: Xinyu Zhou <i@sourcehut.net>
    Xinyu Zhou committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    08259ae View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. Configuration menu
    Copy the full SHA
    1731a10 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2022

  1. Apply suggestions from code review

    Co-authored-by: 6543 <6543@obermui.de>
    Xinyu Zhou and 6543 committed Dec 24, 2022
    Configuration menu
    Copy the full SHA
    40af00f View commit details
    Browse the repository at this point in the history
  2. Update services/repository/fork_test.go

    Xinyu Zhou committed Dec 24, 2022
    Configuration menu
    Copy the full SHA
    e28ce1b View commit details
    Browse the repository at this point in the history
  3. Update services/repository/fork_test.go

    Signed-off-by: Xinyu Zhou <i@sourcehut.net>
    Xinyu Zhou committed Dec 24, 2022
    Configuration menu
    Copy the full SHA
    2bb727d View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2022

  1. Configuration menu
    Copy the full SHA
    79122cd View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2022

  1. Configuration menu
    Copy the full SHA
    05426cc View commit details
    Browse the repository at this point in the history