Commit Graph

22 Commits

Author SHA1 Message Date
aa928900f8 Add links to tosite tags 2026-01-22 18:37:18 +02:00
d387b7c2ab Add links to URI-valued tags 2026-01-22 10:34:48 +02:00
3d32a45ffe Enable viewing elided transaction descriptions 2026-01-17 19:47:21 +02:00
efdf60263d Fix spacing after tags without a value 2026-01-16 19:53:46 +02:00
a9070df40e Display transaction status in hledger-web 2026-01-16 19:42:37 +02:00
807f9d800a Display payee and note separately hledger-web 2026-01-16 12:31:14 +02:00
961fd71e57 Display transaction code in hledger-web 2026-01-16 12:02:15 +02:00
10c71cb447 Display posting tags in hledger-web 2026-01-16 11:48:59 +02:00
e5ac735110 Display transaction tags in hledger-web 2026-01-16 09:53:21 +02:00
b40628c1e6 Construct transactionsreport as a list 2026-01-15 16:04:02 +02:00
0098ac874f Translate to Finnish 2026-01-14 12:30:12 +02:00
Simon Michael
95d33f20f6 imp:web: access control UX cleanups (fix #834)
Changes:

1. rename the sandstorm "manage" permission to "edit"
(old permission names: view, add, manage;
 new permission names: view, add, edit).

Rationale: "edit" best describes this permission's current powers, to users and to operators.
If we ever added more manager-type features we'd want that to be a new permission,
not a rename of the existing one (which would change the powers of existing users).

2. rename the sandstorm roles for consistency with permissions
(old role names: viewer, editor, manager;
 new role names: viewer, adder, editor)

Rationale: it's needed to avoid confusion.

3. add a new option: --allow=view|add|edit|sandstorm (default: add).
'sandstorm' sets permissions according to the X-Sandstorm-Permissions header.
Drop the --capabilities and --capabilities-header options.

Rationale: it's simpler and more intuitive.

4. replace "capability" with "permission" in ui/docs/code.

Rationale: consistent with the above, more familiar.
2023-10-24 13:37:36 +01:00
Stephen Morgan
acfbd36fb8 dev: web: Use entriesReport instead of transactionReport.
This produces identical results. The only fields used in the TransactionReport were torig, split, and amt.
- torig is the same as in entriesReport
- since transactionsReport calls accountTransactionsReportItems with
  None as thisacctq, all accounts are considered ‘other accounts’, so
  amt is always zero, and ($if not split && not (mixedAmountLooksZero amt)) never fires.
- So the only thing used is torig, and we can just get that from the
  entriesReport.
2021-07-22 19:00:37 -10:00
Simon Michael
95b8e268ce ;lib: a few more zero-checking function references 2020-05-29 19:04:52 -07:00
Henning Thielemann
e9792bfd42 ;web: links from register to journal now contain journal filename
in order to distinguish transactions from multiple journal files (#1041)
2020-05-25 10:02:39 -07:00
Simon Michael
10b45c75aa web: fix tooltips showing transactions (fixes #927) 2019-02-18 07:55:29 -08:00
Jakub Zárybnický
483283ec43 web: Add capabilities guards and conditional widget rendering 2018-06-24 16:25:22 +02:00
Jakub Zárybnický
930b38a345 web: Simplify HTML and CSS 2018-06-24 14:13:04 +02:00
Jakub Zárybnický
5f6da96baa web: UI cleanup 2018-06-24 14:13:04 +02:00
Jakub Zárybnický
c952ab881b web: Add /manage page, implement /edit, /upload, and /download 2018-06-24 14:13:04 +02:00
Jakub Zárybnický
cc1241fa20 web: Add yesod-form-generated AddForm, add GET & POST /add 2018-06-24 14:13:04 +02:00
Jakub Zárybnický
ee36b529e7 web: Extract html into external files 2018-06-24 14:13:04 +02:00