Commit Graph

1959 Commits

Author SHA1 Message Date
Brad Fitzpatrick 8560c6d513 camput: move interfaces to their own file
Change-Id: I44276ecd1d3474efeb35308638a317605cedf05a
2012-12-28 09:49:18 -08:00
Brad Fitzpatrick cefe9b42ee client: cap the number of in-flight requests to 5, for now
keeps camput and the server from running out of file descriptors. will do something
smarter in a subsequent patch.

Change-Id: Icca5027388eb838d45b443b7f2c331ba0f2c6585
2012-12-28 09:24:26 -08:00
Brad Fitzpatrick 764e41a50c Work around golang.org/issue/4590
Change-Id: Ibde7a93db7dcb8c51eb828b6c4e50505904fce6a
2012-12-26 13:36:45 -08:00
Brad Fitzpatrick a2df86d08e More workarounds for http://golang.org/issue/4589.
These ones don't matter as much, though (just debug output)

Change-Id: Ief8c49e0243e21feacf035e63dbe925bb417f716
2012-12-26 13:17:36 -08:00
Brad Fitzpatrick 22621b80f6 Work around io.Copy / ioutil.Discard data race. :(
Change-Id: I3c2f7fb265ad70aa6df39d7ffe089f9654541dd0
2012-12-26 12:39:33 -08:00
Brad Fitzpatrick 94e6edb404 fs: add a TODO
Change-Id: I12e0a838631c86096d83110ef2aff06abd3251cb
2012-12-26 10:16:29 -08:00
Brad Fitzpatrick b8dc625560 fs: implement fuse nodeReader.Read in terms of FileReader.ReadAt
Change-Id: I136543554ca5337568ec94d8888528220d5f88cc
2012-12-26 10:02:22 -08:00
Brad Fitzpatrick 08f09ebf2b schema: fix FileReader bugs, simplify, add exhaustive tests
Change-Id: I5d098d7b12892d278190391dd5abd7272ed997c2
2012-12-25 17:27:52 -08:00
Brad Fitzpatrick 0a0cbe72c1 schema: start of more stressful FileReader tests, chasing a bug
Change-Id: I2aa2b815c785d37674c309a9d6b7c26c67ec3b6e
2012-12-25 12:17:45 -08:00
Brad Fitzpatrick e3247edafb Change blobref.SeekerFromStreamingFetcher signature to not return an error.
Change-Id: I77f693e3b3d0d116e08bca3d3f4cb45ef2a00b27
2012-12-25 10:27:35 -08:00
Brad Fitzpatrick 826bb388b4 camget: clean up, fix file dumping (to use FileReader), add --contents flag, update docs
Change-Id: I1fb2ed8691e24f7cd89e92b9a1ae3afbeb7fb21a
2012-12-25 10:20:14 -08:00
Brad Fitzpatrick 31094d825d blobref: make blobref.SeekerFromStreamingFetcher always succeed, falling back to buffering impl
Change-Id: I370782b5f9d122b5609a98887a5780b29a40c213
2012-12-25 10:19:33 -08:00
Brad Fitzpatrick f455b6f68b cammount, fs: fix fd leak
Change-Id: I6da4c8961e5b8547f33df0c46a11d9fc51781845
2012-12-24 12:46:24 -08:00
Brad Fitzpatrick 3d64c9fd7f client: add temporary CAMLI_DEBUG_UPLOADS env option
Change-Id: Ibd6543789e944f66d0f2feaa25c295ca14f3b530
2012-12-24 12:16:03 -08:00
Brad Fitzpatrick 642f5d5679 client: minor cleanup
Change-Id: Ic61b7db69b993ed88ceda946cdcb6bf26f251538
2012-12-24 11:04:39 -08:00
Brad Fitzpatrick 22a4d5e050 camput: more logging
Change-Id: I0098d42279dcf6eac07f3cedefd20213bd468b7c
2012-12-24 10:55:00 -08:00
Brad Fitzpatrick 80f1bcf335 TODO: more
Change-Id: I9964fed958933b3cc36cac9b775f912935c139fe
2012-12-24 09:59:52 -08:00
Brad Fitzpatrick 7297de49e8 TODO: remove throttling item; done.
Change-Id: I7ece4187f4d5e724f807ba9fe040a2c2760926e4
2012-12-24 09:57:50 -08:00
Brett Slatkin ebccaa15bb newui: Fixing up closure annotations
Change-Id: I13c6e9e250221612199d82a3edc642b627acc6e1
2012-12-23 17:55:34 -08:00
Brett Slatkin f2d3cb893a Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:52:23 -08:00
Brad Fitzpatrick 3ecd83ba7d newui: wrap camli.js; make permanode creation work again
Change-Id: Ia4ef0428e905006402cd2ef34b819b6584ed8f23
2012-12-23 17:52:23 -08:00
Brett Slatkin eb7cfb5a95 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:52:13 -08:00
Brett Slatkin 4a73f954cf newui: Toolbar bigger/smaller hooked up and working
Change-Id: I93f85fcf69948e6f5d8c838c7f1865ed7809236f
2012-12-23 17:52:09 -08:00
Brad Fitzpatrick d037c6e0cc Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:33:46 -08:00
Brad Fitzpatrick 939b6f4f4f camli.js: move more stuff to be camli prefixed
Change-Id: I029a47286ed194a3e4d3f9d987a389f6c514abb8
2012-12-23 17:33:38 -08:00
Brett Slatkin 028bcf0232 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:27:39 -08:00
Brett Slatkin 80171f6692 newui: Adds a toolbar class with bigger/smaller buttons; they do nothing yet
Change-Id: I8e053062e832239f6c34769faa71b84ab174684b
2012-12-23 17:27:31 -08:00
Brad Fitzpatrick ef60a5262b Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:20:06 -08:00
Brad Fitzpatrick 0e168cecd4 camli.js: kill global disco variable.
Change-Id: I25437bfded3fe9ff704539d929521b1c04f8b133
2012-12-23 17:19:59 -08:00
Brad Fitzpatrick 3c89f7fe97 ui: simplify signing config discovery, clean up logging
Change-Id: I4e9810499b7fe34b1e7d8c32dd612cb1d6e6c348
2012-12-23 17:08:01 -08:00
mpl 81ecf5e3b7 Merge "buildbot: now hits on http://localhost:3179/ui/new/ since home.html gone" 2012-12-24 01:06:08 +00:00
mpl b8a8e86012 buildbot: now hits on http://localhost:3179/ui/new/ since home.html gone
Change-Id: I58d2f5b7fc06fc326e08d95daa69a1e6e5bd2753
2012-12-24 02:14:06 +01:00
Brad Fitzpatrick e3bda63e68 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 16:58:35 -08:00
Brad Fitzpatrick c4dd036203 root: put sighelper disco in the main disco document
Change-Id: Ic5ae125f01320fcec6ff23e56b11c75c41c4e94b
2012-12-23 16:58:26 -08:00
Brett Slatkin 511eb7c6d4 newui: Links to permanodes working
Change-Id: Iaaf9ca22dbd401d5c0b2e75d0349358f8282ca68
2012-12-23 16:47:03 -08:00
Brett Slatkin b2885cedfa newui: Cleaning up styling of create item
Change-Id: Ie35684c4efba4ce4cec777537b8a0783b51b311f
2012-12-23 16:32:30 -08:00
Brett Slatkin c46875692a newui: Adds a click handler for the create item
Change-Id: I2ff17d3bd08959507b43d04a5f5a1f8d5dbbdd9d
2012-12-23 16:26:04 -08:00
Brad Fitzpatrick 742d81f27c newui: create button style
Change-Id: I273b2c6c892cb0a50b323b07443854e79fc9bf94
2012-12-23 16:23:23 -08:00
Brett Slatkin 1a59cce8bc newui: Obviously, vertical align top was required to make the create box line up properly for inline-block flow
Change-Id: I3243c8bd11753e15515de0e3b73daa87682c966a
2012-12-23 16:05:23 -08:00
Brett Slatkin 6003fc6174 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 16:01:37 -08:00
Brett Slatkin 7b420e7d37 newui: Using spaces instead of tabs in js/html/css
Change-Id: Icd5a74e080f8802d9d5260270205c4eb39f584eb
2012-12-23 16:01:15 -08:00
Brad Fitzpatrick b2b200141f Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 15:59:05 -08:00
Brad Fitzpatrick 2766e2d60f newui: kinda wiring up the create button
Change-Id: Ib114da06c89543fda71104eef49433c100f60112
2012-12-23 15:59:01 -08:00
Brett Slatkin 4736fb57d5 Merge branch 'master' of ssh://camlistore.org:29418/camlistore
Conflicts:
	server/camlistored/newui/index.html

Change-Id: Ib11e629a8281c63b504e5291a191b30dc1bb4a39
2012-12-23 15:55:13 -08:00
Brett Slatkin 455a2e9d23 newui: Do not show focus on BlobItemContainer
Change-Id: I723af0a05ada913c0ae7983761927f9a20e7afe9
2012-12-23 15:53:22 -08:00
Brad Fitzpatrick eaa22b2dbc newui: start of a the creation plus button component.
Change-Id: I208c11be27f879b3ed476d4f2210fed12c8a0cc3
2012-12-23 15:42:03 -08:00
Brett Slatkin 3f69a0eb7d newui: Index page actually loads recent blobs
Change-Id: I888c9500bbcfc608a9a495f38239b8dd5cc64c83
2012-12-23 15:28:11 -08:00
Brett Slatkin 946752d851 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 15:25:50 -08:00
Brett Slatkin dd5e72cb27 newui: BlobItemContainer can show results from ServerConnection recent blobs
Change-Id: I9784dc6462309a08fe7cb0a6ff8fe9283f9967ef
2012-12-23 15:25:39 -08:00
Brett Slatkin 0c02bc194a newui: Server connection mock getting recent blob list, but not hooked into ui
Change-Id: I85952ae039d80d6a8796f0108e080a5d14c56010
2012-12-23 15:18:09 -08:00