14 Commits

Author SHA1 Message Date
Thomas Miceli
d796895b75
Fix filename unescape (#474) 2025-05-14 11:51:42 +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
dc43fccc04
Style preference tab for user (#467) 2025-05-05 01:31:42 +02:00
Johannes Kirchner
8cfaceb303
feat: read admin group from OIDC token claim (#445) 2025-04-02 13:38:11 +02:00
Thomas Miceli
efba783c56
Add Meilisearch indexer (#444) 2025-03-19 23:28:04 +01:00
awkj
da0b440360
Fix garbled/mojibake text display issues for non-English Unicode characters in browsers. (#441)
* Update util.go

Fix garbled/mojibake text display issues for non-English Unicode characters in browsers.

* add Content-Disposition, help handle file name on download

Author:    awkj <hzzbiu@gmail.com>
2025-03-17 16:22:54 +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
7aa8f84eff
Search gists on user profile with title, visibility, language & topics (#422) 2025-02-02 18:14:03 +01:00
Thomas Miceli
76fc129c09
Remove memdb for gist init (#421) 2025-01-30 10:46:35 +01:00
Thomas Miceli
62d56cd1c7
Save content form on gist create error (#420) 2025-01-29 16:00:58 +01:00
Thomas Miceli
d363743203
Fix empty password error when trying to change the username (#418) 2025-01-27 00:57:46 +01:00
soup
0609b64cff
feat: add MIME type support for raw file serving (#417) 2025-01-26 23:40:59 +01:00
Thomas Miceli
f5b8881d35
Add topics for Gists (#413) 2025-01-24 14:39:42 +01:00
Thomas Miceli
f935ee1a7e
Refactor server code (#407) 2025-01-20 01:57:39 +01:00