Commit Graph

776 Commits

Author SHA1 Message Date
Antonin Delpeuch
47d80002a8 Migrate GData 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
Jacky
c7cc84a282
Merge pull request #1862 from OpenRefine/issue/1819
Let users supply LIMIT and OFFSET in SQL importer
2018-11-26 19:16:28 -05:00
Jacky
83019e74d9
fix typo 2018-11-25 23:24:41 -05:00
jackyq2015
d9df1b63d9 fix UT 2018-11-25 16:40:41 -05:00
Jacky
992a19f2dd
Merge branch 'master' into issue/1819 2018-11-25 16:30:28 -05:00
jackyq2015
7db3af74f8 fix issue #1819 2018-11-25 16:25:51 -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
b46c5a7b4e Flatten remaining messages 2018-11-21 17:26:53 +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
4ed27f9a50
Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.5% (43 of 46 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/nb_NO/
2018-11-17 09:56:48 +01:00
Jon Harald Søby
f41dd5680e
Added translation using Weblate (Norwegian Bokmål) 2018-11-17 01:52:53 +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
Hosted Weblate
1a26cab747
Merge branch 'origin/master' into Weblate 2018-11-06 14:55:01 +01: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
Mathieu Saby
4b8ff58713
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/
2018-11-04 00:24:11 +01: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
Mathieu Saby
6b9ada969c
Translated using Weblate (French)
Currently translated at 100.0% (45 of 45 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/fr/
2018-11-01 23:07:48 +01:00
Mathieu Saby
399bc2befe
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/
2018-11-01 23:07:48 +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
Luca Martinelli
c20a6b71e8
Translated using Weblate (Italian)
Currently translated at 38.1% (55 of 144 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2018-10-25 01:32:36 +02:00
Hosted Weblate
cc3aa50923
Merge branch 'origin/master' into Weblate 2018-10-22 20:54:53 +02:00
Luca Martinelli
6842429e85
Translated using Weblate (Italian)
Currently translated at 29.1% (42 of 144 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2018-10-22 20:54:53 +02:00
Antonin Delpeuch
47323a9e75
Merge pull request #1736 from OpenRefine/maven2
Migrate to Maven, take 2
2018-10-22 14:41:48 +01:00
Luca Martinelli
22abbe7950
Translated using Weblate (Italian)
Currently translated at 29.8% (43 of 144 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2018-10-10 23:29:53 +02:00
Luca Martinelli
7ed8c8b7e7
Added translation using Weblate (Italian) 2018-10-09 21:45:54 +02:00
Antonin Delpeuch
b6e9ace597 Temporary fix for HTTP 500 errors from Wikibase. Closes #1746 2018-09-25 19:37:40 +01:00
Antonin Delpeuch
f094c7e23a Exclude redundant jars from database and gdata extensions 2018-09-22 18:04:02 +01:00
Antonin Delpeuch
efddca61af Revert Jackson upgrade on database extension 2018-09-22 14:04:23 +01:00
Antonin Delpeuch
0321e19fef Unify google library versions 2018-09-22 10:43:12 +01:00
Antonin Delpeuch
fc70852183 Update version to 3.1-SNAPSHOT 2018-09-21 12:28:13 +01:00
Antonin Delpeuch
ed1db2242a Exclude local libraries from packages to save space 2018-09-21 10:02:45 +01:00
Antonin Delpeuch
c812b6118c Cleanup most Eclipse config files 2018-09-18 14:51:27 +01:00
Antonin Delpeuch
8a9022c631 Merge Jacoco coverage reports into one unique report. 2018-09-16 20:31:02 +01:00
Antonin Delpeuch
d421fd7fbf
Merge pull request #1729 from OpenRefine/json-engineconfig
Store engine configuration in dedicated class
2018-09-16 18:51:41 +01:00
Antonin Delpeuch
782ae4e788 Revert "Revert "Migrate to Maven""
This reverts commit c20918b73d.
2018-09-16 15:34:47 +01:00
Jacky
c20918b73d
Revert "Migrate to Maven" 2018-09-16 10:16:50 -04:00
Jacky
e3813d9820
Merge pull request #1725 from OpenRefine/maven
Migrate to Maven
2018-09-15 21:45:12 -04:00
Antonin Delpeuch
9b659c618c Cleanup classpath generation in Maven config files 2018-09-11 15:18:03 +01:00
Antonin Delpeuch
df53cf9117 Exclude javax.servlet in Gdata extension, conflicts with existing version 2018-09-11 11:30:18 +01:00
Antonin Delpeuch
6c42a2aba9 Cleanup copied libs along with class files 2018-09-11 11:14:15 +01:00
Antonin Delpeuch
c12502aaae Use dependency plugin to copy runtime lib to MOD-INF dirs 2018-09-11 10:55:29 +01:00
Antonin Delpeuch
5a0304f363
Merge pull request #1722 from OpenRefine/json-testing
Add serialization tests for most Jsonizable classes
2018-09-10 15:35:25 +01:00
Antonin Delpeuch
1c20242d40 Replace version and groupId by variables in submodules 2018-09-10 15:33:30 +01:00
Antonin Delpeuch
e589697171 Remove Ant configuration files 2018-09-10 15:13:26 +01:00
Antonin Delpeuch
9b54ac2bd2 Remove jars of dependencies 2018-09-10 15:11:21 +01:00
Antonin Delpeuch
aa5088d7bf Disable tests for pc-axis and gdata extensions 2018-09-10 13:48:52 +01:00
Antonin Delpeuch
1184528098 Fix Database extension testing for Maven 2018-09-10 13:37:51 +01:00
Antonin Delpeuch
2f2fa86800 Fix Wikidata extension testing for Maven 2018-09-10 11:27:14 +01:00
Antonin Delpeuch
60d4656176 Add missing mockito dependency and fix maven invocation 2018-09-10 09:50:44 +01:00
Antonin Delpeuch
72639fdd71 Fix classpath generation 2018-09-09 19:31:33 +01:00
Antonin Delpeuch
e846df0b9d Migrate custom jars to install-plugin 2018-09-09 17:30:28 +01:00
Antonin Delpeuch
ed76375a01 Add Maven configuration for the sample extension 2018-09-07 11:27:28 +01:00
Antonin Delpeuch
86d9a91db1 Add Maven configuration for pc-axis extension 2018-09-07 11:27:28 +01:00
Antonin Delpeuch
f14bd18a7b Add Maven configuration for gdata extension 2018-09-07 11:27:28 +01:00
Antonin Delpeuch
94220ad880 Maven configuration for the database extension 2018-09-07 11:27:28 +01:00
Antonin Delpeuch
3e0efc47fd Add Maven configuration for Jython extension 2018-09-07 11:27:28 +01:00
Antonin Delpeuch
25e14cfe87 Working Maven config for the Wikidata extension 2018-09-07 11:27:28 +01:00
Antonin Delpeuch
fbc9b27640 Store engine configuration as EngineConfig rather than JSONObject 2018-09-05 14:49:39 +01:00
Antonin Delpeuch
a2c0ac9bcc Drop Jsonizable for DatabaseModuleImpl, not needed 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
f15052676f
Translated using Weblate (French)
Currently translated at 99.3% (143 of 144 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2018-08-31 15:16:45 +02:00
Antonin Delpeuch
e8c2a16b85
Added translation using Weblate (French) 2018-08-30 11:43:19 +02:00
Isao Matsunami
f16bee8642
Translated using Weblate (Japanese)
Currently translated at 100.0% (144 of 144 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2018-08-30 00:34:33 +02:00
Isao Matsunami
6dbb51679c
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/
2018-08-29 12:39:48 +02:00
Isao Matsunami
96045f0c19
Translated using Weblate (Japanese)
Currently translated at 100.0% (46 of 46 strings)

Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/ja/
2018-08-29 12:39:37 +02:00
Isao Matsunami
0a2952e446
Translated using Weblate (Japanese)
Currently translated at 100.0% (144 of 144 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2018-08-29 05:04:35 +02:00
Isao Matsunami
ccfa51cee3
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/
2018-08-28 11:38:25 +02:00
Antonin Delpeuch
0b9c4b6abb
Merge pull request #1682 from OpenRefine/issue1680
Fix snak grouping for qualifiers and references in Wikidata extension.
2018-07-29 16:23:26 +01:00
Owen Stephens
fd69149dbe
Merge pull request #1685 from OpenRefine/issue1683
Fix aliases rendering in Wikidata schema
2018-07-29 11:54:13 +01:00
Antonin Delpeuch
f9fd26ab6e Fix aliases rendering. Closes 1683. 2018-07-20 09:15:26 +01:00
Antonin Delpeuch
cb43ca2454 Fix snak grouping for qualifiers and references in Wikidata extension.
Closes #1680.
2018-07-17 16:35:12 +01:00
Antonin Delpeuch
492a42a3c3 Save the schema before exporting to QuickStatements. Closes #1659. 2018-07-13 18:21:38 +01:00
Antonin Delpeuch
bd2865585d
Merge pull request #1647 from OpenRefine/fix-date-precision
Change default precision of Wikibase dates to match the UI's defaults.
2018-06-22 12:22:32 +02:00
Antonin Delpeuch
b3ee80d504
Merge pull request #1655 from OpenRefine/new-scope-constraint
Migrate to new scope constraint format
2018-06-22 12:22:08 +02:00
Antonin Delpeuch
35b08bf254
Merge pull request #1644 from OpenRefine/more-constraints
Add support for new Wikidata constraints
2018-06-22 12:21:29 +02:00
Jacky
5a6c9d72f0 fix the template load issue and package typo 2018-06-16 15:43:29 -04:00
Antonin Delpeuch
8469728bb5 Update tests and localization 2018-06-15 11:07:59 +01:00
Antonin Delpeuch
bbc5936da6 Migrate to new scope constraint format 2018-06-15 10:54:26 +01:00
Antonin Delpeuch
d7564a4690 Change default precision of Wikibase dates to match the UI's defaults. 2018-06-13 15:37:51 +01:00
Antonin Delpeuch
b87a52195c Cleanup for Codacy 2018-06-11 09:19:34 +01:00
Antonin Delpeuch
ab3adc0329 Remove empty tests 2018-06-10 09:30:06 +01:00
Antonin Delpeuch
1910833ad8 Add entity type constraint check 2018-06-10 09:24:22 +01:00
Antonin Delpeuch
e2ae09f5be Add support for Wikidata single best value constraint 2018-06-10 08:17:42 +01:00
Antonin Delpeuch
ddbe4fe2a2 Fix unit checking with novalue claims 2018-06-10 08:17:39 +01:00
Antonin Delpeuch
4bb3505aa5 Add English descriptions of new issues 2018-06-10 08:17:36 +01:00
Antonin Delpeuch
48c2b90a93 Add constraint checks for one-of and none-of constraints 2018-06-10 08:17:33 +01:00
Antonin Delpeuch
3c181c9070 Add support for symmetric constraint 2018-06-10 08:17:30 +01:00
Antonin Delpeuch
9cb4a46277 Add support for quantity-related constraints in Wikidata QA 2018-06-10 08:17:24 +01:00
Jacky
9a469fce17 add timeout support 2018-05-28 23:21:44 -04:00
Antonin Delpeuch
c84f2e35c7
Merge pull request #1615 from isaomatsunami/master
Added Japanese files for 3 extentions
2018-05-22 23:56:45 +02:00
Antonin Delpeuch
1d6226b095
Merge pull request #1594 from OpenRefine/wikidata/better-format-feedback
Give better feedback when values with invalid formats are provided.
2018-05-22 23:56:24 +02:00
Isao Matsunami
3b0902204a
Update translation-jp.json 2018-05-19 02:46:18 +09:00
Isao Matsunami
21c31d5c50
updated a file for Japanese 2018-05-19 02:05:10 +09:00
Isao Matsunami
c65daabcf4
updated a file for Japanese 2018-05-19 02:04:40 +09:00
Isao Matsunami
5bdcfddc95
added a file for Japanese 2018-05-19 02:04:10 +09:00
Antonin Delpeuch
844e288955 Fix inverse constraint test for Wikidata extension.
The inverse constraint on the part of property was removed.
2018-05-18 10:52:48 +02:00
Antonin Delpeuch
811b96551c Fix failing test in WbDateVariable 2018-05-06 18:29:07 +02:00
Antonin Delpeuch
484ae48c95 Give better feedback when values with invalid formats are provided. 2018-05-06 18:03:28 +02:00
Antonin Delpeuch
ee59a5037c Add test for numeric cells in Wikibase date parsing 2018-04-28 11:26:22 +02:00
Antonin Delpeuch
97e16d6e8e Add number of edits in preview and upload dialog 2018-04-28 11:25:49 +02:00
Antonin Delpeuch
f9a1a5ba18 Cleanup vocabulary for export (perform -> upload) in Wikidata extension 2018-04-28 10:56:51 +02:00
Antonin Delpeuch
68d9f448c6 Style tweaks to the Wikidata schema UI 2018-04-28 10:55:15 +02:00
Antonin Delpeuch
ff59ed7bb6 Parse dates in UTC in Wikidata extension 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
adfa60ef14 Fix scrolling in Wikidata schema 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
60db2828a8 Add spinner to indicate that Wikidata preview is in progress 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
5fda43a5c7 Make edit summaries mandatory 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
2d549b79f1 Prevent double clicks with e.preventDefault in Wikidata schema 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
c71bc9096c Cache results in datavalue rendering 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
3bf3f84ca6 Cap number of terms and statements displayed in the preview 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
cb81da0923 Fix display of column variables in the schema 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
30defdd2c4 Add save and discard buttons on the Wikidata schema 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
0c21d6d171 Refuse reconciled cells with invalid space 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
d6232efd95 Refresh the column variables when changes are made 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
02f908b827 Fix appearance of inputs in Firefox for Wikidata schema 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
eed1049df3 Add schema unsaved warning 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
d8d7e82be1 Restore preview tab 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
41eb14f3c0 Move the schema and issues to their own tabs in the main UI 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
21436340cd Add more client-side field validation 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
0961ff2949 Refuse empty strings in Wikidata schema 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
b1e368e7a8 Infer precision from engineering notation of quantity values 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
ec6d0eec64 Add workaround for issue in QuantityValue serialization.
https://github.com/Wikidata/Wikidata-Toolkit/issues/341
2018-04-27 09:17:33 +02:00
Antonin Delpeuch
81a18777cb Replace QS preview by visual preview of the edits 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
2779eb97da Add colors to signal when a suggest input has been validated or not 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
a4ece8ef6a Prettify the schema UI 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
6e4dfe67af Fix bug conflating new items 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
112f3f9308 Fix tests 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
8fab42ce8f Add error message when saving an incomplete schema 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
1d5ffddf90 Cleanup console.log 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
7ded62d78e Fix UI for quantity values 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
9583053b1b Fix Codacy issues 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
2b8ef7a9ae Improve rendering of suggest fields in Firefox 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
761f885348 Fix missing label for QS export 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
54b25d714b Speed up parsing and tweak edit comment 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
1eaaa00824 Fix typo 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
e9ce0fa59c Flatten scrutinizer hierarchy, optimize schema deserialization 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
46964862bc Change format of edit batch id 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
68e0a899b8 Use logger for JSON exception 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
7f1cfd2db7 Address review comments 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
580c0bed80 Fix ConnectionManager and add test for LoginCommand 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
3a58c6824d Prettify the UI and add a token to the edit summaries 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
999b1d4920 Update snapshot of WDTK 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
0b14a1a627 Add license headers, general cleanups on Java files 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
d6b229f25e Add support for all Wikibase datatypes 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
03c7674858 Fix siteIRI of new item ids (switch to SITE_LOCAL) 2018-04-27 09:17:33 +02:00
Antonin Delpeuch
975c3529cb Add UI support for quantity values and tidy up interface 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
15ba7fbdde Schema editing cleanup 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
6cb4386e64 Tweak the schema alignment UI 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
6b658fe87e Some rudimentary testing of operations and changes 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
a002468e7d Better testing of the editing process 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
773be2e161 Introduce a rewriter to update references to new items after creation 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
7cb8757028 Test the commands 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
973a28cc90 Test the scrutinizers 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
fd7462f749 Testing for QuickStatements exporter 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
bb044612e0 Introduce a scheduler package to reorganize item updates 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
88178d7c04 Refactor ItemUpdate and introduce ItemUpdateBuilder 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
e0cdb91520 Better testing for the schema package 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
6f9636176b Add a lot of tests in the schema 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
7cae9455da Test (and fix) ReconEntityIdValue 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
b48c78a617 Refactor and test QS value printing 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
1837926cb1 Add quantity expressions in the backend 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
487547bd27 Finish localization of the wikidata extension 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
d3023008e9 Localize perform edits dialog 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
9489cc95f0 Split js files for issues rendering 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
9513807a83 Display issues in perform edits dialog 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
1c51b32458 Fix storage of Wikibase credentials, to be updated with better serialization later on 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
ab642a52a1 Explicitly add server tests dir in classpath 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
056d0d18b0 Update JSONWriter constructor for the newer version 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
305c3a7bb9 Update WDTK jars with latest features 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
708ff44f2f Check for language code validity in WbLanguageVariable 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
75b1863c1c Testing for variables which generate wikibase values 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
fffd31382e Ignore unknown fields in schema JSON deserialization 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
8b1869414d Improve styling of schema alignment dialog 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
c845105a39 Cleanup JSON serialization and rename WbValueExpr to WbExpression 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
b99b72b071 Refactor schema expressions 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
a476b2bf0a Restore progress computation 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
0a18d61372 Request items by batches instead of one-by-one 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
54acac491d Fix EntityIdValue generation from Recon: discard nones 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
22c1d5dd9b Edit as bot by default 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
8cc282a502 Fix null pointer exception in NewItemLibrary 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
ad9d7f9f0e Update wdtk to newer snapshot 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
699ec16082 Report duplicate items in DistinctValuesScrutinizer 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
212b1b3dd3 Fix siteIRI of ReconEntityIdValues 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
784e866b4e Add scrutinizer for whitespace issues 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
42d9ca0393 Add explicit @JsonProperty decorators in schema classes 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
93883fd777 Add warning for monolingual exprs without language 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
69bfad6a47 Change architecture of custom EntityIdVales 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
43f0348ee9 Fix TermedEntityIdValue hashing 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
30ce8680c5 Add architecture to emit warnings during evaluation too 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
2687741263 Fix exceptions when constraints are not or incorrectly provided 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
6c6151ca43 Skip empty strings as values in the schema 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
bf7000e601 Move exceptions to own package 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
5d9aa9cae5 Add distinct values scrutinizer 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
7518d194f0 Display the number of issues in the tab header 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
1cf9378523 Add explanations on remaining scrutinizers 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
024c8cd6a5 Fix equality check on custom EntityIdValues 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
45bc328675 Add issue details on inverses and qualifier checks 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
e920c0f421 Add info issues for empty edits and no warnings 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
5891f8c270 Fix ItemIdValue generation from project to pass on terms 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
d4cb64cdfd Fix EntityCache so that it actually caches stuff 2018-04-27 09:17:32 +02:00