Commit Graph

21 Commits

Author SHA1 Message Date
steve f827de9b1a Shift company name to logo x origin when no logo is present 2026-03-12 17:37:53 -06:00
steve 91958b5331 Remove MICR font diagnostic logging 2026-03-12 17:35:21 -06:00
steve 6b3c6be352 Track GnuMICR.ttf in git; remove font file gitignore rules
Font files were excluded by fonts/*.ttf and fonts/*.otf in .gitignore,
so GitHub Actions builds never had them and the container fell back to Courier.
Commit the TTF (more compatible with PDFKit than the PS-converted OTF).
2026-03-12 17:33:08 -06:00
steve e1a22bdd1c Add MICR font diagnostic logging to trace load failure 2026-03-12 16:29:44 -06:00
steve b3a1b3a40f cleared out some old info form readme.md that is no longer relevant to the project. 2026-03-12 16:25:51 -06:00
steve 27d580e967 Switch MICR font to TTF; fix multi-line rendering for bank info and address fields
- Use GnuMICR.ttf instead of .otf (OTF converted from PS Type 1 may not embed in PDFKit)
- Add renderLines() helper that splits on \n and places each line at explicit Y offset,
  so lineBreak:false is honored per-line and PDFKit cursor doesn't drift
- Include bank_name as first line of Bank Information field
2026-03-12 16:03:22 -06:00
steve c7ce87afd5 Fix MICR font path, date import, PDF button bug; clean up config; add TODO markers
- Hardcode GnuMICR.otf path in pdfService.js; remove MICR_FONT_PATH env var
- Fix normalizeDate to handle MM/DD/YY (2-digit year) and return null on no match
- Fix generatePdf button DOM bug: update span directly instead of overwriting textContent
- Remove .env.example and NTFY_URL from docker-compose (app has no required config)
- Remove redundant fonts volume mount from docker-compose (fonts bundled in image)
- Mark MVP TODO items complete; add // TODO comments in source for post-MVP features
- Update README: correct slot height, remove stale env var docs
2026-03-12 15:49:56 -06:00
steve f5b1292aff Fix check slot height to 3.5", remove separator lines between checks 2026-03-12 14:49:22 -06:00
steve 6d5ed93efd Switch to node:20-slim for reliable mdbtools support 2026-03-12 14:34:50 -06:00
steve 0bb3ceddf8 Update README to reflect current project state 2026-03-12 14:26:13 -06:00
steve 14e1e15226 Add first-run setup wizard with 3-step account configuration 2026-03-12 14:18:15 -06:00
steve 68300d0375 Add .mdb import button and modal with server-side migration runner 2026-03-12 14:15:13 -06:00
steve d7fde71e15 Add ntfy success/failure notifications to Docker build workflow 2026-03-12 13:56:40 -06:00
steve a52244af39 Fix missing latest tag causing Portainer deploy failure
docker-compose pulls :latest but the workflow only pushed branch-name
tags (e.g. :main) and SHA tags -- never :latest. Portainer stacks
reported "manifest unknown" when trying to pull the image.

Add type=raw,value=latest scoped to the default branch so pushes to
main now also tag the image as :latest.
2026-03-12 13:51:04 -06:00
steve dab0932c89 Pull image from Docker Hub instead of building locally 2026-03-12 13:22:19 -06:00
steve 179a8c23fe Add package-lock.json for reproducible Docker builds 2026-03-12 12:51:49 -06:00
steve e5e1569fa7 Fix IMAGE_NAME to use vars.DOCKERHUB_USERNAME 2026-03-12 12:44:06 -06:00
steve 20dd54682d Update Docker config: opt into Node.js 24 actions, rename to check-printing
- Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true to docker-build workflow
- Switch login step to vars.DOCKERHUB_USERNAME (non-secret)
- Rename docker-compose service, container, volume, and DB file to check-printing
2026-03-12 12:33:45 -06:00
steve 5522029c5e Correct docker-build variables 2026-03-12 12:05:23 -06:00
steve e252ddb952 Add full project structure: backend, frontend, Docker, and CI workflows
- Organize backend into src/ (routes/, services/, db/) per package.json entrypoint
- Add migrations/import-mdb.js for one-time .mdb → SQLite migration
- Add public/ frontend: check ledger table, slide-in new/edit panel, PDF generation
- Add docker/Dockerfile and docker-compose.yml for self-hosted deployment
- Add .github/workflows: Docker Hub build+push on main/tags, TODO→Issues scanner
- Add GnuMICR font files (GPL-2.0) for MICR E-13B line rendering
2026-03-12 10:29:36 -06:00
steve 9fcb31ba0d Initial commit 2026-03-12 09:34:50 -06:00