Commit Graph

135 Commits

Author SHA1 Message Date
Cedla
4160dc2167 Add support for platform-specific preferences in mobile-config.js
Fixes #5200.
2015-09-21 13:19:25 +02:00
David Greenspan
37566f2fc6 run jsdocs 2015-09-09 18:24:27 -07:00
Sashko Stubailo
0bb7c7c0b2 New addAssets package.js API; same file can be source and asset
1. Add `addAssets` API to `package.js`
2. Rename `getSourcesFunc` to `getFiles` in internal code
3. Changed `PackageAPI#sources` to `PackageAPI#files` with a new structure that
   has separate objects for assets and sources
4. Added some tests for different error conditions
5. The same file can now be a source and an asset
2015-09-02 13:14:02 -07:00
Sashko Stubailo
e5d0badc38 Update docs data 2015-09-01 14:08:09 -07:00
Sashko Stubailo
a96e0e1009 Correctly format doc comment about options 2015-08-28 10:52:49 -07:00
David Greenspan
2b751b549b Merge branch 'devel' into release-1.2 2015-08-26 17:13:32 -07:00
Martijn Walraven
dac019fda8 Add case-insensitive accounts-password utility functions
Since we have added additional constraints to the database around case
sensitivity, we now want to discourage people from working with the Accounts
collection directly and provide an API for changing certain fields in a correct
way.

Methods that do database checks before and after the operation:
  Accounts.setUsername
  Accounts.addEmail
  Accounts.removeEmail

Methods that make sure to use a case-insensitive query to retrieve the user
  Accounts.findUserByUsername
  Accounts.findUserByEmail

PR #5024
2015-08-26 12:07:51 -07:00
Ben Newman
95d7212edc Fix @class name for AccountsCommon. 2015-08-19 17:29:02 -04:00
Ben Newman
62ced17a9d Convert Accounts{Common,Client,Server} to ES2015 classes.
Now with proper documentation!

Closes #4930.
2015-08-19 17:20:58 -04:00
Ben Newman
9d6927bb02 Revert "Fix branch in GitHub URLs for documentation apiAutoBoxes."
We push to the master branch before deploying docs, so this was correct to
begin with (in production if not in development).

This reverts commit a8d2aa5fd8.

Also reverting commit 7cf025c8eb, which was
pushed by accident.
2015-08-10 16:32:46 -04:00
Ben Newman
7cf025c8eb working 2015-08-10 14:01:28 -04:00
Ben Newman
50e4ed56ec Regenerate documentation as a baseline before making any changes. 2015-08-10 12:25:45 -04:00
David Glasser
4ab5858ab3 Run jsdoc.sh 2015-07-22 22:30:42 -07:00
Anubhav Jain
6a525fbea7 Updated DDPRateLimiter structure per Avi's suggestions and modified tests.
Updated documentation and default rate limit as well.
2015-07-22 09:52:10 -07:00
Anubhav Jain
13331009d0 Making more code fixes and documentation update 2015-07-22 09:52:09 -07:00
Anubhav Jain
4cc907f7e4 Updating docs and fixing code review comments. 2015-07-22 09:52:09 -07:00
David Glasser
91ce1561c3 tracker: implement Computation.onStop
Fixes #3915.
2015-04-29 00:18:13 -07:00
David Glasser
342a234e85 jsdoc update; fix api boxes broken by #4191 2015-04-29 00:17:01 -07:00
Slava Kim
cdaaa6b0eb Merge branch 'master' into devel 2015-04-02 14:43:23 -07:00
angelo
93cf9cecd6 added basic attachments handling
now Email.send(options) options support options.attachments, which is assumed to be [] of attachment objects.

see here https://github.com/andris9/mailcomposer#add-attachments for supported attachment object structure.
tested it at my current project. going to propose pull request.

PR #3772

[stubailo: added link to the above page in the docs, removed extra comment]
2015-04-01 17:40:22 -07:00
zyzo
a68ff30be4 Issue #3916: Add links to GitHub source code to docs
PR #3934

[stubailo: some improvements]
2015-04-01 17:32:13 -07:00
Sashko Stubailo
9fe2f4b442 Merge pull request #4099 from meteor/template-subs-connection
Template subs connection
2015-04-01 17:30:11 -07:00
zyzo
4689ee7dfa Issue #3916: Add links to GitHub source code to docs
PR #3934

