Commit Graph

3746 Commits

Author SHA1 Message Date
Brad Fitzpatrick e6496b45d8 index: update index-out-of-sync error message to suggest camlistored --reindex
Change-Id: I17dcd758e49a25c05ab5519a49ed3832610d2ba0
2013-12-24 15:46:17 -08:00
Brad Fitzpatrick 7728d7e2f8 index: bump schema version for EXIF changes
Change-Id: If91e3429d8ffb6a9f1eb7d6c5ab86d99bcc0a120
2013-12-24 15:42:45 -08:00
Brad Fitzpatrick 289065c730 sorted/kvfile: make it actually compile
Change-Id: I0a3916c1c260dfac6b3444a18510a013d429ef33
2013-12-24 15:35:29 -08:00
Brad Fitzpatrick 242c8588cc Merge "third_party: Import code.google.com/p/go.crypto/scrypt." 2013-12-24 22:09:42 +00:00
Brad Fitzpatrick 08514b5118 Merge "pkg/sorted/kvfile: add sorted.Wiper." 2013-12-24 21:52:49 +00:00
Brad Fitzpatrick bc15a1d7a6 search: fix two double-RLock deadlocks
Change-Id: I5d083150cb1dc4e43c6a64146dee8a3672b7ea40
2013-12-24 13:46:18 -08:00
Brad Fitzpatrick d7c58ebc7c syncutil: in RWMutexTracker, log.Fatal instead of panic on double-RLock
Change-Id: Ifc34b29fb8264f96e2e9516948d9c0b4bfff984a
2013-12-24 13:45:50 -08:00
Brad Fitzpatrick f8d9e6663d geocode: move logging
Change-Id: I42d901510f9d8085c29792fd6b7ea8e1dc082c06
2013-12-24 13:43:25 -08:00
Bill Thiede de3a5d1941 pkg/sorted/kvfile: add sorted.Wiper.
This allows people with kvIndexFile in their server-config.json to run:
camlistored -reindex

Change-Id: If1008297fa29ca514260529edb2125a1ea7d5246
2013-12-24 13:15:24 -08:00
Brad Fitzpatrick f053007954 geocode: cache and dup-suppress lookups
Change-Id: I600b9d9957ea74d4b91d0b162c7de55d643e0ee9
2013-12-24 12:43:19 -08:00
Brad Fitzpatrick 2bc4b5075f readerutil: fix OpenSingle bug causing "bad file descriptor" in dispacked.
Simplifies the code a bit, even though locking is a bit more coarse
now. We can make it faster later if it matters, especially now that
there's a test (which reliably failed before this fix).

Fixes camlistore.org/issue/264

Change-Id: Ifac79728f6a105ba76a60997c55c5d7d818f6f71
2013-12-24 10:57:06 -08:00
Brad Fitzpatrick c9b0249c94 index: let reindexer optionally start at CAMLI_REINDEX_START
Change-Id: I3a3018c5ff72e0662bbe285eef299c7092366c5f
2013-12-23 22:02:30 -08:00
Brad Fitzpatrick eb3407e3e1 search: add format:foo operator
Change-Id: Ia12dcc43bba019f7d6511cec36e4091c692113fb
2013-12-23 21:07:10 -08:00
Brad Fitzpatrick eee352fbb7 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-12-23 20:55:29 -08:00
Brad Fitzpatrick 3a47595d7d Merge "pkg/blob: Introuduce a type that wraps a blob ref with the blob data." 2013-12-24 04:50:58 +00:00
Brad Fitzpatrick 1664cb393d C+A: add Brian Gitonga (Individual CLA)
Change-Id: I00b59812ee1bdab52f5ae24f0ff84acb1dbb322d
2013-12-23 20:49:33 -08:00
Aaron Boodman d3bdb623df Merge "Fix bug 279: We sometimes show duplicate images after upload" 2013-12-24 04:42:19 +00:00
Brad Fitzpatrick 04bed02906 search: add negative expressions and has:location
e.g. [is:image -has:location]

Change-Id: I03df0a1d5fea8394a33e3079d131224c116d4c0d
2013-12-23 20:39:06 -08:00
Brad Fitzpatrick 88c3709e29 corpus: ignore exiftag rows for now
Change-Id: I5ccbb8517c8576bc0f554db73f2abd4b827b8388
2013-12-23 20:38:35 -08:00
Aaron Boodman 4c48ed3a3a Fix bug 279: We sometimes show duplicate images after upload
Change-Id: If1b633f8c0b7c358aa0d2679f4c95db545237e65
2013-12-23 20:31:27 -08:00
Nick O'Neill 7e2ca3da96 Merge "Updates to ios client" 2013-12-24 03:52:33 +00:00
Nick O'Neill d00fbf331c Updates to ios client
Storing credentials in the app, style tweaks, trying to make xcode do whitespace right, and some organization

Change-Id: I36c7c0f479dcd95c26c4dd53bacb8e5c6e66bc9f
2013-12-24 03:51:56 +00:00
Brad Fitzpatrick 7238bd1652 search: GPS location search
Like loc:hawaii or loc:USA or loc:94128, etc.

