Commit Graph

14030 Commits

Author SHA1 Message Date
Robert Lowe
2e8a28ceaf Add sanity test for #3465 2015-04-14 15:25:18 -07:00
Robert Lowe
8cac5cc4b7 Fixes #3465 2015-04-14 15:25:18 -07:00
Warren Seine
eb232109a2 Fix typo in documentation. 2015-04-14 15:21:42 -07:00
David Glasser
b704424a73 Clarify coffeescript README
Fixes #4171.
2015-04-14 14:47:16 -07:00
Eric Wyne
f25c3683a4 change docs to doc
This parameter name is misleading. A single document is passed to the Meteor.deny({update}) function, not an array of documents
2015-04-14 14:36:58 -07:00
Dan Dascalescu
7096881781 Update Weibo instructions 2015-04-14 14:31:44 -07:00
David Glasser
431dd2a78f Merge branch 'pr/4154' into devel
Fixes #4154.
2015-04-14 14:10:22 -07:00
David Glasser
af647f7e7e Tweaks 2015-04-14 14:08:27 -07:00
Henry Todd
93b3519ad7 Add notice about ROOT_URL to OAuth API docs
A possible pitfall when configuring OAuth is that after proxying the Meteor application behind (for instance) nginx, the ROOT_URL doesn't match the hostname/port combination expected.
2015-04-14 14:06:46 -07:00
Slava Kim
8d705cdb77 Merge pull request #4150 from edull24/issue-4149
Fixes #4149.
2015-04-14 14:02:39 -07:00
David Glasser
453981214d Increase buffer size for netstat -ano on Windows
Fixes #4125 (hopefully).
2015-04-14 13:55:29 -07:00
David Glasser
59234ba2a4 Merge branch 'pr/4138' into devel
Fixes #4138.
2015-04-14 13:45:55 -07:00
Selwyn
f429c6ad96 Replace deprecated router function 2015-04-14 13:45:25 -07:00
Selwyn
867209d7d6 Format code to follow the MDG style guide 2015-04-14 13:45:25 -07:00
Selwyn
8f111e8381 Replace deprecated router function 2015-04-14 13:45:25 -07:00
Denis Gorbachev
ccfb1809da Default to error if it's actually a string
It happens when transform function throws an exception, for example.
2015-04-14 13:37:41 -07:00
Slava Kim
e556cabec3 Merge pull request #4122 from ksepehri/update-twitter-configure-message
updating the twitter configure message
2015-04-14 13:35:16 -07:00
David Greenspan
0b803b1aa9 Take glasser's suggestions on 4106e8c 2015-04-13 19:51:51 -07:00
David Greenspan
4106e8cade Allow space instead of @ in .meteor/versions
This change allows the tool to *read* .meteor/versions whether it uses
"@" or " " as a package/version separator.  It does not change how
.meteor/versions is written out.

Background:
The convention in the new Version Solver is that "foo@1.2.3" means a
constraint, which is satisfied by "foo 1.2.4" but not "foo 1.2.2", which
are specific versions of a package.  This convention avoids the same
confusion of .meteor/packages being a list of constraints while
.meteor/versions is conceptually a list of (package,version) pairs, even
though both look like package@version.

We'd like to replace "@" by " " in .meteor/versions from now on.
Unfortunately, even if the new tool can read old .meteor/versions files,
the old tool wouldn't be able to read the new style.  If in some release
of Meteor, we start writing .meteor/versions that use spaces, you won't
be able to switch between newer and older releases of Meteor without
getting a hard error about a malformed versions file in your app.

What we can do, at least, is start letting the tool read the better
format now, and maybe in the future we can switch.

This change also makes parsePackageAtVersion stand alone, instead of
being defined in terms of parsePackageConstraint, which is nice.
2015-04-12 16:30:26 -07:00
David Glasser
6a22e377de Use per-message websocket compression
(This is the third attempt to enable this. I believe as of
permessage-deflate 0.1.3, it works properly.)

By default, we attempt to use this for every websocket message on both
client and server.

On the server, we provide the SERVER_WEBSOCKET_COMPRESSION environment
variable to control compression. If $SERVER_WEBSOCKET_COMPRESSION is
set, then it must be valid JSON. If it represents a falsey value, then
we do not use permessage-deflate at all; otherwise, the JSON value is
used as an argument to deflate's configure method; see
https://github.com/faye/permessage-deflate-node/blob/master/README.md

We do not provide a way to use it only on some messages. The underlying
spec allows this but permessage-deflate does not; see
https://github.com/faye/permessage-deflate-node/issues/2

We do not provide a mechanism to control compression parameters on the
client side.  The assumption is that the common reason to care about
compression parameters is to control server per-connection memory
usage. (The noContextTakeover configuration parameter should save some
memory and still allow for some compression, for example.)

