Commit Graph

3949 Commits

Author SHA1 Message Date
mpl 6a3c8e31ff website: fix typo in server-config
Change-Id: I85efb4790e5b93996fed03739397abdf1a86fc2f
2014-01-29 16:40:29 +01:00
Dustin Sallings 6f5b0151f2 client: don't remember discovery errors permanently
fixes camlistore.org/issue/348

Change-Id: I689319cd03dbbcc035698a2ce58d4557c28d9ac0
2014-01-27 16:45:18 -08:00
Brad Fitzpatrick 52a68b9c30 Merge "ui: check for non nil results before using them" 2014-01-28 00:38:38 +00:00
Brad Fitzpatrick a70b554023 pkg/client, camput: don't stat each chunk before uploading
Trust the have cache for skipping uploads.

Reduces total number of HTTP requests.

Also, set Transport's MaxIdleConnsPerHost to be the same as
our HTTP concurrency level, to not keep re-creating TCP
connections.
2014-01-27 16:07:15 -08:00
mpl d4b4194ed0 ui: check for non nil results before using them
http://camlistore.org/issue/352

Change-Id: I321d2bf2a48eed9aa0b9b4f5bf5d630d3741af97
2014-01-28 00:14:20 +01:00
Brad Fitzpatrick 798cd5e9d2 client: use syncutil.Gate instead doing it by hand 2014-01-27 14:08:05 -08:00
Nick O'Neill 27bd0d768f Merge "osx: dmg target" 2014-01-27 19:41:14 +00:00
Brad Fitzpatrick 3d3e702a16 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-26 22:05:16 -08:00
Brad Fitzpatrick 0072a5b325 client/android: instrument memory usage.
also try to GC and return memory to OS every 5 seconds, but
that barely makes a dent in the real problem.

more later.

Change-Id: I2979e099121bdcb8578124b1c45714313cc2ec09
2014-01-26 22:05:02 -08:00
Brad Fitzpatrick f4d9fab966 schema: don't use ReceiveBlob directly
Change-Id: I268165cdaa4e4c8fea720a57a58cccc0f934cdf2
2014-01-26 21:56:39 -08:00
Brad Fitzpatrick c97c0d48b3 osutil: add MemUsage func
Change-Id: I4a0cbde782077c5b34caefd9b6bdb99bc659c2c9
2014-01-26 21:56:16 -08:00
Brad Fitzpatrick b15cde9bce Merge "pkg/search: Add durationms to MediaTagConstraint comment." 2014-01-26 18:45:33 +00:00
Daniel Erat ef6e0bc696 pkg/search: Add durationms to MediaTagConstraint comment.
Change-Id: I8c097c2c88afaf01b9eb0f62072f5e68bddf5ca0
2014-01-25 17:22:33 -08:00
Brad Fitzpatrick 1442639257 Merge "Added syncutil.Once" 2014-01-25 22:05:56 +00:00
Dustin Sallings 4fb88a2120 Added syncutil.Once
Change-Id: I83744a3646bac449934ab0dc6477b4dd1c351e5e
2014-01-25 12:04:47 -08:00
Brad Fitzpatrick de99ea69cd Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-25 11:04:12 -08:00
Brad Fitzpatrick 92b23e391d search: basic lexer to supported quoted tokens in search expressions
Change-Id: I6c8c37e3b27ab947623bbe7431352a14aa029839
2014-01-25 11:04:02 -08:00
Brad Fitzpatrick 80f6c39c20 Merge "pkg/index: Index audio duration." 2014-01-25 18:42:09 +00:00
Daniel Erat 5603ea8e0d pkg/index: Index audio duration.
Add pkg/media with code to calculate MPEG audio duration.
Index it in a "durationms" property.

Change-Id: Ifb6251657cadc365ef3f5667a0512fde17575560
2014-01-25 10:40:06 -08:00
Brad Fitzpatrick 74479632a2 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-25 09:27:00 -08:00
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