espace-paie-odentas/app/api
odentas 04e9d54292 feat: Migrer génération PDF de PDFMonkey vers Gotenberg
- Remplacer PDFMonkey par Gotenberg (auto-hébergé sur VPS)
- Créer template Handlebars pour contrats (lib/templates/contract.hbs)
- Créer formateur de données (lib/contract-data-formatter.ts)
- Ajouter helpers Handlebars pour conditions et transformations
- Mettre à jour API route generate-pdf pour utiliser Gotenberg
- Ajouter GOTENBERG_URL dans .env.local (http://localhost:3001 pour dev)
- Créer script tunnel-gotenberg.sh pour dev local
- Ajouter documentation MIGRATION_GOTENBERG.md

Avantages:
- Souveraineté des données (pas d'API externe)
- Performance (génération locale)
- Coût (0€ vs abonnement PDFMonkey)
- Sécurité (Gotenberg non exposé publiquement)
2025-12-27 22:22:45 +01:00
..
access fix: utiliser RPC find_user_by_email 2025-12-09 14:09:07 +01:00
active-org Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
admin/migrate-employee-slugs feat: Stocker et utiliser employee_docuseal_slug pour signature-salarie 2025-10-22 17:35:50 +02:00
auth fix(api): force dynamic Node runtime on routes using cookies or request.url (pdf-diagnosis, documents/generaux, maintenance/status, staff/*, dl-contrat-signe) 2025-10-21 07:57:43 +02:00
auto-declaration fix: sécuriser upload auto-declaration 2025-12-09 11:40:09 +01:00
bug-report Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
cddu-contracts fix: Corriger création contrats RG avec type_de_contrat et type_d_embauche appropriés 2025-11-05 17:45:57 +01:00
check-user-status feat: Détecter compte activé + amélioration template email activation 2025-11-14 19:18:37 +01:00
clear-active-org Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
contrats feat: Migrer génération PDF de PDFMonkey vers Gotenberg 2025-12-27 22:22:45 +01:00
cotisations/mensuelles feat: Implémentation complète du système de permissions 2025-11-14 20:25:30 +01:00
create-test-user Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
cron/send-csp-report fix: Supprimer endpoints pdf-proxy et pdf-clean avec CORS ouvert 2025-11-14 19:56:37 +01:00
csp-report fix: Supprimer endpoints pdf-proxy et pdf-clean avec CORS ouvert 2025-11-14 19:56:37 +01:00
debug feat: Migrer génération PDF de PDFMonkey vers Gotenberg 2025-12-27 22:22:45 +01:00
debug-auth Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
debug-documents Initial commit 2025-10-12 17:05:46 +02:00
debug-env Initial commit 2025-10-12 17:05:46 +02:00
debug-s3 fix(api): force dynamic Node runtime on routes using cookies or request.url (pdf-diagnosis, documents/generaux, maintenance/status, staff/*, dl-contrat-signe) 2025-10-21 07:57:43 +02:00
dl-contrat-signe fix(api): force dynamic Node runtime on routes using cookies or request.url (pdf-diagnosis, documents/generaux, maintenance/status, staff/*, dl-contrat-signe) 2025-10-21 07:57:43 +02:00
documents fix: Ajouter valeur par défaut pour AWS_S3_BUCKET_NAME dans route download 2025-12-10 15:56:39 +01:00
docuseal/[...path] Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
docuseal-signature feat: Add notification tracking system with smart reminders 2025-10-22 21:49:35 +02:00
emails fix: Récupérer org_id via référence contrat si organization_id manquant 2025-11-03 15:30:02 +01:00
facturation feat: Implémenter store global Zustand + calcul total quantités + fix structure field + montants personnalisés virements 2025-12-01 21:51:57 +01:00
generate-contract-pdf feat: Préparation migration PDFMonkey vers Gotenberg 2025-12-27 21:40:27 +01:00
health Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
informations feat: Implémenter store global Zustand + calcul total quantités + fix structure field + montants personnalisés virements 2025-12-01 21:51:57 +01:00
maintenance feat: Système de statuts enrichi avec descriptions markdown et refonte navigation 2025-10-31 19:42:25 +01:00
me Initial commit 2025-10-12 17:05:46 +02:00
odentas-sign feat: Consolidation système Odentas Sign + améliorations interface staff 2025-10-29 17:55:24 +01:00
organization/signature Finalisation mode démo + corrections diverses 2025-10-15 18:05:24 +02:00
organizations Corrections majeures de sécurité 2025-10-16 15:24:02 +02:00
payslips feat: Ajout fonctionnalités virements, facturation, signatures et emails 2025-11-02 23:26:19 +01:00
ping Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
professions-feminisations Initial commit 2025-10-12 17:05:46 +02:00
promo-banners feat: Ajout programme de parrainage, bannières promo, déduplication webhooks et avenants signés 2025-10-31 23:31:53 +01:00
public/invoices/[id]/download feat: Adapter emails de factures studio avec lien de téléchargement direct 2025-11-07 18:39:09 +01:00
referrals feat: Ajout programme de parrainage, bannières promo, déduplication webhooks et avenants signés 2025-10-31 23:31:53 +01:00
rg-contracts fix: Affichage des CDI et activation Super Staff 2025-12-02 13:32:44 +01:00
s3-presigned Initial commit 2025-10-12 17:05:46 +02:00
salaries fix: Corriger création salarié en mode staff avec employer_id 2025-11-13 20:48:14 +01:00
salary-transfer-pdf/[id] fix: Améliorer la gestion d'accès aux PDFs d'appel à virement avec service role et logs détaillés 2025-10-28 13:29:07 +01:00
search Initial commit 2025-10-12 17:05:46 +02:00
send-email-v2 feat: Notification email lors de l'ajout de notes sur contrats 2025-12-16 20:39:36 +01:00
signature-salarie feat: Amélioration système d'avenants et emails de relance 2025-11-03 19:19:57 +01:00
signatures/create-verification feat: Consolidation système Odentas Sign + améliorations interface staff 2025-10-29 17:55:24 +01:00
signatures-electroniques feat: Badge signatures en attente avec polling optimisé 30s 2025-11-07 18:27:30 +01:00
spectacles Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
staff feat: Ajouter colonne Analytique et renommer colonnes montants (B, NPAS, NP, CE) dans staff/payslips 2025-12-23 14:42:47 +01:00
test-lambda Initial commit - TypeScript errors fixed, build working 2025-10-07 14:51:56 +02:00
test-pdf feat(naa): Amélioration UX modal EditNAA - replier/déplier 2025-10-31 15:28:44 +01:00
tickets Système notif tickets support 2025-10-14 23:21:58 +02:00
upload-s3 Initial commit 2025-10-12 17:05:46 +02:00
virements-salaires feat: Implémentation complète du système de permissions 2025-11-14 20:25:30 +01:00
webhooks feat: Amélioration système d'avenants et emails de relance 2025-11-03 19:19:57 +01:00