Commit Graph

1695 Commits

Author SHA1 Message Date
Antonin Delpeuch
f6256aae62 Fix engineConfig JSON in fetch URLs tests 2018-09-05 12:07:50 +01:00
Antonin Delpeuch
f327b09a59 Reorganize facet parsing and discontinue initializeFromJSON on Facet 2018-09-05 12:03:54 +01:00
Antonin Delpeuch
5b4cab947e Introduce EngineConfig class to avoid manipulating JSON objects directly 2018-09-05 11:00:20 +01:00
Antonin Delpeuch
7a3d13ef47 Refactor TextSearchFacet for JSON serialization 2018-09-05 10:51:31 +01:00
Antonin Delpeuch
daeb7ab6df Refactor ScatterplotFacet for JSON serialization 2018-09-05 10:08:53 +01:00
Antonin Delpeuch
1186776235 Refactor TimeRangeFacet for JSON serialization 2018-09-04 18:19:18 +01:00
Antonin Delpeuch
8e8b3c18c5 Refactor RangeFacetTests for serialization 2018-09-04 11:49:48 +01:00
Antonin Delpeuch
5b8be7f1a3 Fix ListFacetConfig serialization 2018-09-04 10:26:03 +01:00
Antonin Delpeuch
497eee5a75 Add serialization tests for ListFacet 2018-09-04 10:09:38 +01:00
Antonin Delpeuch
bc81beb933 Introduce FacetConfig interface and refactor ListFacet accordingly 2018-09-04 09:33:30 +01:00
Antonin Delpeuch
6aa93bbc0c Use UrlValidator to detect urls in tabular exporter 2018-09-03 19:48:11 +01:00
Antonin Delpeuch
f6bbb64c98 Fix import errors 2018-09-01 14:55:37 +02:00
Antonin Delpeuch
851d24c39b Add serialization tests for GREL functions 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
eb0a37a22a Fix PreferenceStore serialization test 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
802ad77ec5 Add serialization tests for GREL controls 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
326fda7999 Add JSON serialization tests for NominalFacetChoice 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
953a7380fe Cleanup imports 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
da9978b365 Add serialization tests for preference classes 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
580fd92c10 Add JSON serialization tests for processes 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
debe9bde37 Serialization test for EvalError 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
2dde302a90 Add JSON serialization tests for refine.history and refine.browsing 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
14233b8ea8 Serialization tests for operations.row 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
6ccd8ea9ee Deserialization test for Denormalize operation 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
73171755f3 More JSON tests for operations 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
b4bcf7a1b6 Fix inconsistency in serialization of ReconMatchSpecificTopicOperation 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
4013c0b8c5 Add (de)serialization tests to existing operation test classes 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
dbff74650d Cleanup imports 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
8896636017 Add deserialization tests for operations 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
2edf83bdf7 Start serialization tests for operations 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
fac8936411 Serialization tests for model classes 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
c6d2b003b1 Start serialization tests 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
d9bff34411 Add testing utilites for JSON serialization 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
2b57350adf Cleanup StandardReconConfigTests 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
b12b29b393 Rename ReconTests 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
3ea1822773 Remove duplicate test class introduced by Jacky 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
f41678e087 Move tests to their relevant package. 2018-09-01 12:40:22 +02:00
Antonin Delpeuch
94b6b1f945
Merge pull request #1692 from OpenRefine/issue1689
Fix exception when sorting the empty string numerically
2018-08-30 08:09:20 +02:00
Jacky
21712db6e0
Merge pull request #1698 from OpenRefine/issue1681
Fix unescape GREL function in javascript mode.
2018-08-29 21:24:52 -04:00
Jacky
2ba06eda51
Merge pull request #1702 from OpenRefine/testing-locale
Remove test assertion that can fail depending on the locale
2018-08-29 21:13:56 -04:00
ssantos
413d734785
Translated using Weblate (German)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/de/
2018-08-15 22:47:47 +02:00
Antonin Delpeuch
4352e2b1ec Improve facet expression for type match. Closes #1667. 2018-08-15 11:48:47 +01:00
Thad Guidry
3742b6a092 improve log descriptions for stale import job removals (#1705)
* improve log descriptions for stale import job removals

* Removed unnecessary log line and instead changed primary log line
2018-08-12 08:53:57 +01:00
Andrew Adell
0e6d54a2d5
Added translation using Weblate (Arabic) 2018-08-10 13:26:39 +02:00
Andrew Adell
358a172ace
Added translation using Weblate (Inuktitut) 2018-08-10 13:26:00 +02:00
Antonin Delpeuch
d01f916101 Remove test assertion that can fail depending on the locale 2018-08-08 11:51:10 +01:00
Hosted Weblate
474158a325
Merge branch 'origin/master' into Weblate 2018-08-07 12:25:53 +02:00
TonyO
76a995182e added comment to fix 1684 2018-08-07 11:25:49 +01:00
TonyO
c1af2f1179 fixed issue 1684 with decimal values 2018-08-07 11:25:49 +01:00
Antonin Delpeuch
09bb2903f2 Add test for sorting exception, issue #1689 2018-08-07 11:24:22 +01:00
Antonin Delpeuch
5ee165d3b7 Fix sorting of blank values. Closes #1689. 2018-08-07 11:24:22 +01:00
Antonin Delpeuch
18c489855b Test for clickable URLs in HTML exporter 2018-08-07 11:23:49 +01:00
Antonin Delpeuch
c7c3fab8e4 Clickable URLs in HTML exporter. Closes #1696. 2018-08-07 11:23:49 +01:00
Antonin Delpeuch
87b6aadbad Fix unescape GREL function in javascript mode. Closes #1681. 2018-08-07 11:23:14 +01:00
Isao Matsunami
3fe2dfac2c
Translated using Weblate (Japanese)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-08-06 06:25:21 +02:00
Hosted Weblate
ea19f6dff1
Merge branch 'origin/master' into Weblate 2018-08-05 12:20:55 +02:00
Antonin Delpeuch
2f21105e13
Merge pull request #1672 from waldyrious/patch-1
translation-en.json: add colon to "custom" label
2018-08-05 11:20:50 +01:00
Mathieu Saby
18b5f0182e
Translated using Weblate (French)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/
2018-07-29 17:23:31 +02:00
Jacky
1b099c0c9c
bump version 2018-07-15 16:53:00 -04:00
Jacky
05abcd2d75
Merge pull request #1579 from Vern1erCa11per/fix/allow/nonnumerical/exportname
fix #1578 enable export with filename composed of non-alphanumerical …
2018-07-11 18:49:38 -04:00
Owen Stephens
db13497744
Merge pull request #1670 from OpenRefine/issue1669
Simplify parsing of HTTP headers in fetch-url operation
2018-07-11 15:45:23 +01:00
Jacky
5f4f2861de
Merge branch 'master' into fix/allow/nonnumerical/exportname 2018-07-07 14:18:04 -04:00
Waldir Pimenta
1a82cf8350
translation-en.json: add colon to "custom" label
The styling of the text field that appears after this label
makes it easy to miss as an input field.
Having the colon after the label makes it clearer
that the user can type into the text box.
2018-07-04 17:24:11 +01:00
Antonin Delpeuch
fd4ef66b75 Simplify parsing of HTTP headers in fetch-url operation
Closes #1669 and makes it possible to specify other headers via the JSON representation of the operation.
2018-07-02 16:03:40 +01:00
Weblate
32c5c6c163 Merge branch 'origin/master' into Weblate 2018-06-29 23:04:24 +02:00
Isao Matsunami
813771c504 Translated using Weblate (Japanese)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-06-28 10:39:46 +02:00
Owen Stephens
64ed24e082 Small amount of tidying up code 2018-06-23 00:28:45 +01:00
Owen Stephens
fe2e8bcbf7 Change behaviour of DecoratedValue to handle dates better 2018-06-23 00:18:00 +01:00
Owen Stephens
420c9bd1a5 Add tests for grouping of values in text facets 2018-06-23 00:18:00 +01:00
Owen Stephens
0e954bdb68 Use stringutils to create 'from' string for non-blank mass edits 2018-06-23 00:18:00 +01:00
Owen Stephens
d309af7f1a Update string conversion tests to reflect new behaviour of stringUtils 2018-06-23 00:18:00 +01:00
Owen Stephens
db658024d6 Change behaviour of converting OffsetDateTime to string in StringUtils 2018-06-23 00:18:00 +01:00
Owen Stephens
a159e76a62 Added test for reconstructing mass edits on dates 2018-06-23 00:18:00 +01:00
Weblate
5a3e524c58 Merge branch 'origin/master' into Weblate 2018-06-22 12:23:19 +02:00
Antonin Delpeuch
9f7d5b8786
Merge pull request #1638 from OpenRefine/issue1637
Do not discard the recon space when marking cells as new items.
2018-06-22 12:23:15 +02:00
Isao Matsunami
cac08f7d99 Translated using Weblate (Japanese)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-06-22 12:21:39 +02:00
Weblate
ed1344d4f7 Merge branch 'origin/master' into Weblate 2018-06-21 04:00:53 +02:00
Isao Matsunami
11994519f1 Translated using Weblate (Japanese)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-06-21 04:00:52 +02:00
Jacky
f3dbc18214
Merge pull request #1642 from ostephens/mass-edit-fix
Mass edit fix for blanks, numbers and booleans
2018-06-20 22:00:34 -04:00
Weblate
59ee857986 Merge branch 'origin/master' into Weblate 2018-06-17 10:23:59 +02:00
Antonin Delpeuch
448a969cb1
Merge pull request #1656 from OpenRefine/issue/1648
fix the template load issue and package typo
2018-06-17 09:23:52 +01:00
Weblate
958cb6a7b3 Merge branch 'origin/master' into Weblate 2018-06-16 22:44:22 +02:00
Jacky
5a6c9d72f0 fix the template load issue and package typo 2018-06-16 15:43:29 -04:00
Antonin Delpeuch
400729a247 Translated using Weblate (French)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/
2018-06-15 10:05:31 +02:00
Owen Stephens
09c624a249 Updated null.toString() to return an empty string as per #1635 2018-06-14 12:36:01 +01:00
Owen Stephens
5ecb1afe13 Updated toString test to new behaviour for null.toString() 2018-06-14 12:36:01 +01:00
Owen Stephens
92e456d2ff More tidying of tests 2018-06-08 20:09:29 +01:00
Owen Stephens
2e9708c16d Tidying up test file 2018-06-08 20:03:38 +01:00
Thad Guidry
057b64fcc2
Increasing to 10 second sleep because of Travis
In Travis these tests are occasionally failing https://travis-ci.org/OpenRefine/OpenRefine/jobs/3896227 which is probably due to the CPU demand spike placed with createProcess.
2018-06-08 06:26:08 -05:00
Owen Stephens
97ea151134 Removed date tests 2018-06-08 09:40:50 +01:00
Owen Stephens
689442fff2 If only one value and that's zero length set fromBlank to true
Added whitespace
2018-06-08 09:40:48 +01:00
Owen Stephens
256a81e308 Initial MassOperationTests
Corrected and expanded tests for ReconstructEdit

Improve tests
2018-06-08 09:40:35 +01:00
Antonin Delpeuch
a63151bbcc Do not discard the recon space when marking cells as new items.
Fixes #1637
2018-06-04 12:16:33 +01:00
Weblate
051d5be6b4 Merge branch 'origin/master' into Weblate 2018-05-30 04:55:50 +02:00
Noah Geraci
07acbb0c44 Translated using Weblate (Spanish)
Currently translated at 89.3% (618 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/es/
2018-05-30 04:55:49 +02:00
Isao Matsunami
07fbf770c7 Translated using Weblate (Japanese)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-05-30 04:55:44 +02:00
Jacky
345be88de8 fix UT testHttpHeaders 2018-05-29 22:43:17 -04:00
Qi Cui
8dc8e294f7 bump the version 2018-05-27 02:02:16 -04:00
Owen Stephens
047c1b749e Translated using Weblate (Romanian)
Currently translated at 6.7% (47 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ro/
2018-05-26 09:44:09 +02:00
Owen Stephens
24f51719d7 Translated using Weblate (Italian)
Currently translated at 100.0% (692 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/it/
2018-05-26 09:44:08 +02:00
Owen Stephens
0f171f8ad4 Translated using Weblate (Hungarian)
Currently translated at 95.3% (660 of 692 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/hu/
2018-05-26 09:44:08 +02:00