Commit Graph

  • bd6e377e43 Allow explicit authorization to bypass wildcard URL restriction. Catherine 2025-09-18 01:56:06 +00:00
  • bbd7964e0c Revert "Expose metadata when running on bunny.net magic containers." Catherine 2025-09-18 01:42:17 +00:00
  • 2ca9a4c244 Revert "Log successful health check." Catherine 2025-09-18 01:40:51 +00:00
  • c9b2cbb52e Work around a TOCTTOU race in os.Root.MkdirAll(). Catherine 2025-09-17 23:14:52 +00:00
  • 82f24d5508 Log successful health check. Catherine 2025-09-17 18:31:38 +00:00
  • f482be4c05 Invalidate S3 backend cache after committing or deleting a manifest. Catherine 2025-09-17 17:01:50 +00:00
  • 6abaa04688 [breaking-change] S3_ENDPOINT_URLS3_ENDPOINT. Catherine 2025-09-17 16:25:31 +00:00
  • 73f00459c7 Simplify X-Bunnynet-MC format. Catherine 2025-09-17 15:38:32 +00:00
  • ea2c2c5d2e [breaking-change] Add a health check endpoint. Catherine 2025-09-17 15:36:27 +00:00
  • 13c72015a7 Raise default S3 backend max-age for manifests to 60s. Catherine 2025-09-17 15:16:00 +00:00
  • 705685e918 Expose metadata when running on bunny.net magic containers. Catherine 2025-09-17 14:55:46 +00:00
  • ef7aea6a38 Fix S3 backend cache expiry calculation. Catherine 2025-09-17 14:19:10 +00:00
  • 48cc4cbcbb Cache misses as well as hits in S3 GetManifest. Catherine 2025-09-17 14:18:07 +00:00
  • a0bd7d8650 Implement migration from v1 data layout. Catherine 2025-09-17 13:13:58 +00:00
  • 31131a6360 Use a context to ensure a time-based deadline for update operations. miyuko 2025-09-17 13:00:45 +01:00
  • cf8abbca28 Wrap errors when calling fmt.Errorf. miyuko 2025-09-17 13:00:45 +01:00
  • 92622b19a4 Fix file not closed after serving a page. miyuko 2025-09-17 13:00:45 +01:00
  • 3b80cb4144 Fix domain presence check. Catherine 2025-09-17 12:11:24 +00:00
  • 8d9c64410e Update Dockerfile. Catherine 2025-09-17 10:31:31 +00:00
  • 9e7ea8b5f1 Fix ETag header format. Catherine 2025-09-17 10:31:20 +00:00
  • 6463c4d2c5 Override backend configuration from environment. Catherine 2025-09-17 10:17:45 +00:00
  • b3f8b941d8 [breaking-change] Split blob paths for S3 backend as well. Catherine 2025-09-17 10:03:39 +00:00
  • 373d48ed22 Cache blobs in memory when using the S3 backend. Catherine 2025-09-17 07:38:53 +00:00
  • 1faf0a4431 Cache manifests in memory when using the S3 backend. Catherine 2025-09-17 06:53:39 +00:00
  • 876b4596ba Reduce amount of manifest queries sent to the backend. Catherine 2025-09-17 06:20:42 +00:00
  • 6254176a17 Add logging to S3 backend. Catherine 2025-09-17 06:20:22 +00:00
  • 7fc81d3d97 [breaking-change] Rearchitect for better object store compatibility. Catherine 2025-09-17 03:33:53 +00:00
  • e0f6dabd9f Set Access-Control-Allow-Origin for HTTP error responses as well. Catherine 2025-09-16 17:12:45 +00:00
  • b7e16b5e5f Redirect from /foo to /foo/ when serving index.html under it. Catherine 2025-09-16 16:51:11 +00:00
  • 8b8431201b Allow Authorization: Basic as a fallback for GitHub, etc. Catherine 2025-09-16 15:57:02 +00:00
  • e86e895913 Add cross-origin isolation headers to GET responses. Catherine 2025-09-16 15:19:10 +00:00
  • 3d199b660c Add Access-Control-Allow-Origin: * header to GET responses. Catherine 2025-09-16 15:04:34 +00:00
  • 02c69f8988 Add Cache-Control and ETag headers to GET responses. Catherine 2025-09-16 14:40:34 +00:00
  • cc42c43de2 Add Server: git-pages header to all responses. Catherine 2025-09-16 14:12:47 +00:00
  • bffa79dfba Add a Dockerfile Markus Unterwaditzer 2025-09-15 20:26:07 +02:00
  • 9c0cdaa2eb Report ignored refs in webhook response. Catherine 2025-09-16 13:05:40 +00:00
  • 20b7689d16 Report fetch outcome in webhook response. Catherine 2025-09-15 16:41:52 +00:00
  • 03d6c55855 Allow supplying Authorization: via query parameter. Catherine 2025-09-15 16:25:33 +00:00
  • 194302f4cf Accept GitHub, Gitea, and Gogs webhook payloads. Catherine 2025-09-15 16:18:16 +00:00
  • 87be9973b4 Compare repository URLs with casefolding. Catherine 2025-09-15 14:56:01 +00:00
  • 9d02387f5d Fix 404 being reported as 500. Catherine 2025-09-15 12:04:54 +00:00
  • 44d72eea9a Log a clearer message if requested path is not found. Catherine 2025-09-15 11:46:22 +00:00
  • 9588e6743c Respond to HEAD requests. Catherine 2025-09-15 11:28:33 +00:00
  • 9346beb01b Update README. Catherine 2025-09-15 09:55:18 +00:00
  • aa2ce12970 Add support for Caddy on-demand TLS. Catherine 2025-09-15 07:39:02 +00:00
  • abaf6d993b Add support for a wildcard domain. Catherine 2025-09-15 07:16:42 +00:00
  • 11145f407e Add a configuration file. Catherine 2025-09-15 05:20:02 +00:00
  • b9a26e528f Put sources under src/. Catherine 2025-09-15 04:51:51 +00:00
  • 2f59de02e3 Add authorization. Catherine 2025-09-15 04:13:07 +00:00
  • a3eca4f639 Add Forgejo webhook compatible POST endpoint. Catherine 2025-09-14 19:53:58 +00:00
  • 61b226c1f2 Reorganize, add README and LICENSE. Catherine 2025-09-05 08:03:23 +00:00
  • d074d212b4 Initial commit. pages Catherine 2025-09-05 08:05:10 +00:00
  • 81d795923f Add fetching via PUT request. Catherine 2025-09-05 06:33:29 +00:00
  • 364f4392c3 Add web server. Catherine 2025-09-05 04:41:07 +00:00
  • 53b6727af4 Initial commit. Catherine 2025-09-05 01:26:37 +00:00