Commit graph

16 commits

Author SHA1 Message Date
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
Thomas Miceli
d85917bfb2 Small fixes (#196) 2024-01-04 18:06:19 +01:00
Thomas Miceli
87a6113cc7 Add Gist code search (#194) 2024-01-04 18:06:19 +01:00
Thomas Miceli
f52310a841 Add 2 new admin actions (#191)
* Synchronize all gists previews
* Reset Git server hooks for all repositories
2024-01-04 18:06:19 +01:00
Thomas Miceli
a7b346d8df
Tweaked project structure (#88) 2023-09-03 00:30:57 +02:00
Thomas Miceli
25316d7bf2
Added private visibility
* Changed gist type and added HTML button on creation

* Adapted label and edit button

* Changed rules for git HTTP and SSH

* Adapt Readme features
2023-09-02 03:58:37 +02:00
Thomas Miceli
026bb7304c
Update go module name 2023-05-15 21:07:29 +02:00
Thomas Miceli
58d40e211f
Fix SSH pubkey detection 2023-05-01 02:55:34 +02:00
Thomas Miceli
333efeacbf
Add require login feature to see gists 2023-04-28 20:31:10 +02:00
Thomas Miceli
eeebc7c789
Tweak config and git urls 2023-04-07 02:44:37 +02:00
Thomas Miceli
746d836b99
Add warn logs on invalid authentications 2023-04-04 01:16:22 +02:00
Thomas Miceli
8998e46fea
Update preview and file count when git push with http/ssh 2023-03-19 00:27:30 +01:00
Thomas Miceli
00452d6caf
Rename files 2023-03-18 16:24:41 +01:00
Thomas Miceli
167abd4ae5
Enhanced model structs with DTOs 2023-03-17 14:56:39 +01:00
Thomas Miceli
1607d8fc93
Added forks 2023-03-14 23:26:39 +01:00
Thomas Miceli
bee5d045c3
Initial commit 2023-03-14 16:22:52 +01:00