| Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
ui_getch mapped Ctrl+R to Esc, but the dashboard treats Esc as a
no-op and looped, so do_reload was never reached; from sub-screens the
key merely bounced back to the dashboard. Dashboard and the early
screens now honour the flag. Verified by observing the re-exec and
session reuse in ~/.cache/bokf/tui.log.
|
|
try_login is called with a->username as the user; snprintf with
overlapping source and destination is undefined and produced "" on
glibc, so config_save wrote 'user=' and later reloads could not
auto-login. Copy through a temporary, carry BOKFD_USER on reload and
never persist an empty user.
|
|
Template names, org names, filenames and the account-list type column
were padded with byte widths, so Swedish characters broke the alignment.
|
|
- whole chain (session, token, password) is retried while the server is
unreachable, with an on-screen counter
- the adopted connection is taken over instead of reconnecting
- failures show the server error in a box and append to
~/.cache/bokf/tui.log for later diagnosis
|
|
Namn/Serie/Text (and the voucher date) drew the caret at the end of the
string; editing worked but the cursor never appeared to move.
|
|
|
|
select_list refused to move when fewer than a full page remained; menu
already clamped. Matches the menu behaviour now.
|
|
- 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
|
|
|
|
|
|
- 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
|
|
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.
|
|
- 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
|
|
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.
|
|
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.
|
|
|
|
|
|
- owner-editable company details form (read-only for other roles)
- org.update honors dry_run; covered in tests
|
|
- 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
|
|
|
|
|
|
brw/bw lookup in user space; optional token via custom field
|
|
|
|
|
|
- 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
|
|
|
|
- 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)
|
|
|