Commit Graph

4416 Commits

Author SHA1 Message Date
Brad Fitzpatrick bff4e7cbbb importer: start of automatic recurring imports
Change-Id: Ib39e6bbf0295df963441d3ebd388558e94581ffb
2014-05-05 21:23:29 -07:00
Brad Fitzpatrick bf9b0ea332 importer/foursquare: incremental support.
Untested. On a plane.

Change-Id: I9a4b44b9457c8e0b25ac9cd0e0c87014a90ba10e
2014-05-05 20:18:47 -04:00
Brad Fitzpatrick 6d5eefaa31 C+A: add Bret Comnes (Individual CLA)
Change-Id: If73cc808a9426a003fe1f31c38b19aa5db96f702
2014-05-05 16:31:01 -04:00
Brad Fitzpatrick bfb610d4d5 importer/foursquare: don't fetch images if we already have
Change-Id: Ib36e1b7337efa2bcd3de2aa038005b11225e05a8
2014-05-05 11:51:28 -07:00
Brad Fitzpatrick 384b627b5e ui: reduce describe depth, using recursive describe instead
Updates issue https://code.google.com/p/camlistore/issues/detail?id=319

Change-Id: Ie02b0f565c6ff4c9582cecc78914392a60bf9502
2014-05-04 20:03:00 -07:00
Brad Fitzpatrick bf39d55941 search: recursive describe rules
Updates https://code.google.com/p/camlistore/issues/detail?id=319

Change-Id: I7ef0a0df28e306eaae969e07d9ccf1e7346316ef
2014-05-04 22:41:24 -04:00
Aaron Boodman 81cfa6f39f Don't show checkmark in container aspect right now because it's not operable
Change-Id: I63ccc449802e1d5437431ec3e3305d735a7d335e
2014-05-02 20:12:22 -07:00
Aaron Boodman 888a2e9f3f Add container aspect.
Change-Id: I54ea18ab91edb28413e01583231457b5190532c2
2014-05-02 20:11:01 -07:00
Aaron Boodman 4be7f8f977 Add a directory aspect.
Change-Id: I27700cabafda6143534b999859f071f478f44a36
2014-05-02 19:19:17 -07:00
Aaron Boodman f03f0568cc Remove cam.reactUtil.quacksLike because React 0.10.0 has this built-in.
Change-Id: Id76bfe32b52fcc3896eb57cd03c1967c6b8fbfac
2014-05-02 19:17:04 -07:00
Aaron Boodman df38df2275 Aspects: A new idea for the detail page.
http://imgur.com/Re14XKc,6fYHJqp,39nnQiT#0

Camlistore is built around the idea that every object is a blob,
but blobs can also self-describe themselves as more than a blob.

For example, some blobs are also files, or images, or sets, or
permanodes, or movies, or foursquare checkins. Etc.

Here is an idea for the detail page that reflects that underlying
reality of Camlistore.

Each blob has a single canonical URL in the web UI for its detail
page. Currently this is /?p=<...>, but should ideally be just
/<blobref>.

Within the web UI, many "aspects" register interest in providing
views on blobs. Each time the user navigates to a detail page,
each aspects gets to say whether it can provide a useful view on
the blob.

Aspects are currently rendered (crappily) as tabs along the bottom
of the UI. I'm not sure how they should actually be rendered, this
is temporary.

This patch includes the following aspects:
- image (the old image detail)
- permanode (the old old permanode page)
- blob (the old old blob page)

Change-Id: Idb3cdbb203799a5d9c113d1b37b67a2724040085
2014-05-02 19:13:08 -07:00
Aaron Boodman 632366d148 Upgrade React to 0.10.0.
Change-Id: I1c47fec4293b762f26103d41ebd1faacb96e26e5
2014-05-02 19:10:09 -07:00
mpl 45ce6cfdd3 mysql: replace mymysql with go-sql-driver
from github.com/go-sql-driver/mysql at 9a7aa3606b82e2081a13a008ada88dfdb96c20fd

Context: http://camlistore.org/issue/428

