Commit Graph

1183 Commits

Author SHA1 Message Date
Antonin Delpeuch
952447461f
Fix wikidata logout when credentials have expired. Fixes #2873 (#2878) 2020-07-04 08:38:17 +02:00
Tom Morris
a88aeca304
Merge pull request #2854 from OpenRefine/dependabot/maven/com.google.apis-google-api-services-sheets-v4-rev20200616-1.30.9
Bump google-api-services-sheets from v4-rev20200508-1.30.9 to v4-rev20200616-1.30.9
2020-07-03 15:27:21 -04:00
Tom Morris
de2c2aa778
Correct mimetype for Google Drive project exports (#2829)
Fixes #2797. Changes mimetype from zip to gzip
and adds .tar.gz extension to the name.
2020-07-03 14:24:25 +02:00
Ekta Mishra
c68047a614
Implemented QuantityScrutinizer tests using Mocks (#2862)
* Implemented QunatityScrutinizer tests using Mockito

Updated test cases and added AllowedUnitsConstraint class

* Test cases updated
2020-07-03 14:14:32 +02:00
Ekta Mishra
9edb1e514d
Implemented Difference-within-range Scrutinizer tests using mocks (#2864)
Updated all test cases and added DifferenceWithinRangeConstraint class.
2020-07-03 14:13:31 +02:00
Ekta Mishra
cd0ed11dad
Implemented Format Scrutinizer tests using Mockito (#2849)
* Implemented Format Scrutinizer tests using Mockito

Updated implementation of the scrutinzer & tests

* Testcases updated in FormatScrutinizerTest
2020-07-02 16:28:56 +02:00
Ekta Mishra
9dfb9114c4
Implemented QualifierComaptibilty Scrutinizer tests using Mockito (#2860)
Updated test cases & added AlLowedQualifierConstraint and MandatoryQualifierConstraint classes.
2020-07-02 14:22:50 +02:00
Ekta Mishra
67bc8581ce
Implemented InverseScrutinizer tests using Mocks (#2855)
* Implemented InverseScrutinizer tests using Mocks

updated testcases and added InverseConstraint Class

* Test cases updated & working fine
2020-07-01 20:49:15 +02:00
dependabot-preview[bot]
cd0d4bdda9
Bump google-api-services-sheets
Bumps google-api-services-sheets from v4-rev20200508-1.30.9 to v4-rev20200616-1.30.9.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 08:26:36 +00:00
dependabot-preview[bot]
b9dedc4438
Bump google-http-client-jackson2 from 1.35.0 to 1.36.0
Bumps [google-http-client-jackson2](https://github.com/googleapis/google-http-java-client) from 1.35.0 to 1.36.0.
- [Release notes](https://github.com/googleapis/google-http-java-client/releases)
- [Changelog](https://github.com/googleapis/google-http-java-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-http-java-client/compare/v1.35.0...v1.36.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 08:26:18 +00:00
Ekta Mishra
cef2e84e7f
Implemented EntityTypeScrutinizer tests usings mocks (#2839)
Updates all the testcases in EntityTypeScrutinizerTest
2020-06-30 22:59:43 +02:00
Tom Morris
b64cbfea4f
Fix i18n. Fixes #2805 (#2847)
Fix database extensions exporter which is corrupting the dictionary
name with the value of the language.
2020-06-30 08:22:12 +02:00
Ekta Mishra
bc672047f6
Implemented DistinctValueScrutinizer tests using mockito (#2833)
* Implemented DistinctValueScrutinizer tests using mcokito

Added inner class to the scrutinizer and updated the tests using mocks.

* Tests updated-testNoIssue added

* all tests updated & working fine
2020-06-29 16:00:37 +02:00
Ekta Mishra
46c510b5e2
Implemented SingleValue Scrutinizer tests using mocks (#2818)
* Implemented SingleValue Scrutinizer tests using mocks

Updated test class & added inner class to the scrutinizer

* tests updated

* Updated SingleValueConstraint class
2020-06-29 15:59:53 +02:00
Ekta Mishra
f32f6a6ea2
Change return type of getConstraintsByType method (#2838)
changed the return type of getConstraintsByTpye method from Stream<Statement> to List<Statement>
2020-06-29 08:43:38 +02:00
Tom Morris
bc540a880e
Fix update to deprecated Google Drive credential code (#2828)
No issue. Restore missing piece of commit 42354c0 so that Builder
has the method parameter that it needs.
2020-06-28 23:07:06 +02:00
Ekta Mishra
1b04927d12
Add constraint class (#2822)
* Add constraint class

* Add constraint class

* updated names
2020-06-28 10:20:18 +02:00
Ekta Mishra
7ac41b4609
Implemented ConflictsWithScrutinizer tests using Mockito (#2804)
updated test class by creating mocks for ConstraintFetcher

Implemented tests for conflicts-with scrutinizer using mocks

Added testcase for no statementList & multiple constraint.

Implemented tests using mock for conflicts-with scrutinizer

Implemented tests using mock for conflicts-with scrutinizer

Added test case for multiple constraints

Added test case for multiple constraints
2020-06-27 17:17:20 +02:00
Ekta Mishra
8c1d8cdcb7
New implementation for Multivalue Scrutinizer (#2807)
Created inner class for Multivalue & mocks for unit tests

New implementation for multivalue scrutinizer

tests updated
2020-06-26 10:14:34 +02:00
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
dependabot-preview[bot]
3c4712fb43
Bump google-api-services-drive
Bumps google-api-services-drive from v3-rev20200413-1.30.9 to v3-rev20200609-1.30.9.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 03:08:30 +00:00
Hosted Weblate
07fbc70ada
Merge branch 'origin/master' into Weblate. 2020-06-24 21:41:53 +02:00
Adolfo Jayme Barrientos
b581721ede
Translated using Weblate (Spanish)
Currently translated at 94.3% (182 of 193 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/es/
2020-06-24 21:41:50 +02:00
dependabot-preview[bot]
55171a85eb
Bump mariadb-java-client from 2.6.0 to 2.6.1 (#2801)
Bumps [mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/2.6.0...2.6.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-24 11:59:48 +02:00
Tom Morris
76d30ee1f0
Merge pull request #2794 from OpenRefine/dependabot/maven/org.codehaus.mojo-build-helper-maven-plugin-3.2.0
Bump build-helper-maven-plugin from 3.1.0 to 3.2.0
2020-06-23 17:08:40 -04:00
Tom Morris
d97d6c66b8
Update Google API dependencies for GData extension (#2754)
* Update Google API dependencies for Sheets & Drive

Remove unnecessary direct dependencies which are transitive
dependencies of those.

* Fix use of deprecated class
2020-06-23 21:55:46 +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
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
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
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
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
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
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
Ekta Mishra
45fab05bf6
New implementation for Conflicts-With Scrutinizer (#2693)
part of #2354
2020-06-19 10:18:21 +02:00
afkbrb
ffd92663d7 delete outdated comment 2020-06-19 15:09:23 +08:00
afkbrb
7b237b4d83 call setSecure explicitly & fix HTTP response splitting 2020-06-19 14:38:35 +08:00
Antonin Delpeuch
4fb0ac8082 Fix bad conflict resolution from rebase 2020-06-19 00:06:22 -04:00
afkbrb
cdb02004fd improve frontend 2020-06-18 23:51:22 -04:00
Lu Liu
335e81a26c OAuth support for the Wikidata extension (#2661)
Closes #1612 

Merges @afkbrb work to finish @wetneb protype, including:
* adding support for OAuth in addition to basic auth
* supporting registration of single user Wikidata OAuth consumers.
* adding extensive tests
* cleaning up the login dialog

This depends on the next release of the Wikidata Toolkit, but we're currently publishing our own snapshot that includes the necessary changes (thanks @wetneb!)

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-06-18 23:51:22 -04:00
Tom Morris
f88c0e3657
Preserve international characters in project/file names on import/export (#2720)
* Preserve international characters on import/export

Fixes #1352. Preserve non-ASCII characters in project names on
project creation and filenames on export.

Uses existing filename cleaner with the addition of a few
more characters from StackOverflow, plus "#" which messes
up the download URL. Also URIencode download URL.

Removes unused I18N-incompatible cleaning function from
Wikidata extension rather than fixing it.

* Use common name cleaner function

Also preview cleaned table name instead of raw name, so user can see it.
Also add a TODO for better preview of column names
2020-06-18 22:06:46 +02:00
dependabot-preview[bot]
6ff800fa76
Bump postgresql from 42.1.4 to 42.2.14 (#2744)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.1.4 to 42.2.14.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.1.4...REL42.2.14)

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-17 12:10:41 +02:00
dependabot-preview[bot]
b53d738df8
Bump build-helper-maven-plugin from 1.8 to 3.1.0
Bumps [build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin) from 1.8 to 3.1.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-1.8...build-helper-maven-plugin-3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 08:26:08 +00: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]
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
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
james-cui
04055153a1
add archive column (#2573)
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-06-15 19:56:00 +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
683c00f535
Merge pull request #2718 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-06-14 10:19:21 +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
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
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
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
Hosted Weblate
4a2f3c2b82
Merge branch 'origin/master' into Weblate. 2020-06-12 18:55:36 +02:00
Rafael Fontenelle
fbb3836916
Added translation using Weblate (Portuguese (Brazil)) 2020-06-12 18:55:33 +02:00
dependabot-preview[bot]
225fe2f881
Bump mariadb-java-client from 2.2.6 to 2.6.0
Bumps [mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 2.2.6 to 2.6.0.
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/2.2.6...2.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-12 08:18:01 +00:00
Tom Morris
a7e84e8a56
Merge pull request #2697 from OpenRefine/dependabot/maven/powermock.version-2.0.7
Bump powermock.version from 2.0.2 to 2.0.7
2020-06-11 21:44:15 -04:00
dependabot-preview[bot]
c8f8290aa1
Bump slf4j-api from 1.7.18 to 1.7.30
Bumps [slf4j-api](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-12 01:33:00 +00:00
dependabot-preview[bot]
af9e5ab3f0
Bump powermock.version from 2.0.2 to 2.0.7
Bumps `powermock.version` from 2.0.2 to 2.0.7.

Updates `powermock-module-testng` from 2.0.2 to 2.0.7
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.2...powermock-2.0.7)

Updates `powermock-api-mockito2` from 2.0.2 to 2.0.7
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.2...powermock-2.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:23:05 +00:00
dependabot-preview[bot]
2c490e101c
Bump httpclient from 4.5.5 to 4.5.12
Bumps httpclient from 4.5.5 to 4.5.12.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:22:37 +00:00
Tom Morris
2adb789a09
Merge pull request #2665 from OpenRefine/dependabot/maven/com.google.http-client-google-http-client-jackson2-1.35.0
Bump google-http-client-jackson2 from 1.20.0 to 1.35.0
2020-06-10 20:50:27 -04:00
Tom Morris
09a76a1f05
Merge pull request #2676 from OpenRefine/dependabot/maven/org.jasypt-jasypt-1.9.3
Bump jasypt from 1.9.2 to 1.9.3
2020-06-10 20:33:16 -04:00
Tom Morris
e3df28c155
Merge pull request #2672 from OpenRefine/dependabot/maven/org.testng-testng-7.1.0
Bump testng from 6.9.10 to 7.1.0
2020-06-10 20:29:07 -04:00
dependabot-preview[bot]
28d7f93edb
Bump google-http-client-jackson2 from 1.20.0 to 1.35.0
Bumps [google-http-client-jackson2](https://github.com/googleapis/google-http-java-client) from 1.20.0 to 1.35.0.
- [Release notes](https://github.com/googleapis/google-http-java-client/releases)
- [Changelog](https://github.com/googleapis/google-http-java-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-http-java-client/compare/1.20.0...v1.35.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 00:11:01 +00:00
darecoder1999
4983dbc0f7 Fixed typos made in PR #2641 2020-06-10 09:45:53 +05:30
Ekta Mishra
cf851ee636
Added conflicts-with constraints (#2641)
Implemented conflicts-with scrutinizer as part of #2354
2020-06-09 20:45:15 +02:00
Isao Matsunami
77e8aa3c88
Translated using Weblate (Japanese)
Currently translated at 100.0% (177 of 177 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2020-06-07 16:53:30 +02:00
Allan Nordhøy
123c2580e3
Translated using Weblate (English)
Currently translated at 100.0% (177 of 177 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/en/
2020-06-07 16:53:30 +02:00
Isao Matsunami
6dff3e3026
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-07 16:53:29 +02:00
Ekta Mishra
1638d68e35
Added difference-within-range Scrutinizer (#2634) 2020-06-06 19:48:14 +01:00
dependabot-preview[bot]
46021fbe33
Bump jasypt from 1.9.2 to 1.9.3
Bumps [jasypt](https://github.com/jasypt/jasypt) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/jasypt/jasypt/releases)
- [Commits](https://github.com/jasypt/jasypt/commits/jasypt-1.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:50:36 +00:00
dependabot-preview[bot]
56bbb073cd
Bump testng from 6.9.10 to 7.1.0
Bumps [testng](https://github.com/cbeust/testng) from 6.9.10 to 7.1.0.
- [Release notes](https://github.com/cbeust/testng/releases)
- [Changelog](https://github.com/cbeust/testng/blob/master/CHANGES.txt)
- [Commits](https://github.com/cbeust/testng/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 08:49:47 +00:00
dependabot-preview[bot]
72b8bfed05
Bump commons-lang3 from 3.6 to 3.10 (#2648)
Bumps commons-lang3 from 3.6 to 3.10.

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-03 07:03:01 +01:00
dependabot-preview[bot]
88ab328e93
Bump mockito-core from 2.23.4 to 3.3.3 (#2662)
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.23.4 to 3.3.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.23.4...v3.3.3)

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-03 07:01:22 +01:00
Tom Morris
16a7209b17
Merge pull request #2660 from OpenRefine/2659-type-constraint
Fix Wikidata entity type constraint violation message
2020-06-01 19:14:22 -04:00
Antonin Delpeuch
5f75da74bf Fix Wikidata entity type constraint violation message. Closes #2659 2020-05-31 14:36:32 +01:00
Ekta Mishra
29a757dc57
Added support for Multi-value Constraint in Wikidata extension (#2629) 2020-05-31 14:24:51 +01:00
dependabot-preview[bot]
c414dfbb5c
Bump jacoco-maven-plugin from 0.8.2 to 0.8.5 (#2653)
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.2 to 0.8.5.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.2...v0.8.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 11:09:13 +01:00
dependabot-preview[bot]
7058f39aee
Bump maven-dependency-plugin from 3.1.1 to 3.1.2 (#2651)
Bumps [maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.1.1...maven-dependency-plugin-3.1.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 10:49:21 +01:00
Antoine Beaubien
356c7636d8
Only show the database login fields when necessary (#2615)
* DB login fields visibility controled by CSS

The database login field’s visibility is now controled by CSS styling.

* Change field name from Database to Database file.

Change field name from Database to Database file.

* Use full db name as CSS classes

Use full db name instead of diminutives for the CSS classes.

* Added translation to placeholders

Added translation to the Input placeholders.

* Undo a change, remerge Database field & File

remerge Database field and DatabaseFile Field like before.

* Created DatabaseSourceUI._updateDatabaseType(dbType)

Created Refine.DatabaseSourceUI.prototype._updateDatabaseType(databaseType)

* Make MySQL the default database

<option value="mysql" selected="selected"">MySQL</option>

* Update database-import-form.html

Fixed typo. (<option value="mysql" selected="selected">MySQL</option>)

* New default connection name value

New default connection name value, translation of it, changing cssClassName from options to dbtype-options, adding the prefix "dbt-" to the db types and fix the changing of placeholder databaseName/databaseFileName when neccessary.

* Fix issue with « saved connections »

Fix issue with « saved connections » and added 2 defaults values for dbHost and dbType.

* Default DB back to MySQL.

<option value="mysql" selected="selected">MySQL</option>

* Update extensions/database/module/langs/translation-en.json

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Better default with « mysql »

* Fix sqlite #databaseHost before calling self._updateDatabaseType()

Fix $( "#databaseHost" ).val(self._defaultDatabaseHost) to be set before calling self._updateDatabaseType(self._defaultDatabaseType) that may change it.

* Removed field name & fixed default connection name

Removed field name text since it's populated from i18n and fixed the default connection name so that it has no space in it.

* Little update to placeholder text

Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2020-05-30 09:20:05 +01:00
Thad Guidry
475507a787
Update to latest Jython version 2.7.2
Closes #2642
2020-05-27 12:08:05 -05:00
Tom Morris
f478356e17
Restore copyrights (#2633)
* Restore copyrights deleted in c758a6b635

* Update copyright notices
2020-05-22 06:01:15 +02:00
Weblate (bot)
1694400fea
Minor Japanese translation updates from Weblate (#2621)
* 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/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (171 of 171 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/ja/

Co-authored-by: Isao Matsunami <isao.matsunami@gmail.com>
2020-05-21 18:18:06 -04:00
Tom Morris
219ce236a2
Make parameter naming consistent - wikibase.upload.maxLag (#2631)
Fixes #2304 & #2469
2020-05-21 20:39:34 +02:00
Ekta Mishra
83a4fb4b25
Replaced isInstance method by instanceOf operator (#2620)
Added if brackets to single statement if-blocks

Replaced isinstance method by instanceOf operator

Revert "Added if brackets to single statement if-blocks"

This reverts commit 8e875fbf9ef9724e9d3b89f08fd396aa90865814.
2020-05-14 08:32:50 +02:00
Antonin Delpeuch
d7d567439e Set version to 3.5-SNAPSHOT 2020-05-13 22:56:33 +02:00
Antonin Delpeuch
5597e1c942 Set version to 3.4-beta 2020-05-13 22:52:25 +02:00
Ekta Mishra
d6c5f5d35b
Added if brackets to single statement if-blocks (#2617) 2020-05-13 20:12:23 +02:00
Hosted Weblate
4813422acb
Merge branch 'origin/master' into Weblate. 2020-04-29 06:59:22 +02:00
Luca Martinelli
a3b22a1884
Translated using Weblate (Italian)
Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/it/
2020-04-29 06:59:20 +02:00
Antonin Delpeuch
6441a2a1f6
Fix Enter key behaviour in Wikidata login form. Closes #2565 (#2566) 2020-04-26 15:39:10 +02:00
Thad Guidry
009c587437
remove unused imports (#2574) 2020-04-21 15:51:01 +02:00
Antoine Beaubien
da5bdcfdad
Update perform-edits-dialog.js to trap [RETURN] in editSummary and proceed to action (#2550)
* Update perform-edits-dialog.js

Adding PerformEditsDialog.doFormSubmit() to share with keypress() [RETURN] from editField and « Edit Uploads ».

* var doFormSubmit = function()…

Change PerformEditsDialog.doFormSubmit to  var doFormSubmit = function()

* Update perform-edits-dialog.js

Convert [TAB] to 2x [SPACE].

* Update perform-edits-dialog.js

Move evt.preventDefault(); to where it belongs.

* Update perform-edits-dialog.js

Spacing corrections.

* Update perform-edits-dialog.js

Spacing corrections.
2020-04-20 09:16:06 +02:00
Jeannette L
d5e3e87ef7
Translated using Weblate (French)
Currently translated at 97.8% (46 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/fr/
2020-04-18 09:45:38 +02:00
Antonin Delpeuch
50d9bf34dd
Translated using Weblate (French)
Currently translated at 94.1% (161 of 171 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2020-04-15 19:11:20 +02:00
Isao Matsunami
1b2d22743a
Translated using Weblate (Japanese)
Currently translated at 100.0% (171 of 171 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2020-04-15 19:11:19 +02:00
Hosted Weblate
fe30495fd4
Merge branch 'origin/master' into Weblate. 2020-04-14 14:51:01 +02:00
Antonin Delpeuch
d9ed6f2e38
Translated using Weblate (French)
Currently translated at 89.4% (153 of 171 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2020-04-14 14:51:00 +02:00
Antonin Delpeuch
214ee3a76e Merge translation changes with #2528 2020-04-14 14:46:14 +02:00
Hosted Weblate
e18fe39f12
Merge branch 'origin/master' into Weblate. 2020-04-14 11:11:42 +02:00
Isao Matsunami
b4710c19d5
Translated using Weblate (Japanese)
Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/ja/
2020-04-14 11:11:40 +02:00
Isao Matsunami
c2af70d152
Translated using Weblate (Japanese)
Currently translated at 100.0% (169 of 169 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2020-04-14 11:11:39 +02:00
Antonin Delpeuch
7cb8bb360b
Fix export items in Wikidata extension menu. Closes #2527 (#2528) 2020-04-14 09:57:52 +02:00
Hosted Weblate
09cac65495
Merge branch 'origin/master' into Weblate. 2020-04-11 00:09:55 +02:00
Ciarán Ainsworth
e175c3c365
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (169 of 169 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/en_GB/
2020-04-11 00:09:52 +02:00
Ciarán Ainsworth
6693ad065d
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (50 of 50 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/en_GB/
2020-04-11 00:09:44 +02:00
Antonin Delpeuch
d7ee1f5b3d
Update WDTK to 0.11.1. Closes #2526 (#2529) 2020-04-08 17:23:03 +02:00
Ekta Mishra
7a7ba57d91
Grabbing cursor added while adding items for creating wikidata schema (#2491)
Closes #2484
2020-03-28 19:10:04 +01:00
Allan Nordhøy
45a98c73d2
Translated using Weblate (Norwegian Bokmål)
Currently translated at 82.9% (39 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/nb_NO/
2020-03-27 23:29:10 +01:00
Allan Nordhøy
56f4a1914a
Translated using Weblate (English)
Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/en/
2020-03-27 23:29:09 +01:00
james-cui
7311581df0
make maxlag configurable (#2469) 2020-03-26 08:46:49 +01:00
Agha Saad Fraz
cff88e6267
Added google sheet feature and moved features to the export drop-down (#2458)
* fixed minor typos

* Added google sheet feature and moved features to the export drop-down menu

* minor change

* removed redundant text and moved code and translations into their respective extensions
2020-03-23 11:14:02 +01:00
黄添祥
7e59611732
Translated using Weblate (Chinese (Simplified))
Currently translated at 38.0% (19 of 50 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/zh_Hans/
2020-03-19 09:36:37 +01:00
黄添祥
0096f89499
Added translation using Weblate (Chinese (Simplified)) 2020-03-18 09:01:14 +01:00
Hosted Weblate
439b399ab4
Merge branch 'origin/master' into Weblate. 2020-03-17 13:36:39 +01:00
Bodhisattwa Mandal
204e436eab
Translated using Weblate (Bengali)
Currently translated at 13.6% (6 of 44 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/bn/
2020-03-17 13:36:37 +01:00
Bodhisattwa Mandal
aa25e91263
Translated using Weblate (Bengali)
Currently translated at 29.7% (50 of 168 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/bn/
2020-03-17 13:36:36 +01:00
Bodhisattwa Mandal
786e799fa2
Translated using Weblate (Bengali)
Currently translated at 4.0% (2 of 50 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/bn/
2020-03-17 13:36:35 +01:00
Bűn Tamás
9c911275f6
Fixed that can't select a different sheet #2307 (#2390) 2020-03-17 11:00:27 +00:00
Bodhisattwa Mandal
c84573d992
Added translation using Weblate (Bengali) 2020-03-16 12:59:09 +01:00
Bodhisattwa Mandal
005e4958cc
Added translation using Weblate (Bengali) 2020-03-16 12:53:43 +01:00
Hosted Weblate
f6a80d2241
Merge branch 'origin/master' into Weblate. 2020-03-16 10:36:04 +01:00
Bodhisattwa Mandal
7b45f3036c
Added translation using Weblate (Bengali) 2020-03-16 10:36:00 +01:00
Lu Liu
c20dc69294
mock Wikidata service (#2412) 2020-03-14 15:36:09 +00:00
Thad Guidry
089a14d0c2
remove unused import Owasp Encoder (#2370) 2020-03-13 11:12:25 +00:00
Lu Liu
f476f01b37
support configurable credentials for gdata (#2392) 2020-03-12 10:41:04 +00:00
zengchu2
8b94b142cb
Enable auto complete in chrome (#2387)
Co-authored-by: zengchu2 <1450834797z@gmail.com>
2020-03-11 09:49:04 +00:00
Lu Liu
4477fc15a5
fix Google Sheets importer when URL is missing a trailing slash (#2380) (#2382)
* fix #2380

* update test

* rename test method
2020-03-10 13:48:00 +00:00
afkbrb
be5f6e6402 move check functions in DescriptionScrutinizer to CommonDescriptionScrutinizer 2020-03-02 21:59:55 +08:00
Lu Liu
43b32a07e0
Update extensions/wikidata/module/langs/translation-en.json
Co-Authored-By: Thad Guidry <thadguidry@gmail.com>
2020-03-02 20:10:02 +08:00
afkbrb
2fef34795d change severity 2020-03-02 17:40:03 +08:00
afkbrb
b0bf9203ba add "." 2020-03-02 14:52:01 +08:00
afkbrb
82f95f2bbf update DescriptionScrutinizer & create EnglishDescriptionScrutinizer 2020-03-02 14:35:42 +08:00
Lu Liu
9659157a0b
Update DescriptionScrutinizer.java 2020-03-01 23:13:38 +08:00
afkbrb
7e5a7acd58 fix spelling mistake 2020-03-01 22:22:52 +08:00
afkbrb
d1a177e37d add corresponding translation 2020-03-01 22:05:16 +08:00
afkbrb
077b4c7afa add DescriptionScrutinizerTest 2020-03-01 22:04:37 +08:00
afkbrb
3006a59a08 register DescriptionScrutinizer 2020-03-01 22:03:59 +08:00
afkbrb
4252de06eb add DescriptionScrutinizer 2020-03-01 22:03:15 +08:00
Antonin Delpeuch
f77f8d93fd
Merge pull request #2340 from afkbrb/issue-2320-qs-refs
Issue 2320 qs refs
2020-02-29 09:12:36 +00:00
afkbrb
6ad252c55a add corresponding tests 2020-02-29 11:05:23 +08:00
afkbrb
ab0c625f94 fix issue #2320 2020-02-28 11:57:03 +08:00
Chris Parker
93d34d781a Replaced some deprecated methods 2020-02-24 23:51:41 -06:00
Antonin Delpeuch
76eded0d9d
Merge pull request #2323 from mrcsparker/sqlite-support
Added SQLite support
2020-02-25 01:47:37 +00:00
Chris Parker
e5120a1a02 Added SQLite support
* Added SQLite support
* Fixed database import code
2020-02-22 21:53:12 -06:00
Antonin Delpeuch
9ff138c65d Apply tags directly through the Wikibase API, fixes #2196 2020-02-03 11:21:03 +01:00
Antonin Delpeuch
429f26c2ae Set version to 3.4-SNAPSHOT 2020-01-31 19:06:56 +01:00
Antonin Delpeuch
58b839b9c5 Set version to 3.3 2020-01-31 18:22:18 +01:00
pinar dag
adbaeb612e
Translated using Weblate (Turkish)
Currently translated at 8.0% (4 of 50 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/tr/
2020-01-28 19:50:25 +01:00
pinar dag
51468fe9ef
Added translation using Weblate (Turkish) 2020-01-27 19:30:26 +01:00
Ducksoo Yang
5bf628466d
Translated using Weblate (Korean)
Currently translated at 62.0% (31 of 50 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/ko/
2020-01-23 06:21:29 +01:00
Hosted Weblate
c5b1c434e7
Merge branch 'origin/master' into Weblate. 2020-01-10 18:21:31 +01:00
Luca Martinelli
488a7021ff
Translated using Weblate (Italian)
Currently translated at 100.0% (44 of 44 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/it/
2020-01-10 18:21:27 +01:00
Luca Martinelli
d50da67142
Translated using Weblate (Italian)
Currently translated at 100.0% (158 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2020-01-10 18:21:27 +01:00
Luca Martinelli
bb1227406b
Translated using Weblate (Italian)
Currently translated at 100.0% (50 of 50 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/it/
2020-01-10 18:21:26 +01:00
Antonin Delpeuch
faece760f6 Set version to 3.3-SNAPSHOT 2020-01-08 20:56:51 +01:00
Hosted Weblate
69859f4b4a
Merge branch 'origin/master' into Weblate. 2020-01-07 12:21:25 +01:00
Isao Matsunami
685faa304d
Translated using Weblate (Japanese)
Currently translated at 100.0% (44 of 44 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/ja/
2020-01-07 12:21:23 +01:00
Antonin Delpeuch
e62bb7ac0e Set version to 3.3-rc1 2020-01-06 13:30:39 +01:00
Antonin Delpeuch
d77d54803f Fix Wikidata TODAY test 2020-01-06 13:30:10 +01:00
Antonin Delpeuch
ae41348e00 Fix bug with TODAY in Wikidata schema 2020-01-06 11:40:14 +01:00
Antonin Delpeuch
1046c38727 Fix Wikidata login form, closes #2194 2020-01-06 11:40:02 +01:00
Antonin Delpeuch
a4c4a20767 Fix Google Sheets and Google Drive export 2020-01-04 15:56:24 +01:00
Antonin Delpeuch
6dc79d965d Use state to keep redirect URI constant 2019-12-31 10:21:07 +01:00
Antonin Delpeuch
fe5871bd51 Remove Fusion Tables support in gdata extension. Closes #2113. 2019-12-31 07:17:41 +01:00
Antonin Delpeuch
fe57897e8e Fix Wikidata login CSRF issue. Closes #2228. 2019-12-25 11:02:19 +01:00
Antonin Delpeuch
8ceaeb0743 Use jQuery.submit to bind form to login 2019-12-22 23:40:57 +01:00
Antonin Delpeuch
c392126308 Merge branch 'master' of https://github.com/Bhanu-mbvg/OpenRefine into Bhanu-mbvg-master 2019-12-22 21:57:00 +01:00
Bhanu Gupta
7c06afc3bb Enter key press issues resolved 2019-12-22 20:01:29 +05:30
Bhanu Gupta
acba3e59ae Enter key press issues resolved 2019-12-22 19:56:39 +05:30
Antonin Delpeuch
1355a373c9 Mock HTTP calls in EntityCache 2019-12-21 19:09:03 +01:00
Bhanu Gupta
cfc962668c Added fuctionality of form submit by enter key in Wikidata Login dialogue 2019-12-21 05:21:43 +05:30
Antonin Delpeuch
1f708637b6 Fix overflow error for quantities stored as doubles. Closes #2244. 2019-12-13 15:23:24 +01:00
Allan Nordhøy
b5a7d66ed8
Translated using Weblate (Norwegian Bokmål)
Currently translated at 17.8% (8 of 45 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/nb_NO/
2019-11-23 11:04:55 +01:00
Sam Reed
de0b9e17c9
Translated using Weblate (English (United Kingdom))
Currently translated at 8.9% (4 of 45 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/en_GB/
2019-11-23 11:04:54 +01:00
Sam Reed
d2519edba2
Translated using Weblate (English (United Kingdom))
Currently translated at 0.6% (1 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/en_GB/
2019-11-23 11:04:53 +01:00
Allan Nordhøy
f671ad56c2
Added translation using Weblate (Norwegian Bokmål) 2019-11-22 16:02:10 +01:00
Sam Reed
e3907257f5
Added translation using Weblate (English (United Kingdom)) 2019-11-22 10:31:33 +01:00
Sam Reed
eaa62be220
Added translation using Weblate (English (United Kingdom)) 2019-11-22 10:31:18 +01:00
Hosted Weblate
6ff3c3ea4f
Merge branch 'origin/master' into Weblate. 2019-11-22 10:31:03 +01:00
Sam Reed
b2d747b56f
Added translation using Weblate (English (United Kingdom)) 2019-11-22 10:31:01 +01:00
Antonin Delpeuch
b19e8a9a74
Update Wikidata-Toolkit to solve various issues (#2215)
Updates Wikidata-Toolkit to 0.11.0

This enables the following improvements:
- https://github.com/Wikidata/Wikidata-Toolkit/issues/431
- https://github.com/Wikidata/Wikidata-Toolkit/issues/456

This closes #2196 although the feature will not be enabled until 3.4 for technical reasons
(the openrefine-3.3 tag on Wikidata can only be applied by an AbuseFilter, not manually through
the API).

* Update WDTK and add timeouts to Wikidata editing, closes #2211.

* Explicitly add wdtk-util as a dependency

* Catch MediaWikiApiError following change of interface
2019-11-21 21:47:49 +01:00
Hosted Weblate
89be7a50bc
Merge branch 'origin/master' into Weblate. 2019-11-12 17:04:25 +01:00
Alicia Fagerving
76b9fd5cda
Translated using Weblate (Swedish)
Currently translated at 94.9% (150 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2019-11-12 17:04:22 +01:00
Antonin Delpeuch
90bf6ecd70
Merge pull request #2208 from OpenRefine/issue-2205-scheduling-error
Change behaviour of Wikidata editing in case of network failure
2019-11-10 17:38:47 +00:00
Antonin Delpeuch
69a7cb2832 Change behaviour in case of network failure: finish operation without throwing an exception. Closes #2205 2019-11-06 19:28:39 +00:00
Antonin Delpeuch
de6dedb43d Skip update if rewriting failed 2019-11-05 17:49:47 +00:00
Antonin Delpeuch
ec5c9cd418 Fix duplicate creations, closes #2206 2019-11-04 21:17:18 +00:00
Hosted Weblate
9675f0eef8
Merge branch 'origin/master' into Weblate. 2019-10-22 19:53:14 +02:00
Mattias Münster
6a04efdea9
Translated using Weblate (Swedish)
Currently translated at 100.0% (45 of 45 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/sv/
2019-10-22 19:53:12 +02:00
Mattias Münster
8f1b3d8fab
Translated using Weblate (Swedish)
Currently translated at 93.0% (147 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2019-10-22 19:53:11 +02:00
Antonin Delpeuch
fe7c71aecd Update Wikidata extension for 3.3 2019-10-21 10:06:37 +01:00
Antonin Delpeuch
aa228c43b2 Fix frontend for extensions for CSRF protections 2019-10-17 11:44:57 +01:00
Antonin Delpeuch
1ee5068f0d CSRF protection for Wikidata extension 2019-10-17 10:42:05 +01:00
Antonin Delpeuch
24feda600a CSRF protection for gdata extension 2019-10-17 09:54:53 +01:00
Antonin Delpeuch
b52c009491 CSRF protection for database extension 2019-10-17 09:10:28 +01:00
Antonin Delpeuch
28c2a6154e
Merge pull request #2181 from OpenRefine/update_jackson
Update Jackson to 2.9.10
2019-10-10 17:21:05 +01:00
Antonin Delpeuch
334147d611 Update Jackson to 2.9.10 2019-10-10 16:55:56 +01:00
Isao Matsunami
dcee3d9719
Translated using Weblate (Japanese)
Currently translated at 100.0% (50 of 50 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/ja/
2019-10-09 10:58:37 +02:00
Hosted Weblate
9a816f191c
Merge branch 'origin/master' into Weblate. 2019-10-08 09:56:29 +02:00
Nicolas @belett VIGNERON
7ed73195ff
Translated using Weblate (French)
Currently translated at 100.0% (46 of 46 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/fr/
2019-10-08 09:56:26 +02:00
Antonin Delpeuch
1a79176942
Merge pull request #2151 from tcbuzor/tcbuzor_orefine_xss_tr
Database Extension: input validation for database connection data
2019-09-27 10:37:26 +02:00
Antonin Delpeuch
71e76524e5 Fix database connection list rendering and backend unit test 2019-09-22 18:31:38 +01:00
tcbuzor
dca496aa3b remove debug statements 2019-09-14 23:07:23 -05:00
Isao Matsunami
2ed94c55d0
Translated using Weblate (Japanese)
Currently translated at 100.0% (45 of 45 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/ja/
2019-09-14 00:23:55 +02:00
Isao Matsunami
b89575d480
Translated using Weblate (Japanese)
Currently translated at 100.0% (158 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2019-09-14 00:23:54 +02:00
Antonin Delpeuch
c35b2e154f
Merge pull request #2141 from OpenRefine/issue-1904-mock-data-extension-tests
Mock HTTP calls in data extension tests.
2019-09-12 10:41:47 +01:00
Antonin Delpeuch
d728acb923 Merge branch 'master' of ssh://github.com/OpenRefine/OpenRefine 2019-09-12 10:37:26 +01:00
Antonin Delpeuch
fd62e343ec Delete unused WDTK jars 2019-09-12 10:37:16 +01:00
Antonin Delpeuch
fdf742b052 Unlink wikidata extension from RefineTest 2019-09-12 10:24:25 +01:00
Antonin Delpeuch
29f6d1d14b
Merge pull request #2137 from OpenRefine/issue-2136-wikidata-calendar
Improved support for Wikidata dates
2019-09-11 17:16:49 +01:00
tcbuzor
575a7d4979 input validation for database connection data 2019-09-08 23:22:22 -05:00
leela
d192cfe8ff
ellipsis, added 2019-09-06 12:59:47 +00:00
leela
0481ada71a
ellipsis, added 2019-09-06 12:55:16 +00:00
Antonin Delpeuch
6c128d6692 Attempt to fix surefire on Appveyor 2019-08-28 10:08:22 +01:00
Antonin Delpeuch
a67bc991f9 Update extensions/wikidata/pom.xml 2019-08-27 20:01:04 +01:00
Antonin Delpeuch
80eea8635b Add support for TODAY constant in Wikidata schemas 2019-08-25 13:42:28 +01:00
Antonin Delpeuch
43980e69dd Add support for custom calendar in Wikidata date parsing 2019-08-25 13:26:09 +01:00
Antonin Delpeuch
001dc584f0 Add warning for early Gregorian dates in Wikidata schema (#2136) 2019-08-25 13:03:41 +01:00
Antonin Delpeuch
29f3cef3ec Remove uses of junit, closes #2133 2019-08-23 14:09:27 +01:00
Antonin Delpeuch
2b03efd84f Rename test packages to match tested ones, for #2133 2019-08-23 11:55:31 +01:00
Antonin Delpeuch
55c921b9b2
Merge pull request #2100 from weblate/weblate-openrefine-translations
Update from Weblate
2019-07-26 16:11:12 +01:00
Antonin Delpeuch
8ab7653e0b Set version to 3.3-SNAPSHOT 2019-07-26 15:52:00 +01:00
Antonin Delpeuch
e3417bff49 Set version to 3.2 2019-07-26 15:29:57 +01:00
Isao Matsunami
3ef0cea4ca
Translated using Weblate (Japanese)
Currently translated at 100.0% (156 of 156 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2019-07-24 18:51:49 +02:00
Antonin Delpeuch
a4a3c07e31 Fix label of Wikidata schema export action 2019-07-24 01:24:59 +01:00
Antonin Delpeuch
79a0391ddb Wikidata: Use distinct tabs for QS and schema export. Closes #2097. 2019-07-23 10:31:17 +01:00
Hosted Weblate
acdf49a82b
Merge branch 'origin/master' into Weblate. 2019-07-12 12:01:45 +02:00
Isao Matsunami
0fbe6608dc
Translated using Weblate (Japanese)
Currently translated at 100.0% (155 of 155 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2019-07-12 12:01:43 +02:00
Antonin Delpeuch
74f351f265 Temporarily disable test as bug is not critical. 2019-07-03 10:22:11 +02:00
Antonin Delpeuch
b8905f5190 Add StatementGroup wrapper to control JSON serialization 2019-07-03 10:22:11 +02:00
Antonin Delpeuch
214efc73b4 Add regression test for serialization of statement groups 2019-07-03 10:22:11 +02:00
Antonin Delpeuch
8ae4c8fe94 Update to Wikidata-Toolkit 0.10.0. Closes #2064. 2019-07-03 10:22:11 +02:00
Antonin Delpeuch
09a42fd2f5
Merge pull request #2065 from OpenRefine/issue-2063-overriding-terms
Wikidata: Add labels or descriptions without overriding existing ones
2019-07-02 10:18:56 +02:00
Antonin Delpeuch
c062641698
Merge pull request #2062 from OpenRefine/issue-2046-entity-cache
Fix datavalue rendering cache in Wikidata preview
2019-07-02 10:18:37 +02:00
Antonin Delpeuch
fa6e3ab0de
Merge pull request #2061 from OpenRefine/speed-up-wikidata-uploads
Speed up Wikidata uploads
2019-06-14 14:22:48 +01:00
Antonin Delpeuch
fb597f7b2f
Merge pull request #2060 from OpenRefine/issue-1933-language-codes
Update Wikidata language codes
2019-06-14 14:22:37 +01:00
Antonin Delpeuch
d7156a1ea3 Enable MySQL tests 2019-06-13 13:51:03 +01:00
Antonin Delpeuch
30c0108241 Change override term UI to use checkbox 2019-06-13 10:56:06 +01:00
Antonin Delpeuch
f7a8085bab Update UI to allow for non-overriding terms. Closes #2063 2019-06-13 09:21:30 +01:00
Antonin Delpeuch
05839b1bbf Add support for conditional label and term updates, for issue #2063. 2019-06-12 18:59:10 +01:00
Antonin Delpeuch
09c89efc8f Fix datavalue rendering cache. Closes #2046. 2019-06-06 22:18:58 +01:00
Antonin Delpeuch
03fef3d7b4 Switch to own language code validation in backend, for #1933 2019-06-06 21:00:03 +01:00
Antonin Delpeuch
80ef2976df Speed up Wikidata uploads 2019-06-06 20:56:48 +01:00
Antonin Delpeuch
4b6300daff Update available language codes in Wikidata extension. Closes #1933. 2019-05-31 09:09:24 +01:00
Antonin Delpeuch
318696d56c Update Jackson to 2.9.9. Closes #2051. 2019-05-31 08:19:20 +01:00
Antonin Delpeuch
29f2a98a7e Exclude MariaDB tests as well, for #2043 2019-05-15 10:24:17 +01:00
Antonin Delpeuch
a6424e53a0 Temporarily disable MySQL, #2043 2019-05-15 10:17:42 +01:00
Antonin Delpeuch
432f16bb6b Remove useless condition in Wikidata schema 2019-04-18 18:24:01 +01:00
Nathan
9aa809a367
Translated using Weblate (French)
Currently translated at 100.0% (150 of 150 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2019-04-14 17:05:43 +02:00
Antonin Delpeuch
a077968dc3
Merge pull request #2008 from ostephens/jackson-fixes
Cell serialization fixes
2019-04-07 20:09:41 +01:00
Owen Stephens
318bb54185 Use getValue when getting value of a cell 2019-04-04 19:09:05 +01:00
Owen Stephens
a79e0f3187 Only compute recon features if cell contains a string 2019-04-04 15:09:56 +01:00
Stefan Weil
ed04be1c96 extensions: Fix some typos in comments and message texts
All typos were found and fixed using codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-04-02 17:38:47 +02:00
Sjoerd de Bruin
a8c0c2e859
Translated using Weblate (Dutch)
Currently translated at 59.3% (89 of 150 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nl/
2019-03-26 22:39:04 +01:00
Sjoerd de Bruin
d9c1391869
Added translation using Weblate (Dutch) 2019-03-25 21:55:41 +01:00
Allan Nordhøy
4781a1515a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (150 of 150 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nb_NO/
2019-03-14 03:03:59 +01:00
Isao Matsunami
639f3a563a
Translated using Weblate (Japanese)
Currently translated at 100.0% (150 of 150 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2019-03-14 03:03:58 +01:00
Antonin Delpeuch
af8608e897 Bump version to 3.2-SNAPSHOT 2019-03-01 11:17:28 +00:00
Antonin Delpeuch
2a92726294 Set version to 3.2-beta 2019-03-01 10:55:42 +00:00
Antonin Delpeuch
9cb9f4639e Reset copied reference earlier in Wikidata schema 2019-03-01 09:59:08 +00:00
Antonin Delpeuch
dccc20f149
Merge pull request #1961 from OpenRefine/issue1927
Add ability to copy references in Wikidata schema
2019-02-27 10:01:23 +00:00
Antonin Delpeuch
bfec5ea2cb
Merge pull request #1968 from OpenRefine/wikidata_summary_fix
Increment editgroups hash size for 3.2, fix comma issue in summaries
2019-02-27 08:56:12 +00:00
Antonin Delpeuch
70094f68b2
Merge pull request #1958 from OpenRefine/issue1934
Make suggest items clickable with the middle button.
2019-02-25 10:30:31 +00:00
Antonin Delpeuch
ac07457306 Fix suggest middle click in Wikidata schema 2019-02-25 10:16:10 +00:00
Antonin Delpeuch
d0a27543f5 Add paste button on new statements, fix invalidation of 'copied' state 2019-02-22 18:24:55 +00:00
Antonin Delpeuch
50b5ce7561 More robust replacement condition in Wikidata summaries 2019-02-22 18:05:00 +00:00
Antonin Delpeuch
caebfe8848 Increment editgroups hash size for 3.2, fix comma issue in summaries
Fixes https://github.com/Wikidata/editgroups/issues/4.
2019-02-22 16:45:44 +00:00
Antonin Delpeuch
6d563d3c4f
Merge pull request #1964 from OpenRefine/update-jackson
Update Jackson to 2.9.8 per CVE-2018-19360
2019-02-20 21:14:32 +00:00
Antonin Delpeuch
6d820dfea5 Update frontend date validation and format 2019-02-19 22:46:33 +00:00
Antonin Delpeuch
b157651e9e Fix Wikidata date parsing tests 2019-02-19 22:32:50 +00:00
Antonin Delpeuch
3c2cec161d Update Jackson to 2.9.8 per CVE-2018-19360 2019-02-19 22:26:03 +00:00
Antonin Delpeuch
5534e84b29 Refine implementation thanks to the tests 2019-02-19 22:20:11 +00:00
Antonin Delpeuch
6bc9a6ea8e Do not represent time values with precision > 11. Closes #1944. 2019-02-19 22:08:20 +00:00
Antonin Delpeuch
a7482ff0d2 Add ability to copy references. Closes #1912. 2019-02-19 21:55:27 +00:00
Antonin Delpeuch
2f298b4093 Also make suggestions clickable in Wikidata extension 2019-02-19 14:42:04 +00:00
Stefan Olsson
6859d9557b
Translated using Weblate (Swedish)
Currently translated at 100.0% (45 of 45 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/sv/
2019-02-04 20:57:25 +01:00
Stefan Olsson
29e4fad17e
Translated using Weblate (Swedish)
Currently translated at 100.0% (46 of 46 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/sv/
2019-02-04 20:56:30 +01:00
Stefan Olsson
95db88db85
Added translation using Weblate (Swedish) 2019-02-04 20:29:56 +01:00
Stefan Olsson
30a29020bb
Translated using Weblate (Swedish)
Currently translated at 100.0% (147 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2019-02-04 20:11:48 +01:00
Stefan Olsson
3727dbe267
Added translation using Weblate (Swedish) 2019-02-04 20:11:41 +01:00
Stefan Olsson
f60676b39e
Translated using Weblate (Swedish)
Currently translated at 25.9% (38 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2019-02-03 18:10:23 +01:00
Stefan Olsson
7df945f84b
Added translation using Weblate (Swedish) 2019-02-02 16:45:38 +01:00
Hosted Weblate
08e7cd60fd
Merge branch 'origin/master' into Weblate. 2019-01-20 17:40:35 +01:00
Estébastien Robespi
8856cf20a4
Translated using Weblate (French)
Currently translated at 100.0% (46 of 46 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/fr/
2019-01-10 09:08:16 +01:00