Commit Graph

1205 Commits

Author SHA1 Message Date
David Glasser
54cc299978 Meteor.apply docs: mention that it allows options (and REQUIRES array). 2012-10-15 11:59:50 -07:00
David Glasser
b59ab5dfa5 serializeable -> serializable 2012-10-15 11:56:38 -07:00
David Glasser
907b6ee91a Tweak wording of Accounts.ui.config docs and show a more complete example. 2012-10-15 11:55:31 -07:00
David Glasser
a9af320aba Fix another reference to this.userId as a function. 2012-10-15 11:38:00 -07:00
David Glasser
4d4b504e17 Add a use of this.userId to the first Meteor.publish example.
Move the this.userId api box to the top of the "this" section, since it's
relevant to both flavors of publish function (cursor and non-cursor).
2012-10-15 11:37:06 -07:00
David Glasser
dc632fcfa1 Un-comment a code sample. 2012-10-15 11:29:19 -07:00
David Glasser
ddf870717b Link a couple of references to Node.js. 2012-10-15 11:27:01 -07:00
David Glasser
1fe86fa93a Add a warning about the brokenness of the sass package to the docs (issue #143).
sass.js implements a version of Sass much older than the .sass (let alone
currently recommended .scss) described at sass-lang.com, and has poor error
handling so it mostly just ends up confusing users. sass.js's author now uses
stylus/nib. We should probably remove the sass package, but let's not add
another breaking change to 0.5.0.
2012-10-15 11:21:21 -07:00
David Glasser
72731ddda0 Use jQuery to force all non-#internal links to use target=_blank.
Rewrite <a href> links to use Markdown syntax now that they don't need the <a
href> to get target=_blank.
2012-10-15 11:16:53 -07:00
David Glasser
a7a4e1b50c Replace old reference to auth branch with an XXX. 2012-10-15 10:57:34 -07:00
David Glasser
5143581658 Wrap long lines in api.html. 2012-10-15 10:09:37 -07:00
Dan Dascalescu
91c76dcc3a Fix run-on sentence 2012-10-13 21:36:17 -07:00
Dan Dascalescu
0a89f9408d Use better_markdown throughout 2012-10-13 21:31:55 -07:00
Dan Dascalescu
de864adddc Clarified when reactivity works
After reading the Reactivity section for the first time,
I was under the slight impression that a reactive context would
be sufficient for triggering changes. E.g. if the name in the
fragment example were set not from Session, but from a global,
it could be surmised that the HTML fragment would still be
automatically updated if the global variable changed.

This small patch tries to make it clearer that reactivity requires
*both* a reactive context and a reactive data source.
2012-10-13 19:44:19 -07:00
Matt DeBergalis
7df9322289 carry text along w/ api box. 2012-10-13 15:19:44 -07:00
Matt DeBergalis
4039920f83 fix documentation order 2012-10-13 15:11:05 -07:00
Nick Martin
6dfb976104 Bump version number for 0.5.0. 2012-10-12 21:17:18 -07:00
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 Greenspan
32edb4043f loginButtons halign -> align 2012-10-12 09:38:20 -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
e8fa501fae Text for accounts-ui package. 2012-10-12 00:29:03 -07:00
Nick Martin
3dd36e656f Add new reactive sources to the list. 2012-10-11 15:01:39 -07:00
Nick Martin
3b0732fc1d Add accounts-ui package. 2012-10-11 15:01:39 -07:00
Nick Martin
ec54838d95 Add accounts concepts section. 2012-10-11 15:01:39 -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
6f522147bb Fix typo in docs (spotted by: dandv). 2012-10-10 10:48:34 -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
41cc24d9e7 Merge branch 'devel' into auth
Pulls in Meteor._ContextSet, bumps version to 0.4.2, etc.
2012-10-06 11:10:56 -07:00
David Glasser
71851fef89 Merge branch 'devel' into auth
Conflicts:
	app/meteor/skel/.meteor/packages
	examples/leaderboard/.meteor/packages
	packages/livedata/livedata_connection.js
2012-10-01 20:07:27 -07:00
David Glasser
5eb81e920d Increment version to 0.4.2. 2012-10-01 18:25:18 -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 Greenspan
f3f64922c4 Merge branch 'preserve-inputs' into devel 2012-09-29 13:26:23 -07:00
David Greenspan
1e82308054 Tweaks from Geoff code review 2012-09-29 13:24:46 -07:00
David Greenspan
c9f51e3b84 add note to docs about preserve-inputs 2012-09-28 14:09:00 -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