Commit Graph

32 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
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
kushthedude
52de777437 fix: Browser redirection for 0.0.0.0
Signed-off-by: kushthedude <kushthedude@gmail.com>
2020-02-29 20:17:47 +05:30
Antonin Delpeuch
1d2888ba01 Display git commit id instead of TRUNK. Closes #1305. 2018-11-22 19:46:30 +00:00
Felix Lohmeier
2557cc5419 bugfix for new option autosave period 2017-06-24 22:42:49 +02:00
Felix Lohmeier
e54199a6f1 added options for initial java heap space and autosave period 2017-06-22 12:27:55 +02:00
jackyq2015
c7aa25ccd3 fix the new line issue 2015-09-26 21:21:31 -04:00
jackyq2015
a0b6be1769 Revert "fix issue #873"
This reverts commit 17e54dce1e.
2015-09-26 21:20:38 -04:00
jackyq2015
17e54dce1e fix issue #873 2015-09-23 10:29:30 -04:00
Tom Morris
71b9c4f5fd Merge pull request #876 from Arcadelia/Apply-operations_Form-too-large
Added system property refine.max_form_content_size
2014-07-03 10:29:28 -04:00
zsxwing
c1685a05c9 Remove vi's swp file 2014-05-30 11:18:01 +08:00
Frank Wennerdahl
a8ccdd0739 Added system property refine.max_form_content_size
To allow configuring the maximum allowed form content size in Jetty.
2014-05-16 14:37:24 +02:00
Pablo Moyano
1a2d97e296 Proposed fix for #814 2014-01-26 02:10:45 -08:00
Tom Morris
d5873c5803 Rename data directory from Google/Refine to OpenRefine - closed #777 2013-08-15 15:28:43 -04:00
Tom Morris
9c04e189cc Improve startup logging to help debug browser window issues like #193
and
#773
2013-08-06 12:18:01 -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
Tom Morris
dfef391f18 issue 361 - Run AWT headless when we are in headless mode
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2492 7d457c2a-affb-35e4-300a-418c747d4874
2012-04-20 23:09:45 +00:00
Tom Morris
5bde74275b Log JVM max heap size instead of just Refine property
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2322 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-11 20:21:28 +00:00
Tom Morris
bde63ff417 Last set of indentation cleanups - no functional changes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2211 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-18 17:46:36 +00:00
Tom Morris
da7347e7b1 Make sure all conditionals and loops are in blocks (too bug-prone otherwise)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2183 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 22:21:47 +00:00
Tom Morris
97a0f2a33e Organize imports. com.google.refine last in a section of its own. Everything alphabetical in its section.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2180 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 21:10:22 +00:00
Tom Morris
123614539d Add missing @Override annotations
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2171 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 19:30:23 +00:00
David Huynh
d5a742944e Set python.path properly from within the jython extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1920 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-21 03:05:28 +00:00
David Huynh
5a17acfd70 Prepended license text to java source
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1613 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 20:45:52 +00:00
Tom Morris
987fcacbee Missed this commit - Complete - task 141: Gridworks workspace directory not migrated to new Refine location on Windows or Linux
http://code.google.com/p/google-refine/issues/detail?id=141

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1493 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 22:38:37 +00:00
Stefano Mazzocchi
2ba485104f since I can't seem to find a way to preserve that damn space, I'm moving the name in the java source code which does the same thing
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1458 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-08 23:39:45 +00:00
David Huynh
b45506b787 If refine data dir doesn't exist, try to find and move gridworks data dir over
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1294 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 23:30:14 +00:00
David Huynh
1367ce301e More renaming, except for: client-side code, build scripts, anything to do with data loading and QA, workspace path. Refine can still run, and undo/redo on existing projects is working.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1290 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 18:36:33 +00:00
David Huynh
e6bc603a11 Renamed Java classes whose names contain 'Gridworks'. Refine is still able to start. But don't check out the code just yet.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1289 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 17:46:39 +00:00
David Huynh
edb23eb263 Changed Java packages com.google.gridworks.* to com.google.refine.* and modified other code just enough to start grefine up without error. Much remains to be done. Do not check out the code just yet.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1288 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 17:04:10 +00:00
Stefano Mazzocchi
4af3a4cbf5 allow gridworks to load extensions also from the same place where data is stored (in the 'extension' subfolder')
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1258 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-02 01:17:54 +00:00
David Huynh
dcc3ac8534 Renamed packages com.metaweb.* to com.google.*.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1130 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-03 23:01:18 +00:00