forgejo/templates
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>
2021-03-11 13:40:54 +00:00
..
admin Hide resync all ssh principals when using internal ssh server (#14904) 2021-03-06 15:32:08 +08:00
base Fix dashboard UI bugs and more (#14767) 2021-02-25 13:35:43 +01:00
custom
explore Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00
mail Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 2021-03-01 01:47:30 +01:00
org Fix alignment of People and Teams right arrow on org homepage (#14924) 2021-03-08 15:52:58 +01:00
repo Minor UI fixes (#14926) 2021-03-08 18:55:37 +01:00
shared
status
swagger Make manual merge autodetection optional and add manual merge as merge method (#12543) 2021-03-03 22:41:23 -05:00
user Fix a couple of issues with a feeds (#14897) 2021-03-06 05:09:49 +01:00
home.tmpl
install.tmpl
post-install.tmpl