Commit Graph

3901 Commits

Author SHA1 Message Date
Aaron Boodman fc62c5c2b4 Merge "Virtual scroll!" 2014-01-20 19:12:13 +00:00
Aaron Boodman 499fdbf47d Virtual scroll!
Change-Id: I3c564758f110975ecc1a5e6cf9a7db1777ade54b
2014-01-20 11:11:52 -08:00
Brad Fitzpatrick aebc8f00c6 cond: add test using storagetest
Change-Id: Iffd987de42d82e1c19ff2c984ff3d2f01824e34c
2014-01-20 10:37:23 -08:00
Brad Fitzpatrick 8b780579f0 Merge "third_party/taglib: Update to ef5ded85df." 2014-01-20 06:48:16 +00:00
Brad Fitzpatrick bb5059bafd namespace: implementation, and initial basic tests using storagetest.
Change-Id: Ib53822fb530f9a1bd2a3c0658120639d5bf4426a
2014-01-19 22:47:35 -08:00
Brad Fitzpatrick b0ae1a55eb replica: add test using storagetest + fix RemoveBlobs bug found with it
Change-Id: I6f33a212d0d9b7fc7eca0fe908da2b3521183fc4
2014-01-19 22:47:02 -08:00
Daniel Erat 2c03760157 third_party/taglib: Update to ef5ded85df.
Change-Id: I536e08d2c0184b1d2abe52f3f139be35e9f331dd
2014-01-19 18:55:18 -08:00
Brad Fitzpatrick d341375188 Start of 'namespace' blob storage target.
Change-Id: I7b6f1a9eea1a7b37482e890238dabc9f1a39c4a5
2014-01-19 15:17:31 -08:00
Brad Fitzpatrick 8e92ad3c71 cond: clean-up and start of tests
Change-Id: Ie7397bde5650f997c9d6abcc1040838b55fccedf
2014-01-19 15:06:55 -08:00
Brad Fitzpatrick f015c227f0 serverconfig: allow marking handlers as internal, so they're not accessible over HTTP
Change-Id: I37190e90fbc2560c07f742270c827f6025a2fb6f
2014-01-19 14:50:34 -08:00
Brad Fitzpatrick 9ff769b95f Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-19 14:35:13 -08:00
Brad Fitzpatrick 4d9e797ae1 test: fix probing test server. do HTTP request. TCP port will always be listening (by parent)
Change-Id: I3d2bac6419f5e5e0362f549a5aca7b7ccbf967e6
2014-01-19 14:35:05 -08:00
Aaron Boodman ce5d5f99fb Fix two small bugs from previous commit:
1) We don't need the isMounted() check anymore because we're not poking at the DOM.
2) Detail() now needs a history param.

Change-Id: I420e3211fde40673e3123a2b18460d0d12f32a70
2014-01-19 14:19:27 -08:00
Aaron Boodman 6333126e79 Yak shave to fix a layout glitch moments after page load.
Was basically caused by layout<->scrollbar interaction loop. Fix was to
calculate size of scrollbar and take it into account during layout.

At the same time, I decided to clean up the code and put the search results
scrollbar actually within BlobItemContainer, rather than having
BlobItemContainer reach up and change scroll styles of document.

This necessitated getting rid of some of the clever transform origin
stuff I was doing before, but it is less needed now.

Change-Id: I8641d87d8e593336aed48acef8b31680a52d7e6c
2014-01-19 14:03:42 -08:00
Aaron Boodman 1bd3e811ab Merge "Save scroll position and restore on back or escape from detail." 2014-01-19 20:29:15 +00:00
Aaron Boodman 251cbbd906 Merge "Wire drag and drop file uploads back up." 2014-01-19 20:29:02 +00:00
Aaron Boodman 74e9b4dc4e Merge "Stop showing pyramid throbber if an image fails to load." 2014-01-19 19:39:41 +00:00
Aaron Boodman 30477cf50a Stop showing pyramid throbber if an image fails to load.
Change-Id: I30193f7ffe178d728d0b6e4fced2fc77d93e239a
2014-01-19 11:38:58 -08:00
Brad Fitzpatrick c9fd454875 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-19 10:14:53 -08:00
Aaron Boodman c848f09199 Fix bug where nav is not open when returning from detail page if was open when left.
Change-Id: I527ad917345dd6fcc67fe12c18ac06539f6e457e
2014-01-19 01:21:44 -08:00
Aaron Boodman 671a1b0085 Save scroll position and restore on back or escape from detail.
Change-Id: I844bb00509e744396821ce7bff7d1951b9639cac
2014-01-19 01:11:52 -08:00
Aaron Boodman a9dde0d354 Wire drag and drop file uploads back up.
Change-Id: I19939d152cfb66e10cf87105bef71849a508c82d
2014-01-19 01:06:05 -08:00
Aaron Boodman e4c1190b36 Merge "Update Closure" 2014-01-19 07:29:27 +00:00
Aaron Boodman e06eb5e50d Update Closure
Change-Id: Ia2a27bb78f5f85423940e177bc7b56913bb672a9
2014-01-18 23:07:50 -08:00
Brad Fitzpatrick e29c43bfde replica: test minWritesForSuccess
Change-Id: I5c845e99b1c440c35bfb7a5a7865176fd72ae031
2014-01-18 22:53:03 -08:00
Brad Fitzpatrick cfeeda0fa9 replica: change receive strategy, fixing a TODO, and start of tests
Change-Id: I74c1206ce4bb34ddffe2601cf95fce393116c303
2014-01-18 21:16:24 -08:00
Brad Fitzpatrick cbed03b187 Merge "fs: fix crash setting xattr on a root" 2014-01-19 02:27:12 +00:00
Aaron Boodman ce43c79437 Merge "Add SearchSession#refreshIfNecessary() - use to do manual refreshes when websocket not avaialble." 2014-01-18 22:45:37 +00:00
Aaron Boodman 8387acb5ce Merge "Trial fix for infinite piggie bug." 2014-01-18 22:45:11 +00:00
Brad Fitzpatrick 0c1a271d38 When caching resized images, don't use a file schema blob and lots of little
chunks when the size of the resized image is under 16 MB.

