Commit Graph

5676 Commits

Author SHA1 Message Date
Sashko Stubailo
36da5aecb4 Make all version numbers not have rc 2014-10-13 14:09:37 -07:00
Sashko Stubailo
667f3b8a91 Bump package versions for rc.8 2014-10-13 13:35:03 -07:00
Nick Martin
03b8e2b2ad Bump versions for -rc.7 2014-10-12 13:53:01 -07:00
Nick Martin
fbb15e7e3b Allow null in appId check. This can happen when a client passes
`undefined` for appId and it gets translated to `null` by DDP.
2014-10-12 13:18:20 -07:00
Nick Martin
5b17ef1a30 Version bump for rc.6 2014-10-10 20:37:54 -07:00
Nick Martin
80eebe86ba Merge remote-tracking branch 'origin/behind-proxy' into 0.9.4 2014-10-10 20:29:28 -07:00
Slava Kim
8e919e41b5 Whitespace 2014-10-10 19:48:13 -07:00
David Glasser
fb7921ade2 Support $HTTPS_PROXY in Node DDP client.
This should mean that you can access the package server from behind a
corporate firewall.

I tested this by setting up a Linux machine that doesn't have access to
packages.meteor.com:

   $ sudo iptables -A OUTPUT -d 54.225.216.115 -j DROP
   $ sudo iptables -A OUTPUT -d 184.72.252.20 -j DROP
   $ sudo iptables -A OUTPUT -d 23.23.114.56 -j DROP

I confirmed that these commands both fail:

  $ curl https://packages.meteor.com/
  $ ./meteor search asdf   # when it needs to sync first

I bought a proxy server from Proxy Bonanza and confirmed that setting
the environment variable HTTPS_PROXY to
   https://PROXYUSERNAME:PROXYPASSWORD@PROXYIP:PROXYPORT/
made both of the commands above succeed.

Fixes #2515.
2014-10-10 14:49:05 -07:00
David Glasser
ac0014d852 factor out creation of socket 2014-10-10 14:46:51 -07:00
David Glasser
7126e17109 Allow any number of spaces by || in constraints
Previously, exactly one was required, but this was not explicitly
documented.
2014-10-09 21:20:14 -07:00
Sashko Stubailo
a0bf883d93 Bump versions 2014-10-09 20:33:25 -07:00
Sashko Stubailo
8ae1301832 Bump versions 2014-10-09 20:11:53 -07:00
Avital Oliver
f2b65cc055 Fix ce98ea08d5 on IE8
Array.prototype.indexOf isn't defined on IE8
2014-10-09 19:46:09 -07:00
Sashko Stubailo
f77570662c Bump meteor-tool.. again 2014-10-09 16:54:12 -07:00
Sashko Stubailo
18f77ab2ee Bump netroute 2014-10-09 16:52:49 -07:00
Sashko Stubailo
ac7ed9627f Bump meteor-tool 2014-10-09 16:49:18 -07:00
Sashko Stubailo
5dc03c53ec Bump package versions 2014-10-09 16:45:54 -07:00
Nick Martin
cafb427aa7 Bump versions for 0.9.4-rc.2 2014-10-09 16:42:30 -07:00
Slava Kim
ce98ea08d5 Explicitly ban some names for Templates.
Fixes the test failure on IEs because for IEs 'name' is not a magical property
on functions.
2014-10-09 15:24:44 -07:00
David Glasser
a98c6d030a server DDP: Use low-level websocket-driver module
We want to support running DDP through a corporate proxy, but the
higher-level faye-websocket can't support that and won't be changed to
allow that: https://github.com/faye/faye-websocket-node/pull/30

Fair enough. Let's just switch to the lower-level module, since we don't
care about getting a browser-compatible websocket API.

This is a first step towards fixing #2515.
2014-10-08 18:07:11 -07:00
Sashko Stubailo
ea51b6a26a Update DDP.md 2014-10-08 15:55:07 -07:00
Sashko Stubailo
7776e86333 Merge branch '0.9.4' of github.com:meteor/meteor into 0.9.4
Conflicts:
	docs/client/data.js
