Commit graph

21 commits

Author SHA1 Message Date
isUnknown
56f5a45b7d Worker : simplification — pagedjs-cli ne stream pas la progression page par page hors TTY
All checks were successful
Deploy / deploy (push) Successful in 16s
ora désactive le spinner par-page hors TTY et émet seulement 'Rendering: Page 1' puis directement 'Rendering N pages took…'. Sans indicateur de progression réel possible, on retire le streaming (proc_open) et on revient à exec() simple. Le worker écrit maintenant rendering/done uniquement.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 10:21:44 +02:00
isUnknown
db74e27c3a Worker : log toutes les lignes stdout de pagedjs-cli pour diagnostic
All checks were successful
Deploy / deploy (push) Successful in 18s
Aide à comprendre si pagedjs-cli batch sa sortie en non-TTY (ora désactivé) ou si la progression page par page est juste trop rapide pour le polling.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 10:17:24 +02:00
isUnknown
0b954ed494 Génération PDF asynchrone : jobs avec polling + progression
All checks were successful
Deploy / deploy (push) Successful in 20s
- Nouveau système de jobs : POST /jobs (async), GET /jobs/{id} (status), GET /jobs/{id}/result (PDF), DELETE /jobs/{id}
- worker.php spawné en arrière-plan via nohup, lit la sortie pagedjs-cli ligne par ligne via proc_open et écrit la progression dans tmp/job_{id}.status.json
- Migration de pagedjs-cli en install local (node_modules) pour persister le patch protocolTimeout via patch-package
- CI : déploie package.json, worker.php, patches/, et lance npm install (qui réapplique les patches via postinstall)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 09:37:00 +02:00
isUnknown
a005c982bd Remove --print-background: not supported in installed pagedjs-cli version
All checks were successful
Deploy / deploy (push) Successful in 10s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 09:17:21 +01:00
isUnknown
3d386f4c66 Add --print-background flag to pagedjs-cli URL generation
All checks were successful
Deploy / deploy (push) Successful in 10s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 09:12:57 +01:00
isUnknown
3ade5bca9e Add filename param support with Content-Disposition header
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 08:41:40 +01:00
isUnknown
6c82523cc8 Fix puppeteer EACCES: set TMPDIR to project tmp dir
All checks were successful
Deploy / deploy (push) Successful in 8s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 08:31:48 +01:00
isUnknown
57f4af07e0 Fix CI: sudo rm to clean up root-owned tmp deploy directory
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 08:17:57 +01:00
isUnknown
e4d8479f88 Fix CI: expand DEPLOY_PATH on server and use cp -r with trailing slash
Some checks failed
Deploy / deploy (push) Failing after 8s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 08:15:23 +01:00
isUnknown
09afbff2fd Add URL-based PDF generation support
All checks were successful
Deploy / deploy (push) Successful in 8s
2026-03-05 08:08:38 +01:00
isUnknown
e3534dcefb classify guides
All checks were successful
Deploy / deploy (push) Successful in 8s
2026-03-05 07:11:08 +01:00
isUnknown
c67b3eb572 Fix CI: create tmp deploy directory on server before rsync
All checks were successful
Deploy / deploy (push) Successful in 8s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 07:09:27 +01:00
isUnknown
71b314bcc0 Fix CI: use apt-get with update to install rsync and openssh-client
Some checks failed
Deploy / deploy (push) Failing after 14s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 07:07:09 +01:00
isUnknown
f3fb2d4338 Fix CI: replace checkout action with manual git clone
Some checks failed
Deploy / deploy (push) Failing after 2s
The runner cannot resolve the internal 'forgejo' hostname used by
actions/checkout@v4. Use direct git clone with public URL instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 07:05:37 +01:00
isUnknown
2670590cef CI : change runner
Some checks failed
Deploy / deploy (push) Failing after 1m2s
2026-03-05 07:03:01 +01:00
isUnknown
b130f5c9d8 Reorganize project structure and migrate CI to Forgejo
Some checks are pending
Deploy / deploy (push) Waiting to run
Move all files from deploy/ to project root, replace .gitlab-ci.yml
with .forgejo/workflows/deploy.yml using Gitea Actions format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 06:54:52 +01:00
isUnknown
baa36144a8 add api key 2025-11-28 18:16:27 +01:00
isUnknown
e60733e1bc add CI 2025-11-28 15:41:17 +01:00
isUnknown
8305913ae8 remove claude dir 2025-11-28 15:39:12 +01:00
isUnknown
b2b4b123ca remove tmp file 2025-11-28 15:38:26 +01:00
isUnknown
2b89c4acd9 Initial commit 2025-11-28 15:38:02 +01:00