Commit Graph

31 Commits

Author SHA1 Message Date
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
b82b3d9e0e Update Go deps (#455) 2025-04-06 01:11:44 +02:00
efba783c56 Add Meilisearch indexer (#444) 2025-03-19 23:28:04 +01:00
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
26b5044380 Update go deps (#430) 2025-02-04 21:17:10 +01:00
7aa8f84eff Search gists on user profile with title, visibility, language & topics (#422) 2025-02-02 18:14:03 +01:00
76fc129c09 Remove memdb for gist init (#421) 2025-01-30 10:46:35 +01:00
391ffde12e Update Go deps 2024-11-25 22:20:43 +01:00
d0b4815798 Update Go deps and use Go 1.23 (#354) 2024-10-25 01:04:16 +02:00
2bf434f00e Add TOTP MFA (#342) 2024-10-24 23:23:00 +02:00
df226cbd99 Add SVG parser (#346) 2024-10-14 21:20:56 +02:00
6959929094 Add passkeys support + MFA (#341) 2024-10-07 23:56:32 +02:00
17237713a1 Add Postgres and MySQL databases support (#335) 2024-09-20 16:01:09 +02:00
9043cbcefe Update deps 2024-06-03 17:24:20 +02:00
f490f36e56 Update deps 2024-06-03 17:20:12 +02:00
0757c4e7fb Use go 1.22 and update deps (#244) 2024-05-05 00:38:06 +02:00
7a75c5ecfa Move Git hook logic to Opengist (#213) 2024-04-03 01:56:55 +02:00
4215d7e43b Update dependencies (#197)
Go 1.20 -> 1.21
JS package-lock
Nodejs Docker 18 -> 20
Alpine Docker 3.17 -> 3.19
2024-01-04 18:06:19 +01:00
87a6113cc7 Add Gist code search (#194) 2024-01-04 18:06:19 +01:00
85e2da054b Add clickable Markdown checkboxes (#182) 2024-01-04 18:06:19 +01:00
845e28dd59 Move code rendering to the backend & frontend improvements (#176)
Added Chroma & Goldmark

Added Mermaidjs

More languages supported

Add default values for gist links input

Added copy code from markdown blocks
2024-01-04 18:06:19 +01:00
c20ed60913 Update Go & deps. version (#102) 2023-09-18 18:17:11 +02:00
be3580f7b1 Resolve merge 2023-09-17 03:23:20 +02:00
3943b53163 Enhance Go CI (#99) 2023-09-17 02:55:17 +02:00
fe674ac88b Add git, auth and gists tests (#97) 2023-09-17 00:59:47 +02:00
46dea89b41 Create gists from git http server endpoint (#95) 2023-09-09 19:39:57 +02:00
af3aab21e3 chore: use glebarez mirror
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-06-16 11:13:25 -05:00
fb407bcbce feat: non-cgo sqlite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-06-16 11:08:33 -05:00
d866a6f2f2 Bump golang.org/x/net from 0.4.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 01:08:12 +00:00
a6c5696ceb Support Github and Gitea OAuth providers 2023-04-17 14:25:39 +02:00
bee5d045c3 Initial commit 2023-03-14 16:22:52 +01:00