Commit Graph

1775 Commits

Author SHA1 Message Date
Simon Ho d32c65d45d Clean up .jshintrc 2015-09-25 01:34:49 -07:00
Miroslav Bajtoš 6fa57754ab 2.22.2
* Use strongloop conventions for licensing (Sam Roberts)
 * Set package license to MIT (Sam Roberts)
2015-09-23 09:34:37 +02:00
Sam Roberts 42029649eb Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Sam Roberts 5f51ba9a19 Set package license to MIT 2015-09-21 15:40:55 -07:00
Miroslav Bajtoš 063e3c72ea 2.22.1
* Fix perf of rectification after updateAttributes (Miroslav Bajtoš)
 * Update persisted-model.js (Rand McKinney)
 * Stop NPM license warning (Simon Ho)
2015-09-18 17:07:32 +02:00
Miroslav Bajtoš c87bf9a1da Merge pull request #1681 from strongloop/fix/replication-perf-on-save
Fix perf of rectification after updateAttributes
2015-09-18 17:05:14 +02:00
Miroslav Bajtoš 89326c7630 Fix perf of rectification after updateAttributes
Improve the id-detection algorithm in the "after save" hook
to correctly handle "updateAttributes" as a single-model change
and DO NOT trigger full "rectify all" scan.
2015-09-17 19:23:00 +02:00
Felipe Oliveira Carvalho 355ff8ee41 Update comment about user ACL to reflect implementation 2015-09-11 21:57:55 -03:00
Rand McKinney 8d02e42cf3 Update persisted-model.js
Remove trailing whitespace.
2015-09-09 16:08:20 -07:00
Rand McKinney 3821824c97 Update persisted-model.js
Fix links in API docs to docs for where filter
2015-09-09 15:46:53 -07:00
Simon Ho 9b255f4d10 Merge pull request #1656 from strongloop/feature/stop-license-warning
Stop NPM license warning
2015-09-09 14:25:56 -07:00
Simon Ho 457267ac64 Stop NPM license warning 2015-09-08 17:42:19 -07:00
Miroslav Bajtoš 15c1ac8bb5 2.22.0
* Create stack-removing errorhandler middleware (Richard Walker)
 * Update README.md (Rand McKinney)
 * Allow EJS templates to use includes (Samuel Gaus)
 * Fix options.to assertion message in user.verify (Farid Nouri Neshat)
 * Upgrade Travis to container-based infrastructure (Miroslav Bajtoš)
 * fix typo "PeristedModel" (Christoph)
2015-09-03 09:22:59 +02:00
Miroslav Bajtoš 57e40cf3a4 Merge pull request #1502 from digitalsadhu/suppress_stack_traces_in_production#564
Suppress error handler stack traces in production

Close #1502
Fix #564
2015-09-03 08:40:41 +02:00
Richard Walker 65ca318392 Create stack-removing errorhandler middleware
Create a wrapper around express' errorhandler that removes the stack
trace from error responses when "options.includeStack" is false.
2015-09-03 08:38:24 +02:00
Rand McKinney 54762260db Update README.md
Fix link to loopback.io so it shows as link on npmjs.
2015-09-02 13:05:23 -07:00
Miroslav Bajtoš bab1d5dae8 Merge pull request #1632 from gausie/patch-2
Allow EJS templates to use includes
2015-08-31 18:15:16 +02:00
Miroslav Bajtoš 5726868d87 Merge pull request #1593 from webvariants/master
fix typo "PeristedModel"
2015-08-31 18:14:53 +02:00
Samuel Gaus ecc98fd29c Allow EJS templates to use includes
Simple change that allows templates to use includes.
2015-08-27 16:37:04 +01:00
Simon Ho ab3a9502f6 Merge pull request #1624 from alFReD-NSH/patch-1
Fix options.to assertion message in user.verify
2015-08-26 16:55:39 -07:00
Farid Nouri Neshat 1cc25923a7 Fix options.to assertion message in user.verify 2015-08-27 00:25:09 +08:00
Miroslav Bajtoš 5625f1876d Merge pull request #1618 from strongloop/fix/travis-config
Upgrade Travis to container-based infrastructure
2015-08-24 15:44:07 +02:00
Miroslav Bajtoš 08f9f1fbc1 Upgrade Travis to container-based infrastructure
See http://docs.travis-ci.com/user/migrating-from-legacy/ for details.
2015-08-24 15:32:45 +02:00
Christoph c2eb8e754d fix typo "PeristedModel" 2015-08-14 01:49:27 +02:00
Raymond Feng cb01fb96d0 2.21.0
* Add util methods to ACL and clean up related model resolutions (Raymond Feng)

 * Promisify 'PersistedModel - replication' (Pradnya Baviskar)

 * Promisify 'Application' model (Pradnya Baviskar)
2015-08-13 09:02:11 -07:00
Raymond Feng 06cece038e Merge pull request #1584 from strongloop/feature/add-more-acl-utils
Enhance the ACL related models
2015-08-13 09:00:32 -07:00
Raymond Feng 3eb8dd55f6 Add util methods to ACL and clean up related model resolutions 2015-08-13 08:58:41 -07:00
Miroslav Bajtoš 33351e2be1 Merge pull request #1536 from PradnyaBaviskar:issue418-replication
Promisify 'PersistedModel - replication'

