iobroker.alias-manager
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"common": { | ||
"name": "alias-manager", | ||
"version": "0.0.2", | ||
"news": { | ||
"0.0.2": {"en": "added conversion for min and max to type number"}, | ||
"0.0.1": { | ||
"en": "initial release", | ||
"de": "Erstveröffentlichung", | ||
"ru": "Начальная версия", | ||
"pt": "lançamento inicial", | ||
"nl": "Eerste uitgave", | ||
"fr": "Première version", | ||
"it": "Versione iniziale", | ||
"es": "Versión inicial", | ||
"pl": "Pierwsze wydanie", | ||
"zh-cn": "首次出版" | ||
} | ||
"common": { | ||
"name": "alias-manager", | ||
"version": "0.0.3", | ||
"news": { | ||
"0.0.2": { | ||
"en": "added conversion for min and max to type number", | ||
"de": "Konvertierung für min und max zur Typennummer hinzugefügt", | ||
"ru": "добавлено преобразование минимума и максимума в тип числа", | ||
"pt": "adição de conversão para mínimo e máximo ao tipo número", | ||
"nl": "conversie toegevoegd voor min en max naar typenummer", | ||
"fr": "conversion ajoutée pour min et max en nombre de type", | ||
"it": "aggiunta conversione per min e max in numero di tipo", | ||
"es": "conversión agregada para mínimo y máximo al número de tipo", | ||
"pl": "dodana konwersja dla min i max na numer typu", | ||
"zh-cn": "增加了最小和最大类型类型的转换" | ||
}, | ||
"0.0.1": { | ||
"en": "initial release", | ||
"de": "Erstveröffentlichung", | ||
"ru": "Начальная версия", | ||
"pt": "lançamento inicial", | ||
"nl": "Eerste uitgave", | ||
"fr": "Première version", | ||
"it": "Versione iniziale", | ||
"es": "Versión inicial", | ||
"pl": "Pierwsze wydanie", | ||
"zh-cn": "首次出版" | ||
} | ||
}, | ||
"title": "Alias-Manager", | ||
"titleLang": { | ||
"en": "Alias-Manager", | ||
"de": "Alias-Manager", | ||
"ru": "Алиас-менеджер", | ||
"pt": "Alias-Manager", | ||
"nl": "Alias-Manager", | ||
"fr": "Alias-Manager", | ||
"it": "Alias-manager", | ||
"es": "Gerente de alias", | ||
"pl": "Alias-Manager", | ||
"zh-cn": "别名经理" | ||
}, | ||
"desc": { | ||
"en": "Manages and creates aliases", | ||
"de": "Verwaltet und erstellt Aliase", | ||
"ru": "Управляет и создает псевдонимы", | ||
"pt": "Gerencia e cria aliases", | ||
"nl": "Beheert en maakt aliassen", | ||
"fr": "Gère et crée des alias", | ||
"it": "Gestisce e crea alias", | ||
"es": "Administra y crea alias", | ||
"pl": "Zarządza i tworzy aliasy", | ||
"zh-cn": "管理和创建别名" | ||
}, | ||
"authors": [ | ||
"Sebastian Bormann <sebastian@bormann.net>" | ||
], | ||
"keywords": [ | ||
"Alias" | ||
], | ||
"license": "MIT", | ||
"platform": "Javascript/Node.js", | ||
"main": "main.js", | ||
"icon": "alias-manager.png", | ||
"enabled": true, | ||
"extIcon": "https://raw.githubusercontent.com/sbormann/ioBroker.alias-manager/master/admin/alias-manager.png", | ||
"readme": "https://github.com/sbormann/ioBroker.alias-manager/blob/master/README.md", | ||
"loglevel": "info", | ||
"mode": "none", | ||
"type": "general", | ||
"highlight": true, | ||
"compact": true, | ||
"singleton": true, | ||
"materialize": true, | ||
"materializeTab": true, | ||
"blockly": false, | ||
"messagebox": false, | ||
"subscribe": "", | ||
"noIntro": true, | ||
"supportCustoms": false, | ||
"connectionType": "local", | ||
"dataSource": "push", | ||
"dependencies": [ | ||
{ | ||
"js-controller": ">=1.4.2" | ||
} | ||
] | ||
}, | ||
"title": "Alias-Manager", | ||
"titleLang": { | ||
"en": "Alias-Manager", | ||
"de": "Alias-Manager", | ||
"ru": "Алиас-менеджер", | ||
"pt": "Alias-Manager", | ||
"nl": "Alias-Manager", | ||
"fr": "Alias-Manager", | ||
"it": "Alias-manager", | ||
"es": "Gerente de alias", | ||
"pl": "Alias-Manager", | ||
"zh-cn": "别名经理" | ||
}, | ||
"desc": { | ||
"en": "Manages and creates aliases", | ||
"de": "Verwaltet und erstellt Aliase", | ||
"ru": "Управляет и создает псевдонимы", | ||
"pt": "Gerencia e cria aliases", | ||
"nl": "Beheert en maakt aliassen", | ||
"fr": "Gère et crée des alias", | ||
"it": "Gestisce e crea alias", | ||
"es": "Administra y crea alias", | ||
"pl": "Zarządza i tworzy aliasy", | ||
"zh-cn": "管理和创建别名" | ||
}, | ||
"authors": [ | ||
"Sebastian Bormann <sebastian@bormann.net>" | ||
], | ||
"keywords": [ | ||
"Alias" | ||
], | ||
"license": "MIT", | ||
"platform": "Javascript/Node.js", | ||
"main": "main.js", | ||
"icon": "alias-manager.png", | ||
"enabled": true, | ||
"extIcon": "https://raw.githubusercontent.com/sbormann/ioBroker.alias-manager/master/admin/alias-manager.png", | ||
"readme": "https://github.com/sbormann/ioBroker.alias-manager/blob/master/README.md", | ||
"loglevel": "info", | ||
"mode": "none", | ||
"type": "general", | ||
"highlight": true, | ||
"compact": true, | ||
"singleton": true, | ||
"materialize": true, | ||
"materializeTab": true, | ||
"blockly": false, | ||
"messagebox": false, | ||
"subscribe": "", | ||
"noIntro": true, | ||
"supportCustoms": false, | ||
"connectionType": "local", | ||
"dataSource": "assumption", | ||
"dependencies": [ | ||
{ | ||
"js-controller": ">=1.4.2" | ||
} | ||
], | ||
"installedFrom": "https://github.com/sbormann/ioBroker.alias-manager/tarball/master" | ||
}, | ||
"native": {}, | ||
"objects": [], | ||
"instanceObjects": [] | ||
"native": {}, | ||
"objects": [], | ||
"instanceObjects": [] | ||
} |
22
main.js
@@ -39,4 +39,4 @@ 'use strict'; | ||
// this.config: | ||
this.log.info('config option1: ' + this.config.option1); | ||
this.log.info('config option2: ' + this.config.option2); | ||
// this.log.info('config option1: ' + this.config.option1); | ||
// this.log.info('config option2: ' + this.config.option2); | ||
@@ -48,2 +48,3 @@ /* | ||
*/ | ||
/* | ||
await this.setObjectAsync('testVariable', { | ||
@@ -60,5 +61,6 @@ type: 'state', | ||
}); | ||
*/ | ||
// in this template all states changes inside the adapters namespace are subscribed | ||
this.subscribeStates('*'); | ||
// this.subscribeStates('*'); | ||
@@ -70,17 +72,17 @@ /* | ||
// the variable testVariable is set to true as command (ack=false) | ||
await this.setStateAsync('testVariable', true); | ||
// await this.setStateAsync('testVariable', true); | ||
// same thing, but the value is flagged "ack" | ||
// ack should be always set to true if the value is received from or acknowledged from the target system | ||
await this.setStateAsync('testVariable', { val: true, ack: true }); | ||
// await this.setStateAsync('testVariable', { val: true, ack: true }); | ||
// same thing, but the state is deleted after 30s (getState will return null afterwards) | ||
await this.setStateAsync('testVariable', { val: true, ack: true, expire: 30 }); | ||
// await this.setStateAsync('testVariable', { val: true, ack: true, expire: 30 }); | ||
// examples for the checkPassword/checkGroup functions | ||
let result = await this.checkPasswordAsync('admin', 'iobroker'); | ||
this.log.info('check user admin pw iobroker: ' + result); | ||
// let result = await this.checkPasswordAsync('admin', 'iobroker'); | ||
// this.log.info('check user admin pw iobroker: ' + result); | ||
result = await this.checkGroupAsync('admin', 'admin'); | ||
this.log.info('check group user admin group admin: ' + result); | ||
// result = await this.checkGroupAsync('admin', 'admin'); | ||
// this.log.info('check group user admin group admin: ' + result); | ||
} | ||
@@ -87,0 +89,0 @@ |
{ | ||
"name": "iobroker.alias-manager", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Manages and creates aliases", | ||
@@ -9,3 +9,3 @@ "author": { | ||
}, | ||
"homepage": "https://github.com/Sebastian Bormann/ioBroker.alias-manager", | ||
"homepage": "https://github.com/sbormann/ioBroker.alias-manager", | ||
"license": "MIT", | ||
@@ -17,3 +17,3 @@ "keywords": [ | ||
"type": "git", | ||
"url": "git@github.com:Sebastian Bormann/ioBroker.alias-manager.git" | ||
"url": "https://github.com/sbormann/ioBroker.alias-manager" | ||
}, | ||
@@ -20,0 +20,0 @@ "dependencies": { |
@@ -7,9 +7,9 @@ ![Logo](admin/alias-manager.png) | ||
![Number of Installations (latest)](http://iobroker.live/badges/alias-manager-installed.svg) | ||
![Number of Installations (stable)](http://iobroker.live/badges/alias-manager-stable.svg) | ||
[![Dependency Status](https://img.shields.io/david/Sebastian Bormann/iobroker.alias-manager.svg)](https://david-dm.org/Sebastian Bormann/iobroker.alias-manager) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/Sebastian Bormann/ioBroker.alias-manager/badge.svg)](https://snyk.io/test/github/Sebastian Bormann/ioBroker.alias-manager) | ||
<!-- ![Number of Installations (stable)](http://iobroker.live/badges/alias-manager-stable.svg) --> | ||
[![Dependency Status](https://img.shields.io/david/sbormann/iobroker.alias-manager.svg)](https://david-dm.org/sbormann/iobroker.alias-manager) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/sbormann/ioBroker.alias-manager/badge.svg)](https://snyk.io/test/github/sbormann/ioBroker.alias-manager) | ||
[![NPM](https://nodei.co/npm/iobroker.alias-manager.png?downloads=true)](https://nodei.co/npm/iobroker.alias-manager/) | ||
**Tests:**: [![Travis-CI](http://img.shields.io/travis/Sebastian Bormann/ioBroker.alias-manager/master.svg)](https://travis-ci.org/Sebastian Bormann/ioBroker.alias-manager) | ||
**Tests:**: [![Travis-CI](http://img.shields.io/travis/sbormann/ioBroker.alias-manager/master.svg)](https://travis-ci.org/sbormann/ioBroker.alias-manager) | ||
@@ -22,2 +22,5 @@ ## alias-manager adapter for ioBroker | ||
### 0.0.3 | ||
* (sbormann) some fixes | ||
### 0.0.2 | ||
@@ -32,3 +35,3 @@ * (sbormann) added conversion for min and max to type number | ||
Copyright (c) 2020 Sebastian Bormann <sebastian@bormann.net> | ||
Copyright (c) 2021 Sebastian Bormann <sebastian@bormann.net> | ||
@@ -35,0 +38,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
448041
17
1432
1
51