Commit Graph

4028 Commits

Author SHA1 Message Date
Brad Fitzpatrick 9a3a3795bb camtool: remove TODO
Change-Id: I3d9ac173335bd68b66bd8dfb5e0e40894aef3f79
2014-02-09 15:49:24 -08:00
Brad Fitzpatrick ca58231336 camtool: remove duplicated code
Change-Id: I2009b132a1c10e60132333b9942aa4b5943b3932
2014-02-09 15:48:07 -08:00
Brad Fitzpatrick f4bbeb3549 cmdmain: remove spurious newlines from commands with no examples
Change-Id: I0cae9dd4a822fb94e3ecdff7dc257bd3804fdd04
2014-02-09 15:41:52 -08:00
Brad Fitzpatrick 16b4d5c7e3 camtool: add discovery subcommand
Change-Id: Ic4cbc2777719301d3e4f3cdb0b14c10be6f64b3e
2014-02-09 15:16:47 -08:00
Brad Fitzpatrick 96194e451b Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-09 14:28:18 -08:00
Brad Fitzpatrick 991a576ce3 Basic Dockerfile for building everything.
Change-Id: I4e00c9fefc472c10e1103c25884dcef4ff7b4664
2014-02-09 14:28:05 -08:00
mpl dc6b0d73e1 Merge "jsonsign: clean up remnants of old secret ring default" 2014-02-09 21:17:45 +00:00
Brad Fitzpatrick 1894d4ef47 doc: minor json-signing fixes
From c6afc5ebe6 and related

Change-Id: I8c9308563c03bde19db4567ebe9c5f1b381c788a
2014-02-09 10:02:30 -08:00
Brad Fitzpatrick fa672061e0 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-09 08:07:09 -08:00
Brad Fitzpatrick d92010ae9c blobserver/s3: add manual test
Change-Id: I5854aecdb3e4d9e03a7cf56dc7901dc859821a46
2014-02-09 08:06:56 -08:00
Brad Fitzpatrick 5198699e26 Merge "Bump is:pano threshold to 2.0." 2014-02-09 04:25:44 +00:00
Brad Fitzpatrick f1a6c8a857 Comment clarification
Change-Id: I3f00050822bf0f05bdce2ca58a2ee22113dfdc09
2014-02-08 17:15:09 -08:00
Brad Fitzpatrick e364a6da4b Remove unneeded stuff from camlistore/android
Change-Id: I397ba4bbd6567b1ce54fcab54162b6b1a1508008
2014-02-08 17:14:02 -08:00
Brad Fitzpatrick 1e56abec90 Android: build in Docker, part 2. Build the Go binary child process too.
Now uploaded to the Google Play App Store Market.

Change-Id: I05f94eaf3ba70d694c593a892c15280364acf4ee
2014-02-08 17:10:02 -08:00
Brad Fitzpatrick 16ca0c78ad Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-08 16:43:26 -08:00
Brad Fitzpatrick 283aa2a03a Fix build on 32-bit platforms (e.g. Android)
Change-Id: Id5feff31ed103aeaaebf9b3e09a5e8a03b572a2d
2014-02-08 16:43:21 -08:00
Aaron Boodman 5a1e831a7b Bump is:pano threshold to 2.0.
Previous value of 1.6 was too small because iPhone 5's aspect ratio
is 1.78, meaning all landscape iPhone 5 photos were included in
is:pano. Same with Moto-X and probably other newer phones.

I tried 1.8, but it still "felt" too small. I think the correct
value is atleast 2.0, but perhaps larger. I don't have enough test
data in that range right now to get a good feel for it.

Change-Id: I6a3e054290d6f434afac8142a9abc68e53008229
2014-02-08 15:48:29 -08:00
Aaron Boodman 4229b286dc Merge "Improve layout on mobile." 2014-02-08 23:48:17 +00:00
Aaron Boodman f36bbe54aa Improve layout on mobile.
There is still a lot of work to do on mobile, but this makes it
slightly better. Increases the default scale to something sane.
Fix the bug where we don't layout using entire width.

