Commit Graph

462 Commits

Author SHA1 Message Date
Antonin Delpeuch
fe7c71aecd Update Wikidata extension for 3.3 2019-10-21 10:06:37 +01:00
Antonin Delpeuch
1ee5068f0d CSRF protection for Wikidata extension 2019-10-17 10:42:05 +01: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
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
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
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
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
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
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
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
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
Hosted Weblate
434c14a50a
Merge branch 'origin/master' into Weblate. 2018-12-30 11:38:51 +01:00
Antonin Delpeuch
234ca8486a
Merge pull request #1889 from OpenRefine/issue1882
Update Butterfly to 1.0.2.
2018-12-30 11:38:36 +01:00
Luca Martinelli
e706447b4f
Translated using Weblate (Italian)
Currently translated at 100.0% (147 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2018-12-16 03:09:22 +01:00
Jacky
150ee12058
Merge pull request #1902 from OpenRefine/cleanup
Tidy up various things
2018-12-11 20:59:50 -05:00
Antonin Delpeuch
98bd03e5f4 Reorganize Java imports 2018-12-09 11:19:39 +09:00
jackyq2015
a8cf844f9c fix issue #1900 2018-12-08 20:57:16 -05:00
Antonin Delpeuch
6a10765a83 Revert "Temporary deserialization bug fix for extension operations"
This reverts commit 7ff4a453d3.
2018-12-07 10:24:59 +09:00
Hosted Weblate
0418f090fd
Merge branch 'origin/master' into Weblate 2018-12-02 00:57:20 +01:00
Myoung Seok Lee
b3d197f75a
Translated using Weblate (Korean)
Currently translated at 57.8% (85 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ko/
2018-12-02 00:57:19 +01:00
Antonin Delpeuch
5639f1b2f1
Merge pull request #1755 from OpenRefine/jackson-serialization
Jackson serialization
2018-12-01 23:56:50 +00:00
Antonin Delpeuch
7ff4a453d3 Temporary deserialization bug fix for extension operations 2018-12-01 23:38:08 +00:00
Myoung Seok Lee
a50ec1fba5
Added translation using Weblate (Korean) 2018-11-30 17:34:09 +01:00
Flavio Pompermaier
3f14b3af7f
Translated using Weblate (Italian)
Currently translated at 78.9% (116 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2018-11-30 17:08:52 +01:00
Antonin Delpeuch
49a89c301b Separate out PreviewResults from Wikidata extension 2018-11-30 19:39:42 +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
9c788769af Restore JSON property autodetect 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
790b1fbc60 Migrate wikidata extension out of JSONWriter 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
c9620a5d9a Add missing .flush(); .close() on JsonGenerator 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
36765e7e62 Bump version to 3.2-SNAPSHOT 2018-11-29 11:59:30 +09:00
Antonin Delpeuch
b90e413b40 Set version to 3.1 2018-11-29 10:32:56 +09:00
Antonin Delpeuch
7dd4db1ca1 Fix i18n calls after migration 2018-11-28 23:22:38 +09:00
Antonin Delpeuch
5d51d8a781 Fix warnings rendering i18n in Wikidata extension 2018-11-27 13:56:51 +09:00
Jacky
aea29e19d7
Merge pull request #1860 from OpenRefine/issue1816
Add support for sub-year precisions in Wikidata schema
2018-11-26 21:27:29 -05:00
Antonin Delpeuch
2fa1419862 Increment size of Wikidata edit batch ids 2018-11-24 15:49:15 +00: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
6ac821c844 Migrate dictionary loading in extensions 2018-11-21 17:50:49 +00:00
Antonin Delpeuch
10931e1e4d Migrate js to new localization syntax 2018-11-21 17:30:00 +00:00
Antonin Delpeuch
375839bb22 Update translation files for new format 2018-11-21 15:25:58 +00:00
Antonin Delpeuch
9bf0bb2154 Merge JS i18n strings with slash 2018-11-21 15:24:57 +00:00
Jon Harald Søby
5cc95bc28a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (147 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nb_NO/
2018-11-19 10:51:39 +01:00
Allan Nordhøy
a04a3856a7
Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.2% (137 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nb_NO/
2018-11-18 12:07:53 +01:00
Jon Harald Søby
3d16438c37
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (147 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nb_NO/
2018-11-17 09:56:52 +01:00
Jon Harald Søby
4e0e669378
Added translation using Weblate (Norwegian Bokmål) 2018-11-17 00:53:15 +01:00
Isao Matsunami
a9fb206633
Translated using Weblate (Japanese)
Currently translated at 100.0% (147 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2018-11-08 15:07:52 +01: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
46ae2a5c18
Merge pull request #1806 from OpenRefine/issue1805
Streamline Eclipse setup with Maven
2018-11-06 10:06:59 +00:00
Antonin Delpeuch
04aaaaa709
Merge pull request #1804 from OpenRefine/issue1779
Fix qualifier order in preview.
2018-11-05 17:34:02 +00:00
Antonin Delpeuch
fe6aef5290
Merge pull request #1796 from OpenRefine/issue1774
Re-render table view when switching back from Wikidata schema.
2018-11-05 17:33:26 +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
53aef139a3 Apply fixes to pom.xml files suggested by Eclipse 2018-11-05 17:27:17 +00:00
Antonin Delpeuch
80cab56e65 Fix qualifier order in preview. Closes #1779. 2018-11-03 17:59:05 +00:00
Antonin Delpeuch
3b3e319e0b
Merge pull request #1799 from OpenRefine/revert-wdtk-bump
Revert "Bump Wikidata-Toolkit to 0.9.0"
2018-11-01 22:29:04 +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
Hosted Weblate
2ccb00950a
Merge branch 'origin/master' into Weblate 2018-11-01 23:07:49 +01:00
Mathieu Saby
73e6a7f529
Translated using Weblate (French)
Currently translated at 100.0% (144 of 144 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2018-11-01 23:07:49 +01:00
Antonin Delpeuch
922a9e7c43 Fix slf4j double inclusion 2018-11-01 22:07:15 +00:00
Antonin Delpeuch
91e624e09f Re-render table view when switching back from Wikidata schema. Closes #1774. 2018-11-01 18:46:37 +00:00
Antonin Delpeuch
8bed3022a1 Enable file input on import schema dialog. 2018-11-01 18:30:24 +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
825c4ad213 Add importer UI for Wikibase schema 2018-11-01 15:01:08 +00:00
Hosted Weblate
ee3775fcb7
Merge branch 'origin/master' into Weblate 2018-11-01 13:05:16 +01:00
Antonin Delpeuch
218e0adb15
Merge pull request #1789 from OpenRefine/issue1778
Enable autocomplete for Wikidata upload form
2018-11-01 12:05:13 +00:00
Hosted Weblate
35751aecc3
Merge branch 'origin/master' into Weblate 2018-11-01 13:04:53 +01: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
Hosted Weblate
efa43206c1
Merge branch 'origin/master' into Weblate 2018-11-01 13:04:37 +01:00
Antonin Delpeuch
66072f5d05
Merge pull request #1790 from OpenRefine/issue1780
Make reference toggle clickable.
2018-11-01 12:04:34 +00:00
Hosted Weblate
6575becfd2
Merge branch 'origin/master' into Weblate 2018-11-01 13:04:23 +01:00
Antonin Delpeuch
e939228fc7
Merge pull request #1786 from OpenRefine/issue1777
Focus property input when adding qualifiers and references
2018-11-01 12:04:20 +00:00
Hosted Weblate
dc5652daf8
Merge branch 'origin/master' into Weblate 2018-11-01 13:04:02 +01:00
Hosted Weblate
7741102467
Merge branch 'origin/master' into Weblate 2018-11-01 13:04:00 +01:00
Antonin Delpeuch
4dd538a956
Merge pull request #1785 from OpenRefine/issue1772
Ignore deprecated constraints.
2018-11-01 12:03:58 +00:00
Luca Martinelli
e4598cdde8
Translated using Weblate (Italian)
Currently translated at 43.0% (62 of 144 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2018-10-28 23:23:43 +01:00
Antonin Delpeuch
7c26021b61 Expose Wikibase schema exporter in UI, for #1776 2018-10-28 15:19:48 +01: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
32805b19a4 Make reference toggle clickable. Closes #1780. 2018-10-28 10:14:34 +01:00
Antonin Delpeuch
5b810f7c6e Enable autocomplete on summaries. Closes #1778. 2018-10-28 10:07:39 +01:00
Antonin Delpeuch
90ac54ff86 Focus property input when adding qualifiers and references, closes #1777 2018-10-27 21:58:16 +02:00
Antonin Delpeuch
800798ff5e Ignore deprecated constraints. Closes #1772. 2018-10-27 21:47:35 +02:00
Antonin Delpeuch
e1014bfeed Fix rendering of integers in Wikidata extension. Closes #1775 2018-10-27 21:43:22 +02:00