Commit Graph

169 Commits

Author SHA1 Message Date
emgee3
cbd55698fd Add collapsing TOC to Meteor Docs
On small devices (< 768 px) make the Table of Contents hide by default.
2014-04-24 13:45:55 -07:00
Andrew Wilcox
83af2e2179 oauth-encryption code review items
Have `OAuthEncryption.open` throw "decryption unsuccessful" on any
error to avoid allowing an attacker to break the encryption key by
observing the result of sending manipulated ciphertexts.

Add oauth-encryption and the oauthSecretKey config options to the docs
page.

Update history.

More documentation on functions.

Use `OAuth.sealSecret(...)` instead of `{seal: ...}`.

Rename OAuth._openSecret(s) to OAuth.openSecret(s).

In the readme describing how to generate a key, just use Node instead
of going through the hassle of creating a Meteor application.

Have the `oauth` package weakly depend on `oauth-encryption` for when
it's being used without accounts.

Add tips on using oauth-encryption without accounts to the readme.
2014-04-10 14:26:44 -04:00
David Glasser
aa903dc6be docs: Fix trailing comma (breaks IE8) 2014-03-27 12:59:21 -07:00
David Glasser
ea10dfc545 Update concepts section 2014-03-26 19:38:02 -07:00
David Glasser
f3000b69bb Redo Templates *API* section in docs 2014-03-26 13:37:26 -07:00
David Glasser
952fb4d01b a bunch of updates to Templates api section 2014-03-25 17:07:24 -07:00
David Glasser
e7c2cb5c00 Delete docs for isolate 2014-03-25 15:59:44 -07:00
David Glasser
73cf568af1 Delete docs for constant 2014-03-25 15:59:13 -07:00
David Glasser
4ca31f1dea Delete docs for preserve 2014-03-25 15:56:11 -07:00
David Glasser
a5601ecd19 Merge remote-tracking branch 'origin/master' into release-0.8.0
Conflicts:
	docs/.meteor/release
2014-03-25 15:02:59 -07:00
Avital Oliver
4ba1abb79e Handlebars.registerHelper -> UI.registerHelper 2014-03-22 00:47:02 -07:00
Nick Martin
d3295f1f41 combine onLogin and onLoginFailure in docs. 2014-03-18 13:46:24 -07:00
Nick Martin
d8575d0a24 Merge branch 'devel' into shark 2014-03-17 15:51:18 -07:00
Nick Martin
f0b692679e Merge remote-tracking branch 'origin/devel' into login-hooks 2014-03-11 01:02:20 -07:00
Avital Oliver
5671eaa2b7 Merge branch 'devel' into shark
Conflicts:
	packages/minifiers/package.js
	packages/preserve-inputs/package.js
	packages/test-in-browser/driver.css
	packages/test-in-browser/driver.js
2014-02-25 15:50:36 -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
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
c16c1c1e19 Reorder table of contents 2014-02-12 15:35:03 -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
Avital Oliver
e8dcd0d707 Remove bad helper
We made it accessible because of a recent
change to lookup order in template inclusions
that also have helpers.
2014-02-03 23:22:01 -08:00
David Glasser
6471dce8fa Merge branch 'devel' into shark 2014-01-27 13:58:11 -08:00
Avital Oliver
ae67643a3f Make docs work on shark 2014-01-22 16:34:56 -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
David Glasser
1ec9b1da71 Merge branch 'devel' into shark
"templating - template arg" fails before and after this merge

Conflicts:
	packages/handlebars/.npm/package/npm-shrinkwrap.json
	packages/handlebars/package.js
           (semi-updating handlebars to shrink package size, vs deleting)

	packages/minifiers/package.js
           (two different new tests)

	packages/minimongo/minimongo.js
           (observe moved to a new file)
2013-12-13 10:05:55 -08:00
Nick Martin
a3bbb6dfa1 Update and tweak docs for new name. 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
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
David Greenspan
2af0c6c601 expose check_links() in docs 2013-10-07 16:17:09 -07:00
Avital Oliver
a39a8bd1ac docs closer to working 2013-10-07 15:50:47 -07:00
Avital Oliver
01ce66310e work towards porting docs 2013-10-07 15:50:46 -07:00
David Greenspan
2378cbfbdc Merge branch 'devel' into shark 2013-10-07 10:25:20 -07:00
Avital Oliver
17129ee45a fix docs modulo block helpers args (i think) 2013-10-04 13:56:03 -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
Emily Stark
f67cf78b2d Add docs for loginExpirationInDays and logoutOtherClients() 2013-10-02 11:37:27 -07:00
Emily Stark
a102872a96 Rework browser-policy to make API more intuitive.
- Remove starter-browser-policy and replace it with
  BrowserPolicy.enableContentSecurityPolicy(), which gives you the starter
  policy and allows you to use the other BrowserPolicy functions to configure
  it. This is motivated by the fact that the API isn't very intuitive without a
  well-defined starting policy. ex: if the package starts off without a policy,
  and then the user calls allowAllContentSameOrigin(), that will result in
  turning off inline scripts, which is probably not what they wanted.
- AllContent functions do more of what you'd expect now;
  i.e. BrowserPolicy.disallowAllContent() actually disallows all content,
  instead of setting default-src to 'none', which will allow other types of
  content that have previously had srcs set for them.
- Add some tests
2013-09-28 18:44:04 -07:00
Emily Stark
e6300461b1 Reorganize browser-policy docs a bit.
Addressing Nick's suggestions. Haven't decided yet about combining
browser-policy and starter-browser-policy docs.
2013-09-28 18:44:04 -07:00
Emily Stark
4893fe048c Package for security-related http headers. 2013-09-28 18:44:04 -07:00
Nick Martin
5d4849d361 bump docs version too. eventually this won't be needed. 2013-08-27 20:28:56 -07:00
Emily Stark
cdb6f90b66 Bump docs version to latest galaxy 2013-08-27 20:28:09 -07:00
Geoff Schmidt
673b8462b1 Draft of doc updates for new packages system. 2013-08-13 01:32:23 -07:00
Nick Martin
e2344a2a07 Fixup ids for Meteor.http -> HTTP transition. 2013-08-09 17:52:25 -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
Zoltan Olah
853bdb4df2 Documentation for Meteor.disconnect(). 2013-07-25 16:55:59 -07:00
Emily Stark
7046d4cc91 Assets docs 2013-06-28 14:55:47 -07:00