Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
dc0f302
refactor(buttons): port form.md button states and layout
nodemode-ai Nov 27, 2026
8cdddc1
feat(table): empty state with icon, title and line
nodemode-ai Nov 27, 2026
5aa70db
feat(menu): native menubar with file view go and help menus
nodemode-ai Nov 27, 2026
e32393f
feat(reports): add monthly series and top rows routes
nodemode-ai Nov 27, 2026
94a4a5a
docs(behaviors): american spelling in the behaviors page
nodemode-ai Nov 27, 2026
a9f912c
feat(templates): add document templates with built-in starters
nodemode-ai Nov 27, 2026
022105c
docs(spelling): american spelling in contributing and conduct
nodemode-ai Nov 27, 2026
3b03b17
docs(spelling): american spelling in roles, payments and window
nodemode-ai Nov 27, 2026
2d47bc9
feat(printout): put a formtxt renderer in front of the plain one
nodemode-ai Nov 27, 2026
d7970c2
feat(printout): add a plain flag and name the renderer on stderr
nodemode-ai Nov 27, 2026
f4607a6
feat(config): add the formledger key file setting
nodemode-ai Nov 27, 2026
1610884
feat(store): open the ledger through the encrypting vfs when a key is…
nodemode-ai Nov 27, 2026
b1d4204
feat(startup): load the key before the store opens
nodemode-ai Nov 27, 2026
4d118f0
feat(masters): cash preference control on the chart of accounts
nodemode-ai Nov 27, 2026
c0b7fe5
feat(docform): save as template, fill from a template and print
nodemode-ai Nov 27, 2026
d291206
fix(copy): american spelling for status and aging labels
nodemode-ai Nov 27, 2026
1fefce4
feat(window): add inline svg chart part
nodemode-ai Nov 27, 2026
20d7d5f
feat(window): add dashboard series client
nodemode-ai Nov 27, 2026
fe59147
feat(window): add dashboards view
nodemode-ai Nov 27, 2026
b5687c9
feat(window): icons and lines for the reports and setup hubs
nodemode-ai Nov 27, 2026
3980a9b
feat(window): lean sidebar with reports and setup hubs
nodemode-ai Nov 27, 2026
b4ab969
feat(window): command palette ported from form.md
nodemode-ai Nov 27, 2026
e6766d8
docs(print): describe the formtxt renderer and mark it unverified
nodemode-ai Nov 27, 2026
717a68c
docs(snapshot): add the steps that opened the snapshot in formcel
nodemode-ai Nov 27, 2026
415ebb6
docs(printout): log why the formtxt renderer sends records
nodemode-ai Nov 27, 2026
f5c75ae
feat(templates): add the templates gallery view
nodemode-ai Nov 27, 2026
87a5315
docs(spelling): american english in the changelog and notices
nodemode-ai Nov 27, 2026
ffefec1
docs(encryption): explain at-rest encryption, the key and conversion
nodemode-ai Nov 27, 2026
5304226
docs(hashout): log the ported encryption wiring
nodemode-ai Nov 27, 2026
7eb54dd
docs(window): buttons, empty states and the shell as they are
nodemode-ai Nov 27, 2026
8d87f18
docs(log): buttons, empty states and cash control
nodemode-ai Nov 27, 2026
00c47c0
fix(templates): carry an income or expense account on free lines
nodemode-ai Nov 27, 2026
de9e8db
docs(window): log the lean sidebar hubs and palette
nodemode-ai Nov 27, 2026
f8df273
docs(desktop): log the native menubar port
nodemode-ai Nov 27, 2026
85677c7
fix(window): keep stat tile change badge from moving
nodemode-ai Nov 27, 2026
220675f
fix(window): palette leads with new and screens not sign out
nodemode-ai Nov 27, 2026
ca381dd
fix(window): american spelling for aging in hub and menubar
nodemode-ai Nov 27, 2026
d18edff
docs(ledger): describe the dashboards cards and how they tie
nodemode-ai Nov 27, 2026
c824023
docs(logs): record the dashboards series and charts
nodemode-ai Nov 27, 2026
dd98313
fix(templates): point built-in lines at posting accounts
nodemode-ai Nov 27, 2026
e7b9f23
feat(window): show a series key in the chart readout
nodemode-ai Nov 27, 2026
5960ef7
fix(templates): keep the card flag off the preview header
nodemode-ai Nov 27, 2026
080419b
docs(templates): describe document templates and their routes
nodemode-ai Nov 27, 2026
dfa0b4a
docs(templates): log the template choices
nodemode-ai Nov 27, 2026
f84ada7
fix(templates): give the card preview fixed line heights
nodemode-ai Nov 27, 2026
c88b265
fix(copy): spell the document status canceled
nodemode-ai Nov 27, 2026
34a8916
feat(window): say what dashboards and templates are for
nodemode-ai Nov 27, 2026
bc8957b
docs(window): describe the short sidebar, the hubs and the palette
nodemode-ai Nov 27, 2026
e213740
docs(notice): credit this version's ports from form.md
nodemode-ai Nov 27, 2026
2017ada
docs(readme): lay the readme out like form.md's
nodemode-ai Nov 27, 2026
aa5b8fd
chore(release): 0.11.0
nodemode-ai Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BRANCHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Examples: `feature/server-data-dir`, `fix/web-dev-proxy-origin`, `docs/readme-qu

## Releases and tagging

This repository has no release workflow and builds no release artefacts: packaging and releases are done by FormCompiler (`nodemode-dev/formcompiler`). A release starts with one version bump commit on `main`.
This repository has no release workflow and builds no release artifacts: packaging and releases are done by FormCompiler (`nodemode-dev/formcompiler`). A release starts with one version bump commit on `main`.

1. On a `chore/release-vX.Y.Z` branch, bump the version everywhere it is written:
- `VERSION := vX.Y.Z` in `Makefile`
Expand Down
39 changes: 34 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## 0.11.0

FormLedger gets dashboards with charts, document templates, a short sidebar with a command palette and a full menubar, and encryption at rest.

### New
- **Dashboards:** four tiles (revenue, expenses, profit, cash) with a sparkline and the change on the period before, and six charts: revenue and expenses by month, profit, cash, receivables and payables, top customers and top items. Each chart has a data table for screen readers, and pointing at a month shows its exact figures. `docs/ledger/dashboards.md` says where every number comes from.
- **Templates:** a Templates screen with built-in starting points and your own. A document form can be saved as a template and filled from one.
- **Print** on the document form.
- **A short sidebar, as in form.md:** Search, Home and Dashboards, the selling and buying documents, and a foot with Reports, Setup and Templates. Reports and Setup are pages of cards, one per screen.
- **A command palette** (Ctrl or Cmd+Shift+P, or Search in the sidebar) that opens every screen and starts every new document from the keyboard.
- **A full menubar for the desktop app,** ported from form.md: File (new documents, Export CSV, Print), Edit, View, Go (every screen), Window and Help. It has not been compiled or run.
- **Encryption at rest,** as form.md does it: `formledger keygen` makes a key, `FORMLEDGER_KEY_FILE` names it, and `formledger encrypt` converts an existing ledger. `docs/ENCRYPTION.md` has the steps. Without a key the ledger is stored plain and the server says so at start.
- **Cash on Home** can be chosen in the window, above the chart of accounts.
- **PDFs through FormTxt:** the server asks a running FormTxt to draw a printout first and falls back to the built-in pages. `./formledger cli print` takes `--plain` and says which one answered.
- Routes `GET /api/reports/series` and `GET /api/reports/top` behind the dashboards.

### Changed
- Buttons and empty lists look as they do in form.md.
- Spelling is American English on screen and in the docs: "Canceled", "aging". Stored values and route names are unchanged.
- The README follows the family's layout.

### Known issues
- Nothing creates a key for you, on the desktop or elsewhere, so encryption is off until you make one. form.md works the same way.
- `formledger encrypt` keeps no plain copy of the old database; copy the data folder first.
- The FormTxt printout has not been seen working: FormTxt refuses outside requests unless its window is open and a person allows them, and it holds its own templates. Every print here came from the built-in pages.
- FormCel's engine read a snapshot with one SELECT and pivoted it; FormCel's window was not used.
- Write Snapshot in the menubar and palette only tells you the command to run.
- The desktop shell has not been compiled.

## 0.10.0

FormLedger now looks and behaves like a member of the Form family: its shell, sign-in, page heads and fields were brought over from form.md and checked against form.md running beside it.
Expand All @@ -24,7 +53,7 @@ FormLedger now looks and behaves like a member of the Form family: its shell, si

### Fixed
- In narrower windows the document form's buttons, and the payment, goods receipt and delivery note forms' buttons, could fall outside the window.
- A grey band behind the payment form's buttons in the light theme.
- A gray band behind the payment form's buttons in the light theme.

### Known issues
- Buttons still differ a little from form.md's (hover, the danger style, height); the list is in the pull request.
Expand All @@ -47,7 +76,7 @@ The window has had its first design pass, and two ways to take your figures out

### Changed
- Every list and ledger screen fills the window, with its filters in one bar, and its main button on the title row.
- A status is a coloured badge everywhere. Codes and document numbers use the fixed-width face; amounts line up on the right.
- A status is a colored badge everywhere. Codes and document numbers use the fixed-width face; amounts line up on the right.
- The document form reads like the paper: one heading with the number and status, a tidy header block, the lines, totals under the amount column, then the buttons with the main one last. A posted document shows as read-only.
- Profit and loss and the balance sheet are laid out as statements, with the result as the one large number at the foot.
- The setup screens show the list beside a form panel that scrolls, with its buttons always in view. The chart of accounts is indented by level.
Expand All @@ -59,7 +88,7 @@ The window has had its first design pass, and two ways to take your figures out
- A document line with a quantity or price but no item is now pointed out when you save, where it used to be dropped without a word.

### Known issues
- The design pass followed rules written for this app on form.md's colours and type; it has not been compared with form.md's own screens side by side.
- The design pass followed rules written for this app on form.md's colors and type; it has not been compared with form.md's own screens side by side.
- The light theme, windows narrower than 1400 px and the purchase form were not looked at in this pass.
- Totals on a draft document show 0.00 until it is saved.
- An exported delivery note list stops at 500 notes.
Expand Down Expand Up @@ -265,7 +294,7 @@ The first scaffold. The server starts and serves the web client; there are no le
- `./build_app --server-only` compiles `bin/formledger`, one program with the web client inside.
- The web client opens on a Home view with a line that says whether the server answers.
- The server listens on this computer only, at `127.0.0.1:8340`, and answers a health check at `/api/health`.
- `docs/BEHAVIOURS.md` lists the 64 behaviours the app commits to, with the sources for each.
- `docs/BEHAVIOURS.md` lists the 64 behaviors the app commits to, with the sources for each.

### Known issues
- The desktop app in `src-tauri/` has not been compiled and cannot be bundled until the app has its icon set.
Expand All @@ -274,4 +303,4 @@ The first scaffold. The server starts and serves the web client; there are no le

## 0.1.0

- The repository's first commit: the licence, the notice and a short README.
- The repository's first commit: the license, the notice and a short README.
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for the project elsewhere.
Report anything that breaks this code by opening an
[issue](https://github.com/nodemode-dev/formledger/issues), or by reaching the
maintainers on GitHub: the [nodemode-dev](https://github.com/nodemode-dev)
organisation, [@nodemode-ai](https://github.com/nodemode-ai) and
organization, [@nodemode-ai](https://github.com/nodemode-ai) and
[@gbarnai](https://github.com/gbarnai).

## What happens next
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ There are no automated tests yet.

FormLedger is maintained by:

- the [nodemode-dev](https://github.com/nodemode-dev) organisation on GitHub
- the [nodemode-dev](https://github.com/nodemode-dev) organization on GitHub
- [@nodemode-ai](https://github.com/nodemode-ai)
- [@gbarnai](https://github.com/gbarnai)

Expand All @@ -72,14 +72,14 @@ release. See [BRANCHING.md](BRANCHING.md).
FormLedger is licensed under the Apache License 2.0 ([LICENSE](LICENSE), SPDX
`Apache-2.0`). By contributing, you agree that your contribution is licensed under the
same terms. Only add code you have the right to contribute, and name any third-party
code and its licence in the pull request.
code and its license in the pull request.

### Rules for every contribution

- Patents: do not add a feature, or a dependency that provides one, that reproduces a method you know to be patented. If you are unsure, open an issue that describes what the feature does, not which patent it resembles. Patent numbers stay out of code, commits, comments, logs and changelogs.
- Trademarks: other vendors' product and feature names appear only to name a file format or compatibility ("opens <format> files", "for use with"). No command, menu, panel or tool takes another product's feature name, and no text says "like X" or "the way X does it". Describe what the feature does.
- Copyright: never copy another product's help, tooltip, dialog or documentation text (link to it instead); never trace or import vendor icons; never bundle vendor templates, themes, sample files, stock media or fonts.
- Licences: every new dependency, binary or data file gets a row in `NOTICE.md` before it is used. GPL stays outside the distributed bundle, AGPL nowhere, LGPL dynamically linked and replaceable, MPL files unedited. CC BY credited, CC BY-SA only unmodified, CC NC and ND never.
- Licenses: every new dependency, binary or data file gets a row in `NOTICE.md` before it is used. GPL stays outside the distributed bundle, AGPL nowhere, LGPL dynamically linked and replaceable, MPL files unedited. CC BY credited, CC BY-SA only unmodified, CC NC and ND never.

## Conduct

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := v0.10.0
VERSION := v0.11.0
GO_BUILD := CGO_ENABLED=0 go build -trimpath -ldflags "-s -w"

.PHONY: build web server check clean
Expand Down
14 changes: 7 additions & 7 deletions NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ FormLedger. Copyright 2026 NodeAgentc, Inc. Licensed under the Apache License 2.

## Ported code

A file brought over from another Form repository gets a row here with its source, that source's licence and version, and what came over. The source belongs to the same owner.
A file brought over from another Form repository gets a row here with its source, that source's license and version, and what came over. The source belongs to the same owner.

| Source | Licence | What came over |
| Source | License | What came over |
| --- | --- | --- |
| form.md v0.61.1 (`nodemode-dev/form.md`) | Apache-2.0 | `cmd/formledger/main.go`, `embed.go` and `internal/` (`app`, `config`, `httpx`, `i18n`, `ids`, `netguard`, `nowindow`, `secrets`, `settings`, `store` with its migration runner and the instance and settings tables, `server`, `static`, `startup`), reduced to a skeleton and renamed, with the encryption hooks cut for now. Since 0.3.0 also `internal/auth` (password hashing nearly verbatim; the desktop entry, sessions, tokens and invitations cut down to one company and one role per person), `internal/policy` (the roles and actions are FormLedger's own), `internal/audit` and `internal/auditapi` (the workspace, page and agent parts, the purge and the export removed), `internal/crypt` and `internal/cryptvfs` (nearly verbatim, not switched on yet), and the users, sessions, tokens and invitations tables cut from form.md's accounts migration. `web/`: the engine store and commands, `ui/dom`, `ui/icons`, `ui/toast`, the theme tokens and shell styles, the Vite and TypeScript configuration, `oc_install` and `boot_frontend`. `src-tauri/`: the whole shell, renamed, with the menus reduced. The root launcher, installer, `build_app` and `Makefile`. `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, `SECURITY.md`, `BRANCHING.md`, `.github/` and `.claude/settings.json`, rewritten for this repository. Since 0.10.0 also, from form.md at its `main` of 2026-11-27: the system-theme start in `web/index.html`; the sidebar head, user chip and menu, the top bar's back, forward and crumb, the sign-in card and the Home head (`web/src/styles/shell.css`, `auth.css`, `home.css`, `panels.css`, `pages.css`, `controls.css`, `web/src/ui/auth.ts`, `web/src/ui/icons.ts`, the tokens); the field, select and checkbox styles (`forms.css`, `settings.css`); the page head (`home.css`); the PDF page setup and page counter (`internal/transfer/pdf.go`); and the splash page's layout, which FormLedger shows with its own icon |
| form.md v0.61.1 (`nodemode-dev/form.md`) | Apache-2.0 | `cmd/formledger/main.go`, `embed.go` and `internal/` (`app`, `config`, `httpx`, `i18n`, `ids`, `netguard`, `nowindow`, `secrets`, `settings`, `store` with its migration runner and the instance and settings tables, `server`, `static`, `startup`), reduced to a skeleton and renamed, with the encryption hooks cut for now. Since 0.3.0 also `internal/auth` (password hashing nearly verbatim; the desktop entry, sessions, tokens and invitations cut down to one company and one role per person), `internal/policy` (the roles and actions are FormLedger's own), `internal/audit` and `internal/auditapi` (the workspace, page and agent parts, the purge and the export removed), `internal/crypt` and `internal/cryptvfs` (nearly verbatim, not switched on yet), and the users, sessions, tokens and invitations tables cut from form.md's accounts migration. `web/`: the engine store and commands, `ui/dom`, `ui/icons`, `ui/toast`, the theme tokens and shell styles, the Vite and TypeScript configuration, `oc_install` and `boot_frontend`. `src-tauri/`: the whole shell, renamed, with the menus reduced. The root launcher, installer, `build_app` and `Makefile`. `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, `SECURITY.md`, `BRANCHING.md`, `.github/` and `.claude/settings.json`, rewritten for this repository. Since 0.10.0 also, from form.md at its `main` of 2026-11-27: the system-theme start in `web/index.html`; the sidebar head, user chip and menu, the top bar's back, forward and crumb, the sign-in card and the Home head (`web/src/styles/shell.css`, `auth.css`, `home.css`, `panels.css`, `pages.css`, `controls.css`, `web/src/ui/auth.ts`, `web/src/ui/icons.ts`, the tokens); the field, select and checkbox styles (`forms.css`, `settings.css`); the page head (`home.css`); the PDF page setup and page counter (`internal/transfer/pdf.go`); and the splash page's layout, which FormLedger shows with its own icon. Since 0.11.0 also, from the same `main`: the native menubar and its wiring (`src-tauri/src/menu.rs`, `main.rs`); the command palette (`web/src/ui/command-palette.ts`, the `.cpal`, scrim and dialog rules); the buttons (`forms.css`); the bar chart and the chart and dashboard card rules (`web/src/ui/bar-chart.ts`, `charts.css`); and encryption at rest, now switched on when a key is given (`internal/crypt/key.go`, `internal/cryptvfs/vfs.go`, `internal/store/store.go`, `internal/ops/encrypt.go`, the key options in `internal/config/config.go` and the `keygen` and `encrypt` commands) |

## Third-party software

Each component gets a row here with its licence and its use before it is added.
Each component gets a row here with its license and its use before it is added.

| Component | Licence | Use |
| Component | License | Use |
| --- | --- | --- |
| modernc.org/sqlite v1.60.1 and modernc.org/libc v1.77.1 | BSD-3-Clause | server |
| golang.org/x/crypto v0.58.0 | BSD-3-Clause | server |
| github.com/go-pdf/fpdf v0.9.0, the version form.md ships | MIT, read from the module's LICENSE: Copyright (c) 2021 The Go-PDF authors, (c) 2020 David Barnes, (c) 2017 Kurt Jung and contributors | server, the built-in PDF printouts |
| The indirect Go modules in `go.sum` (go-humanize, google/uuid, go-isatty, go-strftime, bigfft, x/net, x/sys, x/text, mathutil, memory) | the same modules form.md uses; their licences have not been read for this repository yet | server |
| The indirect Go modules in `go.sum` (go-humanize, google/uuid, go-isatty, go-strftime, bigfft, x/net, x/sys, x/text, mathutil, memory) | the same modules form.md uses; their licenses have not been read for this repository yet | server |
| Inter, the variable latin and latin-ext files from @fontsource-variable/inter 5.3.0, by way of form.md | SIL Open Font License 1.1, text in `web/src/fonts/Inter-OFL.txt` | interface font |
| typescript 7.0.2 | Apache-2.0 | building the web client; not shipped |
| vite 8.4.0 and what it pulls in (rolldown, postcss and others: MIT; lightningcss: MPL-2.0; picocolors: ISC; source-map-js: BSD-3-Clause), and @types/node | MIT | building the web client; not shipped |
| Tauri 2 with the shell, dialog, opener and single-instance plugins | MIT OR Apache-2.0, per form.md's notices | desktop shell, which has not been compiled yet |
| windows-sys, objc2, objc2-app-kit | the same crates form.md's shell uses; their licences have not been read for this repository yet | desktop shell |
| windows-sys, objc2, objc2-app-kit | the same crates form.md's shell uses; their licenses have not been read for this repository yet | desktop shell |

The web client has no runtime dependency.
Loading
Loading