Commit Graph

247 Commits

Author SHA1 Message Date
Emily Stark
345d49f15a Merge branch 'cordova-hcp-oauth' into cordova-hcp
Conflicts:
	packages/oauth/package.js
	packages/standard-app-packages/package.js
2014-08-29 11:50:00 -07:00
Matthew Arbesfeld
fca5c382d5 Merge branch 'release-0.9.1' into cordova-hcp
Conflicts:
	docs/client/api.html
	docs/client/api.js
	meteor
	packages/autoupdate/autoupdate_server.js
	packages/autoupdate/package.js
	packages/constraint-solver/package.js
	packages/less/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	packages/minimongo/package.js
	packages/mongo-livedata/package.js
	packages/oauth1/package.js
	packages/package-version-parser/package.js
	packages/spiderable/package.js
	packages/standard-app-packages/package.js
	packages/templating/package.js
	packages/test-in-console/package.js
	packages/webapp/package.js
	scripts/admin/meteor-release-experimental.json
	scripts/generate-dev-bundle.sh
	tools/uniload.js
2014-08-28 21:13:59 -07:00
Andrew Wilcox
2fd00e58ba Implements the "redirect" login flow, for cases such as using a mobile
UIWebView which aren't able to use the preferred "popup" login flow.

See the specs for details:
  https://meteor.hackpad.com/OAuth-redirect-flow-spec-PeziTcaNPDP
  https://meteor.hackpad.com/OAuth-redirect-flow-part-II-vswwUKP4vXe

I extracted code to construct a URL from the `http` package into a new
`url` utility package.  The new package has no public API, it simply
has the original URL construction functions that were in `http` and
makes them available to oauth.

Fixes the Meetup account login, as Meetup now requires using
"https://api.meetup.com/2/members" instead of
"https://secure.meetup.com/2/members".

The `?close` parameter for the redirect URI is now not needed or used.
For backwards compatibility the `?close` parameter is included if the
login service configuration doesn't include the `loginStyle` field
(indicating it was created using old code).
2014-08-28 17:25:13 -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
4b1958de0a More docs fixes from MDG feedback 2014-08-28 02:36:00 -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
Matthew Arbesfeld
75427d70ce Merge branch 'devel' into cordova-hcp
Conflicts:
	docs/client/docs.js
	examples/leaderboard/.meteor/versions
	meteor
	packages/backbone/package.js
	packages/constraint-solver/package.js
	packages/meetup/package.js
	packages/meteor-tool/package.js
	packages/showdown/package.js
	packages/stylus/package.js
	scripts/admin/meteor-release-experimental.json
	tools/commands-packages.js
	tools/commands.js
	tools/project.js
	tools/tests/old/app-with-private/.meteor/versions
	tools/tests/old/app-with-public/.meteor/versions
	tools/tests/old/empty-app/.meteor/versions
2014-08-27 13:38:57 -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
Sashko Stubailo
5931697fa6 A mind-blowing number of new automatic docs 2014-08-26 16:00:01 -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
Sashko Stubailo
b9885e77f4 Meteor.absoluteUrl is now auto-documented from a comment 2014-08-25 19:57:47 -07:00
David Glasser
08b2625082 METEOR-CORE -> METEOR 2014-08-24 18:46:37 -07:00
David Glasser
50bf28b1d0 docs: minor tweaks, update table of contents 2014-08-24 17:18:07 -07:00
David Greenspan
60c894f2a6 Fix typos 2014-08-24 09:09:42 -07:00
ekatek
2e4893d8af docs apis 2014-08-24 03:02:09 -07:00
Slava Kim
a669c2d0ed meteor bundle -> meteor build in docs app 2014-08-20 13:54:14 -07:00
Sashko Stubailo
654c7b4bc8 Add Meteor.isCordova to docs 2014-08-20 13:20:17 -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
f362f949af UI.data() / UI.data(view) / UI.data(element)
Question: Keep UI.getElementData in docs, or just for back-compat?
2014-08-15 16:17:23 -07:00
David Greenspan
aa0211a63c UI.View docs 2014-08-14 20:13:48 -07:00
David Glasser
afd77b4d0e Clarify that C.find(selector) is optional
Fixes #2353. Fixes #2367.
2014-08-07 14:41:47 -07:00
Emily Stark
3ad5ff6c90 Merge branch 'master' into devel
Conflicts:
	packages/mongo-livedata/oplog_observe_driver.js
2014-07-29 14:40:44 -07:00
David Greenspan
6ec8f05e4c Docs changes for 0.8.3 2014-07-25 16:07:16 -07:00
Ryan Yeske
be73e042a1 recognize forceApprovalPrompt option in Accounts.ui.config
this option was originally added via #1226
2014-07-21 18:34:28 -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
da356dad0f Remove sentence about SRP from docs 2014-06-24 08:33:02 -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
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
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
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
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