Commit Graph

3730 Commits

Author SHA1 Message Date
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 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
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 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
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
Aaron Boodman e5d41793a0 Don't start fading the image in until it has loaded.
Change-Id: I0262464e7cea4d8c8acfa291c5d41365a8e1c885
2013-12-31 17:57:37 -08:00
Aaron Boodman e24ca1b78d Merge "Increase pigginess in new detail UI." 2014-01-01 01:52:47 +00:00
Aaron Boodman 2d70e6794f Increase pigginess in new detail UI.
Change-Id: I4eb1acf7e6cd114edf7c5f66fcb4fb6ff8842bdb
2013-12-31 17:49:42 -08:00
Brad Fitzpatrick 2f768edb90 android: more work respecting power & wifi settings; add Eye-Fi directory
Change-Id: I1786395394c742b942e85b24090dbaad55bd1cf9
2013-12-31 14:51:59 -08:00
Brad Fitzpatrick 339c46c6c5 android: fix upload all and background auto upload
Change-Id: If1179d7d40472adc7ffcb5b84598e797a465f029
2013-12-31 09:16:35 -08:00
Brad Fitzpatrick dbe9b83cfa search: some refactor cleanup in prep for sorting work
Change-Id: I71d422774bb68a93c9f9d648de8e4e5bc2ef1d87
2013-12-30 21:03:29 -08:00
Brad Fitzpatrick 14b950496f index, corpus: prevent indexing dup blobs
With the sync handler + indexer in same process subscribing to all
incoming blobs, we were indexing everything twice.

Fixes camlistore.org/issue/306

Change-Id: I7da54a0e18ac613eeae36d6db29b6cdb73a37196
2013-12-30 20:17:47 -08:00
Brad Fitzpatrick c6b78818b8 schema: better test for issue 305
Change-Id: I791d2cd614f8cdc5921a05a0c91589f8965ed06f
2013-12-30 20:17:30 -08:00
Brad Fitzpatrick 339b8c8af4 schema: fix blob.Builder JSON clone bug; issue 305
Change-Id: I8ef981f96abdac1a7e2c101e1c9c3cde52fb6f5f
2013-12-30 19:40:58 -08:00
mpl 914176593a pkg/server: actually use the image format
http://camlistore.org/issue/289

Change-Id: Id1f344e567349ed8d540357bfb397252ac131456
2013-12-30 23:47:11 +01:00
Nick O'Neill 7a346403db Added a loading 'image' to blobs.
Change-Id: Icf3bff669e9a8190bf67d3f7597bbf57ce8a094d
2013-12-30 13:31:14 -08:00
Dustin Sallings e0773c28d1 fs: don't log entire write contents
Change-Id: Ib9e89916e55020ecd498b32230ae8dc189a0116d
2013-12-30 12:54:50 -08:00
Brad Fitzpatrick bb310126c4 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-12-30 11:54:02 -08:00
Brad Fitzpatrick a06555872c schema: a new tests that doesn't test anything yet
Change-Id: I30c79f10fa68d3441c6e937344927d0b996dcf70
2013-12-30 11:53:55 -08:00
Nick O'Neill 3af7ffbed1 Configuration changes for building.
Change-Id: Ib593653bab27e4d17ae36d37c9b2d38b63738072
2013-12-30 11:45:05 -08:00
mpl 08dad1803e camlibot: set GOROOT properly, stricter hash checks, simplify
Change-Id: I27fed6c52eeae239b9f8a17600331fc08dfd9ef7
2013-12-30 19:50:54 +01:00