Commit Graph

3762 Commits

Author SHA1 Message Date
Brad Fitzpatrick dde76aec90 Remove some old blobserver test stuff.
Change-Id: I9eebaf28aa1da14633e99be25e86ee2aba5b1e80
2014-01-05 22:50:26 -08:00
Brad Fitzpatrick 9a993218e5 Merge "Change the upload protocol." 2014-01-06 06:24:48 +00:00
mpl 9902305735 Merge "client: improved ignoredFiles" 2014-01-06 04:57:30 +00:00
mpl 7c21c617b6 client: improved ignoredFiles
also changed osutil.HomeDir for windows so it looks like an abs path for
filepath.IsAbs

http://camlistore.org/issue/290

Change-Id: I1b32c1c13e7d23a421a6da2c0f9d6b8b07f48b8d
2014-01-05 20:53:46 -08:00
Brad Fitzpatrick f7583c6875 Merge "search: Add ValueMatches{Int,Float} to PermanodeConstraint." 2014-01-05 18:35:06 +00:00
Brad Fitzpatrick 85d2675361 Merge "Update Closure to ab89cf45c216 (Dec 15, 2013)." 2014-01-05 07:13:41 +00:00
Bill Thiede 1e447b0f69 pkg/server: RAM based concurrency limiter.
The RAM limit is based on the expected amount of allocations not the
measured allocation.

Issue https://camlistore.org/issue/316

Change-Id: I3ccff6ddf880f3f9a90f6c27f15f9662fad02712
2014-01-04 23:05:18 -08:00
Aaron Boodman a9b0e80c65 Update Closure to ab89cf45c216 (Dec 15, 2013).
I meant to do this in Camlistore commit cc562aff, but that one only
updated to 1389e13 (Jan 23, 2013).

I was confused because the version of third_party/closure/updatelibrary.go
that was checked in prior to cc562aff did not correspond to the version of
Closure that was checked in. So when I ran updatelibrary.go, I got changes
and didn't realize I had to change updatelibrary.go too.

Change-Id: I3ba43a540a62caedbf7570a6d55382bd39a426dc
2014-01-04 21:42:23 -08:00
Daniel Erat 396c8a6211 search: Add ValueMatches{Int,Float} to PermanodeConstraint.
Adds constraints for int- and float-valued attributes.

Change-Id: Ie8354f8ea12f604b45cf2fa6a7fb45170bab7e46
2014-01-04 20:43:32 -08:00
Brad Fitzpatrick 91f8b2ad49 Change the upload protocol.
No more dynamic upload URL, which trips up half our new users behind
reverse proxies when the camlistored process doesn't know its
forward-facing URL.

The original camlistore stat + upload protocol was influenced by App
Engine's limitations at the time, and some of our indecision about
where the Camlistore design is going. We understand the Camlistore
design now, and App Engine's former limitations are gone. Time to
clean things up.

More REST-y now too.

See http://camlistore.org/issue/123

Change-Id: I92c6552f830b925cef379c204a982a2213bf2f4b
2014-01-04 20:24:58 -08:00
Aaron Boodman 9c45ab99ad Merge "Add link to relevant bug about aspect ratio" 2014-01-05 03:16:57 +00:00
Aaron Boodman 077664455d Add link to relevant bug about aspect ratio
Change-Id: Ia2c71a718eec45113e4ef0f159ecea6a900b673d
2014-01-04 19:16:24 -08:00
Aaron Boodman 2d24658a48 Merge "Change describe depth in web ui for search queries from 3 to 2." 2014-01-05 02:56:04 +00:00
Aaron Boodman 3c7d3d2af5 Change describe depth in web ui for search queries from 3 to 2.
As far as I know, the code never uses the third level.

This reduces a particularly bad example of https://code.google.com/p/camlistore/issues/detail?id=319 from returning 1.8MB of data to a svelte 1.2MB.

Change-Id: Ibfe4ca3f1b175cd316f6f603950991c1a2fc8577
2014-01-04 18:54:05 -08:00
Brad Fitzpatrick ef21d906e6 Merge "search: Add StringConstraint.CaseInsensitive." 2014-01-05 02:44:19 +00:00
Daniel Erat 0ea90ebec3 search: Add StringConstraint.CaseInsensitive.
Provides support for case-insensitive string comparisons.
The implementation needs work (e.g. substring searches do
potentially-large allocations).

