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 Improve label and text wrapping (#14113) 2020-12-29 18:48:28 -05:00
status Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00
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 Consolidate Logos and update README header (#14136) 2021-01-01 14:04:35 -05:00
install.tmpl Add Password Algorithm option to install page (#14701) 2021-02-16 23:37:20 +01:00
post-install.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00