Change-Id: Ia93ac35da02933bd03d2c6b7b8e5e549ba0472cb
2014-05-01 17:42:51 +02:00
Mathieu Lonjaret bd52105da6 Merge "camtool: added googinit command" 2014-04-24 13:57:25 +00:00
jakubbrzeski e38dfda67a camtool: added googinit command
It initializes drive or googlestorage.
Deleted gsinit command.

Change-Id: I4d3b82018df9eec4d726cf91fd11be527c9a778a
2014-04-24 13:12:47 +02:00
Brad Fitzpatrick 8ac8437e91 index: add temporary hack for foursquare.com checkin times
Change-Id: Ia90097998ccb702b14c4634bb42be1e6387d61e8
2014-04-23 11:32:57 -07:00
Brad Fitzpatrick bfd35785ec search: temporarily hide foursquare.com:venue in results
Change-Id: If8d38ae4ba57852574b62991f612df6d59b7bbf5
2014-04-23 11:19:10 -07:00
Brad Fitzpatrick bf9f69bcfe search: allow searching by permanode location, not just file location.
Allows searching foursquare checkins by location.

Change-Id: Ib33d0b435a9bbc17cb860549b41d119f727197f0
2014-04-23 11:13:41 -07:00
mpl 8d307672b2 importer/twitter: follow up on little fixes
Change-Id: I6b7cfac3cf5893226016e819441f4cbbe458b4bf
2014-04-23 19:20:31 +02:00
Brad Fitzpatrick bf618fca6c importer/twitter: little fixes
Change-Id: I11ee5c6c5779c5e479120653f4131c0b4edfb2c8
2014-04-23 08:54:15 -07:00
Brad Fitzpatrick cea6b15013 Merge "twitter importer: fixed to new API" 2014-04-23 15:48:24 +00:00
Brad Fitzpatrick 5ace3bea0f Merge "httputil: allow full error serving when with devcam" 2014-04-23 15:26:30 +00:00
mpl ef5acd75e3 twitter importer: fixed to new API
Change-Id: I490001a1f780f1074baa78a4daa563e55096242c
2014-04-23 16:53:49 +02:00
Brian Gitonga Marete 21753c9350 pkg/blobserver: Modify the definition of the BlobStreamer interface.
Code implementing this interface will use NewBlob(), which has been
modified to return a pointer to blob.Blob. So change the StreamBlobs
function in this interface to also send *.blob.Blob

Change-Id: Ia3b94c3f41f95cb31e96762d4c39b3172cc978f2
2014-04-23 17:43:15 +03:00
mpl a8f8fd57cf httputil: allow full error serving when with devcam
When hacking on e.g. importers, I sometimes want to use devcam with
-hostname, to test with a non local context. In which case, when hitting
an error httputil.ServeError would not print the full error, which
makes it harder to debug.

Change-Id: I2fb8c97748d4f077404fbf12010addd6e7af3572
2014-04-23 15:19:55 +02:00
Brad Fitzpatrick bfd97aefb3 importer/foursquare: few little tweaks, mostly logging.
Change-Id: Iee200c348ee89bf5ef37b4394d6320bcdcff3842
2014-04-22 22:38:13 -07:00
mpl 33ba1ad928 importer/foursquare: remove unused oauthConfig
Change-Id: Ic663ad97ab41515d52e330544a546d58e8cbe583
2014-04-22 16:43:38 +02:00
Brad Fitzpatrick 4094db0ddf Merge "fix build error "errors imported but not used\ foursquare.go:21"" 2014-04-20 15:42:33 +00:00
Brad Fitzpatrick 317465375a Merge.
Change-Id: I05f6694a16935d9ef9b293c1be462308b60bfcb7
2014-04-19 13:02:42 -07:00
Brad Fitzpatrick 20eca7aad0 search: new DescribeRule describe support
Step towards getting rid of the the integer describe depth API.

Now, after the integer describe depth, all the DescribeRules will also
run to expand things.

