Jwt #142

Closed
micoli wants to merge 129 commits from jwt into master
129 Commits
Author SHA1 Message Date
Roman Shtylman b7e450177b v2.0.0 2019-09-16 07:50:28 -07:00
Roman Shtylman 24475fef1b update yarn.lock with yarn 1.17.3 2019-09-16 07:49:24 -07:00
Gert Hengeveld 2a74d6be9f HTTPS support, Promise API, modern ES syntax
* Add support for tunneling a local HTTPS server.
* Return a Promise from localtunnel.
2019-09-16 07:30:13 -07:00
Roman Shtylman d7330a7121 v1.9.2 2019-06-01 12:40:45 -07:00
Roman Shtylman 57549598f3 update History.md 2019-06-01 12:38:36 -07:00
Roman Shtylman e9d92039bb update debug to 4.1.1 2019-06-01 12:37:26 -07:00
Roman Shtylman be3dc1a4cc update axios to 0.19.0 2019-06-01 12:36:41 -07:00
Roman Shtylman 4d6db16235 update yarn.lock with integrity entries 2019-06-01 12:35:31 -07:00
Daniel Storgårds 41270db62f Update node versions and default build environment in travis.yml (#307)
* Update node versions in travis.yml
* Use xenial as the default build environment
2019-06-01 12:33:08 -07:00
Roman Shtylman 42ea8ecfa5 Bump to UNRELEASED 2018-09-08 08:23:02 -07:00
Roman Shtylman 5b313bdfaa v1.9.1 2018-09-08 08:21:07 -07:00
Roman Shtylman ef78c1978e update History.md 2018-09-08 08:20:45 -07:00
Roman Shtylman d0fc61ca97 update debug to 2.6.9
Resolves audit warning for https://www.npmjs.com/advisories/534

This issue does not directly affect localtunnel since it does not use
the `o` formatter.
2018-09-08 08:18:58 -07:00
Roman Shtylman a4bf6d16e4 unreleased 2018-04-03 22:38:41 -07:00
Roman Shtylman 9a38b8de0f v1.9.0 2018-04-03 22:36:17 -07:00
Roman Shtylman c524872323 update History.md 2018-04-03 22:20:39 -07:00
Roman Shtylman 2372ec22cc add _request_ event to print basic request information 2018-04-03 22:16:32 -07:00
Jonas Finnemann Jensen db22a4efe0 README: add Reference to go-localtunnel (#206) 2018-04-03 22:03:18 -07:00
Roman Shtylman 610484b9d7 ci: add node 8 and 9 for testing 2018-04-02 21:41:47 -07:00
Roman Shtylman 86deca52f2 add yarn.lock 2018-04-01 20:42:45 -07:00
Jimmie cb3441a339 Add ability to specify env variables (#161)
Update yargs dependency to enable the new functionality.
2018-04-01 20:41:53 -07:00
Daniel Kezerashvili 32fd1fdcbd Add basic request logging functionality (#178) 2018-04-01 20:36:49 -07:00
Roman Shtylman 14cac6f6c8 Add LICENSE 2018-04-01 20:34:37 -07:00
Ricardo Rosales 1f33d4992d Fix host default value message for CLI help text (#211)
per https://github.com/localtunnel/localtunnel/blob/master/lib/Tunnel.js#L17
2018-01-07 10:14:27 -08:00
C. K. Tang 578dc9aaae Replace 'request' with 'axios' (#214) 2018-01-07 10:13:22 -08:00
Tom Osowski 4c136a265c Spelling Fix in Readme (#193) 2017-12-10 08:28:31 -08:00
Roman Shtylman 627cfe4783 1.8.3 2017-06-11 17:20:10 -07:00
Roman Shtylman dbe0c16024 Update history for 1.8.3 2017-06-11 17:20:00 -07:00
Roman Shtylman c87bbe82e7 Update History.md 2017-06-11 17:18:23 -07:00
Roman Shtylman c71ba81972 update request, debug, and openurl dependencies 2017-06-11 17:16:30 -07:00
Roman Shtylman 8efcb3a294 v1.8.2 2016-11-17 22:31:06 -08:00
Roman Shtylman b9c1901d60 fix host header transform to support Host and host header 2016-11-17 22:28:34 -08:00
Roman Shtylman edc182125f update request dep to 2.78 2016-11-17 22:27:57 -08:00
Sigve Sebastian Farstad 81c28d4d68 Fix typo in README.md (#143) 2016-09-06 06:58:25 -07:00
Roman Shtylman 9a1d48764a Merge pull request #113 from CircleCode/patch-1
[README] update the link to localtunnel server
2016-03-11 07:51:05 -08:00
Matthieu Codron 371db2870a [README] update the link to localtunnel server 2016-03-11 13:08:31 +01:00
Roman Shtylman 4ae493ae44 v1.8.1 2016-01-20 13:32:02 -08:00
Roman Shtylman f487effe3a update History 2016-01-20 13:31:46 -08:00
Roman Shtylman 333af2b08f Merge pull request #108 from joshuaxls/master
Fix bug w/ HeaderHostTransformer and binary data
2016-01-20 13:29:50 -08:00
Joshua Slayton b32041d8aa fix unnecessary binary->string conversion 2016-01-20 13:11:40 -08:00
Roman Shtylman 649de1b840 Merge pull request #107 from TooTallNate/patch-1
README: add missing back tick
2016-01-09 07:42:54 -08:00
Nathan Rajlich f791217756 README: add missing back tick 2016-01-08 15:58:02 -08:00
Roman Shtylman cce9d1490a update travis to node 4 and fix travis badge 2015-11-04 20:43:17 -08:00
Roman Shtylman 86cd2d3c58 v1.8.0 2015-11-04 08:04:54 -08:00
Roman Shtylman d70c743014 update history 2015-11-04 08:04:29 -08:00
Roman Shtylman 4940043378 Merge pull request #102 from aronwoost/patch-01
Emit socket errors, so they can be handled
2015-11-04 07:54:45 -08:00
Aron Woost b4a22bff64 Re-emit socket error 2015-11-04 12:04:07 +01:00
Roman Shtylman 176ec0479d Merge pull request #92 from cbas/master
Bumped deps to fix upstream SPDX license issues
2015-11-03 16:13:30 -08:00
Sebastiaan Deckers fe316de3e0 Bumped deps to fix upstream SPDX license issues 2015-11-04 08:10:18 +08:00
Roman Shtylman 4f97434a69 v1.7.0 2015-07-22 17:19:32 -07:00
Roman Shtylman a46cd02fcb update history 2015-07-22 17:19:15 -07:00
Roman Shtylman 792d9f19bd update history 2015-07-22 17:18:45 -07:00
Roman Shtylman d0b483b92b Merge pull request #75 from artmees/master
Implement short argv via yargs
2015-07-22 17:16:49 -07:00
Ahmed Abdel Razzak 59d96a3cc6 Update the client to include shorthand options
Providing aliases for all of the supported options
-h, --host
-s, --subdomain
-l, --local-host
-o, --open
-p, --port
--help
--version

Minor clean up in the code removing the blocks that already handled
by yargs ( version, help and required options )

Handle validating that the passed port could be validated as a number

Remove the spaces in empty lines
2015-07-23 02:05:17 +02:00
Ahmed Abdel Razzak b516ecccfa Replace optimist with yargs 2015-07-23 00:57:01 +02:00
Roman Shtylman f68b1f06d9 1.6.0 2015-07-15 22:29:49 -07:00
Roman Shtylman 4d09875163 update history 2015-07-15 22:26:40 -07:00
Roman Shtylman 2773fe6923 Merge pull request #74 from davej/patch-1
Increase max event listeners to prevent premature memory-leak warnings
2015-07-15 22:24:47 -07:00
Roman Shtylman 457bd64ecc Merge pull request #85 from zeevl/keep-alive
Keep sockets alive after connecting
2015-07-15 15:19:35 -07:00
Steve Lamb eb31659345 Keep sockets alive after connecting 2015-07-15 10:29:53 -07:00
Roman Shtylman 3ee8b1b884 Merge pull request #79 from Urucas/master
Add --open param to open tunnel url
2015-06-23 23:29:39 -07:00
vrunoa 15aac729bb add open param; opens url in your browser after localtunnel is launched
add open param; opens url in your browser after localtunnel is launched

update package version

multiplatform open with openurl package

update package.json

correct source code spacing & indentation

update openurl dependency

revert package version

move require('openurl') to the top, correct 4 spaces indentation
2015-06-23 17:10:28 -03:00
Dave Jeffery e73cfe3e45 Increase max event listeners to prevent premature memory-leak warnings #71 2015-05-31 22:19:45 +01:00
Roman Shtylman 790a642a83 1.5.1 2015-05-26 09:28:59 -04:00
Roman Shtylman e6539e1225 Merge pull request #72 from Lykathia/patch-license
package.json: Add license to package.json
2015-05-25 23:04:03 -04:00
Evan Lowry 4c0a5dc4eb Add license to package.json 2015-05-25 22:55:41 -03:00
Roman Shtylman 809262cf3d refactor into files 2014-12-21 17:46:38 -08:00
Roman Shtylman ddb47d2f90 add .npmignore file 2014-10-25 17:21:59 -07:00
Roman Shtylman a6845ec63b v1.5.0 2014-10-25 17:13:58 -07:00
Roman Shtylman adecf03f41 update history 2014-10-25 17:13:49 -07:00
Roman Shtylman 9bdb40e97c when remote endpoint has an error, just close it 2014-10-25 17:05:19 -07:00
Roman Shtylman 006ce7733b v1.4.0 2014-08-31 22:59:17 -07:00
Roman Shtylman 624d279c26 History: update 2014-08-31 22:58:43 -07:00
Roman Shtylman c2b8f2b7ab Merge pull request #57 from kesla/handle-etimedout
don't emit ETIMEDOUT-errors
2014-08-31 22:57:30 -07:00
David Björklund 4d9dcc1711 don't emit ETIMEDOUT-errors 2014-08-28 20:12:09 +02:00
Roman Shtylman 7b1fef982f 1.3.0 2014-05-13 20:33:41 -04:00
Roman Shtylman b1ebef2b0b fix code style 2014-05-13 20:32:43 -04:00
Tymoteusz Paszun 9ad43778b7 fixed Host header replacement - remembers if header is already replaced and does not remove _transform method 2014-05-13 09:24:08 +02:00
Tymoteusz Paszun 887c444543 added test for chunked requests 2014-05-13 09:16:50 +02:00
Tymoteusz Paszun 828cb2afcb transform Host header when local-host is defined explicitly 2014-05-09 15:07:38 +02:00
Roman Shtylman 8768329fdd update history with two recent minor versions 2014-04-28 19:03:33 -04:00
Roman Shtylman 3026d6a42c 1.2.0 2014-04-28 19:00:12 -04:00
Roman Shtylman abd461f83a Merge pull request #47 from dscape/patch-1
return client from 'localtunnel' api call
2014-04-28 18:58:54 -04:00
Nuno Job 2acea3d77f Return client
This allows manipulating the client from outside. Allowing, for example, to close a connection.
2014-04-28 23:32:00 +01:00
Roman Shtylman 5d0eb3382a add --version CLI flag to get version info 2014-04-22 19:55:19 -04:00
Roman Shtylman 3b67c8a8ce 1.1.2 2014-04-20 10:51:24 -04:00
Kevin Ingersoll 71552a336e Increase default Mocha timeout 2014-04-20 10:45:21 -04:00
Roman Shtylman 87a23bf28c fix status code check for url request 2014-04-19 19:33:52 -04:00
Roman Shtylman 3d54de851f handle errors from localtunnel server when requesting initial url 2014-04-19 19:30:44 -04:00
Roman Shtylman 92bb807908 fix typo
fixes #45
2014-04-18 09:34:48 -04:00
Roman Shtylman afbdc3697e 1.1.1 2014-04-15 09:33:34 -04:00
Roman Shtylman 0049f21b55 Merge pull request #38 from LinusU/patch-1
re-throw client errors from bin/lt to let node handle it
2014-04-14 19:27:56 -04:00
Roman Shtylman 509841104b fix for RangeError stack size exceeded
This error would happen when there was a problem connecting to the local
server. The local.on('error') handler should have been a 'once' handler
because we emit the error again if it isn't a CONNREFUSED. So in the
case of a CONNRESET, it would trigger an infinite loop since the error
was being emitted back onto the local variable. Instead we just close
the remote socket and let a new one takes its place.

fixes #36
2014-04-14 15:36:42 -04:00
Linus Unnebäck 92caf2f204 lt: better error handling
Let node handle the displaying of error and setting exit code.
2014-04-14 21:15:11 +02:00
Roman Shtylman 9487797e02 1.1.0 2014-02-24 19:51:14 -05:00
Roman Shtylman a42f6a8d8d document local-host option 2014-02-24 19:49:40 -05:00
Roman Shtylman 14b4bcb96f add tests for host header transform 2014-02-24 19:43:34 -05:00
Roman Shtylman 4aa65002eb use host header transform only when local-host is specified 2014-02-24 19:43:07 -05:00
Fredi Pevcin 08676ba81d Set Host header accordingly to local-host option 2014-02-24 00:26:38 +01:00
Roman Shtylman 174e7f3982 1.0.0 2014-02-14 00:37:45 -05:00
Roman Shtylman 44be55cd7b readme: fix markdown table
[ci skip]
2014-02-14 00:36:53 -05:00
Roman Shtylman 5c6cd2359c add travis badge
- remove node 0.8
- add node 0.10
2014-02-14 00:34:40 -05:00
Roman Shtylman 2f6f9459ad change main export signature to localtunnel(port, opt, fn)
Makes for a simpler hello world app
2014-02-14 00:32:43 -05:00
Roman Shtylman 7217a08a05 add history.md to track changes 2014-02-13 23:52:12 -05:00
Roman Shtylman fbfc923a7e remove connect export in favor of single function
Since connect was the only function exported, we can just export the
function directly to make things simpler.
2014-02-13 23:51:29 -05:00
Roman Shtylman d9bc11b520 default host to localtuunel.me
If no host specified, then default to localtunnel.me

close #31
2014-02-13 23:43:54 -05:00
Roman Shtylman ad64611bd1 add tests 2014-02-13 23:41:49 -05:00
Roman Shtylman ac70515143 0.2.2 2014-01-09 11:07:18 -05:00
Roman Shtylman 8d7ccccf21 remove local.unpipe() on remote close
This will happen automatically.

close #28
2014-01-09 11:06:58 -05:00
Roman Shtylman 77091b3d93 0.2.1 2013-12-31 17:34:04 -05:00
Roman Shtylman 4f4a147b45 don't unpipe on local close
Pipe will do this for us
2013-12-31 17:33:49 -05:00
Roman Shtylman f1d809a84d 0.2.0 2013-12-31 15:39:16 -05:00
Roman Shtylman eba003bd26 add a .close method to shutdown the tunnel 2013-12-31 15:38:45 -05:00
Roman Shtylman 3354c4c6e3 rework tunnel logic
Refactoring to make things a bit saner and easier to debug.
2013-12-05 11:26:19 -05:00
Roman Shtylman 1c2757e604 Merge pull request #27 from adammck/couldnt-establish-tunnel
Add more verbose error for ECONNREFUSED
2013-11-20 09:34:48 -08:00
Adam Mckaig 790e55e881 Add more verbose error for ECONNREFUSED
If the tunnel server can be reached (at e.g. http://localtunnel.me/?new)
but the tunnel (to e.g. grpi.localtunnel.me:44827) can't actually be
established, the client currently gets stuck in a loop retrying forever
with no indication as to what's wrong. This doesn't fix the loop, since
it does seem desirable to retry forever, but logs:

    [Error: connection refused: localtunnel.me:44827]
2013-11-20 12:29:31 -05:00
Roman Shtylman a9b0274ff4 0.1.3 2013-11-14 12:10:02 -05:00
Roman Shtylman 83ecb29eff Merge pull request #26 from EverythingMe/override_localhost
Added the --localhost parameter to tunnel the traffic to other hosts
2013-11-14 09:08:47 -08:00
Omri Bahumi 21df257d16 Added the --local-host parameter to tunnel the traffic to other hosts 2013-11-14 18:06:19 +02:00
Roman Shtylman 18ada0854a 0.1.2 2013-11-06 23:25:28 -05:00
Roman Shtylman 34afd6537d more resilient to upstream server failure and restart 2013-11-06 23:25:05 -05:00
Roman Shtylman 2c38aefb9d add go client to readme 2013-10-23 11:31:28 -04:00
Roman Shtylman aa488f6e76 0.1.1 2013-10-22 15:57:36 -04:00
Roman Shtylman f6618953f9 Merge pull request #20 from eagleeye/master
Do not call success callback right after error in request_url
2013-10-16 18:49:48 -07:00
Andrii Shumada 092d050fa0 Do not call success callback right after error in request_url 2013-10-16 12:05:37 +03:00
Roman Shtylman 0334ace20b 0.1.0 2013-06-17 02:13:17 -04:00
Roman Shtylman 13afcff1ae fix README api example 2013-06-17 02:12:54 -04:00
Roman Shtylman ed5aa3f16b remove server components
moved to localtunnel-server repo
2013-06-17 02:11:41 -04:00
Roman Shtylman 2fcac1336c add debug module to deps 2013-06-16 18:35:55 -04:00