summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
3 daysbokftui: PgUp/PgDn clamp to the first/last row in listsv0.1.18Anders Betts
select_list refused to move when fewer than a full page remained; menu already clamped. Matches the menu behaviour now.
3 daysbokftui: recover from expired sessions; carry the password across Ctrl+Rv0.1.17Anders Betts
- stale BOKFD_SESSION falls back to token/password auto-login and shows a message before the login screen when neither is available - the password typed this session is handed to the re-exec'd process
3 daysbokfd: re-exec via PATH so a bare argv[0] works; faster healthcheckv0.1.16Anders Betts
3 daysbuild: declare VERSION after the apt layers so the cache survivesv0.1.15Anders Betts
3 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
3 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.
3 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
3 daysbokftui: IB view shows effective opening balances, edits post deltas to themv0.1.11Anders Betts
Was listing the IB voucher's rows (the reconciliation deltas) and computing edits against those, which mismatched reports on years with carry-forward and could not set a target balance. Also guard the editor against more than 63 rows.
3 daysbokftui: fix heap overflow in ib_load (rows vs vouchers)v0.1.10Anders Betts
The IB list arrays were sized by voucher count but appended per row; a single IB voucher with more than one row overwrote the heap and crashed after leaving the view. Grow the arrays dynamically.
3 daysbokftui: sum the whole IB voucher, not only the visible rowsv0.1.9Anders Betts
3 daysbokftui: Ctrl+R reloads the binary and restores session, year and viewv0.1.8Anders Betts
3 daysbokftui: Företagsuppgifter screen; org.update dry-runv0.1.7Anders Betts
- owner-editable company details form (read-only for other roles) - org.update honors dry_run; covered in tests
4 dayssie: import CRLF, #RAR 0, zero rows; skip #IB with prior historyv0.1.6Anders Betts
- tokenizer treats CR as whitespace; closing brace matches with CRLF - only #RAR with year indicator 0 selects the fiscal year - zero-amount #TRANS rows are dropped instead of violating the schema - #IB becomes an IB voucher only when the year has no earlier history
4 daysImplement org.update (owner) and cover it in testsv0.1.5Anders Betts
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 daysdocs: export backup token before docker compose execAnders Betts
4 daysAdd token login to bokfctl and enforce admin scope for tokensv0.1.3Anders Betts
- bokfctl: --token / BOKFD_TOKEN via client_token_login - tokens must carry the admin scope for admin commands (was bypassed) - docs: token-based snapshot for restic backups
4 dayscerts: use lego v5 run subcommand flagsv0.1.2Anders Betts
4 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)
4 daysInitial commit: daemon, clients, docs, Docker deploy pipelinev0.1.0Anders Betts