window.outerWidth is somehow completely busted on mobile.

Change-Id: Id574d6ee14ba59f6e835725d378f228796ff7ccf
2014-02-08 15:47:19 -08:00
mpl 5a29733d3c jsonsign: clean up remnants of old secret ring default
http://camlistore.org/issue/368

Change-Id: I2708a97fdffd218f15ed9a1d482712ed7ed07197
2014-02-09 00:15:37 +01:00
Brad Fitzpatrick c5c6fe1adc android: support for building with Docker
Change-Id: I0da100b62354ca1bda325f47397e4446deb1acec
2014-02-08 13:58:20 -08:00
Brad Fitzpatrick 1b53c6d851 appengine: remove unused dummyCloser
Change-Id: I0ac0dafe5d3a2639810f2951daeb5c6176cc5863
2014-02-08 09:25:59 -08:00
Brad Fitzpatrick 60d8bb3a2d appengine: fix build. Use uint32 instead of int64 for blob sizes.
Change-Id: I1952e291b8d86dfaed8310bd5812688849225435
2014-02-08 09:25:21 -08:00
Tamás Gulácsi 97520583b8 Use 'uint32' instead of 'int64' for blob sizes everywhere.
Not just in blob.SizedRef, but in blobserver.Fetch and
blobserver.FetchStreaming, too.
Blobs have a max size of 10-32 MB anyway, and the index.Corpus is now using
uint32 to save memory.

Change-Id: I1172445c2f9463fdaee55bfe0f1218d44be4aa53
2014-02-08 17:58:12 +01:00
Brad Fitzpatrick 50c329d4a2 Add integration test for websocket query
Change-Id: I37c48d5749c7bf31aa118b2bee0861aeb07c5ff3
2014-02-07 15:02:22 -08:00
Brad Fitzpatrick 1b1087a830 Add pkg/blobserver/archiver for making Glacier archives.
From the package docs:

  Package archiver zips lots of little blobs into bigger zip files
  and stores them somewhere. While generic, it was designed to
  incrementally create Amazon Glacier archives from many little
  blobs, rather than creating millions of Glacier archives.

Change-Id: If304b2d4bf144bfab073c61c148bb34fa0be2f2d
2014-02-07 14:32:36 -08:00
Brad Fitzpatrick c137cfc32d test: make Fetcher use a RWMutex so fetch doesn't deadlock during enumerate
Change-Id: Iac1f18725231a298c2c636875647c3e6f3f081a4
2014-02-07 14:28:56 -08:00
Brad Fitzpatrick 18078161fd Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-07 11:03:01 -08:00
Brad Fitzpatrick 5458321511 campit: add -blobdir flag for serverless mode.
Fixes camlistore.org/issue/362

Change-Id: If4c75b649cc4cc62f3e7a0ab07c61b088560c3e4
2014-02-07 11:02:07 -08:00
Brad Fitzpatrick 179b11acbd client: add NewStorageClient
Change-Id: Ia559ccc111a68e053fe60afb2fb39e1186f70fd1
2014-02-07 10:59:23 -08:00
Brad Fitzpatrick 4afc5d32f0 diskpacked: don't append duplicate blobs.
Change-Id: I3adce39641458a67a3cdee09bb66411dd1111acd
2014-02-07 10:46:35 -08:00
Brad Fitzpatrick 97cd3926a0 diskpacked index syncing TODO
Change-Id: Icdd834aacf73d2a1e5ad3e6ddd212493a31be0bb
2014-02-07 10:45:59 -08:00
Brad Fitzpatrick 9a9da7196b localdisk: add IsDir
Change-Id: I98748d6cb8ff650e0369ef0518eeeefce73f0354
2014-02-07 10:45:43 -08:00
Brad Fitzpatrick 254239c379 diskpacked: add IsDir and New
Change-Id: Iba7bfa4772c494240104f4f67e4a1a946f64b6c8
2014-02-07 10:45:22 -08:00
Brad Fitzpatrick 1fcb446d38 dir: add new blobserver/dir package to do localdisk or diskpacked
Change-Id: I27a2d6b7a00e34490b9da264280c5b10f81c30ec
2014-02-07 09:50:59 -08:00
Aaron Boodman 5523ca17be Merge "Fix regression where checkmarks don't turn blue on click." 2014-02-07 05:17:33 +00:00
Aaron Boodman 02e787202a Fix regression where checkmarks don't turn blue on click.
Was caused by incorrectly building child component props in
willReceiveProps() before new props are actually set.

