forgejo/models
Gusted 6fbfe441de
[BUG] Load AllUnitsEnabled when necessary
- In order to determine if the "Add more..." tab should be shown, the
template has to know if the repository has all units enabled, this is
done in the repository header which can be shown for quite a lot of
pages (code, issues, projects, actions etc.)
- This was previously set in the `RepoRefByType` function, which would
be called by pages such as code, issues and releases, but it was not
being called for all pages such as actions, packages and wiki. Which
would in turn incorrectly show the "Add more..." button when it
shouldn't.
- Now call it from the template itself, so the value is 'always' loaded
when necessary.
2024-02-21 12:48:26 +01:00
..
actions Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
activities [MODERATION] Refactor excluding watchers mechanism (squash) 2024-02-05 15:56:58 +01:00
admin
asymkey [GITEA] Add noreply email address as verified for SSH signed Git commits 2024-02-05 16:09:40 +01:00
auth [GITEA] Fix session generation for database 2024-02-05 16:09:41 +01:00
avatars
db [FEAT] Don't log context cancelled SQL errors 2024-02-12 23:11:50 +01:00
dbfs
fixtures Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
forgejo/semver
forgejo_migrations [GITEA] Allow changing the repo Wiki branch to main 2024-02-05 16:57:47 +01:00
git Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
issues Fix gitea-action user avatar broken on edited menu (#29190) 2024-02-17 23:24:31 +01:00
migrations Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
organization Remove unused KeyID. (#29167) 2024-02-16 15:20:52 +01:00
packages
perm [GITEA] Optionally allow anyone to edit Wikis 2024-02-05 16:09:42 +01:00
project
pull [GITEA] GetScheduledMergeByPullID may involve a system user 2024-02-05 16:09:41 +01:00
repo [BUG] Load AllUnitsEnabled when necessary 2024-02-21 12:48:26 +01:00
secret
shared/types Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
system
unit Add a direct link from repo header to unit settings 2024-02-13 22:42:09 +01:00
unittest [gitea] Remove unnecessary parameter (#29092) 2024-02-10 10:53:43 +01:00
user Remove unused KeyID. (#29167) 2024-02-16 15:20:52 +01:00
webhook
error.go Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
repo_transfer_test.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00