Commit Graph

4478 Commits

Author SHA1 Message Date
Brian Gitonga Marete e9dd1af195 cmd/camget, cmd/camput, pkg/schema: Support FIFOs.
This patch:

1. Introduces a JSON schema for FIFOs (named pipes).
2. Adds support for uploading and restoring FIFOs to camput and camget
respectively.

It includes tests for the basic schema support in pkg/schema and
integration tests for camput and camget.

This CL does not add FIFO support to the HTTP server and fs (cammount
support) code. Those will be addressed in a subsequent patch.

Change-Id: Iab926073c36e653d25e693a559178bea9bf19b9a
2014-05-21 14:52:23 +03:00
mpl 03c676342f ui/search_session.js: make PAGE_SIZE_ static
Change-Id: Ife649587eb52188eaa3b5bbf0de01890c14cc9c4
2014-05-21 00:59:53 +02:00
mpl 50fb21d51c Merge "importer: update flickr" 2014-05-20 13:28:56 +00:00
mpl 2504230fb9 importer: update flickr
Works but only lightly tested.
Could use lots of refactoring with code common with twitter.
Needs a test too.

Change-Id: I07f72d29acbc0226aeeedba0afe0bf7eeeac5ad3
2014-05-20 01:40:52 +02:00
Aaron Boodman 0ac94db14b Don't process keyboard shortcuts when search box is focused.
Change-Id: I344c43c0048ace921b89b15c94c36e63d072cd3c
2014-05-18 15:54:42 -07:00
Aaron Boodman 1d71b7896a Merge "Support video content in detail view" 2014-05-18 19:19:12 +00:00
Aaron Boodman f7adfc2869 Support video content in detail view
Change-Id: I1a8d7bceefeff94a70dedf7cee7a9778fa61dd43
2014-05-18 12:16:35 -07:00
Aaron Boodman 3cad7e8ffd Merge "Beginning of a weird debug console thing that Brad requested." 2014-05-18 19:15:38 +00:00
mpl 411655bfe1 importer/feed: implement the new methods from 68ff8a20db
Change-Id: I76331b2265458a4261786697e9eb10f73f4ab034
2014-05-17 02:39:55 +02:00
Aaron Boodman fd7b2e518f Beginning of a weird debug console thing that Brad requested.
To open, type '|' while the search view is open.

Change-Id: Id5ff1325fb00a91fe76c618e215b742803c37f24
2014-05-16 17:28:33 -07:00
mpl 50afc86843 Merge "importer: let the implementations build and parse the callback URL" 2014-05-16 22:55:07 +00:00
mpl 68ff8a20db importer: let the implementations build and parse the callback URL
Credits to Tamás Gulácsi for finding out about the state parameter.

Change-Id: I139eb4f74e607278c9aee93fd40c25ae081d47e3
2014-05-17 00:51:04 +02:00
Brad Fitzpatrick 03e02c56a6 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-05-16 10:36:52 -07:00
Brian Gitonga Marete cfc97bcdb4 gitignore: Ignore auto-generated file bin/hello.
Change-Id: I38e1eb056dbdd29ddabce620c9621cd22696839d
2014-05-16 17:51:40 +03:00
Brad Fitzpatrick 56ed064b6a Start of 'proxycache' blobserver type.
Change-Id: I8702c1d02203090899eee6c0a555f6fc1dba4e7e
2014-05-15 12:12:21 -07:00
Brad Fitzpatrick 805232c9f3 jsonconfig: Int64 support
Change-Id: I933e5f86d0f5a55402ab9218fba8ffbfee8efa26
2014-05-15 12:11:24 -07:00
Brad Fitzpatrick 276450fd9d Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-05-14 16:07:41 -07:00
Brad Fitzpatrick bf9909028f schema: improved mixedArrayFromString
Change-Id: Iff9d68a498e13e5a90cd68c07ee9986c3407a8cc
2014-05-14 16:07:22 -07:00
Brad Fitzpatrick 276ebb88c5 Merge "search: Self-documenting atoms" 2014-05-14 23:04:54 +00:00
Steven L. Speek db1a4cf6aa search: Self-documenting atoms
Parse errors in the atoms have a position too
Easier to add new search predicates

