Commit Graph

133 Commits

Author SHA1 Message Date
Simon Michael
77ff2fcc5a ;examples: make sample.csv correspond to sample.journal 2023-01-04 18:43:18 -10:00
Simon Michael
f4831533b8 examples: Indian National Pension Service CSV rules (Pranesh Prakash)
slightly tweaked by SM
2022-11-30 16:51:38 -05:00
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
Simon Michael
d08a97c29e examples: a rules file I never added 2019-01-06 06:39:55 +00:00
Simon Michael
4562b04407 examples: csv/ssv/tsv examples similar to #829 test 2018-09-07 13:41:59 -07:00
Simon Michael
f62e308c9c csv: examples: more coinbase rules
[ci skip]
2018-07-16 06:30:36 +01:00
Simon Michael
7b45c3f802 examples: makefile generating multi-format year-end reports 2018-01-29 14:53:23 -08:00
Simon Michael
61163b757f examples: sample rules for new default paypal CSV 2018-01-04 17:10:18 -08:00
Simon Michael
2d66f8cf04 fix some 2017-isms in func. tests 2018-01-01 15:47:31 -08:00
Dmitry Astapov
aca82cf400 doc: budgeting and forecasting how-to, demonstrating new features 2017-11-26 14:57:41 +00:00
Simon Michael
0ea9793d81 doc: examples: simplify amazon csv rules slightly
[ci skip]
2017-11-05 17:29:05 -08:00
Simon Michael
a29646cb57 examples: csv: coinbase tweak 2017-10-31 12:37:13 -07:00
Simon Michael
bf79c7c5ac examples: csv: note issues with b of i balance assertions 2017-08-20 10:21:58 -07:00
Simon Michael
3d6486c60d examples: bitcoin split example entry
[ci skip]
2017-08-11 12:01:10 -07:00
Simon Michael
dccfa6a512 examples: borrowing
[ci skip]
2017-07-27 12:56:35 -07:00
Simon Michael
112668f10c examples: onelinecsv 2017-07-01 17:29:09 +01:00
Simon Michael
e119941648 rename "uncleared" status to "unmarked" and --uncleared to --unmarked (#564)
See the issue and linked mail list discussion. Ambiguity between the
uncleared state, and the "not cleared" --uncleared flag causes confusion
and friction. At this point it seems best to break with Ledger and
past hledger, pick a new name and drop --uncleared to put an end to it.
2017-06-15 19:16:39 -07:00
Simon Michael
c5d63f03ce lib: clean up status functional tests, document ClearedStatus (#564) 2017-06-15 19:16:39 -07:00
Simon Michael
995fcbeaf5 examples: clarify b of i amount-in/out alternative example (#570) 2017-06-07 13:29:30 -07:00
Simon Michael
40c38bb603 examples: csv: coinbase report info 2017-04-19 09:12:45 -07:00
Simon Michael
05f569f438 examples: csv: coinbase 2017-04-19 08:24:54 -07:00
Simon Michael
79601695c0 examples: csv-rules/ -> csv/ 2017-04-19 08:24:23 -07:00
Simon Michael
da3ee26862 examples: TXF tax exchange file spec, as org outline
[ci skip]
2017-04-11 10:21:13 -07:00
Simon Michael
e5343ad6d3 examples: xpensetracker csv rules 2017-03-16 17:45:22 +00:00
Simon Michael
93cec2e558 examples: tarsnap csv rule fixes
[ci skip]
2017-02-10 18:18:32 -08:00
Simon Michael
deeb10d673 examples: add tarsnap reporting example 2017-02-10 17:57:34 -08:00
Simon Michael
7e2487a4dc examples: tarsnap csv rules 2017-02-10 17:45:20 -08:00
Simon Michael
e7f6bfa273 move extra/ data files to examples 2017-01-08 07:26:14 -08:00
Simon Michael
3ae8712bbc rename data/ to examples/ 2017-01-08 07:26:13 -08:00
Simon Michael
56094c1b16 examples/ -> extra/ 2012-01-30 17:16:39 +00:00
Simon Michael
6cd0c1aa56 scripts: equity.hs, a test of the scripting api 2011-06-13 23:29:12 +00:00
Simon Michael
bc8411219b scripts: uniquify 2011-08-19 18:30:21 +00:00
Simon Michael
06fc64ec12 docs: dev setup notes, scripts readme 2011-08-20 15:48:27 +00:00
Simon Michael
480b3fbe5c scripts/ -> examples/ 2011-08-20 20:19:21 +00:00