Commit Graph

45 Commits

Author SHA1 Message Date
Sashko Stubailo
5511298a13 Improve new template.subscribe example 2015-05-29 12:44:54 -04:00
Sashko Stubailo
fcc83be5bd Add another example for template.subscribe 2015-05-19 11:30:22 -07:00
David Glasser
91ce1561c3 tracker: implement Computation.onStop
Fixes #3915.
2015-04-29 00:18:13 -07:00
David Glasser
342a234e85 jsdoc update; fix api boxes broken by #4191 2015-04-29 00:17:01 -07:00
Eric Wyne
f25c3683a4 change docs to doc
This parameter name is misleading. A single document is passed to the Meteor.deny({update}) function, not an array of documents
2015-04-14 14:36:58 -07:00
David Glasser
af647f7e7e Tweaks 2015-04-14 14:08:27 -07:00
Henry Todd
93b3519ad7 Add notice about ROOT_URL to OAuth API docs
A possible pitfall when configuring OAuth is that after proxying the Meteor application behind (for instance) nginx, the ROOT_URL doesn't match the hostname/port combination expected.
2015-04-14 14:06:46 -07:00
Slava Kim
cdaaa6b0eb Merge branch 'master' into devel 2015-04-02 14:43:23 -07:00
Slava Kim
ce322adf05 Use html and not handlebars for docs in md 2015-03-31 17:08:51 -07:00
Slava Kim
da6cef3b9c Merge branch 'onrendered-example' 2015-03-31 17:04:38 -07:00
Slava Kim
a90e73416b More descriptive code examples 2015-03-31 17:04:06 -07:00
Mitar
e85fdc9059 docs: can use currentData inside template.autorun
I think it is important to stress that you can use Template.currentData
inside template.autorun, because you cannot use it inside
Tracker.autorun, it throws an error that current view does not exist.
2015-03-27 22:51:13 -07:00
Slava Kim
14bce609c9 Add some examples for onCreated and onDestroyed 2015-03-21 21:46:11 -07:00
Slava Kim
d332646a54 Remove redundant information from the onRendered example. 2015-03-21 21:37:15 -07:00
Slava Kim
e7a0906a48 Add an example for Template.onRendered 2015-03-18 15:52: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
Sashko Stubailo
b652770229 Fix the example to use self instead of this 2015-03-11 16:30:57 -07:00
Sashko Stubailo
50de6f59f7 Add another example for TemplateInstance#subscribe 2015-03-11 10:30:54 -07:00
Slava Kim
7bfa78a7bf Merge branch 'helpers-docs' into devel 2015-02-24 12:10:59 -08:00
Slava Kim
0af4a8ff7c Sashko's comments 2015-02-24 10:55:43 -08:00
Jacek Migdal
0e3c992fd8 No argument in client accounts callbacks.
https://github.com/meteor/meteor/issues/3572

[stubailo] Improve docs
2015-02-23 21:51:27 -08:00
Jacek Migdal
b5861c114a Implement Account.onLogin/onLoginFailure on client.
https://github.com/meteor/meteor/issues/3572
2015-02-23 21:51:26 -08:00
Sashko Stubailo
ee59870e06 Add docs about new Session.set API, wrap doc comments 2015-02-23 21:42:13 -08:00
Slava Kim
37f3230591 Merge branch 'upgrade-cordova' into devel
This merge applies changes to the dev-bundle script, but the new dev-bundle is
yet to be built.
2015-02-16 14:07:00 -08:00
Slava Kim
59c9c72450 Add more documentation to helpers
Describe arguments to helpers. Point to the Spacebars readme. Note that each
helper is an autorun
2015-02-12 14:10:29 -08:00
Sashko Stubailo
c0aab1e8d3 Template-level subscriptions 2015-02-11 18:10:33 -08:00
Sashko Stubailo
085e02d525 Add onStopped callback to subscriptions
Also, add subscriptionId to handles
Fixes #1461
2015-02-11 18:10:33 -08:00
David Glasser
5990e71ddc Remove legacy AppConfig code
Nothing ever made full use of the promise of the complexity of the
API (configuration that can change at runtime) anyway.

This includes completely ignoring the $APP_CONFIG variable.

I opened GitHub issues against the only Atmosphere packages that had
dependencies on application-configuration (none of which actually used
the package other than by declaring the dependency).
2015-01-29 14:03:20 -08:00
David Glasser
a355dd213d Allow individual email templates to override From
Also allow accounts-password email templates to set mail headers, and
for the From override to be a function rather than a constant.

Fixes #2858. Fixes #2854.
2015-01-26 15:19:19 -08:00
Slava Kim
47150e02a3 Add docs, put the description to summary section 2015-01-23 16:03:08 -08:00
Slava Kim
e2b78cfd0b Merge branch 'templateEventsMethods' into devel
Adds Template#onRendered, Template#onCreated and Template#onDestroyed methods
2015-01-21 11:02:09 -08:00
Slava Kim
9c4e227ae4 More edits to docs, according to Sashko's comments 2015-01-16 16:40:24 -08:00
Slava Kim
c361b8eeee Update documentation about Template#onCreated/onRendered/onDestroyed 2015-01-16 11:29:22 -08:00
David Glasser
106337311e use upsert method, fix indentation 2015-01-12 14:06:29 -08:00
Daniel Dent
f12b08947a Avoids a race condition when multiple server instances are backed by the MongoDB database. MongoDB does not have transactions, atomic upserts are used instead. 2015-01-12 14:05:00 -08:00
David Glasser
880661ee8c Document that Meteor.method calls are additive
Fixes #3177. Fixes #3234.
2015-01-12 11:21:55 -08:00
Dan Dascalescu
07c8373cd3 rm extra linebreak 2015-01-12 11:14:53 -08:00
David Glasser
e7bfa5202e Update packages to use Package.registerBuildPlugin 2014-12-09 20:09:34 -08:00
Emily Stark
71652f9b9f Merge branch 'master' into devel
Conflicts:
	History.md
	docs/client/data.js
	docs/client/full-api/concepts.html
	docs/client/full-api/tableOfContents.js
	examples/localmarket/.meteor/packages
	packages/ddp/package.js
	packages/meteor-tool/package.js
	packages/mongo/package.js
	scripts/admin/manifest.json
2014-12-09 13:15:29 -08:00
David Greenspan
3aadefa71d History.md and docs tweaks 2014-12-08 14:01:03 -08:00
Slava Kim
23ee0966a5 Clarify the message behind Meteor.user().profile
The `profile` field is public and writable by the user.
2014-12-08 11:29:00 -08:00
Mitar
d6fd5c21bc Added tests and documentation. 2014-12-07 13:30:38 -08:00
Ben Weissmann
7358c61476 Document possibility of repeat calls to a method
On re-connect, clients re-try methods that haven't received a response, which means that methods might be called multiple times. This is important to document so users know to guard against this behavior if a method has dangerous side-effects.

See issue #2407.
2014-12-03 15:13:27 -08:00
Sashko Stubailo
088dee92b7 Make service-configuration more obvious 2014-10-27 21:27:39 -07:00
Sashko Stubailo
ae7a0c6bb0 Fixed links on full docs 2014-10-23 10:50:57 -07:00