]> source.dussan.org Git - gitea.git/commit
Add `DISABLE_ORGANIZATIONS_PAGE` and `DISABLE_CODE_PAGE` settings for explore pages...
authorZettat123 <zettat123@gmail.com>
Tue, 22 Oct 2024 05:09:19 +0000 (13:09 +0800)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2024 05:09:19 +0000 (13:09 +0800)
commit9206fbb55fd28f21720072fce6a36cc22277934c
treef8b99ae96e1446423194ca03032300248b0dd76f
parent3d6ccbac3f20c485ab95a29d280c9371e558bfac
Add `DISABLE_ORGANIZATIONS_PAGE` and `DISABLE_CODE_PAGE` settings for explore pages and fix an issue related to user search (#32288)

These settings can allow users to only display the repositories explore page.

Thanks to yp05327 and wxiaoguang !

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
custom/conf/app.example.ini
modules/setting/service.go
routers/api/v1/api.go
routers/web/explore/code.go
routers/web/explore/org.go
routers/web/explore/repo.go
routers/web/explore/user.go
routers/web/user/search.go
routers/web/web.go
templates/explore/navbar.tmpl
web_src/js/features/comp/SearchUserBox.ts