92 Commits

Author SHA1 Message Date
Matthias Hochmeister
e1aa8fa59b update 2026-03-13 19:29:56 +01:00
Matthias Hochmeister
bc6d09200a update 2026-03-13 19:23:39 +01:00
Matthias Hochmeister
02d9d808b2 update 2026-03-13 16:12:11 +01:00
Matthias Hochmeister
bb6438a0b9 update 2026-03-13 15:59:21 +01:00
Matthias Hochmeister
4c7c8f72d3 update 2026-03-13 14:23:40 +01:00
Matthias Hochmeister
3ecae37d72 update 2026-03-13 14:13:39 +01:00
Matthias Hochmeister
7215e7f472 update 2026-03-13 14:01:06 +01:00
Matthias Hochmeister
e36de3199a update 2026-03-13 13:29:21 +01:00
Matthias Hochmeister
1d5122a2cd update 2026-03-13 13:25:43 +01:00
Matthias Hochmeister
86bb8a45c1 update 2026-03-13 13:21:19 +01:00
Matthias Hochmeister
072713ca3d update 2026-03-13 13:16:14 +01:00
Matthias Hochmeister
9d68b4fb28 update 2026-03-13 13:12:08 +01:00
Matthias Hochmeister
cfb70e62c7 update 2026-03-13 13:06:27 +01:00
Matthias Hochmeister
618f1d4996 update sync 2026-03-13 12:54:48 +01:00
Matthias Hochmeister
3c9ab02b93 update sync 2026-03-13 12:28:01 +01:00
Matthias Hochmeister
e49b4f63ae update nextcloud handling 2026-03-13 12:24:14 +01:00
Matthias Hochmeister
5f0e76155f update sync 2026-03-13 12:20:17 +01:00
Matthias Hochmeister
42b9937da4 fix(sync): move typescript to dependencies to fix Docker build
npm silently skips devDependencies in some Alpine+npm combinations,
causing tsc to be missing even after npm install. Moving typescript
to regular dependencies guarantees it is always installed and its
.bin symlink is created regardless of NODE_ENV.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 12:12:57 +01:00
Matthias Hochmeister
2ec587ac97 update sync 2026-03-13 11:45:17 +01:00
Matthias Hochmeister
7427d04cf9 update sync 2026-03-13 11:40:05 +01:00
Matthias Hochmeister
98c01d8a30 update sync 2026-03-13 11:35:38 +01:00
Matthias Hochmeister
80e7730c1e add env for FDSIK 2026-03-13 11:07:55 +01:00
Matthias Hochmeister
76327832d1 add env for FDSIK 2026-03-13 10:30:16 +01:00
Matthias Hochmeister
11fb533ad6 update FDISK sync 2026-03-13 10:27:57 +01:00
Matthias Hochmeister
501b697ca2 update FDISK sync 2026-03-13 08:46:12 +01:00
Matthias Hochmeister
b54e400c48 fix: add .npmrc to sync service to use public npm registry
The server has an Apple npm proxy that silently drops devDependencies.
Copying the same .npmrc fix used by the frontend (registry=registry.npmjs.org)
resolves the issue.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 14:04:02 +01:00
Matthias Hochmeister
67ea0ba1f6 fix: move ENV PATH before npm ci to bust stale Docker cache layer
The cached npm ci layer predates the ENV PATH instruction, so tsc was
never on PATH when the build ran. Moving ENV PATH earlier changes the
cache key and forces a fresh install.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:59:19 +01:00
Matthias Hochmeister
a880e56bb1 fix: use node:20-alpine in sync builder, matching backend Dockerfile
node:20-slim picks up the Apple npm proxy which blocks installs.
node:20-alpine does not. Also add PATH for node_modules/.bin so tsc
is found, and remove committed dist/ since the build now works properly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:56:37 +01:00
Matthias Hochmeister
02797554aa fix: commit pre-compiled dist and simplify sync Dockerfile
Server npm proxy silently drops devDependencies, making TypeScript
unavailable in Docker. Solution: compile locally and commit dist/.
Dockerfile now only needs prod deps + Playwright, both of which
install cleanly via the public registry.

Also fix TS2688/TS2304 errors: add DOM to tsconfig lib and cast
querySelectorAll results to Element inside $$eval callbacks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:51:48 +01:00
Matthias Hochmeister
acd1506df8 fix: remove --ignore-scripts from npm install in sync builder
--ignore-scripts prevented @types/* packages from being installed,
causing tsc to fail on missing type definitions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:48:32 +01:00
Matthias Hochmeister
fad71d32fe fix: install typescript globally and use --ignore-scripts to avoid proxy failures
Install tsc globally so it's available on PATH regardless of
devDependency resolution issues. Use --ignore-scripts and explicit
registry to work around Apple npm proxy interference.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:46:14 +01:00
Matthias Hochmeister
2eeb206663 fix: copy node_modules from build context instead of running npm install
The server's npm proxy intercepts and silently fails devDependency
installs inside Docker. Bundle node_modules directly from the local
checkout where they are known-good.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:45:02 +01:00
Matthias Hochmeister
f559313eae fix: use public npm registry in sync builder to avoid Apple registry failures
npm.apple.com causes silent install failures for devDependencies inside
the Docker build context. Explicitly use registry.npmjs.org for the
builder stage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:42:37 +01:00
Matthias Hochmeister
c4d9be9027 debug: verify tsc presence after npm install in sync builder
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:39:34 +01:00
Matthias Hochmeister
9f5ef15590 fix: set NODE_ENV=development in sync builder to install devDependencies
node:20-slim defaults NODE_ENV=production which causes npm to skip dev
deps (typescript, ts-node), preventing tsc from being found.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:36:32 +01:00
Matthias Hochmeister
dee27200ce fix: use npm install and explicit package-lock.json COPY in sync Dockerfile
Avoids stale Docker layer cache issue where tsc was not found because
an old npm ci layer (without dev deps) was cached on the build host.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:33:42 +01:00
Matthias Hochmeister
e6c2a01b8a add now features 2026-03-01 12:36:53 +01:00
Matthias Hochmeister
3b7e1d0ed9 add now features 2026-03-01 12:14:38 +01:00
Matthias Hochmeister
2e08eef04e add now features 2026-03-01 12:11:39 +01:00
Matthias Hochmeister
e5986b5a8b add now features 2026-03-01 12:08:41 +01:00
Matthias Hochmeister
c5da8b07ae add now features 2026-03-01 12:03:11 +01:00
Matthias Hochmeister
681acd8203 add now features 2026-03-01 11:50:27 +01:00