Change-Id: I30f068094b4617b81aee2e8981f87f6ec2bc0000
2014-01-04 18:29:52 -08:00
Brad Fitzpatrick 7a2f140aa4 C: add Aaron Racine (Google CLA)
Change-Id: I74507840247790509a53082513e577617fa12858
2014-01-04 18:07:45 -08:00
Brad Fitzpatrick 00e111a4b6 Merge "camput: Skip base directories where IsIgnoredFile() returns true." 2014-01-05 02:00:35 +00:00
Brad Fitzpatrick cdd7b97d32 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-04 16:37:49 -08:00
Brad Fitzpatrick 3e725e2a98 Change self-signed cert fingerprint to 80 bits of SHA-256.
More secondary preimage resistance. Also better docs and less vague and less promoted Android
UI.

Feedback from Adam Langley, but likely misinterpreted.

Change-Id: I3bf1029b6fc07c0b8dab2af44926aa87b0d4cbad
2014-01-04 16:37:33 -08:00
Nick O'Neill 200c108fad Merge "Some additional fixes from a previous loading commit" 2014-01-05 00:25:23 +00:00
Aaron Boodman af621e4567 Merge "Make some updates to the web application styleguide that have been simmering for a few weeks." 2014-01-05 00:21:48 +00:00
Aaron Boodman 7c9b86de9e Make some updates to the web application styleguide that have been simmering for a few weeks.
Change-Id: I98196f14439b5d6f2c6af53eb1bf3508c6dbc591
2014-01-04 16:20:57 -08:00
Brad Fitzpatrick 2002359f73 Merge "search: Fix ZeroMax ValueNum permanode queries." 2014-01-05 00:07:55 +00:00
Daniel Erat 945073baf9 search: Fix ZeroMax ValueNum permanode queries.
Searching for permanodes with zero values for an attribute
returned no results due to a check that at least one value
matched. Only perform that check when a value constraint was
provided.

Change-Id: Ia25a595e4598fe682f2a85babca0b8438681a210
2014-01-04 16:05:54 -08:00
Brad Fitzpatrick 96e82b2af7 Merge "clients/osx: resolve basic fuse mount errors" 2014-01-05 00:00:53 +00:00
Brad Fitzpatrick a9fbe74c3a Merge "BUILDING the osx client" 2014-01-05 00:00:23 +00:00
Dustin Sallings 92d1dd2930 BUILDING the osx client
Change-Id: Ibd62a1b4f83031f7e462c73e2574f2628636fadc
2014-01-04 15:57:11 -08:00
Aaron Boodman 4c61927147 Merge "Move hashing of file uploads into a web worker." 2014-01-04 23:45:29 +00:00
Aaron Boodman c158868989 Move hashing of file uploads into a web worker.
We were observing UI jank, which ended up being due to GC. Even with chunking
and very small chunk sizes, it was hard to reliably get 30fps on my macbook.

Moving to a worker completely solves the problem. We stay at 60fps the entire
time the hashing is taking place, no matter how many files/how large, etc.

Also, switch to using Closure's crypto support, which has been added since
the upload code was originally written, since it hassupport for incremental
hashing, javascript typed arrays, and other niceties.

Change-Id: I018d6839b2cf037b8d6b03e1a0ea7164bc5a782d
2014-01-04 15:42:57 -08:00
Brad Fitzpatrick abfd09567f Merge "pkg/server: stream images not slurp to RAM." 2014-01-04 19:43:24 +00:00
Brad Fitzpatrick cc562aff9e Merge "Update Closure to ab89cf45c216615d73a2f5dea720afb9d3415d1f (dec 15 2013)." 2014-01-04 19:08:54 +00:00
Aaron Boodman 6c51d522b2 Update Closure to ab89cf45c216615d73a2f5dea720afb9d3415d1f (dec 15 2013).
Change-Id: Iaf16c940e5f28fc0251ec3a04e4ba7e41673a3e4
2014-01-04 10:55:09 -08:00
Brad Fitzpatrick b2b4fe84bf Merge "pkg/client: Search fix zero-value Describe queries." 2014-01-04 18:50:36 +00:00
Bill Thiede 9aeb0aa2c7 pkg/client: Search fix zero-value Describe queries.
Adds support for zero value blob.Ref {Unm,M}arshalJSON.

