Commit graph

14 commits

Author SHA1 Message Date
Thomas Miceli
40ff4c7b3f
Fix git clone on SSH with MySQL (#382) 2024-11-17 21:25:59 +01:00
Thomas Miceli
17237713a1
Add Postgres and MySQL databases support (#335) 2024-09-20 16:01:09 +02:00
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
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
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/ssh/git-ssh.go (Browse further)