Commit Graph

67 Commits

Author SHA1 Message Date
Nick Martin
bc6e80073a Merge branch 'support-autorun' into devel 2012-10-12 15:21:48 -07:00
Nick Martin
ada7d81112 Minor tweaks to docs. 2012-10-12 15:20:27 -07:00
Nick Martin
c7b5f51420 Re-order autorun and flush. 2012-10-12 14:55:32 -07:00
Nick Martin
bf8890ffa2 First docs for emailTemplates 2012-10-12 14:42:39 -07:00
David Glasser
bae1a59af6 Publicize Meteor._autorun as Meteor.autorun (with docs and tests). 2012-10-12 00:50:35 -07:00
Nick Martin
0195b291e1 Another pass. Almost everything has at least first-pass docs written. 2012-10-12 00:29:03 -07:00
Nick Martin
78b262741f Another pass through the docs. Almost all XXXs removed. 2012-10-11 15:01:38 -07:00
Nick Martin
99e1ed82c7 Catch up to new APIs. 2012-10-11 15:01:31 -07:00
Nick Martin
17030e572c Rework allow/deny, userId, and setUserId 2012-10-11 15:01:16 -07:00
Nick Martin
5097fc283c Document allow/deny. 2012-10-11 15:01:15 -07:00
Nick Martin
e2023399aa First pass: a place for everything and everything in its place.
We really need to make this easier.
2012-10-11 15:01:15 -07:00
Nick Martin
3f596faf01 Move a section. No functional change. 2012-10-11 15:01:15 -07:00
David Glasser
e733b17d6a Merge branch 'devel' into auth
Pull in the issue #215 fix (Sessions can contain non-scalar objects)
2012-10-08 21:43:54 -07:00
David Glasser
5a01d9fe4d Meteor.Collection now takes its optional parameters ("manager" and some
undocumented ones beginning with _) in an options dictionary.

(For backwards compatibility it still supports passing the manager directly.)
2012-10-08 09:17:54 -07:00
David Glasser
9251edbf8d Allow arbitrary JSON objects to be stored in Session (but not compared with equals). Test Session. Fixes #215. 2012-10-06 14:42:59 -07:00
David Glasser
be4da5fba4 Revert "Support unlimited tabs by working around browser per-hostname connection limits."
This reverts commit 2495cb2f58.

This change made it easy to construct URLs with more than 63 characters in a
label, which is not legal. We will redo this later with generating a smaller
random token (and taking other precautions to limit the total size of the
label).
2012-10-01 13:45:54 -07:00
David Glasser
2495cb2f58 Support unlimited tabs by working around browser per-hostname connection limits.
The URL provided to Meteor.connect may now be a function returning a new URL on
each socket connection, or contain the substring "MeteorWildcard" which is
replaced by a random string (a UUID) on each socket connection.
2012-09-28 11:57:48 -07:00
David Glasser
5470b3f511 Merge branch 'devel' into auth 2012-09-27 13:51:21 -07:00
David Glasser
094546d53b Check that the value to Session.set is scalar (like we already do in Session.equals).
Document this restriction for both functions.

We may later relax this (with deep-copy in and out of the Session); see issue
2012-09-27 11:10:28 -07:00
Avital Oliver
ee922de1c2 Merge branch 'devel' into auth
Conflicts:
	packages/livedata/livedata_server.js
2012-09-21 10:59:48 -07:00
Avital Oliver
b0d181dbcc Add the replaceLocalhost option to Meteor.absoluteUrl 2012-09-20 15:07:52 -07:00
Avital Oliver
de413efe50 Fold the absolute-url package into the meteor package 2012-09-19 16:19:54 -07:00
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