Commit Graph

10 Commits

Author SHA1 Message Date
Klippo 8dce010592 fix(git): stop unbounded diff content growth for large files (#787)
* fix(git): stop unbounded diff content growth for large files

parseDiffContent's per-file truncation counter was declared but never
incremented, so the byte cap on diff content never triggered resulting
in performance degradation for large files.

* Fix remaining bytes

---------

Co-authored-by: Thomas Miceli <tho.miceli@gmail.com>
2026-08-04 08:38:24 +02: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
Thomas Miceli c1e046f428 Convert octal notation file names in Git (#380) 2024-11-17 18:09:44 +01:00
Thomas Miceli 785d89d6ab Rework git log parsing and truncating (#260) 2024-04-27 01:49:53 +02:00
Thomas Miceli db6d6a5eba Set gist visibility via Git push options (#215) 2024-04-03 01:56:55 +02:00
Thomas Miceli 7a75c5ecfa Move Git hook logic to Opengist (#213) 2024-04-03 01:56:55 +02:00
Jacob Hands 2f8435892e Add config for default branch name (#171)
Co-authored-by: Thomas Miceli <27960254+thomiceli@users.noreply.github.com>
2024-01-04 18:06:19 +01:00
Thomas Miceli 85e2da054b Add clickable Markdown checkboxes (#182) 2024-01-04 18:06:19 +01:00
Thomas Miceli 5b278e2e86 Change gist init url to /init (#109) 2023-09-25 18:43:55 +02:00
Thomas Miceli fe674ac88b Add git, auth and gists tests (#97) 2023-09-17 00:59:47 +02:00