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
f88c0e3657
Preserve international characters in project/file names on import/export ( #2720 )
...
* Preserve international characters on import/export
Fixes #1352 . Preserve non-ASCII characters in project names on
project creation and filenames on export.
Uses existing filename cleaner with the addition of a few
more characters from StackOverflow, plus "#" which messes
up the download URL. Also URIencode download URL.
Removes unused I18N-incompatible cleaning function from
Wikidata extension rather than fixing it.
* Use common name cleaner function
Also preview cleaned table name instead of raw name, so user can see it.
Also add a TODO for better preview of column names
2020-06-18 22:06:46 +02:00
Antonin Delpeuch
fe7c71aecd
Update Wikidata extension for 3.3
2019-10-21 10:06:37 +01:00
Antonin Delpeuch
1ee5068f0d
CSRF protection for Wikidata extension
2019-10-17 10:42:05 +01:00
Antonin Delpeuch
30c0108241
Change override term UI to use checkbox
2019-06-13 10:56:06 +01:00
Antonin Delpeuch
f7a8085bab
Update UI to allow for non-overriding terms. Closes #2063
2019-06-13 09:21:30 +01:00
Antonin Delpeuch
432f16bb6b
Remove useless condition in Wikidata schema
2019-04-18 18:24:01 +01:00
Antonin Delpeuch
9cb9f4639e
Reset copied reference earlier in Wikidata schema
2019-03-01 09:59:08 +00:00
Antonin Delpeuch
dccc20f149
Merge pull request #1961 from OpenRefine/issue1927
...
Add ability to copy references in Wikidata schema
2019-02-27 10:01:23 +00:00
Antonin Delpeuch
70094f68b2
Merge pull request #1958 from OpenRefine/issue1934
...
Make suggest items clickable with the middle button.
2019-02-25 10:30:31 +00:00
Antonin Delpeuch
ac07457306
Fix suggest middle click in Wikidata schema
2019-02-25 10:16:10 +00:00
Antonin Delpeuch
d0a27543f5
Add paste button on new statements, fix invalidation of 'copied' state
2019-02-22 18:24:55 +00:00
Antonin Delpeuch
6d820dfea5
Update frontend date validation and format
2019-02-19 22:46:33 +00:00
Antonin Delpeuch
a7482ff0d2
Add ability to copy references. Closes #1912 .
2019-02-19 21:55:27 +00:00
Antonin Delpeuch
2f298b4093
Also make suggestions clickable in Wikidata extension
2019-02-19 14:42:04 +00:00
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
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
91e624e09f
Re-render table view when switching back from Wikidata schema. Closes #1774 .
2018-11-01 18:46:37 +00:00
Antonin Delpeuch
66072f5d05
Merge pull request #1790 from OpenRefine/issue1780
...
Make reference toggle clickable.
2018-11-01 12:04:34 +00:00
Antonin Delpeuch
32805b19a4
Make reference toggle clickable. Closes #1780 .
2018-10-28 10:14:34 +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
97e16d6e8e
Add number of edits in preview and upload dialog
2018-04-28 11:25:49 +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
2d549b79f1
Prevent double clicks with e.preventDefault in Wikidata schema
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
30defdd2c4
Add save and discard buttons on the Wikidata schema
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
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
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
3a58c6824d
Prettify the UI and add a token to the edit summaries
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
975c3529cb
Add UI support for quantity values and tidy up interface
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
487547bd27
Finish localization of the wikidata extension
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
8b1869414d
Improve styling of schema alignment dialog
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
45bc328675
Add issue details on inverses and qualifier checks
2018-04-27 09:17:32 +02:00