Antonin Delpeuch
fe57897e8e
Fix Wikidata login CSRF issue. Closes #2228 .
2019-12-25 11:02:19 +01:00
Antonin Delpeuch
1355a373c9
Mock HTTP calls in EntityCache
2019-12-21 19:09:03 +01:00
Antonin Delpeuch
1f708637b6
Fix overflow error for quantities stored as doubles. Closes #2244 .
2019-12-13 15:23:24 +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
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
Antonin Delpeuch
1ee5068f0d
CSRF protection for Wikidata extension
2019-10-17 10:42:05 +01: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
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
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
74f351f265
Temporarily disable test as bug is not critical.
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
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
03fef3d7b4
Switch to own language code validation in backend, for #1933
2019-06-06 21:00:03 +01: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
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
6dd9f41639
Merge pull request #1925 from OpenRefine/issue1887
...
Compute reconciliation features when creating new items
2019-01-10 04:44:45 +01:00
Antonin Delpeuch
b1a84da1da
Recompute features when creating new items. Closes #1887 .
2018-12-31 17:38:19 +01:00
Antonin Delpeuch
13aec40b88
Index terms by language code in ItemUpdate. Fixes #1917 .
2018-12-30 19:12:44 +01:00
Antonin Delpeuch
98bd03e5f4
Reorganize Java imports
2018-12-09 11:19:39 +09:00
Antonin Delpeuch
f667a78657
Migrate recent PRs to Jackson
2018-11-30 19:38:52 +09:00
Antonin Delpeuch
142a2d8beb
Remove all mentions of org.json in Wikidata extension
2018-11-30 19:38:52 +09:00
Antonin Delpeuch
a4fa1dca77
Update Wikidata extension after removal of org.json from core
2018-11-30 19:38:52 +09:00
Antonin Delpeuch
ebfa591190
Fix WikibaseSchemaTest
2018-11-30 19:23:08 +09:00
Antonin Delpeuch
1c34b237e4
Unify JSON testing in Wikidata extension
2018-11-30 19:21:21 +09:00
Antonin Delpeuch
0698b9c84e
Unify JSON testing in Wikidata extension
2018-11-30 19:21:21 +09:00
Antonin Delpeuch
bd5a8f9ece
Fix serialization issues in Wikidata extension
2018-11-30 19:21:21 +09:00
Antonin Delpeuch
1790799bfe
Remove Jsonizable interface and write methods
2018-11-30 19:21:21 +09:00
Antonin Delpeuch
bb79125829
Add support for sub-year precisions in Wikidata schema, for #1816
2018-11-24 15:46:24 +00:00
Antonin Delpeuch
9b111952fe
Merge pull request #1795 from OpenRefine/issue1776
...
Add import and export for Wikidata schema
2018-11-07 10:31:51 +00:00
Antonin Delpeuch
e5061cc44c
Merge pull request #1794 from OpenRefine/issue1781
...
Trim strings automatically in Wikibase schema.
2018-11-05 17:32:50 +00:00
Antonin Delpeuch
04ed08c2c5
Revert "Bump Wikidata-Toolkit to 0.9.0"
...
This reverts commit 44bbdcc83d
.
2018-11-01 22:27:42 +00:00
Antonin Delpeuch
b83044d5fd
Merge branch 'master' into issue1781
2018-11-01 18:05:52 +00:00
Antonin Delpeuch
b030346926
Fix trimming tests.
2018-11-01 17:56:03 +00:00
Antonin Delpeuch
604666ed6a
Also trim monolingual text values.
2018-11-01 15:33:26 +00:00
Antonin Delpeuch
8b4cf84bfd
Trim strings automatically in Wikibase schema. Closes #1781 .
2018-11-01 15:29:57 +00:00
Antonin Delpeuch
96e3015882
Merge pull request #1791 from OpenRefine/issue1701
...
Bump Wikidata-Toolkit to 0.9.0
2018-11-01 12:04:49 +00:00
Antonin Delpeuch
e85f7d36e0
Add Wikibase schema exporter, for issue #1776
2018-10-28 15:19:22 +01:00
Antonin Delpeuch
44bbdcc83d
Bump Wikidata-Toolkit to 0.9.0
2018-10-28 11:20:48 +01:00
Antonin Delpeuch
e1014bfeed
Fix rendering of integers in Wikidata extension. Closes #1775
2018-10-27 21:43:22 +02:00