opengist/internal/web
Jade Lovelace 22052bd38f
Add a setting to allow anonymous access to individual gists while still RequireLogin everywhere else (#229)
* Add a setting to allow accessing individual gists without auth

This is a middle ground between the existing setting "Require Login",
which requires login to do anything at all, and having it off, which
shows a public list of gists and more generally allows discovering info
about the users/gists of the instance without login.

The idea of this setting is that it is "require login" for everything
except individual gists.

Fixes #228.


Co-authored-by: Thomas Miceli <tho.miceli@gmail.com>
2024-05-12 23:40:11 +02:00
..
test Add a setting to allow anonymous access to individual gists while still RequireLogin everywhere else (#229) 2024-05-12 23:40:11 +02:00
admin.go Add translation strings (#269) 2024-05-05 00:24:25 +02:00
auth.go Add a setting to allow anonymous access to individual gists while still RequireLogin everywhere else (#229) 2024-05-12 23:40:11 +02:00
gist.go feat: make edit visibility a toggle (#277) 2024-05-11 21:03:25 +02:00
git_http.go Add a setting to allow anonymous access to individual gists while still RequireLogin everywhere else (#229) 2024-05-12 23:40:11 +02:00
healthcheck.go Add some docs (#198) 2024-01-04 18:06:19 +01:00
server.go Add a setting to allow anonymous access to individual gists while still RequireLogin everywhere else (#229) 2024-05-12 23:40:11 +02:00
settings.go Add translation strings (#269) 2024-05-05 00:24:25 +02:00
util.go Add translation strings (#269) 2024-05-05 00:24:25 +02:00