1
0
Commit Graph

369 Commits

Author SHA1 Message Date
Michael Hoennig d7a78d0a79 migrate from CAS to Oauth2-JWT Auth (#197)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/197
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-09-08 15:27:28 +02:00
Michael Hoennig bc06001ce9 add department to contact.postalAddress test data (#192)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/192
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-09-01 15:20:49 +02:00
Michael Hoennig c0991d96d9 credentials validation (#194)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/194
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-09-01 12:13:58 +02:00
Michael Hoennig f1fc1203ae fix authentication errors (#193)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/193
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-08-28 12:06:15 +02:00
Michael Hoennig 68e642c034 scoped programmatic i18n-keys (#190)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/190
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-08-26 15:28:42 +02:00
Michael Hoennig 2a6e86aca8 method-level security-control with some open endpoints (e.g. /api/ping) (#191)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/191
2025-08-26 11:50:09 +02:00
Michael Hoennig 5a5c1466b0 add /api/rbac/context + /api/hs/accounts/current endpoints (#189)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/189
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-08-21 12:45:59 +02:00
Michael Hoennig 60028697d6 align React-GUI and Java API -backend (#188)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/188
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-08-12 12:50:48 +02:00
Michael Hoennig bb02d7d017 optionally limit account-context to natural persons (#187)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/187
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-07-15 13:38:44 +02:00
Michael Hoennig 3aab0ba3c2 credentials.totpSecret as array and update credentials scenario test (#186)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/186
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-07-15 11:53:26 +02:00
Michael Hoennig 97017c1b99 rename package (+schema etc.) credentials to accounts (#185)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/185
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-07-10 11:55:53 +02:00
Michael Hoennig 3603ea911e bugfix: fixes HTTP POST on credentials, including person+subject (#184)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/184
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-07-07 21:09:37 +02:00
Michael Hoennig d4e78f8a50 feature/credentials-schema-updates (#180)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/180
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-06-04 11:36:20 +02:00
Michael Hoennig 17f620c7b8 fix fixme's for credentials error messages 2025-05-21 11:10:08 +02:00
Michael Hoennig 037bbf5a4c fix credentials-api-paths+includes 2025-05-21 10:25:18 +02:00
Michael Hoennig 2c8ddc4250 fix ArchTest 2025-05-20 17:37:35 +02:00
Michael Hoennig 58096c1510 login-credentials without RBAC (#173)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/173
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-05-19 12:00:35 +02:00
Michael Hoennig 77ace7d794 fix potential DoS attac in IPv6 regex (#172)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/172
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-04-10 12:32:07 +02:00
Michael Hoennig 399512bd98 Bugfix: properly handle invalid membership with empty validity - and other empty ranges (#169)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/169
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-04-02 12:09:08 +02:00
Michael Hoennig 4f00d1b920 add i18n support for CoopShareTx (#168)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/168
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-04-01 12:18:36 +02:00
Michael Hoennig 413ca0917e feature/add-i18n-support (#167)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/167
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-03-31 13:46:41 +02:00
Michael Hoennig e6b32eda88 produce client-error for unspecified-properties (#166)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/166
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-03-20 12:04:57 +01:00
Michael Hoennig 4994bac101 use @Slf4j (+logback) for logging instead of System.out/err.println (#165)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/165
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-03-19 16:21:55 +01:00
Michael Hoennig eb9edf1cb1 remove current-subject from OpenAPI header specs, use Authorization instead (#164)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/164
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-03-18 11:52:29 +01:00
Michael Hoennig 5ca0638319 unauthenticated swagger-ui on- server-port and proper security filter integration into Spring Security (#163)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/163
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-03-17 12:59:50 +01:00
Michael Hoennig a2b81f009b update dependend relations when updating partner person (#162)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/162
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-03-10 12:04:54 +01:00
Michael Hoennig e3b11972e5 preparation for changing updatable columns (#161)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/161
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-03-03 12:01:33 +01:00
Michael Hoennig cd01d0ab8f amend contact-caption-import and add person-type organizational-unit (#150)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/150
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-01-22 13:53:07 +01:00
Michael Hoennig c1d3d583e7 feature/run-office-module-without-booking-and-hosting (#148)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@solidcharity.com>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/148
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-01-21 14:36:49 +01:00
Timotheus Pokorra 19c1e1ba5c Merge branch 'master' into TP-20250109_addcontact_putpostaladdress 2025-01-16 09:49:06 +01:00
Michael Hoennig 9c8d7616e3 Upgrade to SpringBoot 3.4.1 and dependencies (#147)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/147
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-01-15 13:43:20 +01:00
Timotheus Pokorra 27de4ce634 post new contact: process postalAddress 2025-01-09 10:21:48 +01:00
Michael Hoennig 6b09ad0003 bugfix/only-one-partner-per-person (#143)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/143
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2025-01-07 09:30:25 +01:00
Michael Hoennig 6dafe0a7bb rename table rbac.grants -> rbac.grant for consistent naming (#141)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/141
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-01-02 12:39:18 +01:00
Michael Hoennig 71be87b36b RBAC-rebuild (#140)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/140
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2025-01-02 10:02:47 +01:00
Michael Hoennig 9debaa1fc0 assuming-long-roleidnames + object-uuid-based-rolenames (#139)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/139
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-30 10:00:12 +01:00
Michael Hoennig d89b4b4992 add CAS authentication (#138)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/138
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-23 12:49:43 +01:00
Michael Hoennig 87c7d2f531 feature/add-scenario-test-for-deceased-partner-with-community-of-heirs (#137)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/137
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-18 10:49:05 +01:00
Michael Hoennig 20fa27194b create relation with holder- and contact-data, and search for contact emailAddress + relation mark (#136)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/136
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-13 14:09:01 +01:00
Michael Hoennig 19fac6b5e1 http-get endpoints for partner, debitor and memberhip-number (#135)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/135
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-11 11:35:51 +01:00
Michael Hoennig c7b17ee546 bugfix: permit access to Swagger UI (#134)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/134
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-11 10:55:15 +01:00
Michael Hoennig 6464d6f1ec linked metrics-endpoint (#132)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/132
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-06 10:08:26 +01:00
Michael Hoennig 6ee2b0e81f fix spotless violation due to empty file after merge 2024-12-05 11:30:06 +01:00
Michael Hoennig ee627cc246 split PersonEntity/Repo into Rbac and Real Entity/Repo and use in Relation for faster lazy loading (#130)
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/130
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-05 10:39:25 +01:00
Michael Hoennig ddba946d72 add micrometer @Timing annotations to Controllers+Repositories + ArchTest (#128)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/128
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-12-05 10:32:34 +01:00
Michael Hoennig d06512f0a0 working hasGlobalAdminRole and prepare for Micrometer metrics with Spring Security (#127)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/127
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-12-03 12:39:19 +01:00
Michael Hoennig b36712076d implement coop-asset-TRANSFER-transaction reversal (#125)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/125
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-28 07:10:31 +01:00
Michael Hoennig 3532e3a46c add advanced scenario-tests for coop-assets (#123)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/123
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-11-25 16:06:24 +01:00
Timotheus Pokorra d7caf3b0f8 TP-20240927-importfixes (#115)
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@solidcharity.com>
Co-authored-by: Dev und Test fuer hsadminng <hsh03-hsngdev@h50.hostsharing.net>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/115
Reviewed-by: Michael Hoennig <michael.hoennig@hostsharing.net>
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
Co-committed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-11-21 10:27:34 +01:00
Michael Hoennig 35db9aad43 feature/prefixes-for-partner-member-debitor-in-api (#122)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/122
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-11-18 12:11:16 +01:00