Commit Graph
224 Commits
Author SHA1 Message Date
Willem van den Ende 370275f7b5 Verify feeds exclude future-dated posts 2026-04-01 20:37:27 +00:00
Willem van den Ende a380d0cb69 Add phx.gen.auth authentication scaffolding
- LiveView-based email/password auth via mix phx.gen.auth
- Auth links removed from public navigation (direct URL access only)
- Accounts context with User schema and token management
2026-04-01 20:31:13 +00:00
Willem van den Ende 0577ceced0 Filter future-dated posts from public views and add unfiltered post access
- all_posts/0 now excludes posts where date > today
- all_tags/0 computed at runtime from filtered posts
- posts_by_tag/1 and recent_posts/1 inherit date filtering
- Add unfiltered_posts/0 to Blog macro and FakeBlog
- Add all_posts_unfiltered/0 to Registry for dashboard use
2026-04-01 20:30:27 +00:00
Willem van den Ende 037e9f86ff Add post visibility and days_until_live helpers 2026-04-01 20:24:33 +00:00
Firehose Bot 9500c309d1 Style headings and quote 2026-03-24 19:51:08 +00:00
Firehose Bot 17a0f2709c Add current_tag attribute to post_index component 2026-03-24 14:56:54 +00:00
Firehose Bot e2caed41b9 Add current_tag attribute to post_index component 2026-03-24 14:56:54 +00:00
Firehose Bot cf7df3111f Linting rule only for dev and test
Production build broke because our custom lint rule was compiled. The
credo linter is not available and not necessary in production.

Solution: create separate directory for dev tools.
2026-03-24 14:41:58 +00:00
Firehose Bot 59a675ad71 Linting rule only for dev and test
Production build broke because our custom lint rule was compiled. The
credo linter is not available and not necessary in production.

Solution: create separate directory for dev tools.
2026-03-24 14:41:58 +00:00
Firehose Bot 04a736765d not running autoresearch at the moment 2026-03-24 14:23:00 +00:00
Firehose Bot 34d1589d67 not running autoresearch at the moment 2026-03-24 14:23:00 +00:00
Firehose Bot 590dd4a265 Fix trailing newline and format code 2026-03-24 14:21:22 +00:00
Firehose Bot f1c2d8b232 Fix trailing newline and format code 2026-03-24 14:21:22 +00:00
Firehose Bot fddbb4e777 remove sequence diagram skill, moved to other repo 2026-03-24 12:14:01 +00:00
Firehose Bot 60cfb137f2 remove sequence diagram skill, moved to other repo 2026-03-24 12:14:01 +00:00
Firehose Bot b3cdd93de8 nono sandbox 2026-03-24 12:13:05 +00:00
Firehose Bot 51c59e3388 nono sandbox 2026-03-24 12:13:05 +00:00
Firehose Bot 87e6490f85 post: blog triage with an llm 2026-03-24 12:11:23 +00:00
Firehose Bot c76853efec post: blog triage with an llm 2026-03-24 12:11:23 +00:00
Firehose Bot afc763d9d9 fix score according to claude desktop 2026-03-21 18:41:21 +00:00
Firehose Bot 09ca4f2758 fix score according to claude desktop 2026-03-21 18:41:21 +00:00
Firehose Bot 2708f81f1d initial setup for autoresearch of sequence diagram prompt 2026-03-21 15:39:15 +00:00
Firehose Bot f4d992f0d6 initial setup for autoresearch of sequence diagram prompt 2026-03-21 15:39:15 +00:00
Firehose Bot 73e0d9cf1e sandboxed haiku with pi 2026-03-21 15:36:51 +00:00
Firehose Bot 419e5dd5bd sandboxed haiku with pi 2026-03-21 15:36:51 +00:00
Willem van den Ende 505a2d0bd6 Add custom Credo check for conn shadowing in tests
Detects `conn = get(conn, ...)` patterns and directs to
refactor_conn_aliasing.sh for automatic fixing.
2026-03-20 21:37:04 +00:00
Willem van den EndeandClaude Opus 4.6 dcf3032d0e Add custom Credo check for conn shadowing in tests
Detects `conn = get(conn, ...)` patterns and directs to
refactor_conn_aliasing.sh for automatic fixing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 21:37:04 +00:00
Willem van den Ende 9426582abc Refactor conn aliasing in controller tests to use pipe chains
Applied refactor_conn_aliasing.sh to eliminate conn shadowing.

Show draft posts in test and dev
2026-03-20 21:36:08 +00:00
Willem van den Ende 6a5269f30a Refactor conn aliasing in controller tests to use pipe chains
Applied refactor_conn_aliasing.sh to eliminate conn shadowing.

