Thomas Miceli
d796eeba98
Make gists username/urls case insensitive in URLS ( #641 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-03-03 15:28:49 +08:00
Thomas Miceli
6c22adba4e
Fix async-loaded gist embed scripts ( #630 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-03-03 00:10:28 +08:00
Thomas Miceli
bb63ecd048
Remove windows tests in CI for now ( #629 )
2026-03-02 16:59:43 +08:00
Thomas Miceli
6a61b720ab
Improve test suite ( #628 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-03-02 15:43:24 +08:00
Thomas Miceli
829cd68879
CSRF skipper only for GET *.js request ( #627 )
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-03-02 15:05:45 +08:00
Thomas Miceli
42490f2995
fix uuid
...
Signed-off-by: Thomas Miceli <tho.miceli@gmail.com >
2026-02-26 06:42:00 +07:00
awkj
f83018ebf2
support UTF-8, show no English Text ( #625 )
2026-02-26 02:13:09 +08:00
Thomas Miceli
b097cfcbc0
Clean file path names on file creation ( #624 )
2026-02-25 23:30:26 +08:00
Thomas Miceli
7b1048ec30
Display a form to create an Opengist account coming from a OAuth provider ( #623 )
2026-02-08 16:32:24 +08:00
Thomas Miceli
fe04c03acb
Improve security on raw files endpoint ( #613 )
2026-02-03 02:11:39 +08:00
Thomas Miceli
b7dbdde66b
Allow Access Tokens with Required Login ( #611 )
2026-02-02 19:31:07 +08:00
Thomas Miceli
5ddea2265d
Add access tokens ( #602 )
2026-01-27 14:43:12 +08:00
Nova Cat
1128a81071
Ignore TCP errors ( #601 )
2026-01-27 13:49:37 +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
b11306851b
Fuzzy search + tests ( #555 )
2025-12-26 22:36:28 +08:00
Thomas Miceli
f653179cbf
Upgrade JS and Go deps versions ( #517 )
2025-10-07 16:59:37 +02:00
Thomas Miceli
4106956f6d
Fix human date on iOS devices ( #510 )
2025-09-21 04:31:58 +02:00
Fabio Manganiello
c02bf97b63
feat: Add support for rendering .ipynb Jupyter/IPython notebooks ( #491 )
2025-09-21 03:48:59 +02:00
Thomas Miceli
53ce41e0e4
Add file upload on gist creation/edition ( #507 )
2025-09-16 01:56:38 +02:00
Thomas Miceli
594d876ba8
Add binary files support ( #503 )
2025-09-16 01:35:54 +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
b048203216
Use db for queue ( #498 )
2025-08-18 16:01:50 +02:00
Thomas Miceli
a7a25c4100
Fix LDAP with valid old password login ( #497 )
2025-08-14 11:10:45 +02:00
Thomas Miceli
979b302e4c
Add listen to Unix websocket ( #484 )
2025-08-01 17:34:52 +02:00
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
Ross A. Baker
91df15f957
Allow lag between admin invitation creation and test assertion ( #452 )
2025-03-31 11:53:12 +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
Thomas Miceli
d53885c541
Fix test database with go command ( #442 )
2025-03-17 16:17:53 +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
Thomas Miceli
28c7e75657
Use jdenticon for default avatars ( #416 )
2025-01-27 00:08:50 +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
gofastasf
8369cbf2f0
fix: replace path.Join with filepath.Join for file system paths ( #414 )
2025-01-21 07:46:59 +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
Thomas Miceli
00e3d09cc5
Fix escaping for embed gists ( #381 )
2024-11-18 02:29:05 +01:00
Thomas Miceli
d537153785
Fix Markdown preview ( #368 )
2024-11-02 01:05:43 +01:00
Thomas Miceli
7cc2b497ca
Use mail handle if oauth nickname is empty ( #362 )
2024-10-31 18:24:15 +01:00
zdebel
d5e66d3994
Fix oauth endpoint to support detecting https in 'Forwarded' header, enabling google support ( #359 )
2024-10-31 15:03:35 +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
20372f44e4
Change json response detection ( #361 )
2024-10-31 14:41:42 +01:00