Commit Graph

147 Commits

Author SHA1 Message Date
johnvl2
047b990145
Add ability to disable the refreshing of import previews (#4309)
* [#4009] Added checkbox to disable automatic preview updates for separator based files

* [#4009] Checkbox now added for most parser types

* [#4009] Google data and database additions for disabling auto preview

* [#4009] Excel and pc axis fixes

* [#4009] Test case addition

* [#4009] Added comments

* [#4009] Review comment fixes
2021-11-26 21:36:21 +01:00
Florian Giroud
91440b4cfb
Tests stability (#4014)
* Cypress 7.5 now redirects properly, removed doCreateProjectThroughUserInterface method

* temporarily changed CI

* temporarily changed CI

* Fixed an invalid call to a method that doesn't exist, fixed importing tutorial tests

* Fixed row_records test

* Attempt to fix flaky tests by improving the way we check for notifications

* disabledf scatterplot testing

* Attempt to fix flaky tests

* force CI

* force CI

* force CI

* force CI, edge

* attempt to fix flaky tests

* Attempt to fix flaky tests

* CI

* fastfix

* Code cleaning & linting

* Removed temporary edit of CI/CD

* revert debug edit of test files
2021-06-26 16:15:28 +05:30
Antonin Delpeuch
d647f93c7c
Remove lavalamp js dependency, non-free. Closes #3957. (#3974) 2021-06-11 19:18:55 +02:00
Kush Trivedi
0c5742771c
feat: add tests for rows-records mode (#3606)
Added tests for the view as row / view as record modes in the grid header
2021-02-18 11:16:34 +01:00
S-Harshit
7f18c66189
Broken counts in file selection dialog (#3495)
* Broken counts in file selection dialog. Closes #3460

* Update file-selection-panel.js
2021-01-19 09:11:31 +01:00
Chetan Verma
047d7c2de4
internationalised the label using $.i18n (#3104)
* internationalised the label using $.i18n

* fix some problem

* make it more clear and understandable

* change prefix 'core-buttons/ to 'core-import-formats'

* formateNames to formateLabelKey

* fix spelling mistake

* add translation-en.json in pc-axis

* remove from previous file

* Add internationalized activation

* improvement in pc-axis langs

Co-authored-by: chetan <you@example.com>
2020-10-01 11:31:29 +02: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
Chetan Verma
04309dcfb4
Add improvement-message for vantage. (#3011)
Fixed self mistakes

modified line forVantage

Revert "modified line forVantage"

This reverts commit f252bde77cedf2f85fbfaf2059e551078ad62c2c.

modification in one anathor line

Co-authored-by: chetan <you@example.com>
2020-08-03 14:15:39 +02:00
Chetan Verma
86ec7e6b40
Give the name to button 'Back' (#2989)
* Give the name to button 'Back'

* Using DOM to add name of button
2020-07-26 09:08:50 +02:00
Chetan Verma
602149db6e
Fix Import Project form to check for the presence of a file (#2979) 2020-07-25 09:45:45 +02:00
Tom Morris
139019f6e3
Internationalize clipboard default project name (#2814)
Fixes #2776
2020-07-03 14:22:44 +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
james-cui
04055153a1
add archive column (#2573)
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-06-15 19:56:00 +02:00
Tom Morris
03c860d961
Update jquery.i18n to 1.07 and fix non-English plural support (#2717)
* Update jquery.i18n to 1.07 and add missing rule parser

Fixes #2700
Adds missing CLDRPluralRuleParser.js so that plurals are supported.
Updates all files to jquery.i18n 1.07
Includes a bunch of specialty language support,
but only Finnish and Russian are loaded as examples.

* Add some missing translations, including plurals

Fix some cases of Javascript string concatenation and
plural conditionalization to demonstrate that plurals work
in both English and French now.

NOTE: Corresponding updates need to be made to all the other
language files since some keys were renamed or eliminated.
2020-06-14 10:23:23 +02:00
Nishtha
cccaf2992a
Trim input url whitespace (#2534)
Fixes #2516
2020-06-10 08:28:30 -04: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
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
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
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
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
Antonin Delpeuch
11c7788239 Fix CSRF token addition on import project form 2019-11-04 20:04:16 +00:00
Antonin Delpeuch
9ae6a7a581 Tie up CSRF tokens in the frontend 2019-10-15 12:07:14 +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
Antonin Delpeuch
a340c137d0 CSRF protection for OpenWorkspaceDirCommand and language loading 2019-10-15 12:07:04 +01:00
Antonin Delpeuch
f7177e670d Adapt frontend for CSRF in import dialog 2019-10-15 12:04:17 +01:00
Antonin Delpeuch
91cead27f8 CSRF protection for ImportingController 2019-10-14 16:24:26 +01:00
Antonin Delpeuch
70e37b9085 Add CSRF protection to cell, history, column and expr commands 2019-10-14 16:24:26 +01:00
Antonin Delpeuch
c078c3a81d Fix change of language. Closes #2158. 2019-09-12 11:53:21 +01:00
Antonin Delpeuch
4f43515ec9 Fix project metadata UI 2019-06-06 17:15:25 +01:00
Daniel Sader
d21ca26b2f Added Select All/Select None buttons to Excel importer 2019-04-01 14:53:50 -03:00
Antonin Delpeuch
a4117b470c Remove leftover merge conflicts 2018-11-30 19:39:42 +09:00
Antonin Delpeuch
5a4a79028f Revert "data package metadata (#1398)"
This reverts commit c4b0ff6bea.
2018-11-30 19:35:31 +09:00
Antonin Delpeuch
7dd4db1ca1 Fix i18n calls after migration 2018-11-28 23:22:38 +09:00
Antonin Delpeuch
10931e1e4d Migrate js to new localization syntax 2018-11-21 17:30:00 +00:00
Antonin Delpeuch
b46c5a7b4e Flatten remaining messages 2018-11-21 17:26:53 +00:00
Antonin Delpeuch
9bf0bb2154 Merge JS i18n strings with slash 2018-11-21 15:24:57 +00:00
xseris
f04b5ef048 moved input box below label 2018-09-13 17:10:04 +02:00
xseris
280650867e move "comma separated" near "Column values" 2018-09-13 16:25:04 +02:00
xseris
f288bc653e Added test, changed visualization 2018-09-13 14:45:38 +02:00
xseris
81e8e4c2f6 Fix visualization. Auto refresh preview on input change. 2018-09-13 11:25:07 +02:00
xseris
deab8ceeb0 custom column names for separator based importer 2018-09-12 15:45:52 +02:00
isaomatsunami
91c6c6c791 fix layout 2018-02-09 03:53:11 +09:00
Owen Stephens
0d04a25cf1
Merge pull request #1450 from OpenRefine/issue1448
Make Wikitext importer more robust
2018-02-07 17:41:23 +00:00
Thad Guidry
c83dbe3b23
Merge branch 'master' into stundzig-develop/1086-quotecharacter 2018-02-03 07:20:45 -06:00