Commit graph

26 commits

Author SHA1 Message Date
Denis Natusch de6b9cfd0f
Remove inner classes from UserForm 2024-01-17 14:39:25 +01:00
Denis Natusch 073600a92c
Remove unused imports 2024-01-17 12:17:30 +01:00
Denis Natusch da19356496
Fix modify profile issue
Closes: #141
2024-01-14 15:07:29 +01:00
Theo Reichert d27c1958d7
Introduce new lines to reduce code smells 2024-01-12 15:25:18 +01:00
Denis Natusch 06fc8732cc
Refuse username if username is already in use 2024-01-08 18:47:11 +01:00
Denis Natusch 13641bc6a2
Use form for editing customer profile 2024-01-08 16:00:40 +01:00
Simon Bruder 6297f3c073
Update copyright dates of recently changed files
I forgot to update them in commits
743e459d41,
90d368a95b,
7fbd26d84c,
and 2d87b3928b.

It also adds swt23w23 as copyright owner on the time recording, as this
was forgotten when the attributions had initially been added.
2024-01-06 22:06:48 +01:00
Simon Bruder 90d368a95b
Implement hashCode/equals on ID for Entities
This also drops an angry comment that was the result of not being able
to fathom the default behaviour.

Fixes #87.
2024-01-04 11:43:20 +01:00
Denis Natusch 5736b49080
Remove redundant code from viewProfile method 2023-12-14 09:53:14 +01:00
Simon Bruder bac025fd0a
Make project REUSE compliant
This finally makes the licensing under AGPL-3.0-or-later explicit after
I got the okay from the kickstart source owners.

This also checks the REUSE compliance in a pre commit hook, and
therefore also in CI.
2023-12-11 17:59:14 +01:00
Denis Natusch 8a084b1f2e
Add test for form validator
The validator requires some changes to already existing tests.

Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-27 18:25:55 +01:00
Denis Natusch d7c4482200
Add form validator to users package
Closes #35
Closes #59
Closes #64
Closes #71

Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-27 18:11:07 +01:00
Simon Bruder 391ddaf03b
Create admin user only if it does not yet exist
Fixes #28
2023-11-24 20:21:17 +01:00
Denis Natusch 2515c17de5
Let admin edit all fields of customer 2023-11-24 15:47:23 +01:00
Denis Natusch 79895d715b
Log out user properly after changing own username 2023-11-22 15:25:03 +01:00
Denis Natusch 3ecdcffbcd
Simplifiy user id 2023-11-21 18:06:11 +01:00
Denis Natusch eccff8d2b0
Refuse nullbyte as password
Closes #26
2023-11-21 18:04:54 +01:00
Denis Natusch ea24c27d6e
Add more attributes to user/customer
Closes #42
2023-11-21 18:04:15 +01:00
Denis Natusch 7dfc7f66f9
Remove unused model parameter from UserController
Closes #21
2023-11-21 18:00:36 +01:00
Denis Natusch 11f00f52f0
Remove AuthenticationManagement
Closes #20
2023-11-21 18:00:36 +01:00
Denis Natusch 9eeb25a281
Make only customers able to delete their own account 2023-11-21 18:00:33 +01:00
Denis Natusch cbb9710371
Logout user when changing the username 2023-11-21 18:00:32 +01:00
Denis Natusch 02551aa802
Make only enabled customers able to be removed 2023-11-21 18:00:32 +01:00
Denis Natusch d29c1b4553
Logout customer after deleting their account 2023-11-21 18:00:30 +01:00
Denis Natusch cd401219e2
Make user consistent with design model
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-21 18:00:30 +01:00
Denis Natusch 16f5ff20e3
Add profile prototype 2023-11-21 18:00:18 +01:00