Commit Graph

75 Commits

Author SHA1 Message Date
David Glasser
2fedd2adfc Merge branch 'devel' into auth
Conflicts:
	packages/livedata/livedata_common.js
	packages/livedata/livedata_connection.js
	packages/livedata/livedata_server.js
	packages/mongo-livedata/collection.js
2012-09-17 14:42:10 -07:00
David Glasser
42033a03aa Merge branch 'devel' (early part) into auth
Conflicts:
	packages/email/email.js
	packages/email/email_tests.js
	packages/livedata/livedata_tests.js
2012-09-17 14:31:54 -07:00
David Glasser
5e622215ba Change all publicly documented APIs to use camelCase.
For now, the old names still work as well.

This includes:
  - Meteor.isServer/isClient
  - this.isSimulation in methods
  - Context.onInvalidate
  - Meteor.status().retryCount/retryTime

Remove old backwards-compatibility "Sky" alias for "Meteor".

Update all examples in the docs to use camelCase.

Delete unused docs/client/projects.html file.
2012-09-17 14:26:45 -07:00
David Glasser
f340c35c02 Basic email support. 2012-09-14 18:38:29 -07:00
David Glasser
0ed8555690 Fix {{#dtdd}} handler in docs for 0.3.8 changes. 2012-09-14 17:09:37 -07:00
Nick Martin
24377fc980 Merge branch 'devel' into auth 2012-09-07 19:42:42 -07:00
David Glasser
233626de86 Make Meteor.Cursor.forEach fully synchronous even if the user's callback yields.
Previously, if the callback yields (eg, if it does a DB query), the next
iteration of the callback could run, or the forEach could finish entirely,
because the future we waited on only checked to ensure that the callback was
*started* on all documents, not *finished*.

Fixes #321. Thanks to Scott Anderson for bug report with minimal reproduction
case.
2012-09-06 10:20:22 -07:00
Nick Martin
c514341df8 Merge branch 'master' into auth
Conflicts:
	.gitignore
	examples/todos/client/todos.js
2012-09-04 00:42:35 -07:00
Nick Martin
5a06b8ad12 More docs tweaks. 2012-08-30 18:04:32 -07:00
David Greenspan
5d34cdf1d2 tmpldecl => template in URL fragments 2012-08-30 15:05:41 -07:00
David Greenspan
e4a5cb6db1 isolate 2012-08-29 20:34:37 -07:00
David Greenspan
3423aee12c constant regions 2012-08-29 20:07:48 -07:00
David Greenspan
b557de261e render/renderList, delete old Meteor.ui 2012-08-29 19:04:37 -07:00
David Greenspan
1de8e506a2 preserve 2012-08-29 18:05:40 -07:00
Nick Martin
c839cc137c Replace or reword references to Meteor.ui 2012-08-29 18:00:17 -07:00
Nick Martin
ee3bd696fe Move flush to deps. Not the best place for it, but better than core. 2012-08-29 18:00:17 -07:00
David Greenspan
5b03c1f5fb events, helpers 2012-08-29 17:25:24 -07:00
David Greenspan
9c566c9788 template instances 2012-08-29 16:41:18 -07:00
Nick Martin
df7a24b6cc Make document structure match navbar, adding needed api boxes, etc. 2012-08-29 16:37:26 -07:00
David Greenspan
d1e56cd94f good nav 2012-08-29 15:38:49 -07:00
David Greenspan
c42070451f more template docs 2012-08-29 14:47:08 -07:00
David Greenspan
238cfd9a88 tweaks 2012-08-28 13:11:07 -07:00
David Greenspan
2fd4e4c5c1 more Template work 2012-08-28 13:11:07 -07:00
David Greenspan
bdb89d8c55 Create "Templates" section 2012-08-28 13:11:07 -07:00
David Greenspan
c758bbb164 Move Meteor.flush to Core 2012-08-28 13:11:07 -07:00
David Greenspan
2255c61383 more events({... changes 2012-08-23 12:17:53 -07:00
Avital Oliver
414f5e52fb Minor doc changes 2012-07-23 17:57:09 -07:00
Avital Oliver
cc3a163db6 Call onReconnect when a LivedataConnection reconnects
This can be used to re-establish the proper auth context.
2012-07-23 17:57:09 -07:00
Avital Oliver
55b6bb0dea Method calls can now be forced to wait
Meteor.apply and Meteor._LivedataConnection.apply now receive an options
parameter which can be used to set the `wait` flag:

(Client only) If true, don't send any subsequent method calls until this
one is completed. Only run the callback for this method once all previous
method calls have completed.
2012-07-23 17:57:09 -07:00
David Greenspan
4719433383 docs changes for event.{target -> currentTarget} change 2012-07-09 20:14:24 -07:00
matt debergalis
682c1650c5 document field specifiers 2012-07-02 18:21:53 -07:00
matt debergalis
eb25822679 rework publish example 2012-07-02 17:53:25 -07:00
Avital Oliver
f6a292d7e6 Very minor fix to documentation 2012-05-31 15:57:37 -07:00
David Greenspan
4ac26ecc49 note in docs about IE6-8 limitation 2012-05-16 12:52:47 -07:00
Geoff Schmidt
5e5769490a Clarifications in new events docs
(with David)
2012-05-15 15:18:11 -07:00
David Greenspan
15d38fefcd document supported event types 2012-05-11 12:37:12 -07:00
David Greenspan
fe3bbee305 event docs; xtreme markdown fixes 2012-05-11 12:37:11 -07:00
David Greenspan
2738e7798a event map wording fix 2012-05-11 12:37:10 -07:00
David Greenspan
4c38c567c7 remove docs warnings 2012-05-11 12:37:10 -07:00
David Greenspan
a8e3a266e4 update remove() example for new Meteor.ui; fixes #125 2012-05-11 12:36:41 -07:00
matt debergalis
986ffbae49 Provide document ID to Meteor.Collection callback. 2012-05-09 11:38:26 -07:00
matt debergalis
ee201b68d0 clean up set/unset text 2012-05-06 21:51:15 -07:00
matt debergalis
6cf6fab193 in publish, this.set() takes dictionary, not k and v. 2012-05-06 09:07:50 -07:00
phillc
25cb78e040 Typo in docs 2012-05-02 14:26:06 -07:00
Edward Ocampo-Gooding
88481938a0 Fix placement of collection cursor.forEach example in docs 2012-04-27 08:53:39 -07:00
David Greenspan
9e75e13c85 remove warning from docs 2012-04-26 11:18:07 -07:00
Gabriel Horner
00117e6fda Fix Meter.autosubscribe docs example to refer to correct method 2012-04-23 17:50:29 -07:00
matt debergalis
d86a6b1ced Add note to add HTTP package to use Meteor.http.
Break out the four helper methods into separate API stanzas for a bit
more clarity.
2012-04-22 15:24:30 -07:00
matt debergalis
4889a6d18e Make collection.remove() a no-op on client
This matches the server behavior.  It's dangerously easy to accidently
pass a falsey selector to remove.  To really remove all documents in a
collection, explicitly pass the {} selector.
2012-04-19 16:15:54 -07:00
Nick Martin
ddc2b0e5dd Docs tweak. 2012-04-19 16:07:04 -07:00