Change-Id: I11f47bf464a812f0b62e7799752811144bb7454e
2013-12-23 19:11:55 -08:00
Brad Fitzpatrick d759e12b86 Add new geocode package.
Change-Id: Iae3c4b2cd09d7fd21e41fbc6f4fa5222d1dfcfee
2013-12-23 19:09:50 -08:00
Brad Fitzpatrick a11ff22b8e camlistored: add --reindex flag; make sqlkv a sorted.Wiper
Change-Id: I6b16c1c32187fb754d3acdbe852d02a506236078
2013-12-23 19:07:17 -08:00
Brad Fitzpatrick a7b3f4ee01 index: index all photo EXIF tags
Change-Id: I00b2eebfc75de38eed5c212ac6d52e0da07297bc
2013-12-23 16:21:19 -08:00
mpl 4a87b954fb Merge "pkg/index: move postgresql to sorted + some fixes" 2013-12-23 23:49:14 +00:00
mpl 8fec95752c pkg/index: move postgresql to sorted + some fixes
Change-Id: Ia6410256ffe8d4cbc2b9a5c056d075707105ab08
2013-12-24 00:37:14 +01:00
mpl 6e7eacea4a Merge "pkg/client: some cleanup, doc on the website" 2013-12-23 22:31:45 +00:00
mpl 1e8d46ee45 pkg/client: some cleanup, doc on the website
Changed some keys to be consistent with the server config, and removed
some others.

We're now using jsonconfig to get the keys and validate the config.

Removed some unused funcs/methods, moved some global vars as members of a client.

Also, having two possible defaults for the secret keyring
(.config/camlistore/identity-secring.gpg and .gnupg/secring.gpg)
was annoying and confusing imho, so I removed the latter.

http://camlistore.org/issue/259

Change-Id: Icf79fa8822b62b5d91843698861dd19cb553607a
2013-12-23 20:23:21 +01:00
Brian Gitonga Marete 97c52b7233 pkg/blob: Introuduce a type that wraps a blob ref with the blob data.
This new type (blob.Blob) will be used to implement a blob streaming
interface for the storage engines.

Change-Id: I05f3a68022368cf9c7b4a98cced3098ba3965799
2013-12-23 21:50:50 +03:00
Brian Gitonga Marete 981f3867db third_party: Import code.google.com/p/go.crypto/scrypt.
Change-Id: I39a2e08749a68e0a1234d0488a592b8f43eec594
2013-12-23 20:39:30 +03:00
mpl 003fe98598 Merge "sorted: more tests" 2013-12-23 14:36:52 +00:00
mpl e687136b36 sorted: more tests
Adding this particular case, because I suspect it demonstrates
a problem with postgresql.

Change-Id: Ia1ffe2f0a27dede579ed652b9f614cd69adc4418
2013-12-23 15:35:05 +01:00
Bill Thiede cdde1c8803 images/resize: remove commented-out code.
Accidentally snuck in as part of the giant CL
https://camlistore.org/r/1556

Change-Id: I379c613360c4f4c7ca9f3cc67a3b0a570308fa51
2013-12-22 21:22:41 -08:00
Brad Fitzpatrick 4a53f4d687 search: add width:[min]-[max] and height:[min]-[max] operators
Change-Id: I18a82d8f1d2ba519d78b234a240ff854f36a8c10
2013-12-22 19:26:49 -08:00
Brad Fitzpatrick 06a334c39f search: add is:portrait, is:landscape, and is:pano
Also support Width and Height constraints on raw search (not yet
exposed to the expression syntax, but will be like width:<640 or
height:100-200 probably)

Change-Id: I082e3d27b5ef5c238a8e65a6b836943d9f9ff8a6
2013-12-22 18:30:27 -08:00
Brad Fitzpatrick 82a356ab77 search: add FloatConstraint
Change-Id: Ic367e87cb239258a76a99c9d07f0956d67e242ea
2013-12-22 18:11:44 -08:00
Brad Fitzpatrick f27c12ee6a search: add is:image operator
Change-Id: Iba693538b4e7b3d0cf08d5e8601d3b5819000ca1
2013-12-22 15:11:31 -08:00
Brad Fitzpatrick 12f87787fe types: add Time parsing test
Change-Id: Ie13a244cda76d11a39a1200895f4cd75013db087
2013-12-22 15:07:47 -08:00
Brad Fitzpatrick aa23c1b379 Merge "Support removing roots from FUSE" 2013-12-22 22:43:53 +00:00
Brad Fitzpatrick f4012ab4df Merge "List recent directory as mode 500" 2013-12-22 22:31:36 +00:00
Dustin Sallings f46840c42b List recent directory as mode 500
Nothing should ever write here, so let's not advertise a write bit.

Change-Id: I3d54199fc4a96c8c020f6d71d8e6bf2802cf45db
2013-12-22 13:46:34 -08:00
Dustin Sallings ae1a7aee58 EPERM any attempts to open files for writing in recent
Rather than allowing files to be opened read/write an than returning EIO
on actual writes, just don't let them be opened writable.

Change-Id: I73991e535adcde6eb012b28ae01537ffae1621bb
2013-12-22 13:06:39 -08:00
Aaron Boodman 3e21eb8f69 Merge "Manage FUSE mount" 2013-12-22 19:34:19 +00:00
Aaron Boodman 470cc265d7 Merge "New OS X Launcher" 2013-12-22 19:33:29 +00:00
Brad Fitzpatrick f7ca646516 Merge "Test search describe with time travel" 2013-12-22 17:40:48 +00:00
Brad Fitzpatrick 4b03458fa0 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-12-22 09:29:39 -08:00
Brad Fitzpatrick 450409d0a8 camput: rename -name flag to -title for consistency with other commands
Fixes camlistore.org/issue/285

Change-Id: Ide3fba2c40fc8e9f0ff187c183f2cc0acd97f68e
2013-12-22 09:29:32 -08:00
Dustin Sallings 84ff81d563 Test search describe with time travel
Change-Id: I6bd8dbfa64a27f4fa491655d52371487f6ea9bb5
2013-12-22 01:21:02 -08:00