[stubailo: some improvements]
2015-04-01 17:21:05 -07:00
Sashko Stubailo
ac93ac5ed1 Fix up commit, add better docs 2015-04-01 17:03:53 -07:00
Slava Kim
c9fd50d0f4 Merge branch 'tracker-errors' into release-1.1 2015-03-25 19:33:56 -07:00
Sashko Stubailo
46d6de3106 Re-run docs script 2015-03-25 16:52:49 -07:00
David Glasser
21bdac8734 Merge branch 'master' into devel
Conflicts:
	History.md
	packages/accounts-password/package.js
	packages/accounts-password/password_server.js
	packages/constraint-solver/package.js
	packages/meteor-tool/package.js
	packages/non-core/npm-bcrypt/package.js
	packages/package-version-parser/package-version-parser-tests.js
	packages/package-version-parser/package-version-parser.js
	packages/package-version-parser/package.js
	tools/selftest.js
2015-03-17 13:41:14 -07:00
Slava Kim
1df8d15275 Put extra onError callback of Tracker.autorun to a named options object 2015-03-17 00:42:35 -07:00
Slava Kim
b3e1c4d89a Docs: Put TrackerComputationFunction typedef to Tracker namespace 2015-03-17 00:20:32 -07:00
Slava Kim
c8d02245e3 Generate references to typedefs but omit them in docs 2015-03-14 23:05:26 -07:00
David Glasser
aca23adb70 Update docs for 1.0.4-rc.3 2015-03-11 15:54:44 -07:00
David Glasser
7ff27f4e17 Update more docs about onStop 2015-03-05 21:36:18 -08:00
David Glasser
7e1ec96afd jsdoc update 2015-03-05 21:25:57 -08:00
Ben Newman
af50b4cc5b Define a class called PackageAPI and put it in its own file.
Summary:
The methods of the ad-hoc `api` object needed access to very few variables
from the surrounding lexical environment, and those few variables
(`sources`, `exports`, `uses`, `implies`) are better regarded as member
variables of the `PackageAPI` class.

Test Plan: `meteor test-packages`

Reviewers: Slava, dgreensp, glasser

Reviewed By: glasser

Differential Revision: https://phabricator.meteor.io/D30
2015-03-03 14:27:04 -05:00
Jacek Migdal
b5861c114a Implement Account.onLogin/onLoginFailure on client.
https://github.com/meteor/meteor/issues/3572
2015-02-23 21:51:26 -08:00
Sashko Stubailo
ee59870e06 Add docs about new Session.set API, wrap doc comments 2015-02-23 21:42:13 -08:00
Slava Kim
37f3230591 Merge branch 'upgrade-cordova' into devel
This merge applies changes to the dev-bundle script, but the new dev-bundle is
yet to be built.
2015-02-16 14:07:00 -08:00
Sashko Stubailo
e62268609f Make docs data serialization stable so that diffs are viable 2015-02-12 10:27:48 -08:00
Sashko Stubailo
c0aab1e8d3 Template-level subscriptions 2015-02-11 18:10:33 -08:00
Sashko Stubailo
085e02d525 Add onStopped callback to subscriptions
Also, add subscriptionId to handles
Fixes #1461
2015-02-11 18:10:33 -08:00
Sashko Stubailo
b0ecad0ce2 Fix documentation of Template.currentData 2015-01-26 16:16:30 -08:00
Slava Kim
47150e02a3 Add docs, put the description to summary section 2015-01-23 16:03:08 -08:00
Slava Kim
e2b78cfd0b Merge branch 'templateEventsMethods' into devel
Adds Template#onRendered, Template#onCreated and Template#onDestroyed methods
2015-01-21 11:02:09 -08:00
Slava Kim
c361b8eeee Update documentation about Template#onCreated/onRendered/onDestroyed 2015-01-16 11:29:22 -08:00
ekatek
8243ba4ac1 update docs 2015-01-13 19:21:46 -08:00
David Glasser
e3b5a5f3ef update jsdoc 2014-12-19 10:15:30 -08:00
David Greenspan
3aadefa71d History.md and docs tweaks 2014-12-08 14:01:03 -08:00
Sashko Stubailo
6493d6ae15 Search-as-you-type for docs.meteor.com
Conflicts:
	docs/client/data.js
2014-12-05 13:16:57 -08:00
David Glasser
3e08cdf0b8 update data.js 2014-12-03 15:00:25 -08:00
Slava Kim
50e6d3143d Update data.js and names.json 2014-11-03 17:38:26 -08:00