Commit Graph

22 Commits

Author SHA1 Message Date
Brad Fitzpatrick 1ff2918602 importers: add SupportsIncremental accessor
If an importer is efficient at running regularly, it returns true.

If it's not true, the UI won't allow turning on automatic runs.

Flickr doesn't set it (yet).
2014-07-31 11:34:31 -07:00
mpl 2437ada83f foursquare: some attributes cleanup
Change-Id: I7a1d794e58b47edeef06c3d181991c8aa1eb0534
2014-07-31 01:50:36 +02:00
mpl 83437b0f05 Merge "importer: wire run (context) HTTP client with host HTTP client" 2014-07-17 20:53:10 +00:00
mpl 748fd21e96 importer: wire run (context) HTTP client with host HTTP client
Killing two birds with one stone: we don't need to set it in devcam
anymore now.

Also switched to using the short form (run's one) everywhere, for
consistency.

Change-Id: I1e72ab99a07392c4970b1ed19b6e460ff422a24a
2014-07-22 15:40:06 +02:00
mpl f81b88de6e importer/foursquare: make test data for devcam
http://camlistore.org/issue/417

Change-Id: I753ac91aae5bd876b28e4473e4cf00af460deb95
2014-07-21 23:56:58 +02:00
mpl e68742473d importer/foursquare: minor typo
Change-Id: Ic3c0d2f01ea0e6dc191500ed2856810e8c9581d6
2014-07-22 00:12:51 +02:00
Brad Fitzpatrick a4ee584a21 foursquare: use attribute definition now moved to importer.AcctAttrCompletedVersion
Change-Id: I1a72eda849aa68231015dd1d1f66390bb14d1943
2014-06-13 15:51:30 -07: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 bf9b0ea332 importer/foursquare: incremental support.
Untested. On a plane.

Change-Id: I9a4b44b9457c8e0b25ac9cd0e0c87014a90ba10e
2014-05-05 20:18:47 -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 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 317465375a Merge.
Change-Id: I05f6694a16935d9ef9b293c1be462308b60bfcb7
2014-04-19 13:02:42 -07:00
mpl 98e895de45 importer/foursquare: remove unused initRoot function
Change-Id: I74537a28ee31bf5062322aea113453030950a077
2014-04-18 22:30:09 +02:00
Aaron Boodman a4a41f89fd FS importer: fix filenames for category images and photos.
Change-Id: I16a1298c077abeadba52b563a336779fa9dce26a
2014-04-12 16:47:42 -07:00
Aaron Boodman 18eed8251a Custom rendering for Foursquare checkins.
Change-Id: I12e0bc49810deef1c5c14fe223ecd50c5949ac7c
2014-04-11 22:21:54 -07:00
Brad Fitzpatrick bff0eefefb importer: update the dummy importer with lots of docs
Change-Id: I6e7edc778e4bd14ce724ce445dc59ff8d0e0796d
2014-04-01 11:47:03 -07:00
Brad Fitzpatrick bf2a7b60a3 Importer overhaul. Only Foursquare is currently working.
The rest are currently stubbed out and will need updating
to the new APIs.

Change-Id: I9d70302b3ac1026192413bf9dcd3c8f1eb420349
2014-03-31 10:56:30 -07:00
Brad Fitzpatrick bf692123bf importer: use context.Context instead of Interrupt type
Change-Id: I79f93c6a14934320022b90500d926453e614d001
2014-03-21 12:27:06 -07:00
Nick O'Neill f4f4368a40 Added some icons for checkins and venues.
Change-Id: I4bfc5b7a8e099643c159ee6cb2532c71b0e62159
2014-03-11 18:23:13 -07:00
Nick O'Neill 729d5c5851 Import places and checkins from foursquare.
Change-Id: Ida2e411821f48a88212856398f5fe94caf7acd75
2014-03-11 17:31:17 -07:00
Brad Fitzpatrick d1f2ae227f Start of Foursquare importer.
Change-Id: I56b0e71a3aad697b82710ebea6fc941436a3c119
2014-01-14 20:45:23 -08:00