Commit Graph

4182 Commits

Author SHA1 Message Date
Zoltan Olah
853bdb4df2 Documentation for Meteor.disconnect(). 2013-07-25 16:55:59 -07:00
Zoltan Olah
af7e208bd2 Better tests for disconnect(). 2013-07-25 16:55:59 -07:00
Zoltan Olah
bf02edaae7 Ooops, pythonism - thanks tests! 2013-07-25 16:55:59 -07:00
Zoltan Olah
b434d19bd8 Added basic test for disconnect() 2013-07-25 16:55:59 -07:00
Zoltan Olah
f6c6f891c5 Ensure we don't reconnect when the browser goes 'online' 2013-07-25 16:55:59 -07:00
Zoltan Olah
fbcf465068 Meteor.disconnect() initial implementation. 2013-07-25 16:55:59 -07:00
David Glasser
d1c481f714 Address EPIPE (etc) crashes from the runner http-proxy during hot code reload.
A better fix involves improving http-proxy itself but they're in the middle of a
giant Node 0.10 compatibility rewrite. This addresses the bug reported by Tim
Haines in a hacky but useful way.
2013-07-25 16:29:14 -07:00
Nick Martin
b68ce66048 Patch our local sockjs to use a cachebusting URL for /sockjs/info.
This has been submitted upstream too: https://github.com/sockjs/sockjs-client/pull/129
2013-07-24 20:09:31 -07:00
Emily Stark
1ee45c4318 Strip trailing dots after adding .meteor.com to appnames.
This is a temporary fix while we sort out the difference between appnames and
sitenames.
2013-07-24 13:24:35 -07:00
David Glasser
e471549677 Refactor argument parsing and 'help' display.
argumentParser is now required, and it takes in an optimist object instead of
needing to create one.

The name of the command is automatically removed from argv._ between
argumentParser and func, instead of having to deal with it in func.

We no longer are able to cleverly show the "-f" in the help for logs -f only if
talking to Galaxy. The logic there is too complex.

