Commit Graph

649 Commits

Author SHA1 Message Date
David Glasser
6bf6480569 Clarify that your publisher must do SOMETHING
Either return cursor(s), or use the low-level API.

Fixes #2253
2014-06-27 16:48:20 -07:00
Emily Stark
da356dad0f Remove sentence about SRP from docs 2014-06-24 08:33:02 -07:00
Emily Stark
51e1429d86 Make docs npm install one line 2014-06-23 16:39:27 -07:00
Emily Stark
969009460c Update docs for bcrypt dependency 2014-06-23 16:35:55 -07:00
Emily Stark
1180597f06 bump dev bundle; upgrade node 2014-06-16 18:17:21 -07:00
Tim Phillips
b3d7434e06 Add command line h1 to docs
Remove unused template
2014-06-10 16:40:26 -07:00
Emily Stark
05bfdc297e Merge branch 'pr/2183' into devel 2014-06-10 15:17:24 -07:00
Emily Stark
ab6091ef43 Add docs for Meteor.loginWithMDA userEmail option. 2014-06-10 15:11:23 -07:00
David Glasser
b5a0613f85 Remove cursor.rewind interface
Our cursor interface has no nextObject method, so there's no point in
having a rewind method. Its major effect is ensuring that
fetch/forEach/map return no documents if you've already called one of
them once. It's not clear why this is actually useful to anybody.

rewind is kept around as a no-op; if we later implement nextObject, we
can make rewind do something, but we still presumably would auto-rewind
before fetch/forEach/map.

In minimongo, remove the db_objects cache inside each cursor. The only
actual use of this cache was that if you called count multiple times, it
would return the same number without re-running the query, and you could
share the query work between N calls to count and one call to
fetch/forEach/map (but only one call! future calls would return
nothing!)  While there's a minor performance hit from getting rid of
this cache, it should also use a little less memory, and enable use
cases like

   {{#with someCursor}}
     {{#if count}}
        {{#each this}}
          ...
        {{/each}}
     {{/if}}
   {{/with}}

which didn't work before because even the deps invalidation didn't
rewind the cursor.

Also, as a minor optimization, skip an EJSON.clone if there's a
projection, because projection functions are guaranteed to clone.

Fixes #2114
2014-06-05 13:18:51 -07:00
Avital Oliver
284f71666d Improve docs for this.$ and this.findAll 2014-05-29 17:53:50 -07:00
Hubert OG
95c3ff365b Separated findAll and $ 2014-05-29 17:53:50 -07:00
Emily Stark
1492da8ed4 Fix docs typo 2014-05-22 12:10:26 -07:00
Emily Stark
bf8426322c Merge branch 'master' into devel 2014-05-22 09:50:17 -07:00
David Glasser
9f477e974d Remove statement about Rails and Django
Fixes #2142.  Apparently Django doesn't work precisely this way.
2014-05-14 17:20:50 -07:00
Avital Oliver
910f75f359 Document UI.getElementData
While doing this, I realized that this function
can be called on text nodes as well, so it's probably
better named UI.getNodeData?
2014-05-13 11:27:19 -07:00
David Glasser
d6e53c0428 cleanup HTML 2014-05-08 18:00:35 -07:00
Cangit
829325928e Update commandline.html
Removed deprecated --password command from docs. Added info on new practices.
2014-05-08 17:58:41 -07:00
Emily Stark
a8673d01cd Set X-Content-Type-Options in browser-policy-content 2014-05-08 12:12:45 -07:00
David Glasser
74bcb916b4 Doc and history updates for 4777e64336 2014-05-06 14:11:40 -07:00
David Glasser
f2e2a781cc Update Node to 0.10.28 which includes our npm fix 2014-05-02 10:59:37 -07:00
Dan Dascalescu
3eeb7e61bd Mark reason and error as optional in new Meteor.Error 2014-04-29 16:25:38 -07:00
David Glasser
c35593c574 Improve documentation of Meteor.settings
Fixes #2005.
2014-04-24 14:13:05 -07:00
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
Emily Stark
55363a9b86 Merge remote-tracking branch 'origin/devel' into awwx-oauth-encryption
Conflicts:
	History.md
	packages/facebook/facebook_client.js
	packages/github/github_client.js
	packages/google/google_client.js
	packages/meetup/meetup_client.js
	packages/meteor-developer/meteor_developer_client.js
	packages/twitter/twitter_client.js
	packages/weibo/weibo_client.js
2014-04-22 11:31:31 -07:00
David Glasser
ce201682f0 Warn about unready publications to spiderable docs
Fixes #1149.
2014-04-21 19:17:51 -07:00
David Glasser
3740d42f2d Document Accounts.loginServicesConfigured
Fixes #1051.  See also #2048.
2014-04-21 18:50:44 -07:00
Emily Stark
66b73e170e Merge branch 'oauth-encryption' of https://github.com/awwx/meteor into awwx-oauth-encryption
Conflicts:
	packages/facebook/facebook_client.js
	packages/github/github_client.js
	packages/google/google_client.js
	packages/meetup/meetup_client.js
	packages/meteor-developer/meteor_developer_client.js
	packages/oauth/pending_credentials.js
	packages/twitter/twitter_client.js
	packages/weibo/weibo_client.js
2014-04-21 11:08:43 -07:00
Emily Stark
9e42f5b37a Add docs for Random.secret 2014-04-17 16:12:24 -07:00
Dan Dascalescu
f41223ba38 Document that followRedirects defaults to true
Per https://github.com/mikeal/request#requestoptions-callback
2014-04-16 14:24:13 -07:00
David Glasser
440ca4cd4d Improve HTTP.call doc list of methods. 2014-04-16 14:18:32 -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
Nick Martin
714e513b99 Upgrade Node.js from 0.10.25 to 0.10.26 2014-04-07 22:56:41 -07:00
David Glasser
da0138c72a Add guidance on how to use validateLoginAttempt
Addresses #1960.
2014-04-03 16:59:02 -07:00
David Glasser
aa903dc6be docs: Fix trailing comma (breaks IE8) 2014-03-27 12:59:21 -07:00
David Glasser
c89f5fd030 doc tweaks 2014-03-27 10:02:57 -07:00
David Glasser
ea10dfc545 Update concepts section 2014-03-26 19:38:02 -07:00
David Glasser
8ef35b7bfd warning about manual rendering 2014-03-26 17:31:42 -07:00
David Glasser
5fcae3cd26 Actually, remove deps.flush render thing
It is no longer true.
2014-03-26 14:50:07 -07:00
David Glasser
6a8f738ffb Remove more references to Meteor.render 2014-03-26 13:54:54 -07:00
David Glasser
f3000b69bb Redo Templates *API* section in docs 2014-03-26 13:37:26 -07:00
David Glasser
a965a117d2 Replace one instance of Meteor.render 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
5252692de5 Update docs for {{> loginButtons}} 2014-03-25 16:02:40 -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
David Glasser
79551f0aa6 Document relationship between two validate hooks 2014-03-18 14:08:30 -07:00
Nick Martin
d3295f1f41 combine onLogin and onLoginFailure in docs. 2014-03-18 13:46:24 -07:00