Commit graph

4857 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
904bbd713f Added a comment 2012-07-27 15:53:50 +00:00
Joey Hess
0f6292920a webapp now displays the real running and queued transfers
yowza!!!
2012-07-27 11:47:34 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
a8de617953 Added a comment 2012-07-27 12:20:08 +00:00
Joey Hess
4b8feea853 Merge branch 'master' into assistant 2012-07-27 04:50:35 -04:00
Joey Hess
4d15a9d1ba add 2012-07-27 04:50:27 -04:00
Joey Hess
7e3c1e008d webapp now uses twitter bootstrap
mocked up the main screen, and am actually pretty happy with it!
2012-07-27 04:48:50 -04:00
Joey Hess
1192e305c7 update to newer version needed by bootstrap 2012-07-27 04:37:29 -04:00
jtang
3f1c96800d 2012-07-27 06:47:46 +00:00
http://jasonwoof.com/
b5c3743c42 Added a comment: Your security solution is fine 2012-07-27 06:37:03 +00:00
Joey Hess
d92f5ff44c add bootstrap 2012-07-27 01:36:01 -04:00
Joey Hess
2ba02d260b add README 2012-07-27 00:40:18 -04:00
Joey Hess
1f47c1f6d8 update 2012-07-27 00:35:09 -04:00
Joey Hess
5db2605f3e update 2012-07-27 00:23:17 -04:00
Joey Hess
f1c7c475f6 automatically close the webapp window after 3 errors
It's unlikely an error would occur unless the server is stopped. But
retrying a few times seems like a good idea anyway.
2012-07-27 00:17:04 -04:00
Joey Hess
6d4d68b7b4 cleanup done things etc 2012-07-27 00:03:55 -04:00
Joey Hess
1983ca2852 added jquery to static site
Had to switch to toWaiAppPlain to avoid a seeming bug in toWaiApp;
chromium only received a partial copy of jquery. Always the same length
each time, which makes me think it's a bug in the compression, although
a bug in the autohead middleware is also a possibility.

Anyway, there's little need for compression for a local webapp. Not wasting
time compressing things is probably a net gain.

Similarly, I've not worried about minifying this yet. Although that would
avoid bloating the git-annex binary quite so much.
2012-07-26 23:55:51 -04:00
Joey Hess
ff4ab6d6da work around GHC not knowing to rebuild files using template haskell
when things they include change
2012-07-26 22:59:14 -04:00
Joey Hess
615dc09ffc use widgetFile 2012-07-26 22:54:31 -04:00
Joey Hess
e40f94cbcd add threadState member, will need this later to access the daemonStatus 2012-07-26 21:51:56 -04:00
Joey Hess
77c3bf7f88 update thread list 2012-07-26 21:51:47 -04:00
Joey Hess
94526aef89 todo 2012-07-26 21:40:24 -04:00
Joey Hess
02b1f9223a Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-26 21:32:31 -04:00
Joey Hess
1d5971fa7e update 2012-07-26 21:32:08 -04:00
Joey Hess
f5ef46d01e cleaned up refreshing code into a widget
Very happy to have a reusable autoUpdate widget that can make any Yesod
widget automatically refresh!

Also added support for non-javascript browsers, falling back to meta
refresh.

Also, the home page is now rendered with the webapp status on it, before
any refreshing is done.
2012-07-26 21:03:46 -04:00
http://joeyh.name/
576224430a Added a comment 2012-07-26 22:08:53 +00:00
http://joeyh.name/
f1cbc7d725 Added a comment 2012-07-26 22:07:25 +00:00
Joey Hess
9b2eec2e7a increase timeout from 10 to 100 seconds
I've seen 10 be too short under load.
2012-07-26 18:04:09 -04:00
Joey Hess
ef31dd08ee update 2012-07-26 17:58:44 -04:00
Joey Hess
9fd03c65f9 webapp now does long polling
The webapp is now a constantly updating clock! I accomplished this amazing
feat using "long polling", with some jquery and a little custom java
script.

There are more modern techniques, but this one works everywhere.
2012-07-26 17:56:24 -04:00
jtang
af31df77a0 Added a comment 2012-07-26 20:42:37 +00:00
Joey Hess
e79198aacb when starting the assistant, wait for it to create the shim file, as well as the pid file
fixes a possible race
2012-07-26 15:28:08 -04:00
Joey Hess
6de38a2ca8 Merge branch 'master' into assistant 2012-07-26 14:28:19 -04:00
Joey Hess
860415aa5b webapp: check that the shim exists, and restart the assistant if not 2012-07-26 14:27:32 -04:00
http://joeyh.name/
2a91034e8b Added a comment 2012-07-26 18:17:40 +00:00
jtang
a7dfeaf3eb 2012-07-26 18:06:30 +00:00
jtang
04a940434b Added a comment 2012-07-26 17:50:42 +00:00
Joey Hess
f3efc6dc93 update 2012-07-26 13:47:41 -04:00
http://joeyh.name/
ae3d7cfe68 Added a comment 2012-07-26 17:45:28 +00:00
Joey Hess
e15878d9e2 Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-26 13:37:00 -04:00
Joey Hess
756c80b67a move to old 2012-07-26 13:36:28 -04:00
jtang
b77eb6b47e Added a comment 2012-07-26 17:35:18 +00:00
Joey Hess
2181b8488f Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-26 13:30:04 -04:00
http://joeyh.name/
f0e683bbd4 Added a comment 2012-07-26 17:27:39 +00:00
Joey Hess
fbf5b7b090 reply 2012-07-26 13:24:01 -04:00
http://joeyh.name/
8c3491f50c Comment moderation 2012-07-26 17:21:26 +00:00
Joey Hess
987af3bac7 Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-26 13:18:09 -04:00
jtang
efadf5215a 2012-07-26 17:17:10 +00:00
Joey Hess
047c343d77 Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-26 13:16:13 -04:00
Joey Hess
16b26c837b close 2012-07-26 13:15:24 -04:00
Joey Hess
df00c6166c update deps
Note that here I don't need blaze-markup for cabal to succeed, but Jimmy
reports he does. Seems like Text.Blaze.Renderer.String moved from blaze to
blaze-markup in some version.
2012-07-26 13:13:23 -04:00