Commit Graph

174 Commits

Author SHA1 Message Date
Nick Martin
496936d21a review part 1: docs, style, etc. 2013-12-05 13:14:10 -08:00
Nick Martin
a3bbb6dfa1 Update and tweak docs for new name. 2013-12-05 13:14:10 -08:00
Nick Martin
91ad6c0189 Remove trailing whitespace. 2013-12-05 13:14:10 -08:00
Andrew Wilcox
62fe9c62e5 Add a "this.session" entry for methods in the docs.
Pull out the session object into its own documentation section.
2013-12-05 13:11:40 -08:00
Andrew Wilcox
c1d97fde7c Also make the session available in publish functions. 2013-12-05 13:11:40 -08:00
Andrew Wilcox
26e9fad096 In the docs, refer to the public object as a "session" instead of a
"session handle".
2013-12-05 13:11:40 -08:00
Andrew Wilcox
badb6e9d30 Documentation update.
Document `Meteor.onConnection` instead of `Meteor.server.onConnection`.

Condense sections about when there is a session reconnect into a
single {{note}}.

Document the `stop` handle returned by `onConnect`.

Document `this.session` in Meteor.methods section.
2013-12-05 13:11:39 -08:00
Andrew Wilcox
8644363f1a Meteor.server.onConnection documentation. 2013-12-05 13:11:39 -08:00
Matt DeBergalis
47e6f5e381 document METEOR_SETTINGS, fixes #967. 2013-11-05 00:53:07 -08:00
Matt DeBergalis
0d6922c901 document predicate signature in restrictCreationByEmailDomain 2013-10-24 11:18:59 -07:00
Emily Stark
82579293f3 Override docs release temporarily 2013-10-03 10:16:07 -07:00
Emily Stark
7f64c726f7 Merge branch 'mongo-upsert' into devel 2013-10-02 13:23:22 -07:00
Emily Stark
dec262b239 Document upsert (first draft) 2013-10-02 12:17:04 -07:00
Naomi Seyfer
67046601ea Merge branch 'cannonical' into devel 2013-10-02 12:11:37 -07:00
Naomi Seyfer
998e805993 more docs and history.md notes 2013-10-02 12:01:24 -07:00
Naomi Seyfer
937bce6e5d Fix docs 2013-10-02 12:01:24 -07:00
Andrew Wilcox
da6bc1d835 EJSON.stringify objects in sorted key order.
Thus if two objects are EJSON.equals, their serialization strings will
be equal also.

(This should mean that reactive-dict could now allow objects to be
used as the key for `equal`).

Note this change does not affect livedata because livedata uses the
EJSON adjust functions to convert between JSON and EJSON (not
stringify).

Adds a couple options to EJSON.stringify:

* keyOrderSensitive: in parallel with EJSON.equals, outputs objects in
  native key order (the old behavior).

* indent: pretty-prints the output.

The serialization code is based json2, which makes it easy to preserve
the indentation functionality provided by JSON.stringify.  Only enough
code is included to serialize arrays and objects; serializing
primitive values such as strings is delegated to the native
JSON.stringify to reduce code and in case the native implementation is
more efficient.

Include underscore as an explicit dependency in package.js.

Document options to EJSON.equals and EJSON.stringify.
2013-10-02 11:43:44 -07:00
Emily Stark
8d9f97f358 Use a hardcoded example for Meteor.release, for now. 2013-10-02 11:43:16 -07:00
Emily Stark
ae6ab2d775 Fix logoutOtherClients docs typos 2013-10-02 11:37:27 -07:00
Emily Stark
f67cf78b2d Add docs for loginExpirationInDays and logoutOtherClients() 2013-10-02 11:37:27 -07:00
Slava Kim
c396f990b4 Doc string saying you can pass a predicate to restrict creation of new users by email. 2013-10-01 17:29:26 -07:00
Slava Kim
bd77b172bd Rename Accounts option 'restrictCreationByEmail' to 'restrictCreationByEmailDomain' 2013-10-01 17:14:30 -07:00
David Glasser
7f490a4081 Docs for ES5-style iteration. 2013-09-27 19:00:22 -05:00
Slava Kim
c6b8c651a4 Merge branch 'pr-1332' into devel 2013-09-26 14:51:23 -07:00
Slava Kim
d855e58f92 Implement Accounts.config({ restrictCreationByEmail: 'mit.edu' })
- Check email for users created with password or any social account's email
- Throw an error with explanation on bad email domain.
- Set `hd` param for Google Accounts authentication url
- Docs description
- Touch History.md

