Commit Graph

18 Commits

Author SHA1 Message Date
David Glasser
fb7921ade2 Support $HTTPS_PROXY in Node DDP client.
This should mean that you can access the package server from behind a
corporate firewall.

I tested this by setting up a Linux machine that doesn't have access to
packages.meteor.com:

   $ sudo iptables -A OUTPUT -d 54.225.216.115 -j DROP
   $ sudo iptables -A OUTPUT -d 184.72.252.20 -j DROP
   $ sudo iptables -A OUTPUT -d 23.23.114.56 -j DROP

I confirmed that these commands both fail:

  $ curl https://packages.meteor.com/
  $ ./meteor search asdf   # when it needs to sync first

I bought a proxy server from Proxy Bonanza and confirmed that setting
the environment variable HTTPS_PROXY to
   https://PROXYUSERNAME:PROXYPASSWORD@PROXYIP:PROXYPORT/
made both of the commands above succeed.

Fixes #2515.
2014-10-10 14:49:05 -07:00
Justin SB
b9713a02f7 Make deploy pretty also
Still pausing until we merge in the minification changes
2014-09-19 16:20:58 -07:00
Justin SB
30f4fa2cbe Progress bars and output formatting 2014-09-19 15:52:23 -07:00
David Glasser
6bcd277c64 when uploading tarballs, check for errors
and throw something that looks better than [Object Object]
2014-06-26 15:30:25 -07:00
Emily Stark
d7cc7142d0 Get rid of authConn().
Add some helpers like `withAccountsConnection` for running functions
that need a connection to the accounts server.
2014-02-10 19:12:52 -08:00
David Glasser
f2053a94ca Merge branch 'sso' into tool-refactoring
Conflicts:
	tools/auth.js
	tools/files.js
	tools/http-helpers.js
	tools/meteor.js
	tools/run.js
2014-02-04 17:03:29 -08:00
David Glasser
13b84e5c80 Don't require('request') unless necessary
13% speedup to `meteor self-test`. (Thanks, $METEOR_PROFILE_REQUIRE!)
2014-01-31 16:43:30 -05:00
Emily Stark
8960b70031 Clean up accounts server methods calls with sessions 2014-01-30 22:57:18 -08:00
Geoff Schmidt
8bded5c44f eliminate process.exit from release.js and warehouse.js 2014-01-07 22:58:00 -08:00
Geoff Schmidt
9db5fec711 files: update code style 2013-12-30 06:11:04 -08:00
Geoff Schmidt
4fc8c0d1f3 Eliminate context everywhere!!
Add release.js to manage current release.
2013-12-30 05:16:21 -08:00
Geoff Schmidt
a314eb7d62 Switch from cookies to headers for Meteor auth 2013-12-18 15:36:04 -08:00
Geoff Schmidt
c1f9b423c5 Correctly handle exceptions in http-helpers 2013-12-16 16:16:53 -08:00
Geoff Schmidt
410a585d76 Deferred registration! 2013-12-11 04:26:01 -08:00
Geoff Schmidt
d168857ab6 refactor http auth 2013-12-08 05:58:08 -08:00
Geoff Schmidt
a95f9eb480 Refactor/fiberize deploy RPCs. Add basic Meteor Accounts support. 2013-12-06 19:22:10 -08:00
Emily Stark
69c98bce63 Add login command to meteor tool 2013-11-07 21:53:27 -08:00
Nick Martin
3177d9ad41 Use http_proxy environment variable so meteor update and deploy work behind an http proxy. 2013-09-27 15:06:43 -07:00