Commit Graph

81 Commits

Author SHA1 Message Date
Simon Michael
ff25ad6767 examples: bcexample: drop beancountish double quotes 2022-07-23 02:35:17 +01:00
max thomas
3303ac11b8 examples/csv: add example for capital one credit cards [ci skip] 2022-07-09 22:53:36 +01:00
Stephen Morgan
9155d679fe fix!: Revert "fix!: utf-8: Use with-utf8 to ensure all files are read and written with utf8 encoding. (#1619)"
This reverts commit e233f001c5.

This would break at least some people's workflow. A lighter touch is
probably sufficient.
2022-06-01 09:35:18 +10:00
Stephen Morgan
e233f001c5 fix!: utf-8: Use with-utf8 to ensure all files are read and written with utf8 encoding. (#1619)
May also fix #1154, #1033, #708, #536, #73: testing is needed.

This aims to solve all problems where misconfigured locales lead to
parsers failing on utf8-encoded data. This should hopefully avoid
encoding issues, but since it fundamentally alters how encoding is dealt
with it may lead to unexpected outcomes. Widespread testing on a number
of different platforms would be useful.
2022-05-22 13:12:19 +10:00
Simon Michael
0231ee1124 fix: examples: invoice: calculate dates accurately on last days of month 2022-04-04 12:48:03 -10:00
Simon Michael
a36836e723 ;examples: multicurrency.journal 2021-12-22 15:38:48 -10:00
Simon Michael
7edcf77eae ;examples: invoicing: new invoice script example 2021-12-04 10:41:41 -10:00
Simon Michael
7c4f5dc2bf ;examples: move invoicing makefile to subdir 2021-12-04 10:16:28 -10:00
Simon Michael
e71ee0b534 ;doc: templates: basic: inline docs, improvements 2021-11-25 11:58:41 -10:00
Simon Michael
6783183ec8 ;imp: examples/templates/, with one example file set ("basic") 2021-11-25 11:58:41 -10:00
Simon Michael
f80598e73c ;imp: examples: set account display order in bcexamples 2021-11-22 08:51:31 -10:00
Stephen Morgan
94d9c28a63 cln: Replace all uses of deprecated !include with include.
Also include a test which makes sure !include is still parsed.
2021-09-27 15:04:35 -10:00
Simon Michael
c2e6a2931c ;tests: ui: add missing test file 2021-09-20 16:53:55 -10:00
Simon Michael
b868e61979 ;fix: ui: test wording 2021-09-19 06:34:17 -10:00
Simon Michael
02a79fb230 ;tests: ui: use --today to make hledger-ui tests robust (#1674) 2021-09-18 11:10:25 -10:00
Simon Michael
092e9479f0 ;ui: update forecast example journal and hledger-ui forecast tests
Related to #1667.
2021-08-26 19:51:01 -10:00
Simon Michael
f373805668 ;examples: sample.timedot cleanup 2021-08-04 19:21:27 -10:00
Alan Young
a4470c2a4d ;imp: added systemd and nginx files to examples dir 2021-07-05 05:24:21 -10:00
Simon Michael
a8c6a915e4 examples: csv: kraken 2021-04-19 17:22:04 -10:00
Simon Michael
6af7a32076 examples/csv: pooltool ada rewards rules 2021-04-14 06:08:55 -10:00
Simon Michael
dccd39171e ;gather investing examples 2021-03-03 04:09:41 -08:00
Dmitry Astapov
18623ec287 doc: explain roi-unrealised.ledger, reference to cookbook 2021-02-25 15:11:35 -08:00
Dmitry Astapov
150cf3f862 roi: roi-unrealised.example now works based on price directives 2021-02-23 14:11:29 -08:00
Simon Michael
94c0832b85 examples: csv: daedalus wallet csv rules 2021-02-06 14:20:26 -08:00
Simon Michael
e705386999 ;examples: sample: save directives for testing
(cherry picked from commit 1e0bc8298119e1dbff6f2191707948a7a77c570a)
2020-12-31 08:29:51 -08:00
Simon Michael
31ea37a785 ;check: accounts, commodities, payees, ordereddates: improve errors
Error messages for these four are now a bit fancier and more
consistent. But not yet optimised for machine readability.
Cf #1436.

Added to hledger-lib: chomp1, linesPrepend[2].
2020-12-30 18:13:34 -08:00
Simon Michael
ae2d9373ee ;ui: test for #1204 2020-12-11 10:09:26 -08:00
Simon Michael
b25b2ba33d ;ui: update test journals, add test for #1411 2020-12-11 09:33:42 -08:00
Simon Michael
126bb44eec ;examples: update some budget examples 2020-11-20 16:53:08 -08:00
Simon Michael
211ae7742c ;examples: rename some budgeting examples 2020-11-18 15:29:40 -08:00
Simon Michael
f898fbf911 examples: clean up & add more budgeting examples 2020-11-18 13:16:56 -08:00
Simon Michael
9a820a6dec ;doc: fixes 2020-11-17 13:16:17 -08:00
Simon Michael
ec2a774b18 cli, lib: move functional tests into hledger/test/ 2020-11-16 08:47:41 -08:00
Simon Michael
9b536f1ae4 examples: stripe csv 2020-11-11 10:25:15 -08:00
Simon Michael
242f1ecfef ;examples: sample.csv tweaks, matching new doc 2020-08-11 09:55:51 -07:00
Simon Michael
5198d7b066 csv: examples: wave 2020-06-06 11:06:33 -07:00
Simon Michael
c51245652f add an example of Ledger's cap gains calculation during balancing 2020-04-08 21:01:44 -07:00
Simon Michael
8011e4e0c1 csv: another coinbase example, contributed 2020-03-16 16:17:33 -07:00
Andriy Mykhaylyk
1c3e0df5bb ;doc: csv: Add rules example for the new YNAB Web csv export format [ci skip] 2020-03-16 09:41:07 -07:00
Simon Michael
ca62312f55 ;examples: use field matcher in amazon example file
[ci skip]
2020-02-26 09:45:33 -08:00
Simon Michael
e39d5a14c3 ;examples: invoicing
Files related to https://hledger.org/invoicing.html
Working for me right now but not fully maintained.
2020-02-05 08:16:56 -08:00
Evilham
60b26b8e4b Add a basic example of rule parsing for the output of csb2format.
csb2format deals with the CSB43/AEB43 format, which all banks operating in
Spain must support.
Having these example rules enables easens bootstraping for users with a
Spanish bank account.
2019-12-06 05:51:10 -08:00
Simon Michael
155e5ba9d0 ;examples: tricking roi to show unrealised gains
[ci skip]
2019-11-12 13:08:36 -08:00
Simon Michael
e2f6252874 ;csv: examples updates
[ci skip]
2019-11-12 12:04:28 -08:00
Simon Michael
37c320125f ;examples: Cody: hledger compatibility and a txn tweak
[ci skip]
2019-08-23 08:05:44 -07:00
Simon Michael
ea9f748993 ;examples: Cody.journal from prudent.me
[ci skip]
2019-08-23 08:05:44 -07:00
Simon Michael
31a8bd0e58 examples: fix incompatible syntax in bcexample.hledger
[ci skip]
2019-05-25 05:47:35 -07:00
Simon Michael
d7161466d3 tests: update i18n test journals, i18n tests 2019-04-20 08:34:08 -07:00
Simon Michael
9dd0b510dd tools: generatejournal: also generate P records (#999) 2019-04-19 15:44:25 -07:00
Simon Michael
28e76dd80e examples: mint csv rules tweak
[ci skip]
2019-01-19 15:31:21 -08:00