Commit graph

19 commits

Author SHA1 Message Date
Thomas Miceli
38892d8a4a
Fix perms for http/ssh clone (#288) 2024-05-28 01:30:08 +02:00
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
1c1e3a8919 Reset a user password using CLI (#226) 2024-04-03 01:56:55 +02:00
Thomas Miceli
db6d6a5eba Set gist visibility via Git push options (#215) 2024-04-03 01:56:55 +02:00
Thomas Miceli
7a75c5ecfa Move Git hook logic to Opengist (#213) 2024-04-03 01:56:55 +02: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
John Olheiser
246f12c8cb feat: default visibility (#155)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-01-04 18:06:19 +01:00
Thomas Miceli
5b278e2e86
Change gist init url to /init (#109) 2023-09-25 18:43:55 +02:00
Thomas Miceli
46dea89b41
Create gists from git http server endpoint (#95) 2023-09-09 19:39:57 +02:00
Thomas Miceli
977fc9db28
Improved git http semantics and repo obfuscation (#94) 2023-09-07 11:46:34 +02: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
62f91c5ed2
Small fixes (#42)
* UI color fixes
* Typos
* Fancy badge in README
2023-05-27 20:20:20 +02:00
Thomas Miceli
026bb7304c
Update go module name 2023-05-15 21:07:29 +02:00
Thomas Miceli
333efeacbf
Add require login feature to see gists 2023-04-28 20:31:10 +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
Renamed from internal/web/git-http.go (Browse further)