Change-Id: I9d2e890b9afcfb524aafa8f1e4e1debc683555ac
2014-05-15 00:42:32 +02:00
Brad Fitzpatrick 5141595766 Add more to 0.8 release notes.
Change-Id: Ic84087ab7fa0e35d81c146c1ebf61426873c548b
2014-05-14 15:21:40 -07:00
Brad Fitzpatrick 7caa13966b Merge "Feed (rss/atom/rdf) importer" 2014-05-14 22:17:16 +00:00
Brad Fitzpatrick bf263cc036 twitter: add oauthContext to clean up some function signatures
Change-Id: I301d2ed8ee68aa316349c44bf0d20e4fcaacf99e
2014-05-14 14:34:31 -07:00
Brad Fitzpatrick ce6ef38cd1 Merge "importer/twitter: refactor credentials isolation" 2014-05-14 21:12:08 +00:00
mpl 991b540c8b importer/twitter: refactor credentials isolation
-store in the importer account the temporary credentials needed
during setup.
-store in the importer account the access token, and the access token
secret, and guard them. They are needed at the end of the setup (to get
the user's info) and all along a run.
-not share the same oauth.Client with the whole package. Create a new
one everytime it's needed in the setup. Create a new one at the beginning
of a run too, and it's ok to reuse it all along, since it's used
read-only.

Change-Id: I4823b35abf8a5170f63ca502026f6c8f98e2c1e7
2014-05-14 22:04:26 +02:00
Brad Fitzpatrick c9c737ed05 test: add forgotten file from 94ab7a8
Change-Id: Ied44257d300d55b6b65daedf8f8ebd1a407d53a9
2014-05-14 12:57:23 -07:00
Brad Fitzpatrick 94ab7a8f70 pkg/test: move importers' fakeTransport to test.NewFakeTransport
Change-Id: Iadefb6358983c0d479b269de47d368abf5e0c93b
2014-05-14 12:56:14 -07:00
Brad Fitzpatrick 363919041a Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-05-14 10:21:21 -07:00
Brad Fitzpatrick bf8e52a889 importer: periodic import
Change-Id: Id324890833cb8f5672a0fa3a8df342dc05e6298c
2014-05-14 10:21:16 -07:00
Brad Fitzpatrick da86ded96a Merge "index: Index MusicBrainz album IDs from music files." 2014-05-14 00:02:06 +00:00
mpl d5e10f3452 Merge "devcam review: submit changes for review" 2014-05-13 21:11:22 +00:00
mpl 4569a7f475 devcam review: submit changes for review
Context: http://camlistore.org/issue/408

Change-Id: I587de65c9dc8d87c02541096e1f4f7765e644962
2014-05-13 23:06:30 +02:00
Brad Fitzpatrick b3735123dd search: fix broken describe tests 2014-05-13 13:46:05 -07:00
Brian Gitonga Marete 630ba8c68f pkg/misc/amazon/s3: Fix test broken by commit bf8d6bdb.
Commit bf8d6bdb (s3: auto-select correct region, handle buckets with
dots in hostname) changed the definition of s3.Client replacing the
second field, which was of type *http.Client, with a field of type
http.RoundTripper. But the test utility function getTestClient() was
not modified accordingly. Fix this to make `go test' in
pkg/misc/amazon/s3 succeed again (without this fix the test fails to
build).

Change-Id: Ida383e2050e215cc2446303c0ce59aa7ab6e7981
2014-05-13 14:23:04 +03:00
Brad Fitzpatrick b7b72fe617 Merge "document camliRoot" 2014-05-13 00:58:13 +00:00
Brad Fitzpatrick bf618b030d importer: more work on regular background importing
Does it once on start-up now. But not regularly.

Change-Id: I4300e396ca389f7c03f5c5e3042d44ede0621367
2014-05-11 10:38:24 -07:00
Brad Fitzpatrick 623311cb22 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-05-09 20:29:10 -07:00
Brad Fitzpatrick bfede766b3 importer: linkify blobrefs, and start of automatic recurring importing
Change-Id: Ia172fe3e1cf762d328ad8a1886f545b4885337b0
2014-05-09 20:28:51 -07:00
Brad Fitzpatrick bf24666080 search: don't default to describe depth 4 anymore
Should no longer be necessary, and actually harmful often.

But this might break something. I can't find anything, though. We'll see.

Change-Id: I2b798a893100031b26251b0de7fa31ea5c4774d8
2014-05-09 20:23:15 -07:00
mpl 18421577d5 Merge "camtool sync, localdisk: cancel enumerate to avoid channel lock" 2014-05-08 23:38:45 +00:00
mpl a001c61339 camtool sync, localdisk: cancel enumerate to avoid channel lock
http://camlistore.org/issue/433

Change-Id: Id20d759dc5192dd34e69a866d8dcd44ca106d63b
2014-05-09 01:36:38 +02:00
Brad Fitzpatrick 5c41aa54b1 Merge "fuse: fix crash populating non-permanode camliPath" 2014-05-08 22:55:44 +00:00
mpl cb648792cd auth: fix test from 21dda2b4ef
Change-Id: I3f22a1eb181ffccce2a1377ff0a780a9e07a7ce9
2014-05-09 00:49:38 +02:00
Eric Drechsel 7e11b360a3 fuse: fix crash populating non-permanode camliPath
https://code.google.com/p/camlistore/issues/detail?id=440

Change-Id: If3b186d03a29ea6b3c9f0945173ede8709e318d6
2014-05-08 22:33:13 +00:00
Brad Fitzpatrick bf8d6bdb4f s3: auto-select correct region, handle buckets with dots in hostname
Fixes camlistore.org/issue/404

Change-Id: Ia6b3f51f1fd5beba585fa8dd8a918d30905fb9bb
2014-05-08 15:31:48 -07:00
Brad Fitzpatrick 559f6530a8 Merge "Switch to different S3 endpoint Switch to a URL in the form of https://s3.amazonaws.com/mybucket.mydomain.com/myObjectKey This adds support for buckets with periods in their name and S3 clones" 2014-05-08 22:22:47 +00:00
mpl cdd9a7322e Merge "app/hello: dummy server application (hello world)" 2014-05-08 20:52:10 +00:00
mpl 21dda2b4ef app/hello: dummy server application (hello world)
Change-Id: I6690b9459325af5a76d1de679d56701eefdd195e
2014-05-08 22:15:01 +02:00
mpl 4b1fb3d138 Merge "search: sort by creation time" 2014-05-08 17:11:45 +00:00
mpl 2088ce739b search: sort by creation time
Change-Id: I3695d91dde0d42419c62a23f20ba19416c53e5ef
2014-05-08 18:55:53 +02:00