Commit Graph

8027 Commits

Author SHA1 Message Date
Ben Newman
9ee7e46be9 Bump package versions for 1.4.3-beta.0 release. 2016-12-01 16:44:48 -05:00
Ben Newman
134fa0d226 Move facebook package to packages/deprecated. 2016-12-01 16:44:43 -05:00
Ben Newman
5d9d06f3bd Update minifier-js shrinkwrap. 2016-12-01 15:50:34 -05:00
Ben Newman
7c148b2a4e Merge branch 'devel' into run-reify-before-babel 2016-11-30 19:51:05 -05:00
Ben Newman
8577c9a233 Upgrade the meteor-babel npm package to version 0.14.3. 2016-11-30 13:40:24 -05:00
Alex Terpyakov
1f883c6f6d Update uglify-js (#8117) 2016-11-30 13:36:56 -05:00
Ben Newman
5e32a12763 Merge pull request #8101 from meteor/glasser/websocket-timeout
Don't allow websockets to indefinitely wait for DDP handshake
2016-11-29 18:51:55 -05:00
Zoltan Olah
251e09ce5a Merge pull request #7970 from MichaelOber/devel
Add support for frame-ancestors CSP option in browser-policy
2016-11-29 15:35:46 -08:00
Ben Newman
293e8c5936 Upgrade reify npm package to version 0.4.4. 2016-11-27 14:47:11 -05:00
Ben Newman
39a8591fb2 Upgrade reify npm package to version 0.4.3. 2016-11-26 13:30:33 -05:00
Ben Newman
bd0a7be6e2 Upgrade the meteor-babel npm package to version 0.14.2. 2016-11-26 13:29:33 -05:00
David Glasser
b9f2bb255d Don't allow websockets to indefinitely wait for DDP handshake
In general, we try to avoid allowing TCP connections to be open with no
traffic on it indefinitely.  We place timeouts on incoming HTTP
connections in webapp_server.js (which we adjust to longer values when
there's an HTTP request pending), and once a DDP connection is fully
established we require heartbeats.

However, if the incoming connection is a websocket, the faye-websocket
package used by SockJS calls setTimeout(0) on the underlying socket when
it initializes the WebSocket object:

https://github.com/faye/faye-websocket-node/blob/3148348a3/lib/faye/websocket/api.js#L111

So if a client does the WebSocket handshake with the server but never
sends a valid DDP connect message, the socket can be held open
indefinitely. (To add insult to injury, a 1MB Buffer object is retained
on such sockets due to something in the faye-websocket code, at least on
older versions of Node like 0.10.)

This commit restores a timeout on the socket for this in-between period.

(We actually saw this issue in production on the Meteor Developer
Accounts server --- hundreds of such broken connections would accumulate
over time.  This may be triggered by a particular setup we use involving
proxies for the accounts server, or it may be a more generally
applicable issue.)
2016-11-23 13:10:58 -08:00
Ben Newman
f4abbccf45 Merge branch 'master' into devel 2016-11-17 16:23:04 -05:00
Ben Newman
8d76fb01ff Bump package versions for the official 1.4.2.3 release. 2016-11-17 13:45:10 -05:00
Ben Newman
7b9ae5a6dd Bump package versions for 1.4.2.3-rc.0 release. 2016-11-16 17:20:04 -05:00
Ben Newman
fda40742fe Bump package versions for the official 1.4.2.2 release. 2016-11-15 19:59:10 -05:00
Ben Newman
824e68872f Bump package versions for 1.4.2.2-rc.1 release. 2016-11-15 09:40:47 -05:00
Ben Newman
5fc1cfa2e7 Bump package versions for 1.4.2.2-rc.0 release. 2016-11-14 20:00:34 -05:00
Ben Newman
705a0c1709 Very minor stylistic tweaks to css-minifier tests. 2016-11-14 13:42:49 -05:00
Ben Newman
9f25353745 Bump package versions for 1.4.2.2-beta.2 release. 2016-11-14 13:07:50 -05:00
Hugh Willson
e0b3b390a0 Updated test description to include the issue # being resolved (#5676). 2016-11-14 11:49:24 -05:00
Hugh Willson
307b246b6a Minor formatting adjustment to force CI rebuild. 2016-11-14 11:49:24 -05:00
Hugh Willson
ca50223f5e Preventing undefined callback from being passed into the forgotPassword Method, which in turn prevents unnecessary audit-argument-checks warnings. 2016-11-14 11:49:24 -05:00
Seba Kerckhof
212b3d0c22 Implement $min, $max, $currentDate modifiers 2016-11-14 11:49:24 -05:00
choyweston
067767d36e Add tests for URLs with #
First time building this type of test. Please review :)
2016-11-14 11:10:46 -05:00
choyweston
fd7632dde0 Add spaces before and after parenthesis 2016-11-14 11:02:10 -05:00
choyweston
311b0953aa Fixes cases where urls start with "#"
Another issue is URLs that are only a hash (this happens with inline SVG):

filter:url("#lightGreen")

In the current version of the codebase, gets rewritten to :

filter:url("")

The pull request also fixes this issue.
2016-11-13 22:45:41 -05:00
choyweston
237624be9f Apply fixed to absolute paths as well 2016-11-13 22:11:50 -05:00
choyweston
db8cc011e7 Fix case where no hash is present 2016-11-13 21:38:48 -05:00
choyweston
7d9388ee42 Keep Hashes in URL when rewriting relative URLs
For certain use cases, like SVG filters, the url needs to have a # symbol. For example, the following css property : 

```filter:url("filters.svg#lightGreen")```

In the current version of the codebase, gets rewritten to : 

```filter:url("http://myapp.com/filters.svg")```

Whereas the proper behaviour should be: 

```filter:url("http://myapp.com/filters.svg#lightGreen")```

This simple change will fix the issue.
2016-11-13 21:20:34 -05:00
Ben Newman
35a19eb1fd Bump package versions for 1.4.2.2-beta.0 release. 2016-11-10 17:59:56 -05:00
Joshua Byrd
5e9076f463 Twitter changed this 2016-11-10 17:50:59 -05:00
Joshua Byrd
483914a5a6 Twitter changed this 2016-11-09 11:31:05 -05:00
Ben Newman
bf7417ff92 Merge branch 'release-1.4.2.1' into devel 2016-11-09 01:35:41 -05:00
Tom Coleman
6c64985f4a Merge pull request #7968 from hwillson/issue-5676
Preventing undefined callback from being passed into the forgotPassword Method
2016-11-09 10:57:20 +11:00
Tom Coleman
ad54a108d4 Merge pull request #7858 from sebakerckhof/feature/new-mongo-modifiers
Implement $min, $max, $currentDate modifiers
2016-11-09 10:50:42 +11:00
Ben Newman
2d8f187cc9 Remove version constraints from ecmascript/package.js.
These constraints are only helpful when publishing the package apart
from a Meteor release, and are hard to maintain otherwise.
2016-11-08 17:38:51 -05:00
Ben Newman
51bb575e00 Bump ecmascript version to 0.6.0 to republish.
Temporarily adding version constraints so that we can publish
independently from the Meteor release.
2016-11-08 17:38:24 -05:00
Ben Newman
45b01ba809 Bump package versions for the official 1.4.2.1 release. 2016-11-08 15:42:56 -05:00
Ben Newman
7abaa56b1a Bump package versions for 1.4.2.1-rc.2 release. 2016-11-08 14:08:08 -05:00
Jesse Rosenberger
a4dad54a09 Add .html extension to accounts link on facebook-oauth README
Without the extension, the link just goes to the Guide homepage.
2016-11-06 15:20:43 +08:00
Tom Coleman
9f3f6bce6b Small updates as per @abernix 2016-11-06 15:20:43 +08:00
Tom Coleman
9a21e1b6ab Show a useful message if you aren't using the config-ui 2016-11-06 15:18:25 +08:00
Tom Coleman
d9a80665dd Change the wording a little 2016-11-06 15:18:25 +08:00
Tom Coleman
800903ff0e We need to export the Facebook symbol 2016-11-06 15:18:25 +08:00
laosb
30f612fa90 Updated the notice. 2016-11-06 15:18:25 +08:00
laosb
428d09e45f Hint users to use facebook-oauth. 2016-11-06 15:18:24 +08:00
laosb
69ac176544 Fix the notice. 2016-11-06 15:18:24 +08:00
Wexpo Lyu
f0460dd301 Update package.js 2016-11-06 15:18:24 +08:00
Wexpo Lyu
d01d4cd459 Update package.js 2016-11-06 15:18:24 +08:00