Commit Graph

263 Commits

Author SHA1 Message Date
Brad Fitzpatrick 6e4f9a17d7 Actually upload permanode; clean up config, uploading, signing, logging 2011-01-18 10:29:38 -08:00
Brad Fitzpatrick 3eaf825674 camput --init; First-time config helper. 2011-01-17 18:28:38 -08:00
Brad Fitzpatrick c761e1afc8 Create & sign permanodes. 2011-01-16 21:16:54 -08:00
Brad Fitzpatrick 6520da3e46 add deps 2011-01-16 20:59:13 -08:00
Brett Slatkin ae8370ae2c Python client: Adds get_blobs; command-line get, put, and putdir cleaned up and working; wrote pydocs 2011-01-16 14:26:00 -08:00
Brad Fitzpatrick 01ff846557 Start of camput --permanode 2011-01-15 18:10:58 -08:00
Andrew Gerrand 92c05450b5 implemented rudimentary camget 2011-01-15 12:25:37 +11:00
Brad Fitzpatrick 3688b24274 Fix gitignore file 2011-01-04 15:02:50 -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 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 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 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 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 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 7c18aca69a camput: Send Authorization header 2010-12-20 15:38:07 -08:00
Brad Fitzpatrick afd5b00d18 Make caput use camli/clientconfig and camli/http 2010-12-20 14:57:41 -08:00
Brad Fitzpatrick d410aab6bc Rename camliup to camput; move. 2010-12-20 14:13:57 -08:00
Brett Slatkin 19ba4a3bdc clear sensitive password inputs in the plugin 2010-12-01 22:36:10 -08:00
Brett Slatkin 246cacd2f8 adds support for username and password in camliserver spec 2010-12-01 22:15:27 -08:00
Brett Slatkin b6a9d5ec10 adds config screen for camlistore server 2010-12-01 21:49:02 -08:00
Brett Slatkin 65f33d9999 short-circuit extension uploads when blob already present; verify that uploads are successful 2010-12-01 21:29:09 -08:00
Brett Slatkin 71d7a4521b got chrome extension upload to work; not respecting dupes or completion 2010-12-01 21:09:35 -08:00
Brett Slatkin 9aac396b69 added sha1 library; got function working with typedarray bytes 2010-12-01 20:35:13 -08:00
Brett Slatkin 10b8cc9f82 separated out the upload functions of clip-it-good 2010-12-01 19:51:14 -08:00
Brett Slatkin 69e839efbb initial check-in of local fork of clip-it-good chrome extension 2010-12-01 18:41:51 -08:00
Brad Fitzpatrick 2567346b70 Extra debugging 2010-11-28 14:51:18 -08:00
Daniel Erat e0b4f847c9 python client: remove debugging accidentally left in 2010-11-04 23:24:02 -07:00
Daniel Erat 463e7e8461 Merge remote branch 'origin/master' into python 2010-11-04 23:14:04 -07:00
Daniel Erat ddb41a8fba python client: add some \r-s and auth and server flags 2010-11-04 23:13:13 -07:00
Evan Martin b3aff6c13a Merge branch 'master' of danga.com:camlistore 2010-11-04 23:07:00 -07:00
Evan Martin 4ac587df07 commit js client sketch 2010-11-04 23:05:20 -07:00
Brad Fitzpatrick 5ef1b8969a Resuming work on camliup. 2010-11-04 22:41:45 -07:00
Brad Fitzpatrick 33247614a4 Merge branch 'master' of danga.com:camlistore 2010-11-04 22:17:49 -07:00
Brad Fitzpatrick cd3d625f3a make camliup.go compile with new Go. 2010-11-04 22:17:40 -07:00
Evan Martin 680d496b5c shorten curl examples 2010-11-04 22:10:20 -07:00
Evan Martin 4c91943940 include username in upload post 2010-11-04 22:08:17 -07:00
Brad Fitzpatrick 8c78fe79ea better curl examples 2010-11-04 22:01:01 -07:00
Daniel Erat fc7821c785 fix typo in curl example 2010-11-04 21:38:13 -07:00
Brett Slatkin 9d15c7a9f6 Merge branch 'master' of danga.com:camlistore 2010-10-11 22:58:18 -07:00
Brett Slatkin f54e3c4e53 python client recursive directory upload working 2010-10-11 22:49:58 -07:00
Brett Slatkin 18a21e6b94 python client successfully uploading blobs; needs work 2010-10-11 21:03:51 -07:00
Brad Fitzpatrick 98d97c45e8 Send content lengths. 2010-10-03 13:48:42 -07:00
Brett Slatkin 9abad5f7d1 added logging statements, fixed curl example client to upload as www-form-url-encoded 2010-09-07 21:32:12 -07:00
Brett Slatkin e480fc0b76 updates app engine blobserver to match spec docs; various doc updates 2010-08-02 21:05:54 -07:00
Brad Fitzpatrick e360dbee7c sha1 caching 2010-08-01 21:23:43 -07:00
Brad Fitzpatrick 7415c59235 auto-upload on power 2010-08-01 20:39:34 -07:00
Brad Fitzpatrick b3f186680b add MyTracks directories 2010-08-01 20:26:19 -07:00
Brad Fitzpatrick 60efbf15df upload all 2010-08-01 20:22:19 -07:00
Brad Fitzpatrick 8c65f36662 Merge branch 'master' of danga.com:camlistore 2010-08-01 17:25:19 -07:00
Brad Fitzpatrick 7c22a659fa Merge branch 'master' of danga.com:camlistore 2010-08-01 17:24:40 -07:00
Brad Fitzpatrick 660d7de764 Add an Upload All button. 2010-08-01 17:21:28 -07:00
Brad Fitzpatrick d4566398d6 move some stuff out of try block 2010-08-01 17:20:35 -07:00
Brad Fitzpatrick 078760fed5 use startService() instead of queue in the activity. 2010-08-01 17:17:23 -07:00
Brad Fitzpatrick f127b622b0 Fix Service lifecycle issue & some crashes. 2010-07-26 10:45:05 -07:00
Brad Fitzpatrick 12e80c91ed deal with IOExceptions when sha-1'ing files 2010-07-26 10:44:11 -07:00
Brad Fitzpatrick 9547f12f89 have WifiPowerReceiver startService(UploadService) with command intents on changes 2010-07-26 00:50:01 -07:00
Brad Fitzpatrick 85789bd0ad start of listening for boot, wifi, power, etc intents 2010-07-26 00:11:03 -07:00
Brad Fitzpatrick 0587431d1d Auto-upload working.
No wifi or power or on-boot stuff yet, though.
2010-07-25 18:11:22 -07:00
Brad Fitzpatrick ec1bf1b850 add an icon 2010-07-25 15:48:36 -07:00
Brad Fitzpatrick f12b256b77 notification while uploading 2010-07-25 15:32:54 -07:00
Brad Fitzpatrick f7d626db42 Counter for digesting, stop button, don't stop service while digesting,... 2010-07-25 13:45:09 -07:00
Brad Fitzpatrick c3d41f2329 bytes in flight progress, and usability improvements 2010-07-25 11:41:28 -07:00
Brad Fitzpatrick 46abac4d43 remove unused hexification code 2010-07-25 10:47:00 -07:00
Brad Fitzpatrick bfe2d7a259 add forgotten file from earlier commits 2010-07-25 10:39:08 -07:00
Brad Fitzpatrick 28c59c1f47 work around AsyncTask queue length limitations. 2010-07-25 10:25:53 -07:00
Brad Fitzpatrick 196a5f268b stop service in more cases 2010-07-24 18:09:28 -07:00
Brad Fitzpatrick beee3f30c7 keep service alive while uploading 2010-07-24 18:05:38 -07:00
Brad Fitzpatrick ff29b06ab9 remove testing progressbar positions 2010-07-24 15:35:32 -07:00
Brad Fitzpatrick 64e9e5197a doc change 2010-07-24 15:35:00 -07:00
Brad Fitzpatrick d9c87a7ddb bit of localization. ears popping during descent. 2010-07-24 14:34:26 -07:00
Brad Fitzpatrick d1df138efa start of progressbars. on airplane; untested. 2010-07-24 14:25:29 -07:00
Brad Fitzpatrick a3a63779d8 more UI work, make stop/start button work, etc. 2010-07-24 12:15:22 -07:00
Brad Fitzpatrick e57c940b85 first crack at a basic UI. 2010-07-24 11:09:35 -07:00
Brad Fitzpatrick 969cd5d78b also take out a wifi lock 2010-07-23 23:21:58 -07:00
Brad Fitzpatrick 2302186d12 add some permissions 2010-07-23 23:16:24 -07:00
Brad Fitzpatrick 80cf70eeba skip uploading blobs that server already has. 2010-07-23 23:10:42 -07:00
Brad Fitzpatrick f20bde4c07 android: use WakeLock while uploading 2010-07-23 14:35:57 -07:00
Brad Fitzpatrick 2d26146df8 android: multi-upload and related share intent. 2010-07-23 12:31:42 -07:00
Brad Fitzpatrick c803634610 upload barely works now. yay. 2010-07-22 17:48:53 -07:00
Brad Fitzpatrick 76b2d0cc88 More upload work 2010-07-22 10:12:02 -07:00
Brad Fitzpatrick ffa79bc324 android: QueuedFile 2010-07-22 09:31:53 -07:00
Brad Fitzpatrick 0bad0f73f2 android: sha1 files. upload WIP. 2010-07-21 21:32:27 -07:00
Brad Fitzpatrick 1bce3e0f57 remove old android stub app 2010-07-21 20:20:09 -07:00
Brad Fitzpatrick dfc79a96fd slurp and parse JSON in preupload 2010-07-21 19:49:10 -07:00
Brad Fitzpatrick 373a336bc6 android client: start of preupload 2010-07-21 17:13:09 -07:00
Brad Fitzpatrick 1d389344b4 more upload work 2010-07-21 16:35:54 -07:00
Brad Fitzpatrick 724b32beaa enqueue Uris to download before Service is connected 2010-07-21 09:51:42 -07:00
Brad Fitzpatrick c731e964fd start of UploadService 2010-07-19 17:10:52 -07:00
Brad Fitzpatrick 542216b0f6 some sharing work 2010-07-19 16:40:04 -07:00
Brad Fitzpatrick 3706901863 flesh out the AndroidManifest.xml
add some permissions, minSdkVersion, and SEND intent filters...
2010-07-19 09:36:39 -07:00
Brad Fitzpatrick d57b77c315 android: preferences screen
just host & password
2010-07-18 23:12:03 -07:00
Brad Fitzpatrick 6130fa5388 Android project stub commit.
From:
  http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/

(instructions for dual Eclipse+Ant, dual app+test setup...)
2010-07-18 21:46:02 -07:00
Brad Fitzpatrick 9e3f840f0f move away old uploader shell 2010-07-18 21:44:43 -07:00
Brad Fitzpatrick 04e18c179d fixed mime structure. upload works. 2010-07-11 21:44:16 -07:00
Brad Fitzpatrick 81d22f2a8a attempt at upload, but doesn't work 2010-07-11 21:42:44 -07:00
Brad Fitzpatrick 785ee292f7 preupload request in upload client 2010-07-11 10:46:06 -07:00
Brad Fitzpatrick b6751946ac start of go upload client 2010-07-10 22:57:53 -07:00
Brad Fitzpatrick efbc9805b9 add local properties template 2010-06-21 07:27:49 -07:00
Brett Slatkin f73d1d5c9b fixed app engine blobserver urls; added curl client examples 2010-06-20 18:32:42 -07:00
Brad Fitzpatrick 65bdc67cec move android app to clients directory 2010-06-20 18:09:19 -07:00