Commit Graph

57 Commits

Author SHA1 Message Date
Tom Morris
6095c44cb7
Update to jQuery 1.12.4 and jQuery Migrate 1.4.1 - fixes 2932 (#2933)
* Refactor module wiring to reduce redundancy

* Update to jQuery 1.12.4 & jQuery Migrate 1.4.1 - fixes #2932

This updates to the latest jQuery 1.x and jQuery Migrate 1.x,
the first step in upgrading to a modern jQuery.

* Add a couple of bug fixes from Google Code SVN

This is an unrelease version from the Google Code freebase-site
repo which only has a few changes from the v4.3 release, but
one of them is removing the `browser.msie` reference that
jQuery Migrate is complaining about.

* Use prop() for 'checked' and 'disabled'

* Update jQuery 'value' property setting code to use val()

* Use prop() instead of attr() to set 'selected'

* Patch for jQuery >1.9
2020-08-06 13:47:31 +02:00
Tom Morris
05fb4e355f
Replace Javascript string concatenation with i18n parameters - addresses #1858 (#3019)
* Replace js string concatenation with i18n parameters

refs #1858
Remove Javascript string concatentation and use jquery i18n()
instead so that translators have the needed context and
flexibility to be able to do a good job. Also remove code-based
plurals conditionalization and replace with i18n.

* Update French translation so I can test non-English support

* Add missing localization

* Clean up formatting of service API link
2020-08-04 10:10:38 +02:00
Urvashi Gupta
f00129b852
fixes service panel toggling (#2915) 2020-07-14 16:46:10 +02:00
Urvashi Gupta
a0f2d11255
addStandardServiceOnEnter (#2914) 2020-07-09 22:57:24 +02:00
Antonin Delpeuch
1bb9e8a67e Update URL of Wikidata reconciliation service. Closes #2724 2020-06-15 00:35:10 +02:00
Ekta Mishra
7c08d774e5
Removed freebase-query-panel.html (#2434)
Freebase conciliation webserice is no longer availabe and no call is made to this file.
Hence, should be removed.
2020-03-18 13:45:45 +00:00
Ekta Mishra
afd5cf70f0
Reconciliation UI: property not included if checkbox unchecked (#2413)
solves #2230
2020-03-15 13:49:14 +00:00
Antonin Delpeuch
2e1d5402ea Add CORS support with JSONP fallback. Closes #2260 2019-12-24 10:38:12 +01:00
Antonin Delpeuch
ad261109be Fetch default recon service in background silently. Fixes #1665 2019-12-24 09:07:23 +01:00
Antonin Delpeuch
5dc005749a Add CSRF protection to remaining commands 2019-10-15 12:07:13 +01:00
Antonin Delpeuch
3559eeb11f CSRF protection for project and recon commands 2019-10-15 12:07:12 +01:00
Fabian Steeg
cf578cf641 Set suggestOptions.type to the selected reconciliation type
Remove Freebase-specific option and default value

See https://github.com/OpenRefine/OpenRefine/issues/2168
2019-09-23 12:22:13 +02:00
Antonin Delpeuch
10931e1e4d Migrate js to new localization syntax 2018-11-21 17:30:00 +00:00
Antonin Delpeuch
9bf0bb2154 Merge JS i18n strings with slash 2018-11-21 15:24:57 +00:00
Jacky
1866f9691d pass the limit as int from javascript 2018-03-04 00:49:55 +00:00
Antonin Delpeuch
b373ab6d0d
Revert "pass the limit as int from javascript" 2018-03-02 23:46:41 +00:00
Jacky
973b7b5f21 pass the limit as int from javascript 2018-03-02 17:09:33 -05:00
Olle Jonsson
5e075b09a4 Reconciliation panel: spelling of JS property 2018-01-07 21:16:33 +01:00
Antonin Delpeuch
7989aacc58 Cleanup for Codacy 2017-08-17 12:40:56 +01:00
Antonin Delpeuch
3dcda5a42c Add reconciliation config in wikitext import. 2017-08-16 00:05:40 +01:00
Antonin Delpeuch
197de90294 Remove the namespaced service dialog, as it only worked with Freebase. 2017-02-08 18:14:33 +00:00
Antonin Delpeuch
aaf8f93c04 Remove various references to Freebase, where I'm confident 2017-02-08 17:56:03 +00:00
Antonin Delpeuch
5d8d372244 Simpler version 2017-02-07 23:59:12 +00:00
Antonin Delpeuch
d967605816 Change default reconciliation service to Wikidata 2017-02-07 23:29:43 +00:00
Tom Morris
c74fce0180 Fix URL encoding - fixes #1059
Fixes both permalink & "browse this cluster".
Substitutes encodeURIComponent for escape
2015-10-16 15:41:03 -04:00
Tom Morris
7186e42b0c Remove old Freebase standard reconciliation service 2014-12-21 17:09:53 -05:00
Blakko
505857fc11 Made the recon service list collapsible to have more space for services
configuration
2014-06-12 14:56:46 +02:00
Blakko
f69f4b0c80 Getting rid of tables in html 2014-06-11 14:04:51 +02:00
Tom Morris
889245fdf4 Make the number of reconciliation results configurable - closes #466 2013-09-04 18:07:12 -04:00
Blakko
d9ccaf53ad More small bugfixes 2013-07-11 11:05:13 +02:00
Blakko
eb3eba9c5e Internationalization of the reconciliation part 2013-07-08 11:40:11 +02:00
Tom Morris
5778a18b05 Switch to new reconcile service for namespaced lookups 2013-03-03 15:42:48 -05:00
Tom Morris
23cc319fd7 Switch to released version of reconciliation service - fixes issue #629 2013-03-02 16:00:56 -05:00
Tom Morris
a2711e4f59 Correct Suggest property filter - fixes issue 689 2013-03-01 22:26:05 -05: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
12308c2840 task 584: Add a timeout of 10 seconds for reconciliation service to respond
http://code.google.com/p/google-refine/issues/detail?id=584

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2580 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-12 22:29:53 +00:00
Tom Morris
3ff52ba494 FIXED - task 584: remove busy spinner & show error if failed to query new recon service
http://code.google.com/p/google-refine/issues/detail?id=584

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2579 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-12 20:33:33 +00:00
Tom Morris
f135b1b8d9 FIXED - task 579: Rebuild services map when deleting recon service - patch from sergio@wikier.org
http://code.google.com/p/google-refine/issues/detail?id=579

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2578 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-12 19:49:33 +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
Stefano Mazzocchi
b413833ca1 fixing a bunch of jslint issues
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2303 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-07 23:44:11 +00:00
David Huynh
bad7266534 Cleaned up code formatting in .js, .html, .vt, .css, .less files.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2185 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-04 20:37:14 +00:00
David Huynh
2a77e7bd8a Fixed bug in recon dialog: previously, manually specified type didn't get its id transmitted properly to the server
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1695 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-26 04:05:04 +00:00
David Huynh
2d9e7c87f6 Increased recon batch size to 10 again. Various style tweaks. Polished up freebase extension's dialogs to be a bit more helpful
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1625 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 01:07:25 +00:00
David Huynh
9a96d2b8f0 Added license text to .js, .css, .less, and main .vt and .html pages
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1612 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 18:11:15 +00:00
David Huynh
9b8206da29 Fixed new bug for query-based reconciliation introduced by factoring out the freebase extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1611 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 04:52:35 +00:00
David Huynh
6da68b37ef Added class 'button' to buttons.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1580 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 06:43:01 +00:00
David Huynh
dc49047092 We have previously changed the standard-reconcile acre app to return mids, but we still need to make sure its metadata says that its identifier space is mid, not id. And we need Refine to test for the mid identifier space as well.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1479 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 18:33:27 +00:00
David Huynh
d15fe661fa Renamed in client-side code. Refine should start and existing projects should still work.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1293 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 22:55:28 +00:00
David Huynh
2ca12f5771 Switched to version 2 of standard-reconcile service, which returns MIDs instead of IDs.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1222 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-24 18:46:26 +00:00
David Huynh
c94abd0427 Commands are now registered in association with their modules, so to avoid name collision.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1193 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-22 06:16:13 +00:00