Commit Graph

893 Commits

Author SHA1 Message Date
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