Change-Id: I5cfe7e6058be51328e529a2299e13a6a2ba5f869
2014-04-19 12:58:55 -07:00
Eric Drechsel 7e2ced6c35 fix build error "errors imported but not used\ foursquare.go:21"
Change-Id: I03df0c1c9afb9154d6d91b71bf4ec32ccea35785
2014-04-19 10:46:34 -07:00
Brad Fitzpatrick 7ee0d657cd Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-04-18 18:20:06 -07:00
Brad Fitzpatrick 42cbd03db7 search: remove old, useless warning that misfires 2014-04-18 16:43:39 -07:00
mpl 8def41a4b5 Merge changes I74537a28,Ib8d2a7d1
* changes:
  importer/foursquare: remove unused initRoot function
  importer: doc typo
2014-04-18 20:50:43 +00:00
mpl 98e895de45 importer/foursquare: remove unused initRoot function
Change-Id: I74537a28ee31bf5062322aea113453030950a077
2014-04-18 22:30:09 +02:00
Brad Fitzpatrick 2c40575550 Merge "schema: unexport NewClaim" 2014-04-18 20:29:51 +00:00
Brad Fitzpatrick b7e4f96d0b Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-04-18 13:28:07 -07:00
Brad Fitzpatrick 6862ead4cc C+A: add Edward Sheffler III (Individual CLA) 2014-04-18 13:28:02 -07:00
Edward Sheffler III 04a38a2515 schema: unexport NewClaim
Change-Id: If088d7b8dd521f89093376282b84a64c59c7b778
2014-04-18 13:25:01 -07:00
mpl 09a80dff99 importer: doc typo
Change-Id: Ib8d2a7d1daf318ed2ec2228269942ff480331c2f
2014-04-18 21:56:31 +02:00
mpl 1a6f0fc1e1 website: rm dup and old section about trustedCerts
Change-Id: Ica9acdb6d6ec930c4079093da19661f4a3d58c6f
2014-04-18 18:10:34 +02:00
Brad Fitzpatrick 168c902865 serverinit: in genconfig, always register the importer handler
Change-Id: Ib6267b93e503dccffbf1a8ce3a3a95c9a04cf454
2014-04-17 10:23:53 -07:00
Brad Fitzpatrick 5d4f2dfefe serverinit: let genconfig's update_golden flag, even if files matched
Change-Id: I93cdd1b9a1945a975a1c8d2097e914ae2a8c77c1
2014-04-17 10:20:05 -07:00
Brad Fitzpatrick e0dad70437 serverinit: re-baseline genconfig testdata
Just re-run --update_golden, to get it all into canonical format,
to minimize the size of the next diff.

Apparently these have been hand-edited a lot.

Change-Id: Ib7dbd9d629b5501280652c695f538007934708d4
2014-04-17 10:18:55 -07:00
Daniel Erat 991675db09 test: Fix FakeIndex breakage from 82429eee.
Change-Id: I403fe39617b3d61212b6a0e6aeaffa350c441221
2014-04-16 09:35:41 -07:00
Daniel Erat 82429eeedb index,search: Return media tags for describe requests.
Change-Id: Ie983465554e1dc9f5475753a074e48b363f25013
2014-04-15 21:11:33 -07:00
Aaron Boodman 457a597112 Merge "Recent versions of Chrome no longer fire popstate on initial load." 2014-04-15 08:32:20 +00:00
Aaron Boodman 49010a1834 Recent versions of Chrome no longer fire popstate on initial load.
Back button broke as a result for first navigation. This fixes it
a different, more robust way.

Change-Id: I4a65c3d75d58dfbc186ae4532af7c9f385e463ea
2014-04-15 01:31:16 -07:00
mpl e8f99a9832 auth: fix OpUpload bitmask check
Change-Id: I7cc3487637c657762a28cb5aeb4abb253bbd1149
2014-04-15 01:40:52 +02:00
Eric Drechsel 17f44ca79c Fix React warning about unnecessary bind (with aspects CL as well)
Change-Id: Iff5755cda30beecbdbb0bb203518d9a0bf63c575
2014-04-14 21:15:05 +00:00