mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Change capitalization of Meteor developer accounts
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
summary: "Login service for Meteor Developer Accounts",
|
||||
summary: "Login service for Meteor developer accounts",
|
||||
internal: true // XXX for now
|
||||
});
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ Template._loginButtonsLoggedOutSingleLoginButton.capitalizedName = function () {
|
||||
// XXX we should allow service packages to set their capitalized name
|
||||
return 'GitHub';
|
||||
else if (this.name === 'meteor-developer')
|
||||
return 'Meteor Developer Accounts';
|
||||
return 'Meteor developer accounts';
|
||||
else
|
||||
return capitalize(this.name);
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
MeteorDeveloperAccounts = {};
|
||||
|
||||
// Request Meteor Developer Accounts credentials for the user
|
||||
// Request Meteor developer account credentials for the user
|
||||
// @param credentialRequestCompleteCallback {Function} Callback function to call on
|
||||
// completion. Takes one argument, credentialToken on success, or Error on
|
||||
// error.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template name="configureLoginServiceDialogForMeteorDeveloper">
|
||||
<p>
|
||||
First, you'll need to get a Meteor Developer Accounts Client ID.
|
||||
First, you'll need to get a Meteor developer account Client ID.
|
||||
Follow these steps:
|
||||
</p>
|
||||
<ol>
|
||||
<li> Visit <a href="https://www.meteor.com/account-settings" target="_blank">https://www.meteor.com/account-settings</a> and sign in.
|
||||
</li>
|
||||
<li> Click "New app" in the "Meteor Developer Account apps" section
|
||||
<li> Click "New app" in the "Meteor developer account apps" section
|
||||
and give your app a name.</li>
|
||||
<li> Add
|
||||
<span class="url">
|
||||
|
||||
@@ -53,7 +53,7 @@ var getTokens = function (query) {
|
||||
} catch (err) {
|
||||
throw _.extend(
|
||||
new Error(
|
||||
"Failed to complete OAuth handshake with Meteor Developer Accounts. "
|
||||
"Failed to complete OAuth handshake with Meteor developer accounts. "
|
||||
+ err.message
|
||||
),
|
||||
{response: err.response}
|
||||
@@ -63,7 +63,7 @@ var getTokens = function (query) {
|
||||
if (! response.data || response.data.error) {
|
||||
// if the http response was a json object with an error attribute
|
||||
throw new Error(
|
||||
"Failed to complete OAuth handshake with Meteor Developer Accounts. " +
|
||||
"Failed to complete OAuth handshake with Meteor developer accounts. " +
|
||||
(response.data ? response.data.error :
|
||||
"No response data")
|
||||
);
|
||||
@@ -86,7 +86,7 @@ var getIdentity = function (accessToken) {
|
||||
).data;
|
||||
} catch (err) {
|
||||
throw _.extend(
|
||||
new Error("Failed to fetch identity from Meteor Developer Accounts. " +
|
||||
new Error("Failed to fetch identity from Meteor developer accounts. " +
|
||||
err.message),
|
||||
{response: err.response}
|
||||
);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
summary: "Meteor Developer Accounts OAuth flow"
|
||||
summary: "Meteor developer accounts OAuth flow"
|
||||
});
|
||||
|
||||
Package.on_use(function (api) {
|
||||
|
||||
@@ -979,7 +979,7 @@ main.registerCommand({
|
||||
// registration form
|
||||
process.stderr.write(
|
||||
"\nYou must be logged in to claim sites. Use 'meteor login' to log in.\n" +
|
||||
"If you don't have a Meteor Developer Account yet, you can quickly\n" +
|
||||
"If you don't have a Meteor developer account yet, you can quickly\n" +
|
||||
"create one at www.meteor.com.\n\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -307,7 +307,7 @@ var bundleAndDeploy = function (options) {
|
||||
process.stderr.write(
|
||||
"\nThis site was deployed with an old version of Meteor that used\n" +
|
||||
"site passwords instead of user accounts. Now we have a much better\n" +
|
||||
"system, Meteor Developer Accounts.\n\n" +
|
||||
"system, Meteor developer accounts.\n\n" +
|
||||
"If this is your site, please claim it into your account with\n" +
|
||||
"'meteor claim " + options.site + "'.\n" +
|
||||
"If it's not your site, please try a different name!\n\n");
|
||||
@@ -591,7 +591,7 @@ var claim = function (site) {
|
||||
auth.registrationUrl()) {
|
||||
process.stderr.write(
|
||||
"\nBefore you can claim existing sites, you need to set a password on\n" +
|
||||
"your Meteor Developer Account. You can do that here in under a minute:\n\n" +
|
||||
"your Meteor developer account. You can do that here in under a minute:\n\n" +
|
||||
auth.registrationUrl() + "\n\n");
|
||||
} else {
|
||||
process.stderr.write("Couldn't claim site: " +
|
||||
|
||||
Reference in New Issue
Block a user