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
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
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
c48dbfe477 Remove $ signs from docs 2015-04-28 16:01:21 -07:00
Slava Kim
5df2be6398 s/unassigned/unsigned 2015-04-21 14:24:05 -07:00
Warren Seine
eb232109a2 Fix typo in documentation. 2015-04-14 15:21:42 -07:00
Eric Wyne
f25c3683a4 change docs to doc
This parameter name is misleading. A single document is passed to the Meteor.deny({update}) function, not an array of documents
2015-04-14 14:36:58 -07:00
David Glasser
af647f7e7e Tweaks 2015-04-14 14:08:27 -07:00
Henry Todd
93b3519ad7 Add notice about ROOT_URL to OAuth API docs
A possible pitfall when configuring OAuth is that after proxying the Meteor application behind (for instance) nginx, the ROOT_URL doesn't match the hostname/port combination expected.
2015-04-14 14:06:46 -07:00
Slava Kim
cdaaa6b0eb Merge branch 'master' into devel 2015-04-02 14:43:23 -07:00