Commit Graph

2325 Commits

Author SHA1 Message Date
Miroslav Bajtoš 97a55bf67a
Merge pull request #4021 from lchaglla/preserveAccessTokens
Add a flag to preserve access tokens on email/password change
2018-10-08 09:46:44 +02:00
lchaglla 2b7b0e1cc1
Add `options.preserveAccessTokens`
Add an option to preserve access tokens when email/password is changed.
2018-10-08 09:28:35 +02:00
Miroslav Bajtoš 0bb7cd67ec
Merge pull request #3989 from moshemal/issue-3988
Use done function for multiple async assertions
2018-09-17 15:02:23 +02:00
Moshe Malka 186ae2ae57
Fix ACL tests to wait until all assertions finish 2018-09-17 14:12:58 +02:00
virkt25 fa644d6a31 chore: update to latest linting rules 2018-09-13 10:08:25 -04:00
virkt25 acc1cd0ee5 3.22.3
* chore: use grunt to install optional  phantomjs (virkt25)
 * [WebFM] fr translation (candytangnb)
2018-09-12 11:06:28 -04:00
virkt25 cab1ed5463 chore: use grunt to install optional phantomjs
connected to #3993
2018-09-12 11:02:14 -04:00
candytangnb c9164aed17 [WebFM] fr translation
fr translation check-in by YI TANG (tangyinb@cn.ibm.com) using WebFM
tool.
2018-08-30 09:53:13 -04:00
virkt25 9f1eb419d1 3.22.2
* [WebFM] tr translation (candytangnb)
 * [WebFM] de translation (candytangnb)
 * [WebFM] cs/es/fr/it/nl/pl/pt_BR/ru translation (candytangnb)
2018-08-29 15:10:43 -04:00
candytangnb 516fbbd91a [WebFM] tr translation
tr translation check-in by YI TANG (tangyinb@cn.ibm.com) using WebFM
tool.
2018-08-27 10:46:47 -04:00
Diana Lau d028876b94
Merge pull request #3978 from candytangnb/webfm-0824-063653-de-translation
[WebFM] de translation Check-in by YI TANG (tangyinb@cn.ibm.com)
2018-08-24 09:56:27 -04:00
candytangnb 78342ebf80 [WebFM] de translation
de translation check-in by YI TANG (tangyinb@cn.ibm.com) using WebFM
tool.
2018-08-24 06:36:53 -04:00
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