Commit Graph

13049 Commits

Author SHA1 Message Date
Simon Michael
982401704f
Merge pull request #2213 from thielema/balance-export-fods
Balance export FODS and HTML
2024-08-16 17:35:38 +01:00
Henning Thielemann
fdc007d446 doc: hledger.m4.md: new column for FODS
balance support for HTML export is now complete
2024-08-16 16:57:38 +02:00
Henning Thielemann
70e556998f cli: Command.Balance.budgetReportAsSpreadsheet: support for budget export to HTML and FODS 2024-08-16 16:57:38 +02:00
Henning Thielemann
3af8eb3bc6 cli: Command.Balance: use Date format for dates in LayoutTidy 2024-08-16 16:57:38 +02:00
Henning Thielemann
da61b64f94 cli: Command.Balance: support FODS export for multibalance
Data.Amount.showMixedAmountLinesPartsB: new helper function
2024-08-16 16:57:38 +02:00
Henning Thielemann
66a047aade lib: Write.Spreadsheet.Cell: add type parameter for the text type
instance Functor Cell
This way you can choose between Text, Lazy.Text, WideBuilder for cell content.
2024-08-16 16:57:38 +02:00
Henning Thielemann
f306df6d61 imp: lib: Write.Html: use Lucid to generate HTML 2024-08-16 16:57:38 +02:00
Henning Thielemann
48723c930c cli: Cli.Balance.balanceReportAsCvs: now based on balanceReportAsSpreadsheet
This warrants consistency of ODS, HTML and CSV export.
2024-08-16 16:57:38 +02:00
Henning Thielemann
37be769540 doc: Commands/Balance.md: mention FODS export format 2024-08-16 16:57:38 +02:00
Henning Thielemann
8c42a735c2 cli: lib: Write.Spreadsheet: common data types for Write.Ods and Write.Html
Write.Html: write spreadsheet data to a HTML table

enables HTML export for the balance command
2024-08-16 16:57:38 +02:00
Henning Thielemann
29b67691fb cli: Write.Ods: also use a number cell if the total amount has a single commodity 2024-08-16 16:57:38 +02:00
Henning Thielemann
2a1f3920c6 lib: Write.Ods.escape: escape cell contents 2024-08-16 16:57:38 +02:00
Henning Thielemann
ba0db5feec cli: Write.Ods: write single amounts as numbers with units
This way you can do computations with the numbers in LibreOffice Calc.
2024-08-16 16:57:38 +02:00
Henning Thielemann
7b136600fa cli: Cli.Balance.balanceReportAsFods: use distinguished cell formatting styles 2024-08-16 16:57:38 +02:00
Henning Thielemann
0e158d0c3e cli: lib: Hledger.Write.Ods: basic support for FODS export
used in Commands.Balance
2024-08-16 16:57:38 +02:00
Henning Thielemann
14b5a1f82a imp: Hledger.Read.CsvUtils -> Write.Csv 2024-08-16 16:57:38 +02:00
Simon Michael
bafe70efb4 ;doc: scripts and add-ons: edits 2024-08-12 11:59:41 +01:00
Simon Michael
aa7a38f586 ;doc: update stack doc urls 2024-08-12 11:55:06 +01:00
Simon Michael
a0c8237697 ;doc: scripts and add-ons: edits 2024-08-12 11:40:59 +01:00
Simon Michael
b352a5e281 ;doc: scripts and add-ons: edits 2024-08-12 11:36:58 +01:00
Simon Michael
1fd6fbb4f7 ;doc: scripts and add-ons: edits 2024-08-12 11:10:13 +01:00
Simon Michael
6670c465d1 ;doc: scripts and add-ons: edits 2024-08-12 11:06:11 +01:00
Simon Michael
397a464aeb ;doc: bin readme/Scripts and add-ons: rewrites, list add-ons again 2024-08-12 11:00:54 +01:00
Simon Michael
d6b905fa08 ;bin: bashrc: updates 2024-08-12 08:48:42 +01:00
Simon Michael
7e684116f2 ;install: refactor, bump snapshot, perhaps fix hledger-interest install 2024-08-10 08:34:54 +01:00
Simon Michael
cfe8182c78 ;install: clarify some stack/cabal setup messages 2024-08-10 08:34:23 +01:00
Simon Michael
b99c4f75d2 ;doc: timeclock: edits 2024-08-06 18:19:33 +01:00
Simon Michael
ee629b98ce ;doc: timeclock: fix layout 2024-08-06 18:14:56 +01:00
Simon Michael
2fbd81df2d ;doc: timeclock: fix ti/to scripts 2024-08-06 18:13:27 +01:00
Simon Michael
a22901a983 ;bin: bashrc updates 2024-08-06 18:12:52 +01:00
Simon Michael
1f880f39bd ;bin: drop silly diff alias 2024-08-04 19:16:22 +01:00
Simon Michael
d19b353bfb imp: improve bad regexp error message
Eg '(?:foo)' is not malformed, it's just not supported.
https://hledger.org/hledger.html#hledgers-regular-expressions
2024-07-24 11:06:13 +01:00
Simon Michael
fa8d223858 imp: web: guess a more robust base url when --base-url is not used
A followup to #2099, #2100 and #2127. Now relative links to js/css
resources will use the same hostname etc. the main page was requested
from, making them work better when accessed via multiple IP
addresses/hostnames without an explicit --base-url setting.
2024-07-18 10:12:40 +01:00
Simon Michael
13a5299237 imp: web: require a http[s] scheme in --base-url
Previously it accepted just a hostname, and generated bad links.
2024-07-18 10:10:26 +01:00
Simon Michael
c0a4983e87 ;dev: web: refactor 2024-07-18 09:14:56 +01:00
Simon Michael
957b217386 ;examples: hledger.conf updates 2024-07-17 15:09:54 +01:00
Simon Michael
4ad4ddf0c9 ;examples: hledger.conf updates 2024-07-17 08:42:37 +01:00
Simon Michael
165e70df7a imp: bs,cf,is: show interval in report title
This makes the report interval clearer, eg when it's set unexpectedly
by a config file.
2024-07-17 08:26:43 +01:00
Simon Michael
224e0bfb38 ;examples: hledger.conf updates 2024-07-17 07:39:11 +01:00
Simon Michael
58c5b0803b ;doc: readme: fix contributors link 2024-07-17 07:06:12 +01:00
Simon Michael
e795666f53 ;examples: hledger.conf updates 2024-07-17 06:49:14 +01:00
Simon Michael
185c336bff ;examples: hledger.conf updates 2024-07-17 06:46:12 +01:00
Simon Michael
823ac9246b ;examples: hledger.conf updates 2024-07-17 06:39:29 +01:00
Simon Michael
1e62cb4c2f ;examples: hledger.conf updates 2024-07-17 06:34:31 +01:00
Simon Michael
0e5708729f ;doc: date adjustments: edits 2024-07-16 22:45:31 +01:00
Simon Michael
776ad26b55 ;doc: date adjustment: rewrite, fix description of end date adjustment 2024-07-16 22:30:35 +01:00
Simon Michael
a1c6a409bc ;dev: clean up dates, intervals func tests 2024-07-16 22:12:51 +01:00
Simon Michael
4b3abfd470 ;imp: check: recentassertions: improve message readability 2024-07-16 22:12:41 +01:00
Simon Michael
4b4d35fb80 ;doc: cli: fix another hledger and Ledger link [hledger_site#112] 2024-07-15 09:55:48 +01:00
Simon Michael
8bb4831053 ;doc: cli: Journal: fix hledger and Ledger link [hledger_site#112] 2024-07-15 09:42:40 +01:00