RandomSec/extensions
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
..
database Bump mariadb-java-client from 2.6.0 to 2.6.1 (#2801) 2020-06-24 11:59:48 +02:00
gdata Improve Google Sheets upload (#2784) 2020-06-25 08:18:28 +02:00
jython Bump build-helper-maven-plugin from 3.1.0 to 3.2.0 2020-06-23 08:45:07 +00:00
pc-axis Bump build-helper-maven-plugin from 3.1.0 to 3.2.0 2020-06-23 08:45:07 +00:00
phonetic Bump build-helper-maven-plugin from 3.1.0 to 3.2.0 2020-06-23 08:45:07 +00:00
sample Revert "Revert "Migrate to Maven"" 2018-09-16 15:34:47 +01:00
wikidata Merge branch 'origin/master' into Weblate. 2020-06-24 21:41:53 +02:00
pom.xml Bump jacoco-maven-plugin from 0.8.2 to 0.8.5 (#2653) 2020-05-30 11:09:13 +01:00