(The motivation for this commit is that "meteor help logs" and "meteor logs
--help" were both broken, in different ways.)
2013-07-24 02:11:33 -07:00
Nick Martin
6e86bb4096 Fix submit event on old IE. Fixes #1191
Not tested, but it looks right from code inspection and looking at the history.
2013-07-23 22:58:01 -07:00
Nick Martin
fc2ec5f637 Merge branch 'pr-1226' into devel 2013-07-23 22:50:32 -07:00
Zoltan Olah
732482b5ea Documentation for forceApprovalPrompt to meteor_loginwithexternalservice. 2013-07-23 22:50:07 -07:00
Zoltan Olah
951fc87213 Added support to force the approval prompt for the google oAuth flow. 2013-07-23 22:50:07 -07:00
Nick Martin
55e5e3b9c4 Merge branch 'pr-1181' into devel 2013-07-23 22:48:48 -07:00
Tim Haines
65c288bdb8 Handle Meteor.loginWithX called with callback but not options 2013-07-23 22:28:28 -07:00
Tim Haines
9251942b9a OAuth client: Only invoke the callback if it exists 2013-07-23 22:28:28 -07:00
Slava Kim
d65cf0307b Remove one letter option for --admin. 2013-07-23 17:58:44 -07:00
Slava Kim
095e81a0b6 Hide documentation to admin flag.
Shouldn't distract people who don't have Galaxy yet. (everyone outside MDG)
2013-07-23 12:35:57 -07:00
Slava Kim
f46d94cffd Option to deploy an app as 'admin app'.
So app binds to host.local/appName and is available in admin panel
2013-07-23 11:43:03 -07:00
Emily Stark
902d3b5f1c Don't try to add .meteor.com to an undefined sitename in galaxy configure. 2013-07-22 22:46:34 -07:00
Naomi Seyfer
2d2da146d9 Fix messages on timeout error 2013-07-22 18:24:31 -07:00
Naomi Seyfer
2d8b96c946 Fix timeout so that it gets cancelled when the connection is closed 2013-07-22 18:14:52 -07:00
David Glasser
d5ed4fd878 Don't try to read empty files.
Fixes #1237.
2013-07-22 16:58:44 -07:00
Naomi Seyfer
732847436b Time out if we dont connect to galaxy in 10s 2013-07-22 15:32:02 -07:00
Emily Stark
a27e6239b9 Validate certs on galaxy discovery requests. 2013-07-22 15:14:11 -07:00
Emily Stark
2e79a3145e Add .meteor.com to sitenames in meteor tool if no domain.
Commands that don't use galaxyCommand (logs and configure, for now) have to call
qualifySitename themselves, but I think this is okay for now because we're
mainly concerned with preventing deploys to non-fully-qualified domains.
2013-07-22 15:08:08 -07:00
David Glasser
96d5ce2fa4 Followup adding comment to d5a1295 fix. 2013-07-22 11:58:33 -07:00
Emily Stark
d5a1295977 Make galaxy discovery not follow redirects 2013-07-19 16:49:40 -07:00
Emily Stark
bd7e0d768c Merge branch 'master' into devel
Conflicts:
	History.md
	docs/.meteor/release
	packages/mongo-livedata/.npm/package/npm-shrinkwrap.json
	packages/mongo-livedata/package.js
2013-07-19 16:05:29 -07:00
Emily Stark
2e78d0d110 Merge branch 'release-0.6.4.1' 2013-07-19 15:58:36 -07:00
Emily Stark
614ab6a172 Update docs and examples to 0.6.4.1 2013-07-19 15:54:21 -07:00
Emily Stark
6d6a0977e2 Update banner and notices to 0.6.4.1 2013-07-19 15:32:57 -07:00
David Glasser
e8af79e151 Update docs and examples to rc3. 2013-07-19 12:09:01 -07:00
David Glasser
ab0e8e770e Use a commit of node-mongo-native with a unique package.json version.
Avoids confusing the npm cache.
release/0.6.4.1-rc3 release/0.6.4.1
2013-07-19 11:52:04 -07:00
David Glasser
237f6da87e Store runner.js in test-in-console as an asset; extract via env var.
Allow packages to specify that files are assets, overriding any handler defined
for them. (May be useful for web workers!)

Let Assets.getBinary work before global-imports.js is executed.
release/linker-pre6
2013-07-19 11:27:55 -07:00
David Glasser
d0b7b41860 Update shrinkwrap for mongodb update. 2013-07-19 11:26:22 -07:00
David Glasser
18168429d8 Add History entry for 0.6.4.1. release/0.6.4.1-rc2 2013-07-19 11:13:17 -07:00
David Glasser
abe145736d Update docs and examples to the RC. 2013-07-19 11:13:17 -07:00
David Glasser
d0ae0a86ea Commit mongo npm-shrinkwrap.json change. 2013-07-19 11:12:18 -07:00
David Glasser
7684c726c8 Use mongodb with extra null checks. 2013-07-19 11:12:18 -07:00
David Glasser
94810814d6 No longer use NPM progress module. 2013-07-19 10:42:56 -07:00
David Glasser
46180063c7 Update to mongodb 1.3.12. Includes Emily's patch. 2013-07-19 10:13:05 -07:00
David Glasser
15c396b686 linker: Add a few newlines before the exports section. 2013-07-19 10:08:10 -07:00
Geoff Schmidt
ee60b7bcae If you @export Foo.Bar.Baz, define Foo.Bar for you
(if it wasn't already defined by an import.)
2013-07-18 23:46:31 -07:00
David Glasser
9e6653d3ba Update docs to linker-pre5. 2013-07-18 18:08:12 -07:00
David Glasser
74da4b1adb Fix Meteor.release. release/linker-pre5 2013-07-18 12:40:16 -07:00
David Glasser
2f6a5b2193 "meteor rebuild-all" should not try to rebuild warehouse packages.
That's because warehouse packages are now pre-built and have no source tree.

(The existing code didn't work anyway. It iterated over self.releaseManifest
instead of self.releaseManifest.packages, and the "name" and "version" arguments
to the each were reversed. So it was trying to delete directories named ".build"
inside "/Users/glasser/.meteor/packages/de0d7206ad/tools" and
"/Users/glasser/.meteor/packages/packages". Since those directories never
existed, it didn't manage to try to rebuild any packages anyway.)
release/linker-pre4
2013-07-18 11:40:13 -07:00
David Glasser
99560c7d34 Bump bundle version. 2013-07-18 10:42:14 -07:00
David Glasser
c1667c7d0c Move clean-css and uglify-js from dev bundle to a new minifiers package.
This will make it much easier to upgrade them and test new versions.

(They are still called from the bundler, so changes to how we access them (eg
source map support) will require modifying tools, but just "upgrade to new
version" now is much easier.)
2013-07-18 10:31:52 -07:00