Commit Graph

1384 Commits

Author SHA1 Message Date
svemagie
cf95660406 fix: resvg in deploy, not patches needed 2026-03-31 20:18:39 +02:00
svemagie
951a5354e3 fix: deploy build resvg 2026-03-31 20:16:40 +02:00
svemagie
938e6fecb7 fix: build native resvg, cache it
Some checks failed
Build & Deploy / build-and-deploy (push) Failing after 20s
2026-03-31 20:10:26 +02:00
svemagie
cbd5f1b994 fix: og passthrough
Some checks failed
Build & Deploy / build-and-deploy (push) Failing after 20s
2026-03-31 19:54:40 +02:00
svemagie
d701148dbf fix: og image fixes
Some checks failed
Build & Deploy / build-and-deploy (push) Failing after 20s
2026-03-31 19:49:33 +02:00
svemagie
ba9e64ae9e fix: og image fixes
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m16s
2026-03-31 19:24:58 +02:00
svemagie
c40456bcae fix: og-image got lost ... again
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m15s
2026-03-31 19:16:45 +02:00
svemagie
bb6e866978 Merge branch 'main' of https://gitea.giersig.eu/giersig.eu/indiekit-blog
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m16s
2026-03-31 19:01:30 +02:00
svemagie
fab646f7ab fix: github->gitea icon, no footer link 2026-03-31 19:01:26 +02:00
e6d602d3a1 update page post
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m29s
2026-03-31 18:59:34 +02:00
9f1febc930 update page post
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m22s
2026-03-31 18:56:32 +02:00
8169987c81 update page post
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m19s
2026-03-31 18:48:21 +02:00
0827d986c9 update repost post
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m26s
2026-03-31 18:37:38 +02:00
4b25b88c91 create repost post
Some checks failed
Build & Deploy / build-and-deploy (push) Has been cancelled
2026-03-31 18:36:10 +02:00
aadb1243b9 update bookmark post
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m19s
2026-03-31 18:15:24 +02:00
3e35a5cfec create bookmark post
Some checks failed
Build & Deploy / build-and-deploy (push) Has been cancelled
2026-03-31 18:14:05 +02:00
37f18ad2bd delete note post
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m16s
2026-03-31 17:15:57 +02:00
23983e1c48 create note post
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m13s
2026-03-31 17:13:00 +02:00
svemagie
c1564257e5 chore: trigger deploy
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m35s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 16:43:35 +02:00
svemagie
84020159b1 docs: update theme repo URL to Gitea
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m21s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 16:15:53 +02:00
svemagie
c8d4dee35e docs: move IndieKit server config notes to indiekit-server CLAUDE.md
The store-github/Gitea config, Micropub dispatch, and server-push
technique all belong in the server repo. Removed from here; added to
indiekit-server/CLAUDE.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 16:12:54 +02:00
svemagie
4911219549 chore: replace GitHub icon with official Gitea SVG in sidebar widget
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m21s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 15:27:17 +02:00
svemagie
219c18138c fix(og): match plain URL slugs; fix Funkwhale GC wipe
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m19s
og-fix transform was matching date-based URL segments
(/type/yyyy/MM/dd/slug/) that this site never uses — posts live at
/type/slug/. Every post therefore fell through to the default OG image.

Fixed by updating the regex to /type/slug/index.html and deriving the OG
slug as the bare last URL segment, which matches the filename og.js
already generates. The ogSlug filter is simplified accordingly.

Funkwhale GC bug: gcFunkwhaleImages() deleted the entire image cache
whenever _activeFilenames was empty — which happens if the API returns
valid stats but no listenings with cover URLs. Guard added: GC is
skipped when no images were referenced this build.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 14:04:34 +02:00
svemagie
b50006245d fix(changelog): switch to page-based pagination (Gitea ignores 'since')
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m13s
Gitea's commits API ignores the 'since' query param entirely, so all
360 commits were fetched via multiple pages on every load.

