Skip to content

Commit 1bddb83

Browse files
[fix]: fix types of checkPasswordAsync (#3023)
* Critical: checkPasswordAsync had returned `[false, 'user name']` and this could be interpreted as a success, as the type was wrong * system.user.admin has translated name and we see constantly an error: Invalid username for id "system.user.admin" * Changed types for `checkPasswordAsync` * Update CHANGELOG for `checkPasswordAsync` command changes * Added tests for the type changes of "checkPasswordAsync" (#3024) * added tests for the type changes on checkPasswordAsync * lowercase func name * continue no return --------- Co-authored-by: Max Hauser <[email protected]>
1 parent e38b2ad commit 1bddb83

File tree

5 files changed

+18932
-18895
lines changed

5 files changed

+18932
-18895
lines changed

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
-->
66

77
## __WORK IN PROGRESS__ - Lucy
8-
* (@foxriver76) fix edge case problem on Windows (if adapter calls `readDir` on single file)
8+
* (@foxriver76) fixed the edge-case problem on Windows (if adapter calls `readDir` on single file)
99
* (@foxriver76) fixed setting negative numbers via `state set` cli command
10+
* (@GermanBluefox) corrected typing for `checkPasswordAsync` command and added caching of mulit-languages names
1011

1112
## 7.0.6 (2024-12-08) - Lucy
1213
* (@foxriver76) fixed UI upgrade if admin is running on privileged port (<1024)
@@ -18,7 +19,7 @@
1819
* (@Apollon77) Fixes async usage of extendObject
1920
* (@Apollon77) Makes setObject async save
2021
* (@foxriver76) deprecated `set(Foreign)ObjectAsync` as the non async methods are now working correctly with promises
21-
* (@foxriver76) allow to specify a version on `iob upgrade self` command
22+
* (@foxriver76) allow specifying a version on `iob upgrade self` command
2223

2324
## 7.0.3 (2024-11-13) - Lucy
2425
* (@foxriver76) Introduce "Vendor Packages Workflow" (only relevant for vendors - see README.md)
@@ -33,7 +34,7 @@
3334

3435
## 7.0.0 (2024-10-06) - Lucy
3536
**Breaking changes**
36-
* Backups created with 7.0.x cannot be restored with previous version
37+
* Backups created with 7.0.x cannot be restored with a previous version
3738

3839
**Features**
3940
* (@GermanBluefox) Added support for dynamic notification data
@@ -43,7 +44,7 @@
4344
* (@foxriver76) added notification if new image is available on Docker Hub (for official docker systems)
4445

4546
**Optimizations and fixes**
46-
* (@foxriver76) extend the time to wait until controller is stopped on controller UI upgrade
47+
* (@foxriver76) extend the time to wait until the controller is stopped on controller UI upgrade
4748
* (@foxriver76) enhanced translations for the `diskSpaceIssues` notification category
4849
* (@foxriver76) enriched logging on upload with version information
4950

@@ -92,7 +93,7 @@ e.g. for dynamic notifications with Admin adapter
9293
* (foxriver76) the controller creates a notification if free disk space is critical (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#disk-space-warnings)
9394
* (foxriver76) allow ignoring specific adapter versions (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#ignoring-specific-adapter-version)
9495
* (foxriver76) if an adapter is blocklisted and thus stopped, the controller now generates a notification
95-
* (foxriver76) allow to configure redis tls during `setup custom`
96+
* (foxriver76) allow configuring redis tls during `setup custom`
9697

9798
**Optimizations and fixes**
9899
* (foxriver76) we now send `SIGKILL` instead of `SIGTERM` if adapter does not stop in normal time to prevent ghost processes

0 commit comments

Comments
 (0)