Commit Graph

100 Commits

Author SHA1 Message Date
Florian Giroud
bd9b268dea
Cypress parallel manual (#3922)
Implemented parallelism fo Cypress Tests
2021-05-27 15:18:20 +02:00
Florian Giroud
56f910f7db
Reconciliation tests (#3777)
* Reconciliation tests PoC

* removed debug statement

* Added more reconciliation tests

* Fixed typo

* Fixed reconciliation test

* test disabling error handling, troubleshooting

* Attempt to fix flaky integration tests

* restored error handling, fixed flaky test

* Attempt to fix flaly test

* Attempt to fix flaky tests
2021-05-13 14:08:55 +02:00
Bálint József Jánvári
6234a61e82
Validate Host header of incoming HTTP requests (#3212)
* Validate Host header of incoming HTTP requests

* Always allow requests with loopback IP addresses and localhost

* Split off ValidateHostHandler to a separate file

* Allow IPv4-mapped loopback addresses in ValidateHostHandler

* Add error description to 404 error returned by ValidateHostHandler

* Add refine.interface parameter to override interface and host separately

* Fix some whitespace inconsistencies

* Update refine and refine.bat with separate host and interface arguments

* Add -h switch to usage message

* Use -H instead of -h for the host argument

* Bring changes in line with new Jetty version

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-22 12:53:39 +01:00
dependabot[bot]
0f024d833e
build(deps): bump butterfly from 1.0.4 to 1.1.1 (#3699)
* build(deps): bump butterfly from 1.0.4 to 1.1.0

Bumps [butterfly](https://github.com/OpenRefine/simile-butterfly) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/OpenRefine/simile-butterfly/releases)
- [Commits](https://github.com/OpenRefine/simile-butterfly/commits)

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

* Update Butterfly configuration after Jetty upgrade

* Fix main class name in web.xml

* Upgrade Butterfly to Jetty 9

* Temporary debugging output to understand why RefineServlet is not found

* Upgrade servlet-api

* Fix javax.servlet-api artifactId

* Reinstate debug logging temporarily

* Update butterfly to 1.1.1 to solve servlet-api version conflict

* Update javax.servlet-api in the rest of the code base

* Silence server logs in ./refine ui_test again

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-18 10:12:57 +01:00
Tom Morris
314dbb560d
Add Google API key - fixes #3604 (#3611)
* Add Google API key - fixes #3604

Enables access to public data in Google Sheets/Drive. API key must be
sent if OAuth token isn't.

* Don't force authentication for GData import from URL
2021-02-11 19:50:54 +01:00
Florian Giroud
4b6106a386
Run UI tests in continuous integration (#3393)
* Fixed flaky tests

* Refactored ui_test commans-line, added documentation

* Attempt to build a workflow with cypress

* Fixed CI UX tests build

* Changed cyprss actions for pull-request

* Merged Cypress workflow into the regular PR target workflow

* Refactored Github workflows to include Cypress Tests

* Revert Ci build to pull_request_target
2020-12-15 20:34:15 +01:00
Johan Richer
5ac4362c86
Fix FAQ URL (#2938) 2020-07-14 20:51:53 +02:00
Tom Morris
7f435bd3df
Remove obsolete Google API key reference (#2809)
This key was used for the Freebase APIs and is no longer
referenced anywhere.
2020-06-25 07:57:04 +02:00
Lu Liu
e26178e0b4
Support windows_dist & linux_dist for packaging (#2498)
* support windows_dist & linux_dist

* move plugins from profiles to pluginManagement

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-04-06 13:36:38 +02:00
Lu Liu
da21c285ef
support refine-dev.ini for development (#2497) 2020-04-06 10:53:49 +02:00
Thomas Friese
63ec014929
[bash] set cross *Nix bang line (#2495)
Systems like NixOS don't use the path `/bin` for executables.
By default, `bash` must be available in `env`.
2020-03-30 10:39:00 +02:00
Aakankasha Sharma
426c715ef9 Updated refine to fix #388 2020-03-28 21:43:32 +05:30
Lu Liu
9a5cb644ec
Use parentheses for JAVA_OPTIONS on Unix/Linux (#2401)
* use parentheses for JAVA_OPTIONS on Unix/Linux

* change regex in refine

* add comment for JAVA_OPTIONS

* Update refine.ini

Co-Authored-By: Thad Guidry <thadguidry@gmail.com>

* Update refine.ini

Co-Authored-By: Thad Guidry <thadguidry@gmail.com>

* Update refine.ini

Co-Authored-By: Thad Guidry <thadguidry@gmail.com>

Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2020-03-13 08:38:56 +00:00
Lu Liu
f476f01b37
support configurable credentials for gdata (#2392) 2020-03-12 10:41:04 +00:00
Thad Guidry
0d9e1caf1d
remove download path from echo 2020-01-16 11:03:57 -06:00
Thad Guidry
2c9978a41c
Add download path into echo 2020-01-16 11:02:44 -06:00
Antonin Delpeuch
f9bef06488
fix newline character 2020-01-16 17:28:50 +01:00
Thad Guidry
fe4a585cf3
Inform user about download of Maven starting 2020-01-16 10:23:38 -06:00
Antonin Delpeuch
ef607c5915 Update downloaded Maven copy to fix HTTPS issue, closes #2286 2020-01-16 07:10:24 +01:00
Negens
a4ee71a29d
Update the check_running() function in refine
In strict shell environments, the "$?" is reset when evaluated.
Here, the "boolean if" statements compares it to "7", then reset it and compares it to "22".
If the "$?" is intially "22", it is not evaluated and the NOT_RUNNING variable is ignored while it shouldn't. this leads to the error
"Something is already running on http://127.0.0.1:3333/"

To avoid this, the solution is to first affect the value of "$?" to a non-system variable and then evaluate this new variable.
2020-01-08 13:34:49 +01:00
Antonin Delpeuch
e3417bff49 Set version to 3.2 2019-07-26 15:29:57 +01:00
Antonin Delpeuch
5210d838ec Do not print the Java command when running refine on linux 2019-03-01 11:16:28 +00:00
Rots
74f6cf21c9 enable spaces in data directory
* pass options as proper bash list items so that even if directories
contain spaces, they will be properly passed on to java - #1623
* ignore empty options
2019-01-11 21:14:20 +01:00
Owen Stephens
8c28aac26d comment whitespace to ensure all arguments used 2018-10-27 06:38:08 +01:00
Antonin Delpeuch
2600571595 Cleanup refine script for packaging 2018-10-22 09:26:55 +01:00
Antonin Delpeuch
782ae4e788 Revert "Revert "Migrate to Maven""
This reverts commit c20918b73d.
2018-09-16 15:34:47 +01:00
Jacky
c20918b73d
Revert "Migrate to Maven" 2018-09-16 10:16:50 -04:00
Antonin Delpeuch
aff1abd3cf Fix Linux refine script 2018-09-11 15:41:31 +01:00
Antonin Delpeuch
9b659c618c Cleanup classpath generation in Maven config files 2018-09-11 15:18:03 +01:00
Antonin Delpeuch
f2c0361bfc Call test-compile explicitly when generating the classpath 2018-09-10 18:11:34 +01:00
Antonin Delpeuch
2806b1face Fix 'test' command on UNIX and Windows 2018-09-10 14:42:02 +01:00
Antonin Delpeuch
75414fb1c3 Simplify test invocation 2018-09-10 14:26:14 +01:00
Antonin Delpeuch
60d4656176 Add missing mockito dependency and fix maven invocation 2018-09-10 09:50:44 +01:00
Antonin Delpeuch
b0e3de821b Fix classpath generation on Linux 2018-09-10 09:20:27 +01:00
Antonin Delpeuch
72639fdd71 Fix classpath generation 2018-09-09 19:31:33 +01:00
Antonin Delpeuch
8d5cb67e0c Explicitly process resources in wrapper scripts 2018-09-09 17:48:48 +01:00
Antonin Delpeuch
d0cbadff15 Cleanup classpath generation 2018-09-07 11:27:28 +01:00
Antonin Delpeuch
f371e50217 Start to migrate refine script to use maven 2018-09-07 11:27:28 +01:00
Qi Cui
9c7cbcb6e9 fix the launch4j issue 2018-07-16 19:36:59 -04:00
Martin Robinson
8798275b40 #1605 add warning for java versions greater than 9 2018-05-17 16:12:59 +01:00
Martin Robinson
cdb85d5974 #1604 upgrade java version check to accept all versions greater than 6 2018-05-16 14:26:59 +01:00
Antonin Delpeuch
4a325c8ff5 Configure testing for the Jython extension 2018-01-03 18:37:16 +01:00
Thad Guidry
8837f3df73
Merge pull request #1339 from jackyq2015/issue/1332
to adjust the width of transform dialog. issue #1332
2017-11-17 21:29:25 -06:00
Jacky
bd07fe0e1a to adjust the width of transform dialog. issue #1332 2017-11-17 08:56:30 -05:00
Jacky
fff4fe40b3
Merge pull request #1322 from jackyq2015/master
UI tuning for metadata view
2017-11-11 09:44:12 -05:00
Jacky
d1e9ab9135 UI tuning for metadata view 2017-11-11 09:43:21 -05:00
Jacky
be697d224e
Merge pull request #1321 from jackyq2015/master
message notification of the free RAM. Issue #1295
2017-11-10 15:45:00 -05:00
Jacky
d10eb388a7 message notification of the free RAM. Issue #1295 2017-11-10 15:44:05 -05:00
Jacky
3917d21e01
add double quote to prevent word splitting 2017-11-08 23:16:57 -05:00
Qi Cui
7fc1cfd9e2 Merge branch 'master' of https://github.com/OpenRefine/OpenRefine 2017-11-03 18:36:28 -04:00