Commit Graph

276 Commits

Author SHA1 Message Date
Brad Fitzpatrick 3688b24274 Fix gitignore file 2011-01-04 15:02:50 -08:00
Brad Fitzpatrick e2435289f2 Start of a webserver for camlistore.org 2011-01-03 15:49:19 -08:00
Brad Fitzpatrick da7faf94a3 Start of camget; merge clientconfig and camput into new client library 2011-01-02 14:36:03 -08:00
Brad Fitzpatrick 0a4e49a3d0 less debug spew 2011-01-01 19:37:50 -08:00
Brad Fitzpatrick b2757e0ddc Only include the ctime when it differs from mtime 2011-01-01 19:37:39 -08:00
Brad Fitzpatrick 10841cc899 sort directory list 2011-01-01 17:38:02 -08:00
Brad Fitzpatrick 9777789091 Upload stats 2011-01-01 17:34:18 -08:00
Brad Fitzpatrick 8b7ebd8082 Recursive directory puts work! 2011-01-01 15:44:08 -08:00
Brad Fitzpatrick 046092d62d Changing interface between camput and schema in prep for directory work. 2011-01-01 14:44:19 -08:00
Brad Fitzpatrick 7b56ca3cae symlink support 2011-01-01 13:12:45 -08:00
Brad Fitzpatrick 83521e8639 user and group names 2011-01-01 02:51:15 -08:00
Brad Fitzpatrick 10bd8e3ff7 Preserve nanos in RFC3339 time. 2010-12-31 12:13:33 -08:00
Brad Fitzpatrick 6041eb81d4 File schema work. 2010-12-30 22:37:46 -08:00
Brad Fitzpatrick d574419e7b Rearrange; update http to latest go release. 2010-12-30 12:45:00 -08:00
Brad Fitzpatrick eb60cd6f71 Start of a schema library for camput. 2010-12-30 10:17:47 -08:00
Brad Fitzpatrick 5ea7504c84 Start working on file uploads 2010-12-29 12:54:12 -08:00
Brad Fitzpatrick 93afcb9d60 Upload works now. 2010-12-24 10:04:08 -08:00
Brad Fitzpatrick 0adecfb4cc Upload work. 2010-12-24 07:46:12 -08:00
Brad Fitzpatrick eca9778120 Add a Makefile. 2010-12-24 06:07:13 -08:00
Brad Fitzpatrick 3e5f10351c Start of file+blob uploading. 2010-12-22 10:09:01 -08:00
Brad Fitzpatrick 162575e221 Remove Base64.NO_PADDING. Was necessary. 2010-12-21 18:12:53 -08:00
Brad Fitzpatrick 3dafb1b8e4 Gimmicky option for demos, showing image on upload. 2010-12-21 18:11:45 -08:00
Brad Fitzpatrick f5a72c68d3 Don't spin. 2010-12-21 17:25:21 -08:00
Brad Fitzpatrick 3307e5c15f Enable StrictMode for Android uploader. 2010-12-21 16:05:20 -08:00
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