Skip to content

Commit 1f17c0c

Browse files
kahoona77cesmarvin
authored andcommitted
Merge branch 'release/v1.16.3-1'
2 parents 5e86b71 + f8a7cfd commit 1f17c0c

File tree

8 files changed

+49
-8
lines changed

8 files changed

+49
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v1.16.3-1] - 2024-09-30
10+
### Changed
11+
- Sort import result translations by line number [#168]
12+
913
## [v1.16.2-1] - 2024-09-27
1014
### Fixed
1115
- Fix typo in translations

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ FROM registry.cloudogu.com/official/java:8u402-6
7575
ARG TOMCAT_VERSION
7676

7777
LABEL NAME="official/usermgt" \
78-
VERSION="1.16.2-1" \
78+
VERSION="1.16.3-1" \
7979
maintainer="[email protected]"
8080

8181
# mark as webapp for nginx

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set these to the desired values
22
ARTIFACT_ID=usermgt
3-
VERSION=1.16.2-1
3+
VERSION=1.16.3-1
44
# overwrite ADDITIONAL_LDFLAGS to disable static compilation
55
# this should fix https://github.com/golang/go/issues/13470
66
ADDITIONAL_LDFLAGS=""

app/src/main/ui/src/services/ImportUsers.ts

+8-2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ export interface ImportSummary extends Omit<ImportSummaryDto, "timestamp"> {
7272

7373
export type SummariesModel = PaginationResponse<ImportSummary>
7474

75+
function sortImportResult(summary: ImportUsersResponseDto): ImportUsersResponseDto {
76+
summary.errors = summary.errors.sort((a, b) => a.lineNumber - b.lineNumber);
77+
return summary;
78+
}
79+
7580
export const ImportUsersService = {
7681
async query(signal?: AbortSignal, opts?: QueryOptions): Promise<PaginationResponse<ImportSummary>> {
7782
const summariesResponse = await Axios.get<SummariesModel>("/users/import/summaries", {
@@ -101,7 +106,7 @@ export const ImportUsersService = {
101106
return {
102107
...result,
103108
data: {
104-
...result.data,
109+
...sortImportResult(result.data),
105110
timestamp: new Date(result.data.timestamp),
106111
},
107112
};
@@ -119,7 +124,7 @@ export const ImportUsersService = {
119124
return {
120125
...result,
121126
data: {
122-
...result.data,
127+
...sortImportResult(result.data),
123128
timestamp: new Date(result.data.timestamp),
124129
},
125130
};
@@ -136,5 +141,6 @@ export const ImportUsersService = {
136141
}
137142
throw new Error(t("usersImport.notification.genericError", {file: file.name}));
138143
}
144+
139145
}
140146
};

app/src/main/ui/yarn.lock

+28-3
Original file line numberDiff line numberDiff line change
@@ -4621,7 +4621,16 @@ string-similarity@^4.0.3:
46214621
resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-4.0.4.tgz#42d01ab0b34660ea8a018da8f56a3309bb8b2a5b"
46224622
integrity sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ==
46234623

4624-
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
4624+
"string-width-cjs@npm:string-width@^4.2.0":
4625+
version "4.2.3"
4626+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
4627+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
4628+
dependencies:
4629+
emoji-regex "^8.0.0"
4630+
is-fullwidth-code-point "^3.0.0"
4631+
strip-ansi "^6.0.1"
4632+
4633+
string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
46254634
version "4.2.3"
46264635
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
46274636
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -4681,7 +4690,14 @@ string.prototype.trimstart@^1.0.7:
46814690
define-properties "^1.2.0"
46824691
es-abstract "^1.22.1"
46834692

4684-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
4693+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
4694+
version "6.0.1"
4695+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
4696+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
4697+
dependencies:
4698+
ansi-regex "^5.0.1"
4699+
4700+
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
46854701
version "6.0.1"
46864702
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
46874703
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -5106,7 +5122,16 @@ which@^2.0.1:
51065122
dependencies:
51075123
isexe "^2.0.0"
51085124

5109-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
5125+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
5126+
version "7.0.0"
5127+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
5128+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
5129+
dependencies:
5130+
ansi-styles "^4.0.0"
5131+
string-width "^4.1.0"
5132+
strip-ansi "^6.0.0"
5133+
5134+
wrap-ansi@^7.0.0:
51105135
version "7.0.0"
51115136
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
51125137
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==

docs/gui/release_notes_de.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Im Folgenden finden Sie die Release Notes für das User Management.
44

55
Technische Details zu einem Release finden Sie im zugehörigen [Changelog](https://docs.cloudogu.com/de/docs/dogus/usermgt/CHANGELOG/).
66

7+
## Release 1.16.3-1
8+
* Die Fehler der Nutzer-Importergebnisse sind jetzt korrekt aufsteigend nach der Zeilennummer sortiert.
9+
710
## Release 1.16.2-1
811
* Behebung eines Rechtschreibfehlers in den Fehlernachrichten des Imports
912

docs/gui/release_notes_en.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Below you will find the release notes for User Management.
44

55
Technical details on a release can be found in the corresponding [Changelog](https://docs.cloudogu.com/en/docs/dogus/usermgt/CHANGELOG/).
66

7+
## Release 1.16.3-1
8+
* The errors of the user import results are now correctly sorted in ascending order by line number.
9+
710
## Release 1.16.2-1
811
* Correction of a spelling error in the error messages of the import
912

dogu.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "official/usermgt",
3-
"Version": "1.16.2-1",
3+
"Version": "1.16.3-1",
44
"DisplayName": "User Management",
55
"Description": "User and Group Management.",
66
"Category": "Administration Apps",

0 commit comments

Comments
 (0)