Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DISABLE_ORGANIZATIONS_PAGE and DISABLE_CODE_PAGE settings for explore pages #32288

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Zettat123
Copy link
Contributor

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

image

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 18, 2024
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 18, 2024
@github-actions github-actions bot added modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files docs-update-needed The document needs to be updated synchronously labels Oct 18, 2024
@Zettat123
Copy link
Contributor Author

PR for docs: https://gitea.com/gitea/docs/pulls/82

@github-actions github-actions bot added the modifies/api This PR adds API routes or modifies them label Oct 18, 2024
@wxiaoguang
Copy link
Contributor

Why not use database based config system but adding more app.ini items?

@Zettat123
Copy link
Contributor Author

Zettat123 commented Oct 18, 2024

Why not use database based config system but adding more app.ini items?

I followed the implementation of DISABLE_USERS_PAGE. But I think it's a good idea to use the database based config. I will update my code.

@Zettat123 Zettat123 marked this pull request as draft October 18, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-update-needed The document needs to be updated synchronously lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants