hledger/hledger-web/Hledger/Web
Simon Michael 7ec25da13a web: edit/upload: normalise line endings, avoiding parse errors (#1194)
Renamed: writeValidJournal -> writeJournalTextIfValidAndChanged

Added comments clarifying line ending behaviour of:
add, import, appendToJournalFileOrStdout, readFilePortably,
writeFileWithBackupIfChanged, writeJournalTextIfValidAndChanged

Summary of current behaviour:

- hledger add and import commands will append with (at least some)
  unix line endings, possibly causing the file to have mixed line
  endings

- hledger-web edit and upload forms will write the file with
  the current system's native line endings, ie changing all
  line endings if the file previously used foreign line endings.
2020-02-24 14:04:44 -08:00
..
Handler web: edit/upload: normalise line endings, avoiding parse errors (#1194) 2020-02-24 14:04:44 -08:00
Settings web: Conform layout to the rest of hledger-* packages 2018-06-24 14:18:06 +02:00
Widget web: edit/upload: normalise line endings, avoiding parse errors (#1194) 2020-02-24 14:04:44 -08:00
Application.hs web: Modify the --cors option to require a specific origin 2019-10-07 14:54:18 -10:00
Foundation.hs ;web: fix redundant import warnings with ghc 8.8 2019-11-29 07:02:52 -08:00
Import.hs web: Fix compilation errors for all 'stack.yaml's 2018-06-25 12:00:18 +02:00
Main.hs web: Add IPv6 and hostname support 2020-01-17 13:18:51 -08:00
Settings.hs web: Add IPv6 and hostname support 2020-01-17 13:18:51 -08:00
WebOptions.hs web: Add IPv6 and hostname support 2020-01-17 13:18:51 -08:00