Commit Graph

3746 Commits

Author SHA1 Message Date
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
Brad Fitzpatrick f6f7fb2ff3 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-02 00:34:19 -08:00
Brad Fitzpatrick 3bdff69dcf doc: add camliDefVis to schema claims docs
Change-Id: I76d66887fb599e80472da489d7dfeb8b629b9b4a
2014-01-02 00:34:12 -08:00
Brad Fitzpatrick 1c25a81898 Merge "fuse: support extended attributes" 2014-01-02 08:22:37 +00:00
Dustin Sallings aa7196e33b fuse: support extended attributes
Change-Id: I0698d5adfc756bf8f589f2cdbb0057f2789cd40a
2014-01-02 00:03:06 -08:00
Aaron Boodman 07cce4a3e6 Integrate the detail view into index.html.
The detail view now loads with only two HTTP requests: one for the
piggy, and one for the big image. No other resources are loaded,
even the blob descriptions, because they are cached by SearchSession,
which is shared between the search ui and the detail ui.

Likewise, when you go back to the search results page, no additional
requests are done.

Also:
- When you press back on detail page, scroll position is now usually
  restored (if you refresh between index and detail, it still won't
  restore).
- Detail page live updates! It came for free with using SearchSession.

Change-Id: I58ada7bdd30afc2644860fbda6167fc5ce865b0d
2014-01-01 23:13:23 -08:00
Aaron Boodman 8b938bd8dd The search page had the same bug with non-integer image sizes o_O.
Change-Id: I4133e4c2ac50666d27918f84007395ccb05bc6ca
2014-01-01 23:10:43 -08:00
Brad Fitzpatrick 535cb01877 Merge "Refactor the data part of infinite scroll into new SearchSession." 2014-01-02 06:59:19 +00:00
Aaron Boodman d241251f34 Refactor the data part of infinite scroll into new SearchSession.
This will also be used by the detail page to facilitate fast
flipping and live udpates.

Also fixed the thing where we discard the websocket responses and
re-query for all updates except the very first one.

Change-Id: Iac196670db967f1d41b20ce30641118ede61f3c2
2014-01-01 21:05:47 -08:00
Brad Fitzpatrick 2842505982 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-01 21:03:27 -08:00
Brad Fitzpatrick 0bfed70130 year++
Change-Id: I1fa51379a1cb4a9e1e13a9b84295d4bcb73c4464
2014-01-01 21:03:24 -08:00
Brad Fitzpatrick 9760c3b907 Merge "Bucketize image size requests differently" 2014-01-02 04:52:41 +00:00
Aaron Boodman dc90821d64 Merge "Added a loading 'image' to blobs." 2014-01-01 19:08:24 +00:00
Aaron Boodman f1cecc4aca Bucketize image size requests differently
Change-Id: Ic5c62e2618188490fc30aefea06cf46b36dd6c92
2013-12-31 19:11:14 -08:00
Brad Fitzpatrick a576379cb5 search: PermanodeConstraint.Time time constraint, 'before:' and 'after:' operators
Work in progress, but works enough to commit now.  Determing the time
of things has many TODOs, and there's some performance work to be done
(although it still appears to be instant... it just uses more CPU than
it should)

Change-Id: I4b04b5805353dfbde0b841a3a557fd0b7c297780
2013-12-31 18:31:02 -08:00
Aaron Boodman 7fcd2e1807 Add link to and from the new detail page.
Change-Id: I2eb16295c5fa8106854a16d3b060c3f87c5ed1ae
2013-12-31 18:21:26 -08:00
Brad Fitzpatrick d867233bec android: crap Eclipse decided to do
Change-Id: I989fc27ffa70176909bc9ab34a2326c59a481f90
2013-12-31 18:14:14 -08:00