Commit Graph

46 Commits

Author SHA1 Message Date
David Glasser
31a5f4014f Improve comment and message
Make sure that it shows you that it added '.meteor.com'.
2014-06-10 17:10:34 -07:00
J. Bruni
ab5c2513cd Show meaningful deploy error message for long hostname
https://github.com/meteor/meteor/issues/1208#issuecomment-45158503
2014-06-10 17:05:28 -07:00
Emily Stark
e872bc72e3 Add 'meteor list-sites' command 2014-03-24 10:36:18 -07:00
Emily Stark
cebffa7848 Use stderr for login prompt on deploy with expired token 2014-02-19 23:43:35 -08:00
Emily Stark
829dfdac68 Don't log out an invalid session immediately before deploy.
When we deploy:
* If we are logged in with a username, then we go straight to doing the
  actual deploy.
* If we are logged in without a username, we check if we have a username
  yet. If we have an invalid credential at this point, we do NOT want
  `pollForRegistrationComplete` to wipe our session file, because we
  already passed the point at which we handle the case of the user being
  logged out. Instead, we just want to continue with the deploy and let
  the deploy server handle the expired credential. (This case, where a
  user's credential has been expired before they set a username,
  shouldn't happen too often in real life.)
* If we deploy with an invalid credential, we get an "Expired
  credential" message.
2014-02-19 19:35:19 -08:00
Emily Stark
023276cd50 Only show username prompt on deploy if we know the user has a username.
We don't want a user to see a username/password prompt if they haven't
set a username yet.
2014-02-19 15:52:57 -08:00
Emily Stark
2ff0fa38ed Correctly check for current username when deploying 2014-02-19 15:49:46 -08:00
Geoff Schmidt
92abbf2f5c deploy server now returns 401 for invalid credentials 2014-02-19 12:34:33 -08:00
Geoff Schmidt
d1d714ec66 'whoami' gracefully handles revocation of a credential
on a passwordless account. with test
2014-02-18 17:25:19 -08:00
Geoff Schmidt
d3291f7234 one space after period 2014-02-18 15:44:09 -08:00
Geoff Schmidt
96e3273f28 make account setup link even more handy 2014-02-18 15:43:55 -08:00
Emily Stark
a4e5a07cab Fix mistaken infoResult.payload check on 'meteor claim' 2014-02-13 11:48:01 -08:00
Emily Stark
76464f647d Give login prompt when necessary on logs/mongo commands.
Add tests for authentication on logs and mongo commands.
2014-02-12 11:22:57 -08:00
Emily Stark
6f74596ab0 Add error messages for 'meteor mongo' too.
And some tests for logs error messages.
2014-02-11 15:12:52 -08:00
Emily Stark
c14cc0e6ca Add 'meteor logs' error messages for legacy-password/unauthorized apps. 2014-02-11 14:43:07 -08:00
Emily Stark
1f8fa55c69 Change capitalization of Meteor developer accounts 2014-02-11 11:20:21 -08:00
Emily Stark
c4315d38fb Print registration URL after deploy 2014-02-11 11:15:41 -08:00
Emily Stark
b771f4042e Clean up some legacy app error messages 2014-02-09 17:15:26 -08:00
Emily Stark
aabed4665c Print login failed error message once instead of twice 2014-02-06 10:14:32 -08:00
Emily Stark
4f417b402a Prompt for login if the user isn't already logged in 2014-02-06 08:02:00 -08:00
Geoff Schmidt
b940e06006 make getSettings report problems cleanly
(using buildmessages rather exceptions)
2014-01-08 17:18:32 -08:00
Geoff Schmidt
a1decc47af eliminate process.exit calls in deploy.js 2014-01-07 19:04:48 -08:00
Geoff Schmidt
04b2957670 better error handling in deploy-galaxy.js 2014-01-07 18:52:59 -08:00
Geoff Schmidt
9813345e15 move runMongoShell to appropriate file. fix some bugs. 2014-01-06 23:30:19 -08:00
Geoff Schmidt
608123d886 runner refactor - WIP (factor out AppRunner, Updater) 2014-01-02 11:26:51 -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
943600df9b Fix bug where preflighted password RPCs on old-style apps wouldn't work 2013-12-19 15:42:33 -08:00
Geoff Schmidt
a314eb7d62 Switch from cookies to headers for Meteor auth 2013-12-18 15:36:04 -08:00
Geoff Schmidt
f590c2567a better handling of bad userids 2013-12-11 05:54:47 -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
Geoff Schmidt
a74e351705 centralize service configuration 2013-12-06 19:10:15 -08:00
Alexey Komissarouk
60f88dcc0f asking for password on stdout so url can be used in scripts 2013-11-18 17:03:41 -08:00
David Glasser
8062d65730 Update for new 'keypress' API. 2013-10-03 16:59:44 -07: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
Emily Stark
7da0561995 Print error body if we get one from meteor mongo.
This got lost when we refactored to have the same interface as deploy-galaxy.
2013-07-17 15:23:56 -07:00
Slava Kim
82552022d8 Update dev_bundle's mongodb binaries
- Dev_bundle generation: Compile mongodb binaries (mongo, mongod) with ssl
  support, statically linking compiled openssl libs.
- meteor mongo website: parse mongo url and pass ssl flag to mongo shell in case
  of "?ssl=true" in mongo url from mother/galaxy.
- added script to generate all mongodb binaries with ssl support on linux
  platform.
2013-07-10 12:42:29 -07:00
Emily Stark
790deed8b4 Clean up mongo command 2013-06-14 17:01:47 -07:00
Naomi Seyfer
e87412e7ee Make one part of deploy not depend on the context to have Meteor.Error 2013-05-16 13:33:39 -07:00
Geoff Schmidt
02e1b3b1c7 Make 'meteor --help' startup >3x faster, with the help of a require() tree profiler. The speedup is entirely due to lazy-loading third party modules. 2013-05-13 11:56:51 -07:00
Geoff Schmidt
ed18c6ffb5 Comprehensive build-time error reporting system. In particular: if an error occurs, the build will try to continue to identify any other potential problems so that they can be flagged too. Syntax errors are captured and dealt with programmatically, rather than just being echoed to stderr by node. Stack traces are parsed to pull out file and line information, and a distinction is made between the 'user' and 'internal' portions of the stack. All of this is at build time only -- it has not been extended to (run-time) server or browser yet. Also, no source maps yet, though line numbers are computed correctly for units within the linker. 2013-05-13 11:52:43 -07:00
Geoff Schmidt
1266e5278e Don't write bundle dependencies (files to monitor) to disk. Just plumb them through in memory from the bundler to the runner. 2013-05-13 11:51:52 -07:00
David Glasser
88dedc5503 add newlines to "meteor deploy" output
this way any NPM lines between "bundling..." and "uploading..." are less jarring
2013-03-29 22:49:53 -07:00
David Glasser
fd6234525e simplify bundle options in deploy 2013-03-19 19:32:39 -07:00
David Glasser
8a79edb43b "tools" -> "scripts", "engine" -> "tools" 2013-03-19 18:19:31 -07:00