Commit Graph

623 Commits

Author SHA1 Message Date
David Glasser
b855f2d7c5 Revert "Update docs around storing EJSON in MongoDB"
This reverts commit f91d870778.

It turns out that while we did implement "storing EJSON in MongoDB", the
technique we chose is very flaky.  Some MongoDB commands (insert,
updates that don't increase the doc size?) let you store fields with
non-starting $, and others (update that does increase the doc size?)
don't.
2014-03-13 20:41:47 -07:00
David Glasser
f91d870778 Update docs around storing EJSON in MongoDB 2014-03-13 19:46:01 -07:00
David Glasser
728ce8d251 Document one-Collection-per-collection rule 2014-03-13 17:38:20 -07:00
Dan Dascalescu
adf3f6553f Clearer docs on avoiding initial changed() calls
Explain `initializing` specifically, and move the comments closer to its
definition.
2014-03-13 17:38:20 -07:00
Dan Dascalescu
22854bee9b Some docs tweaks
- get rid of the sole use of "attribute set"
- add some links
- add missing "the"
2014-03-13 17:38:20 -07:00
Zoltan Olah
7a85b92a09 Optionally pass in 'html' template function to Accounts email templates 2014-03-12 17:27:51 -07:00
Nick Martin
0a5d105027 clean up docs a little 2014-03-12 16:59:08 -07:00
Nick Martin
e67b56ee53 fix id for navbar. this fixes scrolling highlighting 2014-03-12 16:51:49 -07:00
Nick Martin
f0b692679e Merge remote-tracking branch 'origin/devel' into login-hooks 2014-03-11 01:02:20 -07:00
Nick Martin
8924417e23 More correct pattern for publishing user.
Long, but probably better to show the pedantically correct thing so users don't
get hurt if they copy, paste and modify.

Fixes #1885
2014-03-03 22:41:33 -08:00
Nick Martin
f97b00f7ee clean up example in docs. #1854 2014-03-03 21:13:51 -08:00
Emily Stark
b0d86e535c Update docs and examples 2014-02-26 17:48:17 -08:00
Emily Stark
bbc8fe2809 Remove Accounts.loginServiceConfiguration from docs 2014-02-22 13:27:41 -08:00
Emily Stark
27e5b77249 Bump examples and docs to 0.7.1-rc3 2014-02-21 15:54:04 -08:00
David Glasser
2e9755a75f More improvements to load order doc
Fixes #1839.  See also #1675.
2014-02-20 15:27:44 -08:00
Emily Stark
67b6adc801 Modify docs sidebar to not list every external login provider.
`Meteor.loginWithMeteorDeveloperAccount` is too long for the sidebar,
and we don't really want to update the sidebar for every login provider
anyway.
2014-02-20 14:34:22 -08:00
Emily Stark
b4c78fce39 Bump apps to 0.7.1-rc0 2014-02-17 10:02:54 -08:00
Andrew Wilcox
99cb0d491e Merge remote-tracking branch 'upstream/devel' into login-hooks 2014-02-16 18:01:50 -05:00
Emily Stark
055426a449 Add loginWithMeteorDeveloperAccount to docs 2014-02-13 20:25:45 -08:00
David Glasser
47cb936719 Explicitly document where transforms are ignored
Note that now that transforms are required to return objects with the
right _id, we may want to reconsider this choice.

Fixes #1819.
2014-02-12 16:27:13 -08:00
Dan Dascalescu
3204ffa42b Update link to mongo page for selector syntax 2014-02-12 16:14:42 -08:00
David Glasser
72c626be61 document explicitly that we treat strings as IDs
Fixes #1813
2014-02-12 16:14:28 -08:00
Nick Martin
0e48d5183d Update comment in docs. Fixes #1807. 2014-02-12 16:06:39 -08:00
David Glasser
c16c1c1e19 Reorder table of contents 2014-02-12 15:35:03 -08:00
David Glasser
d1e03a58de Docs improvements for #1745
Text before an api_box does not look good as an introduction to that
api_box due to spacing.
2014-02-12 15:34:26 -08:00
Marc-Andre Lafortune
de294ddb19 EJSON: Provide default implementation of equals for custom types 2014-02-12 15:26:50 -08:00
Marc-Andre Lafortune
0be15bdf3f EJSON: Provide default implementation of clone for custom types 2014-02-12 15:26:50 -08:00
EOT
f5b4af815b Fix minor typo in docs (Deps.afterFlush) 2014-02-10 16:08:07 -08:00
Andrew Mao
788a1b622a Update docs about using fields in find cursors
Addresses #1299 and #1780
2014-02-10 15:37:42 -08:00
Slava Kim
ca164d477d Merge branch 'css-minification' into devel 2014-02-05 22:00:26 -08:00
Andrew Wilcox
df3230c1b3 Login hooks.
Adds `Accounts.validateLoginAttempt`, `Accounts.onLogin`, and
`Accounts.onLoginFailure`.

The process for logging in a user is consolidated in accounts-base,
which is now the only package which directly accesses login tokens in
the database.

All login methods now go through `Accounts._loginMethod`, which
ensures that exceptions are captured and login hooks are called in all
cases.

The callback hook implementation code from livedata is extracted into
an internal `callback-hook` package, where it can be used by accounts.
2014-02-05 17:40:20 -05:00
Andrew Wilcox
09029be917 Update client info API to just have connection.clientAddress and connection.httpHeaders.
Fix documentation.

Expose webapp's `identifyBrowser`, even though we aren't currently
using outside of webapp.
2014-02-04 01:08:36 -08:00
Andrew Wilcox
ca7a6929d7 Make information about the client available in the connection object. 2014-02-04 01:08:36 -08:00
Maxime Quandalle
cf11139f6c Add a .import.styl handler to prevent Meteor processing a stylus file Fix #462 2014-02-03 21:58:29 -08:00
Maxime Quandalle
a63a3b0057 Update documentation: lessimport -> import.less 2014-02-03 21:58:28 -08:00
David Glasser
df47013639 Fix Accounts.createUser docs
Fixes #1777.
2014-01-29 14:48:38 -08:00
David Glasser
204959b509 Fix pronoun in docs 2014-01-27 16:30:43 -08:00
David Glasser
f53bf0ab82 Docs for wrapTransform 2014-01-27 16:29:59 -08:00
David Glasser
a7d10d650d Update Node to 0.10.25. Remove bug workaround. 2014-01-23 12:15:29 -08:00
Nathan Le Ray
4cf8b41d5d Fix a typo in the API doc 2014-01-15 14:32:43 -08:00
Emily Stark
3c1a06f033 Merge branch 'bp-improvements' into devel 2014-01-15 13:01:10 -08:00
Slava Kim
9c1943c467 Adjust docs to waypoints 2.x and add a delay for deps flush to increase performance on scroll. 2014-01-13 11:51:21 -08:00
Emily Stark
189845f1fb Add frame-src to browser-policy-content. 2014-01-11 20:43:36 -08:00
Emily Stark
f89941412a Smooth over some cross-browser CSP differences.
* Adding "foo.com" to your CSP via browser-policy now adds both
  "http://foo.com" and "https://foo.com". This smooths over the fact
  that some browsers interpret "foo.com" as "http://foo.com" and some
  interpret it as http AND https.
* Trim trailing slashes from origins. Firefox does not allow content
  from foo.com if you add "foo.com/" to your CSP.
2014-01-11 20:36:01 -08:00
David Glasser
bab936eac9 Patch _.each to not treat {length: 5} as an array
Specifically, in all Underscore "collection" functions which treat their
arguments polymorphically as either "object-like" or "array-like", don't
treat arguments with `x.constructor === Object` as arrays (except for
the 'arguments' object).

Fixes #594. Fixes #1737.
2014-01-07 20:17:47 -08:00
David Glasser
8a3f24765b Add Oxford comma
http://www.washingtontimes.com/news/2013/dec/11/comma-twitter-erupts-over-obama-castro-marriage/
2014-01-07 17:23:49 -08:00
Maxime Quandalle
c6bea042b7 Update coffeescript.html 2014-01-07 17:23:34 -08:00
David Glasser
53de3f21ba Improve docs for server-to-server collections
Fixes #1723.
2014-01-07 17:15:06 -08:00
David Glasser
ce77adc22e Remove warning about update/$ 2014-01-07 17:00:18 -08:00
David Glasser
cc1d47b5c5 Wording tweak. 2014-01-07 16:34:25 -08:00