0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 08:22:44 +01:00
gitea/modules/setting
wxiaoguang e57e1144c5
Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766)
Follow #21962

After I eat my own dogfood, I would say that
ONLY_SHOW_RELEVANT_REPOS=false is necessary for many private/enterprise
instances, because many private repositories do not have
"description/topic", users just want to search by their names.

This PR also adds `PageIsExploreRepositories` check, to make code more
strict, because the `search` template is shared for different purpose.

And during the test, I found a bug that the "Search" button didn't
respect the "relevant" parameter, so this PR fixes the bug by the way
together.

I think this PR needs to be backported.
2023-03-29 08:41:45 -05:00
..
actions.go
admin.go
api.go
attachment.go Add .patch to attachment.ALLOWED_TYPES (#23580) 2023-03-19 15:58:43 -04:00
cache.go
camo.go
config_provider.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
cors.go
cron.go
cron_test.go
database.go Move pidfile creation from setting to web cmd package (#23285) 2023-03-16 15:22:54 +08:00
database_sqlite.go
database_test.go
federation.go
git.go Support reflogs (#22451) 2023-03-13 15:51:07 +08:00
highlight.go
i18n.go
incoming_email.go
indexer.go Add meilisearch support (#23136) 2023-03-28 22:23:23 -04:00
indexer_test.go
lfs.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
log.go Parse external request id from request headers, and print it in access log (#22906) 2023-03-10 09:54:32 -06:00
mailer.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
mailer_test.go
markup.go
metrics.go
migrations.go
mime_type_map.go
mirror.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
oauth2.go
other.go
packages.go Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
packages_test.go
picture.go
project.go
proxy.go
queue.go
repository.go Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
security.go
server.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
service.go
session.go
setting.go Move pidfile creation from setting to web cmd package (#23285) 2023-03-16 15:22:54 +08:00
setting_test.go
ssh.go
storage.go Make minio package support legacy MD5 checksum (#23768) 2023-03-28 11:10:24 -04:00
storage_test.go
task.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
time.go
ui.go Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766) 2023-03-29 08:41:45 -05:00
webhook.go