Commit Graph

603 Commits

Author SHA1 Message Date
darecoder1999
d91503f7c7 Disables FacetContainer while computing clusters
fixes #2675
2020-06-13 00:19:26 +05:30
Nishtha
cccaf2992a
Trim input url whitespace (#2534)
Fixes #2516
2020-06-10 08:28:30 -04:00
Antoine Beaubien
0690f45762
(I #1038) Add a Show/Hide left panel button (#2616)
* Add a Show/Hide left panel

Add a Show/Hide left Facets-Undo/Redo panel.

* Update summary-bar.js

Simplify the code for the "hide-left-panel-button".

* Remove the gap on the left of the button

Remove the gap on the left of the button and align left with table.

* Translated using Weblate (Japanese)

Currently translated at 100.0% (740 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (171 of 171 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/ja/

* Updated  showhide (collapse) arrow image

* Bolden the border dark-blue

Bolden the border dark-blue

* Changed from SPAN to A tag

Changed from SPAN to A tag.

* Update project.less

Minor change: left: 22px;

* Add a Show/Hide left panel

Add a Show/Hide left Facets-Undo/Redo panel.

* Update summary-bar.js

Simplify the code for the "hide-left-panel-button".

* Remove the gap on the left of the button

Remove the gap on the left of the button and align left with table.

* Updated  showhide (collapse) arrow image

* Bolden the border dark-blue

Bolden the border dark-blue

* Changed from SPAN to A tag

Changed from SPAN to A tag.

* Update project.less

Minor change: left: 22px;

* Changed cell.error to cell.errorMessage & added help data. (#2628)

* Changed cell.error to cell.errorMessage & added help data.

Changed cell.error to cell.errorMessage and added the informations into the internal help system.

* FR Text correction

* HU Fix text

3 instead of 2.

* The show/hide button now changes side

The show/hide button now changes side.

* Update project.js

Removed unneeded self.

* Update summary-bar.js

Removed unneeded self.

* [Security] Bump jackson.version from 2.9.10 to 2.11.0

Bumps `jackson.version` from 2.9.10 to 2.11.0.

Updates `jackson-databind` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-annotations` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-core` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.9.10...jackson-core-2.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Translated using Weblate (Russian)

Currently translated at 91.0% (674 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ru/

* Only show the database login fields when necessary (#2615)

* DB login fields visibility controled by CSS

The database login field’s visibility is now controled by CSS styling.

* Change field name from Database to Database file.

Change field name from Database to Database file.

* Use full db name as CSS classes

Use full db name instead of diminutives for the CSS classes.

* Added translation to placeholders

Added translation to the Input placeholders.

* Undo a change, remerge Database field & File

remerge Database field and DatabaseFile Field like before.

* Created DatabaseSourceUI._updateDatabaseType(dbType)

Created Refine.DatabaseSourceUI.prototype._updateDatabaseType(databaseType)

* Make MySQL the default database

<option value="mysql" selected="selected"">MySQL</option>

* Update database-import-form.html

Fixed typo. (<option value="mysql" selected="selected">MySQL</option>)

* New default connection name value

New default connection name value, translation of it, changing cssClassName from options to dbtype-options, adding the prefix "dbt-" to the db types and fix the changing of placeholder databaseName/databaseFileName when neccessary.

* Fix issue with « saved connections »

Fix issue with « saved connections » and added 2 defaults values for dbHost and dbType.

* Default DB back to MySQL.

<option value="mysql" selected="selected">MySQL</option>

* Update extensions/database/module/langs/translation-en.json

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Better default with « mysql »

* Fix sqlite #databaseHost before calling self._updateDatabaseType()

Fix $( "#databaseHost" ).val(self._defaultDatabaseHost) to be set before calling self._updateDatabaseType(self._defaultDatabaseType) that may change it.

* Removed field name & fixed default connection name

Removed field name text since it's populated from i18n and fixed the default connection name so that it has no space in it.

* Little update to placeholder text

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Resize the grid UI as well

Co-authored-by: Isao Matsunami <isao.matsunami@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Thad Guidry <thadguidry@gmail.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Tom Morris <tfmorris@gmail.com>
Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-05-30 12:01:26 +01:00
Antonin Delpeuch
8414a82df8
Fix null cell editing, followup for #2440 (#2587) 2020-04-24 18:59:33 +02:00
Joanne Ong
b6f6904af4
Show correct data type in data table cell editor (#2440)
* Show correct data type in data table cell editor

* Ensure date cell type is shown in cell editor
2020-04-24 09:28:24 +02:00
Thad Guidry
af74c724d9
Merge pull request #2558 from OpenRefine/issue-2553
Implementation of #2553: Implementation of minimize facets
2020-04-17 17:31:33 -05:00
Antoine2711
aeb0464f73 New style for Maximize icon
New picture for Maximize icon, that is not a big box, but a smaller box wih arrows in the corners.
2020-04-17 17:59:20 -04:00
Antoine2711
7730f7048e Move li.facet-state-minimize in CSS and spacing in ListFacet
Move li.facet-state-minimize in CSS closer to other minimize stuff and remove uneeded spacing in ListFacet
2020-04-17 17:14:04 -04:00
Antoine2711
f4e6ab92fc Carry the modifications from ListFacet to all other facets
• Carry the modifications from ListFacet to all RangeFacet, ScatterPlotFacet, TestSearchFacet, TimeRangeFacet.
• Also, add the maximize action to the ToolTip.
• CleanUp of hierarchie of HTML or Facets.
2020-04-17 16:17:20 -04:00
Antoine2711
d26b72bede Use this._minimizeState instead of this._config.minimize
Use this._minimizeState instead of this._config.minimize to keep track of the minimized state of the facet
2020-04-17 04:39:41 -04:00
Antoine2711
ef0d49e679 Spacing adjustment
Changed a [TAB] for 2 [SPACE].
2020-04-16 14:07:18 -04:00
kovacskarolina
e3be53146f
Fixed to focus on find-field (#2545)
* Adding function to autofocus text input when dialog opens

* Fixing code according to suggestion.

* Simplifying code,  removing function

Co-authored-by: Kovács Karolina <kovacskarolina0904@gmail.com>
2020-04-16 19:05:40 +02:00
Antoine2711
f9c69bf80e First implementation of minimize facets
v1 de minimize facets.
2020-04-16 03:26:47 -04:00
Lisa Chandra
349e76c195
Fix: the wrong label for regex checkbox in split multi cell dialog (#2530) 2020-04-14 10:03:25 +02:00
james-cui
5c6386f5cb
Fix that columns named « toString » are displayed as collapsed (#2531)
Closes #2451
2020-04-10 07:39:24 +02:00
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