Close #1536
2015-08-12 09:23:13 +02:00
Pradnya Baviskar 64a1dbadc8 Promisify 'PersistedModel - replication' 2015-08-12 09:22:53 +02:00
Miroslav Bajtoš 9d776d7c18 Merge pull request #1533 from PradnyaBaviskar:issue418-application
Promisify 'Application' model

Close #1533
2015-08-12 09:18:20 +02:00
Pradnya Baviskar 2ee7c94a4e Promisify 'Application' model 2015-08-12 09:15:24 +02:00
Raymond Feng 3c18d38548 2.20.0
* Allow methods filter for middleware config (Raymond Feng)

 * Don't load Bluebird for createPromiseCallback (Miroslav Bajtoš)

 * fix exit early when password is non-string closes #1437 (Berkeley Martinez)

 * Promisify User model (Pradnya Baviskar)

 * Add missing . to user model property descriptions (Richard Walker)
2015-08-06 10:10:17 -07:00
Raymond Feng 9b748cb97f Merge pull request #1561 from strongloop/feature/allow-middleware-methods
Allow methods filter for middleware config
2015-08-06 08:23:49 -07:00
Miroslav Bajtoš 004baad44c Merge pull request #1501 from digitalsadhu/master
Add missing . to user model property descriptions
2015-08-06 09:40:22 +02:00
Raymond Feng c44a19dc73 Allow methods filter for middleware config 2015-08-05 10:30:57 -07:00
Miroslav Bajtoš 7ff771c6bf Merge pull request #1560 from strongloop/fix/forgotten-bluebird-reference
Don't load Bluebird for createPromiseCallback
2015-08-04 11:16:33 +02:00
Miroslav Bajtoš 98784e2b4b Don't load Bluebird for createPromiseCallback
The decision which Promise implementation to use should be made by
LoopBack user, not by the framework.

This commit moves Bluebird reference from lib/utils.js to
test/support.js.
2015-08-04 11:04:12 +02:00
Miroslav Bajtoš aa5c9e3628 Merge pull request #1493 from PradnyaBaviskar/issue418-userModel
Promisify User model
2015-08-04 10:32:44 +02:00
Raymond Feng 66d5cc07e0 Merge pull request #1465 from FreeCodeCamp/fix/no-password
fix: exit early when password is non-string
2015-07-29 15:12:43 -07:00
Berkeley Martinez 68fd106510 fix exit early when password is non-string
closes #1437
2015-07-29 13:14:06 -07:00
Raymond Feng 76b73a80ed 2.19.1
* Disable application model test for karma (Raymond Feng)

 * Fix jsdocs for methods with where argument (Raymond Feng)

 * Add link to createChangeStream docs (Ritchie Martori)
2015-07-28 08:40:46 -07:00
Raymond Feng 34eb0e1a45 Disable application model test for karma 2015-07-28 08:39:58 -07:00
Raymond Feng 0f9dd93aba Fix jsdocs for methods with where argument 2015-07-28 08:29:43 -07:00
Pradnya Baviskar dc987a59a9 Promisify User model 2015-07-14 13:01:46 +05:30
Ritchie Martori 9422175510 Add link to createChangeStream docs 2015-07-13 09:40:22 -07:00
Ritchie Martori 8eeaa5568f 2.19.0
* Add PersistedModel.createChangeStream() (Ritchie Martori)

 * Remove trailing whitespace from jsdoc (Ritchie Martori)

 * Update model.js (Rand McKinney)

 * Downgrade version of loopback-testing (Ritchie Martori)

 * Auto-configure models required by `app.enableAuth` (Miroslav Bajtoš)

 * Add loadBuiltinModels flag to loopback(options) (Miroslav Bajtoš)

 * Add a unit-test for searchDefaultTokenKeys (Miroslav Bajtoš)

 * access-token: add option "searchDefaultTokenKeys" (Owen Brotherwood)

 * Fix the test case (Raymond Feng)

 * Fix code standards issues (Tom Kirkpatrick)

 * Add test case to highlight fatal error when trying to include a scoped relationship through a polymorphic relationship (Tom Kirkpatrick)

 * add callback args for listByPrincipalType to jsdoc comment, pass explicit arguments to callback (Esco Obong)

 * mark utiltiy function as private (Esco Obong)

 * fix linting errors (Esco Obong)

 * fix lint erros (Esco Obong)

 * consolidate Role methods roles, applications, and users into one, add query param to allow for pagination and restricting fields (Esco Obong)

 * fix implementation of Role methods: users,roles, and applications (Esco Obong)
2015-07-09 13:42:03 -07:00
Ritchie Martori cdddb08a67 Merge pull request #1445 from strongloop/feature/subscribe
Add PersistedModel.subscribe()
2015-07-09 13:35:49 -07:00
Ritchie Martori 40c5707a36 Add PersistedModel.createChangeStream() 2015-07-09 13:34:01 -07:00
Miroslav Bajtoš 5ec7fd51e2 Merge pull request #1416 from strongloop/feature/searchDefaultTokenKeys
Config option: (do not) search default token keys
2015-07-09 18:03:41 +02:00
Ritchie Martori 503eb948b7 Remove trailing whitespace from jsdoc 2015-07-08 16:53:51 -07:00