Commit Graph

2338 Commits

Author SHA1 Message Date
Miroslav Bajtoš a239a11656
Merge pull request #4039 from strongloop/speed-up-acl-tests
Speed up ACL tests by reducing saltWorkFactor
2018-10-25 15:39:18 +02:00
Miroslav Bajtoš a4d7caba1a
3.23.2
* Fix ACL check to support model wildcard (Moshe Malka)
2018-10-25 14:14:22 +02:00
Miroslav Bajtoš 818a7506d8
Speed up ACL tests by reducing saltWorkFactor 2018-10-25 14:10:49 +02:00
Miroslav Bajtoš 69df6386fc
Merge pull request #3954 from moshemal/issue-3953
Fix ACL rules with a wildcard match ('*') for model property
2018-10-25 14:09:19 +02:00
Moshe Malka 29c5f20d90
Fix ACL check to support model wildcard 2018-10-25 14:00:35 +02:00
Miroslav Bajtoš be91ba3dad
3.23.1
* README: highlight Active LTS at the top (Miroslav Bajtoš)
2018-10-18 09:27:54 +02:00
Miroslav Bajtoš b944b9d8a5
Merge pull request #4029 from strongloop/update-lts
README: highligh Active LTS at the top
2018-10-18 09:23:07 +02:00
Miroslav Bajtoš 9ea6b6ab03
README: highlight Active LTS at the top
Add a short warning at the top of README to explain that this package
is no longer accepting new features and point users to LoopBack 4.
2018-10-18 09:06:23 +02:00
Diana Lau 4c49b5fa1f 3.23.0
* Clear handler cache when a method is added/removed (Mohammed Essehemy)
 * Add `options.preserveAccessTokens` (lchaglla)
 * Update LB3 to be active LTS (Diana Lau)
 * Fix ACL tests to wait until all assertions finish (Moshe Malka)
 * chore: update to latest linting rules (virkt25)
2018-10-09 16:05:13 -07:00
Diana Lau d66c912d06
Merge pull request #4022 from strongloop/change-status
Update LB3 to be active LTS
2018-10-09 18:58:07 -04:00
Miroslav Bajtoš 0488cb7ba1
Merge pull request #4011 from MohammedEssehemy/fix/clear-cache-handler-after-method-add
clearHandlerCache when remote method added or disabled
2018-10-09 15:19:27 +02:00
Mohammed Essehemy e33d10fe44
Clear handler cache when a method is added/removed 2018-10-09 15:03:00 +02:00
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
Diana Lau d7a32aea70 Update LB3 to be active LTS 2018-10-05 22:31:31 -04: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