Commit Graph

68 Commits

Author SHA1 Message Date
e29dfb490a fix(perf): replace Enum.each + individual inserts with preloaded keys and batch upsert in embeddings (CSM-033) 2026-05-27 19:03:21 +02:00
f2b340ba86 fix(style): replace Map.get with dot access and pattern matching where keys are guaranteed (CSM-032) 2026-05-27 18:33:42 +02:00
d18e0ef7f2 fix(rendering): replace inline try/rescue with with-chains and safe_liquex_render helpers (CSM-031) 2026-05-27 18:12:23 +02:00
b052d59376 fix(fs): handle File.mkdir_p errors and remove bang variants in sidecars and release packaging (CSM-030) 2026-05-11 20:25:06 +02:00
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
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
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
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
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
de7ea12c9c fix: fixed CSM-014 2026-05-09 16:38:00 +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
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
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
9f9dab85fc chore: removed done document 2026-05-01 17:51:35 +02:00
881056eb61 chore: added more @spec 2026-05-01 17:49:50 +02:00
abcae1dad7 chore: cleaned up old task handling 2026-05-01 17:39:49 +02:00
c12001307f chore: section 12 closed, had to do with map and atoms 2026-05-01 17:37:08 +02:00
eb358bf512 chore: make system more stable with invalid json responses from AI 2026-05-01 17:29:01 +02:00
07ce5f8b4d chore: refactored areas around to_existing_atom/1 uses 2026-05-01 17:25:59 +02:00
3505355980 chore: refactoring of Repo.get/get! usages 2026-05-01 17:20:08 +02:00
f6425de51d chore: merged different progress reporters
Co-authored-by: Copilot <copilot@github.com>
2026-05-01 17:12:49 +02:00
79ee67c2e0 chore: extraction and centralization of utility functions 2026-05-01 17:04:21 +02:00
a95e9482a7 chore: cleaned up bang-Operator usage 2026-05-01 16:56:21 +02:00
7f5077c6ad chore: more transactions with filesystem actions cleanup 2026-05-01 16:19:50 +02:00
3133beffcb chore: reworked some transaction handling code 2026-05-01 16:10:45 +02:00
296a57814f chore: refactored the UI locale handling 2026-05-01 15:58:55 +02:00
62e44150b3 chore: refactored mcp.ex 2026-05-01 15:33:50 +02:00
fbc1cba52e chore: refactored chat_editor 2026-05-01 15:26:22 +02:00
cf3c598911 chore: refactored settings_editor.ex 2026-05-01 15:12:57 +02:00