yavsc/src/Yavsc.Org
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Schneider 97d0584292
Estimate validation polish + PDF/TeX generation in Yavsc.Api
- List removal: GetOngoingEstimatesAsProvider filters on
  ProviderValidationDate so a provider's signed estimate leaves their
  list; PostIt refreshes the list on navigation pop-back.
- Title renames: "Devis en attente de signature fournisseur/client"
  on both the provider and client sides (HomePage, VM, tests).
- Move the estimate/bill TeX+PDF generation flow from Yavsc.Org into
  Yavsc.Api (TeXHelpers, PdfGenerationViewModel, BillViewComponent,
  Bill/Estimate templates, _ViewImports). Program.cs wires
  AddControllersWithViews + SiteSettings; FrontOfficeApiController
  injects IRazorViewEngine (cast to IViewEngine) with optional deps
  and exposes estimate.tex/estimate.pdf endpoints keyed by query id.
- PDF generation drives through the Estimate_pdf view (side-effect
  render) and compiles via the system lualatex, fed TeX on stdin (no
  intermediate .tex), PDF to the bills dir, aux artifacts cleaned so
  only the .pdf persists. Resolve the bills dir to an absolute path so
  lualatex's -output-directory and working directory agree regardless
  of the host cwd (fixes "I can't write on file estimate-1.log").
- PostIt: DownloadAsync on the client + GetEstimateTex/PdfAsync;
  Télécharger PDF/TeX buttons on the validation and command-detail
  pages via a StorageProvider save helper.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-22 03:22:01 +01:00
..
Avatars-Dev reorg 2026-02-28 21:17:54 +00:00
Bills-Dev reorg 2026-02-28 21:17:54 +00:00
Controllers Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
data reorg 2026-02-28 21:17:54 +00:00
Data-Dev reorg 2026-02-28 21:17:54 +00:00
Extensions Hide inserted estimates from client list; redirect anon to /signin 2026-09-21 14:38:49 +01:00
Helpers Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
keys reorg 2026-02-28 21:17:54 +00:00
Migrations Finalize FrontOffice accept/reject: role-aware, authz, signature; drop Signature.FilePath 2026-09-21 16:15:18 +01:00
Resources Localisation 2026-07-12 15:18:07 +01:00
Services -Config.Temp 2026-09-18 11:13:44 +01:00
Temp-Dev reorg 2026-02-28 21:17:54 +00:00
ViewComponents Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
ViewModels Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
Views Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
wwwroot accessibility 2026-09-21 10:38:09 +01:00
.eslintrc.json reorg 2026-02-28 21:17:54 +00:00
appsettings-org-template.json new defaults 2026-09-16 18:23:52 +01:00
appsettings-org.json refacto site settings 2026-09-17 23:54:36 +01:00
appsettings-org.Testing.json Revert "repoduces the bug" 2026-07-11 22:17:58 +01:00
AssemblyInfo.cs test(yavsc.org): cover the kid derivation in ComputeKid 2026-07-09 20:28:58 +01:00
Contants.cs An activity interface 2026-08-30 23:55:09 +01:00
CustomModelBinder.cs using clauses cleanup 2026-08-22 03:34:48 +01:00
libman.json reorg 2026-02-28 21:17:54 +00:00
License.md reorg 2026-02-28 21:17:54 +00:00
Makefile reorg 2026-02-28 21:17:54 +00:00
noteLocalization.md reorg 2026-02-28 21:17:54 +00:00
Program.cs using clauses cleanup 2026-08-22 03:34:48 +01:00
Startup.cs -Config.Temp 2026-09-18 11:13:44 +01:00
tempkey.jwk reorg 2026-02-28 21:17:54 +00:00
Yavsc.Org.csproj nuget referencezs updated 2026-09-20 01:53:20 +01:00