Alejandro García Montoro
4efd0242da
web: Modify the --cors option to require a specific origin
...
- Modified the cors option to require a String
- Moved the logic to build the cors policy to WebOptions.hs
- Specify the --cors "*" example in the cors option help
- Added utf8-string dependency to convert a String into a ByteString
2019-10-07 14:54:18 -10:00
Alejandro García Montoro
e96dfe832f
web: Allow CORS to be enabled in hledger-web
...
Add a --cors option to the CLI to enable simple cross-origin requests
2019-10-07 14:54:18 -10:00
Simon Michael
c3da82043b
web: --serve-api disables server-side UI; startup logging cleanups
2019-08-16 23:55:56 -07:00
Caleb Maclennan
11d9e5eb6a
code: Strip extraneous trailing whitespace from Haskell sources
2019-07-15 16:40:49 +01:00
Simon Michael
afd7931ca0
web: add the same 6 JSON routes as in hledger-api ( #316 )
2019-02-18 23:57:58 -08:00
Simon Michael
1e0a7ec8f1
remove some unneeded CPP pragmas
2018-08-02 08:25:49 +01:00
Jakub Zárybnický
e8668e2a5c
web: Conform layout to the rest of hledger-* packages
2018-06-24 14:18:06 +02:00
Simon Michael
cfbd8bb956
web: update for yesod 1.1.3
...
Build with latest yesod. Also reorganise to conform more closely with
yesod's standard scaffold layout to reduce upgrade effort.
2012-11-15 17:48:48 +00:00
Simon Michael
4b11890e02
web: fix a build error
2012-03-07 16:42:35 +00:00
Simon Michael
2912a11929
web: officially drop GHC 6.12 support, fix build warnings with 7.0, 7.2, 7.4
2012-03-29 23:24:48 +00:00
Simon Michael
0c73d91f94
web: fix static file embedding in non-dev builds
2012-03-09 18:52:31 +00:00
Simon Michael
c27707f578
web: bump version, upgrade to yesod 0.10
2012-03-05 07:52:36 +00:00
Simon Michael
959d8a4591
web: clean up name clash with Yesod.Core
2011-10-19 19:57:12 +00:00
Simon Michael
187a7a1cc7
web: obey at least some command-line options, like --cost
...
Report filtering options like --period, and filter pattern arguments, are still ignored.
2011-09-14 19:53:05 +00:00
Simon Michael
4ca655b6a0
web: follow yesod file naming more closely
2011-09-12 23:37:55 +00:00