Commit Graph

1370 Commits

Author SHA1 Message Date
Sashko Stubailo
d6ca29d00a Update docs 2015-09-22 03:57:47 -04:00
Sashko Stubailo
9dcda7d941 Update docs to 1.2 2015-09-21 19:57:33 -04:00
Sashko Stubailo
f20dcfb3e6 docs for 1.2 2015-09-21 19:55:21 -04:00
Cedla
4160dc2167 Add support for platform-specific preferences in mobile-config.js
Fixes #5200.
2015-09-21 13:19:25 +02:00
Sashko Stubailo
30010f5f34 Add HubSpot to docs 2015-09-16 17:14:32 -07:00
Sashko Stubailo
7ad1d477ca Add GA to docs 2015-09-16 17:14:31 -07:00
Sashko Stubailo
423c424e1d Remove link to Meteor manual 2015-09-15 13:42:52 -07: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
c58e383178 Fix title of "Accounts (multi-server)" section in table of contents. 2015-08-19 17:24:49 -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
Anubhav Jain
d76e002f29 Removing extra space in docs to improve readability in Writing Packages section 2015-08-18 14:12:17 -07:00
Dan Dascalescu
67f905216a Fix line ending in the middle of "meteor add". Merge fix #4981. 2015-08-18 14:00:58 -07:00
Dan Dascalescu
8a06985fd2 Mention the _id is included in the user arg to onCreateUser 2015-08-18 13:58:11 -07: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
a8d2aa5fd8 Fix branch in GitHub URLs for documentation apiAutoBoxes. 2015-08-10 12:27:02 -04:00
Ben Newman
08d55c3932 Remove duplicate standard-minifiers package. 2015-08-10 12:27:01 -04:00
Ben Newman
50e4ed56ec Regenerate documentation as a baseline before making any changes. 2015-08-10 12:25:45 -04:00
Sashko Stubailo
d56e6f4345 Update docs site about meteor-platform 2015-08-06 11:44:30 -07:00
David Greenspan
2cfd6a322a Merge branch 'master' into devel 2015-08-03 14:18:55 -07:00
David Greenspan
6b5c0c6d94 Bump versions in docs and examples 2015-08-03 14:12:29 -07:00
David Greenspan
913e35d4ec bump app release versions to RC 2015-07-31 10:57:31 -07:00
Peter Choo
8121695c96 Make Spacebars links consistently link to master branch 2015-07-23 10:21:04 -07:00
David Glasser
4ab5858ab3 Run jsdoc.sh 2015-07-22 22:30:42 -07:00
David Glasser
1c93d09834 add standard-minifiers to examples
clean up some other example package usage
2015-07-22 21:28:49 -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
759b9a2c19 Updating docs 2015-07-22 09:52:09 -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
Anubhav Jain
50d3437da9 Updated comments and line sizes in markdown and rate limiter package 2015-07-22 09:52:09 -07:00
Anubhav Jain
9f9638e3a8 Added DDPRateLimiter to API docs 2015-07-22 09:52:08 -07:00
Anubhav Jain
567db5605a Changed email text to be optional in password_server.js 2015-07-21 15:22:58 -07:00
David Glasser
f59cf85740 Prepare to build Node 0.10.40 2015-07-16 21:58:14 -07:00
David Glasser
2e34ec1933 Merge branch 'devel' into batch-plugins 2015-07-16 00:47:15 -07:00
David Glasser
2f2f57e046 Revert "Move docs to the new Less batch plugin"
This reverts commit 56ad641f1b.
2015-07-16 00:33:27 -07:00
Patrick Moore
67270eecb3 Docs: Assets are not shared between packages
[stubailo: edits]
2015-07-14 15:38:27 -07:00
David Glasser
5659b111b2 Merge branch 'devel' into batch-plugins 2015-07-14 11:21:20 -07:00
Slava Kim
3311c5df9c Point to released readme of Spacebars
Fixes #4729
2015-07-12 12:47:55 -07:00
David Glasser
b75064f689 Merge branch 'devel' into batch-plugins 2015-07-09 10:48:30 -07:00
Sam
5b512437f8 Added documentation for PACKAGE_DIRS
Fixed #4661.
2015-07-02 11:20:13 -07:00
Martijn Walraven
3790e0987b Add ability to login with a case insensitive username or email
Closes #550.

`loginWithPassword` now matches username or email in a case insensitive manner.
If there are multiple users with a username or email only differing in case, a
case sensitive match is required.

Although `createUser` won't let you create users with ambiguous usernames or
emails, this could happen with existing databases or if you modify the users
collection directly.

Because MongoDB does not support case insensitive indexes, we perform a case
insensitive query both before and after inserting a new user, removing the user
when we detect another matching user has been inserted in the meantime. This
leaves us with the theoretical possibility that a server crash could occur in
between the insert and the second query or remove. In that situation there
would be two accounts with a username or email only differing in case, so we
will require a case sensitive login.
2015-06-29 19:12:52 -07:00
David Glasser
919be97b6f Merge branch 'devel' into batch-plugins
Resolves these conflicts:
	meteor
	scripts/dev-bundle-server-package.js
	scripts/dev-bundle-tool-package.js
	tools/files.js

This requires building a new dev bundle, and moving the wrapCallSite
thing to source-map-retriever-stack.js.
2015-06-26 23:24:56 -07:00
Dan Dascalescu
b687e10dfe Template.autorun is also a reactive context 2015-06-16 14:44:31 -07:00
ekatek
85a2a78e2a Squashed commit of the following:
commit 6d346097a3
Merge: 800ec27 2ce8171
Author: freiit <freiit@users.noreply.github.com>
Date:   Tue Jun 16 11:56:53 2015 +0200

    Merge pull request #1 from freiit/freiit-patch-1

    Trivial inconsistency in the docs fixed.

commit 2ce81712d6
Author: freiit <freiit@users.noreply.github.com>
Date:   Tue Jun 16 11:47:30 2015 +0200

    Trivial inconsistency in the docs fixed.
2015-06-16 14:12:04 -07:00