- Possibly should add it into QA process?
2013-09-26 14:50:55 -07:00
Matt DeBergalis
fcf6fdaa71 Clean up docs for collections managed by remote DDP server.
Fixes #875.
2013-09-25 23:28:15 -07:00
Slava Kim
ed9cb03ac1 Merge branch 'minimongo-fields' into devel
Support for 'fields' option in minimongo. Observe on the fields certain fields
will fire 'change' events only if one of watched fields changed.

Note: in minimongo observe, granularity of diff is one level. Meaning, watching
for changes at 'foo.bar' may fire even if 'foo.bar' didn't change.

Fixes #1287.
2013-08-15 14:38:20 -07:00
Nick Martin
6fffbec675 Doc tweak for connection:null in new Meteor.Collection. 2013-08-12 17:03:08 -07:00
Nick Martin
e2344a2a07 Fixup ids for Meteor.http -> HTTP transition. 2013-08-09 17:52:25 -07:00
Nick Martin
e47c14d481 Fixup DDP.connect docs. 2013-08-07 21:14:11 -07:00
Slava Kim
dab1d19e61 Docs and typos in minimongo. 2013-08-07 12:54:37 -07:00
David Glasser
cd5044b6f3 Update docs to 0.6.5-rc12. Link to EJSON binary. 2013-08-02 18:17:38 -07:00
David Glasser
a5c061ecde Rename Meteor.http to HTTP. Backwards compatible. 2013-07-25 18:54:42 -07:00
David Glasser
ce16794cbb Push through on the Meteor.connect -> DDP.connect rename. 2013-07-25 18:54:42 -07:00
Nick Martin
475af49b27 doc tweaks. 2013-07-25 16:55:59 -07:00
Zoltan Olah
853bdb4df2 Documentation for Meteor.disconnect(). 2013-07-25 16:55:59 -07:00
Zoltan Olah
732482b5ea Documentation for forceApprovalPrompt to meteor_loginwithexternalservice. 2013-07-23 22:50:07 -07:00
Emily Stark
e6078ba108 Mention that Assets.getText hardcodes utf8 2013-06-28 14:55:47 -07:00
Emily Stark
7046d4cc91 Assets docs 2013-06-28 14:55:47 -07:00
Andrew Wilcox
6c8a4b590b Rename a collection "manager" to "connection". 2013-05-06 16:14:32 -07:00
Christine Spang
17d81e64bc Update documentation for Email.send. 2013-04-25 16:52:06 -07:00
David Glasser
6776c354b8 start of docs for check 2013-04-18 19:17:53 -07:00
David Glasser
f67db983c3 New check library. 2013-04-18 19:17:53 -07:00
David Glasser
0625277113 Document EJSON.isBinary. 2013-04-12 19:48:39 -07:00
Avital Oliver
04a5678c20 Improve docs consistency 2013-04-09 19:27:24 -07:00
David Glasser
3f73d8545e Document Meteor.release. 2013-04-03 16:18:28 -07:00
David Greenspan
0fe094f530 docs wording 2013-03-21 14:09:40 -07:00
David Greenspan
df5d2800ae dep.depend() instead of Deps.depend(dep)
simpler than having Deps.depend and addDependent, reads fine
2013-03-21 14:09:40 -07:00
Geoff Schmidt
a158e3f901 Update docs: update/remove RPCs may only use IDs as selectors, other tweaks 2013-03-13 05:52:58 -07:00
Nick Martin
abe3ee9cbe Merge remote-tracking branch 'origin/deps-radical' into devel 2013-03-12 10:39:03 -07:00