Commit Graph

13525 Commits

Author SHA1 Message Date
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).
release/METEOR@1.0.5-rc.0
2015-03-23 18:00:03 -07:00
David Glasser
4506fc3f93 History update for 1.0.5 2015-03-23 14:59:28 -07:00
David Glasser
ab2e629239 Upgrader for Facebook API change. 2015-03-23 14:57:54 -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
David Glasser
3a4a3273d0 Merge branch 'release-1.0.4.2' 2015-03-20 11:33:27 -07:00
David Glasser
c8c9f8dc60 Update docs and examples to 1.0.4.2 2015-03-20 11:32:45 -07:00
David Glasser
f9579beab4 banner update 2015-03-20 11:30:00 -07:00
David Glasser
9e2539bcd1 1.0.4.2 release/METEOR@1.0.4.2 2015-03-20 11:13:06 -07:00
David Glasser
aa2867b3ea Clean up Cordova app IDs a bit
Starting with cordova-lib 4.2.0 (shipped with Meteor 1.0.4) the cordova
create command checks that app IDs look like Java namespaces.  Clean up
the most obvious ways that our generated app IDs won't look like Java
namespaces (most notably hyphens).

This isn't perfect (eg we don't check for leading digits or
consecutive/leading/trailing dots, or for Java reserved words).  This
check is implemented by the valid-identifier NPM package.

While we're at it, put app ids under `com.meteor.userapps` so that there
are other parts of `com.meteor` available for potential MDG Java work.

Fixes #3950.
2015-03-20 11:11:44 -07:00
Nick Martin
1f2b600735 Remove force-ssl from docs. It does not get along well with appcache. #3965. 2015-03-18 22:16:30 -07:00
Nick Martin
4c369c6a56 Revert "Temporarily disable appcache and force-ssl while we figure out how to make them work right together."
This reverts commit d6dea52ce6.
2015-03-18 21:54:08 -07:00
David Glasser
c775e1e445 Merge branch 'release-1.0.4.1' 2015-03-18 00:54:08 -07:00
David Glasser
865fdce33c Update docs and examples for 1.0.4.1 2015-03-18 00:53:26 -07:00
David Glasser
d75e70b0d6 Merge release-1.0.4 into release-1.0.4.1 2015-03-18 00:52:10 -07:00
David Glasser
722242dd89 banner spacing 2015-03-18 00:48:06 -07:00
David Glasser
2f1ee9f9fb banners for 1.0.4.1 2015-03-18 00:35:23 -07:00
David Glasser
92ba69e860 1.0.4.1 release/METEOR@1.0.4.1 2015-03-18 00:29:35 -07:00
Avital Oliver
e95cc58031 Fix publish-for-arch in Windows
We recently changed the package tarball structure to use
colonConverter in package-client.js but not in
commands-package.js
2015-03-18 00:26:38 -07:00
Nick Martin
d6dea52ce6 Temporarily disable appcache and force-ssl while we figure out how to make them work right together. 2015-03-17 13:55:09 -07:00
David Glasser
8ea5618c53 Merge branch 'release-1.0.4' 2015-03-17 13:34:37 -07:00
David Glasser
7bf8665163 fix banner spacing 2015-03-17 13:33:27 -07:00
David Glasser
e84f5d7c74 Update docs and examples to 1.0.4 2015-03-17 13:31:29 -07:00
David Glasser
4daaa76b12 METEOR@1.0.4 release/METEOR@1.0.4 2015-03-17 13:06:07 -07:00
David Glasser
765aef5e35 Stamp History with date 2015-03-17 13:01:56 -07:00
David Glasser
bc4392ed54 History update 2015-03-17 13:01:43 -07:00
David Glasser
616649d492 1.0.4-rc.6 release/METEOR@1.0.4-rc.6 2015-03-17 12:22:32 -07:00
David Glasser
ff8b47abb0 Banner update 2015-03-17 12:17:28 -07:00
David Glasser
8409919bb6 actually fail on package creation error 2015-03-17 12:14:16 -07:00
David Glasser
1717573f01 License update for 1.0.4. 2015-03-17 12:06:10 -07:00
David Glasser
cfb21f43e5 Move third-party licenses into subdirectory
This should make them easier to update.
2015-03-17 11:18:57 -07:00
Sashko Stubailo
ebe7c1a08b Merge pull request #3947 from meteor/colons-validation
Validate number of colons in package name on create
2015-03-17 11:08:27 -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
David Glasser
04228e06c0 Update contributors list 2015-03-17 10:28:32 -07:00
David Glasser
1d8e5f7a4e 1.0.4-rc.5 release/METEOR@1.0.4-rc.5 2015-03-16 12:31:50 -07:00
David Glasser
d591a288e1 Fix Android emulator access
Also fix odd use of `false` where everything else used `true`.
2015-03-13 18:49:30 -07:00
David Glasser
d770d81399 1.0.4-rc.4 release/METEOR@1.0.4-rc.4 2015-03-12 18:03:11 -07:00
Sashko Stubailo
c6ea68f9b3 Make meteor create --package not use prefix
It used to create a directory with an underscore instead of a colon
Now, it just removes the prefix.

In cases where the name of the package has more than one colon or starts or ends
witha colon, we report an error.
2015-03-12 17:57:27 -07:00
Sashko Stubailo
b652770229 Fix the example to use self instead of this 2015-03-11 16:30:57 -07:00
David Glasser
aca23adb70 Update docs for 1.0.4-rc.3 2015-03-11 15:54:44 -07:00
Sashko Stubailo
50de6f59f7 Add another example for TemplateInstance#subscribe 2015-03-11 10:30:54 -07:00
David Glasser
51b38a5a45 Test for Accounts.setPassword(u, p, {logout: false}) 2015-03-11 00:00:08 -07:00
David Glasser
1b779a7545 Style improvements to Accounts.setPassword(u, p, {logout: false}) 2015-03-10 23:55:13 -07:00
David Glasser
7ffc3a44b0 1.0.4-rc.3 release/METEOR@1.0.4-rc.3 2015-03-10 22:00:24 -07:00
David Glasser
031237573a Work around a cordova bug
Fixes #3914.  Fixes self-test 'add cordova plugins'.
2015-03-10 21:48:20 -07:00
David Glasser
52d500e123 Delete "sync local catalog" test
It's been auto-failing for many months. If somebody wants to fix it,
feel free to revert this and fix it, but there's no reason to just
entirely stop self-test --slow from having any hope of passing forever.
2015-03-10 20:54:22 -07:00
David Glasser
dc5573332f Remove upgraded lines for reverted commit 2015-03-10 17:31:19 -07:00
David Glasser
55e006dbf1 Remove redundant header 2015-03-10 17:14:43 -07:00
hwillson
7d9afa31b7 Added missing meteor debug content. 2015-03-10 15:27:01 -07:00
David Greenspan
070ca69f9a Validate package names more strictly
In particular, ban leading `-`, trailing `.`, and `..` anywhere.

This backport commit drops the changes to constraint-solver and adds a
History.md note.
2015-03-10 15:20:36 -07:00
David Glasser
891a9c3893 1.0.4-rc.2 release/METEOR@1.0.4-rc.2 2015-03-10 11:49:25 -07:00