aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
33 hourstui: fakturering with invoice form, preview and sendAnders Betts
35 hoursinvoice: extract the Comfortaa wordmark as vector pathsAnders Betts
37 hourstests: bank reconciliation pty scenarioAnders Betts
39 hourstui: pinned report headers, voucher detail headers, clamped pagingv0.1.48Anders Betts
39 hourstui: align list rows beyond nine itemsv0.1.47Anders Betts
40 hourstests: momsregler pty scenarioAnders Betts
40 hoursscripts: check command and error-code drift against the docsAnders Betts
40 hourstests: pty golden harness for the TUIAnders Betts
40 hoursdeploy: alpine runtime image with the daemon and CLI onlyv0.1.45Anders Betts
3 daysreports: Kapitas-style TUI tables, corrected moms rules (schema v3)v0.1.26Anders Betts
The report views dumped JSON; they now render Saldobalans, Resultatrapport (previous-year column, 89xx bokfört/ej bokfört), Balansrapport (Ing balans/Ing saldo/Period/Utg balans, Beräknat resultat) and Momsrapport ruta för ruta, with Swedish amount formatting (1 234,56). The moms starter rules missed 33xx sales, sent reverse-charge VAT 2614 to box 10 instead of 30 and had box 48 positive. Rules may now share a box and report.vat sums them; box 49 is the sum of the moms boxes only. Schema v3 replaces the rules for existing orgs. Verified on a copy of the live DB: 05=703 200, 10=175 800, 20=1 453, 30=851, 48=-1 030, 49=175 621, matching the Kapitas 2027 export. Ctrl+R reload passes --socket and auto-login no longer rewrites tui.conf; pty tests now run through scripts/tui-sandbox.sh so they cannot touch the real config, cache or bw session.
3 daysscripts: bokftui-bw exports the item's login usernameAnders Betts
Password-kind items only exported BOKFD_PASSWORD, so the TUI fell back to the username saved in tui.conf (admin) and failed with AUTH_FAILED when switching accounts. The item's login username now wins unless the caller set BOKFD_USER explicitly.
3 daysscripts: bokftui-bw syncs and matches item name or login userAnders Betts
The bw CLI cache could be stale, so a newly created item was invisible. Sync before listing, match the query against both the item name and the login username (exact first), show 'name (user)' in the picker and fetch the secret by item id.
3 daysscripts: bokftui-bw item selection (argument or picker)Anders Betts
4 daysdeploy: --dev hot-reloads the daemon via docker cp + SIGHUPv0.1.14Anders Betts
- bokfd re-execs its own binary on SIGHUP, closing listeners/db first - scripts/deploy.sh --dev cross-builds and copies binaries into the running container, then verifies the reported version
4 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.
4 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
4 daysscripts: probe and set the Node Web Crypto flag for bwAnders Betts
4 daysscripts: replace sudo credential wrapper with a Bitwarden launcherAnders Betts
brw/bw lookup in user space; optional token via custom field
4 daysbokftui: remember server/user, BOKFD_TOKEN auto-login, sudo credential launcherv0.1.4Anders Betts
4 daysInitial commit: daemon, clients, docs, Docker deploy pipelinev0.1.0Anders Betts