9 Commits

Author SHA1 Message Date
Thomas Miceli
efba783c56
Add Meilisearch indexer (#444) 2025-03-19 23:28:04 +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
62d56cd1c7
Save content form on gist create error (#420) 2025-01-29 16:00:58 +01:00
Thomas Miceli
28c7e75657
Use jdenticon for default avatars (#416) 2025-01-27 00:08:50 +01:00
Thomas Miceli
f5b8881d35
Add topics for Gists (#413) 2025-01-24 14:39:42 +01:00
Thomas Miceli
662f553d37
Remove CSRF check for Git HTTP packs (#408) 2025-01-20 03:18:28 +01:00
Andreas Jaggi
a752e0561d
Skip CSRF for embeds (#402)
* Skip CSRF for embeds

The CSRF middleware sets a _csrf cookie also for loading the embed
javascript on third-party sites. With this change no _csrf cookie is set
when loading the embed javascript (regardless if third-party site or
first-party).
2025-01-20 02:18:45 +01:00
Thomas Miceli
f935ee1a7e
Refactor server code (#407) 2025-01-20 01:57:39 +01:00