Commit Graph

30 Commits

Author SHA1 Message Date
Tom Morris
4359f894b8
Check for errors on Guess Types query - fixes #3173 (#3318)
Don't assume that the query always succeeds.
Error reporting is rudimentary (alert), but better than nothing.
2020-11-05 18:24:15 +01:00
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
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
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
aaf8f93c04 Remove various references to Freebase, where I'm confident 2017-02-08 17:56:03 +00:00
Tom Morris
889245fdf4 Make the number of reconciliation results configurable - closes #466 2013-09-04 18:07:12 -04:00
Blakko
eb3eba9c5e Internationalization of the reconciliation part 2013-07-08 11:40:11 +02: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
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
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
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
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
David Huynh
59fe9e35bd Property suggest and type suggest widgets in standard recon service panel now use the service's suggest settings, including custom service URLs.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1049 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-28 22:42:53 +00:00
David Huynh
0e4781cb58 Forgot a console.log() call.
Allow reconciling against no particular type.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1043 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-27 04:20:35 +00:00
David Huynh
40c5fb8ff1 More work on recon refactoring:
- services can now be unregistered.
- matched topics and candidates now have links formatted by the service that generated them.
- recon candidate previews are also based on the recon service.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1040 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-26 05:34:54 +00:00
David Huynh
ecfb893e98 More work on the recon UI. Standard services can now be added.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1038 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-26 01:10:23 +00:00
David Huynh
058e86b4c8 First pass in trying to generalize standard reconciliation service UI. A lot of pieces are still Freebase-centric.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1032 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-24 20:13:51 +00:00