Commit Graph

5117 Commits

Author SHA1 Message Date
Tom Morris
5f368bc56d
Use ContentDisposition instead of ContentType to control download (#2722)
* Use ContentDisposition instead of ContentType to control download

Fixes #1197. Previously we were using a funky ContentType to attempt
to force a file download rather than display in browser, but this
conflicted with attempts to save UTF-8 which was outside the Basic
Multilingual Plane (BMP).

By switching to ContentDisposition: attachment, which has been
the preferred method for a number of years, we can avoid this conflict.

As part of this, switch to using the "preview" param consistently
to control preview vs download rather than the content type.

* Switch content type to text/plain

Now that we don't need to use ContentType to control download
behavior, we can use something more reasonable.
2020-06-16 15:46:07 +02:00
dependabot-preview[bot]
66c409aec6
Bump mysql-connector-java from 5.1.46 to 8.0.20 (#2726)
* Bump mysql-connector-java from 5.1.46 to 8.0.20

Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 5.1.46 to 8.0.20.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/5.1.46...8.0.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Remove unneeded references to com.mysql.jdbc.ResultSetMetaData

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Tom Morris <tfmorris@gmail.com>
2020-06-16 15:05:20 +02:00
dependabot-preview[bot]
5ecb260fe4
Bump joda-time from 2.9.9 to 2.10.6 (#2738)
Bumps [joda-time](https://github.com/JodaOrg/joda-time) from 2.9.9 to 2.10.6.
- [Release notes](https://github.com/JodaOrg/joda-time/releases)
- [Changelog](https://github.com/JodaOrg/joda-time/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/JodaOrg/joda-time/compare/v2.9.9...v2.10.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-16 11:45:27 +02:00
dependabot-preview[bot]
5be2cf0806
Bump sqlite-jdbc from 3.30.1 to 3.31.1 (#2739)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.30.1 to 3.31.1.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.30.1...3.31.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-16 11:43:59 +02:00
Lisa Chandra
95e5e19eb3
Refactoring the data table into a single container (#2719)
* feat: Bounding the table to a single container

* Making the table more responsive

* fixing design

* remove references to adjustDataTables

* remove useless table-scroll function

* Fix naming and restore old styling

* fix border top & font size

* fix firefox css bug

* fix for XML/JSON Importers

* Fixed styling

* fixed typos

* fixed column rendering and added a sticky header

* fixed firefox borders

* fixed border and table background

* fix importer stylings (td)

Co-authored-by: kushthedude <kushthedude@gmail.com>
2020-06-16 11:40:13 +02:00
dependabot-preview[bot]
6f4b615f84
Bump slf4j-log4j12 from 1.7.18 to 1.7.30
Bumps [slf4j-log4j12](https://github.com/qos-ch/slf4j) from 1.7.18 to 1.7.30.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.18...v_1.7.30)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 08:19:06 +00:00
dependabot-preview[bot]
64990fd74c
Bump exec-maven-plugin from 1.3 to 3.0.0
Bumps [exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 1.3 to 3.0.0.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/exec-maven-plugin-1.3...exec-maven-plugin-3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 08:18:18 +00:00
Tom Morris
749704518c
Use Apache HTTP Commons for Fetch URL (#2692)
* Use mockwebserver instead of live network for tests

Fixes #2680. Fixes #1904.

* Remove use of deprecated methods

* Convert to use Apache HTTP Components client library

Fixes #1410 by virtue of redirect following being a built-in
capability of the library, along with retries with binary backoff,
built-in decompression, etc.

* Address review comments
2020-06-16 09:38:06 +02:00
Tom Morris
983c8bd422
Merge pull request #2704 from OpenRefine/dependabot/maven/javax.xml.bind-jaxb-api-2.3.1
Bump jaxb-api from 2.2.3 to 2.3.1
2020-06-15 23:44:16 -04:00
Tom Morris
19bd2fbfb1
Merge pull request #2732 from OpenRefine/dependabot/maven/main/com.google.guava-guava-24.1.1-jre
Bump guava from 23.6.1-jre to 24.1.1-jre in /main
2020-06-15 23:35:50 -04:00
Tom Morris
559494b75d Add TODOs for Jena RDF language names 2020-06-15 20:04:05 -04:00
Tom Morris
480bf4fb85 Update Jena to 3.15.0
Also add explicit dependency on Apache commons-io
which should be a transitive dependency, but doesn't
work for Jena 3.8+

Tried switching to standard packaging of
apache-jena-libs, but that doesn't know how
to find the JSONLD parser.
2020-06-15 20:01:45 -04:00
Tom Morris
348d82d131
Merge pull request #2725 from OpenRefine/issue-2724-wikidata-endpoint
Update URL of Wikidata reconciliation service
2020-06-15 17:20:05 -04:00
dependabot[bot]
2397647dca
Bump guava from 23.6.1-jre to 24.1.1-jre in /main
Bumps [guava](https://github.com/google/guava) from 23.6.1-jre to 24.1.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 21:19:11 +00:00
Tom Morris
b593306d1c
Merge pull request #2702 from OpenRefine/dependabot/maven/org.mariadb.jdbc-mariadb-java-client-2.6.0
Bump mariadb-java-client from 2.2.6 to 2.6.0
2020-06-15 17:18:31 -04:00
dependabot-preview[bot]
7fcea61132
Bump swc-parser-lazy from 3.1.7 to 3.1.9 (#2698)
Bumps swc-parser-lazy from 3.1.7 to 3.1.9.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 20:05:54 +02:00
james-cui
04055153a1
add archive column (#2573)
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-06-15 19:56:00 +02:00
Joanne Ong
d57d76f7df
Fix imprecise facet statistics in records mode (#2607)
* Fix bug in choice counts for records mode

* Add test for value grouper on records

* Refactor and comment code

* Count distinct instances of null/blank data

* Update test to check for blank data count in records

* Remove unnecessary import statement
2020-06-15 19:38:50 +02:00
Lisa Chandra
947356ddad
[FEAT]Adds new options for split (#2471)
* added options ui

* added definition for both separators

* added tests

* removed definitions from backend and added them to frontend

* added reverse order and handling for accented characters

* added tests for accented characters and reverse split

* fixed build errors

* unicode character ranges instead

* added examples
2020-06-15 19:30:18 +02:00
Antonin Delpeuch
307a52ee95
Merge pull request #2730 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-06-15 16:05:43 +02:00
Hosted Weblate
c70e100dcd
Merge branch 'origin/master' into Weblate. 2020-06-15 15:41:50 +02:00
Biswaranjan Manna
5fe05351a8
Translated using Weblate (Bengali)
Currently translated at 7.9% (59 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/bn/
2020-06-15 15:41:47 +02:00
Adolfo Jayme Barrientos
94af06fe0e
Translated using Weblate (Spanish)
Currently translated at 98.7% (731 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/es/
2020-06-15 15:41:45 +02:00
dependabot-preview[bot]
4e9d365fcd
Bump maven-compiler-plugin from 3.1 to 3.8.1 (#2728)
Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.1 to 3.8.1.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.1...maven-compiler-plugin-3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 11:20:38 +02:00
Antonin Delpeuch
1bb9e8a67e Update URL of Wikidata reconciliation service. Closes #2724 2020-06-15 00:35:10 +02:00
Tom Morris
bf1c890cc3
Unused imports and other minor cleanups (#2723)
* Two minor fixes

- prevent invalid index error on empty strings (shouldn't normally happen)
- update deprecated Apache Commons Lang method

* Remove unused imports
2020-06-14 21:18:02 +02:00
Tom Morris
03c860d961
Update jquery.i18n to 1.07 and fix non-English plural support (#2717)
* Update jquery.i18n to 1.07 and add missing rule parser

Fixes #2700
Adds missing CLDRPluralRuleParser.js so that plurals are supported.
Updates all files to jquery.i18n 1.07
Includes a bunch of specialty language support,
but only Finnish and Russian are loaded as examples.

* Add some missing translations, including plurals

Fix some cases of Javascript string concatenation and
plural conditionalization to demonstrate that plurals work
in both English and French now.

NOTE: Corresponding updates need to be made to all the other
language files since some keys were renamed or eliminated.
2020-06-14 10:23:23 +02:00
Antonin Delpeuch
683c00f535
Merge pull request #2718 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-06-14 10:19:21 +02:00
Thad Guidry
e8f9c7d065
Add comment to help designers understand TreeData (#2715) 2020-06-14 10:11:51 +02:00
dependabot-preview[bot]
686315b0c3
Bump signpost-commonshttp4 from 1.2.1.2 to 2.0.0 (#2695)
Bumps [signpost-commonshttp4](https://github.com/mttkay/signpost) from 1.2.1.2 to 2.0.0.
- [Release notes](https://github.com/mttkay/signpost/releases)
- [Changelog](https://github.com/mttkay/signpost/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mttkay/signpost/compare/1.2.1.2...oauth-signpost-2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-14 09:58:33 +02:00
chuhao zeng
9b03ecae41
Convert illegal characters into legal ones. (#2431)
* Convert illegal characters into leagal ones.

* Test tab in key & value string

Also fix up test that depended on previous TAB
related error message and clean up logging

Co-authored-by: Tom Morris <tfmorris@gmail.com>
2020-06-14 09:47:58 +02:00
Tom Morris
3a7812aef7
Load GDrive icon from local resource, not Github (#2689)
Fixes #2688.
2020-06-14 09:46:38 +02:00
Hosted Weblate
a9f7a55793
Merge branch 'origin/master' into Weblate. 2020-06-14 09:21:33 +02:00
Isao Matsunami
451d6c76f1
Translated using Weblate (Japanese)
Currently translated at 100.0% (60 of 60 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/ja/
2020-06-14 09:21:33 +02:00
Biswaranjan Manna
2946e6135c
Added translation using Weblate (Bengali (India)) 2020-06-14 09:21:31 +02:00
Tom Morris
7b41bbe0b0
Merge pull request #2708 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-06-13 23:07:04 -04:00
Tom Morris
1a452256e5
Merge pull request #2707 from OpenRefine/dependabot/maven/commons-validator-commons-validator-1.6
Bump commons-validator from 1.5.1 to 1.6
2020-06-13 22:58:28 -04:00
Tom Morris
cb65348c95
Merge pull request #2643 from OpenRefine/thadguidry-update-jython-version
Update to latest Jython version 2.7.2
2020-06-13 22:49:09 -04:00
Hosted Weblate
0416f840d9
Merge branch 'origin/master' into Weblate. 2020-06-13 21:41:52 +02:00
Rafael Fontenelle
0efffd8b10
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (60 of 60 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/pt_BR/
2020-06-13 21:41:49 +02:00
Rafael Fontenelle
dbac4388ee
Translated using Weblate (Portuguese (Brazil))
Currently translated at 6.7% (12 of 179 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/pt_BR/
2020-06-13 21:41:47 +02:00
Rafael Fontenelle
b8c93832a7
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/pt_BR/
2020-06-13 21:41:47 +02:00
Isao Matsunami
2dda2b1065
Translated using Weblate (Japanese)
Currently translated at 100.0% (179 of 179 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2020-06-13 21:41:45 +02:00
Isao Matsunami
901f05b79a
Translated using Weblate (Japanese)
Currently translated at 100.0% (60 of 60 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/ja/
2020-06-13 21:41:45 +02:00
Rafael Fontenelle
0839933944
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (740 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/pt_BR/
2020-06-13 21:41:44 +02:00
Isao Matsunami
c3c1f76c0d
Translated using Weblate (Japanese)
Currently translated at 100.0% (740 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2020-06-13 21:41:43 +02:00
Thad Guidry
13249ea252
Merge pull request #2709 from darecoder1999/issue-2675
Disables FacetContainer while computing clusters
2020-06-12 13:56:40 -05:00
darecoder1999
d91503f7c7 Disables FacetContainer while computing clusters
fixes #2675
2020-06-13 00:19:26 +05:30
Rafael Fontenelle
43cf319f79
Added translation using Weblate (Portuguese (Brazil)) 2020-06-12 20:40:58 +02:00
Rafael Fontenelle
f3dc3b0cf6
Added translation using Weblate (Portuguese (Brazil)) 2020-06-12 19:29:50 +02:00