Brad Fitzpatrick
5cf560c600
osutil paths: let CAMLI_CONFIG_DIR environment override the default config directory
2011-05-15 21:55:46 -07:00
Brad Fitzpatrick
e2c955bddb
blobref fetcher: use osutil.CamliConfigDir, don't duplicate
2011-05-15 21:55:19 -07:00
Brad Fitzpatrick
2bc5d53aea
pinentry library to be used with jsonsign shortly here.
2011-05-14 18:43:07 -07:00
Brad Fitzpatrick
95ea9ac630
Use new Go http.Request.SetBasicAuth
2011-05-14 17:14:54 -07:00
Brad Fitzpatrick
6faab75120
gofix: open for fuse
2011-05-14 16:40:39 -07:00
Brad Fitzpatrick
35e61582db
gofix: get finalurl
2011-05-14 16:40:31 -07:00
Brad Fitzpatrick
c5e93ceecd
Rename CorruptBlobError -> ErrCorruptBlob, per Go convention
2011-05-12 19:19:49 -07:00
Brad Fitzpatrick
860f020ec4
This bug is already filed.
2011-05-12 19:18:20 -07:00
Brad Fitzpatrick
475561d74c
Remove old partition interface.
2011-05-12 19:17:59 -07:00
Brad Fitzpatrick
f3c7d79a2d
Update NoImplStorage to latest API; add type check
2011-05-12 19:16:08 -07:00
Brad Fitzpatrick
8bfcb6a5a3
Move CountingReader to new camli/misc library
2011-05-11 08:19:23 -07:00
Brad Fitzpatrick
54057fb914
fix some logging printfs
2011-05-11 08:07:02 -07:00
Brad Fitzpatrick
76dd41e18a
localdisk: use defer to reliably close the channel. missed a case on enumerate timeout before.
2011-05-11 06:55:14 -07:00
Brad Fitzpatrick
7e3c711395
localdisk: Create queue should create directory too
2011-05-11 06:30:11 -07:00
Brad Fitzpatrick
68898203e5
Add TODO to rename StreamingFetcher to be Fetcher
2011-05-11 06:29:40 -07:00
Brad Fitzpatrick
9a6b0799d2
use filepath.Join, not fmt.Sprintf
2011-05-11 06:20:35 -07:00
Brad Fitzpatrick
d4f63d89d3
Clarify enumerate docs: after and maxWaitSec are mutually exclusive
2011-05-11 06:11:44 -07:00
Brad Fitzpatrick
480350936e
Revert "Work around Go http bug with zero length files."
...
This reverts commit 1e7ff7b46c
.
Fixed with: http://codereview.appspot.com/4529050
2011-05-11 04:59:45 -07:00
Brad Fitzpatrick
1e7ff7b46c
Work around Go http bug with zero length files.
2011-05-10 19:29:20 -07:00
Brad Fitzpatrick
257e550740
use blobref.SizedBlobRef as a value, not a mutable *blobref.SizedBlobRef on heap
2011-05-10 16:13:37 -07:00
Brad Fitzpatrick
a0e38478d3
blobserver/remote: ReceiveBlob, which is now easy after previous commits.
2011-05-10 15:51:10 -07:00
Brad Fitzpatrick
cb0498a7a9
Work around gotest/6g bug.
2011-05-10 15:22:46 -07:00
Brad Fitzpatrick
d43263035a
client: allow UploadHandle.Size to be -1, and associated cleanup, including:
...
-- new StorageConfiger interface & use it in camlistored.
-- bunch of little bug fixes and TODOs done.
2011-05-10 14:55:12 -07:00
Brad Fitzpatrick
bce74ef24c
add TODO
2011-05-10 13:04:20 -07:00
Brad Fitzpatrick
b99db2dd17
implement Client.Stat
2011-05-10 13:02:48 -07:00
Brad Fitzpatrick
70892e9f23
client: parseStatResponse
2011-05-10 12:56:59 -07:00
Brad Fitzpatrick
8e7c92be02
gofmt only
2011-05-10 12:56:40 -07:00
Brad Fitzpatrick
67b1d6cb43
More remote blobserver work
2011-05-10 11:35:48 -07:00
Brad Fitzpatrick
651fac6a3d
put directional constraints on all the channel types
2011-05-10 11:21:28 -07:00
Brad Fitzpatrick
c4eb6bb68d
Some work on remote blobserver & camli client; allow client to use alt http clients
2011-05-10 06:25:18 -07:00
Brad Fitzpatrick
a31431a11b
use new Go API http.NewRequest
2011-05-10 05:59:36 -07:00
Brad Fitzpatrick
a010e605fa
flag cleanup: remove some GPG flags
2011-05-10 05:00:53 -07:00
Brad Fitzpatrick
ab2a1e1fb4
jsonconfig: add optional object
2011-05-09 14:17:30 -07:00
Brad Fitzpatrick
a5bdaef70d
better client error message
2011-05-09 14:16:59 -07:00
Brad Fitzpatrick
c619cdcdf1
Allow dev-* scripts listening on port 0, and then log resolved port.
2011-05-09 12:22:31 -07:00
Brad Fitzpatrick
ec0c73f08d
allow default value in jsonconfig _env expansion
2011-05-09 12:12:54 -07:00
Brad Fitzpatrick
17a804b7c1
Move TLS setup to config file, not flags. Use jsonconfig for root config.
2011-05-09 11:49:02 -07:00
Brad Fitzpatrick
0d3f7305cb
Remove --showimages demo flag; make it an env variable.
2011-05-09 11:16:48 -07:00
Brad Fitzpatrick
1b7aceac3f
Automatic blobserver queue creation from sync Handler.
2011-05-09 11:08:14 -07:00
Brad Fitzpatrick
bed26de507
Cleanup: remove partitions from interfaces. WIP but compiles.
...
Still need to fix up blobhub notification for localdisk
mirroring, since now localdisk can't find the notification
hub for mirrored partitions. (and also can't be configured
yet)
2011-05-09 09:11:18 -07:00
Brad Fitzpatrick
77cfa748f5
Start of remote (proxy) blobserver type
2011-05-09 06:32:24 -07:00
Brad Fitzpatrick
771393f89e
update for multipart return EOF change
2011-05-07 05:37:54 -07:00
Brad Fitzpatrick
b68e0184b1
in verify reply, include SignerKeyId
2011-05-06 05:37:17 -07:00
Brad Fitzpatrick
1f6bee57c7
wire up verification handler to web UI
2011-05-05 21:45:24 -07:00
Brad Fitzpatrick
6d0639054d
woot, signing handler hooked up to web UI now.
2011-05-05 21:21:30 -07:00
Brad Fitzpatrick
1a14a121d0
improve jsonsign discovery handler
2011-05-05 17:15:32 -07:00
Brad Fitzpatrick
962d65877d
some sig discovery work
2011-05-05 16:41:00 -07:00
Brad Fitzpatrick
73a7329401
blobref memory store
2011-05-05 16:31:19 -07:00
Brad Fitzpatrick
54efd345d8
start of blobref.MemoryStore
2011-05-03 17:55:57 -07:00
Brad Fitzpatrick
1ba5fd168a
allow fetcher or streaming fetcher in jsonsign signing
2011-05-03 17:34:16 -07:00