4a089b0856
fix(perf): bind length/1 to variables before loop bodies in route paths and sidebar (CSM-029)
2026-05-11 20:18:56 +02:00
2632649cdc
fix(rendering): replace raising read_template_file with try_read in macro templates (CSM-028)
2026-05-11 20:09:49 +02:00
782511d523
fix(templates): replace equality check with pattern matching in rewrite_template_file (CSM-027)
2026-05-11 20:06:15 +02:00
1cb59d7a78
chore: update the spec gaps with decisionm points
2026-05-11 12:19:16 +02:00
9844f3555a
chore: analyse specs against code
2026-05-11 11:56:34 +02:00
99dc1c2216
chore: remove redundant export-only tests, add test audit procedure
...
Deleted chat_editor_test.exs and import_editor_test.exs which only
checked function_exported?/Code.ensure_loaded? without exercising any
behavior — both components are already tested via LiveView rendering
in shell_live_test.exs and import_shell_live_test.exs respectively.
Added TESTAUDIT.md documenting the procedure for periodic test suite
audits to catch non-behavioral tests.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 10:35:24 +02:00
71fb99af16
chore: unit tests adaption to idea of gate test
2026-05-11 10:21:00 +02:00
0808b27057
chore: moved from delay-based tests to deterministic gated server tests
...
for chat
2026-05-11 10:20:46 +02:00
ac4f5a3580
fix: eliminate TOCTOU race in template file system by reading directly instead of checking existence (CSM-026)
2026-05-11 09:26:54 +02:00
43a435f35d
fix: derive pagefind language prefixes from project settings (CSM-025)
...
Replace hardcoded ["de/", "fr/", "it/", "es/"] with prefixes computed
from plan.blog_languages, so arbitrary language codes work correctly.
Also mark CSM-024 as fixed (done in CSM-005).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:19:31 +02:00
7b383d31ab
fix: decompose monolithic functions into focused helpers (CSM-023)
...
Break up SRP violations in Templates.do_update_template/2 and
Capabilities.for_project/2 by extracting domain-specific builder
functions and single-responsibility private helpers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:15:48 +02:00
09df925e9b
chore: allow git push
2026-05-11 09:10:08 +02:00
a4ecbabc21
fix: return error tuples instead of silent {:ok, ""} in execute_macro (CSM-022)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:07:44 +02:00
2be43ca06d
fix: replace cond blocks with pattern matching and case (CSM-021)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:04:56 +02:00
d231f42363
chore: allowed git add and ecto migrate
2026-05-10 12:37:24 +02:00
7c00279b9d
fix: flatten nested case blocks with with chains (CSM-020)
...
Replace deeply nested case expressions with flat with chains in
import_definitions, publishing, and templates modules. Also replaced
Repo.update!() with Repo.update() in the publishing update_job handler.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-10 12:36:42 +02:00
b6f9cf58e1
fix: add @spec to all public functions across 24 modules (CSM-019)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-10 11:40:42 +02:00
3f77488e33
fix: add @moduledoc to all public modules (CSM-018)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-10 11:30:08 +02:00
5c17751d55
fix: fixed CSM-017
2026-05-09 17:33:51 +02:00
e4452ca504
chore: unit tests for CSM-016
2026-05-09 17:18:43 +02:00
ce80f28e60
fix: fix CSM-016 for real (previous commit was 015)
2026-05-09 17:18:32 +02:00
f1de11a205
fix: fixed CSM-016
2026-05-09 16:57:59 +02:00
ff219fd110
chore: unit test for csm-014
2026-05-09 16:38:18 +02:00
de7ea12c9c
fix: fixed CSM-014
2026-05-09 16:38:00 +02:00
1beffe6b07
chore: unit test for csm-013
2026-05-09 15:10:24 +02:00
999632dbe7
fix: fixed CSM-013
2026-05-09 15:10:04 +02:00
44b88056e3
fix: fix CSM-012
2026-05-09 15:04:10 +02:00
35b3818d58
chore: unit test for CSM-011
2026-05-09 14:52:48 +02:00
37db52c024
fix: fixed CSM-011
2026-05-09 14:52:29 +02:00
f1445120fc
fix: fix CSM-010
2026-05-09 14:31:44 +02:00
14dfbd8829
fix: fixed CSM-009
2026-05-09 14:22:56 +02:00
24e9e9a022
fix: fixed CSM-008
2026-05-09 14:17:32 +02:00
88c689ee55
fix: fixed CSM-007
2026-05-09 10:41:28 +02:00
e5429f7265
fix: implement CSM-006
2026-05-08 20:39:50 +02:00
93a4159c31
fix: fix CSM-006
2026-05-08 20:26:08 +02:00
06d80e2924
fix: tests for CSM-005
2026-05-08 20:09:18 +02:00
291dff697c
fix: fix CSM-005
2026-05-08 20:09:02 +02:00
9944b70ab1
fix: fixed CSM-004
2026-05-08 19:52:59 +02:00
723b8c6433
fix: worked on CSM-003
2026-05-07 21:49:59 +02:00
92334256cf
fix: fix CSM-002
2026-05-07 16:52:53 +02:00
d3f45ba0dd
fix: CSM-001 done
2026-05-06 19:33:54 +02:00
3ce6010b87
updated codesmell file with new analysis
2026-05-06 18:48:00 +02:00
f704aba288
chore: added a new code smell todo
2026-05-05 20:44:58 +02:00
5282fcd241
chore: update docs
2026-05-04 13:11:23 +02:00
7756d9f83c
feat: last gaps on tailwind migration
2026-05-04 13:00:42 +02:00
4ab0bc7b4e
feat: gaps in tailwind migration closed
2026-05-04 12:27:07 +02:00
eca89e51d2
feat: phase 5 of tailwind migration
2026-05-04 12:02:13 +02:00
8e715eec8b
feat: phase 4 of tailwind migration
2026-05-04 11:39:31 +02:00
35017f9793
feat: p hase 3 of tailwind migration
2026-05-04 11:12:17 +02:00
b17e9cc3f8
feat: rework of the full CSS machine to tailwind and modular CSS
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-04 10:15:01 +02:00