Brad Fitzpatrick
20e838b0be
Android uploader: work on sha1 caching speed, thread wakelock bugs, etc
2010-12-21 15:28:36 -08:00
Brad Fitzpatrick
80a6a3d018
add androi TODO
2010-12-20 23:25:34 -08:00
Brad Fitzpatrick
59e07efc7f
Android uploader: clean up prefs and start/stopping service
2010-12-20 22:20:44 -08:00
Brad Fitzpatrick
4f41021d30
Android upload: respect AUTO-on-POWER setting, stop service in more places
2010-12-20 21:31:10 -08:00
Brad Fitzpatrick
052ba3446b
Android client: do Authorization pre-emptively; don't double all HTTP requests
...
Stupid painful Apache HttpClient.
This also bumps minimal SDK version to 8 (Froyo) instead of 4 (Donut) because I'm
lazy and wanted to use the android.util.Base64 in Froyo. Should fix that later.
2010-12-20 19:27:22 -08:00
Brad Fitzpatrick
dfc058a4c6
Android uploader: send Content-Type and redundant filename parameter.
2010-12-20 18:51:38 -08:00
Brad Fitzpatrick
297300999f
Go blobserver: follow updated upload spec tighter
...
Also, better error message handling.
2010-12-20 18:51:13 -08:00
Brad Fitzpatrick
e9b8426e8b
Clarify the upload protocol spec.
2010-12-20 18:50:30 -08:00
Brad Fitzpatrick
7c18aca69a
camput: Send Authorization header
2010-12-20 15:38:07 -08:00
Brad Fitzpatrick
75f7eda54b
Let http POST requests be modified prior to send.
2010-12-20 15:37:47 -08:00
Brad Fitzpatrick
afd5b00d18
Make caput use camli/clientconfig and camli/http
2010-12-20 14:57:41 -08:00
Brad Fitzpatrick
2d04200f46
Check in temporary fork of Go's http library
...
Need to modify it and don't want to wait for Go codereviews
while everybody's on vacation.
2010-12-20 14:56:54 -08:00
Brad Fitzpatrick
5de1e6c163
Start of little shared camli/clientconfig library
2010-12-20 14:54:41 -08:00
Brad Fitzpatrick
50280032db
Move go/blobref and go/jsonsign to lib/go
2010-12-20 14:19:25 -08:00
Brad Fitzpatrick
d410aab6bc
Rename camliup to camput; move.
2010-12-20 14:13:57 -08:00
Brad Fitzpatrick
6c57fd5ca8
Testing updated gitosis email format
2010-12-19 15:40:28 -08:00
Brad Fitzpatrick
d2e99620a5
Update TODO more
2010-12-19 15:37:03 -08:00
Brad Fitzpatrick
c6524efeaa
Update TODO more
2010-12-19 15:35:14 -08:00
Brad Fitzpatrick
4c624a847a
Update TODO
2010-12-19 15:29:42 -08:00
Brad Fitzpatrick
fd165129df
gitignore more
2010-12-19 12:33:21 -08:00
Brad Fitzpatrick
2627a6cf4c
Add test_upload_corrupt_blob and fix the Go server.
...
The Go server was forgetting the final step of verifying the hash it
computed.
The App Engine server currently fails the test because the failure
mode is specified in the spec. TODO: clarify that.
This also adds some unit tests for camli/blobref, and changes BlobRef
to a struct, instead of an interface.
2010-12-17 10:01:36 -08:00
Brad Fitzpatrick
82278075fc
remove unnecessary scary debugging at end.
2010-12-16 18:57:47 -08:00
Brad Fitzpatrick
d28fbcc418
Merge branch 'master' of danga.com:camlistore
2010-12-16 18:57:07 -08:00
Brad Fitzpatrick
fb05cf950a
Tests now pass on Go and App Engine.
2010-12-16 18:56:54 -08:00
Brad Fitzpatrick
9837bee8d3
Tests now pass on Go and App Engine.
2010-12-16 18:55:47 -08:00
Brad Fitzpatrick
b4654b132f
Location header must be str, not unicode.
2010-12-16 18:54:36 -08:00
Brad Fitzpatrick
d9c5b2db73
More blobstore tests; follow upload redirects.
2010-12-16 11:26:06 -08:00
Brad Fitzpatrick
a0a7358f19
Use a 303 redirect, not a 302, so subseqent requests are GETs.
2010-12-16 11:13:29 -08:00
Brad Fitzpatrick
fe16e1cf15
bs-test support for the AppEngine blobserver.
2010-12-15 18:10:10 -08:00
Brad Fitzpatrick
6313ff9293
preupload and upload tests
2010-12-15 17:16:35 -08:00
Brad Fitzpatrick
16ccbdfa59
bs-test: first real test, verify_no_blobs
2010-12-15 11:21:23 -08:00
Brad Fitzpatrick
0d745432f0
More bs-test work
2010-12-13 22:23:20 -08:00
Brad Fitzpatrick
c8f2ccd63c
Start of fleshing out blobserver test suite.
2010-12-13 21:31:16 -08:00
Brad Fitzpatrick
7e08dc0035
Make webserver's --listen flag public.
2010-12-13 18:23:58 -08:00
Brad Fitzpatrick
672ab134e6
Cleanup; make blobserver's GET path use blobref.Fether interface
...
Also expands the Fetcher interface slightly, and cleans up
some other code in the process.
2010-12-13 18:20:31 -08:00
Brad Fitzpatrick
5b94b1602c
Move signing and verifying into a library.
2010-12-08 19:24:48 -08:00
Brad Fitzpatrick
66b7eaf912
Merge branch 'master' of danga.com:camlistore
2010-12-08 14:29:42 -08:00
Brad Fitzpatrick
cb5cd3e287
more rearranging of docs
2010-12-08 14:29:28 -08:00
Brad Fitzpatrick
97df8d6caa
Fix redundant cast.
2010-12-08 10:44:06 -08:00
Brad Fitzpatrick
25d31df378
remove keyid param from signing request
...
get it instead from the public key packet.
2010-12-07 21:55:24 -08:00
Brad Fitzpatrick
bfcc2ae8f5
Public key fingerprints.
2010-12-07 16:59:24 -08:00
Brad Fitzpatrick
0f16c9b29d
rename http_util to httputil
2010-12-05 22:34:46 -08:00
Brad Fitzpatrick
9eca0f8288
Add another set of keyrings, for testing.
2010-12-05 22:30:12 -08:00
Brad Fitzpatrick
0b4a560424
make new shared camli/webserver package
...
so blob server can be easily testable too.
and will be useful for camli capability discovery, probably.
2010-12-05 22:29:11 -08:00
Brad Fitzpatrick
d4b4a9bfe6
Add test for verification error for imposter.
2010-12-04 16:18:03 -08:00
Brad Fitzpatrick
de55109d8e
Verification works! and with unit tests.
2010-12-04 13:49:34 -08:00
Brad Fitzpatrick
c297269e15
Clean up and break up verification code
...
More testable and readable.
2010-12-04 10:12:41 -08:00
Brad Fitzpatrick
5d1ff03248
verify: opening/reading public key blob
2010-12-04 09:31:04 -08:00
Brad Fitzpatrick
09b699f7ca
more verification work
2010-12-03 19:30:08 -08:00
Brad Fitzpatrick
86d56b7b89
more verification work
2010-12-03 18:56:33 -08:00