Tamás Gulácsi
7402cc0efd
Delete misc unused objects
...
Using honnef.co/go/unused/cmd/unused
Change-Id: I672b3cb77f09e9bd80dcdc149cde4f7f2939e451
2016-04-06 17:59:51 +02:00
Will Norris
77ed42edf8
add canonical import paths
...
The import path was added to the go file that included the package
documentation if one existed. Otherwise, I used what seemed to be the
primary file for the package.
Fixes #689
Change-Id: If51be0e86529fd6f179e80af6781e639f8550fd2
2016-03-13 19:57:14 -07:00
Brad Fitzpatrick
af36d78bd7
env: add IsDev and use it everywhere
...
Change-Id: I5547ce989c05f1f48774f24abee41c489326baa0
2015-04-02 05:55:01 -07:00
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
Tamás Gulácsi
cbb777ffb0
Rewrite Picasa importer for the new Importer API
...
Reorganizes common OAuth2 things into importer/oa2_importers.go
Rewrites CallbackURLParameters to return url.Values.
A controversial workaround for nil context has been left out,
and this may cause panic and will need a proper fix.
Change-Id: I0789f4732412aa559078ec2c6b6797925ab8cd05
2014-05-21 22:37:50 +02: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
bfb13b62b9
dummy importer: only register if in dev mode
...
Change-Id: I5db990f1c3822e755d7968ddd71939930525e2e9
2014-04-01 15:11:05 -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
Brad Fitzpatrick
ed889d38be
dummy importer: upload a file and make a node.
2013-11-21 17:51:13 -08:00
Aaron Boodman
fde2936507
Remove some unnecessary code from dummy importer.
...
Change-Id: Ifd1cb70f6f5e11261353e8fe16d17c348ea95f12
2013-11-16 22:43:17 -08:00
Aaron Boodman
9ae23e52b0
Rearrange the Flickr importer to use OAuth instead of Flickr's custom importer.
...
Change-Id: I8284431fa6572a08d3c7ff0d0e655297627a4eda
2013-11-16 22:30:21 -08:00
Brad Fitzpatrick
e84d5865cf
importer: rudimentary manual start/stop of importers
...
Change-Id: I753f3d6e4a241c803f79446889169c4a25f1bdf3
2013-10-19 16:59:46 -07:00
Brad Fitzpatrick
cf116c6da9
importer: work on infrastructure for third-party import from other sites
...
Change-Id: Ib4e5e4d543a1b2a913b99fa0a4d92f1a5b94c5dc
2013-10-19 15:48:05 -07:00