Commit Graph

572 Commits

Author SHA1 Message Date
Jonas B
0ae0bed46d
Translated using Weblate (Swedish)
Currently translated at 66.8% (151 of 226 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2021-05-22 02:40:30 +02:00
Jonas B
e8e4beecf4
Translated using Weblate (Norwegian Bokmål)
Currently translated at 73.0% (165 of 226 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nb_NO/
2021-05-22 02:40:30 +02:00
Nicolas Prongué
954e27dbae
Translated using Weblate (French)
Currently translated at 97.7% (221 of 226 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2021-05-17 18:34:00 +02:00
Antonin Delpeuch
e664712a70
Make schema evaluation null-proof; avoid adding null values in data extension. (#3723)
Null values in non-null cells should normally not happen, but sometimes they do and
we shouldn't fail miserably in those cases.

Closes #2880.

Co-authored-by: Tom Morris <tfmorris@gmail.com>
2021-05-15 08:51:26 +02:00
loulan
b481387d73
Fix wikibase date export format (#3887)
* fixes #3694
2021-05-10 09:08:02 +02:00
loulan
109956d235
Support BCE dates in Wikibase upload (#3843)
* fixes #3816
2021-04-24 15:47:05 +02:00
Reza Almanda
fd9b3a55ab
Translated using Weblate (Indonesian)
Currently translated at 29.2% (66 of 226 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/id/
2021-04-24 03:32:14 +02:00
Pablo Bianchi
ab33e2205b
Translated using Weblate (Spanish)
Currently translated at 100.0% (226 of 226 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/es/
2021-04-24 03:32:13 +02:00
Isao Matsunami
fec019613c
Translated using Weblate (Japanese)
Currently translated at 100.0% (226 of 226 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2021-04-21 21:29:25 +02:00
Hosted Weblate
2d1cc43e42 Merge remote-tracking branch 'origin/master' 2021-04-20 21:05:56 +02:00
Jathin Sreenivas
f5b35a99b3
#3186 : Wikibase login form shows Wikibase instance logo (#3702)
* #3186 : Wikibase login form shows Wikibase instance logo

* Logos shown in the UI during selection of instance to work against

* CSS for list of instances, error handling

* Cache wikibase logo urls.

* Replacing logo alt text as translation string and removing the duplicate property

* Replacing logo alt text as translation string and removing the duplicate property

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-04-20 21:05:50 +02:00
Karol
15e9a66776
Translated using Weblate (Polish)
Currently translated at 23.1% (52 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/pl/
2021-04-20 08:07:44 +02:00
Reza Almanda
a4308232dc
Translated using Weblate (Indonesian)
Currently translated at 0.4% (1 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/id/
2021-04-17 05:27:20 +02:00
Faiq Miftakhul Falakh
4df5cbd45f
Added translation using Weblate (Indonesian) 2021-04-08 16:48:15 +02:00
Antonin Delpeuch
343c8afbea
Ignore invalid regexes from Wikibase format constraints. (#3721)
* Ignore invalid regexes from Wikibase format constraints. Closes #3274.

* Add logging
2021-04-04 13:25:07 -04:00
Antonin Delpeuch
fa9d670d30
Remove EditGroups URL template from Wikibase schema (#3779)
* Remove EditGroups URL template from Wikibase schema

Instead it is fetched from the manifest and stored in operation metadata.

Closes #3656.

* Fix compatibility with older JDKs

* Remove unnecessary fallback in ManifestV1 constructor
2021-04-01 13:58:28 +02:00
Antonin Delpeuch
2a6003c5d2
Sanitize cookie keys in Wikibase extension. Fixes #3745. (#3746) 2021-03-18 07:47:38 +01:00
dependabot[bot]
606a8c37c0
build(deps): bump testng from 7.3.0 to 7.4.0 (#3681)
Bumps [testng](https://github.com/cbeust/testng) from 7.3.0 to 7.4.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/compare/7.3.0...7.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-03 16:50:28 +01:00
dependabot[bot]
99ea1f7a77
Bump jackson.version from 2.11.3 to 2.12.1 (#3530)
* Bump jackson.version from 2.11.3 to 2.12.1

Bumps `jackson.version` from 2.11.3 to 2.12.1.

Updates `jackson-databind` from 2.11.3 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-annotations` from 2.11.3 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-core` from 2.11.3 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.11.3...jackson-core-2.12.1)

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

* Pin jackson-core version to same as OpenRefine main

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Morris <tfmorris@gmail.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-03 12:17:18 +01:00
Eihel
a317d36348
Translated using Weblate (French)
Currently translated at 98.2% (221 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2021-02-26 12:50:52 +01:00
Adithya K
cedbb95c8e
Translated using Weblate (Malayalam)
Currently translated at 4.4% (10 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ml/
2021-02-22 15:50:48 +01:00
Adithya K
8ebc797f36
Translated using Weblate (Malayalam)
Currently translated at 3.1% (7 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ml/
2021-02-20 20:06:51 +01:00
Gnoeee
af92119b5d
Translated using Weblate (Malayalam)
Currently translated at 1.7% (4 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ml/
2021-02-20 12:56:46 +01:00
Gnoeee
4eb9efa20d
Added translation using Weblate (Malayalam) 2021-02-20 12:24:59 +01:00
Eihel
386bbf1aba
Translated using Weblate (French)
Currently translated at 79.1% (178 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2021-02-18 19:50:48 +01:00
Antonin Delpeuch
c1a7a203e4
Translated using Weblate (French)
Currently translated at 74.6% (168 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2021-02-05 12:38:48 +01:00
J. Lavoie
01fcea4d7d
Translated using Weblate (French)
Currently translated at 72.0% (162 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2021-02-03 21:42:02 +01:00
dependabot[bot]
ee6fccdd67
Bump mockwebserver from 4.9.0 to 4.9.1 (#3549)
Bumps [mockwebserver](https://github.com/square/okhttp) from 4.9.0 to 4.9.1.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.9.0...parent-4.9.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01 11:07:16 +01:00
Lu Liu
96789f994c
fix #3354 (#3355) 2020-11-25 09:14:38 +01:00
Susanna Ånäs
208da5ca81
Translated using Weblate (Finnish)
Currently translated at 50.6% (114 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fi/
2020-11-21 12:29:05 +01:00
dependabot[bot]
2291b5953c
Bump powermock.version from 2.0.7 to 2.0.9 (#3303)
Bumps `powermock.version` from 2.0.7 to 2.0.9.

Updates `powermock-module-testng` from 2.0.7 to 2.0.9
- [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.7...powermock-2.0.9)

Updates `powermock-api-mockito2` from 2.0.7 to 2.0.9
- [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.7...powermock-2.0.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 11:11:20 +01:00
Weblate (bot)
ffda8216b4
Translations update from Weblate (#3278)
* Added translation using Weblate (Polish)

* Added translation using Weblate (Polish)

* Added translation using Weblate (Polish)

* Translated using Weblate (Polish)

Currently translated at 6.3% (49 of 769 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/pl/

* Translated using Weblate (Polish)

Currently translated at 4.0% (9 of 225 strings)

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

* Translated using Weblate (Polish)

Currently translated at 19.3% (12 of 62 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/pl/

* Translated using Weblate (French)

Currently translated at 99.2% (763 of 769 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/

Co-authored-by: Włodzimierz Bartczak <wzbartczak@gmail.com>
Co-authored-by: Tom Morris <tfmorris@gmail.com>
2020-10-20 13:33:50 -04:00
Yaron Shahrabani
d7b95362bb
Translated using Weblate (Hebrew)
Currently translated at 9.3% (21 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/he/
2020-10-19 11:11:23 +02:00
Yaron Shahrabani
9855a2925d
Added translation using Weblate (Hebrew) 2020-10-19 08:25:42 +02:00
Isao Matsunami
8d58274bdc
Translated using Weblate (Japanese)
Currently translated at 100.0% (225 of 225 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2020-10-01 11:31:38 +02:00
Lu Liu
79eac0b811
Wikidata extension - discourage use of main password (#3190)
* encourage using bot passwords

* update wiki link

* update translation

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

Co-authored-by: Tom Morris <tfmorris@gmail.com>

Co-authored-by: Tom Morris <tfmorris@gmail.com>
2020-09-30 10:31:36 -04:00
Ekta Mishra
b92691d946
Add SchemaPropertyFetcher class (#3060)
* Add SchemaPropertyFetcher class

To retrieve and inspect all the properties appearing in the issues tab.

* created new list from unmodifiable lists

* created new list from unmodifiable lists

* rebased successfully

* overriden getMultipleDocuments method

* Test failure issue resolved

* added tests for SchemaPropertyExtractor class
2020-09-17 20:49:44 +02:00
dependabot-preview[bot]
5b75d5d43e
Bump mockwebserver from 4.8.1 to 4.9.0 (#3187)
Bumps [mockwebserver](https://github.com/square/okhttp) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.8.1...parent-4.9.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-09-14 09:48:14 +02:00
Hosted Weblate
7130c513c0
Merge branch 'origin/master' into Weblate. 2020-08-30 20:27:21 +02:00
ssantos
5902a04f2d
Translated using Weblate (Portuguese)
Currently translated at 5.3% (12 of 223 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/pt/
2020-08-30 20:27:01 +02:00
ssantos
bcbbf68eed
Translated using Weblate (Portuguese (Brazil))
Currently translated at 5.3% (12 of 223 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/pt_BR/
2020-08-30 20:27:00 +02:00
Tom Morris
0f15c61ef0
Merge pull request #3119 from OpenRefine/dependabot/maven/com.squareup.okhttp3-mockwebserver-4.8.1
Bump mockwebserver from 4.7.2 to 4.8.1
2020-08-27 17:25:51 -04:00
Lu Liu
2a86927b2c
update references of "afkbrb/wikibase-manifest" to "OpenRefine/wikibase-manifests" (#3126) 2020-08-25 13:44:39 +02:00
ssantos
9efba28e81
Added translation using Weblate (Portuguese) 2020-08-24 19:37:38 +02:00
dependabot-preview[bot]
e0646716f4
Bump mockwebserver from 4.7.2 to 4.8.1
Bumps [mockwebserver](https://github.com/square/okhttp) from 4.7.2 to 4.8.1.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.7.2...parent-4.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 06:41:48 +00:00
Isao Matsunami
53a795d820 Translated using Weblate (Japanese)
Currently translated at 100.0% (223 of 223 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2020-08-23 21:14:38 +02:00
Lu Liu
7d4e182c75
Extend Wikidata extension to support arbitrary Wikibase instances (#2810)
Closes #1640. All Wikibase-dependent parameters, which were previously hard-coded for Wikidata, are now described in a JSON manifest. The manifest is currently constructed by hand, but, in the future, will hopefully be published by each Wikibase instance at a standard location.

* setup the manifest framework

* add dependency mechanism to scrutinizers & update tests

* add json creators to constraint entities

* adapt the backend (units tests are to be updated)

* remove the call to prepareDependencies() in the constructor

* update code according to review feedback

* update scrutinizers tests

* fix typo & update ConstraintsV1

* log if a scrutinizer is skipped

* update versioning handling in the backend

* correct the order of "actual" and "expected" for assertEquals method

* use regex to check manifest versions

* 1. add wikibase-manager.js, wikibase-dialog.js, etc.
2. move dialog/schema-alignment-dialog.js -> schema-alignment.js
3. remove unused schema-alignment-dialog.html
4. change most mentions of "Wikidata" to "Wikibase"

* support saving cookies for different Wikibases & fix LoginCommandTest

* fix schema related tests

* removed unused WikibaseCredentials

* include MediaWiki API endpoint in the schema

* fetch language codes for different Wikibases

* fix lgtm-bot alerts

* keep a connection map (MediaWiki API endpoint => Connection) in ConnectionManager

* simplify the constraint configurations of the manifest and remove lots of unnecessary code.

* add slash to the end of mediawiki.root

* add manifest schema and use ajv to validate the manifest

* remove JSONP support (Wikibase manifest host should support CORS)

* save manifests on manifest update

* add unit tests for Manifest

* include the exception in logger.error() method to make it easier to debug

* include the message of ManifestException when calling respondError

* test multiple connections

* test no manifest & test invalid manifest

* adapt manage-account-dialog.js to support multiple Wikibase connections

* update instance/subclass of related translations

* beautify import-schema-dialog.html

* use "${lang}" variable in the reconciliation service endpoint of the manifest

* adapt schema-alignment.js after introducing "${lang}" variable in the reconciliation service endpoint

* use WikibaseManager.getSelectedWikibaseApi() in SchemaAlignment._getPropertyType

* replace more mentions of "Wikidata" to "Wikibase"

* use WikibaseManager.getSelectedWikibaseApi() in previewrenderer.js

* support fetching language codes of different Wikibases in the frontend

* skip EditInspector if missing 'property_constraint_pid' in the manifest

* improve unit tests for fetching lang codes

* skip scrutinizers depending on fetcher if 'property_constraint_pid' is missing in the manifest

* make sure the schema alignment panel is set up before rendering

* fix preview bug

* add getters of "instance of" and "subclass of" to the Manifest interface and use them in NewItemScrutinizer

* fix hardcode for Wikidata in WbItemVariable

* rename 'entity_prefix' to 'site_iri' and move it from 'manifest.wikibase.properties' to 'manifest.wikibase'

* include oauth configurations in the manifest & support logging in with owner-only consumer for Wikibases with the OAuth extension

* correct schema fallback logic

* select default wikibase according to the saved schema

* include maxlag in the manifest

* [backend] move maxlag setting from preferences to request parameter

* support setting maxlag when uploading edits

* rename "Manage Wikibase" to "Select Wikibase instance" and localize it

* fix manifest updating bug

* include EditGroups in the manifest

* add the reconciliation service from the manifest to standard services if it's not present yet when adding a new manifest

* update according to review feedback

1. use inherited color variable
2. rename 'gridwroks' to 'openrefine'
3. remove unnecessary 'async: true'
4. add 'format: url' validation to urls to the schema

* rename 'wikibasePrefix' to 'siteIri'
2020-08-22 11:58:56 -04:00
Antonin Delpeuch
68404abe2a
Fix race condition in service manifest fetching (#2872)
* Fix race condition in service manifest fetching. Fixes #2803

* Set own recon endpoint for Wikidata extension
2020-08-21 07:15:02 +02:00
Allan Nordhøy
e6197b8224
Translated using Weblate (Norwegian Bokmål)
Currently translated at 82.4% (169 of 205 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nb_NO/
2020-08-15 00:32:54 +02:00
Ekta Mishra
f50efb3699
Changed List return type to ImmutableList in Wikidata schema package classes (#3070)
* replaced ImmutableList to unmodifiableList

* added test cases to check unmodifiable Lists

* improved test cases
2020-08-13 09:59:54 +02:00