Emily Stark
d6f04ba5dd
Fix exceptions in galaxy deploy
2014-02-22 17:45:24 -08:00
David Glasser
3cd00c89af
Avoid stack trace with empty '.meteor/release' file
...
This is not a regression against 0.7.0.1.
Fixes #1849 .
2014-02-21 15:00:33 -08:00
David Glasser
203917df1e
Don't print "overrides project version (null)"
...
Specifically, when using checkout meteor with a project with no
.meteor/release file (ie, a pre-0.6.0 app, not a "none"-pinned app), we
used to print
=> Running Meteor from a checkout -- overrides project version (null)
but now we won't.
2014-02-21 14:50:44 -08:00
Emily Stark
222ac4ca65
Bump more self-test timeouts
2014-02-21 10:22:03 -08:00
Emily Stark
8f2a0abe31
Remove unnecessary help text line break.
2014-02-21 10:09:11 -08:00
Emily Stark
0eaa021f4c
Just drop sourcemaps that fail to be applied.
2014-02-21 09:05:51 -08:00
Slava Kim
58dc0ee3bb
Print a warning if the generated source map failed to be applied
2014-02-20 19:32:16 -08:00
Emily Stark
9669bbe368
Bump some run test timeouts
2014-02-20 17:25:14 -08:00
David Glasser
54074fdac7
Fix crash if populating packages in two processes
2014-02-20 15:35:38 -08:00
Emily Stark
f19331fc44
Merge branch 'meteor-accounts-ux-pass' into release-0.7.1
2014-02-20 00:00:16 -08:00
Slava Kim
7b9ca3d0cc
Allow stylesheets to register source maps
2014-02-19 23:56:10 -08:00
Emily Stark
ab3577d3d5
Update tests for changed accounts UX
2014-02-19 23:44:04 -08:00
Emily Stark
cebffa7848
Use stderr for login prompt on deploy with expired token
2014-02-19 23:43:35 -08:00
Emily Stark
89b1a73002
Make options optional on pollForRegistrationCompletion
2014-02-19 23:43:18 -08:00
Emily Stark
857b4e0a4c
Merge branch 'meteor-accounts-ux-pass' of github.com:meteor/meteor into meteor-accounts-ux-pass
2014-02-19 19:37:12 -08:00
Emily Stark
eee4c0c9e7
Add test for deploying with expired credentials
2014-02-19 19:36:54 -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
0663aaa435
Make Sandbox.writeSessionFile actually write the file
2014-02-19 17:04:22 -08:00
Geoff Schmidt
32ad71e50e
Improve email-in-use flow
2014-02-19 16:24:16 -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
1f8760acfc
Update 'meteor claim' test for new prose
2014-02-19 15:52:31 -08:00
Emily Stark
2ff0fa38ed
Correctly check for current username when deploying
2014-02-19 15:49:46 -08:00
Emily Stark
2f6bb62170
Use the same timeouts in login tests as everywhere else
2014-02-19 15:49:06 -08:00
Emily Stark
2ef965f34e
Merge remote-tracking branch 'origin/release-0.7.1' into meteor-accounts-ux-pass
...
Conflicts:
History.md
tools/help.txt
tools/tests/login.js
tools/tests/registration.js
2014-02-19 15:28:48 -08:00
Emily Stark
423ae65d93
This time, actually add the test for 'meteor whoami'.
2014-02-19 14:47:54 -08:00
Emily Stark
c8e75d9afc
Use fut.isResolved() instead of a separate 'resolved' variable.
...
Add test for 'meteor whoami' after setting username but before logging
in again.
2014-02-19 14:46:28 -08:00
Geoff Schmidt
92abbf2f5c
deploy server now returns 401 for invalid credentials
2014-02-19 12:34:33 -08:00
Geoff Schmidt
31b387b775
fixed for 'meteor logs' on a galaxy
2014-02-19 12:34:08 -08:00
Emily Stark
8f9f793c32
Add test for 'meteor deploy --settings'
2014-02-19 11:33:13 -08:00
Emily Stark
77b3d03b8f
Add missing var in deploy test
2014-02-19 10:20:02 -08:00
Emily Stark
6b5dd8f61a
Add test for whoami with no username set
2014-02-18 23:45:26 -08:00
Emily Stark
7e6505cf0a
Add tests for authorized and claim with no username set
2014-02-18 23:45:26 -08:00
Emily Stark
e3675cb040
Fix timeouts on authorized/claim tests
2014-02-18 23:45:26 -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
ec63838822
Change required number of deploy args.
...
Add tests for commands that require a site name.
2014-02-18 15:41:40 -08:00
Geoff Schmidt
97d2264a3a
Fix a "Future resolved more than once" error
2014-02-18 15:38:26 -08:00
Geoff Schmidt
bee4fbbd24
Reprompt if they enter a blank username to logs or mongo. With test.
2014-02-18 14:48:29 -08:00
Geoff Schmidt
653045ffec
In self-test, make '--tests' into an argument and document it.
2014-02-18 14:47:52 -08:00
Geoff Schmidt
dd2b5ce729
'login' without --galaxy always prompts for username/password
2014-02-18 14:17:41 -08:00
Geoff Schmidt
c0d5fed96c
help text tweaks
2014-02-18 14:03:06 -08:00
Emily Stark
c06b991b90
Fix undefined variable in galaxy error handling
2014-02-18 11:04:21 -08:00
Emily Stark
9905a881f1
Remove an obsolete XXX
2014-02-18 11:04:21 -08:00
David Glasser
8b25a5b045
Merge branch 'restore-run-command' into devel
2014-02-17 19:48:20 -08:00
David Glasser
993fbc90cb
run-command tests
2014-02-17 19:46:29 -08:00
David Glasser
9f93b95f53
Better main detection
2014-02-17 19:39:38 -08:00
David Glasser
91832f8b1a
Update run-command to not be a raw command
...
(raw commands don't exist any more)
2014-02-17 19:36:05 -08:00
David Glasser
5eef5fcfd3
keep raw commands removed
2014-02-17 19:34:02 -08:00
David Glasser
fde0717d5d
Update help
2014-02-17 19:33:35 -08:00