Commit Graph

56 Commits

Author SHA1 Message Date
Antoine Beaubien
7793ffbbe9
(I #2624) Add preferences for the the grid's page size (#2626)
* Add preferences for the row display quantity

Be able to control the choices for the quantity of rows displayed.

* Added _checkPaginationSize(gridPageSize, defaultGridPageSize)

Added DataTableView._checkPaginationSize(gridPageSize, defaultGridPageSize), gridPageSize = smallest size.

* Update data-table-view.js

Fix missing semi-comma.

* Fix typeof gridPageSize != "object" not working for null

Fix typeof gridPageSize != "object" not working for null

* Update data-table-view.js

* Fix tableHeader instead of headerTable

Fix tableHeader instead of headerTable
2020-06-18 10:35:37 +02: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
Ekta Mishra
fd12ea8c5d
Removed freebaseapps.com from scripts (#2395)
closes #1973
2020-03-12 10:57:42 +00:00
Antonin Delpeuch
aa228c43b2 Fix frontend for extensions for CSRF protections 2019-10-17 11:44:57 +01:00
Antonin Delpeuch
1ee5068f0d CSRF protection for Wikidata extension 2019-10-17 10:42:05 +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
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
51ddd27909 Require CSRF token in EditOneCellCommand 2019-10-14 16:24:26 +01:00
Antonin Delpeuch
333c027b0b Init i18n with the locale set by the user 2018-11-21 18:26:55 +00:00
Antonin Delpeuch
10931e1e4d Migrate js to new localization syntax 2018-11-21 17:30:00 +00:00
Remi Rampin
2356656b50 Load new message catalogs using jquery.i18n 2018-11-21 17:29:49 +00:00
Antonin Delpeuch
9bf0bb2154 Merge JS i18n strings with slash 2018-11-21 15:24:57 +00: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
Owen Stephens
98f37905d7 More minor syntax changes to make Codacy a little happier 2017-10-27 12:22:01 +01:00
Owen Stephens
f5e4420af9 Minor syntax change for Codacy 2017-10-27 11:47:59 +01:00
Owen Stephens
178e4e5bca On invalid regular expression, keep all current rows displayed in data-table view 2017-10-27 10:55:32 +01:00
Owen Stephens
e4db4d7633 Catch error from server when invalid Regular Expression used in Text Filter 2017-10-27 10:53:27 +01:00
Antonin Delpeuch
2058081ffb Fix overflow of history items outside the window. Closes #1106. 2017-09-20 10:08:03 +01:00
Tom Morris
c74fce0180 Fix URL encoding - fixes #1059
Fixes both permalink & "browse this cluster".
Substitutes encodeURIComponent for escape
2015-10-16 15:41:03 -04:00
David Leoni
bf60360b26 fixes language context in browser calls 2014-12-03 14:52:06 +01:00
Tom Morris
7f1ee08e5f Handle unsupported navigator.language on IE 2014-07-03 09:05:39 -04:00
Tom Morris
f4ff227340 Clean up localization - fixes #760, modifies pull request #755
- make all file loading relative to module base
- move core language files into appropriate place
- eliminate all SetLanguage commands and use SetPreference instead
- eliminate all LoadLanguage commands except for core's
- fix duplicate keys in JSON language files
- remove BOM from JSON language files

OPEN - task 760: Translations not being loaded from built kit 
http://github.com/OpenRefine/OpenRefine/issues/issue/760
2013-07-31 00:31:31 -04:00
Blakko
9f9e75400e Added internationalization for some missing labels 2013-07-11 15:01:45 +02:00
Blakko
d9ccaf53ad More small bugfixes 2013-07-11 11:05:13 +02:00
Blakko
5a6bef4162 Internationalization of the dialog part 2013-07-04 11:51:04 +02:00
Blakko
552b0bf94b Internationalization of the index part (create/open/update) of refine 2013-07-02 13:40:50 +02:00
Tom Morris
c2f2db52ab Fix issue #691 - include /common/topic properties
- Switch to new openrefine-helper app which includes /common/topic
properties in list
- Fix Suggest setup to allow /common/topic properties
2013-03-03 15:42:06 -05:00
Tom Morris
0bd2104a16 Issue 630: Change branding from Google Refine to OpenRefine
** The first native Github commit (ie not one converted from SVN **
Change Google Refine to OpenRefine or just Refine.  
Change icon filenames and add some placeholder icons
2012-10-18 19:40:31 -04: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
David Huynh
e21ae32722 Make sure project ID is completely numeric. Slightly better error reporting on project page when project ID is not valid.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2441 7d457c2a-affb-35e4-300a-418c747d4874
2012-01-29 21:16:13 +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
d7b482be06 Attempt at fixing issue 185. Will need someone else to verify.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1989 7d457c2a-affb-35e4-300a-418c747d4874
2011-01-20 22:49:36 +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
James Home
19878490f1 improved/simplified notifications, improved undo/redo
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1609 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-19 05:46:48 +00:00
David Huynh
a5c6a3af34 Support ESC key to dismiss menus and dialogs (which required jquery eventstack plugin).
Updated binding names in project.vt so that the bound HTML elements are distinguished from the JS objects that manage them (e.g., summarBarDiv vs summaryBar).

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1591 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 01:07:35 +00:00
David Huynh
ac04675f5e Renamed HistoryWidget to HistoryPanel, ProcessWidget to ProcessPanel, SummaryWidget to SummaryBar, and renamed and moved their files accordingly.
Added quick filter support to history panel.


git-svn-id: http://google-refine.googlecode.com/svn/trunk@1585 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-17 06:23:58 +00:00
David Huynh
855dec26e5 Adjusted sidebar's and view panel's resizing code to pixel-precision.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1554 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 04:53:05 +00:00
James Home
f254740b11 refactor css, sidebar help UX, data table UX
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1549 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 23:31:27 +00:00
James Home
d6015f783c first round of UI improvements:
- new front page
- new header
- improved about and preference pages
- new project tabs and header
- new buttons
- new logos



git-svn-id: http://google-refine.googlecode.com/svn/trunk@1533 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 17:39:41 +00:00
Stefano Mazzocchi
527067a9a3 trailing slash breaks everything
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1441 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-07 00:14:43 +00:00
David Huynh
76115a4edd Added summary widget to show the row or record counts.
Moved browsing mode toggles from browsing panel to view panel.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1435 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-06 19:15:29 +00:00
David Huynh
ba442ec201 Started to implement UI redesign for project.vt page. In the process, converted all of our .css files to .less (we don't convert thirdparties ones).
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1420 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-02 02:06:01 +00:00
Stefano Mazzocchi
33a616687a and with this, the 'gridworks->refine' renaming is done. yay!
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1411 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-30 01:54:15 +00:00
David Huynh
a112ffa9ab Caught a stray rename miss. Added more generic support for renaming old Java classes so that extensions could remain backward-compatible, too
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1297 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 23:59:57 +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
0500d7aa10 Added commands Move Column to Beginning, Move Column to End, Move Column Left, Move Column Right.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1142 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-07 01:24:48 +00:00