You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
techknowlogick 2741546bed
Repositories: by default disable all units except code and pulls on forks (#22541)
Most of the time forks are used for contributing code only, so not
having
issues, projects, release and packages is a better default for such
cases.
They can still be enabled in the settings.

A new option `DEFAULT_FORK_REPO_UNITS` is added to configure the default
units on forks.

Also add missing `repo.packages` unit to documentation.

code by: @brechtvl

## ⚠️ BREAKING ⚠️ 

When forking a repository, the fork will now have issues, projects,
releases, packages and wiki disabled. These can be enabled in the
repository settings afterwards. To change back to the previous default
behavior, configure `DEFAULT_FORK_REPO_UNITS` to be the same value as
`DEFAULT_REPO_UNITS`.

Co-authored-by: Brecht Van Lommel <brecht@blender.org>
1 year ago
..
actions Add more events details supports for actions (#22680) 1 year ago
agit Rename almost all Ctx functions (#22071) 2 years ago
asymkey Supports wildcard protected branch (#20825) 1 year ago
attachment Add API management for issue/pull and comment attachments (#21783) 2 years ago
auth Fix group filter for ldap source sync (#22506) 1 year ago
automerge Improve trace logging for pulls and processes (#22633) 1 year ago
context Support org/user level projects (#22235) 1 year ago
convert Fix pull request API field `closed_at` always being `null` (#22482) 1 year ago
cron Refactor git command package to improve security and maintainability (#22678) 1 year ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Add Conda package registry (#22262) 1 year ago
gitdiff Refactor git command package to improve security and maintainability (#22678) 1 year ago
issue Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 1 year ago
lfs Use context parameter in models/git (#22367) 1 year ago
mailer fix permission check for creating comment while mail (#22524) 1 year ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Prevent duplicate labels when importing more than 99 (#22591) 1 year ago
mirror Refactor git command package to improve security and maintainability (#22678) 1 year ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Add Conda package registry (#22262) 1 year ago
pull Refactor git command package to improve security and maintainability (#22678) 1 year ago
release Add API management for issue/pull and comment attachments (#21783) 2 years ago
repository Repositories: by default disable all units except code and pulls on forks (#22541) 1 year ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user Unify hashing for avatar (#22289) 2 years ago
webhook Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 1 year ago
wiki Improve utils of slices (#22379) 1 year ago