Commit Graph

  • 959715269f Collect unresolved blob references in a dedicated error structure. Catherine 2025-12-05 11:31:03 +00:00
  • faa486c779 Collect statistics on blob reuse during archive upload. Catherine 2025-12-05 11:20:28 +00:00
  • 50d28f3c8b Resolve /git/blobs/ symlinks as blob references to the old manifest. Catherine 2025-12-05 10:52:54 +00:00
  • eb6418b9b6 Fill in git_hash for regular files in archive uploads. Catherine 2025-12-05 08:06:50 +00:00
  • 32c449e380 Use path.Join where applicable. NFC Catherine 2025-12-05 05:52:07 +00:00
  • 9036915ff9 Cache individual layers of Docker container as it is being built. v0.2.0 Catherine 2025-12-05 04:25:05 +00:00
  • 6cf49c6093 Stabilize feature serve-h2c. Catherine 2025-12-05 03:56:26 +00:00
  • da0758b972 Stabilize features patch and archive-site. Catherine 2025-12-05 03:53:46 +00:00
  • 8eeaf222ca Log beginning of audit event processing. Catherine 2025-12-05 03:41:22 +00:00
  • 8c29ba3fe7 Implement -audit-server. Catherine 2025-12-05 03:03:38 +00:00
  • 464c40db9c Add Create-Parents: mode to PATCH method. Catherine 2025-12-04 18:23:42 +00:00
  • 93565e4e04 Factor out getWebRoot(). NFCI Catherine 2025-12-04 17:51:07 +00:00
  • 5f1ce5d334 Fix a bug preventing new manifests from being committed to S3. Catherine 2025-12-04 17:50:28 +00:00
  • f59830ae20 Rename PATCH Race-Free: header to Atomic:. Catherine 2025-12-04 16:50:35 +00:00
  • 1c017020c1 Update -audit-log to fetch records in parallel. Catherine 2025-12-04 16:45:28 +00:00
  • e730b2bcd2 Fix phrasing in README. Catherine 2025-12-04 16:18:31 +00:00
  • 886635ce5e Implement -audit-log option. Catherine 2025-12-04 15:58:14 +00:00
  • 4161013fc0 Implement -audit-read option. Catherine 2025-12-04 15:25:28 +00:00
  • 8f0712b3ad Improve error handling in CollectTar. Catherine 2025-12-04 15:23:15 +00:00
  • 2ebf4400bf Update introduction in README. Catherine 2025-12-04 13:51:46 +00:00
  • 1ad5d5590c Optionally include principal's IP address in audit record metadata. Catherine 2025-12-04 06:05:50 +00:00
  • 75489f563e Fix issues with locking on Windows. Catherine 2025-12-04 05:09:28 +00:00
  • d5360817f3 Simplify fetch logging. NFC Catherine 2025-12-04 03:52:03 +00:00
  • e8c9cf588c Drop the shared manifest lock in the FS backend. Catherine 2025-12-04 01:08:36 +00:00
  • f5c48d0759 Use ETag as precondition for partial updates. Catherine 2025-12-04 01:03:57 +00:00
  • 92d6796ad9 Return both LastModified and ETag in manifest metadata. NFCI Catherine 2025-12-04 00:54:19 +00:00
  • 460ff41cc9 Allow PATCH method to apply partial updates. Catherine 2025-12-03 18:10:54 +00:00
  • be75cc82a4 Factor out functions to create and fill a manifest. NFCI Catherine 2025-12-03 18:10:54 +00:00
  • e99fade242 Make .gz/.zst extraction composable. NFCI Catherine 2025-12-03 17:30:52 +00:00
  • 21b82f8e2c [breaking-change] Implement audit record retrieval. Catherine 2025-12-03 16:30:52 +00:00
  • 6e7b42b942 Implement audit notifications. Catherine 2025-12-03 06:32:07 +00:00
  • 5b8267ace5 Parse URLs while loading configuration. NFCI Catherine 2025-12-03 06:10:47 +00:00
  • 955af0d589 Add missing setConfigValue() branch. Catherine 2025-12-03 06:03:51 +00:00
  • 95c4f1041d Fix S3 implementation of frozen domain check. Catherine 2025-12-03 04:52:41 +00:00
  • e226f51dd4 Implement auditing of important site lifecycle actions. Catherine 2025-12-03 04:10:57 +00:00
  • dcf70dfdda Trim trailing \n from log messages. Catherine 2025-12-03 01:33:08 +00:00
  • cc5f8f608e Consistently use context in Main(). Catherine 2025-12-03 01:16:42 +00:00
  • baae1e6560 Simplify. NFCI Catherine 2025-12-03 01:08:46 +00:00
  • 6faf3b1ee3 Reformat. NFC Catherine 2025-12-03 01:07:26 +00:00
  • f089208ca7 [breaking-change] Make fallback handler per-instance, not per-wildcard. Catherine 2025-12-03 00:38:02 +00:00
  • c250922f8d Allow domains to be administratively frozen. Catherine 2025-12-02 23:46:17 +00:00
  • 32111307eb Add "dry run" capability for all destructive endpoints. Catherine 2025-12-02 22:23:21 +00:00
  • 89c57cfadb Use git filters for incremental updates from a git repository. Catherine 2025-12-02 21:39:05 +00:00
  • af40848d9f Explicitly mention SHA-256 transition status. Catherine 2025-12-02 22:17:22 +00:00
  • 689030c28a Add a Prometheus metric for blob/request encoding pairs. Catherine 2025-12-01 11:03:14 +00:00
  • 30bde8c1c4 Rename blob transforms to match HTTP encoding names. Catherine 2025-12-01 11:01:21 +00:00
  • e1a2143d22 fix(deps): update all dependencies woodpecker-bot 2025-11-29 00:14:43 +00:00
  • 0b82dcbc25 Replace s3GetObjectErrorsCount metric with *ResponseCount. mergebase-1075974-1764375289376272055/tmp_refs/heads/main mergebase-1075974-1764375289376272055/main Catherine 2025-11-28 23:56:20 +00:00
  • f9669e1c69 Update sentry-go. Catherine 2025-11-26 03:18:39 +00:00
  • 4cca8abaf0 Make Sentry telemetry buffer configurable. Catherine 2025-11-23 03:04:23 +00:00
  • d82ae69625 Simplify SIGINT handling code. NFC Catherine 2025-11-23 03:03:04 +00:00
  • fa02595f8b Handle OPTIONS method. Catherine 2025-11-23 00:14:39 +00:00
  • 80d2a7a792 Rename license to satisfy https://pkg.go.dev Catherine 2025-11-22 23:32:18 +00:00
  • 988da5243e Fix nix flake. Catherine 2025-11-22 23:21:00 +00:00
  • eda6d8b6f6 Update the go-slog-syslog dependency. miyuko 2025-11-22 14:43:27 +00:00
  • fcc109c315 Add the ability to send logs to a syslog daemon. miyuko 2025-11-20 07:58:49 +00:00
  • 4d8f6d5e9d fix(deps): update module github.com/go-git/go-git/v6 to v6.0.0-20251121083746-39fcec474970 woodpecker-bot 2025-11-22 00:13:20 +00:00
  • cb7802df10 Pass the context to logging functions. miyuko 2025-11-22 00:27:25 +00:00
  • b01e67f993 Exit gracefully (run deferred statements in main()) on SIGINT. miyuko 2025-11-21 15:09:36 +00:00
  • b5a1626a10 Fix content-type detection for small files David Leadbeater 2025-11-21 15:45:14 +11:00
  • b1b8ae26e8 Restrict DNS Allowlist authorization to index site only. Catherine 2025-11-21 03:42:39 +00:00
  • eac02e5758 fix(deps): update all dependencies woodpecker-bot 2025-11-21 00:19:06 +00:00
  • 7e1185309b Fix a regression causing non-observance of ≠200 S3 manifest responses. Catherine 2025-11-20 07:06:14 +00:00
  • 351d0a0c85 Add a log level config option David Leadbeater 2025-11-20 17:29:09 +11:00
  • 982c3321e0 Reword some log messages. NFC v0.1.0 Catherine 2025-11-20 04:11:57 +00:00
  • eaf77565bc Improve configuration reload and clarify scope. Catherine 2025-11-20 04:04:57 +00:00
  • c93d3a0bb5 Reload configuration on SIGHUP (if supported by OS). Catherine 2025-11-20 03:43:20 +00:00
  • a924dd5116 Improve CLI usage text. Catherine 2025-11-20 03:15:03 +00:00
  • f148792bcd Accept an output argument in -get-blob, -get-manifest, -get-archive. Catherine 2025-11-20 03:03:03 +00:00
  • 99904174e4 Bring documentation up to date. Catherine 2025-11-20 02:36:20 +00:00
  • 6db850e2c4 Allow downloading entire site via CLI or HTTP. Catherine 2025-11-20 00:37:16 +00:00
  • aa6e495505 Fix DIV/0 when compressing a site without contents. Catherine 2025-11-20 01:17:01 +00:00
  • 0e342b11f6 Add Last-Modified: header to /.git-pages/ metadata responses. Catherine 2025-11-19 22:37:06 +00:00
  • dd16818618 Refactor S3Backend.GetManifest. NFCI Catherine 2025-11-19 22:26:38 +00:00
  • 0b2db170b8 Allow updating wildcard domain sites from an archive with a forge token. Catherine 2025-11-19 03:43:57 +00:00
  • 457dd60aa0 Factor out authentication helpers. NFC Catherine 2025-11-19 02:50:58 +00:00
  • 95894bb403 Docker: clean Go cache after building executables. Catherine 2025-11-19 01:50:52 +00:00
  • 6196026312 CI: publish releases and handle tags. Catherine 2025-11-19 01:19:45 +00:00
  • 073435aa2b Redirect domain.tld/project to domain.tld/project/ when present. Catherine 2025-11-18 22:25:26 +00:00
  • 325c283e05 Refactor redirect code. NFC Catherine 2025-11-18 22:21:51 +00:00
  • 7773ebd0dc CI: switch package runner to medium. Catherine 2025-11-18 21:30:18 +00:00
  • cef3d785ec Add a Prometheus counter for s3:GetObject errors. miyuko 2025-11-16 00:30:48 +00:00
  • fff345c695 Don't observe context cancellation errors. miyuko 2025-11-17 11:08:35 +00:00
  • de17426f41 Observe blob fetch errors during GET requests. miyuko 2025-11-17 11:08:10 +00:00
  • 3334af922f Allow external redirects for 3xx statuses David Leadbeater 2025-11-17 19:24:54 +11:00
  • 5a09d30d3d Renovate: disable automerge so it'd stop breaking the flake. Catherine 2025-11-17 04:34:26 +00:00
  • d88d97721a Observe whether manifest cache is bypassed. Catherine 2025-11-17 04:34:17 +00:00
  • 91dc7e0c54 Add original (decompressed) size to site manifest. Catherine 2025-11-16 19:27:02 +00:00
  • 770ff5c416 Remove unused go.mod entries. Catherine 2025-11-16 19:22:20 +00:00
  • 779f705d5c Allow matching multiple subdomains in wildcards oppiliappan 2025-11-16 05:56:12 +00:00
  • 5da56a1b94 Link to git-pages-cli in README. Catherine 2025-11-16 02:06:19 +00:00
  • 2193fb86de Try to fix Sentry errors getting attached to wrong transactions. miyuko 2025-11-16 00:30:09 +00:00
  • de40c8263a Set Update-Result for DELETE requests. Catherine 2025-11-16 00:18:27 +00:00
  • 3e59fd2734 Rename X-Pages-Update header to Update-Result. Catherine 2025-11-15 23:46:19 +00:00
  • 9a431b8bbb Add /.git-pages/health endpoint. Catherine 2025-11-15 21:17:30 +00:00
  • adfbb99172 Add Caddy to the Nix devshell. bin 2025-11-15 12:20:55 -05:00
  • d604455e1f Ignore trailing . in hostnames. Catherine 2025-11-15 03:12:02 +00:00
  • 3431217a09 Don't respond with a completely blank 404 page. Catherine 2025-11-15 01:42:22 +00:00
  • b70a9ad4dd Allow only ssh, http, and https schemes for clone URLs. Catherine 2025-11-14 23:12:53 +00:00
  • 19892ecfd1 Correctly read symlinks from zip files David Leadbeater 2025-11-14 12:50:01 +11:00