Commit Graph

144 Commits

Author SHA1 Message Date
Sheel Patel
a28aa7f95c Fixed incorrect property name in documentation 2016-01-07 22:43:52 -08:00
Sashko Stubailo
fdc4b3c6ce Make some more improvements 2016-01-06 18:51:55 -08:00
Sashko Stubailo
35df54c108 Remove parts of docs that are in the Meteor Guide now 2016-01-06 18:51:55 -08:00
Rahul
d83235a7d1 Tiny typo 2015-12-29 13:25:22 +01:00
Olivier Ricordeau
3dd1d0b632 Fix #5416 Include meteor shell reference in docs 2015-12-13 04:00:24 +01:00
Dan Dascalescu
72da78897e Clarify what Meteor.startup does, eps. on the server 2015-10-22 22:55:14 -07:00
Nathan Perry
81c4a7ce66 Adds documentation for ignored folders
Based on https://github.com/meteor/meteor/blob/devel/tools/isobuild/package-source.js#L1303 these addintoal folders are ignored but not documented. Some of them may be intentionally left out of the documentation but I'm just suggesting adding documentation for all that seem appropriate.

I tried to reuse the phrase "not loaded anywhere" even if it's a bit awkward phrasing, I think. I wasn't sure if the Meteor file gobbler (as I like to call it) should be called an "autoloader" or something else...

[stubailo: squashed and improved]
2015-10-13 10:52:29 -07:00
Max Nowack
53a1c013c7 Make Template.dynamic work as a block helper
Fixes #4756
2015-10-12 22:03:46 -07:00
Dan Dascalescu
8a8072bcd1 Smallest typo fix 2015-10-06 15:51:33 -07: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
423c424e1d Remove link to Meteor manual 2015-09-15 13:42:52 -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
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
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
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
Peter Choo
8121695c96 Make Spacebars links consistently link to master branch 2015-07-23 10:21:04 -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
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
David Glasser
6395521041 Document valid template names
Fixes #4417.

See also #1602.
2015-06-10 15:12:56 -07:00
David Glasser
67e13306c6 Document rawCollection/rawDatabase
Fixes #4509.
2015-06-10 14:41:42 -07:00
Dan Dascalescu
9adcfd32dc Typo fix 2015-06-10 13:53:10 -07:00
Slava Kim
27c0843bfc Add docs about meteor lint to docs 2015-06-04 01:19:11 -07:00
Slava Kim
56ad641f1b Move docs to the new Less batch plugin 2015-06-04 01:19:11 -07:00
Mitar
2e7697391b Ignore node_modules directory. Fixes #4452
Fixes #4457.
2015-06-02 13:50:02 -07:00
Sashko Stubailo
5511298a13 Improve new template.subscribe example 2015-05-29 12:44:54 -04:00
Sashko Stubailo
fcc83be5bd Add another example for template.subscribe 2015-05-19 11:30:22 -07:00