Commit Graph

2363 Commits

Author SHA1 Message Date
Diana Lau 8ad0f93552
Merge pull request #3975 from candytangnb/webfm-0823-120743-translation
[WebFM] cs/es/fr/it/nl/pl/pt_BR/ru translation Check-in by YI TANG (tangyinb@cn.ibm.com)
2018-08-23 15:04:13 -04:00
candytangnb 55e48cf572 [WebFM] cs/es/fr/it/nl/pl/pt_BR/ru translation
cs/es/fr/it/nl/pl/pt_BR/ru translation check-in by YI TANG
(tangyinb@cn.ibm.com) using WebFM tool.
2018-08-23 12:07:43 -04:00
Diana Lau 74d7043edc 3.22.1
* [WebFM] ja/ko/zh_CN/zh_TW translation (candytangnb)
 * remove unnecessary format call (Diana Lau)
 * Make desc when export-api-def translatable (Diana Lau)
2018-08-22 09:18:19 -04:00
Diana Lau 3caf65d4a6
Merge pull request #3974 from candytangnb/webfm-0822-053933-translation
[WebFM] ja/ko/zh_CN/zh_TW translation Check-in by YI TANG (tangyinb@cn.ibm.com)
2018-08-22 09:12:08 -04:00
candytangnb 700085c8d6 [WebFM] ja/ko/zh_CN/zh_TW translation
ja/ko/zh_CN/zh_TW translation check-in by YI TANG (tangyinb@cn.ibm.com)
using WebFM tool.
2018-08-22 05:39:33 -04:00
Diana Lau 1c30628a8a
Merge pull request #3971 from strongloop/fix-translation
[GVT] Get the summary and description in the `lb export-api-def` output translatable
2018-08-20 20:12:43 -04:00
Diana Lau 6b0a880efa remove unnecessary format call 2018-08-20 16:55:56 -04:00
Diana Lau 89ff760b6d Make desc when export-api-def translatable 2018-08-20 13:04:21 -04:00
virkt25 416b86a5ec 3.22.0
* fix: accessToken create default acl (virkt25)
 * add: ppc64 and s390x to not run UI tests (Thomas Leah)
 * chore: update deps + fix linting + .npmrc (virkt25)
 * Update Loopback 2.x EOL dates (Chris Bailey)
 * Fix formatting (Chris Bailey)
 * Update support badge and move LTS section (Chris Bailey)
 * Add badges and information for LTS and support (Chris Bailey)
2018-08-08 16:27:22 -04:00
virkt25 aaa1381964 fix: accessToken create default acl 2018-08-08 16:17:48 -04:00
Thomas Leah 0dac936bba add: ppc64 and s390x to not run UI tests 2018-08-08 15:27:29 -04:00
virkt25 5ee731eafd chore: update deps + fix linting + .npmrc 2018-08-08 13:31:30 -04:00
Diana Lau 6d23c2edd1
Merge pull request #3947 from seabaylea/lts-and-support
Add badges and information for LTS and support
2018-07-20 11:09:05 -04:00
Chris Bailey 962efec9cd Update Loopback 2.x EOL dates 2018-07-20 15:25:48 +01:00
Chris Bailey 951b61a2ae Fix formatting 2018-07-18 17:16:55 +01:00
Chris Bailey f90e1c5e01 Merge supported versions and LTS sections 2018-07-18 17:14:55 +01:00
Chris Bailey cdab1519af Update support badge and move LTS section 2018-07-18 09:51:48 +01:00
Chris Bailey 7e7f8facd8 Add badges and information for LTS and support 2018-07-17 22:25:46 +01:00
virkt25 72d85fa9ea 3.21.0
* Make verifyUserRelations() more robust (mcitdev)
 * Fix crash in verifyUserRelations (ryanxwelch)
 * Fix crash in User model's "before delete" hook (mcitdev)
 * [WebFM] cs/pl/ru translation (candytangnb)
 * Update strong-error-handler (shimks)
2018-07-09 17:04:16 -04:00
Miroslav Bajtoš 7ad5a2e1bc
Merge pull request #3938 from mcitdev/master
Make verifyUserRelations() more robust
2018-07-03 09:18:39 +02:00
mcitdev f9e9aaa8ce
Make verifyUserRelations() more robust
The fix introduced in previous commit was relying on the default
merge algorighm applied when a child model inherits relation config
from the parent.

This commit changes the check to use a more reliable approach
based on the relation metadata configured by the child model.
2018-07-03 09:03:44 +02:00
Miroslav Bajtoš cd1b31920e
Merge pull request #3934 from strongloop/fix/crash-in-verifyUserRelations
fix: resolve customAccessToken warning error that causes app to crash
2018-06-29 17:18:05 +02:00
ryanxwelch 9d77ba28d3
Fix crash in verifyUserRelations
In the present implementation `verifyUserRelations(Model)` assumes that
`Model.relations.accessTokens` is always set, and as a result may
crash when trying to access `polymorphic` property of that relation.

It seems the intention is to check whether the the following conditions
are met:
 1. a model has a hasMany accessTokens relation
 2. that relation is polymorphic

This commit fixes the problem by accounting for the case where the
accessTokens relation was not correctly set up.
2018-06-29 16:14:01 +02:00
Miroslav Bajtoš 95bcf035a8
Merge pull request #3917 from mcitdev/master
Fix crash in User model's "before delete" hook
2018-06-29 15:27:39 +02:00
mcitdev 37e57f6943
Fix crash in User model's "before delete" hook
Update User's "before delete" hook to take into account the case when
the related AccessToken model was not configured in the application
(attached to a datasource).
2018-06-29 14:51:41 +02:00
Miroslav Bajtoš 9c554fd4f0
Merge pull request #3933 from candytangnb/webfm-0628-225109-cs,pl,ru-translation
[WebFM] cs/pl/ru translation Check-in by YI TANG (tangyinb@cn.ibm.com)
2018-06-29 09:19:14 +02:00
candytangnb 4dd195e654 [WebFM] cs/pl/ru translation
cs/pl/ru translation check-in by YI TANG (tangyinb@cn.ibm.com) using
WebFM tool.
2018-06-28 22:51:09 -04:00
Kyusung Shim 44951a1032
Merge pull request #3912 from strongloop/update-strong-error-handler
Update strong-error-handler
2018-06-13 10:42:51 -04:00
shimks 0590bd1bb4 Update strong-error-handler 2018-06-12 12:25:33 -04:00
Miroslav Bajtoš 7d93b27a80
3.20.0
* Update strong-globalize to 4.x (Miroslav Bajtoš)
 * Update nodemailer to v4.x (Dimitris)
 * Drop support for Node.js 4.x (Miroslav Bajtoš)
2018-06-12 08:31:51 +02:00
Miroslav Bajtoš 5a87f8df16
Merge pull request #3911 from strongloop/update-strong-globalize
Update strong-globalize to 4.x
2018-06-12 08:27:39 +02:00
Miroslav Bajtoš f17346ba50
Update strong-globalize to 4.x 2018-06-11 17:37:56 +02:00
Miroslav Bajtoš 995c14eccf
Merge pull request #3585 from mitsos1os/nodemailer-update
Update nodemailer to the latest v4 version
2018-06-11 16:49:34 +02:00
Dimitris 83fc62c0af
Update nodemailer to v4.x 2018-06-11 16:01:42 +02:00
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