Thomas
7d9448571c
Disable file upload ( #737 )
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.26, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.26, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.26, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.26, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.26, macOS-latest) (push) Has been cancelled
Go CI / Build (1.26, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.26, windows-latest) (push) Has been cancelled
2026-06-27 05:19:45 +08:00
Thomas
68038fea7a
Add psql & mysql sock connection ( #733 )
2026-06-27 04:16:17 +08:00
Thomas
ea6e7b7eb4
Add OpenSSH support ( #735 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-27 02:39:02 +08:00
Thomas
cac21689cf
Rootless docker ( #716 )
...
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.26, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.26, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.26, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.26, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.26, macOS-latest) (push) Has been cancelled
Go CI / Build (1.26, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.26, windows-latest) (push) Has been cancelled
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-20 01:54:30 +08:00
Thomas
28736d6b66
Gist expiration + scheduled actions ( #726 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-20 01:28:48 +08:00
Marcel Herrguth
9d9b54a5e1
Embedding light dark and auto ( #718 )
2026-06-20 01:07:22 +08:00
Thomas Miceli
2bba402787
v1.13.1
...
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.26, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.26, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.26, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.26, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.26, macOS-latest) (push) Has been cancelled
Go CI / Build (1.26, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.26, windows-latest) (push) Has been cancelled
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-10 02:25:21 +07:00
Thomas Miceli
b41a80a335
v1.13.0
...
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.26, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.26, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.26, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.26, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.26, macOS-latest) (push) Has been cancelled
Go CI / Build (1.26, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.26, windows-latest) (push) Has been cancelled
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-09 04:19:30 +07:00
Marcel Herrguth
bf3257faa8
Feature: Allow embedding Gists for a certain file only ( #709 )
...
* Feature: Allow embedding Gists for a certain file only
* Move from URL to param approach
* Switch gist.Files to gist.File
* Satisfy linting
2026-06-09 03:44:39 +08:00
Peter Barr
2946de2505
fix: apply topics push option in post-receive hook ( #698 )
...
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.25, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.25, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, macOS-latest) (push) Has been cancelled
Go CI / Build (1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, windows-latest) (push) Has been cancelled
* Apply `topics` push option in post-receive hook
The `topics` value was parsed into the push-options map but never read
by the hook, silently discarding any topics passed via `git push -o
topics=...`. Mirror the existing `title`/`description` handling and
reuse the `gisttopics` validator.
* Docs
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
---------
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
Co-authored-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-08 04:20:50 +08:00
Thomas
34e5a16a26
Require login + api ( #711 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-08 03:28:49 +08:00
Thomas
31bc25e569
Beautiful docs website ( #710 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-08 03:15:24 +08:00
Thomas
3b8d947ad8
Fix SSH key generation ( #708 )
...
Go CI / Test (postgres, 1.25, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, macOS-latest) (push) Has been cancelled
Go CI / Build (1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, windows-latest) (push) Has been cancelled
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.25, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-04 02:09:26 +08:00
Thomas
8e462397f4
API for gists and users ( #707 )
...
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.25, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.25, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, macOS-latest) (push) Has been cancelled
Go CI / Build (1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, windows-latest) (push) Has been cancelled
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-06-03 02:26:17 +08:00
awkj
690f151592
feat: add REST API v1 with admin toggle and OpenAPI spec ( #702 )
...
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.25, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.25, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, macOS-latest) (push) Has been cancelled
Go CI / Build (1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, windows-latest) (push) Has been cancelled
Adds an HTTP REST API under /api/v1 with bearer-token auth, served
alongside the existing web UI. The API exposes seven endpoints:
GET /api/v1/user
GET /api/v1/gists
POST /api/v1/gists
GET /api/v1/gists/:uuid
PATCH /api/v1/gists/:uuid
DELETE /api/v1/gists/:uuid
GET /api/v1/gists/:uuid/files/:filename/raw
Auth reuses the existing AccessToken model (extended with a new
ScopeUser permission for /user) and accepts both 'Authorization: Bearer
og_...' and the legacy 'Token og_...' header.
The API is gated by a new 'api-enabled' admin setting (default off) so
deployments must explicitly opt in from Admin Panel → Configuration.
When disabled, requests get a 503 with an actionable hint, and the
access-token settings page shows a banner pointing admins straight to
the toggle.
An embedded OpenAPI 3.1 spec is served at GET /api/v1/openapi.yaml;
import it into Postman / Insomnia / Bruno / openapi-generator for
interactive testing or client generation.
Other UX polish bundled in:
- Settings access-token form now exposes the new User scope and uses
the existing locale.Tr lookups (translations backfilled for zh-CN).
- Language switcher distinguishes 简体中文 vs 繁體中文 instead of both
appearing as '中文'.
- Settings page header tabs translated for zh-CN.
- POST /gists cleans up the on-disk repo when commit/create fails
(previously orphaned).
- visibility=public list excludes private/unlisted gists (regression
guard added).
- Content-Disposition filename in raw responses is RFC-escaped.
Docs: docs/usage/api.md walks through enabling the API, creating a
token, the seven endpoints with curl examples, error codes and v1
limitations.
2026-05-22 04:12:33 +08:00
Thomas Miceli
8a6f2d82ff
v1.12.2
...
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.25, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.25, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, macOS-latest) (push) Has been cancelled
Go CI / Build (1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, windows-latest) (push) Has been cancelled
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-04-28 16:37:03 +07:00
Thomas Miceli
c60094c778
Update Go & JS deps / Remove Dependabot for those deps ( #694 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-04-26 19:28:17 +08:00
Webysther Sperandio
279da52899
feat: search all fields ( #622 )
...
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.25, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.25, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, macOS-latest) (push) Has been cancelled
Go CI / Build (1.25, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.25, windows-latest) (push) Has been cancelled
* ✨ feat(search): search all feature
- add Description field to Gist struct and index it
- extend SearchGistMetadata with Description and Content
- update Bleve and Meilisearch to index and search Description
- modify ParseSearchQueryStr to parse description: and content: keywords
- update templates and i18n for new search options
* Fix test
* Set content by default
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
* Config to define default searchable fields
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
---------
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
Co-authored-by: Thomas Miceli <tho.miceli@gmail.com >
2026-03-12 00:55:23 +08:00
Joel Godfrey
ce39df1030
Update cheat-sheet.md with missing OIDC group configs ( #616 )
...
oidc.group-claim-name and oidc.admin-group are missing from the cheat-sheet
2026-02-05 02:23:59 +08:00
Thomas Miceli
4d29a50e64
v1.12.1
2026-02-03 15:59:29 +07:00
Thomas Miceli
6bd8df6a74
v1.12.0
2026-01-27 22:28:20 +07:00
Thomas Miceli
5ddea2265d
Add access tokens ( #602 )
2026-01-27 14:43:12 +08:00
Thomas Miceli
145bf9d81a
Move Prom metrics to a dedicated port + improve Helm chart ( #599 )
2026-01-26 17:28:51 +08:00
Thomas Miceli
03420e4f91
Fix img
2026-01-18 18:30:46 +08:00
Thomas Miceli
f653179cbf
Upgrade JS and Go deps versions ( #517 )
2025-10-07 16:59:37 +02:00
Thomas Miceli
f0a596aed0
v1.11.1
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, windows-latest) (push) Has been cancelled
Go CI / Build (1.23, macOS-latest) (push) Has been cancelled
Go CI / Build (1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.23, windows-latest) (push) Has been cancelled
2025-09-30 02:23:45 +02:00
Thomas Miceli
c7b947580d
v1.11.0
2025-09-21 04:51:49 +02:00
Thomas Miceli
905276f24b
Init gist with regular urls via git CLI (http) ( #501 )
2025-08-28 02:44:09 +02:00
Thomas Miceli
979b302e4c
Add listen to Unix websocket ( #484 )
2025-08-01 17:34:52 +02:00
Andy Piper
5542497622
Add Proxmox VE Helper-Script ( #473 )
2025-05-14 10:49:27 +02:00
Thomas Miceli
897dc43790
Add LDAP authentication ( #470 )
...
* Introduce basic LDAP authentication.
* Reformat LDAP code; use ldap in Git HTTP
* lint
---------
Co-authored-by: Santhosh Raju <santhosh.raju@gmail.com >
2025-05-09 19:32:22 +02:00
Thomas Miceli
fde8a85e2b
v1.10.0
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, windows-latest) (push) Has been cancelled
Go CI / Build (1.23, macOS-latest) (push) Has been cancelled
Go CI / Build (1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.23, windows-latest) (push) Has been cancelled
2025-04-07 16:31:45 +02:00
Thomas Miceli
9e69677f58
Add Helm Chart ( #454 )
2025-04-06 00:51:38 +02:00
Johannes Kirchner
8cfaceb303
feat: read admin group from OIDC token claim ( #445 )
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, windows-latest) (push) Has been cancelled
Go CI / Build (1.23, macOS-latest) (push) Has been cancelled
Go CI / Build (1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.23, windows-latest) (push) Has been cancelled
2025-04-02 13:38:11 +02:00
Thomas Miceli
efba783c56
Add Meilisearch indexer ( #444 )
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Has been cancelled
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, windows-latest) (push) Has been cancelled
Go CI / Build (1.23, macOS-latest) (push) Has been cancelled
Go CI / Build (1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.23, windows-latest) (push) Has been cancelled
2025-03-19 23:28:04 +01:00
Philipp Eckel
dbdfcd4e85
feat: add option to name an OIDC provider ( #435 )
Go CI / Build (1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.23, windows-latest) (push) Has been cancelled
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, windows-latest) (push) Has been cancelled
Go CI / Build (1.23, macOS-latest) (push) Has been cancelled
2025-03-17 17:19:48 +01:00
Philipp Eckel
1ec026e191
feat: add Prometheus metrics ( #439 )
...
* feat: add Prometheus metrics
* setup metrics using Prometheus client under /metrics endpoint
* add configuration value for metrics
* configure Prometheus middleware for generic metrics
* provide metrics for totals of users, gists and SSH keys
* modify test request to optionally return the response
* provide integration test for Prometheus metrics
* update documentation
* chore: make fmt
2025-03-17 14:30:38 +01:00
Thomas Miceli
8c7e941182
v1.9.1
Go CI / Build (1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.23, windows-latest) (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Lint (push) Has been cancelled
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, windows-latest) (push) Has been cancelled
Go CI / Build (1.23, macOS-latest) (push) Has been cancelled
2025-02-04 21:22:47 +01:00
Thomas Miceli
c14380f4de
v1.9.0
Go CI / Lint (push) Waiting to run
Go CI / Check (push) Waiting to run
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Waiting to run
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Waiting to run
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Waiting to run
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Waiting to run
Go CI / Test (sqlite, 1.23, windows-latest) (push) Waiting to run
Go CI / Build (1.23, macOS-latest) (push) Waiting to run
Go CI / Build (1.23, ubuntu-latest) (push) Waiting to run
Go CI / Build (1.23, windows-latest) (push) Waiting to run
2025-02-02 20:48:40 +01:00
千橙
2ab9cf556f
Add git push option for description ( #412 )
2025-01-20 18:16:31 +01:00
Thomas Miceli
4c5a7bda63
v1.8.4
2024-12-16 01:46:26 +01:00
Sangelo
20aef5e694
feat: Add custom instance names ( #399 )
...
* Add custom name variable
* Add custom name variable usage to docs
* Remove leftover testing config options (oops)
2024-12-15 17:39:51 +01:00
Thomas Miceli
526da6ccbb
v1.8.3
2024-11-26 22:46:25 +01:00
Thomas Miceli
8543f3adfa
v1.8.2
2024-11-25 22:29:31 +01:00
Santhosh Raju
58c5ac11c7
Respect file scheme URIs for SQLite. ( #387 )
2024-11-25 22:07:13 +01:00
Thomas Miceli
92bac3bf8c
v1.8.1
2024-11-02 02:00:48 +01:00
Thomas Miceli
393c9756d4
v1.8.0
2024-10-31 20:48:54 +01:00
Thomas Miceli
4fd0832df9
Allow to define secret key & move the secret key file to parent directory ( #358 )
2024-10-31 14:50:13 +01:00
Thomas Miceli
d0b4815798
Update Go deps and use Go 1.23 ( #354 )
2024-10-25 01:04:16 +02:00
Thomas Miceli
41dc2e451b
Use Docker secrets ( #340 )
2024-09-28 01:31:18 +02:00