1
0
mirror of https://gitlab.com/Anson-Projects/zine.git synced 2026-06-03 19:30:25 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
Anson 35ae80c1d9 Fix site_health: remove existing output dir before symlink
The output/ directory exists in the repo with static assets,
so ln -s was silently failing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 15:43:17 -05:00
Anson 307c1fa927 Fix site_health job artifact dependency
Use needs with explicit artifacts: true instead of dependencies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 15:29:42 -05:00
Anson 0ac1cf6c53 Add platformtoolsmith.com feed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 14:59:49 -05:00
Anson 2592d8ac46 Add site health tests and fix feed issues
- Add exhaustive site validation tests (all links, images, meta tags)
- Add link_host config field to fix feeds with broken URLs
- Fix vitalik feed (rewrite vitalik.ca → vitalik.eth.limo)
- Fix gzip-compressed feeds (evanjones.ca) with reqwest compression
- Resolve relative URLs in feed entries against feed base URL
- Switch to env_logger to filter html5ever warnings
- Add site_health CI job (parallel, non-blocking)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 15:39:30 -05:00
Anson c3be3c226a Fix pipeline name too long error 2025-11-27 16:51:02 -05:00
Anson a802e00c36 Remove quarantine status from feeds with connection issues
Keep ascii.textfiles.com, annahope.me, and tratt.net active so they'll
be retried each run. Errors are logged but don't block the build.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 16:47:23 -05:00
Anson 1658c05454 Migrate feed management from txt files to TOML
Replace feeds.txt, featured_feeds.txt, and quarantine.txt with a single
feeds.toml configuration file that supports:
- Required url field for each feed
- Optional name, home_url overrides
- Optional featured boolean for 50% score boost
- Optional status field (active/quarantine)
- Optional notes field

Add schema validation:
- feeds.schema.json for JSON Schema definition
- .taplo.toml for taplo integration
- .vscode/settings.json for VSCode integration
- CI job to validate feeds.toml with taplo

Update utilities.rs with FeedConfig struct and read_feeds() function
that parses TOML, filters quarantined feeds, and applies featured boost.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 16:43:00 -05:00
Anson 9feee3d719 Strip iframes, noscript, and XML namespace elements from feed content
Add regex patterns to remove problematic HTML elements that were
rendering as raw text in descriptions:
- iframe tags (tracking pixels, embeds)
- noscript tags
- XML namespace divs (Atom spec violation warnings)
- Final pass to catch any remaining HTML tags

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 16:26:48 -05:00
Anson 2712e68a73 Improve error handling, performance, and security
- Replace unwrap() calls with proper error handling using expect(), ?, and graceful fallbacks
- Add shared HTTP client with 30s timeout and User-Agent header
- Move IndexNow API key to CI/CD variable for security
- Cache regex patterns using LazyLock for better performance
- Change function signatures to accept references instead of clones
- Replace println! with proper log:: macros for consistency
- Fix is_valid_url() to use URL parsing instead of HTTP requests
- Remove invalid clippy dev-dependency
- Update dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 16:24:04 -05:00
Anson d26b779f07 Upgrade and update deps 2025-09-15 17:58:36 -04:00
Anson 20749421d1 Update to container that works 2025-09-15 17:44:46 -04:00
Anson de5d7457f5 Pin rust version to stop filling up my poor unraid server 2025-09-15 17:31:39 -04:00
Anson ee157336c0 New Blogs 2025-07-05 14:58:41 -06:00
Anson 74039edb30 Remove caching 2025-06-30 15:57:01 -06:00
Anson 6e0fd55e39 Let clippy fix 2025-06-30 15:55:41 -06:00
Anson da63b300c6 Do not lint on scheduled jobs 2025-06-30 15:48:03 -06:00
Anson 1e6eafa9cc Merge branch 'master' of gitlab.com:Anson-Projects/zine 2025-06-03 14:15:08 -06:00
Anson 5516a4e30b new blog 2025-06-03 14:14:47 -06:00
Anson e65a8734ef update deps 2025-05-19 19:26:44 -06:00
Anson 70bcf6229e new blog 2025-02-28 10:10:11 -07:00
Anson 0d070e29eb bump deps 2025-02-27 17:02:18 -07:00
Anson 481bbc4b93 Allow lint to fail on scheduled jobs 2025-01-10 12:28:37 -07:00
Anson 4028cd0967 Thanks Clippy 2025-01-10 12:26:35 -07:00
Anson 7b520be7b3 new blog 2024-12-22 23:04:31 -07:00
Anson d519769fff Forgot to lint 2024-12-10 22:03:22 -07:00
Anson 7b676037df How am I supposed to know thats what needs wants 2024-12-10 21:50:11 -07:00
Anson 908ababa60 see if this fixes the constraint 2024-12-10 21:48:37 -07:00
Anson 03b95d1017 Start fighting the CI 2024-12-10 21:47:08 -07:00
Anson b54d1d339d Clean up code 2024-12-10 21:32:01 -07:00
Anson 3323b8a989 new blog 2024-12-03 19:38:44 -07:00
Anson 8f9617eb11 new blog 2024-12-03 19:19:04 -07:00
Anson 34f715b07d Add rss feeds and bump versions 2024-11-19 21:21:08 -07:00
Anson 15f801f622 Version bumps 2024-11-18 23:56:18 -07:00
Anson f0b7e9da13 Fail to patch a bug but I cleaned up some code so here we are 2024-11-18 23:49:54 -07:00
Anson 716fac31f0 New blogs 2024-11-18 22:47:36 -07:00
Anson 919e290a26 Add rss feed to head of page 2024-11-12 19:30:19 -07:00
Anson 65998c7fa7 Fixes #9, turns out id's are important 2024-11-06 21:36:03 -07:00
Anson caa0100e26 Clean up some language, bump dependencies, and add new blogs 2024-11-02 20:27:05 -06:00
Anson 7af1de7ef6 Update Dependencies 2024-09-21 12:23:11 -06:00
Anson 504e8ec182 New feeds 2024-09-21 12:17:09 -06:00
Anson 66c1063585 New test to find duplicate feed entries 2024-09-21 12:16:56 -06:00
Anson 88dd7d9982 bump version 2024-08-24 23:28:43 -06:00
Anson 2d1498f5d8 new blog 2024-08-24 23:26:40 -06:00
Anson 20a9b421ce pin time to fix bug 2024-07-27 11:22:54 -06:00
Anson 89cd18d538 new blogs 2024-07-27 11:02:09 -06:00
Anson dbbdc8911f undo rewrite of main 2024-07-27 10:53:11 -06:00
Anson 2725245393 Refactor and clean up codebase 2024-07-01 22:46:59 -06:00
Anson fcd4248a3c new blogs 2024-06-27 00:39:52 -06:00
Anson 3f40042bf6 robot 2024-06-05 01:33:58 -06:00
Anson 6bdee6dddb new blog 2024-06-04 21:34:01 -06:00