Simplified code to always rebuild child component props in render().

Removed overly-clever code that was trying to filter out some
prop updates. We don't send spurious prop updates in any case that
I can think of.

Change-Id: Ie067b2d667517c24524863eac62baef0178608cb
2014-02-06 21:13:27 -08:00
Nick O'Neill 12766e8bfe Merge "Improved logging capture with bugshotkit." 2014-02-06 23:12:01 +00:00
Aaron Boodman b0775e03e9 Combine the 'Create permanode' feature with the existing 'Create set with x items'.
The web UI was implying 'folderness' by looking for certain claims against
permanodes. This won't allow us to represent empty dynamic folders, which seems
wrong.

Thus I've changed it to just represent all pemanodes as folders. In the future,
if there are more specific types of permanodes, we can handle that.

Change-Id: I73523634114c61f33705a88a4147e13ad60c59d6
2014-02-05 10:05:38 -08:00
Brad Fitzpatrick 78c50e8151 test: add World.NewPermanode
Change-Id: I737ae2f69b567eaebf13a3f7c786e06b791e2f7c
2014-02-04 18:49:15 -08:00
Brad Fitzpatrick dfce3b3f72 more TODO
Change-Id: I4bdeb5d4c922b23e95c5e3789bcf65df6e0838a5
2014-02-04 18:48:16 -08:00
Brad Fitzpatrick c179081ab7 httputil: add IsWebsocketUpgrade, fix BadRequestError inconsistency
Change-Id: I85e34fe4e87c2402fe6ab002bcd374ef0fd41141
2014-02-03 20:24:45 -05:00
Brad Fitzpatrick 1046470614 Rename ResponseWriter 'conn' to 'rw'
Change-Id: Id0faeac080f678794c1db1601cb9c1a9ba92e926
2014-02-03 20:23:39 -05:00
Brad Fitzpatrick 433a312703 fs: fix bug picking recent filenames when file has no name
e.g. iphone uploads

Change-Id: Ieee398b6f43c261232bc9f6cc0c71cb97c5c49f8
2014-02-02 06:14:44 +01:00
Brad Fitzpatrick 53203f09b5 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-01 09:02:29 +01:00
mpl 9add1d2c87 Merge "camtool list: introduce -describe to print camliType for each blob" 2014-01-31 23:10:54 +00:00
Brad Fitzpatrick b118bb3bdb TODO: updates
Change-Id: Ie2f294e84ecea05d60680b2d1bc83123fee2947a
2014-01-31 19:42:05 +01:00
mpl 8084d6a4c7 camtool list: introduce -describe to print camliType for each blob
Change-Id: I73630dc135a169f5b24a403b5662e7ad617cb40d
2014-01-31 19:12:29 +01:00
Brad Fitzpatrick 4d5fc167f3 TODO: add cacher cleaning note
Change-Id: I89fb75b816d6c12c9d60e897ffdab274d8827180
2014-01-31 12:55:05 +01:00
Brad Fitzpatrick ba3df9f44c cacher: don't nuke everything on close for now
Change-Id: Ifd210c06b70c411efc7f33daba39c5f105185514
2014-01-31 12:53:10 +01:00