Commit Graph

45 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
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
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
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
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
Nick Martin
910adda358 Merge remote-tracking branch 'origin/email' into auth-email 2012-08-17 15:33:56 -07:00
David Glasser
cb95d44cb3 Doc fix: Cursor.observe available on both client and server 2012-08-14 10:54:30 -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
matt debergalis
682c1650c5 document field specifiers 2012-07-02 18:21:53 -07:00
David Greenspan
d320dc2858 docs api fix for subscription_set 2012-06-20 18:16:19 -07:00
David Greenspan
646765eeae docs formatting fix 2012-06-05 12:22:17 -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
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
Nick Martin
3afa5fd9ca Update docs for http changes. 2012-04-19 15:39:00 -07:00
David Greenspan
adbd44491c docs wording improvement pass 2012-04-19 12:58:46 -07:00
David Greenspan
cde4a4abd2 First pass at HTTP docs. 2012-04-18 20:46:47 -07:00
Kyle Robinson Young
37781a5e47 docs: typo fixes 2012-04-15 23:10:12 -07:00
David Greenspan
54c1525667 fix cursor.observe argument name 2012-04-11 14:35:39 -07:00
Geoff Schmidt
21708cab77 Wordsmithing 2012-04-04 18:07:26 -07:00
David Greenspan
42f908a73c fix Template.api.{call,apply} conflicting with methods in docs, brekaing IE 2012-04-04 17:16:35 -07:00
David Greenspan
3d935b6dab New docs for templates.
Squashed:

Live HTML concept section, written before

finish template concepts

all new Meteor.ui API reference

minor wording

update examples in docs

fix remaining examples

fix broken links in docs

Meteor.ui.chunk example in docs
2012-04-03 22:10:21 -07:00
matt debergalis
a59f501b37 edits 2012-03-20 16:55:34 -07:00
matt debergalis
7377ce2041 Major formatting and content update to docs. 2012-03-20 16:55:30 -07:00
matt debergalis
d5fd6e8738 Update documentation. 2012-02-29 16:08:59 -08:00
Geoff Schmidt
3e47029a61 port skel, todos, leaderboard to new data API 2012-02-17 01:02:34 -08:00
matt debergalis
289818615c document findOne() 2012-02-06 18:58:31 -08:00
matt debergalis
6a0831d9b0 Align Minimongo and MongoDB semantics.
* remove() removes all documents in collection (previously, had to
  explicitly pass {} selector to MM).

* update() requires {multi: true} to update multiple documents.
  Previously we defaulted to true, now multi defaults to false.
2012-02-06 18:17:53 -08:00
matt debergalis
0b3907a476 Import Meteor documentation 2012-02-02 17:20:07 -08:00