Commit Graph

205 Commits

Author SHA1 Message Date
Avital Oliver
78577b26a2 docs on 0.9.1 2014-09-04 16:43:55 -07:00
Avital Oliver
d80f35bdb0 docs on 0.9.1-rc3 2014-09-03 10:17:13 -07:00
Sashko Stubailo
3bec66979a Rename Meteor.Collection -> Mongo
Summary:
Meteor.Collection -> Mongo.Collection
Meteor.Collection.ObjectID -> Mongo.ObjectID
Meteor.Collection.Cursor -> Mongo.Cursor

Test Plan:
meteor test-packages
meteor self-test

Reviewers: avital, dgreenspan

Reviewed By: dgreenspan

CC: emily, dgreenspan

Differential Revision: https://phabricator.meteor.com/D796
2014-08-29 14:29:44 -07:00
Sashko Stubailo
84f1fcace1 Fix docs and self-test 2014-08-29 11:52:33 -07:00
Sashko Stubailo
87b13e1b5a Rename Mongo.Collection.Cursor -> Mongo.Cursor, Mongo.Collection.ObjectID -> Mongo.ObjectID 2014-08-29 10:29:01 -07:00
Avital Oliver
171df064fb Update docs to 0.9.1-rc2 2014-08-29 09:25:28 -07:00
David Greenspan
1dedd89387 Eliminate UI from docs; add some API to Template!
By choosing names like Template.registerHelper(…) and Template.instance() (instead of Blaze), we can separate the “Templates” section and the “Blaze” section of the docs.
2014-08-28 04:11:25 -07:00
David Greenspan
db17540f2f findView becomes getView, has no viewName arg
Also, make UI.templateInstance() not throw, to match the docs.
2014-08-28 02:46:13 -07:00
David Greenspan
c081213fc9 Deprecate UI.insert and isAttached in docs
Also:
* Rework UI.render and UI.remove docs
* Get rid of reference to UI.destroy
* Document optional parentView argument to UI.render[withData]
2014-08-28 02:28:16 -07:00
David Greenspan
cecf89516e Call the template instance template, not this
But keep some occurrences of `this` for clarity; for example, “in a rendered callback you can use `this.findAll`”.
2014-08-28 00:53:22 -07:00
David Greenspan
d951e45a1b docs: move ReactiveVar to own package 2014-08-28 00:31:23 -07:00
David Greenspan
8345de74e9 Merge branch 'devel' into blaze-templates
Conflicts:
	docs/.meteor/versions
	docs/client/api.html
	docs/client/docs.js
	packages/blaze/builtins.js
	packages/blaze/materializer.js
	packages/blaze/render_tests.js
	packages/blaze/view.js
	packages/livedata/package.js
	packages/minimongo/package.js
	packages/reactive-var/reactive-var.js
	packages/standard-app-packages/package.js
	packages/templating/templating.js
	packages/test-helpers/reactivevar.js
	packages/test-in-browser/package.js
	packages/ui/package.js
2014-08-27 22:34:21 -07:00
David Greenspan
d2eaa25d92 UI.body to Template.body 2014-08-27 21:01:51 -07:00
Sashko Stubailo
d224143c54 Rename Deps to Tracker in the docs 2014-08-27 20:20:53 -07:00
Sashko Stubailo
093c98cad0 Fix type link checker 2014-08-27 19:23:00 -07:00
Sashko Stubailo
27d48b4ede Merge branch 'devel' into jsdoc
Conflicts:
	meteor
2014-08-27 18:52:40 -07:00
Emily Stark
8e6b2faeca Update docs and examples to 0.9.0.1 2014-08-27 15:52:21 -07:00
Sashko Stubailo
40dc5e7735 Fix some arguments 2014-08-27 11:17:40 -07:00
Sashko Stubailo
e50f71f404 Revert "Updating ids and links"
This reverts commit 47c5e638b9.
2014-08-26 21:41:39 -07:00
Sashko Stubailo
47c5e638b9 Updating ids and links 2014-08-26 21:34:42 -07:00
David Greenspan
5eae6f409e Remove UI.destroy
Don’t fix the docs yet; will do a pass that includes removing UI.insert
2014-08-26 14:12:30 -07:00
David Greenspan
02fccd56d8 Merge remote-tracking branch 'origin/devel' into blaze-templates
Conflicts:
	docs/.meteor/versions
2014-08-26 12:34:36 -07:00
David Glasser
50bf28b1d0 docs: minor tweaks, update table of contents 2014-08-24 17:18:07 -07:00
ekatek
2e4893d8af docs apis 2014-08-24 03:02:09 -07:00
ekatek
b96f455b80 docs changes: everything but the API 2014-08-23 22:15:46 -07:00
ekatek
6154916bfd changing release name and removing the release override 2014-08-23 20:32:32 -07:00
David Greenspan
715d0474cf Document UI.ReactiveVar 2014-08-18 17:27:02 -07:00
David Greenspan
e10e920942 UI.findView (instead of getCurrentView, etc.) 2014-08-18 17:05:37 -07:00
David Greenspan
f9b59995da More docs 2014-08-18 16:32:58 -07:00
David Greenspan
dee86be33e Mucho API docs for UI 2014-08-18 14:32:27 -07:00
David Greenspan
aa0211a63c UI.View docs 2014-08-14 20:13:48 -07:00
David Greenspan
6ec8f05e4c Docs changes for 0.8.3 2014-07-25 16:07:16 -07:00
David Greenspan
fe1cd72a8e Document UI.remove
Also tweak the warning about non-jQuery removals
2014-07-08 13:13:05 -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
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
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