Replace days-based approach with simple page pagination:
- Initial load: page 1, limit=50 per repo (2 requests, ~2s)
- Load more: appends page 2, 3, ... on demand
- No more while loop or date filtering
- Remove daysProgression / currentDays state
- Clean up summary text

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 13:43:31 +02:00
svemagie
acaff70cfe fix(changelog): break pagination when commits pass date cutoff
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 2m13s
Gitea's commits API ignores the 'since' param, returning all 360+
commits regardless. Added client-side date filtering: skip commits
older than the cutoff and break pagination early once a page contains
commits past the cutoff. Prevents fetching 7+ pages on every load.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 13:33:13 +02:00
svemagie
139e4b608b docs: update CLAUDE.md for Gitea migration
- Sharp restore path corrected to src/build/Release/ (0.33.x)
- GITEA_URL / GITEA_ORG added to deploy env var reference
- Document store-github → Gitea config (trailing slash gotcha, GH_CONTENT_TOKEN alias)
- Document custom gitea_runner rc service and Micropub dispatch patch
- Document Gitea sidebar widget and changelog migration

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 12:59:22 +02:00
svemagie
a6f87de59d chore: switch GitHub widget and changelog to Gitea
- Sidebar "GitHub" widget renamed to "Gitea", links point to gitea.giersig.eu/giersig.eu
- Runtime widget JS fetches commits/repos/PRs directly from Gitea API
- Build-time data files (githubActivity, githubRepos) switched from GitHub API to Gitea API
- changelog.njk fetches from Gitea API directly with client-side commit categorisation
- GITEA_URL / GITEA_ORG added to deploy.yml build env

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 12:46:01 +02:00
0f250c4b8d chore: switch GitHub widget and changelog to Gitea 2026-03-31 12:45:13 +02:00
ea92cffb54 fix: sharp src/build/Release path + delete stale cache 2026-03-31 12:22:18 +02:00
8212c7a2cf fix: sharp cache restore path (remove fragile find+xargs) 2026-03-31 12:17:28 +02:00
56589c4445 test: push trigger check 2026-03-31 11:59:20 +02:00
1a07465a80 feat: rescue orphaned note 8ff35 2026-03-31 11:46:20 +02:00
bc7936f823 test: cleanup 2026-03-31 11:42:02 +02:00
790361926e test: verify Gitea write path 2026-03-31 11:42:02 +02:00
svemagie
2837f2af38 docs: update CLAUDE.md with Gitea CI setup and infra details
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 11:37:16 +02:00
8d030b64a1 ci: fix BSD head -n -1 -> sed $d 2026-03-31 10:43:50 +02:00
4da7e8edb3 ci: add sharp binary cache + fix syndication internal URL 2026-03-31 10:37:42 +02:00
effaca11f0 ci: use internal URL for syndication webhook 2026-03-31 10:10:42 +02:00
79ee1d9ea8 ci: add node-gyp dep for sharp build from source 2026-03-31 09:56:20 +02:00
fcacc12dd4 ci: add node-addon-api dep for sharp build from source 2026-03-31 09:54:29 +02:00
aba4a41dd7 ci: build sharp from source for FreeBSD 2026-03-31 09:53:00 +02:00
79f89023b0 ci: force-install sharp-wasm32 to bypass cpu check 2026-03-31 09:51:02 +02:00
1632db3efd ci: fix secrets typo + wasm32 sharp fallback 2026-03-31 09:49:39 +02:00
7321a05419 ci: install sharp wasm32 fallback for FreeBSD 2026-03-31 09:48:50 +02:00
190a1d9684 ci: rebuild sharp from source for FreeBSD runner 2026-03-31 09:41:52 +02:00
30afa60930 ci: adapt deploy workflow for Gitea FreeBSD runner 2026-03-31 09:17:18 +02:00
svemagie
a2da6fc3eb update note post 2026-03-30 17:13:53 +02:00
svemagie
c076b1ea57 create note post 2026-03-30 17:12:31 +02:00
svemagie
a7b1c6b142 create reply post 2026-03-30 08:23:01 +02:00
svemagie
ba28cb83f4 delete reply post 2026-03-30 08:21:49 +02:00