Commit Graph

588 Commits

Author SHA1 Message Date
Albin Larsson
aac8359238
Set client timeout limit in chainGetJSON() (#2482)
By setting a client side timeout one can avoid net::ERR_NETWORK_IO_SUSPENDED errors caused by the OS network layer being suspended [1]. This allows the client to handle higher level errors.

The jQuery.getJSON() function does not have a parameter for timeouts.

[1]: https://cs.chromium.org/chromium/src/net/http/http_network_layer.cc?q=ERR_NETWORK_IO_SUSPENDED&sq=package:chromium&dr=C&l=42
2020-04-06 10:42:38 +02:00
chuhao zeng
1f0111eaed
Fix silent error in JSON/XML importers (#2414)
* Add error handler for parse error

* Add test for parsing json with incorrect strecture

* Enable localization from front-end

* Add methods to get localized error messages

* Update returned exception message

* Remove unused log and fix file diff issue

* Test auto build

* Refactor getOptions in newly created test

* Use new exception to unwrap original message

* Undo unexpected fix

* Remove unused lines

* Fix exception logic

* Fix typo
2020-03-27 09:41:49 +01:00
Agha Saad Fraz
cff88e6267
Added google sheet feature and moved features to the export drop-down (#2458)
* fixed minor typos

* Added google sheet feature and moved features to the export drop-down menu

* minor change

* removed redundant text and moved code and translations into their respective extensions
2020-03-23 11:14:02 +01:00
Lisa Chandra
ef8ad85c3c
Adds trim whitespace option to separator based files (#2408)
* added trim ui to csv importer

* added trim functionality

* trimStrings handler only for strings

* added test for trimStrings option in csv/tsv files

* made trim option enabled by default
2020-03-21 10:38:43 +00:00
Ekta Mishra
bf8af23493
Creates project from URL when press ENTER (#2444)
* Creates project from URL when press ENTER

solves #2437

* Added submit action
2020-03-20 22:35:40 +01: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
Albin Larsson
1bbf3df0f3
CustomTabularExporterDialog: fix checkbox options being ignored (#2429)
Any value (even an empty string) of the checked attribute will be threated as checked. Fixed by passing null to jQuerys attr function which removes the attribute.
https://stackoverflow.com/questions/4228658/what-values-for-checked-and-selected-are-false
2020-03-18 04:54:04 +00:00
Albin Larsson
4ba75034cb
Custom Tabular Exporter: add option to quote all strings #1869 (#2427) 2020-03-17 18:01:37 +00:00
Ekta Mishra
afd5cf70f0
Reconciliation UI: property not included if checkbox unchecked (#2413)
solves #2230
2020-03-15 13:49:14 +00:00
Lisa Chandra
fd2460914c
Fixes no selected record element error (#2407)
* fixes no record element error

* made relevant changes

* alert message from i18n instead

* removed the boolean variable
2020-03-14 14:36:54 +00:00
Ekta Mishra
6ec40bc478
Removed exportTrippleloader functions #2345 (#2399)
closes #2345
2020-03-12 13:03:26 +00:00
Ekta Mishra
fd12ea8c5d
Removed freebaseapps.com from scripts (#2395)
closes #1973
2020-03-12 10:57:42 +00:00
Lisa
b5282fcce7
corrected label for trim in xml parser ui (#2394) 2020-03-12 10:54:53 +00:00
Kush Trivedi
3fd3faca11
enh: URL checking for import web addresses (#2377)
* enh: URL checking for import web addresses

* Add the source for Regex

* Removing the console.log for production
2020-03-11 22:22:49 +00:00
Lisa
649ce93b3a
corrects wrong trim label for json importer config (#2385) 2020-03-11 09:41:16 +00:00
Hammad Aamer
e8f2a98cf0
Added feature to create column containing Q values (#2378)
* Added feature to create column containing Q values

* Defined better language for adding IDs column

* Fixed notations

* Add id column final fix

* Add id column final fix

Co-authored-by: Hammad Aamer <hammad.aamer97@gmail.com>
2020-03-11 09:34:49 +00:00
Kush Trivedi
fec414cb14
fix: List facets dialogue should be non editable (#2375) 2020-03-10 10:17:23 +00:00
Antonin Delpeuch
3d5a93d506
Merge pull request #2324 from kushthedude/timeout
enh: Text Filter waits until user finishes updating
2020-03-07 21:10:21 +00:00
kushthedude
3b2aa2ccd0 applying timeout variance only for regex 2020-03-07 01:56:36 +05:30
kushthedude
620d7672c9 Addresing requested changes 2020-03-06 15:35:44 +05:30
Antonin Delpeuch
7a3b3a9a7a Enforce uniform column widths in key-value columnize dialog 2020-03-04 09:43:42 +00:00
Alex
8816cd511a changes for #898:
* made "Columnize by Key/Value columns" dialog resizable
* set overflow styling, which solves the issue in Chromium-based browsers (Chrome, Edge, Opera) but doesn't work in FireFox and WebKit-based browsers (like Epiphany @ Linux, not tested in Safari but most likely won't work either)
2020-03-02 14:57:02 +02:00
Antonin Delpeuch
9356b846b6
Merge pull request #2339 from lisa761/modal-dialogs
Closes dialogs when escape key is pressed
2020-03-01 11:33:43 +00:00
Lisa Chandra
e563885de1 moved escapeKey handler to global scope (to prevent only said handler from executing when a dialog is closed) 2020-02-29 22:16:29 +05:30
Lisa Chandra
07149d4083 removed closing of dialog box on an outside click and moved escape key logic to dialog.js 2020-02-28 18:40:15 +05:30
Lisa Chandra
ad017434dc closes reorder/remove dialog when a click is made outside or when escape key is presses 2020-02-28 01:54:16 +05:30
kushthedude
89b63bb8f8 resetting schedule update to 500 2020-02-28 00:40:11 +05:30
kushthedude
f96cb0e01f enh: Text Filter waits until user finishes updating
Signed-off-by: kushthedude <kushthedude@gmail.com>
2020-02-28 00:37:45 +05:30
Antonin Delpeuch
55e77f4066
Merge pull request #2325 from kushthedude/exp
fix: cannot export a file if blank tab opened is not closed
2020-02-27 10:27:07 -08:00
Lisa Chandra
e3f125dd9f closes reconcilation dialog when a click is made outsid the dialog box or when escape key is pressed 2020-02-27 22:35:20 +05:30
Lisa Chandra
512aac8143 closes sql exporter dialog box when a click is made outside the dialog box or when escape key is pressed 2020-02-27 22:18:38 +05:30
Lisa Chandra
2de7015645 closes templating export dialog when a click is made outside the dialog box or when escape key is pressed 2020-02-27 21:42:11 +05:30
Lisa Chandra
7e86197339 closes custom export tab when a click is made outside the tab or when escape key is pressed 2020-02-27 21:26:07 +05:30
Lisa Chandra
91058de64f closes cluster dialog when a click is made outside the dialog box and when escape key is pressed 2020-02-27 18:59:16 +05:30
Thad Guidry
9a1d6a341a fix typo 2020-02-26 07:55:35 -06:00
Thad Guidry
4baba6b125
fix typo 2020-02-26 07:44:44 -06:00
kushthedude
f56dc3e012 fix: cannot export a file if blank tab opened is not closed
Signed-off-by: kushthedude <kushthedude@gmail.com>
2020-02-23 21:55:37 +05:30
Antonin Delpeuch
5894041943
Merge pull request #2296 from jamessspanggg/add-filldown-blankdown-for-all
[#2280] Add fill down and blank down operations for all columns
2020-01-27 10:24:08 +01:00
jamessspanggg
a19f859d2e Reverse order of fill down operation 2020-01-27 17:14:57 +08:00
Antonin Delpeuch
fe147328f3
Merge pull request #2297 from jamessspanggg/2220-blank-per-column
[#2220] Add facet for blank values/records per column
2020-01-24 10:16:04 +01:00
jamessspanggg
d7d4731f80 Utilise callbacks to chain fill/blank down operations 2020-01-21 01:56:03 +08:00
jamessspanggg
df76cb93b7 Fix error in calculation of blank records per column 2020-01-21 01:28:19 +08:00
jamessspanggg
8d3911556a Add facet for blank values/records per column 2020-01-21 00:02:48 +08:00
jamessspanggg
73936183bb Refactor to individual functions 2020-01-20 23:20:14 +08:00
jamessspanggg
90628e6ab0 Add fill down and blank down operations for all columns 2020-01-20 22:21:37 +08:00
jamessspanggg
fc97b3f188 Fix mistake of translating wrong word 2020-01-08 08:31:51 +08:00
jamessspanggg
c2d72c6236 Translate sort link using i18n 2020-01-07 11:42:59 +08:00
Antonin Delpeuch
a4c4a20767 Fix Google Sheets and Google Drive export 2020-01-04 15:56:24 +01: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