Miroslav Bajtoš
36cd5a7a78
lib/registry: fix findModel for model ctor
...
Fix `registry.findModel(arg)` to support the case when `arg` is already
a model constructor.
2015-11-09 16:01:43 +01:00
Sam Roberts
e633617b8f
Refer to licenses with a link
2015-11-03 12:27:49 -08:00
Miroslav Bajtoš
8af1b0bdfb
Merge pull request #1789 from simoami/master
...
PasswordReset fix for #1374 and #947
Close #1789
2015-11-02 13:04:12 +01:00
Simo Moujami
403e677155
Fix user.resetPassword to fail on email not found
2015-11-02 12:55:24 +01:00
linguofeng
4717fb3dbd
Update persisted-model.js
...
`find` to `findById`
2015-10-28 12:48:36 +08:00
Rand McKinney
32085475ed
Fix typo in doc comment
2015-10-21 13:47:36 -07:00
Miroslav Bajtoš
c55f19a2c1
Merge pull request #1684 from gausie/patch-3
...
Do not include redundant ports in verify links
Close #1684
2015-10-12 16:25:29 +02:00
Samuel Gaus
351b8026a0
Do not include redundant ports in verify links
...
If the protocol and port match we can ignore the port for a more
visually appealing link.
2015-10-12 16:24:30 +02:00
Miroslav Bajtoš
14e6ec554a
Merge pull request #1716 from wusuopu/feature/fix-issue-1689
...
Set application's id property only if it's empty.
Close #1716
Fix #1689
2015-10-12 11:25:14 +02:00
wusuopu
ce48521efb
Set application's id property only if it's empty.
...
Fix `Application.resetKeys()` to reset instance id only if it is not
already set. This fixes a bug where each call of resetKeys created
a new instance.
2015-10-12 11:23:33 +02:00
Miroslav Bajtoš
34fca67ee0
Merge pull request #1668 from philix/comment
...
Update comment about user ACL to reflect implementation
2015-10-09 23:12:49 +02:00
Simon Ho
e68cd8fc87
Merge pull request #1667 from strongloop/bug/1322
...
Return HTTP 200 when deleting a resource via REST
2015-10-01 10:30:46 -07:00
Simon Ho
26af1472e7
Check configs for shared method settings
2015-09-28 16:27:48 -07:00
Simon Ho
716ed4569f
Add test fixtures for shared methods
2015-09-25 17:31:35 -07:00
Simon Ho
9a33602458
Merge pull request #1699 from strongloop/feature/clean-up-jshintrc
...
Clean up .jshintrc
2015-09-25 08:39:51 -07:00
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