Jakub Zárybnický
483283ec43
web: Add capabilities guards and conditional widget rendering
2018-06-24 16:25:22 +02:00
Jakub Zárybnický
e8668e2a5c
web: Conform layout to the rest of hledger-* packages
2018-06-24 14:18:06 +02:00
Jakub Zárybnický
af98eecdf8
web: Add capabilities type, CLI options, and reading them from headers
2018-06-24 14:18:02 +02:00
Jakub Zárybnický
930b38a345
web: Simplify HTML and CSS
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
df425802d4
web: Add 'hide empty accounts' option (bound to 'e' key)
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
Jakub Zárybnický
4c8d7de602
web: Fix error messages
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
0e7b713a80
web: Simplify hledgerLayout into defaultLayout
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
9beec88727
web: Move sources to src/ subdirectory
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
4faf0d8b4a
web: Resurrect ImportForm and EditForm
2018-06-24 14:13:04 +02:00
Jakub Zárybnický
c24c8f1c99
web: Simplify postAddR
2018-06-24 14:13:03 +02:00
Jakub Zárybnický
89ff5612ec
web: Separate the add form from Foundation & JournalR/RegisterR
2018-06-24 14:13:03 +02:00
Jakub Zárybnický
d760904982
web: Replace RecordWildCards with NamedFieldPuns, remove unused parameters
2018-06-24 14:13:03 +02:00
Jakub Zárybnický
1d2b3521f6
web: Split long functions, remove unused parameters
2018-06-24 14:13:03 +02:00
Jakub Zárybnický
7404813239
web: Remove dead code
2018-06-24 14:13:03 +02:00
Jakub Zárybnický
ee97e476c8
web: Switch to Data.Text, instead of unpacking to String
2018-06-24 14:13:03 +02:00
Jakub Zárybnický
50e97e05fd
web: Clean up imports
2018-06-24 14:13:03 +02:00
Simon Michael
c26674466a
Merge pull request #819 from awjchen/moreParseErrors
...
Improving parse errors
2018-06-21 06:33:22 -07:00
Simon Michael
4b050dfe97
Merge pull request #811 from ocdtrekkie/sandstorm-add-screenshots
...
Add screenshots for Sandstorm
2018-06-21 06:29:04 -07:00
Alex Chen
e82b01bcf8
lib: refine parse errors and parser labels
2018-06-20 23:24:39 -06:00
Alex Chen
9674f2a8cc
lib: tweak whitespace parsing for better parse errors
...
- expands the set of expected tokens when e.g. parsing the invalid
posting `account $1 a`
- whitespace can affect parse errors because of the longest match rule
where errors that occur later take precedence over those that occur
earlier
2018-06-20 23:24:39 -06:00
Alex Chen
ed0106b209
lib: reduce backtracking of various parsers
2018-06-20 23:24:39 -06:00
Alex Chen
e3a755b5b1
lib: refactor amount parsers to minimize backtracking
...
- inline `spaceamountormissingp` into `postingp`
- combine `rightsymbolamountp` and `nosymbolamountp`
- the multiplier symbol '*' for an amount must now always preceed a sign '-'
[breaking change]
- make amount parser labels more generic to simplify error messages
2018-06-20 23:24:39 -06:00
Alex Chen
89b1fd7de3
lib: refactor date-time parser, add error messages
...
- also removed commented-out time-zone code
2018-06-20 23:24:39 -06:00
Simon Michael
bc9375e4e5
lib: doc: journal: describe current directive semantics, finally
...
It's amazing how you can build, document, support and fix a thing for
years and not know what exactly it does. Directives are tricky.
Here is a pretty accurate description of their current behaviour,
determined by testing.
2018-06-20 19:41:28 -07:00
Simon Michael
26489765ef
lib: manual updates
...
[ci skip]
2018-06-20 18:44:34 -07:00
Simon Michael
6a96683691
web: make --auto and multiple -f options work again
...
I think we lost one or both of these at the time of ecf49b1e
.
2018-06-20 00:26:37 -07:00
Simon Michael
9c1db9ed9f
lib: fix forecast start/end dates
...
pushed too soon
2018-06-18 18:08:55 -07:00
Simon Michael
26d2c79ce0
lib: make date: also set forecast end date, not just -e and -p
2018-06-18 17:55:18 -07:00
Simon Michael
816ba0f89d
consistent comment wording
2018-06-18 17:54:25 -07:00
Simon Michael
b04dc82125
lib: doc: journal: clarify periodic transactions
...
[ci skip]
2018-06-18 17:54:07 -07:00
Jacob Weisz
5ecd8fb7ed
Add build instructions for Sandstorm
2018-06-17 14:44:01 -05:00
Jacob Weisz
0b8aa2cd08
Add screenshots for Sandstorm
2018-06-17 14:29:49 -05:00
Simon Michael
c4d45cffc4
lib: journal: require a space between period expr. and other fields
2018-06-12 16:41:36 -07:00
Simon Michael
eb23504906
lib: periodexprp: don't consume trailing whitespace
2018-06-12 16:41:36 -07:00
Alex Chen
c6bfd92dd3
removing "re-parsing" for pull 807
...
For Data/Dates.hs in particular:
- Changed `SimpleTextParser` to `TextParser m` for all parsers
- Changed `string` to the case-insensitive `string'` to match the
behaviour of `T.toLower` found in `parsePeriodExpr`
- export `periodexprp` for "direct" use
2018-06-12 16:41:36 -07:00
Simon Michael
34b4553344
lib: test descriptions
2018-06-12 16:41:36 -07:00
Simon Michael
0edcd2f64e
lib: test periodic transaction description, status mark, comment, tag
...
[ci skip]
2018-06-12 16:41:36 -07:00
Simon Michael
3146b9c910
lib: journal: update periodic txn func tests
2018-06-12 16:41:36 -07:00
Simon Michael
57f41697ba
update embedded manuals
2018-06-12 16:41:36 -07:00
Simon Michael
e3507ad944
lib: journal: allow descriptions/comments in periodic transactions
...
Also period expressions relative to today's date can now be used,
for what it's worth.
2018-06-12 16:41:36 -07:00
Simon Michael
dfcafc2cdf
lib: refactor some journal, period expression parsers
2018-06-12 16:41:36 -07:00
Simon Michael
1287081ffd
tools: doctest: slight cleanup
2018-06-12 16:41:36 -07:00
Simon Michael
7a4c3eea65
lib: doc: periodic/auto rule cleanups
2018-06-12 16:41:36 -07:00
Simon Michael
bc4286ee0f
site: download: emphasise need to try latest stack
...
[ci skip]
2018-06-11 16:38:15 -07:00
Simon Michael
a7ca636942
Merge pull request #804 from awjchen/parseErrors
...
Display the line on which a parse error occurs
2018-06-11 14:31:30 -07:00
Alex Chen
0d7380933b
lib: update a parse-error test
2018-06-11 14:43:19 -06:00