gitea/services
wxiaoguang 37a4b233a0
Refactor repo unit "disabled" check (#31389)
1. There are already global "unit consts", no need to use context data, which is fragile
2. Remove the "String()" method from "unit", it would only cause rendering problems in templates

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-06-18 00:51:13 +00:00
..
actions
agit
asymkey
attachment
auth
automerge
context Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
contexttest
convert Add tag protection via rest api #17862 (#31295) 2024-06-14 18:56:10 +02:00
cron
doctor
externalaccount
feed
forms
gitdiff
indexer
issue
lfs Fix #31185 try fix lfs download from bitbucket failed (#31201) 2024-06-11 22:22:28 +00:00
mailer Add option for mailer to override mail headers (#27860) 2024-06-03 20:42:52 +02:00
markup
migrations Add `lint-go-gopls` (#30729) 2024-06-05 09:22:38 +08:00
mirror
notify
org
packages
pull Fix duplicate sub-path for avatars (#31365) 2024-06-15 11:43:57 +08:00
release
repository Add a simple test for AdoptRepository (#31391) 2024-06-17 01:18:35 +00:00
secrets
task
uinotification
user
webhook Enable `unparam` linter (#31277) 2024-06-11 18:47:45 +00:00
webtheme
wiki