Commit Graph

5658 Commits

Author SHA1 Message Date
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
Sashko Stubailo
054e7576a6 Update docs data 2014-10-03 16:52:01 -07:00
Slava Kim
de6a037320 Move HCP-cache clean-up to autoupdate code
Clean up on every soft restart (every time the js app loads) not on every hard
restart (every time the native shell loads). This fixes the problem described
in issue #2727: HCP cache keeps accumulating in development mode leading to
crashes.
2014-10-03 16:14:48 -07:00
Sashko Stubailo
321b76f267 Bump netroute version 2014-10-03 16:14:35 -07:00
Sashko Stubailo
0cf088b6cb Bump changed package versions 2014-10-03 16:13:08 -07:00
Emily Stark
07f0c56a85 Preserve --mobile-server setting across hot code pushes.
The server sends hot code push updates to mobile clients with ROOT_URL
and DDP_DEFAULT_CONNECTION_URL taken from the MOBILE_ROOT_URL and
MOBILE_DDP_URL environment variables. These are set by the main meteor
process when it starts the app runner.
2014-10-03 15:46:43 -07:00
Roshan Jobanputra
dc00523cc8 Export FastClick to all clients
Remove the 300ms click delay on mobile web browsers in addition to Cordova builds. FastClick will ignore desktop browsers.
2014-10-03 14:56:22 -07:00
Emily Stark
3069788e01 Rework --mobile-server defaults.
* --port now requires a port ('meteor run --port example.com' isn't valid).
* --mobile-server defaults to your detected IP address and the port from
    --port.
* If you provide a value for --mobile-server, we default to http:// as
  the protocol. A host is required for --mobile-server if you don't omit
  the option entirely. Similar for the --server argument to 'meteor
  build'.

This commit includes the 'netroute' npm module as a core package (which
has binary dependencies) for IP detection. It would be nice to put it in
packages/non-core, but I think it has to be a core package in order to
uniload it.
2014-10-03 12:11:44 -07:00
Slava Kim
d5c2849fed Target-density is deprecated. Let's drop it. 2014-10-02 19:44:01 -07:00
Slava Kim
e0f8062c35 Bump the cordova-update
This version correctly serves Content-Type headers on iOS, so things like SVG
work.
2014-10-02 17:31:32 -07:00
Sashko Stubailo
c98e6d8afb Merge branch '0.9.4-pre.2' into devel
Conflicts:
	History.md
	packages/meteor-tool/package.js
	packages/minimongo/package.js
	packages/package-version-parser/package.js
	scripts/admin/banners.json
	scripts/admin/meteor-release-experimental.json
2014-10-02 16:04:13 -07:00
Slava Kim
0365d1230b Correctly url encode for HCP downloads 2014-10-02 15:24:06 -07:00
Justin SB
1abc78c6fe Merge branch 'cordova-datadir' into devel
Fixes for mobile HCP; save to datadir
2014-10-02 15:23:16 -07:00
Justin SB
976b1fcda1 Bump version of com.meteor.cordova-update for Android fix 2014-10-02 15:21:11 -07:00
Slava Kim
0e9150f374 bump the version of cordova-update 2014-10-02 14:59:55 -07:00
Slava Kim
aa8eed5b44 For mobile autoupdate wait for both events to happen:
(deviceready, DOMContentLoaded)
Use the fixed cordova-update
2014-10-02 13:52:00 -07:00
Slava Kim
f24904b66c Save HCP files into the dataDirectory from cordova.file plugin.
Rather than relying onto manual path manipulations.
2014-10-02 02:18:12 -07:00
Sashko Stubailo
e42e8f4b6d Bump meteor-tool version 2014-10-01 20:50:39 -07:00
Sashko Stubailo
d30ee0a69e Fix backcompat for isopack.json, try releasing again 2014-10-01 20:08:43 -07:00