Addresses #3007 (which will not be fixed until this change is deployed
on the package server as well).
2015-04-10 13:37:58 -07:00
Avital Oliver
5781110def Correct remove references to WINDOWS-PREVIEW 2015-04-10 10:51:04 -07:00
Avital Oliver
3d33192d77 Revert "Remove reference to WINDOWS-PREVIEW"
This reverts commit 415c179310.

This commit was wrong. Instead of removing the `if` block
we should always be running the contents. Thanks @glasser
for noticing.
2015-04-10 10:49:10 -07:00
Avital Oliver
415c179310 Remove reference to WINDOWS-PREVIEW 2015-04-09 21:56:44 -07:00
David Greenspan
b4d06de260 Comments and naming in jsdoc.sh code 2015-04-08 16:43:17 -07:00
Evan Dull
cc6f5201d3 Fixes #4149.
Add missing space between words.
2015-04-07 21:21:29 -04:00
Sashko Stubailo
e75875e369 Merge branch 'master' into devel
Conflicts:
	History.md
	docs/client/data.js
	tools/run-mongo.js
	tools/tests/mongo.js
2015-04-06 11:30:20 -07:00
Sashko Stubailo
22f562240e Merge branch 'release-1.1.0.2' 2015-04-06 11:28:21 -07:00
Sashko Stubailo
2ab9e98fa4 Update example apps to latest version 2015-04-06 11:26:32 -07:00
Sashko Stubailo
7f4d51f6a1 Update docs 2015-04-06 11:22:15 -07:00
Sashko Stubailo
a67fa66b6c Update banners 2015-04-06 10:46:33 -07:00
Sashko Stubailo
c7471b4b16 Update History.md 2015-04-06 10:45:49 -07:00
ninja
13aa883145 updating the twitter configure message 2015-04-04 08:59:18 -05:00
Sashko Stubailo
7ca7749b6e Bump for 1.1.0.2 release/METEOR@1.1.0.2 2015-04-03 12:01:49 -07:00
David Glasser
2815e0ed32 run-mongo: Only use pgrep on OS X
The fix to #3999 didn't work on newer Linux systems whose pgrep contains
the backwards-incompatible change
f12277c74d
to not include arguments.

Since the inspiration to use pgrep instead of 'ps ax' was to work around
an OS X bug, just avoid pgrep on Linux in the first place.

Fixes #4115.
2015-04-03 14:26:50 -04:00
Sashko Stubailo
42df8d933e Bump meteor-tool rc release/METEOR@1.1.0.2-rc.0 2015-04-03 11:14:35 -07:00
Sashko Stubailo
70d3077bb6 Bump release for rc 2015-04-03 11:08:45 -07:00
David Glasser
4a66b3ebb2 Revert change accidentally put on release-1.1
This change was correctly not in 1.1 but ended up on git master after
its release by accident, and went out in 1.1.0.1 by mistake.
2015-04-03 09:34:36 -04:00
Slava Kim
a9b7a66751 Update docs version 2015-04-02 14:51:35 -07:00
Slava Kim
cdaaa6b0eb Merge branch 'master' into devel 2015-04-02 14:43:23 -07:00
Slava Kim
21f599080f Merge branch 'release-1.1.0.1' 2015-04-02 14:41:40 -07:00
Slava Kim
3a11a31d82 Banners 2015-04-02 14:39:54 -07:00
Slava Kim
2f13780ed5 Bumps release/METEOR@1.1.0.1 2015-04-02 13:59:55 -07:00
Slava Kim
7718e75679 Add a history.md record for #4097 2015-04-02 13:55:47 -07:00
David Glasser
779f942aa3 Improvements to hot-code-push test
This test had been somewhat flaky.  It seems to be less flaky now.
Changes include:

- Trying to not send the client->server logging RPC if the client is
  about to reload due to autoupdate
- Making sure that the client doesn't send anything at all until a
  little bit after starting, in order to make the ordering of messages
  between tool-printed and server-printed messages more predictable

Also updated from standard-app-packages to meteor-tool.
2015-04-02 16:45:39 -04:00
David Glasser
2eb2f426e5 Fix self-test broken by bb271987e
Note that this test has been flaky in the past, but this was just a full
breakage.
2015-04-02 16:45:39 -04:00
David Greenspan
8b2c642df1 Fix #4097: error when View invalidated immediately
Bug introduced in 28c760e
2015-04-02 13:44:37 -07:00
Ben Newman
8a578e954b Fix race condition where shell listens too early.
Fixes #4109.
2015-04-02 15:28:46 -04:00
Sashko Stubailo
e57c668568 Add History.md entries for recent PRs 2015-04-02 10:59:23 -07:00
István Rábel
7ed59d866c fix match to accept boolean values as pattern
PR #4107

[stubailo: merged two commits]
2015-04-02 10:52:50 -07:00
Slava Kim
e0e30c3260 Merge pull request #4111 from RobertLowe/patch-2
Fixes typos in cordova commands
2015-04-02 10:43:06 -07:00