Commit Graph

41 Commits

Author SHA1 Message Date
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
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
Lu Liu
da21c285ef
support refine-dev.ini for development (#2497) 2020-04-06 10:53:49 +02:00
Thad Guidry
50d6c02f57
remove deprecated wmic command and use systeminfo (#2428) 2020-03-24 08:21:43 +01:00
Lu Liu
f476f01b37
support configurable credentials for gdata (#2392) 2020-03-12 10:41:04 +00:00
Thad Guidry
32b5748411
ugh, forgot to still allow just "refine" to start on Windows 2018-11-27 16:38:09 -06:00
Thad Guidry
973c2fbc39
Add exception handling for "refine" command
We should be more graceful for those that mistype a refine command.  As I sometimes do and inadvertently start OpenRefine, since :doRun is the default.

Tested Output is:

```console
C:\Users\THAD\OpenRefine>set ACTION=reset
C:\Users\THAD\OpenRefine>setlocal
C:\Users\THAD\OpenRefine>if ""reset"" == ""build"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""server_test"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""extensions_test"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""test"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""clean"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""distclean"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""run"" goto doRun
C:\Users\THAD\OpenRefine>if ""reset"" == """" goto doRun
C:\Users\THAD\OpenRefine>echo Unknown Refine command called "reset" , type "refine /?" for proper usage
Unknown Refine command called "reset" , type "refine /?" for proper usage
C:\Users\THAD\OpenRefine>exit /B 1
C:\Users\THAD\OpenRefine>
```
2018-11-10 18:15:25 -06: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
a978317559 Copy all server libs locally 2018-09-11 15:05:12 +01:00
Antonin Delpeuch
802a84e6a1 Fix classpath reading (hopefully) on Windows 2018-09-11 14:50:46 +01:00
Antonin Delpeuch
f2c0361bfc Call test-compile explicitly when generating the classpath 2018-09-10 18:11:34 +01:00
Antonin Delpeuch
4bb5795203 Split call to process-resources in Maven invocation on Windows 2018-09-10 16:47:09 +01:00
Antonin Delpeuch
780589113c Remove unnecessary quotes in refine.bat 2018-09-10 16:06:37 +01:00
Antonin Delpeuch
6f13f6a9e2 Use 'call' instruction in batch file 2018-09-10 15:29:00 +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
51f6867dc0 Explicitly compile even for test goals in refine.bat 2018-09-10 14:13:47 +01:00
Antonin Delpeuch
5a59e6c9b0 Attempt to generate classpath on Windows 2018-09-10 13:51:00 +01:00
Antonin Delpeuch
97d1c886d6 Add process-resources to refine.bat 2018-09-09 18:24:23 +01:00
Antonin Delpeuch
8d5cb67e0c Explicitly process resources in wrapper scripts 2018-09-09 17:48:48 +01:00
Antonin Delpeuch
4824147d9b Fix maven path for appveyor 2018-09-07 14:19:23 +01:00
Antonin Delpeuch
7590fd149d Attempt to configure Maven on appveyor 2018-09-07 14:14:37 +01:00
Jacky
eb99ed0ed2
Merge pull request #1417 from OpenRefine/thadguidry-patch-2
adding more logging
2018-01-04 15:53:23 -05:00
Thad Guidry
9a17e1f599
moving to doRun (to avoid Appveyor workarounds) 2018-01-04 14:25:17 -06:00
Thad Guidry
abab02750e
Adding "server_test_debug" option for more logging 2018-01-04 14:12:58 -06:00
Thad Guidry
9d6251b721
more logging... 2018-01-04 12:26:57 -06:00
Thad Guidry
506e479689
adding more logging 2018-01-04 11:14:30 -06:00
Jacky
a41d538575
Merge pull request #1392 from OpenRefine/thadguidry-patch-1
Support log for Windows folks running refine.bat
2018-01-03 23:43:35 -05:00
Antonin Delpeuch
0f03d77178 Enable extension tests in Appveyor 2018-01-03 19:32:22 +01:00
Thad Guidry
658f71fe21
Support log for Windows folks running refine.bat
Too often we need to ask multiple questions from folks running OpenRefine on Windows.  Let's make this easier for us from a support perspective and just ask the users to paste the contents of the support.log file to us.  We can expand on any support.log enhancements later as we come across the need to add more.
2017-12-22 11:07:35 -06:00
Jacky
bd07fe0e1a to adjust the width of transform dialog. issue #1332 2017-11-17 08:56:30 -05:00
Jacky
d1e9ab9135 UI tuning for metadata view 2017-11-11 09:43:21 -05:00
Jacky
d10eb388a7 message notification of the free RAM. Issue #1295 2017-11-10 15:44:05 -05:00
Felix Lohmeier
e54199a6f1 added options for initial java heap space and autosave period 2017-06-22 12:27:55 +02:00
Ankit Sardesai
a29695ad4e Added option for setting form content size on Windows 2015-04-18 14:09:46 -04:00
David Leoni
2740a4a8b5 allows server_test in refine.bat 2014-11-27 19:15:30 +01:00
Tom Morris
d1ce12301d Quote problematic characters in help text - fixes #463 2013-04-10 18:54:38 -04: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
David Huynh
d7cd13b68e Applied patch from issue 391.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2070 7d457c2a-affb-35e4-300a-418c747d4874
2011-05-25 21:49:37 +00:00
David Huynh
22cbcddd78 Renamed in build scripts. ./refine build, ./refine, and ./refine dist all work.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1292 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 21:47:35 +00:00