RandomSec/extensions/gdata
Tom Morris 83ed9ffdaf
Refactor importer APIs - Fixes #2963 (#2978)
* Make sure data directory is directory, not a file

* Add a test for zip archive import

Also tests the saving of the archive file name and source filename

* Add TODOs - no functional changes

* Cosmetic cleanups

* Revert importer API changes for archive file name parameter

Fixes #2963
- restore binary compatibility to the API
- hoist the handling of both fileSource and archiveFileName from
TabularImportingParserBase and TreeImportingParserBase to
ImportingParserBase so that there's only one copy. These 3 classes are
all part of the internal implementation, so there should be no
compatibility issue.

* Revert weird flow of control for import options metadata

This reverts the very convoluted control flow that was introduced
when adding the input options to the project metadata. Instead
the metadata is all handled in the importer framework rather than
having to change APIs are have individual importers worry about
it.

The feature never had test coverage, so that is still to be added.

* Add test for import options in project metadata & fix bug

Fixes bug where same options object was being reused and overwritten,
so all copies in the list ended up the same.
2020-07-23 18:36:14 +02:00
..
licenses Started deeper integration of GData: we now have a "Google Data" importing source, which lets you sign in and authorize access to your docs. It then lists all the spreadsheets you have access to. It does not yet let you import those spreadsheets. 2011-08-07 23:26:51 +00:00
module Translated using Weblate (Spanish) 2020-06-22 12:22:57 +02:00
src/com/google/refine/extension/gdata Refactor importer APIs - Fixes #2963 (#2978) 2020-07-23 18:36:14 +02:00
tests Improve Google Sheets upload (#2784) 2020-06-25 08:18:28 +02:00
LICENSE.txt Drop -extension suffix 2010-10-14 20:35:16 +00:00
pom.xml Merge pull request #2953 from OpenRefine/dependabot/maven/com.google.apis-google-api-services-sheets-v4-rev20200707-1.30.10 2020-07-22 16:11:41 -04:00
README.txt Issue 630: Change branding from Google Refine to OpenRefine 2012-10-18 19:40:31 -04:00

OpenRefine extension for Google Spreadsheets
by Tom Morris <tfmorris@gmail.com>

This extension provides Refine with the ability to read Google spreadsheets
directly so you don't have to export them as CSV files first.

Unpack the contents of this archive (jar, zip, etc) into the extensions folder
of your Refine installation and restart Refine.

Enter the *public* share URL of a Google Spreadsheet in the "Data File URL"
field of the "Create a New Project" pane of the Refine home page.

If you end up with a project full of HTML tags and an RSS feed, the extension
isn't installed properly.  A properly installed extension should have an About
page available at http://127.0.0.1:3333/extension/gdata/ (the trailing
slash is significant).


Known limitations:

- No write support
- No authentication support.  You must use the public share URL for the
  the Google spreadsheet you want to load.