Commit Graph

6428 Commits

Author SHA1 Message Date
Sashko Stubailo
acee5d0fcc Bump package versions 2015-03-27 10:37:27 -07:00
David Greenspan
3940b29d29 Fix "html scanner" tests when run in isolation
...and sometimes when running all tests, seemingly
2015-03-27 09:51:49 -07:00
David Greenspan
74adefb781 Avoid recursion when materializing DOM (Fix #3028)
This way we don't get a stack overflow when materializing nested
Views.  Certain browser/OS combinations seem to have particularly
low budgets (especially Firefox/Windows apparently).

Verified by running https://github.com/mxab/meteor-call-stack-exceed
on Chrome/Mac.  Nesting limit used to be about 160, but now you get
unlimited nesting (tried up to 10,000, which renders in about 7-8
seconds).

Tested for correctness by running all package tests.
2015-03-26 09:54:41 -07:00
David Greenspan
8c1334d9fc Replace DOMMaterializer visitor with a function
This already reduces stack usage, allowing deeper recursion,
but we'll see if we can reduce it even more.
2015-03-26 09:54:32 -07:00
Slava Kim
c9fd50d0f4 Merge branch 'tracker-errors' into release-1.1 2015-03-25 19:33:56 -07:00
Sashko Stubailo
fc92ea6858 Bump more versions 2015-03-25 16:21:39 -07:00
Sashko Stubailo
26c040179b Bump a bunch of versions to be the newest 2015-03-25 16:17:48 -07:00
Sashko Stubailo
4ff636c7df Merge branch 'master' into release-1.1
Conflicts:
	History.md
2015-03-25 16:07:42 -07:00
Sashko Stubailo
c3bded9928 Un-rc version numbers for 1.0.5 2015-03-25 13:56:03 -07:00
Avital Oliver
78c1ddb4b5 Use new version of npm-node-aes-gcm, which works on Windows 2015-03-24 20:22:25 -07:00
Avital Oliver
271356b16f Bump npm-node-aes-gcm version again.
NOW this version is actually built for Windows.
2015-03-24 20:21:25 -07:00
Avital Oliver
2bc1c412a6 Bump npm-node-aes-gcm again.
I published the previous wrapped version with 1.0.4.1
instead of 1.0.4. 1.0.4.1 hasn't been published for
Windows.
2015-03-24 16:46:57 -07:00
Avital Oliver
7fd1294654 New wrapped version of npm-node-aes-gcm
Since the previous version was built with 1.0.3.1,
which doesn't work on Windows -- we'll now
publish a new version with identical contents and
publish it with 1.0.4.
2015-03-24 16:36:25 -07:00
David Glasser
7219c1eb53 bump for 1.0.5-rc.0
Note: we are doing a minor bump facebook rather than a major bump, even
though this is arguably backward-incompatible. But it's only reflecting
a backwards-incompatible change to reality, and we expect the upgrader
text to do a better job of expressing compatibility concerns than the
version number. There's no reason to make Atmosphere packages that
depend on facebook republish, as they are unlikely to need any changes
anyway (mostly, apps may).
2015-03-23 18:00:03 -07:00
David Glasser
bedebc1987 Use the Facebook 2.2 Graph API instead of 1.0.
Facebook is making a change on April 30th: all users of the previous
unversioned Facebook API will automatically start using the 2.0 API, and
the 1.0 API will be unavailable.  By upgrading your Meteor to include
this commit, you will be able to start adapting your app to the post-1.0
world now rather than next month.

Full information about the changes to Facebook's APIs can be found at
https://developers.facebook.com/docs/apps/upgrading

If you only use Facebook integration for login via accounts-facebook,
and don't use users' access tokens to access the Facebook API on their
behalf, then the only changes you are likely to observe are:

- The `id` returned by Facebook for users who had not previously used
  your app will be an "app-scoped ID". You cannot use these to directly
  correlate users between multiple apps (without using the Business
  Mapping API).  This does not affect users who have already logged in
  to your app, so they will continue to be able to access your app.

- Meteor asks for the `email` permission by default, and copies the
  `email` field from the `/me` object into the `serviceData.facebook`
  field on `Meteor.user()`, along with other fields which only require
  the `public_profile` permission. With 2.0, users can decline to grant
  all permissions other than `public_profile`, which means that you
  might not get their `email` address. You can use the `/me/permissions`
  API to tell if permissions were declined.

Additionally, if you are accessing other Facebook APIs using the
`access_token` returned via login, you should be aware that some
permissions have changed in Facebook Graph API 2.0 and newer. Most
notably, many operations involving friends need permissions such as
`user_friends` to be explicitly requested now.  Users can decline any
permission (other than `public_profile`).  Apps which need permissions
other than `public_profile`, `email`, and `user_friends` may need to
pass through a review stage before being fully activated.

To change your app to request new permissions such as `user_friends`,
specify the `requestPermissions` option to
`Meteor.loginWithFacebook` (if you implemented your own login UI) or to
`Accounts.ui.config` (if you are using the `accounts-ui` package).

Note that while Meteor will now always use the v2.2 API to fetch the
access token, it does appear that the access token can still be used to
access pre-v2.2 APIs.  For example, you can still use the access token
to run FQL queries, even though FQL was removed in API v2.1.

Fixes #3123.
2015-03-23 14:57:53 -07:00
Sashko Stubailo
aab90ea7c2 Merge branch 'windows-preview-0.2.1' into release-1.1
Conflicts:
	History.md
	packages/accounts-password/package.js
	packages/autoupdate/package.js
	packages/constraint-solver/package.js
	packages/less/package.js
	packages/meteor-tool/package.js
	packages/minifiers/package.js
	packages/observe-sequence/package.js
	packages/package-version-parser/package-version-parser.js
	packages/package-version-parser/package.js
	packages/templating/package.js
	packages/tracker/package.js
	scripts/admin/meteor-release-experimental.json
	tools/selftest.js
2015-03-20 17:52:29 -07:00
David Glasser
87a0366352 Merge branch 'master' into devel for 1.0.4.2 2015-03-20 11:34:44 -07:00
David Glasser
9e2539bcd1 1.0.4.2 2015-03-20 11:13:06 -07:00
David Glasser
601f007922 Merge branch 'master' into devel 2015-03-18 00:56:51 -07:00
David Glasser
92ba69e860 1.0.4.1 2015-03-18 00:29:35 -07:00
David Greenspan
8ac310b9db Fix #3942
I don't know how to repro this for a test, but this pretty clearly
should fix the issue!  This is how the code should have been written
the first time.
2015-03-17 15:20:16 -07:00
David Glasser
44a4604c8d Document Meteor.loginWithX callback only for popup
Fixes #3917.
2015-03-17 14:45:22 -07:00
hwillson
cca2ef2354 Minor adjustments to add blaze and spacebars package references.
[stubailo: Some improvements before merging]
2015-03-17 13:55:44 -07:00
David Glasser
21bdac8734 Merge branch 'master' into devel
Conflicts:
	History.md
	packages/accounts-password/package.js
	packages/accounts-password/password_server.js
	packages/constraint-solver/package.js
	packages/meteor-tool/package.js
	packages/non-core/npm-bcrypt/package.js
	packages/package-version-parser/package-version-parser-tests.js
	packages/package-version-parser/package-version-parser.js
	packages/package-version-parser/package.js
	tools/selftest.js
2015-03-17 13:41:14 -07:00
David Glasser
4daaa76b12 METEOR@1.0.4 2015-03-17 13:06:07 -07:00
David Glasser
616649d492 1.0.4-rc.6 2015-03-17 12:22:32 -07:00
Sashko Stubailo
efdfe62331 Validate number of colons in package name on create
Instead of in the general package version parser
2015-03-17 10:56:33 -07:00
Slava Kim
a02f97c4b6 Improve logging through Meteor._debug in Tracker 2015-03-17 01:25:58 -07:00
Slava Kim
41dc9b4855 Add Tracker.autorun's onError tests 2015-03-17 00:58:14 -07:00
Slava Kim
1df8d15275 Put extra onError callback of Tracker.autorun to a named options object 2015-03-17 00:42:35 -07:00
Slava Kim
d6af3605ca Tweaks to error reporting in Tracker.
- Allow passing an onError callback to Tracker.autorun.
- Workaround the issue described in #3655 by logging parts of error message
  separately.
2015-03-17 00:37:58 -07:00
Slava Kim
9a29988016 Merge pull request #3937 from meteor/callbacks-docs
Better documentation for callbacks taking arguments
2015-03-17 07:21:11 +00:00
Slava Kim
b3e1c4d89a Docs: Put TrackerComputationFunction typedef to Tracker namespace 2015-03-17 00:20:32 -07:00
Rahul
55b8441df9 Correct typo 2015-03-16 16:16:04 -07:00
David Glasser
1d8e5f7a4e 1.0.4-rc.5 2015-03-16 12:31:50 -07:00
Slava Kim
dab2782434 Document a whole bunch of missing arguments/returns 2015-03-14 23:04:09 -07:00
David Greenspan
1b85b8205e Enable detailed profiling of the constraint solver
See the report using METEOR_PROFILE=1
2015-03-13 10:47:52 -07:00
David Greenspan
9f15f41482 Solve the "unknown var" problem more elegantly
The constraint-solver now uses the logic-solver in such a way that
accessing variables that weren't part of the problem statement will
never throw an error.  That way, we don't have to worry about
present and future cases where we don't generate any logical formulas
involving a package "foo" and then we say to minimize some weighted
sum over packages including "foo".
2015-03-13 06:37:06 -07:00
Avital Oliver
089ba7af63 bump meteor-tool version 2015-03-12 21:43:39 -07:00
Avital Oliver
01b938cb60 Bump versions for Windows 2015-03-12 21:38:26 -07:00
Sashko Stubailo
0b7e18e751 Bump accounts-pass 2015-03-12 20:22:39 -07:00
Sashko Stubailo
6515b412f6 Bump versions 2015-03-12 20:19:46 -07:00
Sashko Stubailo
8bff269206 Bump version of npm-bcrypt to publish on all platforms
Conflicts:
	packages/accounts-password/package.js
	packages/non-core/npm-bcrypt/package.js
2015-03-12 20:18:02 -07:00
Sashko Stubailo
c1b2e484b2 Bump version of npm-bcrypt to publish on all platforms 2015-03-12 20:12:49 -07:00
Sashko Stubailo
5db0628bba BHup 2015-03-12 19:38:20 -07:00
Sashko Stubailo
7b31048ec4 Bump tool 2015-03-12 19:32:33 -07:00
Sashko Stubailo
b2f0348b84 Bump tool 2015-03-12 18:51:16 -07:00
Sashko Stubailo
9a92d3166b Bump release 2015-03-12 18:45:55 -07:00
Sashko Stubailo
5bcc8414a0 Bump met-tool 2015-03-12 18:42:54 -07:00
Sashko Stubailo
4194378eb8 bump 2015-03-12 18:38:28 -07:00