feat: Cloudflare AI prod, CI Node 22, email test fix#340
Open
mobby57 wants to merge 42 commits into
Open
Conversation
added 30 commits
May 28, 2026 02:03
…oraires, conflicts, signatures, upload client
- Supprime robots.txt/sitemap.xml statiques obsoletes (anciens domaines) - Corrige BASE_URL vers memolib.space - Convertit homepage + landing en Server Components avec metadata - Ajoute 3 pages SEO (logiciel-avocat, oqtf-delais-recours, gestion-cabinet-avocat) - Middleware: redirect pages protegees vers login si pas de session - Cache identifiants demo en production - Ajoute structured data (Organization, SoftwareApplication) - Installe @tailwindcss/typography - Ajoute PublicNav + maillage interne - Ajoute verification Google Search Console
- Ajoute page admin/inbox - Ajoute API routes emails (list + integrate) - Ajoute state machine de processing - Met a jour schema Prisma - Met a jour email-monitor-service - Met a jour tests legifrance + vitest config
- Prisma schema: 7 models (CompteComptable, Journal, Ecriture, LigneEcriture, MouvementBancaire, DeclarationTVA, MouvementCARPA) + 6 enums - Services: plan comptable PCG avocat, ecritures auto, rapprochement bancaire IA, TVA, CARPA, reporting (grand livre, balance, FEC) - API routes: 10 endpoints (/api/comptabilite/*) - Auto-ecritures: facture envoyee/payee + webhook Stripe invoice.paid - Frontend: dashboard comptabilite avec KPIs, ecritures, rapprochement, CARPA - Script init: scripts/init-comptabilite.ts - Refactored /api/exports/fec to use real ecritures with factures fallback
- Add Gmail OAuth connect flow (GET /api/email/connect/gmail) - Add EmailAccount Prisma model + migration - Add Judilibre client (Cour de cassation, 2M+ decisions) - Rewrite /api/jurisprudence/search with fallback chain (PG > Judilibre > static) - Add demo seed endpoint (POST /api/demo/seed) with OQTF sample data - Auto-seed demo data on first login in dashboard - Mount ConsentBanner in layout (activate GA tracking) - Fix trial duration 30d > 14d in registration-service - Fix unhandled JSON errors in withRateLimit middleware - Add ConnectEmailButton component (Gmail/Outlook/IMAP)
- Anonymisation IA automatique (prompt-sanitizer) dans HybridAIClient - Chiffrement at-rest emails (AES-256-GCM) + migration batch - Audit trail hash chain SHA-256 (intégrité vérifiable) - Consentement Art. 9 RGPD granulaire (données sensibles immigration) - Rétention légale: garde-fou suppression dossiers (5 ans obligation) - PII scrubbing Sentry (server + client + replay) - Vérification hébergement EU au démarrage (DB, Redis, Sentry, Compute) - AIDisclaimer non-dismissible par défaut (RC Pro) - CGU: CARPA, rétention corrigée, sous-traitants listés - Politique de confidentialité complète (Art. 13/14 RGPD) - parseJsonBody helper + protection 10 endpoints critiques - Service registration consolidé (déduplication code) - render.yaml (Blueprint EU Frankfurt) - DPA register documenté (docs/legal/) - Migrations Prisma: hash chain + email encryption
added 5 commits
July 7, 2026 22:10
… client - Replace mock Cloudflare Workers AI with real REST API calls - Refactor summarize-email to use hybridAI (Ollama > Cloudflare > regex) - Refactor draft-reply to use hybridAI (Ollama > Cloudflare > template) - AI now works on Render (no Ollama needed, Cloudflare as cloud provider)
🤖 Gemini Code ReviewAutomated review by Gemini CLI |
🤖 Gemini Code ReviewAutomated review by Gemini CLI |
mobby57
force-pushed
the
feat/module-comptabilite
branch
from
July 7, 2026 21:35
022d87e to
26a24ed
Compare
🤖 Gemini Code ReviewAutomated review by Gemini CLI |
mobby57
force-pushed
the
feat/module-comptabilite
branch
from
July 7, 2026 21:39
26a24ed to
b4b5b18
Compare
🤖 Gemini Code ReviewAutomated review by Gemini CLI |
added 6 commits
July 7, 2026 23:44
…le-comptabilite # Conflicts: # prisma/schema.prisma # public/robots.txt # public/sitemap.xml # src/app/[locale]/HomePageContent.tsx # src/app/[locale]/gestion-cabinet-avocat/page.tsx # src/app/[locale]/logiciel-avocat/page.tsx # src/app/[locale]/oqtf-delais-recours/page.tsx # src/app/[locale]/sitemap.ts # src/app/sitemap.ts
…module-comptabilite # Conflicts: # src/app/[locale]/legal/cgu/page.tsx # src/app/api/cron/relance-pieces/route.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cloudflare Workers AI real implementation + CI fixes