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ý 
							
						 
					 
					
						
						
						
						
							
						
						
							9beec88727 
							
						 
					 
					
						
						
							
							web: Move sources to src/ subdirectory  
						
						
						
					 
					
						2018-06-24 14:13:04 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							50e97e05fd 
							
						 
					 
					
						
						
							
							web: Clean up imports  
						
						
						
					 
					
						2018-06-24 14:13:03 +02: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 
							
						 
					 
					
						
						
						
						
							
						
						
							061aad0431 
							
						 
					 
					
						
						
							
							remove some CPP that's obsolete since we require base 4.8+  
						
						
						
					 
					
						2018-06-04 17:33:21 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Astapov 
							
						 
					 
					
						
						
						
						
							
						
						
							d82370d10b 
							
						 
					 
					
						
						
							
							lib, app, web: remove differences between command line and journal file aliases  
						
						
						
					 
					
						2018-04-17 16:09:11 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Astapov 
							
						 
					 
					
						
						
						
						
							
						
						
							f6ec26e321 
							
						 
					 
					
						
						
							
							lib, app, web, ui: rename readJournalFile[s]WithOpts to readJournalFile, same for tryReader[s]WithOpts  
						
						
						
					 
					
						2018-04-17 15:25:02 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Astapov 
							
						 
					 
					
						
						
						
						
							
						
						
							37607beaea 
							
						 
					 
					
						
						
							
							lib, app, web: use readJournalFileWithOpts instead of readJournalFile whenever possible  
						
						
						
					 
					
						2018-04-17 14:33:32 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Astapov 
							
						 
					 
					
						
						
						
						
							
						
						
							ecf49b1e4b 
							
						 
					 
					
						
						
							
							lib: auto postings generated before amount inference and balance checks ( #729 )  
						
						
						
					 
					
						2018-04-17 14:33:32 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f8e781462d 
							
						 
					 
					
						
						
							
							ui, web: use/support new -V, --forecast, --auto  
						
						
						
					 
					
						2017-12-29 16:53:37 -08:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							13a6584440 
							
						 
					 
					
						
						
							
							ui, web: Enable --pivot and --anon in ui and web ( #474 )  
						
						
						
					 
					
						2017-09-04 20:45:31 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7e896572a7 
							
						 
					 
					
						
						
							
							make --help and -h the same, drop --man and --info for now ( #579 )  
						
						
						
					 
					
						2017-07-07 02:08:34 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1bcc091a44 
							
						 
					 
					
						
						
							
							web: add --host, rename --server to --serve ( #429 )  
						
						... 
						
						
						
						This came up in the context of Docker, but it seems it wasn't possible
for hledger-web to serve remote clients directly (without a proxy)
because of 127.0.0.1 being hardcoded ? Now that can be
changed with --host=IPADDR. The default base url also
uses this address, rather than "localhost" being hardcoded.
Also, the --server flag sounded too close in meaning to --host so
I've renamed it to --serve. The old spelling is still accepted,
at least through the next major release I suppose. 
						
					 
					
						2016-11-21 07:38:58 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							739c8dc4cc 
							
						 
					 
					
						
						
							
							web: preserve initial query when journal changes ( #314 )  
						
						... 
						
						
						
						The initial query specified by command line arguments is now preserved
when the journal is reloaded. This does not appear in the web UI, it's
like an invisible extra filter. 
						
					 
					
						2016-04-28 21:48:30 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							df1040014e 
							
						 
					 
					
						
						
							
							web: exit if an instance is already running ( #226 )  
						
						... 
						
						
						
						Also
- pause for 0.1s before opening the browser, to ensure the app is ready
- don't open a browser if the app fails to start
- terminate the server thread more carefully on exit, may resolve some
  lingering background thread issues eg on windows 
						
					 
					
						2016-04-22 11:21:33 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							42c12fe631 
							
						 
					 
					
						
						
							
							cli, ui, web, api: --info, --man, info & man cmds  
						
						
						
					 
					
						2016-04-19 19:21:29 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f9362707b6 
							
						 
					 
					
						
						
							
							ui, web, api: fix -h, --help  
						
						
						
					 
					
						2016-04-18 16:43:51 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b4a72da355 
							
						 
					 
					
						
						
							
							web: fix stack ghci duplicate main error  
						
						
						
					 
					
						2016-04-18 15:26:54 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6fb76d979f 
							
						 
					 
					
						
						
							
							web: fix typo in "-f -" warning  
						
						
						
					 
					
						2016-01-25 09:07:37 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							09430f09da 
							
						 
					 
					
						
						
							
							web: fix --file-url option ( #285 )  
						
						... 
						
						
						
						Finish the rename begun by 3fb5e25 
						
					 
					
						2015-09-28 10:06:36 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2c3f1b672e 
							
						 
					 
					
						
						
							
							web: disallow -f- which doesn't work ( fixes   #202 )  
						
						... 
						
						
						
						hledger-web -f- gives
[Error#yesod-core] <stdin>: hGetContents: illegal operation (handle is closed)
and I can't see why. Just disallow it. 
						
					 
					
						2015-09-27 08:17:12 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3fa3926ee9 
							
						 
					 
					
						
						
							
							web: clarify which libs we are calling to start up  
						
						
						
					 
					
						2015-09-27 08:16:30 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							74512814ec 
							
						 
					 
					
						
						
							
							cli/ui/web: rename X.Options modules to X.XOptions  
						
						... 
						
						
						
						Make these modules' names more like the heavily-used types they
define (CliOpts, UIOpts, WebOpts). This is consistent with
RawOptions and ReportOptions, and helps with code navigation. 
						
					 
					
						2015-08-28 12:43:51 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0de0f6ab01 
							
						 
					 
					
						
						
							
							group related imports  
						
						
						
					 
					
						2015-06-04 09:45:43 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bb8918a709 
							
						 
					 
					
						
						
							
							web: fix build breakage from  #165  ( fixes   #268 )  
						
						
						
					 
					
						2015-06-04 09:44:58 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							83209b862c 
							
						 
					 
					
						
						
							
							tools: fix overuse of -XCPP breaking make test etc.  
						
						
						
					 
					
						2015-04-07 19:28:57 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ebba1b09f2 
							
						 
					 
					
						
						
							
							web: fix more ghc 7.10 import warnings ( #239 )  
						
						
						
					 
					
						2015-04-07 18:49:33 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b0d71e3ccc 
							
						 
					 
					
						
						
							
							web: declare a bunch of language pragmas  
						
						... 
						
						
						
						Makes the code more declarative, and makes building without cabal easier. 
						
					 
					
						2015-04-07 18:35:41 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f30deee197 
							
						 
					 
					
						
						
							
							web: fix compilation after recent lib changes  
						
						
						
					 
					
						2014-07-03 09:37:02 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							702f900ec0 
							
						 
					 
					
						
						
							
							web: fix warnings  
						
						
						
					 
					
						2014-05-23 09:02:20 -07:00 
						 
				 
			
				
					
						
							
							
								Ryan Desfosses 
							
						 
					 
					
						
						
						
						
							
						
						
							b60da51386 
							
						 
					 
					
						
						
							
							made the following changes to resolve deprecated warnings:  
						
						... 
						
						
						
						replaced hamletToRepHtml with giveUrlRenderer
  updated type RepHtml to Html
  replaced settingsPort with setPort 
						
					 
					
						2014-05-21 07:30:54 -04:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a9c83f0ce1 
							
						 
					 
					
						
						
							
							web: add Peter Simons' patch fixing Data.Conduit.Network HostIPv4 error ( #171 )  
						
						... 
						
						
						
						(cherry picked from commit 993cae3a74eaa42b720fe51744e5459fd5a4eaa9)
Conflicts:
	hledger-web/Hledger/Web/Main.hs 
						
					 
					
						2014-04-17 12:35:42 -07:00 
						 
				 
			
				
					
						
							
							
								Xinruo Sun 
							
						 
					 
					
						
						
						
						
							
						
						
							0275485bf9 
							
						 
					 
					
						
						
							
							web: add a --static-root option to customize static files root  
						
						
						
					 
					
						2013-12-15 12:20:07 +08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							02fea186a3 
							
						 
					 
					
						
						
							
							web: fix debug option breakage in Main  
						
						
						
					 
					
						2013-12-08 19:48:51 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a66a715eeb 
							
						 
					 
					
						
						
							
							command line options API updates, possibly fixing hledger-web build  
						
						
						
					 
					
						2013-09-22 22:31:06 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c744451dfa 
							
						 
					 
					
						
						
							
							web: loosen "starting web browser" message for servers  
						
						
						
					 
					
						2013-06-01 11:40:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8873ffbe77 
							
						 
					 
					
						
						
							
							web: fix auto-exit in local mode, clarify startup messages  
						
						
						
					 
					
						2013-05-01 12:02:47 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c9b6dd8819 
							
						 
					 
					
						
						
							
							web: --server flag re-enables long-running, request-logging mode; output cleanups  
						
						
						
					 
					
						2013-05-01 07:23:59 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0a47715b17 
							
						 
					 
					
						
						
							
							web: also launch a browser at startup; auto-terminate after 2m or on enter  
						
						... 
						
						
						
						We're now using the wai-handler-launch middleware. This injects a
script in each page that pings the server repeatedly, and terminates
the server if it gets no pings (ie there are no browser tabs
displaying the app) for two minutes. The server can also be easily
terminated at the console by pressing enter, yesod devel style. 
						
					 
					
						2013-04-20 20:02:50 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0a77eba02e 
							
						 
					 
					
						
						
							
							web: try using wai-launch-handler.. not working yet  
						
						
						
					 
					
						2013-04-20 10:03:15 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d5e575c862 
							
						 
					 
					
						
						
							
							web: remove io-storage  
						
						
						
					 
					
						2013-04-09 12:53:21 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0df4a235af 
							
						 
					 
					
						
						
							
							web: set up journal for yesod devel, store it in App ( fixes   #101 )  
						
						... 
						
						
						
						The web app's journal state is now kept in the yesod App as an IORef,
instead of using io-storage.
yesod devel now works; it uses the journal file specified by
$LEDGER_FILE, or ~/.hledger.journal.
web: update journal state handling, fix yesod devel - WIP 
						
					 
					
						2013-04-09 12:41:22 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3d33673b25 
							
						 
					 
					
						
						
							
							web: obey command-line query options at startup again  
						
						
						
					 
					
						2012-11-15 17:53:10 +00: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 
							
						 
					 
					
						
						
						
						
							
						
						
							dc6c3dec76 
							
						 
					 
					
						
						
							
							web: more yesod 0.8 migration; adopt the scaffolding app's layout, slightly simplified  
						
						
						
					 
					
						2011-05-24 04:27:37 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							024cfdb7b1 
							
						 
					 
					
						
						
							
							web: upgrade to yesod 0.8  
						
						
						
					 
					
						2011-05-21 02:52:42 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6a845eb5e4 
							
						 
					 
					
						
						
							
							i18n: always read and write UTF-8, ignoring current locale ( #34 )  
						
						... 
						
						
						
						Also remove a bunch of CPP conditions.
Uses the GHC-version-independent UTF-8 layer from pandoc. 
						
					 
					
						2011-01-21 01:24:51 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							961a6f09eb 
							
						 
					 
					
						
						
							
							docs: update copyright dates  
						
						
						
					 
					
						2011-04-18 17:36:28 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							27ad4d7efe 
							
						 
					 
					
						
						
							
							briefer, more informative usage error messages  
						
						
						
					 
					
						2010-11-29 01:08:19 +00:00