2014-10-08 15:18:01 -07:00
Sashko Stubailo
45a18297d1 Change docs to recommend using strings for Meteor.Error 2014-10-08 15:17:03 -07:00
Slava Kim
438a87802e Check the new argument of clientVersions publications 2014-10-08 14:49:03 -07:00
Emily Stark
a4570b92df Replace runtime config regression selftest with simpler unit test 2014-10-08 14:26:38 -07:00
Emily Stark
3f9f3e9c06 Clone __meteor_runtime_config__ before extending it 2014-10-08 14:05:53 -07:00
Sashko Stubailo
74c8f252f5 Add locus to accounts callbacks 2014-10-08 13:49:24 -07:00
Sashko Stubailo
75ef0202bf Bump meteor and meteor-tool version numbers 2014-10-07 22:30:52 -07:00
Sashko Stubailo
d74ba1a3e4 Merge branch 'devel' into 0.9.4
Conflicts:
	tools/commands-cordova.js
2014-10-07 22:23:30 -07:00
Slava Kim
b40faa363c Fix the typo 2014-10-07 18:43:43 -07:00
Slava Kim
8d2fd23005 Hide the splash screen only after the plugins and page is loaded 2014-10-07 17:29:41 -07:00
Sashko Stubailo
698fbedb10 Bump all of the version numbers to rc.0 2014-10-07 17:10:48 -07:00
Nick Martin
e25670c9c5 also check for missing section headers. 2014-10-07 13:53:26 -07:00
Nick Martin
8014a6be52 comments and naming per review. 2014-10-07 13:53:26 -07:00
Nick Martin
afc45d8386 Add space between function and ( per style guide.
No functional changes.
2014-10-07 13:53:25 -07:00
Nick Martin
c969263299 Point to a non-existent file when testing to clear appcache properly. 2014-10-07 13:53:25 -07:00
Nick Martin
ee65d21699 Run appcache size check after user code has had a chance to run.
This way the size check takes calls to Meteor.AppCache.config()
into account, so users can remove files from the cache and get
rid of the warning.

Also, add an internal option to totally disable the warning and
use it in tests.
2014-10-07 13:53:25 -07:00
Maxime Quandalle
ddc4bc7442 Complete the appcache test suite
* Add a test to verify section header unicity
* Add a test to verify NETWORK section content
* Simplify the regular expressions used in the manifest content test.
2014-10-07 13:53:25 -07:00
Gaelan
9e6568a3e1 Fix clientHash call in appcache.
Appcache was broken because it output the *function* WebApp.clientHash instead of its return value.
2014-10-07 13:53:25 -07:00
Maxime Quandalle
87e3b14a8a Improve appcache tests
+ Verify manifest content-type
+ Verify all lines validity with regular expressions
2014-10-07 13:53:25 -07:00
Maxime Quandalle
8cf480abd6 Disable the cache manifest in the tinytest client application to
ensure determinitic tests
2014-10-07 13:53:25 -07:00
Maxime Quandalle
ce15336d3e Add tests for the appcache package
Currently tests only verify the manifest presence and the header
validity. It should also verify the other sections validity

cf. #2716
2014-10-07 13:53:25 -07:00
Sashko Stubailo
3c02bd8b4c Bump versions 2014-10-03 22:26:30 -07:00
Sashko Stubailo
37de748a09 Bump meteor tool 2014-10-03 21:30:15 -07:00
Sashko Stubailo
76348d36ff Bump tool due to new example 2014-10-03 21:25:35 -07:00
Sashko Stubailo
d5b9b6d65d Bump package versions 2014-10-03 21:12:30 -07:00
Sashko Stubailo
4c3cd91bce Merge branch 'devel' into 0.9.4-second-preview 2014-10-03 21:08:44 -07:00
Slava Kim
0c7a12d482 Cordova.js is always served on root 2014-10-03 19:40:40 -07:00
Justin SB
246a3026a3 Bump SHA for com.meteor.cordova-update 2014-10-03 18:45:15 -07:00
Sashko Stubailo
aebc4d66ab Merge branch 'devel' into 0.9.4-second-preview 2014-10-03 17:44:13 -07:00