Commit Graph

2379 Commits

Author SHA1 Message Date
Miroslav Bajtoš 58090b4b80
Merge pull request #3908 from strongloop/drop-node-4x
Drop support for Node.js 4.x
2018-06-11 15:54:15 +02:00
Miroslav Bajtoš ec46c457d3
Drop support for Node.js 4.x 2018-06-08 09:33:55 +02:00
Miroslav Bajtoš 85aa3fd679
3.19.3
* Provide link to CODEOWNERS (Aditya Agarwal)
 * fix bug in User.verify when confirm is disabled (wolrajhti)
 * Enable Node.js 10.x on Travis CI (Miroslav Bajtoš)
2018-06-04 16:36:29 +02:00
Miroslav Bajtoš 8c4c91a5d1
Merge pull request #3904 from itaditya/patch-1
Provide URL to CODEOWNERS in stalebot comments.
2018-06-04 16:35:33 +02:00
Aditya Agarwal cf5b78fc6c
Provide link to CODEOWNERS
Currently, stale bot doesn't provide the link to the CODEOWNERS file,
a person must have to browse for the file to open it.

This commit adds a link to the CODEOWNERS file so that a person can
directly open it.
2018-06-04 16:24:42 +02:00
Miroslav Bajtoš c6d8565216
Merge pull request #3896 from wolrajhti/patch-2
Fix bug in User.verify when confirm is disabled
2018-06-04 16:20:39 +02:00
wolrajhti cc4fc2197f
fix bug in User.verify when confirm is disabled 2018-05-31 12:40:23 +02:00
Miroslav Bajtoš eb3301abf2
Merge pull request #3899 from strongloop/add-node-10
Enable Node.js 10.x on Travis CI
2018-05-29 09:48:00 +02:00
Miroslav Bajtoš 36ef35dd60
Enable Node.js 10.x on Travis CI 2018-05-29 08:55:15 +02:00
Miroslav Bajtoš 59b14093c5
3.19.2
* Add check for undefined user email in setter (Kevin Scroggins)
2018-05-29 08:54:18 +02:00
Miroslav Bajtoš c2077dfcb0
Merge pull request #3779 from nitro404/hotfix/case-insensitive-user-email
Fix bugs with case insensitive user emails
2018-05-29 08:53:23 +02:00
Kevin Scroggins b2bc449e24 Add check for undefined user email in setter 2018-05-23 20:00:45 -04:00
Miroslav Bajtoš 3e3092c017
3.19.1
* Fix isOwner() bug in multiple-principal setup (Miroslav Bajtoš)
2018-05-21 09:17:50 +02:00
Miroslav Bajtoš 07e759259e
Merge pull request #3883 from strongloop/fix/principal-type-polymorphic-user
Fix isOwner() bug in multiple-principal setup
2018-05-21 09:16:45 +02:00
Miroslav Bajtoš 2aead13f11
Fix isOwner() bug in multiple-principal setup
Fix the owner role resolver to correctly handle the case when a user
from one model (e.g. Seller) is accessing an instance of another
user-like model (e.g. Customer).
2018-05-18 15:36:59 +02:00
Miroslav Bajtoš df70f83d67
3.19.0
* feat: remove all references to a Model (Miroslav Bajtoš)
2018-04-17 10:09:11 +02:00
Miroslav Bajtoš 7a148caa26
Merge pull request #3858 from strongloop/feature/remove-model
feat: remove all references to a Model
2018-04-17 10:07:47 +02:00
Miroslav Bajtoš 0cd380c590
feat: remove all references to a Model
Add API allowing applications to hide a Model from the
REST API and remove all references to it, allowing Garbage Collector
to claim all memory used by the model.
2018-04-17 09:42:08 +02:00
Miroslav Bajtoš 77a35231dc
3.18.3
* Remove forgotten debugger statement (Miroslav Bajtoš)
 * Fix role check in apps with multiple user models (Miroslav Bajtoš)
 * Fix formatting issues reported by recent eslint (Miroslav Bajtoš)
 * CODEOWNERS: add nitro404 (Miroslav Bajtoš)
 * test: add missing "return" in a promise-style test (Miroslav Bajtoš)
2018-03-22 09:22:20 +01:00
Miroslav Bajtoš 743b2d1495
Remove forgotten debugger statement 2018-03-22 09:21:44 +01:00
Miroslav Bajtoš 77d3d57252
Merge pull request #3835 from strongloop/fix/role-acl-with-multiple-users
Fix role check in apps with multiple user models
2018-03-22 09:18:37 +01:00
Miroslav Bajtoš f4527c9c91
Fix role check in apps with multiple user models 2018-03-20 14:15:44 +01:00
Miroslav Bajtoš 6ddf268cb6
Merge pull request #3820 from strongloop/fix/eslint-issues
Fix formatting issues reported by recent eslint
2018-03-16 13:32:19 +01:00
Miroslav Bajtoš c611bbbe04
Fix formatting issues reported by recent eslint 2018-03-05 10:03:59 +01:00
Miroslav Bajtoš 8e9fd36878
Merge pull request #3799 from strongloop/welcome-nitro404
CODEOWNERS: add nitro404
2018-02-16 09:17:58 +01:00
Miroslav Bajtoš 49bdf2fe3c
CODEOWNERS: add nitro404 2018-02-15 16:00:29 +01:00
Miroslav Bajtoš 66497ead70
Merge pull request #3787 from strongloop/fix/dangling-promise-in-test
test: add missing "return" in a promise-style test
2018-02-09 08:20:10 +01:00
Kevin Delisle 38f3d728b1 3.18.2
* model: fix infinite loop on nestRemoting (Kevin Delisle)
 * Use statusCode prop for user errors (Zak Barbuto)
