RandomSec/extensions/gdata
Tom Morris 3aa610d6aa
Improve Google Sheets upload (#2784)
* Support more than 26 columns

Google Sheets default to just 26 columns (A-Z) and we need to
explicitly add more columns if we need them.

Fixes #2760

* Improve Google Sheets upload

- upload in chunks instead of serializing the entire document at once
- Free up resources as we go
- stop if an error occurs
- reduce batch size to try and stay in 10MB request size limit
  (but need a more dynamic way to do this probably for very wide
   sheets or sheets with large values)

* Add basic test and do some cleanup

- add test for columns > 26
- refactor to allow testing and not depend on unnecessary fields
- add i18n TODO for translating spreadsheet description

* Preserve cell data types

Fixes #2785
- integers and floats are sent as Doubles
- bools as Boolean
- DateTimes as Strings
- nulls as the empty string
- anything else as Strings using .toString()

* Fix LGTM-flagged potentially null pointer dereference
2020-06-25 08:18:28 +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 Improve Google Sheets upload (#2784) 2020-06-25 08:18:28 +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 Bump google-api-services-drive 2020-06-25 03:08:30 +00: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.