Skip to content

Commit db84902

Browse files
ppxlcesmarvin
authored andcommitted
Merge branch 'release/v1.16.4-1'
2 parents 1f17c0c + ef0913b commit db84902

File tree

9 files changed

+25
-6
lines changed

9 files changed

+25
-6
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [v1.16.4-1] - 2024-10-18
10+
### Changed
11+
- Set the page size of user import preview to 25 from 8 [#170]
12+
- Mails with more than one '@' are not allowed anymore [#171]
13+
914
## [v1.16.3-1] - 2024-09-30
1015
### Changed
1116
- Sort import result translations by line number [#168]

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.3-1" \
78+
VERSION="1.16.4-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.3-1
3+
VERSION=1.16.4-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/java/de/triology/universeadm/ValidMailConstraint.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
public class ValidMailConstraint extends Constraint<User> {
88
// simple email validation was chosen after discussing Internationalized domain name (öäü)
9-
final Pattern regex = Pattern.compile("^\\S+.+@.+\\S+$");
9+
final Pattern regex = Pattern.compile("^[^@ ]+@[^@ ]+$");
1010

1111
@Override
1212
public boolean violatedBy(User user, Category category) {

app/src/main/ui/src/components/usersImport/UsersImportTable.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import React from "react";
44
export default function UsersImportTable(file: { header: string[], rows: string[][] }) {
55
const paginationControl = usePaginationControl(
66
{
7-
lineCountOptions: [8, 25, 50, 100],
7+
lineCountOptions: [25, 50, 100],
88
allLineCount: file.rows.length,
99
defaultStartPage: 1,
10-
defaultLinesPerPage: 8
10+
defaultLinesPerPage: 25
1111
}
1212
);
1313

app/src/test/java/de/triology/universeadm/ValidMailConstraintTest.java

+6
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ public void testInvalidMail() {
7070
assertTrue(validator.violatedBy(user, null));
7171
user.setMail("@mail.de");
7272
assertTrue(validator.violatedBy(user, null));
73+
user.setMail("test@@mail.de");
74+
assertTrue(validator.violatedBy(user, null));
75+
user.setMail("test@mail@de");
76+
assertTrue(validator.violatedBy(user, null));
77+
user.setMail("te@[email protected]");
78+
assertTrue(validator.violatedBy(user, null));
7379
user.setMail(" [email protected] ");
7480
assertTrue(validator.violatedBy(user, null));
7581
}

docs/gui/release_notes_de.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ 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.4-1
8+
* Auf der Nutzerimport-Vorschauseite sind nun 25 Einträge pro Seite statt der vorherigen 8 Einträge
9+
* Mails mit mehr als einem '@' sind nun nicht mehr zulässig
10+
711
## Release 1.16.3-1
812
* Die Fehler der Nutzer-Importergebnisse sind jetzt korrekt aufsteigend nach der Zeilennummer sortiert.
913

docs/gui/release_notes_en.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ 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.4-1
8+
* On the user import preview page there are now 25 entries per page instead of the previously 8 entries
9+
* Mails with more than one ‘@’ are no longer allowed
10+
711
## Release 1.16.3-1
812
* The errors of the user import results are now correctly sorted in ascending order by line number.
913

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.3-1",
3+
"Version": "1.16.4-1",
44
"DisplayName": "User Management",
55
"Description": "User and Group Management.",
66
"Category": "Administration Apps",

0 commit comments

Comments
 (0)