Fix for:
https://camlistore.org/issue/308

Change-Id: I910fc4f05015b0c3ddc57eba9d1d8fe1bfe992bf
2014-01-04 08:11:23 -08:00
Dustin Sallings fbd8992e0e clients/osx: resolve basic fuse mount errors
When cammount unexpectedly exits too soon after starting, check a couple
basic things that are likely to be wrong on new installations and try to
resolve them.

1. Is FUSE installed?  Direct user to site otherwise.
2. Is there a client config?  Allow the user to have one created.

There's no configuration management here, just a behind-the-scenes
"camput init".

This also deals with a minor issue where the user couldn't break out of
a mount failure loop since most of that code has been replaced.

Fixes
        camlistore.org/issue/311
        camlistore.org/issue/312
        camlistore.org/issue/313

Change-Id: I5a4ea99bd7532f0e0c87a7075cc0d618f2033e5c
2014-01-03 22:08:22 -08:00
Bill Thiede 862dd6229a pkg/server: properly set format with CR2 images.
Issue http://camlistore.org/issue/289 is still present with CR2
files; this corrects that.

Change-Id: I578447778f5868762e16b6ee15d352271eb9c7e3
2014-01-03 21:25:22 -08:00
Bill Thiede 79cd061838 pkg/server: stream images not slurp to RAM.
More improvement on https://camlistore.org/issue/237

Change-Id: I50076f2fc84de796026029cdab46a897354d0174
2014-01-03 20:44:09 -08:00
Brad Fitzpatrick c48acdd3a3 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-03 18:06:59 -08:00
Brad Fitzpatrick de8d644cfb android: work around a TextView.setText efficiency to not stall the event loop
Change-Id: I77dd1da8f691d5b4844a6bb0f9b2392474354998
2014-01-03 18:06:53 -08:00
mpl b30457236c Merge "camlibot: set GOROOT properly, stricter hash checks, simplify" 2014-01-04 01:06:53 +00:00
Brad Fitzpatrick 550b522618 client: fix crashes when used by the Android app
There is no config file on Android.

Fixes camlistore.org/issue/287

Change-Id: If4bee897adee528f9ba58fb3093c327583e00ec4
2014-01-03 16:07:10 -08:00
Brad Fitzpatrick bc37ea6ead lock: add linux/arm support. From upstream 172e5cc1b6
Change-Id: Ia110eb027f68deb239757f1fb06cfe4574d8bf2d
2014-01-03 15:34:40 -08:00
Brad Fitzpatrick 29c38ca428 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-03 15:29:34 -08:00
Aaron Racine 07a42aaa40 camput: Skip base directories where IsIgnoredFile() returns true.
camput currently panics if a base directory is ignored.  Fixes issue 314.

Change-Id: I9466b4576b1134994e5e53e1067e0435ddba0fdf
2014-01-02 18:41:54 -08:00
Aaron Boodman 55e02bf01f Make piggy walk in direction of navigation.
Change-Id: Ie6c6094f6e1312eb66929131fad75ab174e460ce
2014-01-02 16:03:47 -08:00
Aaron Boodman c065eba857 Merge "Implement forward back paging (using arrow keys) on detail page within a search result.." 2014-01-02 23:53:36 +00:00
Aaron Boodman 561f53aa5f Implement forward back paging (using arrow keys) on detail page within
a search result..

When you are paging, typically only one request is done, for the big
image. However, if you reach the end of the current search session,
more results are loaded.

The URL updates during paging, and if you navigate to this URL fresh
the search will be performed first.

Change-Id: Ia2b9bbb4a2eb41a3a75971d0dc1ff4f3d93b4acf
2014-01-02 15:50:55 -08:00
Nick O'Neill b8d35b6fe2 Some additional fixes from a previous loading commit
Change-Id: I5bdd58fee08c87a8f59b05979d7bddb546fe8187
2014-01-02 12:06:20 -08:00
Dustin Sallings c13717e788 fs: extended attribute support
This includes read-write support for extended attributes for mutable
files, and enough support on all other filesystem paths to prevent OS X
from falling back to AppleDouble files.

Change-Id: I2b275591f3bc69c25e1e9c8d59a7fa4cf0bb97ff
2014-01-02 12:02:10 -08:00