337 Commits

Author SHA1 Message Date
Naomi Seyfer
dba23bd29c Session.setDefault, and updating todos to use it. #698 2013-02-20 17:56:39 -08:00
michaelglenadams
fbb4e03f5e Update docs/client/concepts.html
Fixes typo in docs.
2013-02-20 16:48:10 -08:00
Naomi Seyfer
a920d568ec Added an E to the JSON where we support it, in the docs 2013-02-20 16:33:27 -08:00
Naomi Seyfer
036c471b2d Fixed #690: inconsistant use of fields in api docs
Also messed with spacing so that the end of a sentence could be less
easily confused with the dot operator in a particular place.
2013-02-20 15:32:17 -08:00
Naomi Seyfer
c911cd9ef4 Greenspan comments on ddp-pre1 diff 2013-02-20 14:52:28 -08:00
Matt DeBergalis
f3c3d5cc29 observeChanges calls addedBefore, not addedAt 2013-02-19 17:41:56 -08:00
Naomi Seyfer
f741531c01 Fixed inaccurate/old api for publish removed 2013-02-19 10:18:29 -08:00
Naomi Seyfer
a2c9561ce2 Incrementing versions 2013-02-18 14:23:11 -08:00
Naomi Seyfer
657c101b2b Merging master to devel for 0.5.6 2013-02-15 11:16:52 -08:00
David Glasser
1535fe3437 Bump version number and add release notes. 2013-02-14 16:49:06 -08:00
David Glasser
e1b07e4848 Merge branch 'devel' into ddp-pre1 2013-02-13 17:05:07 -08:00
David Glasser
806ffc6b60 Updates to ObjectID docs. 2013-02-13 14:46:27 -08:00
David Glasser
2185b21be5 random docs: feedback from review. 2013-02-13 14:41:31 -08:00
David Glasser
9a7ac87778 Document random package. 2013-02-13 00:42:05 -08:00
David Glasser
eb14cfceeb Rename Meteor.id() -> Random.id() 2013-02-12 23:44:04 -08:00
David
ff430bc287 Minor link correction 2013-02-12 18:13:35 -08:00
David Glasser
1eecbb070e Merge branch 'devel' into ddp-pre1 2013-02-12 17:42:20 -08:00
David Glasser
78eb2a32d6 Watch '.lessimport' files for changes (but don't parse them).
'.lessimport' is now meaningful rather than just a suggestion in the docs.
2013-02-12 14:36:04 -08:00
David Glasser
db535c93f3 Improved docs for two Meteor.subscribe changes.
(onError and handle.ready())
2013-02-11 20:11:05 -08:00
Naomi Seyfer
b4988e3bd9 Merge branch 'devel' into release-0.5.5 2013-02-11 12:24:14 -08:00
Naomi Seyfer
bc83e8c76c Added all people to the docs, alphebetized by first name 2013-02-11 11:34:22 -08:00
Nick Martin
6cbd30c057 Merge branch 'devel' into release-0.5.5 2013-02-08 21:49:03 -08:00
David Glasser
40bfd2e360 Add a reactive ready() method to subscription handles. Fixes #273.
Inspired by a pull request from tmeasday (though we've changed the underlying
code enough on ddp-pre1 that I had to rewrite it myself).

Use it in todos. No docs yet, but the Meteor.subscribe docs are already
scheduled for some attention.
2013-02-08 18:41:41 -08:00
David Glasser
4f2d725d3f If Meteor.settings.public exists, make it available on the client as well.
(Suggested by @jagill at Meteor Dev Shop 0!)
2013-02-08 17:51:33 -08:00
Nick Martin
1385137f01 Bump version number in prep for release 2013-02-07 22:49:56 -08:00
David Glasser
db917f4741 DDP server: Implement sub.error() and reimplement sub.stop().
Note that sub.stop() is now handled by the client (it removes the record of the
subscription) but there is no way for an app to observe this. (I expect we'll
use sub.stop() in implementing "fetch" in the Mongo connector.)
2013-02-07 15:43:28 -08:00
Geoff Schmidt
9b3cd467d0 Second draft of observe/observeChange docs 2013-02-07 15:41:20 -08:00
Geoff Schmidt
557dd363f4 markdown is mia 2013-02-07 14:52:18 -08:00
Geoff Schmidt
97cbc5a50e correct error in previous commit 2013-02-07 13:49:10 -08:00
Geoff Schmidt
e2ddf0aead Change descriptions of observe and observeChanges 2013-02-07 13:47:52 -08:00
David Glasser
62bcab56d1 Merge branch 'devel' into ddp-pre1 2013-02-07 10:47:06 -08:00
Naomi Seyfer
515b04f13c Example publish now uses observeChanges 2013-02-06 18:39:57 -08:00
Naomi Seyfer
c6f72b612f Draft docs for new observe 2013-02-06 18:37:33 -08:00
David Glasser
05ac3ad75d Document how to prevent your less imports from being double-processed. 2013-02-05 18:34:55 -08:00
David Glasser
eaff6f3b00 Merge branch 'devel' into ddp-pre1-selector-compiler-rewrite
Note: some tests fail. Will be resolved before merging to ddp-pre1.

Conflicts:
	packages/minimongo/selector.js
2013-02-04 17:46:22 -08:00
David Glasser
90afe9e9d5 New onError callback to Meteor.subscribe.
This callback receives any terminating error from a subscription. Currently this
can only be because the subscription is unknown, but soon subscriptions will be
able to send other errors.

Also, adjust the semantics of ready callbacks in a reactive context to only call
the latest instance of the callback rather than all callbacks.
2013-02-04 13:20:21 -08:00
Kevin Miller
8faeb1e303 Fixed link to stack overflow in docs. 2013-02-01 23:53:32 -08:00
Naomi Seyfer
e1aa360b98 Merge branch 'devel' into ddp-pre1
Now don't require _id to be unset on insert anymore.

Some error handling around duplicate _id

Conflicts:
	packages/minimongo/minimongo.js
	packages/mongo-livedata/collection.js
	packages/mongo-livedata/mongo_livedata_tests.js
2013-02-01 16:10:18 -08:00
Naomi Seyfer
d76562f0fb Docuentation for allowing _id to be spec by the user 2013-02-01 15:24:45 -08:00
Nick Martin
fb3aafc794 Rework text a bit. 2013-02-01 15:22:01 -08:00
Miles Matthias
b013c573ea Adding documentation explaining Collections in the introductory Data section, fixes #149. 2013-02-01 15:07:51 -08:00
David Glasser
3f2aad7c0e Rename subscription "complete" to "ready" everywhere (including in the
protocol and the publisher API).

Also update examples/other/quiescence for ddp-pre1.
2013-01-30 13:34:58 -08:00
David Glasser
62e83ec2bc When a connection fails permanently due to version number skew, show it in the
reactive status object and don't try to reconnect.

Note that this only happens if the server rejects the connection due to an
unfixable version mismatch: if the server is unreachable or not speaking
versioned DDP, the client will continue to retry.
2013-01-29 22:36:13 -08:00
Naomi Seyfer
deb06b627e Workshopping docs for EJSON and ObjectID w/ nim 2013-01-17 15:56:13 -05:00
Naomi Seyfer
20145a7f42 Docs for EJSON package 2013-01-17 15:56:13 -05:00
Naomi Seyfer
c99c816331 Fixing up docs, making ObjectID consistent with Node api 2013-01-17 15:51:56 -05:00
Naomi Seyfer
5b4910c965 First draft of docs for types. 2013-01-17 15:49:52 -05:00
Naomi Seyfer
91b1f3b15c Workshopping words on the publish docs 2013-01-17 15:25:01 -05:00
Naomi Seyfer
daa559366c Modified docs to reflect ddp-pre1 and new publish handler api 2013-01-17 15:24:28 -05:00
David Glasser
3a99938dff Upgrade Fibers to 1.0.0 and UglifyJS to 2.2.3.
This definitely won't "work" because both have API changes.

UglifyJS 1 was having issues minifying certain code (eg lodash).  But UglifyJS 2
was occasionally segfaulting (as was other code using large regexps).  See the
bottom of https://github.com/laverdet/node-fibers/issues/89

Hopefully this will fix it.
2013-01-16 10:47:57 -05:00