Commit Graph

882 Commits

Author SHA1 Message Date
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
Antonin Delpeuch
63d488d74f Add properties to format scrutinizer 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
abc51235c6 Add infrastructure to let scrutinizers report more details 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
c844742395 Introduce custom EntityIdValues to store localized labels 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
1ea1377734 Simply the scrutinizer architecture 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
132af25b4a Add single value scrutinizer 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
46b3e41bb7 Update tests to use PropertyIdValue 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
0a0aacb0cd Move pids from Strings to PropertyIdValues, cleaner 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
fea53aa900 Add wikidata tests to extensions/build.xml 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
316ee86e1a Add scrutinizer for allowed and mandatory qualifiers 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
283661956b Add support for snak location constraints 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
142eeabfeb Add unsourced scrutinizer 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
665585add9 Add self-referential scrutinizer 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
d347e5091f Add cached constraint fetcher and tests 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
508e9d22ad Add inverse constraint scrutinizer 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
0d5875b35b Add format scrutinizer 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
b5f2085038 Reorganize scrutinizers to simplify the methods 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
2795a54ea2 Start localization of the Wikidata extension 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
af4df335de Draft of warnings UI 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
990a404c76 Foundations of the edit inspector backend 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
38176189e4 gitignore for wikidata extension 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
9a3093b045 Fix terms serialization 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
497505eef1 Add serialization tests for Wikidata schema 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
a609d3786d Fix tests setup for Wikidata extension 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
a3db1898c6 Set up tests for wikidata extension 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
de224bb89a Add JacksonJsonizable 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
955bb409bc Migrate schema expressions to Jackson 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
989263d212 Improve Wikidata login screen 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
f6eceefd8e Improve support for terms in schema 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
5e99e0d2e3 Let the user specify an edit summary 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
5faa432aa6 Start storing user credentials in OpenRefine's preferences 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
7a6e4f49b1 Update Wikidata Toolkit 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
34568ca9b1 Initial support for creation of new items in Wikidata 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
4076f088f3 Update Wikidata-Toolkit to include new features 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
72939711e8 Restrict suggested languages for Wikidata monolingual texts 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
9f955c40ae Add support for names and descriptions 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
07e2a8d982 Add support for monolingual text in Wikibase schema 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
b326346fa3 Fix order of qualifiers in SnakGroup generation 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
ddceec4d27 Cleanup and UI tweaks 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
165ff41469 Support for dates and coordinates in Wikibase schema 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
8f4d998e21 Support for Wikidata editing from OpenRefine 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
67e5bcd504 Some UI cleanup for the schema alignment interface 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
23355eb472 Add reference support in Wikibase schema editor 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
68122b2b27 Fix qualifier addition ànd serialization 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
a1018dba6b Fix extensions/build.xml 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
66b3ddf76b Add support for qualifiers 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
c0f2468236 Restrict QS export to filtered rows 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
9fcdbc31e9 Initial support for item creations 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
f763e8c6ad Shorter QuickStatements preview and better export UI 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
035e7b82bc Add missing build and config files for Wikidata extension 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
781c3b0467 Support for properties with varying target datatype 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
fcde3d2c7d Add QuickStatements export and preview 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
975542bff1 Restore schema in UI after save 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
decef38f85 Synchronize schema storage and UI behaviour. 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
3fd71965fa Move wikidata-specific dependency to own .classpath 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
e38aeb7ba5 JSON serialization of schema to model 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
82930da4db First draft of the schema alignment dialog 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
5853cdf10d Wikibase schema serialization and related operation 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
ad475849b9 Start schema classes 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
19a1e5e007 Start Wikidata extension based on Wikidata-Toolkit 2018-04-27 09:17:30 +02:00
Jacky
cf573f37de fix the NPE when there is no fusion table exists 2018-03-06 18:16:29 -05:00
Jacky
ac57eb813e changes based on code review 2018-03-06 18:10:54 -05:00
Jacky
6af7e6545c adjust timeout to 3 min 2018-03-01 22:48:14 -05:00
Jacky
77aad7eb05 changes based on the code review 2018-03-01 22:45:14 -05:00
Jacky
c758a6b635 exclude test-out 2018-02-25 12:00:40 -05:00
Jacky
a9a41c074a upgrade the google api client 2018-02-02 13:08:29 -05:00
Jacky
efcbe4b718 upgrade the google api services 2018-02-02 13:04:27 -05:00
Jacky
c4b0ff6bea data package metadata (#1398)
* fix the appbundle issue #1209

* fix #1162

allow the JRE 9

* fix the package declarations

* remove the _ from the method name

* use the explicit scoping

* remote extra ;

* fix issued from codacy

* fix issued from codacy

* add preferences link to the index page

* handle the empty user metadata

* fix 'last modified' sorting issue #1307

* prevent overflow of the table. issue #1306

* add isoDateParser to sort the date

* prevent overflow of the project index

* remove sorter arrow for action columns

* disable editing the internal metadata

* adjust the width of the table

* change MetaData to Metadata

* change the filed name from rowNumber to rowCount

* put back the incidently deleted gitignore

* add double quote to prevent word splitting

* UI improvement on metadata view and project list view

* remove the date field in metadata

* message notification of the free RAM. Issue #1295

* UI tuning for metadata view

* shorten the ISO date to locale date format

* Added translation using Weblate (Portuguese (Brazil))

* remove the rename link

* Ignore empty language files introduced by Weblate

* Add UI for Invert text filter

* Backend support for Inverting Text search facets

* Fix reset on text search facet

* More succinct return statements

* add tests for SetProjectMetadataCommand

* Tidying up for Codacy

* Added Tests for TextSearchFilter

* Corrections for Codacy

* More code tidy up

* let the browser auto fit the table cell when resizing/zooming

* fix import multiple excel with mulitple sheets issue #1328

* check if the project has the userMetadata

* fix the unit test
support multi files with multi tables for open office

* prevent the same key for user metadata

* replace _ with variable for exception

* fix the no-undef issue

* to adjust the width of transform dialog. issue #1332

* fix the row count refresh issue

* extract method

* move the log message

* cosmatic changes for codacy

* fix typo

* bump to version 2.8

* .gitignore is now working

* preview stage won't have the metadata populated, so protect NPE

* Update README.md

No more direct link to the last version tag, which will avoid having to think of updating the readme

* refacotring the ProjectMetadata class

* introduce the IMetadata interface

* create submodule of dataschema

* add back

* setup lib for dataschema; upgrade the apache lang to lang3

* replace escape* functions from apache lang3

* replace the ProjectMetadata with IMetadata interface

* add missing jars

* set the IMetadata a field of Project

* remove PreferenceStore out of Project model

* fix test SetProjectMetadataCommandTests by casting

* introdcue the AbstractMetadata

* introdcue the AbstractMetadata

* reorganize the metadata package

* allow have mulitiple metadata for a project

* support for mulitple metadata format

* remove jdk7 since 'table schema' java implmentation only support jdk8+

* set execute permission for script

* fix the Unit Test after Metadata refactoring

* restore the apache lang2.5 since jetty 6.1.22 depend on it

* add commons lang 2.5 jar

* git submodule add  https://github.com/frictionlessdata/datapackage-java

* remove the metadata parameter from the ProjectManager.registerProject method

* remove hashmap _projectsMetadata field from the ProjectManager and FileProjectManager

* init the Project.metadataMap

* fix Unit Test

* restore the ProjectMetaData map to ProjectManager

* put the ProjectMetaDta in place for ProjectManager and Project object

* check null of singleton instead of create a constructor just for test

* load the data package metadata

* importing data package

* importing data package

* encapsulate the Package class into DataPackageMetadata

* user _ to indicate the class fields

* introduce base URL in order to download the data files

* import data package UI and draft backend

* import data package UI

* fix typo

* download the data set pointed from metadata resource

* save and load the data package metadata

* avoid magic string

* package cleanup

* set the java_version to 1.8

* set the min jdk to 1.8

* add the 3rd party src in the build.xml

* skip the file selection page if only 1 DATA file

* add files structure for json editor

* seperate out the metadata file from the retrival file list

* rename the OKF_METADATA to DATAPACKAGE_METADATA

* clean up

* implement GetMetadateCommand class

* display the metadata in json format

* git submodule update --remote --merge

* adjust the setting after pulling from datapackage origin

* fix the failed UT DateExtensionTests.testFetchCounts due to new json jar json-20160810.jar will complain: JSONObject["float"] not a string.

* clean up the weird loop array syntax get complained

* remove the unused constant

* export in data package format

* interface cleanup

* fix UT

* edit the metadata

* add UT for SetMetadataCommand

* fix UT for SetMetadataCommand

* display the data package metadata link on the project index page

* update submodule

* log the exceptions

* Ajv does not work properly, use the back end validation instead

* enable the validation for jsoneditor

* first draft of the data validation

* create a map to hold the constraint and its handler

* rename

* support for minLength and maxLength from spec

* add validate command

* test the opeation instead of validate command

* rename the UT

* format the error message and push to the report

* fix row number

* add resource bundle for validator

* inject the code of the constrains

* make the StrSubstitutor works

* extract the type and format information

* add the customizedFormat to interface to allow format properly

* get rid of magic string

* take care of missing parts of the data package

* implement RequiredConstraint

* patch for number type

* add max/min constraints

* get the constrains directly from field

* implement the PatternConstraint

* suppress warning

* fix the broken UT when expecting 2 digits fraction

* handle the cast and type properly

* fix the missing resource files for data package when run from command line

* use the copy instead of copydir

* add script for appveyor

* update script for appveyor

* do recursive clone

* correct the git url

* fix clone path

* clone folder option does not work

* will put another PR for this. delete for now

* revert the interface method name

* lazy loading the project data

* disable the validate menu for now

* add UT

* assert UTs

* add UT

* fix #1386

* remove import

* test the thread

* Revert "test the thread"

This reverts commit 779214160055afe3ccdcc18c57b0c7c72e87c824.

* fix the URLCachingTest UT

* define the template data package

* tidy up the metadata interface

* check the http response code

* fix the package

* display user friendly message when URL path is not reachable

* populate the data package schema

* Delete hs_err_pid15194.log

* populate data package info

* add username  preference and it will be pulled as the creator of the metadata

* undo the project.updateColumnChange() and start to introduce the fields into the existing core model

* tightly integrate the data package metadata

* tightly integrate the data package metadata for project level

* remove the submodule

* move the edit botton

* clean up build

* load the new property

* load the project metadata

* fix issues from codacy

* remove unused fields and annotation

* check the http response code firstly

* import zipped data package

* allow without keywords

* process the zip data package from url

* merge the tags

* check store firstly

* remove the table schema src

* move the json schema files to schema dir

* add comment

* add comment

* remove git moduels

* add incidently deleted file

* fix typo

* remove SetMetadataCommand

* revert change

* merge from master
2018-02-02 13:24:19 +00:00
Antonin Delpeuch
0d8659c652 Remove unit_tests.xml and rename others 2018-01-31 08:36:11 +00:00
Antonin Delpeuch
a8ed571f27 Enable Postgres on Appveyor 2018-01-27 18:08:04 +00:00
Antonin Delpeuch
2da07462ba Fix appveyor MySQL password 2018-01-27 17:52:23 +00:00
Antonin Delpeuch
6fdaab7724 Enable MySQL in Appveyor 2018-01-27 17:03:53 +00:00
Antonin Delpeuch
b5ffcd38fa Exclude tests which require a database by default; enable them on Travis 2018-01-27 16:36:33 +00:00
Antonin Delpeuch
b2b9a4bc9a Do not catch exceptions in tests; add database groups
The groups let us enable / disable tests for a specific db,
depending on which one is available on the machine.
2018-01-27 16:20:07 +00:00
Jacky
54e25408fb
Merge pull request #1414 from OpenRefine/issue1377
Expose fields as attributes in Jython
2018-01-26 13:14:10 -05:00
Stuart Kenny
43e62832dd Move context menu function from main script 2018-01-22 10:17:59 +00:00
Stuart Kenny
2c3be12269 Javascript error on project page from database extension 2018-01-22 10:09:59 +00:00
TonyO
a3ac35a296 database extension with classpath fix 2018-01-13 20:24:56 -06:00
Jacky
cc7a72d9db
Revert "OpenRefine Database Import Extension" 2018-01-13 14:36:23 -05:00
Antonin Delpeuch
315b126b23 Cleanup tests for Codacy 2018-01-13 09:18:48 +00:00
Antonin Delpeuch
1b76f789a3 Expose fields as attributes in Jython
Closes #1377
2018-01-13 09:18:48 +00:00
TonyO
524c1a32f9 TR1394-fixed test cases 2018-01-12 22:54:20 -06:00
TonyO
6bd932fd9a unit tests and db integration tests and travis-ci 2018-01-12 22:23:48 -06:00
TonyO
88a3884e34 Merge branch 'master' of https://github.com/OpenRefine/OpenRefine into openrefine-db-extension 2018-01-10 21:07:26 -06:00
TonyO
c1703186e1 new test util class 2018-01-10 21:01:51 -06:00
TonyO
13a34a6f3e added test extra unit test 2018-01-10 21:00:10 -06:00
Antonin Delpeuch
0fb7e79982 Split .gitignore by extension 2018-01-03 22:04:49 +01:00
Antonin Delpeuch
4a325c8ff5 Configure testing for the Jython extension 2018-01-03 18:37:16 +01:00
Isao Matsunami
c75f97b40d
Update translation-jp.json 2017-12-28 17:08:07 +09:00
Isao Matsunami
a72d365b2b
Create translation-jp.json
Added Japanese translation file for Google Data extension
2017-12-28 16:52:11 +09:00
TonyO
cccd722f44 code cleanup with eslint and checkstyle 2017-12-24 00:52:40 -06:00
TonyO
9afd19be0a changed log levels 2017-12-22 23:05:05 -06:00
TonyO
6f793bb9fa database extension code commit 2017-12-22 22:43:02 -06:00
Jacky
818e139b43 add the import options to metadata 2017-10-21 23:41:11 -04:00
Antonin Delpeuch
c9cc4fb262 Update Jackson to 2.9.1
Closes #1262
2017-10-09 17:38:09 +01:00
Antonin Delpeuch
8e7f4ae80c Update Jython to 2.7.1.
Related to #1236.
2017-08-24 09:46:58 +02:00
Antonin Delpeuch
bcdd04d062 Merge branch 'master' of https://github.com/noamoss/OpenRefine into noamoss
Conflicts:
	extensions/freebase/module/langs/translation-he.json
	main/webapp/modules/core/langs/translation-en.json
2017-08-12 09:45:23 +01:00
Antonin Delpeuch
dbb071da30 Merge branch 'default-to-english' of https://github.com/RBGKew/OpenRefine into RBGKew-default-to-english 2017-08-09 14:07:22 +01:00
Fadi Maali
0e21c0e594 correct classpath references and java version
- updated classpath references to existing versions of the libraries.
- Java version upgraded to 7 as some Java 7 specific features are used.
- corrected references to old project name (grefine-all) in the launch script
2017-07-18 22:15:46 +01:00
Thad Guidry
f9323d29c6 Updating to latest Jython 2.7 standalone jar 2017-02-28 14:52:41 -06:00
Tom Morris
8511c6c30d Merge remote-tracking branch 'upstream/master' 2015-09-25 17:14:48 -04:00
Maxim Galushka
68d8456f9e Concurrent access issue to jython evaluables. 2015-09-22 17:38:35 +01:00
Thad Guidry
20220f7294 Merge pull request #1068 from RefinePro/issues-freebase-remove
Issues freebase remove
2015-09-21 20:24:06 -05:00
jackyq2015
d671d7784b fix issue #995 2015-09-21 21:03:25 -04:00
jackyq2015
e0a0477f79 remove the src of freebase 2015-09-19 15:59:42 -04:00
Tom Morris
b296c29937 Call Jython Python to help users - fixes #995 2015-07-29 17:11:07 -04:00
Tom Morris
508fa6efc3 Fix character set for GData docs - fixes #1003 2015-05-15 15:54:09 -04:00
Tom Morris
28eafe7a5b Update Google client libs to current versions. Fix Spreadsheet #996 2015-05-14 20:41:03 -04:00
Tom Morris
08fde2b991 Remove dependent JARs for Freebase so they don't conflict w/gData 2015-05-14 20:34:49 -04:00
Tom Morris
9c5bc3cd2b Remove Freebase extensions from build 2015-05-14 20:32:58 -04:00
Daniel Berthereau
d1dbaa6f77 Translated into French. 2015-04-06 00:00:00 +02:00
Matthew Blissett
5cdc6d7b5a Fallback to English language to avoid need to maintain 'default' translation files. 2015-02-10 12:33:08 +00:00
Ram Ezrach
4a822d2957 Update translation-he.json 2014-12-22 20:27:39 +02:00
Tom Morris
dd32f37ab6 Improve error message via @annolangen in PR #853 2014-12-21 14:54:25 -05:00
Tom Morris
80b85dd6df Remove unused code 2014-12-21 13:15:26 -05:00
Tom Morris
c3d401d479 Fix CSV quote escaping via @annolangen from PR #853 2014-12-21 13:09:50 -05:00
Tom Morris
c4b6f824f0 Fix ClassCastException via @annolangen from PR #853 2014-12-21 13:04:56 -05:00
Tom Morris
0155a9bbee Add .gitignore files 2014-12-21 13:03:49 -05:00
Tom Morris
09f55fb436 Merge pull request #920 from opendatatrentino/fixEclipseDeps
Update deps in Eclipse projects and some jar sources
2014-12-21 12:39:43 -05:00
noamoss
68e20730da translate "gdata-import" into Hebrew 2014-12-14 21:58:16 +02:00
noamoss
147ad0d7c6 start translating "fb-schema-alignment" to Hebrew 2014-12-14 21:52:06 +02:00
David Leoni
bf60360b26 fixes language context in browser calls 2014-12-03 14:52:06 +01:00
David Leoni
ffad78c542 updated deps in Eclipse project and some jar sources 2014-12-01 16:17:25 +01:00
Tom Morris
27e775bd78 Merge pull request #848 from ultraklon/modification7
Show Align Now button - fixes #847
2014-07-03 10:39:23 -04:00
Pablo Moyano
b4e5e9698e Proposed fix for #847 2014-02-01 01:57:38 -08:00
Pablo Moyano
a1cd605968 fixing bug #799 2013-12-25 13:12:13 -03:00
Tom Morris
0abe663ec0 Fix some deprecated uses of attr(). Backward compatible to jQuery 1.6 2013-09-18 15:38:12 -04:00
Tom Morris
819b577644 Switch from dashes to underscores to keep Javascript happy - fixes #802
(also matches the style of all the other IDs)
2013-09-03 12:05:06 -04:00
Tom Morris
fcb41d7f5f Fix copy/paste error in text setup for signout button - fixes #801 2013-09-02 18:56:55 -04:00
Tom Morris
4f0e7d1641 Add missing strings to default language - fixes #797 2013-09-02 18:47:35 -04:00
Tom Morris
29eb95cba2 Exclude lib-src JARs - #792 2013-08-26 15:36:53 -04:00
Tom Morris
e98d6037cf Delete obsolete Guava JARS - #792 2013-08-26 15:34:18 -04:00
Tom Morris
eeb082b763 Merge remote-tracking branch 'origin/master' into fusiontables-migration
Conflicts:
	extensions/freebase/module/langs/translation-default.json
	extensions/freebase/module/langs/translation-en.json
	extensions/freebase/module/langs/translation-it.json
	extensions/freebase/src/com/google/refine/freebase/commands/LoadLanguageCommand.java
	extensions/gdata/module/MOD-INF/controller.js
	extensions/gdata/module/langs/translation-default.json
	extensions/gdata/module/langs/translation-en.json
	extensions/gdata/module/langs/translation-it.json
	extensions/gdata/src/com/google/refine/extension/gdata/commands/LoadLanguageCommand.java
	main/src/com/google/refine/commands/lang/LoadLanguageCommand.java
	main/src/com/google/refine/commands/lang/SetLanguageCommand.java
	main/webapp/modules/core/langs/translation-default.json
	main/webapp/modules/core/langs/translation-en.json
	main/webapp/modules/core/langs/translation-it.json
	main/webapp/modules/core/scripts/index/lang-settings-ui.js
2013-08-16 17:56:56 -04:00
Tom Morris
f3b18da0ea Line endings 2013-08-16 16:25:27 -04:00
Tom Morris
cc37c7053f Add TODO for JSONRPC replacement 2013-08-05 13:05:09 -04:00
Tom Morris
f4ff227340 Clean up localization - fixes #760, modifies pull request #755
- make all file loading relative to module base
- move core language files into appropriate place
- eliminate all SetLanguage commands and use SetPreference instead
- eliminate all LoadLanguage commands except for core's
- fix duplicate keys in JSON language files
- remove BOM from JSON language files

OPEN - task 760: Translations not being loaded from built kit 
http://github.com/OpenRefine/OpenRefine/issues/issue/760
2013-07-31 00:31:31 -04:00
Tom Morris
9450d483ce Fix up line endings 2013-07-29 15:49:20 -04:00
Tom Morris
00dd7f2bdd Merge branch 'master' into fusiontables-migration
Conflicts:
	.classpath
	extensions/gdata/module/MOD-INF/controller.js
	extensions/gdata/src/com/google/refine/extension/gdata/GDataImporter.java
2013-07-25 16:13:04 -04:00
Tom Morris
1e5f89e84c Centralize handling of import job config object & synchronize to allow
multiple accessors
2013-07-25 15:41:08 -04:00
Tom Morris
218ea46a4d Merge remote-tracking branch 'blakko/internationalization' - close #755
Conflicts:
	extensions/freebase/module/scripts/dialogs/schema-alignment/schema-alignment-dialog.html
	main/webapp/modules/core/index.vt
	main/webapp/modules/core/project.vt
	main/webapp/modules/core/scripts/project/browsing-engine.js
	main/webapp/modules/core/scripts/project/history-panel.html
2013-07-25 10:53:25 -04:00
Tom Morris
78bf52ff69 Add hyphens to camel case wiki links. Use https everywhere. fixes #757 2013-07-25 10:29:41 -04:00
Blakko
6e90bc41f6 Merge remote-tracking branch 'origin/master' into internationalization
Conflicts:
	extensions/freebase/module/scripts/dialogs/schema-alignment/schema-alignment-dialog.html
	main/webapp/modules/core/index.vt
	main/webapp/modules/core/project.vt
	main/webapp/modules/core/scripts/project/browsing-engine.js
	main/webapp/modules/core/scripts/project/history-panel.html
2013-07-25 11:07:59 +02:00
Blakko
e6e6c8c002 Added a "Language Settings" menu at index
Now the language manually set has priority over the browser lang
Update translations
2013-07-12 11:12:33 +02:00
Tom Morris
a371a9cb5d Specify target Java version for bundled extensions - addresses part
of #754
2013-07-10 15:45:25 -04:00
Blakko
23310efded Fir for a couple of freebase-extension labels 2013-07-09 16:04:13 +02:00
Blakko
0adadb55dd Fix for gdata extension 2013-07-04 11:49:59 +02:00
Blakko
6048ef29f4 Added default translation file
Fixed a wrong field
2013-06-28 14:31:24 +02:00
Blakko
696eccc872 gdata-extension internationalization 2013-06-27 17:25:53 +02:00
Blakko
3acc5291ce Freebase extension internationalized
Added IT translation
2013-06-27 12:03:51 +02:00
Tom Morris
a015b4e184 Update help links to point to new wiki. Fixes #716. 2013-06-23 15:34:47 -04:00
Tom Morris
fff8991603 Add TODO 2013-05-26 08:02:12 -04:00
Tom Morris
22a9acd04b Merge branch master 2013-04-13 19:02:20 -04:00
Tom Morris
567da6aa9f Normalize line endings
Add .gitattributes & do one-time normalization of line endings
2013-03-23 18:46:20 -04:00
Tom Morris
6b69427cbb Clean up commented out code 2013-03-18 20:20:23 -04:00
Tom Morris
c91a377eed Merge David's API key changes
- support both API key storage mechanisms for the interim
2013-03-18 17:47:50 -04:00
Tom Morris
8a8639f7aa Bump up batch size for simple recon jobs
Change GUID from 10 to 50 and keys & IDs from 10 to 40
2013-03-13 16:49:47 -04:00
Tom Morris
4074d3267c Refactor to use common mqlread code and eliminate clones 2013-03-13 16:45:37 -04:00
Tom Morris
a06e16a9e5 Update some Javascript uses to new Freebase API - part of #696 2013-03-12 17:46:18 -04:00
Tom Morris
05968e37fa Switch Add from Freebase to Google APIs - part of #696
- switch to use the Google Java client instead of handrolled requests
2013-03-12 17:38:18 -04:00
Tom Morris
757c3e32ff Centralize Google API key 2013-03-12 17:34:06 -04:00
Tom Morris
7b9f6836e1 Update key & id recon to new Freebase APIs - part of #696 2013-03-12 16:50:23 -04:00
Tom Morris
ca09ae6f90 Report Jython errors to user - addresses #694
- may need to work on the format a bit more
2013-03-06 20:38:07 -05:00
Tom Morris
975c6c85dc Replace Jython JAR with one that includes all libraries - fixes #693 2013-03-06 20:36:05 -05:00
Tom Morris
c2f2db52ab Fix issue #691 - include /common/topic properties
- Switch to new openrefine-helper app which includes /common/topic
properties in list
- Fix Suggest setup to allow /common/topic properties
2013-03-03 15:42:06 -05:00
Tom Morris
a2711e4f59 Correct Suggest property filter - fixes issue 689 2013-03-01 22:26:05 -05:00
Tom Morris
1e9a1c5f15 Merge branch 'master' into fusiontables-migration 2013-02-26 00:05:34 -05:00
Tom Morris
317bf35445 Update to Jython 2.5.3 and package everything in a single JAR 2013-02-21 12:44:47 -05:00
Tom Morris
7fb95ebbad First pass implementation of new Fusion Tables API - fixes #539 2013-02-11 16:33:51 -05:00
Tom Morris
2464421014 Update to rev 17 of Fusion Tables JARs 2013-02-11 12:36:45 -05:00
Tom Morris
092acf082a Update URLs for new Fusion Table encrypted ID format 2013-02-10 15:03:43 -05:00
Tom Morris
bf2f775c0b Migrate to OAuth2
- implement OAuth2 for both Spreadsheets & Fusion Tables
- switch cookie name from authsub_token to oauth2_token so there's no
confusion
- implementation is otherwise unchanged - in particular still uses old
Fusion Tables SQL API
2013-02-10 14:17:28 -05:00
Tom Morris
d7081415d4 Restore deprecated Fusion Tables authorization domain
- just for now until we've implemented the new support
2013-02-09 15:41:06 -05:00
Tom Morris
0c6e065ac6 Refactor GData support to separate FusionTables 2013-02-09 13:41:02 -05:00
Tom Morris
c43e106abb Add JARs for new FusionTables API and dependencies 2013-02-09 13:23:13 -05:00
Tom Morris
b33c6cc0fd Ask Freebase Suggest to fetch expected type - fixes #646
- get Suggest to fetch the expected type of property and save it so that
constraints and other operations work correctly
2013-01-05 18:22:25 -05:00
Shardul Deo
7de8773132 Properties from suggest widget don't have expected types sp use default 2012-11-19 12:42:02 +08:00
Tom Morris
0bd2104a16 Issue 630: Change branding from Google Refine to OpenRefine
** The first native Github commit (ie not one converted from SVN **
Change Google Refine to OpenRefine or just Refine.  
Change icon filenames and add some placeholder icons
2012-10-18 19:40:31 -04:00
Tom Morris
03d997be8e FIXED - task 576: Use relative paths so works under a Java server named context - patch supplied by sergio@wikier.org
http://code.google.com/p/google-refine/issues/detail?id=576

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2584 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-13 17:47:08 +00:00
Tom Morris
1bcf2899a8 FIXED - task 620: Update gdata client libs to 1.47.1
http://code.google.com/p/google-refine/issues/detail?id=620

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2577 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-12 19:42:45 +00:00
Tom Morris
8defe9ee32 FIXED - task 628: update to Freebase Suggest 4.0 - patch supplied by sdeo@google.com
http://code.google.com/p/google-refine/issues/detail?id=628

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2575 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-12 18:39:05 +00:00
Tom Morris
9347d38e5e FIXED - task 608: remove unused jar
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2546 7d457c2a-affb-35e4-300a-418c747d4874
2012-09-13 18:05:56 +00:00
Stefano Mazzocchi
ba89daec1c make oauth against freebase work again in chrome
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2537 7d457c2a-affb-35e4-300a-418c747d4874
2012-08-23 20:58:08 +00:00
Tom Morris
c406876b51 Fix resource leak
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2522 7d457c2a-affb-35e4-300a-418c747d4874
2012-08-04 00:26:33 +00:00
Stefano Mazzocchi
2cb31b8b29 fixing oauth problems with redirection for the Freebase API
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2516 7d457c2a-affb-35e4-300a-418c747d4874
2012-08-01 21:46:53 +00:00
David Huynh
4cfb921082 Added getStringKey() method for when it is difficult to generate integer keys that don't collide
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2515 7d457c2a-affb-35e4-300a-418c747d4874
2012-07-19 00:25:41 +00:00
Stefano Mazzocchi
3b8701aeee further cleanup, sign.js should not contain presentation-related code
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2512 7d457c2a-affb-35e4-300a-418c747d4874
2012-07-12 01:54:24 +00:00
Stefano Mazzocchi
b634a03dbb moving the sign.js in the main refine block as this is potentially useful for all extensions that use the oauth mechanics
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2511 7d457c2a-affb-35e4-300a-418c747d4874
2012-07-12 01:52:15 +00:00
Stefano Mazzocchi
f84dcff900 moving oauth authorize and deauthrorize into the core module because they are reusable across extensions
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2505 7d457c2a-affb-35e4-300a-418c747d4874
2012-06-29 19:39:42 +00:00
Tom Morris
8dff3056e9 Issue 552 - add server libs to default build path for sample. Patch from mateja.verlic
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2477 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-16 16:37:38 +00:00
Tom Morris
cebe009e2e Convert integers to strings first so that they work as year-only dates if target type is /type/datetime
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2476 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-16 16:29:24 +00:00
Tom Morris
2acd4624cf Issue 551 - add "connect":"insert" clause for literal Freebase topics in protograph
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2475 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-16 16:23:29 +00:00
Tom Morris
00d8827d16 Refactor to break up huge method. Get rid of autogenerated comments. No functional changes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2473 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-16 13:35:00 +00:00
Tom Morris
bfc275de5f Issue 226 - Format dates as ISO 8601 for compatibility with Freebase graph
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2451 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-03 21:39:55 +00:00
Tom Morris
b784046b18 Issue 541 - add support for constraints on key queries in Freebase
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2449 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-02 22:36:08 +00:00
David Huynh
4fbfd17ddf Fixed typo "cancelImportinJob".
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2440 7d457c2a-affb-35e4-300a-418c747d4874
2012-01-29 08:01:05 +00:00