Brad Fitzpatrick
95e0f172e0
Rename serverconfig*.go to serverinit*.go
...
Change-Id: I198d8d17ed32202f8a014af645a006613246db85
2014-02-10 17:00:11 -08:00
Brad Fitzpatrick
3cc79570e8
serverinit: TODO stub for websocket support
...
Change-Id: Id195830adcdebb009ac2ed8e94c1a5287798f8fa
2014-02-10 16:59:28 -08:00
Brad Fitzpatrick
79cb116dbb
Merge "pkg/types/serverconfig: json-tagged struct"
2014-02-11 00:56:11 +00:00
mpl
6707837806
pkg/types/serverconfig: json-tagged struct
...
Also changed the TLS/HTTPS config keys for consistency.
http://camlistore.org/issue/339
Change-Id: I704ec129f91b93ebb20bc1191816166a2f10692d
2014-02-10 21:49:11 +01:00
mpl
aa96868be9
contributors: fixed my website routing after some shaming...
...
Change-Id: I63fe239e57b218902c05c889bb2cb9d2d4bb4ecb
2014-02-10 17:38:35 +01:00
Brad Fitzpatrick
3c00ed347c
mongo: test using Docker
...
Under a second to start and test against a real MongoDB instace in Docker:
$ go test -v camlistore.org/pkg/sorted/mongo
=== RUN TestMongoKV
--- PASS: TestMongoKV (0.79 seconds)
PASS
ok camlistore.org/pkg/sorted/mongo 0.791s
Test is skipped in short mode, or if docker isn't available.
Change-Id: I6f3acc96357cf9c50054b3df6727661c9329e6bf
2014-02-09 20:02:56 -08:00
Brad Fitzpatrick
dd03756f07
netutil: add little AwaitReachable func
...
Change-Id: I52af3add776cd57ca91c073e0ec563c50923d40f
2014-02-09 19:55:36 -08:00
Brad Fitzpatrick
b708fd1d87
Dockerfile: set bradfitz and /home/bradfitz
...
Change-Id: I3803af066cfdbae6d8ddc5790c1a6d37cf12be85
2014-02-09 18:01:25 -08:00
Brad Fitzpatrick
abcea5421c
Merge "third_party,jsonsign: bump openpgp to 188:61c59dda830a"
2014-02-09 23:49:46 +00:00
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
mpl
c4f3a5b215
third_party,jsonsign: bump openpgp to 188:61c59dda830a
...
http://camlistore.org/issue/370
Change-Id: I0066b1ad1455ff7960bda1f64ee953daa1195e1c
2014-02-09 01:04:36 +01: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