Commit Graph

4129 Commits

Author SHA1 Message Date
Brad Fitzpatrick 466f166817 geocode: if Google returns a whole-world geometry, use its viewport instead
Change-Id: Iec4abf2ad117ab37a3f23fedc12e6e7b3943fc4e
2014-01-25 09:26:18 -08:00
Nick O'Neill 53415d470d Merge "Various improvements in style and functionality" 2014-01-25 00:29:10 +00:00
Tommi Virtanen 6cda29582b third_party: Switch FUSE library to bazil.org/fuse
import bazil.org/fuse at f6649cd46fb76b1e04ba9eeffb773cb189278d31
remove code.google.com/p/rsc/fuse.

Huge thanks to Tommi Virtanen for the fuse support.

Change-Id: I44b95ac1ea344648593c7376f83ca675a56077b3
2014-01-24 13:28:08 -08:00
mpl bda0b712d7 serverinit: forgot to add appengine change in 448f266d72
Change-Id: I38fce10319f6bd4827861325f2a474cc08098139
2014-01-24 01:30:27 +01:00
mpl a629124f44 Merge "pkg/types: add InvertedBool" 2014-01-23 21:58:12 +00:00
Brad Fitzpatrick 69bb3212b2 make.go: mirror over all magic testdata files too 2014-01-23 13:57:25 -08:00
Brad Fitzpatrick 99bc9f7664 devcam: let test command take arguments, to run subset of tests 2014-01-23 13:57:13 -08:00
mpl 20b9f5d6f1 pkg/types: add InvertedBool
Will be needed for json tagged serverconfig in subsequent commit.

http://camlistore.org/issue/339

Change-Id: I41ae6e9918b23eb9bdb471e402de0415f3499dc3
2014-01-23 22:54:18 +01:00
mpl 1373456c25 Merge "rename pkg/serverconfig to pkg/serverinit" 2014-01-23 21:25:26 +00:00
Tamás Gulácsi 9feb32a329 Add some common file signatures to magic.
Change-Id: I428933fdb5bb987113ae1bbd1161eca4c477b426
2014-01-23 21:55:37 +01:00
Brad Fitzpatrick c35f1d1afe Merge "pkg/index: Index more music-related properties." 2014-01-23 16:33:08 +00:00
mpl 448f266d72 rename pkg/serverconfig to pkg/serverinit
To avoid awkwardness with future pkg/types/serverconfig

http://camlistore.org/issue/339

Change-Id: If8a00941cdc269d6bcfe0f76c596154d5969bf0d
2014-01-23 17:18:46 +01:00
Daniel Erat 404548d31a pkg/index: Index more music-related properties.
Add disc and mediaref (a hash of the audio portion of the
file).

Also relocate taglib code to
third_party/github.com/hjfreyer/taglib-go.

Change-Id: I58364f525b787484af894663125163095256d7c6
2014-01-22 21:25:05 -08:00
Brad Fitzpatrick 1b7ac2da01 test: add TODO to simplify 2014-01-21 14:18:11 -08:00
Nick O'Neill 12e449564d Various improvements in style and functionality
Fixed crash on vivify error.
Cleanup for names and properties.
Reformatted to webkit style.
Better treatment of logging network failures, actual done text when done.
Don't double add uploads
Moved the settings panel showing to viewdidappear, where it should be.
Added images to the upload cells.
Reset progress bar for reusable cells.
Updated podfile with keychain tools.
Updated for better keychain management.
Mitigated a leak.

Change-Id: Iad428aae56ac26e71743bd3e86b0f7736eff9767
2014-01-21 10:44:25 -08:00
Daniel Erat 7c805515bc make.go: Mirror .mp3 testdata.
Change-Id: Iab40eb1cc7799fab1b499c9a0354114a65f0b45a
2014-01-20 22:04:50 -08:00
Daniel Erat 704d3c6bfc pkg/index: Rename audiotag to mediatag.
Also fix up keys and values and add tests.

Change-Id: I7e6c5c4315705442e3517456f2ba16419af49f2f
2014-01-20 21:46:39 -08:00
Brad Fitzpatrick 5b03c3f8fb search, index: let media tags be searchable too.
git push from Dolores Park. Sorry, no tests. Dan Erat will tell me if
this doesn't work.

Change-Id: I557cc3d07983390b8a15b7756ee0825fced2f503
2014-01-20 15:47:36 -08:00
Brad Fitzpatrick 9abba638a0 Add new environment variables for setting client identity for use with test.World.
Testing clients should now use CAMLI_CLIENT_IDENTITY,
CAMLI_DISABLE_CLIENT_CONFIG_FILE (both new) and existing
CAMLI_SECRET_RING, set using the new test.World accessors.

Change-Id: I9fc0571b008f033674466bbc98129ae1919a0640
2014-01-20 13:54:42 -08:00
Brad Fitzpatrick a384ff188d Get rid of CAMLI_DEV_KEYBLOBS / keyblobs / etc.
Fixes camlistore.org/issue/277

Change-Id: I7f380f9d18785f600fa0c442d5a19cd118782788
2014-01-20 13:47:08 -08:00
Brad Fitzpatrick d5ec2925dd namespace: finish tests
Change-Id: Ib34364473e407e78fd691256ad1afe8c810911a9
2014-01-20 13:08:37 -08:00
Brad Fitzpatrick 31125295a4 test: fix enumerate bug in in-memory storage when double-uploaded
Change-Id: I7e6abb1c9dfc61f39fa9d315857bf7aeb13b6b59
2014-01-20 13:07:20 -08:00
Aaron Boodman cf22032792 Merge "Throttle updates to history so the URL bar doesn't flicker so much." 2014-01-20 20:00:57 +00:00
Aaron Boodman 69cb19ccdb Throttle updates to history so the URL bar doesn't flicker so much.
Change-Id: Ie2b1cc8a6abe2d41083dcd1116940508b22661f5
2014-01-20 12:00:04 -08:00
Brad Fitzpatrick 2b06004813 Merge "diskpacked: keep fd open to every pack file." 2014-01-20 19:59:58 +00:00
Aaron Boodman 976c78cb30 Turn React-based UI on by default.
Change-Id: I7370954eb1fda679be25e3ab652fb3776c55c938
2014-01-20 11:32:04 -08:00
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
Bill Thiede 5c884e52ca diskpacked: keep fd open to every pack file.
Bytes read/writen per pack file, as well as per configured diskpacked
configuration are now available as expvars.

Also add reader stat helpers to pkg/types and updated the original
user in server/image.go

Change-Id: Ifc9d76c57aab329d4b947e9a4ef9eac008bc608d
2014-01-20 10:50:42 -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