Daniel Erat
7262d8a736
android: verify downloaded data against digests from blobrefs
2011-03-19 17:06:33 -07:00
Daniel Erat
94bd0ec0c8
android: avoid caching incomplete downloads
...
when the Content-Length header is supplied, this makes us
check that we received the expected number of bytes. tested
by ctrl-c-ing the blobserver midway through a download.
2011-03-19 15:49:46 -07:00
Daniel Erat
85a7f38a87
android: limit cache growth
...
this is lightly-tested but seems to work.
the non-new stuff in res/ is just whitespace cleanup.
2011-03-19 12:15:19 -07:00
Daniel Erat
ec2c41604c
Merge remote branch 'origin/master'
2011-03-19 09:16:50 -07:00
Daniel Erat
a29346265e
android: add DownloadCache class
...
cache-size-limiting code is untested and unused
2011-03-19 08:20:44 -07:00
Brad Fitzpatrick
184afbc2a3
Auto-generate Go Makefiles.
...
Dependencies are now only in one place (in source code, enforced for correctness by Go)
instead of three places.
2011-03-19 00:27:03 -07:00
Brad Fitzpatrick
ae608c6a8c
Automatic go dependency inference; phase 1.
...
Next phaes will auto-gen makefiles.
2011-03-18 22:33:43 -07:00
Brad Fitzpatrick
816b7ee957
android: https support
2011-03-17 18:41:37 -07:00
Brad Fitzpatrick
077f362e2d
android: add tips when SDK isn't configured.
2011-03-17 18:15:25 -07:00
Daniel Erat
78c6b71b87
android: lots of improvements to download service
...
- don't write search results to disk
- download into memory before writing to disk when
we have listeners asking for byte arrays
- don't read files while holding the lock
2011-03-17 08:36:43 -07:00
Daniel Erat
a8f4774752
android: download files to temporary location
...
also fix lame inverted-logic bug in cache-checking code :-(
2011-03-16 22:49:42 -07:00
Daniel Erat
406433a138
android: add synchronization-related asserts
2011-03-16 22:25:21 -07:00
Daniel Erat
7d199b97bd
android: add missing final to EntryType.mName
2011-03-16 06:55:36 -07:00
Daniel Erat
e1f34760cc
android: yay, basic file viewing appears to work!
...
(for simple, single-part files)
2011-03-15 22:43:39 -07:00
Daniel Erat
190f1ef9c6
android: start improving handling of different types of entries
2011-03-15 22:14:39 -07:00
Daniel Erat
b1ff0bff7f
android: wip: add DirectoryEntry class
2011-03-15 21:46:25 -07:00
Daniel Erat
5b1461747d
android: move some methods around in BrowseActivity
2011-03-15 21:21:02 -07:00
Daniel Erat
23201b97a5
Merge remote branch 'origin/master' into download
...
Conflicts:
clients/android/src/org/camlistore/BrowseActivity.java
clients/android/src/org/camlistore/DownloadService.java
2011-03-15 20:48:02 -07:00
Daniel Erat
47cd707d61
android: use cached blobs
2011-03-15 20:36:08 -07:00
Daniel Erat
cd53b3d4a0
android: make DownloadService check for searches itself
2011-03-15 07:58:20 -07:00
Daniel Erat
509bd14bf5
android: add custom browse row layout
2011-03-15 07:11:51 -07:00
Brad Fitzpatrick
970b8e6971
Merge branch 'master' of camlistore.org:camlistore
2011-03-13 22:22:01 -07:00
Brad Fitzpatrick
f533c80b52
camput --add-attr and --set-attr support
2011-03-13 22:21:58 -07:00
Daniel Erat
59775de756
android: refactor download listeners
2011-03-13 22:15:11 -07:00
Daniel Erat
c7b9393699
android: browsing support
2011-03-13 20:30:35 -07:00
Daniel Erat
43f113183c
rename clients/android/uploader to clients/android
...
also change package from com.danga.camli to org.camlistore
2011-03-13 13:09:56 -07:00
Brad Fitzpatrick
bf8f379771
camput: create permanode and claims when uploading a directory
2011-03-12 19:28:18 -08:00
Brad Fitzpatrick
6316a765fc
Start of camput creating permanodes / claims.
2011-03-12 13:10:56 -08:00
Brett Slatkin
fe05a77b07
gofmt cleanup
2011-03-05 13:44:11 -08:00
Brett Slatkin
02a3466192
adds -remove to camput
2011-03-05 13:43:24 -08:00
Brett Slatkin
16c672506b
implemented go client.RemoveBlobs; no idea if it works yet
2011-03-05 12:46:28 -08:00
Brad Fitzpatrick
4de2eb4ebd
Start of Client.Remove for de-queue in camsync.
2011-03-05 11:34:12 -08:00
Brad Fitzpatrick
cafaec5dc8
more sync work; start of loop and queue removal
2011-03-05 09:53:51 -08:00
Brad Fitzpatrick
bc7340d7e7
sync: move to library, add tests, fix merge bug
2011-03-05 09:00:56 -08:00
Brad Fitzpatrick
4d8f10208a
camsync: it now syncs
2011-03-04 19:02:26 -08:00
Brad Fitzpatrick
38a85571ca
Add dev-blobserver wrapper; remove run.sh
2011-03-02 21:46:07 -08:00
Brad Fitzpatrick
7381cbf4d1
More camsync work.
2011-03-02 20:03:09 -08:00
Brad Fitzpatrick
ad37f29ce3
start of camsync & indexing; add Client.EnumerateBlobs
2011-03-01 18:02:01 -08:00
Brad Fitzpatrick
b0f8f29bca
Fix copyright license.
2011-03-01 08:29:44 -08:00
Brad Fitzpatrick
73587e6085
Rename the blobserver 'preupload' method to 'stat'
...
This is prep for more additions to stat.
2011-02-08 08:24:16 -08:00
Brad Fitzpatrick
c4c04e7550
Add Android client to build.pl
2011-02-03 17:40:53 -08:00
Amir Mohammad Saied
d6488c32c4
Making the codebase compatible with latest Go release (2011-02-01.1)
2011-02-02 12:27:30 -08:00
Amir Mohammad Saied
ecb1fb0a8e
android: Moving menu items titles into the strings resource, and setting icons for them
2011-02-01 12:28:29 -08:00
Amir Mohammad Saied
759700e963
android: Cosmetics, moving all text into string resources
2011-02-01 12:27:55 -08:00
Brad Fitzpatrick
8673270a76
Slap on copyright headers; java + aidl.
2011-01-27 23:10:13 -08:00
Brad Fitzpatrick
f7d76303e7
Slap on copyright headers.
2011-01-27 23:07:18 -08:00
Brad Fitzpatrick
3bcba74f41
Fix copyright lines.
...
Put this under Google's copyright, not our personal ones.
2011-01-27 23:03:57 -08:00
Brett Slatkin
f5758f6c68
adds "share" camli object schema; support for camput --share
2011-01-25 22:44:03 -08:00
Brett Slatkin
02717908ef
adds -via to camget; adds -reqlog to blobserver
2011-01-25 21:34:17 -08:00
Brett Slatkin
5e4128c285
separates python library from example client
2011-01-21 11:29:14 -08:00
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