2018-02-08 13:26:18 -05:00
Kevin Delisle 0feda03d5b
Merge pull request #3789 from strongloop/nestRemoting/prevent-endless-relation-recursion
model: fix infinite loop on nestRemoting
2018-02-08 13:12:32 -05:00
Kevin Delisle 386615a1df model: fix infinite loop on nestRemoting
Prevent endless recursion on nestRemoting calls for
two-way model links.
2018-02-08 11:26:02 -05:00
Miroslav Bajtoš 3723f107db
test: add missing "return" in a promise-style test
Before this change, when the test failed, the rejected promise
was not reported back to mocha and triggered "unhandled promise
rejection" warning only.
2018-02-02 14:25:52 +01:00
Raymond Feng d23ff84587
Merge pull request #3784 from zbarbuto/fix/user-status-code
Use statusCode prop for user errors
2018-01-31 15:16:27 -08:00
Zak Barbuto 50e2b49efe Use statusCode prop for user errors 2018-02-01 09:40:13 +10:30
Taranveer Virk 0eeb99060f 3.18.1
* update: juggler to version including security fix. (Taranveer Virk)
2018-01-31 16:56:12 -05:00
Taranveer Virk 6b4234b18d
Merge pull request #3781 from strongloop/update-juggler
update: juggler to version including security fix.
2018-01-31 16:40:55 -05:00
Taranveer Virk 2c909b8223 update: juggler to version including security fix. 2018-01-31 14:33:37 -05:00
Miroslav Bajtoš c5ff5faf0d
3.18.0
* fix: preserve datasource name (Kevin Scroggins)
 * Update Copyright Years (Justin Ross)
 * Support options.filter in createChangeStream (Edward Choh)
 * fixup! add top-level dep on eslint-plugin-mocha (Miroslav Bajtoš)
 * Update eslint and eslint-config to latest (Miroslav Bajtoš)
2018-01-29 16:36:14 +01:00
Miroslav Bajtoš 60c9dd166b
Merge pull request #3733 from nitro404/hotfix/retain-datasource-name
Fixe data sources not retaining the correct name value
2018-01-19 17:08:22 +01:00
Kevin Scroggins ab791fc258
fix: preserve datasource name
Modify the code creating juggler DataSource objects to correctly
forward the datasource name provided by the user.
2018-01-19 15:58:33 +01:00
Miroslav Bajtoš 72d48c3bfa
Merge pull request #3746 from JustinTRoss/patch-1
Update Copyright Years
2018-01-16 14:36:14 +01:00
Justin Ross 60750b4508
Update Copyright Years
Update copyright years to include 2018
2018-01-16 13:55:02 +01:00
Miroslav Bajtoš 0a4940e31e
Merge pull request #3683 from edwardchoh/master
Support options.filter in createChangeStream
2017-12-14 14:59:14 +01:00
Edward Choh 00169d2312
Support options.filter in createChangeStream
Implement "options.filter" argument in Persisted.createChangeStream()
by leveraging loopback-filter module.
2017-12-14 13:08:28 +01:00
Miroslav Bajtoš 7c030c6900
Merge pull request #3728 from strongloop/update-eslint-config
Update eslint and eslint-config to latest
2017-12-14 13:07:14 +01:00
Miroslav Bajtoš 243af4bfc2
3.17.1
* Update nestRemoting to pass optionsFromContext (bmatson)
 * fix(test): rem exclusive test (Samuel Reed)
 * fix(test): working test with 0 userId (Samuel Reed)
 * fix(AccessContext): Tighten userid/appid checks (Samuel Reed)
 * fix(id): replace with != null (Samuel Reed)
2017-12-12 19:43:30 +01:00
Miroslav Bajtoš b045e4a6be
Merge pull request #3681 from zipitwireless/master
Update nestRemoting to pass optionsFromContext
2017-12-12 19:00:09 +01:00
bmatson 317e00d92c
Update nestRemoting to pass optionsFromContext
Fix the code invoking relation getter to correctly pass through
the "options" argument.
2017-12-12 17:24:35 +01:00
Miroslav Bajtoš 010bbc6369
fixup! add top-level dep on eslint-plugin-mocha 2017-12-12 13:08:05 +01:00
Miroslav Bajtoš 73cc950b1b
Update eslint and eslint-config to latest 2017-12-12 09:33:15 +01:00
Miroslav Bajtoš fdb453943a
Merge pull request #3725 from STRML/fix/exclusive-test
fix(test): rem exclusive test
2017-12-08 20:19:01 +01:00