summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
3 hoursweb: bokftui in the browser (ttyd + bokfweb login gate); per-user login limitv0.1.69Anders Betts
New image bokf-web (Dockerfile target "web", compose service "web" on 127.0.0.1:8790): Caddy routing with forward_auth, the bokfweb login gate (C, authenticates with bokfd's session.open, per-address limit, cookie + terminal handle, one login handed to the TUI via /redeem) and ttyd running bokftui in web mode in an isolated throwaway HOME. TLS stays with the host's reverse proxy. BOKF_WEB=1 blocks every local file and viewer path in the TUI. bokfd's login limiter is now per user name instead of one global counter (5 wrong guesses from anyone locked out everybody), and a full counter table no longer disables it. The cross build and deploy.sh build and ship both images. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 hourstui: aligned voucher detail, up/down between vouchers, list sortingAnders Betts
The detail pads every column by display width, blanks zero amounts and shows row texts and a Summa line. Up/Down step to the previous/next voucher in the list order; 's' cycles the list sort (number or date, ascending or descending, saved in tui.conf). The list fetches all pages of voucher.list instead of stopping at 200. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 hourstui: kundutkast, <UTKAST>, explicit Spara och F2-åtgärderAnders Betts
2 daystui: payroll screens, Företag/System menu and settings splitv0.1.55Anders Betts
2 daysbuild: track the test binaries' dependency filesAnders Betts
2 dayspayroll: lönebesked PDF and mail (schema v11)Anders Betts
2 dayspayroll: employees, tax tables and the monthly run (schema v10)Anders Betts
2 daysbuild: run gate in its own build directoryAnders Betts
3 daysbuild: gate builds the clients too, not just the testsAnders Betts
3 daysdocs: generate the command catalogue from the command tablesAnders Betts
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
3 daysbuild: make gate with WERROR and a pre-push hookAnders Betts
3 daystui: split bokftui into screen filesAnders Betts
3 dayscommands: split the command table by domainAnders Betts
3 daysbuild: wire the SMTP client into the test suiteAnders Betts
3 dayssecret: build it as its own unitAnders Betts
3 daysbuild: wire the invoice renderer into the test suiteAnders Betts
3 daysdb: schema v9 for invoicing, vouchers source rebuildAnders Betts
3 daystests: wire check, pty and sanitizer targets and document themAnders Betts
3 daysdeploy: alpine runtime image with the daemon and CLI onlyv0.1.45Anders Betts
4 daystui: shared widget layer (fields, prompts, lists, forms, pager) + testsv0.1.36Anders Betts
5 daysbokslut, INK2/SRU export and attachment markersv0.1.30Anders Betts
- bokslut.post: year-end bookings (manual entries, periodiseringsfond, skatt at a given rate, resultatdisposition) with a dry-run plan through the normal ledger path; the resultatrapport separates bokslutsdispositioner and skatt per K2. - sru.export: INFO.SRU + BLANKETTER.SRU (INK2/INK2R/INK2S) from the official 2025P4 field tables and the BAS mapping, with manual INK2S adjustments, submitter defaults and unmapped-account detection; the TUI writes both files from Rapporter -> Inkomstdeklaration. - voucher.list carries attachment_count and the voucher list marks vouchers with underlag with an x column. - date_prompt restores the cursor state so it stops blinking at the bottom after the report date prompts.
5 daysdeploy: cross-compile arm64 binaries on the dev machinev0.1.13Anders Betts
The target only assembles the image from prebuilt binaries, so redeploys no longer compile sqlite/argon2 on the NAS. New deploy/Dockerfile.cross provides the gcc-aarch64-linux-gnu toolchain; the Dockerfile uses .prebuilt/ when present.
5 daysShow tui and server versions in the status line; derive version from gitv0.1.12Anders Betts
- build: VERSION defaults to git describe, deploy passes the tag via --build-arg - bokftui: srv version from meta, right-aligned next to the status line
6 daysAdd native TLS transport, TLS clients and lego cert sidecarv0.1.1Anders Betts
- bokfd: optional TLS listener (OpenSSL), certificate reload on change - clients: tls:host:port targets with chain and host verification - compose: port 8788 and an INWX/lego renewal sidecar - Makefile: header dependency tracking (-MMD -MP)
6 daysInitial commit: daemon, clients, docs, Docker deploy pipelinev0.1.0Anders Betts