You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeripath c8e5c79cfd
Add ui.explore settings to control view of explore pages (2) (#14094)
This is an alternative PR to #13687.

Add `[ui.explore]` settings to allow restricting the
explore pages to logged in users only and to disable the users explore page.

The two proposed settings are:

- `REQUIRE_SIGNIN_VIEW`: Only allows access to the explore pages if the
user is signed in. Also restricts
  - `/api/v1/user/search`
  - `/api/v1/users/{username}`
  - `/api/v1/users/{username}/repos`
  - but does not restrict `/api/v1/users/{username}/heatmap`
- `DISABLE_USERS_PAGE`: Disables the /explore/users page

Fix #2908

Close #13687 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
3 years ago
..
advanced Add ui.explore settings to control view of explore pages (2) (#14094) 3 years ago
developers [docs] Add zh-tw Translations (#14507) 3 years ago
features [docs] Add zh-tw Translations (#14507) 3 years ago
help Allow blocking some email domains from registering an account (#14667) 3 years ago
installation Add environment-to-ini to docker image (#14762) 3 years ago
translation Add german translation guidelines (#14283) 3 years ago
upgrade [docs] Add zh-tw Translations (#14507) 3 years ago
usage [docs] Fix typo in command-line.en-us.md (#14746) 3 years ago
advanced.en-us.md Import docs into main repository (#2874) 7 years ago
advanced.fr-fr.md General documentation cleanup (#3317) 7 years ago
advanced.zh-cn.md Import docs into main repository (#2874) 7 years ago
advanced.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
developers.en-us.md Refactor docs (#13275) 4 years ago
developers.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
features.en-us.md Import docs into main repository (#2874) 7 years ago
features.zh-cn.md Import docs into main repository (#2874) 7 years ago
features.zh-tw.md Import docs into main repository (#2874) 7 years ago
help.en-us.md Implement documentation search (#8937) 5 years ago
help.fr-fr.md Implement documentation search (#8937) 5 years ago
help.zh-cn.md Implement documentation search (#8937) 5 years ago
help.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
installation.en-us.md Import docs into main repository (#2874) 7 years ago
installation.fr-fr.md General documentation cleanup (#3317) 7 years ago
installation.zh-cn.md Import docs into main repository (#2874) 7 years ago
installation.zh-tw.md Import docs into main repository (#2874) 7 years ago
translation.de-de.md Add german translation guidelines (#14283) 3 years ago
translation.en-us.md Add german translation guidelines (#14283) 3 years ago
translation.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
upgrade.en-us.md Import docs into main repository (#2874) 7 years ago
upgrade.fr-fr.md General documentation cleanup (#3317) 7 years ago
upgrade.zh-cn.md Import docs into main repository (#2874) 7 years ago
upgrade.zh-tw.md Import docs into main repository (#2874) 7 years ago
usage.en-us.md Import docs into main repository (#2874) 7 years ago
usage.zh-cn.md ZH-CN translation of Usage part (#5086) 6 years ago
usage.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago