0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 22:11:32 +01:00
gitea/routers
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
..
api Improve rubygems package registry (#31357) 2024-06-17 08:42:46 +00:00
common Refactor route path normalization (#31381) 2024-06-17 23:28:47 +00:00
install Always load or generate oauth2 jwt secret (#30942) 2024-05-14 14:21:38 +00:00
private Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 2024-05-07 07:36:48 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
init.go Refactor route path normalization (#31381) 2024-06-17 23:28:47 +00:00