Commit Graph

5354 Commits

Author SHA1 Message Date
Antoine Beaubien
356c7636d8
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>
2020-05-30 09:20:05 +01:00
Antonin Delpeuch
b1e6292dc2
Merge pull request #2655 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-05-29 09:02:00 +01:00
Hosted Weblate
c70872ce56
Merge branch 'origin/master' into Weblate. 2020-05-29 00:41:45 +02:00
Artem
440589cb10
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/
2020-05-29 00:41:39 +02:00
Tom Morris
23aa03a35c
Merge pull request #2650 from OpenRefine/dependabot/maven/jackson.version-2.11.0
[Security] Bump jackson.version from 2.9.10 to 2.11.0
2020-05-28 17:36:56 -04:00
dependabot-preview[bot]
23547103c8
Bump rhino from 1.7.10 to 1.7.12
Bumps [rhino](https://github.com/mozilla/rhino) from 1.7.10 to 1.7.12.
- [Release notes](https://github.com/mozilla/rhino/releases)
- [Changelog](https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/mozilla/rhino/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 08:36:44 +00:00
dependabot-preview[bot]
19076b31a1
[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>
2020-05-28 08:35:22 +00:00
Thad Guidry
475507a787
Update to latest Jython version 2.7.2
Closes #2642
2020-05-27 12:08:05 -05:00
Antoine Beaubien
3ca08f6ff1
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.
2020-05-23 14:05:25 +02:00
Lu Liu
e89eaf0ee2
support default project name and column name for cross() (#2518) 2020-05-22 09:39:57 +02:00
Tom Morris
f478356e17
Restore copyrights (#2633)
* Restore copyrights deleted in c758a6b635

* Update copyright notices
2020-05-22 06:01:15 +02:00
Weblate (bot)
1694400fea
Minor Japanese translation updates from Weblate (#2621)
* 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/

Co-authored-by: Isao Matsunami <isao.matsunami@gmail.com>
2020-05-21 18:18:06 -04:00
Tom Morris
219ce236a2
Make parameter naming consistent - wikibase.upload.maxLag (#2631)
Fixes #2304 & #2469
2020-05-21 20:39:34 +02:00
Antoine Beaubien
53020a9ad7
Update README.md with a link to Authors and adding a section for the file Contributing (#2623)
* Update README.md

* Update README.md

See [AUTHORS.md](./AUTHORS.md) for the list of OpenRefine contributors and [CONTRIBUTING.md](./CONTRIBUTING.md) for instructions on how to contribute yourseslf.

Co-authored-by: Tom Morris <tfmorris@gmail.com>

* Update README.md

Change yourseslf to yourself.

Co-authored-by: Tom Morris <tfmorris@gmail.com>
2020-05-19 11:48:36 +02:00
Tom Morris
557ffad920
Merge pull request #2586 from OpenRefine/issue-2510-type-boolean
Support "boolean" return for type() function.  Closes #2510
2020-05-18 17:24:47 -04:00
Antoine2711
0e86619d86 Fix the true.type() == "boolean"
Fix the true.type() == "boolean" instead of java.lang.Boolean.

Remove all the references to "error" result  in Type(). This will be addressed in:
@ToDo fix this with issue #2562
2020-05-18 17:23:43 -04:00
Hosted Weblate
1840215f82
Merge branch 'origin/master' into Weblate. 2020-05-16 09:41:37 +02:00
Isao Matsunami
81298a359f
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/
2020-05-16 09:41:35 +02:00
Isao Matsunami
e87a450085
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/
2020-05-16 09:41:34 +02:00
Isao Matsunami
a93e02b06e
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/
2020-05-16 09:41:34 +02:00
Ekta Mishra
83a4fb4b25
Replaced isInstance method by instanceOf operator (#2620)
Added if brackets to single statement if-blocks

Replaced isinstance method by instanceOf operator

Revert "Added if brackets to single statement if-blocks"

This reverts commit 8e875fbf9ef9724e9d3b89f08fd396aa90865814.
2020-05-14 08:32:50 +02:00
Antonin Delpeuch
d7d567439e Set version to 3.5-SNAPSHOT 2020-05-13 22:56:33 +02:00
Antonin Delpeuch
5597e1c942 Set version to 3.4-beta 2020-05-13 22:52:25 +02:00
Ekta Mishra
d6c5f5d35b
Added if brackets to single statement if-blocks (#2617) 2020-05-13 20:12:23 +02:00
Antonin Delpeuch
825e687b0b
Fix bug when both trim and autodetect are enabled in tabular parser. Closes #2584 (#2610) 2020-05-05 14:00:17 +02:00
Thad Guidry
15710ace17
reduce object creation during JSON serialization (#2576)
If a new {@code Double} instance is not required, this method
     * should generally be used in preference to the constructor
     * {@link #Double(double)}, as this method is likely to yield
     * significantly better space and time performance by caching
     * frequently requested values.
2020-05-05 10:07:54 +02:00
Antonin Delpeuch
26232d8507
Merge pull request #2604 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-05-05 09:38:22 +02:00
Hosted Weblate
0d0e12706a
Merge branch 'origin/master' into Weblate. 2020-05-05 09:37:35 +02:00
Zdeněk Nešpor
8b14259fff
Translated using Weblate (Czech)
Currently translated at 24.5% (182 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/cs/
2020-05-05 09:37:33 +02:00
Satdeep Gill
499b582380
Translated using Weblate (Punjabi)
Currently translated at 1.2% (9 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/pa/
2020-05-05 09:37:27 +02:00
Rafael Fontenelle
0d6ab15638
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (735 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/pt_BR/
2020-05-05 09:37:26 +02:00
Thad Guidry
f9c7aab671
bump Clojure version to support its new features (#2608)
* remove unused imports

* use streaming excel reader for xlsx imports

Thanks to @pjfanning for helping with this!

* Revert "use streaming excel reader for xlsx imports"

This reverts commit 5749742c1c2a1cbbe34ded6634ff0384e81094d1.

* bump Clojure version
2020-05-03 17:59:56 +02:00
Zdeněk Nešpor
5df605e105
Added translation using Weblate (Czech) 2020-05-02 14:25:52 +02:00
Hosted Weblate
53595ae2e4
Merge branch 'origin/master' into Weblate. 2020-04-29 16:19:04 +02:00
Satdeep Gill
f7f35175d2
Added translation using Weblate (Punjabi) 2020-04-29 16:19:01 +02:00
Antonin Delpeuch
a53fb1664c
Merge pull request #2603 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-04-29 08:46:00 +02:00
Hosted Weblate
4813422acb
Merge branch 'origin/master' into Weblate. 2020-04-29 06:59:22 +02:00
Luca Martinelli
a3b22a1884
Translated using Weblate (Italian)
Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/it/
2020-04-29 06:59:20 +02:00
Luca Martinelli
e49bac5310
Translated using Weblate (Italian)
Currently translated at 99.1% (734 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/it/
2020-04-29 06:59:19 +02:00
PJ Fanning
f047a88518
poi works better reading files directly (#2597) 2020-04-26 21:27:09 +02:00
PJ Fanning
ab64303cbb
allow xlsx files to have more columns (#2602) 2020-04-26 17:07:26 +02:00
PJ Fanning
fe7fcce94b
small improvement to xls tests (#2599) 2020-04-26 16:02:20 +02:00
Antonin Delpeuch
6441a2a1f6
Fix Enter key behaviour in Wikidata login form. Closes #2565 (#2566) 2020-04-26 15:39:10 +02:00
PJ Fanning
1a0e187561
correct excel mime types (#2596)
* correct excel mime types

* address PR issue

* remove use of wildcard
2020-04-26 14:36:37 +02:00
PJ Fanning
88f7fb2852
Use SXSSFWorkbook in XlsExporter to improve memory usage when exporting xlsx files (#2594) 2020-04-26 12:26:05 +02:00
Antonin Delpeuch
40336da2d5
Merge pull request #2592 from weblate/weblate-openrefine-translations
Translations update from Weblate
2020-04-25 08:38:18 +02:00
Hosted Weblate
4142004d1d
Merge branch 'origin/master' into Weblate. 2020-04-25 00:37:57 +02:00
Lucas Araujo
075ab65eb5
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (735 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/pt_BR/
2020-04-25 00:37:54 +02:00
Isao Matsunami
445e929853
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/
2020-04-25 00:37:54 +02:00
Antonin Delpeuch
8414a82df8
Fix null cell editing, followup for #2440 (#2587) 2020-04-24 18:59:33 +02:00