Merge branch 'master' into release-0.9.2

Includes latest 0.9.1 changes

Conflicts:
	examples/leaderboard/.meteor/versions
	examples/parties/.meteor/versions
	examples/todos/.meteor/versions
	packages/accounts-base/package.js
	packages/accounts-ui-unstyled/package.js
	packages/autoupdate/package.js
	packages/constraint-solver/package.js
	packages/facebook/package.js
	packages/github/package.js
	packages/google/package.js
	packages/http/package.js
	packages/less/package.js
	packages/meetup/package.js
	packages/meteor-developer/package.js
	packages/meteor-platform/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	packages/minimongo/package.js
	packages/oauth/package.js
	packages/oauth1/package.js
	packages/reload/package.js
	packages/templating/package.js
	packages/twitter/package.js
	packages/webapp/package.js
	packages/weibo/package.js
	scripts/admin/meteor-release-experimental.json
	tools/help.txt
	tools/tests/apps/hot-code-push-test/.meteor/versions
This commit is contained in:
Slava Kim
2014-09-05 11:28:12 -07:00
65 changed files with 5757 additions and 154 deletions

View File

@@ -1,6 +1,84 @@
## v.NEXT
* Allow query parameters in OAuth1 URLs.
## v0.9.1
#### Organizations in Meteor developer accounts
Meteor 0.9.1 ships with organizations support in Meteor developer
accounts. Organizations are teams of users that make it easy to
collaborate on apps and packages.
Create an organization at
https://www.meteor.com/account-settings/organizations. Run the `meteor
authorized` command in your terminal to give an organization
permissions to your apps. To add an organization as a maintainer of
your packages, use the `meteor admin maintainers` command. You can
also publish packages with an organization's name in the package name
prefix instead of your own username.
#### One backwards incompatible change for templates
* Templates can no longer be named "body" or "instance".
#### Backwards compatible Blaze API changes
* New public and documented APIs:
* `Blaze.toHTMLWithData()`
* `Template.currentData()`
* `Blaze.getView()`
* `Template.parentData()` (previously `UI._parentData()`)
* `Template.instance()` (previously `UI._templateInstance()`)
* `Template.body` (previously `UI.body`)
* `new Template` (previously `Template.__create__`)
* `Blaze.getData()` (previously `UI.getElementData`)
* Deprecate the `ui` package. Instead, use the `blaze` package. The
`UI` and `Blaze` symbols are now the same.
* Deprecate `UI.insert`. `UI.render` and `UI.renderWithData` now
render a template and place it in the DOM.
* Add an underscore to some undocumented Blaze APIs to make them
internal. Notably: `Blaze._materializeView`, `Blaze._createView`,
`Blaze._toText`, `Blaze._destroyView`, `Blaze._destroyNode`,
`Blaze._withCurrentView`, `Blaze._DOMBackend`,
`Blaze._TemplateWith`
* Document Views. Views are the machinery powering DOM updates in
Blaze.
* Expose `view` property on template instances.
#### Backwards compatible renames
* Package renames
* `livedata` -> `ddp`
* `mongo-livedata` -> `mongo`
* `standard-app-packages` -> `meteor-platform`
* Symbol renames
* `Meteor.Collection` -> `Mongo.Collection`
* `Meteor.Collection.Cursor` -> `Mongo.Cursor`
* `Meteor.Collection.ObjectID` -> `Mongo.ObjectID`
* `Deps` -> `Tracker`
#### Other
* Add `reactive-var` package. Lets you define a single reactive
variable, like a single key in `Session`.
* Don't throw an exception in Chrome when cookies and local storage
are blocked.
* Bump DDP version to "1". Clients connecting with version "pre1" or
"pre2" should still work.
* Allow query parameters in OAuth1 URLs. #2404
* Fix `meteor list` if not all packages on server. Fixes #2468
Patch by Github user mitar.
## v0.9.0.1

View File

@@ -2785,3 +2785,379 @@ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
----------
jsdoc: https://github.com/jsdoc3/jsdoc
----------
# License #
JSDoc 3 is free software, licensed under the Apache License, Version 2.0 (the
"License"). Commercial and non-commercial use are permitted in compliance with
the License.
Copyright (c) 2011-2014 Michael Mathews <micmath@gmail.com> and the
[contributors to JSDoc](https://github.com/jsdoc3/jsdoc/graphs/contributors).
All rights reserved.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
In addition, a copy of the License is included with this distribution.
As stated in Section 7, "Disclaimer of Warranty," of the License:
> Licensor provides the Work (and each Contributor provides its Contributions)
> on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
> express or implied, including, without limitation, any warranties or
> conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
> PARTICULAR PURPOSE. You are solely responsible for determining the
> appropriateness of using or redistributing the Work and assume any risks
> associated with Your exercise of permissions under this License.
The source code for JSDoc 3 is available at:
https://github.com/jsdoc3/jsdoc
# Third-Party Software #
JSDoc 3 includes or depends upon the following third-party software, either in
whole or in part. Each third-party software package is provided under its own
license.
## MIT License ##
Several of the following software packages are distributed under the MIT
license, which is reproduced below:
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
## Acorn ##
Portions of the Acorn source code are incorporated into the following files:
- `lib/jsdoc/src/walker.js`
Acorn is distributed under the MIT license, which is reproduced above.
Copyright (C) 2012 Marijn Haverbeke <marijnh@gmail.com>.
The source code for Acorn is available at:
https://github.com/marijnh/acorn
## Async.js ##
Async.js is distributed under the MIT license, which is reproduced above.
Copyright (c) 2010 Caolan McMahon.
The source code for Async.js is available at:
https://github.com/caolan/async
## Catharsis ##
Catharsis is distributed under the MIT license, which is reproduced above.
Copyright (c) 2012-2014 Jeff Williams.
The source code for Catharsis is available at:
https://github.com/hegemonic/catharsis
## crypto-browserify ##
crypto-browserify is distributed under the MIT license, which is reproduced
above.
Copyright (c) 2013 Dominic Tarr.
The source code for crypto-browserify is available at:
https://github.com/dominictarr/crypto-browserify
## escape-string-regexp ##
escape-string-regexp is distributed under the MIT License, which is reproduced
above.
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com>.
The source code for escape-string-regexp is available at:
https://github.com/sindresorhus/escape-string-regexp
## Esprima ##
Esprima is distributed under the BSD 2-clause license:
> Redistribution and use in source and binary forms, with or without
> modification, are permitted provided that the following conditions are met:
>
> - Redistributions of source code must retain the above copyright notice,
> this list of conditions and the following disclaimer.
> - Redistributions in binary form must reproduce the above copyright notice,
> this list of conditions and the following disclaimer in the documentation
> and/or other materials provided with the distribution.
>
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
> DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
> (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
> LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
> ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
> THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright (c) 2011-2013 Ariya Hidayat and other Esprima contributors.
The source code for Esprima is available at:
https://github.com/ariya/esprima
## events ##
Portions of the events source code are incorporated into the following files:
+ `rhino/events.js`
events is distributed under the MIT license, which is reproduced above.
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
The source code for events is available at:
https://github.com/Gozala/events
## github-flavored-markdown ##
github-flavored-markdown is distributed under the BSD 3-clause license:
> Copyright (c) 2007, John Fraser <http://www.attacklab.net/> All rights
> reserved.
>
> Original Markdown copyright (c) 2004, John Gruber <http://daringfireball.net/>
> All rights reserved.
>
> Redistribution and use in source and binary forms, with or without
> modification, are permitted provided that the following conditions are met:
>
> - Redistributions of source code must retain the above copyright notice,
> this list of conditions and the following disclaimer.
>
> - Redistributions in binary form must reproduce the above copyright notice,
> this list of conditions and the following disclaimer in the documentation
> and/or other materials provided with the distribution.
> - Neither the name "Markdown" nor the names of its contributors may be used
> to endorse or promote products derived from this software without specific
> prior written permission.
>
> This software is provided by the copyright holders and contributors "as is"
> and any express or implied warranties, including, but not limited to, the
> implied warranties of merchantability and fitness for a particular purpose are
> disclaimed. In no event shall the copyright owner or contributors be liable
> for any direct, indirect, incidental, special, exemplary, or consequential
> damages (including, but not limited to, procurement of substitute goods or
> services; loss of use, data, or profits; or business interruption) however
> caused and on any theory of liability, whether in contract, strict liability,
> or tort (including negligence or otherwise) arising in any way out of the use
> of this software, even if advised of the possibility of such damage.
The source code for github-flavored-markdown is available at:
https://github.com/hegemonic/github-flavored-markdown
## Google Code Prettify ##
Google Code Prettify is distributed under the Apache License 2.0, which is
included with this package.
Copyright (c) 2006 Google Inc.
The source code for Google Code Prettify is available at:
https://code.google.com/p/google-code-prettify/
## Jasmine ##
Jasmine is distributed under the MIT license, which is reproduced above.
Copyright (c) 2008-2011 Pivotal Labs.
The source code for Jasmine is available at:
https://github.com/pivotal/jasmine
## jasmine-node ##
jasmine-node is distributed under the MIT license, which is reproduced above.
Copyright (c) 2010 Adam Abrons and Misko Hevery (http://getangular.com).
The source code for jasmine-node is available at:
https://github.com/mhevery/jasmine-node
## js2xmlparser ##
js2xmlparser is distributed under the MIT license, which is reproduced above.
Copyright (c) 2012 Michael Kourlas.
The source code for js2xmlparser is available at:
https://github.com/michaelkourlas/node-js2xmlparser
## Node.js ##
Portions of the Node.js source code are incorporated into the following files:
- `rhino/fs.js`
- `rhino/path.js`
- `rhino/querystring.js`
- `rhino/util.js`
Node.js is distributed under the MIT license, which is reproduced above.
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
The source code for Node.js is available at:
https://github.com/joyent/node
## node-browser-builtins ##
Portions of the node-browser-builtins source code are incorporated into the
following files:
- `rhino/assert.js`
- `rhino/rhino-shim.js`
node-browser-builtins is distributed under the MIT license, which is reproduced
above.
The source code for node-browser-builtins is available at:
https://github.com/alexgorbatchev/node-browser-builtins
## Requizzle ##
Requizzle is distributed under the MIT license, which is reproduced above.
Copyright (c) 2014 Google Inc. All rights reserved.
Copyright (c) 2012-2013 Johannes Ewald.
The source code for Requizzle is available at:
https://github.com/hegemonic/requizzle
## Rhino ##
Rhino is distributed under the following licenses:
### MPL 2.0 License ###
The majority of the source code for Rhino is available under the Mozilla Public
License (MPL) 2.0, which is included in this distribution.
### License for portions of the Rhino debugger ###
Additionally, some files are available under the BSD 3-clause license:
> Copyright 1997, 1998 Sun Microsystems, Inc. All Rights Reserved.
>
> Redistribution and use in source and binary forms, with or without
> modification, are permitted provided that the following conditions are met:
>
> - Redistributions of source code must retain the above copyright notice,
> this list of conditions and the following disclaimer.
> - Redistributions in binary form must reproduce the above copyright
> notice, this list of conditions and the following disclaimer in the
> documentation and/or other materials provided with the distribution.
> - Neither the name of Sun Microsystems nor the names of its contributors
> may be used to endorse or promote products derived from this software
> without specific prior written permission.
>
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
> DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
> SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
> CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
> OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
### Source Code ###
The source code for Rhino is available at:
https://github.com/jsdoc3/rhino
## TaffyDB ##
TaffyDB is distributed under a modified BSD license:
> All rights reserved.
>
> Redistribution and use of this software in source and binary forms, with or
> without modification, are permitted provided that the following condition is
> met:
>
> Redistributions of source code must retain the above copyright notice, this
> list of conditions and the following disclaimer.
>
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
> LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> POSSIBILITY OF SUCH DAMAGE.
The source code for TaffyDB is available at:
https://github.com/hegemonic/taffydb
## Tomorrow Theme for Google Code Prettify ##
License information for the Tomorrow Theme for Google Code Prettify is not
available. It is assumed that the package is distributed under an open source
license that is compatible with the Apache License 2.0.
Copyright (c) Yoshihide Jimbo.
The source code for the Tomorrow Theme is available at:
https://github.com/jmblog/color-themes-for-google-code-prettify
## tv4 ##
tv4 is in the public domain. It is also distributed under the MIT license, which
is reproduced above.
The source code for tv4 is available at:
https://github.com/geraintluff/tv4
## Underscore.js ##
Underscore.js is distributed under the MIT license, which is reproduced above.
Copyright (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative
Reporters & Editors.
The source code for Underscore.js is available at:
https://github.com/jashkenas/underscore
## wrench-js ##
wrench-js is distributed under the MIT license, which is reproduced above.
Copyright (c) 2010 Ryan McGrath.
The source code for wrench-js is available at:
https://github.com/ryanmcgrath/wrench-js

View File

@@ -3,3 +3,4 @@
# with your project.
notices-for-0.9.0
notices-for-0.9.1

View File

@@ -1 +1 @@
METEOR@0.9.1-rc2
METEOR@0.9.1

View File

@@ -1,18 +1,18 @@
appcache@1.0.0
application-configuration@1.0.0
autoupdate@1.0.6-rc0
application-configuration@1.0.1
autoupdate@1.0.6
binary-heap@1.0.0
blaze-tools@1.0.0
blaze@2.0.0-rc0
blaze@2.0.0
callback-hook@1.0.0
check@1.0.0
code-prettify@1.0.0
coffeescript@1.0.2
ctl-helper@1.0.2
ctl@1.0.0
ddp@1.0.7
ejson@1.0.1-rc0
follower-livedata@1.0.0
ctl-helper@1.0.3
ctl@1.0.1
ddp@1.0.8
ejson@1.0.1
follower-livedata@1.0.1
geojson-utils@1.0.0
html-tools@1.0.0
htmljs@1.0.0
@@ -20,29 +20,29 @@ id-map@1.0.0
jquery-waypoints@1.0.0
jquery@1.0.0
json@1.0.0
less@1.0.7-rc0
less@1.0.7
logging@1.0.2
meteor-platform@1.0.1-rc0
meteor@1.0.3-rc0
meteor-platform@1.0.1
meteor@1.0.3
minifiers@1.0.2
minimongo@1.0.2-rc0
mongo@1.0.3
observe-sequence@1.0.2-rc0
minimongo@1.0.2
mongo@1.0.4
observe-sequence@1.0.2
ordered-dict@1.0.0
random@1.0.0
reactive-dict@1.0.1-rc0
reactive-var@1.0.1-rc0
reactive-dict@1.0.1
reactive-var@1.0.1
reload-safetybelt@1.0.0
reload@1.0.0
reload@1.0.1
retry@1.0.0
routepolicy@1.0.0
session@1.0.1-rc0
showdown@1.0.1-rc0
spacebars-compiler@1.0.2-rc0
spacebars@1.0.1-rc0
spiderable@1.0.3-rc0
standard-app-packages@1.0.1-rc0
templating@1.0.5-rc0
tracker@1.0.2-rc1
session@1.0.1
showdown@1.0.1
spacebars-compiler@1.0.2
spacebars@1.0.1
spiderable@1.0.3
standard-app-packages@1.0.1
templating@1.0.5
tracker@1.0.2
underscore@1.0.0
webapp@1.0.3-rc0
webapp@1.0.3

View File

@@ -1,5 +1,5 @@
Template.headline.release = function () {
return Meteor.release ? "0.9.1-rc2" : "(checkout)";
return Meteor.release ? "0.9.1" : "(checkout)";
};
Meteor.startup(function () {

View File

@@ -0,0 +1,2 @@
.build
.build*

View File

@@ -0,0 +1,200 @@
var Future = Npm.require("fibers/future");
AppConfig = {};
AppConfig.findGalaxy = _.once(function () {
if (!('GALAXY' in process.env || 'ULTRAWORLD_DDP_ENDPOINT' in process.env)) {
return null;
}
return Follower.connect(process.env.ULTRAWORLD_DDP_ENDPOINT || process.env.GALAXY);
});
var ultra = AppConfig.findGalaxy();
var subFuture = new Future();
var subFutureJobs = new Future();
if (ultra) {
ultra.subscribe("oneApp", process.env.GALAXY_APP, subFuture.resolver());
ultra.subscribe("oneJob", process.env.GALAXY_JOB, subFutureJobs.resolver());
}
var Apps;
var Jobs;
var Services;
var collectionFuture = new Future();
Meteor.startup(function () {
var Mongo = Package.mongo.Mongo;
if (ultra) {
Apps = new Mongo.Collection("apps", {
connection: ultra
});
Jobs = new Mongo.Collection("jobs", {
connection: ultra
});
Services = new Mongo.Collection('services', {
connection: ultra
});
// allow us to block on the collections being ready
collectionFuture.return();
}
});
// XXX: Remove this once we allow the same collection to be new'd from multiple
// places.
AppConfig._getAppCollection = function () {
collectionFuture.wait();
return Apps;
};
AppConfig._getJobsCollection = function () {
collectionFuture.wait();
return Jobs;
};
var staticAppConfig;
try {
if (process.env.APP_CONFIG) {
staticAppConfig = JSON.parse(process.env.APP_CONFIG);
} else {
var settings;
try {
if (process.env.METEOR_SETTINGS) {
settings = JSON.parse(process.env.METEOR_SETTINGS);
}
} catch (e) {
Log.warn("Could not parse METEOR_SETTINGS as JSON");
}
staticAppConfig = {
settings: settings,
packages: {
'mongo-livedata': {
url: process.env.MONGO_URL,
oplog: process.env.MONGO_OPLOG_URL
}
}
};
}
} catch (e) {
Log.warn("Could not parse initial APP_CONFIG environment variable");
};
AppConfig.getAppConfig = function () {
if (!subFuture.isResolved() && staticAppConfig) {
return staticAppConfig;
}
subFuture.wait();
var myApp = Apps.findOne(process.env.GALAXY_APP);
if (!myApp) {
throw new Error("there is no app config for this app");
}
var config = myApp.config;
return config;
};
AppConfig.getStarForThisJob = function () {
if (ultra) {
subFutureJobs.wait();
var job = Jobs.findOne(process.env.GALAXY_JOB);
if (job) {
return job.star;
}
}
return null;
};
AppConfig.configurePackage = function (packageName, configure) {
var appConfig = AppConfig.getAppConfig(); // Will either be based in the env var,
// or wait for galaxy to connect.
var lastConfig =
(appConfig && appConfig.packages &&
appConfig.packages[packageName]) || {};
// Always call the configure callback "soon" even if the initial configuration
// is empty (synchronously, though deferred would be OK).
// XXX make sure that all callers of configurePackage deal well with multiple
// callback invocations! eg, email does not
configure(lastConfig);
var configureIfDifferent = function (app) {
if (!EJSON.equals(
app.config && app.config.packages && app.config.packages[packageName],
lastConfig)) {
lastConfig = app.config.packages[packageName];
configure(lastConfig);
}
};
var subHandle;
var observed = new Future();
// This is not required to finish, so defer it so it doesn't block anything
// else.
Meteor.defer( function () {
// there's a Meteor.startup() that produces the various collections, make
// sure it runs first before we continue.
collectionFuture.wait();
subHandle = Apps.find(process.env.GALAXY_APP).observe({
added: configureIfDifferent,
changed: configureIfDifferent
});
observed.return();
});
return {
stop: function () {
observed.wait();
subHandle.stop();
}
};
};
AppConfig.configureService = function (serviceName, version, configure) {
// Collect all the endpoints for this service, from both old- and new-format
// documents, and call the `configure` callback with all the service endpoints
// that we know about.
var callConfigure = function (doc) {
var serviceDocs = Services.find({
name: serviceName,
version: version
});
var endpoints = [];
serviceDocs.forEach(function (serviceDoc) {
if (serviceDoc.providers) {
_.each(serviceDoc.providers, function (endpoint, app) {
endpoints.push(endpoint);
});
} else {
endpoints.push(serviceDoc.endpoint);
}
});
configure(endpoints);
};
if (ultra) {
// there's a Meteor.startup() that produces the various collections, make
// sure it runs first before we continue.
collectionFuture.wait();
// First try to subscribe to the new format service registrations; if that
// sub doesn't exist, then ultraworld hasn't updated to the new format yet,
// so try the old format `servicesByName` sub instead.
ultra.subscribe('services', serviceName, version, {
onError: function (err) {
if (err.error === 404) {
ultra.subscribe('servicesByName', serviceName);
}
}
});
return Services.find({
name: serviceName,
version: version
}).observe({
added: callConfigure,
changed: callConfigure,
removed: callConfigure
});
}
};

View File

@@ -0,0 +1,11 @@
Package.describe({
summary: "Interaction with the configuration sources for your apps",
version: '1.0.1'
});
Package.on_use(function (api) {
api.use(['logging', 'underscore', 'ddp', 'ejson', 'follower-livedata']);
api.use('mongo', {unordered: true});
api.add_files(['config.js'], 'server');
api.export('AppConfig', 'server');
});

View File

@@ -0,0 +1,71 @@
{
"dependencies": [
[
"callback-hook",
"1.0.0"
],
[
"check",
"1.0.0"
],
[
"ddp",
"1.0.8"
],
[
"ejson",
"1.0.1"
],
[
"follower-livedata",
"1.0.1"
],
[
"geojson-utils",
"1.0.0"
],
[
"id-map",
"1.0.0"
],
[
"json",
"1.0.0"
],
[
"logging",
"1.0.2"
],
[
"meteor",
"1.0.3"
],
[
"minimongo",
"1.0.2"
],
[
"ordered-dict",
"1.0.0"
],
[
"random",
"1.0.0"
],
[
"retry",
"1.0.0"
],
[
"tracker",
"1.0.2"
],
[
"underscore",
"1.0.0"
]
],
"pluginDependencies": [],
"toolVersion": "meteor-tool@1.0.27",
"format": "1.0"
}

View File

@@ -3,3 +3,4 @@
# with your project.
notices-for-0.9.0
notices-for-0.9.1

View File

@@ -1 +1 @@
METEOR@0.9.0.1
METEOR@0.9.1

View File

@@ -1,16 +1,16 @@
application-configuration@1.0.0
application-configuration@1.0.1
autopublish@1.0.0
autoupdate@1.0.5
autoupdate@1.0.6
binary-heap@1.0.0
blaze-tools@1.0.0
blaze@1.0.3
blaze@2.0.0
callback-hook@1.0.0
check@1.0.0
ctl-helper@1.0.2
ctl@1.0.0
deps@1.0.1
ejson@1.0.0
follower-livedata@1.0.0
ctl-helper@1.0.3
ctl@1.0.1
ddp@1.0.8
ejson@1.0.1
follower-livedata@1.0.1
geojson-utils@1.0.0
html-tools@1.0.0
htmljs@1.0.0
@@ -18,24 +18,25 @@ id-map@1.0.0
insecure@1.0.0
jquery@1.0.0
json@1.0.0
livedata@1.0.7
logging@1.0.2
meteor@1.0.2
meteor-platform@1.0.1
meteor@1.0.3
minifiers@1.0.2
minimongo@1.0.1
mongo-livedata@1.0.3
observe-sequence@1.0.1
minimongo@1.0.2
mongo@1.0.4
observe-sequence@1.0.2
ordered-dict@1.0.0
random@1.0.0
reactive-dict@1.0.0
reload@1.0.0
reactive-dict@1.0.1
reactive-var@1.0.1
reload@1.0.1
retry@1.0.0
routepolicy@1.0.0
session@1.0.0
spacebars-compiler@1.0.1
spacebars@1.0.0
standard-app-packages@1.0.0
templating@1.0.4
ui@1.0.0
session@1.0.1
spacebars-compiler@1.0.2
spacebars@1.0.1
standard-app-packages@1.0.1
templating@1.0.5
tracker@1.0.2
underscore@1.0.0
webapp@1.0.2
webapp@1.0.3

View File

@@ -3,3 +3,4 @@
# with your project.
notices-for-0.9.0
notices-for-0.9.1

View File

@@ -1 +1 @@
METEOR@0.9.0.1
METEOR@0.9.1

View File

@@ -1,4 +1,4 @@
application-configuration@1.0.0
application-configuration@1.0.1
autopublish@1.0.0
autoupdate@1.0.7-cordova6
binary-heap@1.0.0

View File

@@ -3,3 +3,4 @@
# with your project.
notices-for-0.9.0
notices-for-0.9.1

View File

@@ -1 +1 @@
METEOR@0.9.0.1
METEOR@0.9.1

View File

@@ -3,3 +3,4 @@
# with your project.
notices-for-0.9.0
notices-for-0.9.1

View File

@@ -1 +1 @@
METEOR@0.9.0.1
METEOR@0.9.1

View File

@@ -22,30 +22,26 @@ id-map@1.0.0
insecure@1.0.0
jquery@1.0.0
json@1.0.0
logging@1.0.2-cordova2
meteor-platform@1.1.0-rc0
meteor@1.1.0-rc0
minifiers@1.1.0-rc0
minimongo@1.0.2-rc2
mobile-status-bar@1.0.0-cordova2
mongo@1.0.4-rc0
observe-sequence@1.0.2-rc0
logging@1.0.2
meteor-platform@1.0.1
meteor@1.0.3
minifiers@1.0.2
minimongo@1.0.2
mongo@1.0.4
observe-sequence@1.0.2
ordered-dict@1.0.0
random@1.0.0
reactive-dict@1.0.1-rc1
reactive-var@1.0.1-rc0
reload@1.1.0-rc1
reactive-dict@1.0.1
reactive-var@1.0.1
reload@1.0.1
retry@1.0.0
routepolicy@1.0.0-cordova1
session@1.0.1-rc0
spacebars-compiler@1.0.2-rc0
spacebars@1.0.1-rc1
spiderable@1.0.3-rc0
standard-app-packages@1.0.1-rc0
templating@1.0.6-rc0
tracker@1.0.2-rc1
ui@1.0.1-rc0
routepolicy@1.0.0
session@1.0.1
spacebars-compiler@1.0.2
spacebars@1.0.1
spiderable@1.0.3
standard-app-packages@1.0.1
templating@1.0.5
tracker@1.0.2
underscore@1.0.0
url@1.0.0-rc0
webapp-hashing@1.0.0-cordova1
webapp@1.1.0-rc1
webapp@1.0.3

View File

@@ -3,3 +3,4 @@
# with your project.
notices-for-0.9.0
notices-for-0.9.1

View File

@@ -1 +1 @@
METEOR@0.9.0.1
METEOR@0.9.1

View File

@@ -1,15 +1,15 @@
application-configuration@1.0.0
autoupdate@1.0.5
application-configuration@1.0.1
autoupdate@1.0.6
binary-heap@1.0.0
blaze-tools@1.0.0
blaze@1.0.3
blaze@2.0.0
callback-hook@1.0.0
check@1.0.0
ctl-helper@1.0.2
ctl@1.0.0
deps@1.0.1
ejson@1.0.0
follower-livedata@1.0.0
ctl-helper@1.0.3
ctl@1.0.1
ddp@1.0.8
ejson@1.0.1
follower-livedata@1.0.1
geojson-utils@1.0.0
html-tools@1.0.0
htmljs@1.0.0
@@ -17,24 +17,25 @@ id-map@1.0.0
insecure@1.0.0
jquery@1.0.0
json@1.0.0
livedata@1.0.7
logging@1.0.2
meteor@1.0.2
meteor-platform@1.0.1
meteor@1.0.3
minifiers@1.0.2
minimongo@1.0.1
mongo-livedata@1.0.3
observe-sequence@1.0.1
minimongo@1.0.2
mongo@1.0.4
observe-sequence@1.0.2
ordered-dict@1.0.0
random@1.0.0
reactive-dict@1.0.0
reload@1.0.0
reactive-dict@1.0.1
reactive-var@1.0.1
reload@1.0.1
retry@1.0.0
routepolicy@1.0.0
session@1.0.0
spacebars-compiler@1.0.1
spacebars@1.0.0
standard-app-packages@1.0.0
templating@1.0.4
ui@1.0.0
session@1.0.1
spacebars-compiler@1.0.2
spacebars@1.0.1
standard-app-packages@1.0.1
templating@1.0.5
tracker@1.0.2
underscore@1.0.0
webapp@1.0.2
webapp@1.0.3

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Password support for accounts",
version: "1.0.1-rc1"
version: "1.0.1"
});
Package.on_use(function(api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Interaction with the configuration sources for your apps",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Meteor Reactive Templating library",
version: '2.0.0-rc1'
version: '2.0.0'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Front-end framework from Twitter",
version: "1.0.1-rc0"
version: "1.0.1"
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Helpers for control programs",
version: "1.0.3-rc0"
version: "1.0.3"
});
Npm.depends({optimist: '0.6.0'});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Default control program for an application",
version: "1.0.1-rc0"
version: "1.0.1"
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Meteor's latency-compensated distributed data framework",
version: '1.0.8-rc0'
version: '1.0.8'
});
// We use 'faye-websocket' for connections in server-to-server DDP, mostly

View File

@@ -2,7 +2,7 @@
Package.describe({
summary: "Deprecated package, please use tracker instead.",
version: '1.0.2-rc1'
version: '1.0.2'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Extended and Extensible JSON library",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Publish internal app statistics",
version: '1.0.1-rc1'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Maintain a connection to the leader of an election set",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Require this application to use HTTPS",
version: "1.0.1-rc0"
version: "1.0.1"
});
Package.on_use(function (api) {

View File

@@ -3,7 +3,7 @@
Package.describe({
summary: "Easily create arbitrary multicolumn layouts",
version: "1.0.1-rc0"
version: "1.0.1"
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Moved to the 'ddp' package",
version: '1.0.8-rc1'
version: '1.0.8'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Moved to the 'mongo' package",
version: '1.0.4-rc1'
version: '1.0.4'
});
Package.on_use(function (api) {

View File

@@ -9,7 +9,7 @@
Package.describe({
summary: "Adaptor for using MongoDB and Minimongo over DDP",
version: '1.0.4-rc0'
version: '1.0.4'
});
Npm.depends({

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Observe changes to various sequence types such as arrays, cursors and objects",
version: "1.0.2-rc0"
version: "1.0.2"
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Reactive dictionary",
version: '1.0.1-rc1'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Reactive variable",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Manage the configuration for third-party services",
version: "1.0.1-rc0"
version: "1.0.1"
});
Package.on_use(function(api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Session variable",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -4,7 +4,7 @@
Package.describe({
summary: "Markdown-to-HTML processor",
version: "1.0.1-rc0"
version: "1.0.1"
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Compiler for Spacebars template language",
version: '1.0.2-rc0'
version: '1.0.2'
});
Package.on_use(function (api) {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -21,7 +21,10 @@ Package.on_test(function (api) {
'template_tests.html',
'template_tests.js',
'templating_tests.html',
'templating_tests.js'
'templating_tests.js',
'old_templates.js', // backcompat for packages built with old Blaze APIs.
'old_templates_tests.js'
], 'client');
api.add_files('template_tests_server.js', 'server');

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Handlebars-like template language for Meteor",
version: '1.0.1-rc1'
version: '1.0.1'
});
// For more, see package `spacebars-compiler`, which is used by

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Makes the application crawlable to web spiders",
version: "1.0.3-rc0"
version: "1.0.3"
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Moved to meteor-platform",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Utility functions for tests",
version: '1.0.1-rc1'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Run tests interactively in the browser",
version: '1.0.4-rc1'
version: '1.0.4'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Run tests noninteractively, with results going to the console.",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Tiny testing framework",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Dependency tracker to allow reactive callbacks",
version: '1.0.2-rc1'
version: '1.0.2'
});
Package.on_use(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Deprecated: Use the Blaze package",
version: '1.0.1-rc0'
version: '1.0.1'
});
Package.on_use(function (api) {

View File

@@ -1,9 +1,9 @@
{ "track": "METEOR",
"banners": [
{
"versions": ["0.9.0"],
"versions": ["0.9.0", "0.9.0.1"],
"banner": {
"text": "=> Meteor 0.9.0.1 is now out, fixing several bugs in 0.9.0.\n\n Meteor 0.9.0.1 is being downloaded in the background. You can update to\n it by running 'meteor update --patch'."
"text": "=> Meteor 0.9.1 is out, adding support for organizations in Meteor\n developer accounts.\n\n Meteor 0.9.1 is being downloading in the background. You can update\n to it by running 'meteor update'."
}
}
]

View File

@@ -1,7 +1,7 @@
{
"releases": {
"stable": {
"version": "0.9.0.1",
"version": "0.9.1",
"banner": "=> Meteor 0.9.0: Introducing the official Meteor package system,\n including Isobuild and the Meteor Package Server!\n\n Starting in 0.9.0, you can publish your own packages and use any of\n the over 1800 community packages in your app, without needing an\n external tool such as Meteorite. Just use commands like 'meteor add\n <packagename>', 'meteor publish', and 'meteor search <query>'.\n\n This release is being downloaded in the background. It's a big\n change! Once it's done downloading, then the next time you run\n 'meteor', your Meteor install will be automatically upgraded to the\n new system. The upgrade will take a few minutes and as part of it\n old versions of Meteor will be removed from your machine. These old\n versions will be automatically redownloaded using the new system if\n you work on apps that use them.\n"
}
}

View File

@@ -1,8 +1,7 @@
{
"track": "METEOR",
"version": "0.9.0.1",
"version": "0.9.1",
"recommended": false,
"official": true,
"description": "The official Meteor Distribution",
"patchFrom": ["0.9.0"]
"description": "The official Meteor Distribution"
}

View File

@@ -128,7 +128,7 @@ Usage: meteor add <package> [package] [package..]
Adds packages to your Meteor project. You can add multiple
packages with one command. To query for available packages, use
the meteor --search command.
the meteor search command.
>>> remove
@@ -272,26 +272,26 @@ Retrieves the server logs for the requested site.
>>> authorized
View or change authorized users for a site.
View or change authorized users and organizations for a site
Usage: meteor authorized <site> [--list]
meteor authorized <site> --add <username>
meteor authorized <site> --remove <username>
Without an argument (or with --list), list the users that are
Without an argument (or with --list), list the users and organizations that are
administrators for a particular site that was deployed with 'meteor deploy'
With --add, add an authorized user to a site. Use this to give your
collaborators the ability to work with your sites.
With --add, add an authorized user or organization to a site. Use this to give
your collaborators the ability to work with your sites.
With --remove, remove an authorized user from a site. You cannot remove
yourself. (Ask someone else who is an authorized user to do it.)
With --remove, remove an authorized user or organization from a site. You cannot
remove yourself. (Ask someone else who is an authorized user to do it.)
You can only add or remove one authorized user at a time.
Options:
--add add an authorized user
--remove remove an authorized user
--list list authorized users (the default)
--add add an authorized user or organization
--remove remove an authorized user or organization
--list list authorized users and organizations (the default)
>>> claim
@@ -582,12 +582,12 @@ Options:
>>> admin maintainers
View or change authorized maintainers for a package.
View or change package maintainers
Usage: meteor admin maintainers <package name> [--list]
meteor admin maintainers <package name> --add <username>
meteor admin maintainers <package name> --remove <username>
Without an argument (or with --list), list the users that are
Without options (or with --list), list the users and organizations that are
maintainers for a particular package.
With --add, add an authorized maintainer to a package. Use this to give your
@@ -633,3 +633,23 @@ Usage: meteor admin set-banners <path to banner configuration>
Set the banners on previously published releases. Banners notify the user
when there is a new release available or a patch release has been published.
>>> admin list-organizations
List the organizations of which you are a member.
Usage: meteor list-organizations
List the organizations of which you are a member.
>>> admin members
View or change the members of an organization.
Usage: meteor admin members <organization name> [--list]
meteor admin members <organization name> --add <username>
meteor admin members <organization name> --remove <username>
Without options, list the members of an organization. With --add or --remove,
add or remove a member of an organization.
Options:
--add add a member to the organization
--remove remove a member from the organization
--list list members of the organization (the default)

View File

@@ -249,11 +249,19 @@ var longHelp = exports.longHelp = function (commandName) {
});
var help = loadHelp();
// can use to see if there is help text for a particular command
var helpDict = {};
_.each(help, function (helpEntry) {
helpDict[helpEntry.name] = helpEntry;
});
var commandList = null;
if (! (node instanceof Command)) {
commandList = '';
var items = [];
var commandsWanted = {};
_.each(node, function (n, shortName) {
var fullName = commandName + (commandName.length > 0 ? " " : "") +
shortName;
@@ -262,9 +270,13 @@ var longHelp = exports.longHelp = function (commandName) {
// not appear in the top-level help. If we one day want to make
// these kinds of commands visible to casual users, we'll need a
// way to mark them as visible or hidden.
if (n instanceof Command && ! n.hidden)
// Also, use helpDict to only include commands that have help text,
// otherwise there is nothing to display
if (n instanceof Command && ! n.hidden && helpDict[fullName])
commandsWanted[fullName] = { name: shortName };
});
var maxNameLength = _.max(_.map(commandsWanted, function (c) {
return c.name.length;
}));

View File

@@ -55,6 +55,16 @@ var upgradersByName = {
// " Accounts UI has totally changed, yo.");
// }
console.log();
},
"notices-for-0.9.1": function () {
maybePrintNoticeHeader();
console.log(
"Meteor 0.9.1 includes changes to the Blaze API, in preparation for 1.0.\n" +
"Many previously undocumented APIs are now public and documented. Most changes\n" +
"are backwards compatible, except that templates can no longer be named \"body\"\n" +
"or \"instance\".\n");
console.log();
}
};