Also add some more expvars counters.

Change-Id: I769247edf3819ca95669bdf9a1c8d3876c54095b
2014-01-18 10:12:29 -08:00
Brad Fitzpatrick 1cbd7365b4 Fix thumbnail cache filename fmt pattern bug.
I noticed thumbnail files named like:

{"camliVersion": 1,
  "camliType": "file",
  "fileName": "scaled:sha1-da55749abffc24004177c32e8ea00687044910b8:2000x256:tv%!d(string=2)",
  "parts": [
    {
      "blobRef": "sha1-82810ad435f5354e4d8ad358a011bc221053b1bb",
      "size": 11239
    }
  ]
}

Change-Id: I3bc729917c226622e70fb662e0413eeacfda6d93
2014-01-18 09:18:13 -08:00
Aaron Boodman 5e1a6fe242 Add SearchSession#refreshIfNecessary() - use to do manual refreshes when websocket not avaialble.
Change-Id: Icb451ddff8fc6917f837f289f1b0f83fa7cc5d81
2014-01-18 02:11:56 -08:00
Aaron Boodman d53107050f Whoops. Fix stupid bugs introduced right before I committed 2dd87d.
Change-Id: I6a6032c1d8e49b08ccd919d8b7bd69c00c8858e7
2014-01-18 00:11:35 -08:00
Aaron Boodman 675c9d8cd8 Merge "Wire up the remaing nav items." 2014-01-18 08:07:23 +00:00
Aaron Boodman 2dd87d7281 Wire up the remaing nav items.
Change-Id: I730b192a2f1945659e953cdf0d45c0a77b6e161b
2014-01-18 00:06:17 -08:00
Aaron Boodman 5b16c9202b Trial fix for infinite piggie bug.
Change-Id: I589c1c6dd8d68552376f274c9bcb091fc6a289f3
2014-01-17 22:05:57 -08:00
Dustin Sallings 70e6306aaf fs: fix crash setting xattr on a root
Change-Id: I76f008bcffcf23c5936a0a16cabb9c5b7c9bbd99
2014-01-17 18:19:45 -08:00
Brad Fitzpatrick 44d8772feb images: minor doc comment update
Change-Id: If7c6ad470c9f3ccb152777225ee955b1f7c28e9c
2014-01-17 16:47:29 -08:00
Aaron Boodman 7f4ef04b4b Merge "Prevents the little horizontal jostle that happens in the detail page when you press 'right' the first time." 2014-01-17 08:16:41 +00:00
Aaron Boodman d3c6824495 Prevents the little horizontal jostle that happens in the detail page
when you press 'right' the first time.

Change-Id: Ic39607258c056bcee898463ef4ed80cc64799baf
2014-01-17 00:15:36 -08:00
Brad Fitzpatrick d7e0ad7c5b doc: add two undocumented attributes
Change-Id: I3676c94fdd44a1479bc2c57a7a2015f6df14f835
2014-01-16 20:16:41 -08:00
Brad Fitzpatrick 4550d494ba cammount: more friendly UI
Change-Id: Iec402e623407f2b22d54de952e38b1da0958f529
2014-01-16 19:52:11 -08:00
Aaron Boodman 69b1b76c88 Wire search back together in the React UI
Change-Id: Ica7afd21dda28a8a90ebd3c4dc3807821e018678
2014-01-16 16:55:59 -08:00
Aaron Boodman 37173dc7d4 Merge "Hardware accelerate the piggy." 2014-01-17 00:36:17 +00:00
Aaron Boodman c5a31bafbb Wire up the detail view to the React-based UI.
The scroll position doesn't restore when navigating back to the
search page from the detail page. That will be interesting.

Change-Id: I5a008cdd6d1c83a4b8031d14ee26cfd9e383d73d
2014-01-16 00:41:02 -08:00
Aaron Boodman c3ca04d82b Wire up some of the nav items.
Change-Id: I9c120badad448d6eae736133475dbc0acfe8993a
2014-01-15 23:05:30 -08:00
Aaron Boodman 95f95a2623 Hardware accelerate the piggy.
This improves the performance of the piggy animation by doing it in hardware
and eliminating a layout pass on every frame.

Change-Id: I02cf8b521af60af0e61f70c7f732f97074bdcdc1
2014-01-15 20:54:21 -08:00
Aaron Boodman 1803104293 Implement most of BlobItemContainer using React.
Still left to do: update the nav in response to selection changes,
implement nav items, drag and drop.

Change-Id: I3f7cd0b8bdccd11a5816dce2bc214e60f844a130
2014-01-15 20:17:21 -08:00
Aaron Boodman 2d8c5992bf Merge "Convert nav to React." 2014-01-16 04:16:48 +00:00
Aaron Boodman ade30f9637 Convert nav to React.
Change-Id: Id05e1c87f97e0c20b935ae5360ce089993aae5ac
2014-01-15 20:14:45 -08:00