Commit Graph

  • 55f7b3f75a Use official emdash with sed-based post-build patch main Kunthawat Greethong 2026-05-04 21:35:21 +07:00
  • a4b913fb96 Force clean rebuild of blog-template dist to fix config paths Kunthawat Greethong 2026-05-04 08:59:45 +07:00
  • 6f23ea808b Simplify storage path: use ./uploads instead of ./storage/uploads Kunthawat Greethong 2026-05-04 07:48:30 +07:00
  • 278fe56591 Ignore test-node-modules directory Kunthawat Greethong 2026-05-04 07:33:49 +07:00
  • 71e05f9d2c Fix SQLite database path to match emdash init location Kunthawat Greethong 2026-05-04 07:33:27 +07:00
  • 88902c3b38 Fix Dockerfile for emdash monorepo workspace and package builds Kunthawat Greethong 2026-05-03 23:17:33 +07:00
  • ba717ceeff Dockerfile: enable pnpm hoisting so react/react-dom are at top-level Kunthawat Greethong 2026-05-03 17:38:07 +07:00
  • f05d518d7f Dockerfile: use single-stage build (deps does build AND provides artifacts) Kunthawat Greethong 2026-05-03 17:10:36 +07:00
  • c65f7facf6 Dockerfile: copy node_modules from builder stage instead of deps Kunthawat Greethong 2026-05-03 17:07:35 +07:00
  • 249ca9613f Dockerfile: install deps before building packages (react is a workspace dep) Kunthawat Greethong 2026-05-03 16:57:16 +07:00
  • 3e9ed743dc Dockerfile: copy node_modules from workspace root (pnpm hoists deps there) Kunthawat Greethong 2026-05-03 16:43:28 +07:00
  • f10263f99a Dockerfile: build blog template as part of emdash monorepo workspace Kunthawat Greethong 2026-05-03 16:17:10 +07:00
  • a06c72b9d1 Dockerfile: only copy dist/src/package.json from core (avoid circular symlinks) Kunthawat Greethong 2026-05-03 16:12:06 +07:00
  • 0e0653aed9 Dockerfile: simplify - clone emdash source, build all packages, copy with -L flag Kunthawat Greethong 2026-05-03 15:47:30 +07:00
  • ddf47aff3a Dockerfile: reinstall after copying auth package to resolve its dependencies Kunthawat Greethong 2026-05-03 12:07:08 +07:00
  • b3c4abcf85 Dockerfile: copy full @emdash-cms/auth package not just dist/ Kunthawat Greethong 2026-05-03 11:56:46 +07:00
  • e3dbfc44fa Dockerfile: build auth package and copy only dist folder Kunthawat Greethong 2026-05-03 11:51:19 +07:00
  • defc69be91 Dockerfile: also copy @emdash-cms/auth package from patched source Kunthawat Greethong 2026-05-03 11:48:14 +07:00
  • 557ed9e2d0 Remove mysql export that doesn't exist in patched emdash 0.9.0 Kunthawat Greethong 2026-05-03 11:37:01 +07:00
  • 55fecd15c5 Dockerfile: replace entire emdash package with patched source Kunthawat Greethong 2026-05-03 11:31:27 +07:00
  • 6210f9c5c5 Dockerfile: only replace emdash dist contents, not entire package Kunthawat Greethong 2026-05-03 11:19:20 +07:00
  • 7e69efae5b Dockerfile: build core package directly instead of using workspace filter Kunthawat Greethong 2026-05-03 11:15:43 +07:00
  • 9df25848dd Dockerfile: fix build filter to use 'emdash' package name Kunthawat Greethong 2026-05-03 11:09:24 +07:00
  • 7036f9ef42 Dockerfile: clone, build and install patched emdash source Kunthawat Greethong 2026-05-03 11:01:21 +07:00
  • c35ad1ecc3 Ignore .omc/ directory Kunthawat Greethong 2026-05-03 10:52:32 +07:00
  • 8d44199538 Remove .omc/ from tracking Kunthawat Greethong 2026-05-03 10:52:22 +07:00
  • f8e8e2207b Dockerfile: clone patched emdash from gitea instead of using npm Kunthawat Greethong 2026-05-03 10:52:12 +07:00
  • 13f775c57c Add DATABASE_URL env var support for EmDash Kunthawat Greethong 2026-05-02 16:31:43 +07:00
  • de5735bc8e fix: use Image component for post list featured images Kunthawat Greethong 2026-05-02 10:46:55 +07:00
  • 49725b2fd0 refactor: move data.db and uploads to storage/ folder Kunthawat Greethong 2026-05-02 10:24:03 +07:00
  • 30eeee186f fix: improve entrypoint.sh volume mount handling Kunthawat Greethong 2026-05-02 09:48:40 +07:00
  • 3207dc8c46 fix: show hero image only, remove code fallback Kunthawat Greethong 2026-05-02 08:18:19 +07:00
  • a7ba7c81a1 fix: entrypoint seed check handles empty databases Kunthawat Greethong 2026-04-30 20:24:30 +07:00
  • f981f1fe4c fix: run emdash seed only on first launch via entrypoint.sh Kunthawat Greethong 2026-04-30 15:00:29 +07:00
  • cdf15f8988 feat: add hero_image display with Image component Kunthawat Greethong 2026-04-30 13:51:52 +07:00
  • 6b77cc355e fix: use "portableText" instead of "richtext" field type Kunthawat Greethong 2026-04-30 13:44:08 +07:00
  • be63c72048 fix: convert homepage text fields to richtext for live editing Kunthawat Greethong 2026-04-30 13:40:49 +07:00
  • 8094cec877 fix: enable live editing on homepage with {...homepage.edit.field} attributes Kunthawat Greethong 2026-04-30 13:11:02 +07:00
  • 07725f9023 fix: add hero_image live editing with Image component from emdash/ui Kunthawat Greethong 2026-04-30 11:45:22 +07:00
  • 1c928a1217 fix: enable live editing on homepage with {...homepage.edit.field} attributes Kunthawat Greethong 2026-04-30 11:32:53 +07:00
  • d0868d000c fix: remove singleton flag from homepage collection Kunthawat Greethong 2026-04-30 11:16:56 +07:00
  • 79465ae005 fix: use slug 'main' for homepage singleton entry Kunthawat Greethong 2026-04-30 11:15:12 +07:00
  • 1298e3c018 fix: show featured_image on posts list page Kunthawat Greethong 2026-04-30 10:31:16 +07:00
  • 3c07db0406 fix: use {id, src, alt} format for image fields Kunthawat Greethong 2026-04-30 10:27:41 +07:00
  • ea8a725e52 fix: add _key to all PortableText blocks and spans Kunthawat Greethong 2026-04-30 10:19:11 +07:00
  • 6327f87a4c chore: ensure uploads directory exists at container startup Kunthawat Greethong 2026-04-30 09:25:54 +07:00
  • 433af238cf fix: remove $media wrapper from image fields in seed content Kunthawat Greethong 2026-04-30 09:25:03 +07:00
  • b861e3bab8 fix: add slug to homepage content entry Kunthawat Greethong 2026-04-29 23:51:23 +07:00
  • 734fad181e feat: enable full dynamic homepage content via EmDash Kunthawat Greethong 2026-04-29 23:44:37 +07:00
  • 620c63951f Remove user creation and chown (Easypanel manages permissions differently) Kunthawat Greethong 2026-04-29 20:45:47 +07:00
  • e8d4e3e767 Chown entire /app directory to astro user for write access Kunthawat Greethong 2026-04-29 20:32:35 +07:00
  • 620cfb0371 Create astro user BEFORE copying data.db, fix chown order Kunthawat Greethong 2026-04-29 19:58:28 +07:00
  • 7064a17716 Use numeric UID 1001 instead of username for chown Kunthawat Greethong 2026-04-29 18:28:04 +07:00
  • f5b402f272 Chown data.db to astro user to fix readonly database error Kunthawat Greethong 2026-04-29 18:13:19 +07:00
  • 4cda67324c Add kysely as dependency (required by emdash runtime) Kunthawat Greethong 2026-04-29 17:19:04 +07:00
  • aca07743a1 Fix sqlite3 -> sqlite (Alpine package name) Kunthawat Greethong 2026-04-29 16:50:43 +07:00
  • 346c8003fa Add sqlite3 to builder for database debugging Kunthawat Greethong 2026-04-29 16:45:53 +07:00
  • de4bc34019 Copy data.db from builder to runner (emdash init creates it at build time) Kunthawat Greethong 2026-04-29 15:51:38 +07:00
  • 2d67a53685 Run emdash seed after init to populate content and initialize the system Kunthawat Greethong 2026-04-29 15:17:33 +07:00
  • fcf4803b29 Set HOST env var so emdash/astro binds to 0.0.0.0 Kunthawat Greethong 2026-04-29 14:43:23 +07:00
  • 6d52b7d39c Bind node server to 0.0.0.0 for Docker accessibility Kunthawat Greethong 2026-04-29 14:19:47 +07:00
  • a458082c5d Run emdash init at build time to initialize database before runtime Kunthawat Greethong 2026-04-29 13:25:04 +07:00
  • 854013cd43 Remove non-existent public and data.db from Dockerfile (generated at runtime) Kunthawat Greethong 2026-04-29 12:51:54 +07:00
  • ccc1e33bbe Update Dockerfile: node:20 -> node:22 (Astro requires >=22.12.0) Kunthawat Greethong 2026-04-29 12:47:52 +07:00
  • 520c5f19e2 Initial commit: EmDash blog template Kunthawat Greethong 2026-04-29 12:41:59 +07:00