Commit Graph

350 Commits

Author SHA1 Message Date
David Greenspan
6ec8f05e4c Docs changes for 0.8.3 2014-07-25 16:07:16 -07:00
David Greenspan
e970d5381d Merge branch 'blaze-refactor' into devel
Conflicts:
	packages/spacebars-tests/template_tests.html
	packages/spacebars-tests/template_tests.js
	packages/ui/render.js
2014-07-10 16:29:20 -07:00
Maria Pacana
ecb366f62e Revised wording about Manual on docs page. 2014-07-08 18:56:02 -07:00
Maria Pacana
478899c4d3 Added links to Meteor Manual on docs page. 2014-07-08 18:40:26 -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 Greenspan
8afc41f0ef Remove mentions of “Component” from docs
“instantiated component” -> “rendered template”
2014-07-08 12:18:13 -07:00
Emily Stark
d962d498c8 Remove more SRP from docs 2014-07-07 11:45:03 -07:00
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
Tim Phillips
b3d7434e06 Add command line h1 to docs
Remove unused template
2014-06-10 16:40:26 -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
bf8426322c Merge branch 'master' into devel 2014-05-22 09:50:17 -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
74bcb916b4 Doc and history updates for 4777e64336 2014-05-06 14:11:40 -07:00
David Glasser
3740d42f2d Document Accounts.loginServicesConfigured
Fixes #1051.  See also #2048.
2014-04-21 18:50:44 -07:00
David Glasser
da0138c72a Add guidance on how to use validateLoginAttempt
Addresses #1960.
2014-04-03 16:59:02 -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
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
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
Nick Martin
79ad5437c7 Note that connection is also passed to login hooks. 2014-03-18 01:28:10 -07:00
Nick Martin
d8575d0a24 Merge branch 'devel' into shark 2014-03-17 15:51:18 -07:00
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
f0b692679e Merge remote-tracking branch 'origin/devel' into login-hooks 2014-03-11 01:02:20 -07:00
David Greenspan
084ee3bf4f Merge branch 'devel' into shark
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-03-06 16:21:33 -08:00
David Greenspan
d27fa802b7 Change {{> content}} to {{> UI.contentBlock}}
...and elseContent to UI.elseBlock.
2014-03-04 20:08:22 -08: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
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
bbc8fe2809 Remove Accounts.loginServiceConfiguration from docs 2014-02-22 13:27:41 -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
Dan Dascalescu
3204ffa42b Update link to mongo page for selector syntax 2014-02-12 16:14:42 -08:00