ioBroker.js-controller
ioBroker.js-controller copied to clipboard
Added new category for notifications: `blocked`
blacklisted
I have nothing against blacklisted
. It was just first attempt.
Personally I am not a fan about introducing a new property blacklisted
after the discussions in the last few years about this topic. I am also aware, that it might not be as easy finding an alternative and that blacklist
is a common terminology, so I will agree with majority on the terminology here. However, just wanted to point this out as we already had discussions and e. g. in the Multihost migration mechanism we explicitly used Primary/Secondary instead of Master/Slave. Alternatives could be blocklist
or denylist
, where I would prefer the first one here.
Personally I am not a fan about introducing a new property
blacklisted
after the discussions in the last few years about this topic. I am also aware, that it might not be as easy finding an alternative and thatblacklist
is a common terminology, so I will agree with majority on the terminology here. However, just wanted to point this out as we already had discussions and e. g. in the Multihost migration mechanism we explicitly used Primary/Secondary instead of Master/Slave. Alternatives could beblocklist
ordenylist
, where I would prefer the first one here.
Then blocked
?
maybe blocklist
not sure what the others think here @Apollon77 @AlCalzone
BlockedVersions? ForbiddenVersions?
So yes blocked also ok for me
See my initial comment :)
"blocked" isn't self explanatory IMO.
I'm fine with blocklisted
Then lets do blocklisted ...
and how we name it in io-package? Do we stay with "blockedVersions" as property in common?
? @foxriver76 @Apollon77
blockedVersions
would be fine for me regarding io-pack and name in PR is also fine so LGTM if someone wants to optimize the messages go for it and do we want to add uk
lang for new stuff or one translation PR for everything?
I added UK translation and changed type to blockedVersions
.
But honestly I already forgot for what it was purposed :(
But honestly I already forgot for what it was purposed :(
AFAIK: We want to add the possibility to prevent specific adapter versions from starting. And to inform the user, we want this new category for the notification system
Exactly. js-controller should prevent all version in "BlockedVersions" from starting. Same as Admin should block already now
Exactly. js-controller should prevent all version in "BlockedVersions" from starting. Same as Admin should block already now
And... LGTM?