Show draft posts in test and dev
2026-03-20 21:36:08 +00:00
Willem van den Ende c18f9cd2e3 Fix Sandbox module not available in DataCase setup
The alias was inside the `using` block (only available to consumers),
but setup_sandbox/1 runs in DataCase itself. Use fully qualified name.
2026-03-20 21:19:54 +00:00
Willem van den EndeandClaude Opus 4.6 5d040b4062 Fix Sandbox module not available in DataCase setup
The alias was inside the `using` block (only available to consumers),
but setup_sandbox/1 runs in DataCase itself. Use fully qualified name.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 21:19:54 +00:00
Willem van den Ende 5d49af2790 Add reusable script to refactor Phoenix test conn aliasing
Portable awk-based script that transforms conn shadowing patterns
into idiomatic pipe chains across 4 cases (body extraction, single
assert, pattern match assert, multi-use rename).
2026-03-20 21:19:54 +00:00
Willem van den EndeandClaude Opus 4.6 5186edc2e9 Add reusable script to refactor Phoenix test conn aliasing
Portable awk-based script that transforms conn shadowing patterns
into idiomatic pipe chains across 4 cases (body extraction, single
assert, pattern match assert, multi-use rename).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 21:19:54 +00:00
Firehose Bot 671add15bb fix blog tag clicks, and new post 2026-03-19 22:14:19 +00:00
Firehose Bot f148fe4fcd fix blog tag clicks, and new post 2026-03-19 22:14:19 +00:00
Firehose Bot be4be118a3 Fix review issues from commit 2a21d75
1. Rename goto_engineering_post_page/2 to visit_engineering_path/2 for
   better accuracy (used for both post pages and tag pages)

2. Simplify Makefile test target by removing explicit ecto.create and
   ecto.migrate commands (mix test handles migrations automatically)

3. Update blog_test.exs header comment to reflect actual changes made

4. Move Sandbox alias to top level in data_case.ex
2026-03-19 11:07:17 +00:00
Firehose Bot 3ffb0883f9 Fix review issues from commit 2a21d75
1. Rename goto_engineering_post_page/2 to visit_engineering_path/2 for
   better accuracy (used for both post pages and tag pages)

2. Simplify Makefile test target by removing explicit ecto.create and
   ecto.migrate commands (mix test handles migrations automatically)

3. Update blog_test.exs header comment to reflect actual changes made

4. Move Sandbox alias to top level in data_case.ex
2026-03-19 11:07:17 +00:00
Firehose Bot afdf557174 adjust makefile and refactor test 2026-03-18 20:04:41 +00:00
Firehose Bot 2a21d75938 adjust makefile and refactor test 2026-03-18 20:04:41 +00:00
Firehose Bot 506c72b2d8 also write something about unit tests 2026-03-18 20:03:41 +00:00
Firehose Bot a82dab0350 also write something about unit tests 2026-03-18 20:03:41 +00:00
Firehose Bot 2d94bbde62 test writer skill
Focuses on integration tests, but might be more reusable
2026-03-18 20:02:20 +00:00
Firehose Bot f05dd00c55 test writer skill
Focuses on integration tests, but might be more reusable
2026-03-18 20:02:20 +00:00
Firehose Bot c9901691e5 Fix blog API tests and add missing tag tests
- Add Accept: application/json headers to all API endpoint tests
- Add GET /blog/releases/tag/:tag HTML page test
- Add GET /api/blog/*/tag/:tag JSON API tests for both blogs
- Fix feed.xml assertions to check body first, then content type
2026-03-18 19:03:40 +00:00
Firehose Bot d428f51e8c Fix blog API tests and add missing tag tests
- Add Accept: application/json headers to all API endpoint tests
- Add GET /blog/releases/tag/:tag HTML page test
- Add GET /api/blog/*/tag/:tag JSON API tests for both blogs
- Fix feed.xml assertions to check body first, then content type
2026-03-18 19:03:40 +00:00
Willem van den Ende a5c26f24ab Add healthcheck and attempt to fix devcontainer
user was root instead of vscode, and pi was broken.
Claude code had gone missing
2026-03-18 17:15:45 +00:00
Willem van den Ende 99639090b6 Add healthcheck and attempt to fix devcontainer
user was root instead of vscode, and pi was broken.
Claude code had gone missing
2026-03-18 17:15:45 +00:00
mostalive 3837a72059 update blog post, and run credo with 'pi' 2026-03-18 15:03:24 +00:00
mostalive 80046094b8 update blog post, and run credo with 'pi' 2026-03-18 15:03:24 +00:00
mostalive 9be7c1774b Dokku setup script did not work that well, fixed by hand 2026-03-18 14:38:45 +00:00