Commit Graph

5043 Commits

Author SHA1 Message Date
Tom Morris
1849e62234
Better error handling for reconciliation process - fixes #2590 (#2671)
* Harden reconciliation - Fixes #2590

- check for non-JSON / unparseable JSON returns
- handle malformed results response with no name for candidates
- catch any Exception, not just IOExceptions
- call processManager.onFailedProcess() for cleanup on error

* Add default constructor for Jackson

Jackson complains about needing a default constructor for the
NON_DEFAULT annotation, but I'm not sure why this worked before.

* Clean up indentation and unused variable - no functional changes

Make indentation consistent throughout the module, changing recently
added lines to use the standard all spaces convention.

Remove unused count variable

* Simplify control flow

* Update limit parameter comment. No functional change.

* Replace ternary expression which is causing NPE

* Add reconciliation tests using mock HTTP server
2020-06-23 21:54:54 +02:00
dependabot-preview[bot]
408b782117
Bump build-helper-maven-plugin from 3.1.0 to 3.2.0
Bumps [build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/mojohaus/build-helper-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/build-helper-maven-plugin/compare/build-helper-maven-plugin-3.1.0...build-helper-maven-plugin-3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 08:45:07 +00:00
Tom Morris
6e66cb5144
Merge pull request #2734 from OpenRefine/dependabot/maven/org.codehaus.mojo-exec-maven-plugin-3.0.0
Bump exec-maven-plugin from 1.3 to 3.0.0
2020-06-22 13:08:11 -04:00
Tom Morris
0bfa3dd68a
Merge pull request #2745 from OpenRefine/dependabot/maven/org.codehaus.mojo-build-helper-maven-plugin-3.1.0
Bump build-helper-maven-plugin from 1.8 to 3.1.0
2020-06-22 13:06:02 -04:00
Tom Morris
6b00c7b602
Merge pull request #2782 from tfmorris/2306-gdata-empty-cells
Fix Google Sheets export with empty cells
2020-06-22 13:01:23 -04:00
Tom Morris
bf57667a47
Merge pull request #2789 from OpenRefine/dependabot/maven/org.apache.maven.plugins-maven-resources-plugin-3.1.0
Bump maven-resources-plugin from 2.6 to 3.1.0
2020-06-22 12:48:59 -04:00
Tom Morris
445395d18d
Merge pull request #2788 from OpenRefine/dependabot/maven/org.xerial-sqlite-jdbc-3.32.3
Bump sqlite-jdbc from 3.31.1 to 3.32.3
2020-06-22 12:36:31 -04:00
Tom Morris
5063466f16
Merge pull request #2781 from tfmorris/2780-missing-surefireArgs
Fix reference to undefined surfireArgs param
2020-06-22 11:24:01 -04:00
Antonin Delpeuch
17df444630
Merge pull request #2791 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-06-22 12:23:59 +02:00
Hosted Weblate
9524543eb2
Merge branch 'origin/master' into Weblate. 2020-06-22 12:22:58 +02:00
Adolfo Jayme Barrientos
c43214203b
Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/es/
2020-06-22 12:22:57 +02:00
Adolfo Jayme Barrientos
b94be34b73
Added translation using Weblate (Spanish) 2020-06-22 12:22:54 +02:00
Antonin Delpeuch
d30b21cf0f
Merge pull request #2790 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-06-22 12:22:23 +02:00
Hosted Weblate
1c63f6bf96
Merge branch 'origin/master' into Weblate. 2020-06-22 12:03:51 +02:00
Rafael Fontenelle
0da1b34095
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (753 of 753 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/pt_BR/
2020-06-22 12:03:51 +02:00
Adolfo Jayme Barrientos
e35358709a
Translated using Weblate (Spanish)
Currently translated at 99.4% (749 of 753 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/es/
2020-06-22 12:03:51 +02:00
Adolfo Jayme Barrientos
644e3b6499
Added translation using Weblate (Spanish) 2020-06-22 12:03:46 +02:00
dependabot-preview[bot]
a8ae5d37ed
Bump maven-resources-plugin from 2.6 to 3.1.0
Bumps [maven-resources-plugin](https://github.com/apache/maven-resources-plugin) from 2.6 to 3.1.0.
- [Release notes](https://github.com/apache/maven-resources-plugin/releases)
- [Commits](https://github.com/apache/maven-resources-plugin/compare/maven-resources-plugin-2.6...maven-resources-plugin-3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 08:45:55 +00:00
dependabot-preview[bot]
71028eb7ab
Bump sqlite-jdbc from 3.31.1 to 3.32.3
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.31.1 to 3.32.3.
- [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.31.1...3.32.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 08:45:54 +00:00
Antonin Delpeuch
3c355b2a5f Fix evaluation stage for surefireArgs 2020-06-22 06:28:13 +02:00
Tom Morris
85d4de8e2c Fix reference to undefined surfireArgs param
Restore parameter with an empty value
2020-06-22 00:21:07 -04:00
Tom Morris
e293602897
Restore character encoding guesser (#2755)
* Fixes #486. Builds on code from Steffen Stundzig

- Switch from ICU4J to juniversalchardet
  (Java port of Mozilla charset detector)
- Replace org.json code with Jackson
- Add tests
- Add TODO for multi-file character encoding mismatches

* Restore dependency lost in rebase

Co-authored-by: Steffen Stundzig <git@stundzig.de>
2020-06-22 06:04:51 +02:00
Tom Morris
9b8e750550 Don't skip empty cells on export
Make sure we output at least an empty string as a placeholder.
Fixes #2306
2020-06-21 23:16:46 -04:00
Tom Morris
7a1451f561 Report errors to user
No errors were being reported before.
Also add TODO for progress indicator on long uploads
2020-06-21 23:09:47 -04:00
Tom Morris
60ec57aff4
Merge pull request #2779 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-06-21 16:19:20 -04:00
Hosted Weblate
ba4b70db4e
Merge branch 'origin/master' into Weblate. 2020-06-21 21:41:51 +02:00
Isao Matsunami
8451e97fc8
Translated using Weblate (Japanese)
Currently translated at 100.0% (193 of 193 strings)

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

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

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2020-06-21 21:41:46 +02:00
Adolfo Jayme Barrientos
b1625c714d
Translated using Weblate (Spanish)
Currently translated at 99.4% (748 of 752 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/es/
2020-06-21 21:41:45 +02:00
Tom Morris
2977ffa167
Merge pull request #2778 from OpenRefine/2777-test-dependencies
Restrict copied jars to runtime dependencies
2020-06-21 15:09:28 -04:00
Antonin Delpeuch
e92200a35f Move jaxb-api dependency out of the test section 2020-06-21 20:56:33 +02:00
Tom Morris
5d6d0ad6ba
Add missing wiring for i18n plurals. (#2774)
* Add missing wiring for i18n plurals parser

* Fix goto page plural for French
2020-06-21 15:57:17 +02:00
Antonin Delpeuch
62cb20a201 Restrict copied jars to runtime dependencies. Fixes #2777 2020-06-21 15:36:17 +02:00
Antoine Beaubien
0cf7880391
(I #2765) Fix i18n not working in the Edit Pref Window (#2766)
* Fix i18n not working in the Edit Pref Window

Fix i18n not working in the Edit Pref Window, added an error message on failure.

* réussie -> réussi.
2020-06-21 08:26:00 +02:00
Antonin Delpeuch
0119cfd0d6
Merge pull request #2764 from OpenRefine/thadguidry-patch-delete-older-releases
Add new option for deleting tags associated to releases
2020-06-21 08:21:11 +02:00
Tom Morris
f361e4003c
Merge pull request #2773 from tfmorris/2751-merge-lgtm-configs
Merge LGTM.com configurations
2020-06-20 21:43:56 -04:00
Tom Morris
e5c161868f Merge .lgtm.yml and lgtm.yml
Although both names are supported, only the first configuration
found is used. Since lgtm.yml has higher precedence, we'll use
that to avoid the risk of future problems.
2020-06-20 21:16:35 -04:00
Tom Morris
6b015c0772
Fix Coveralls badge 2020-06-20 15:13:03 -04:00
Thad Guidry
6b2b38b41c
Add new option for deleting tags associated to releases
Graciously, Reddy has added a new option for us to `delete_tags`
https://github.com/dev-drprasad/delete-older-releases#delete_tags
2020-06-20 12:25:45 -05:00
Antonin Delpeuch
f7cd8bef50
Merge pull request #2763 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-06-20 14:05:20 +02:00
Hosted Weblate
eb752d7d5a
Merge branch 'origin/master' into Weblate. 2020-06-20 12:41:48 +02:00
Rafael Fontenelle
7d12275881
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (743 of 743 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/pt_BR/
2020-06-20 12:41:45 +02:00
Isao Matsunami
842de012df
Translated using Weblate (Japanese)
Currently translated at 100.0% (743 of 743 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2020-06-20 12:41:45 +02:00
Adolfo Jayme Barrientos
92ce62b0da
Translated using Weblate (Spanish)
Currently translated at 100.0% (743 of 743 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/es/
2020-06-20 12:41:44 +02:00
Antonin Delpeuch
4966e448d0
Include coverage statistics for the main module too (#2761)
* Include coverage statistics for the main module too

* Fix execution data path for main module
2020-06-19 22:45:49 +02:00
Antonin Delpeuch
9c7d4c2774 Fix coverage parameter injection phase 2020-06-19 21:27:59 +02:00
Antonin Delpeuch
ed78127142
Fix coverage computation (#2759)
* Fix coverage computation, closes #2266

* Add gdata to list of source directories for coverage
2020-06-19 21:22:19 +02:00
Tom Morris
e75d3c655a
Merge pull request #2758 from OpenRefine/dependabot/maven/org.apache.httpcomponents-httpcore-4.4.13
Bump httpcore from 4.4.9 to 4.4.13
2020-06-19 12:53:57 -04:00
Tom Morris
b59228185e
Merge pull request #2756 from OpenRefine/wikidata-extension-oauth
Wikidata extension two-legged OAuth support
2020-06-19 12:49:52 -04:00