Commit Graph

512 Commits

Author SHA1 Message Date
3391ec6cc9 implement password-hashing (not fully integrated yet) (#67)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #67
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-06-28 11:00:15 +02:00
6167ef2221 add-unix-user-hosting-asset-validation (#66)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #66
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-27 12:39:44 +02:00
de88f1d842 hosting-asset-validation-beyond-property-validators (#65)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #65
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-06-24 12:33:14 +02:00
9418303b7c add optional alarm-contact to hosting-asset (#64)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #64
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-21 12:02:07 +02:00
d157730de7 finalize PrivateCloud, Cloud- and ManagedServer and ManagedWebspace Billingtems and HostingAssets (#63)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #63
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-20 11:03:59 +02:00
04d9b43301 BookingItem validity start date today (#62)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #62
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-20 10:44:28 +02:00
62867a4cac booking-item-to-related-hosting-asset-just-1-to-1 (#61)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #61
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-18 13:53:11 +02:00
cbadc6e2c7 mitigate-hosting-asset-fetching-performance-problems (#60)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #60
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-17 16:46:26 +02:00
46dc653174 hierarchical-validation-baseline (#59)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #59
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-14 16:48:00 +02:00
fc2b437a55 add assigned-asset, add more hosting-asset test-data and introduce HsBookingDebitor+hs_booking_debitor_rv (#58)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #58
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-06 13:46:14 +02:00
c23baca47a introduce-booking-project-and-nested-booking-items (#57)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #57
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-06-03 14:45:28 +02:00
23a6f89943 hosting-asset-validation-baseline (#56)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #56
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-05-30 10:45:12 +02:00
2e9e5d6ef0 hosting-asset-validation-for-cloud-server-to-webspace (#54)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #54
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-05-06 10:50:59 +02:00
Michael Hoennig
85376d51af rename contact.label to contact.caption 2024-05-06 09:26:54 +02:00
a93c097f64 list hosting-assets with debitor, parent and type query-parameters (#52)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #52
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-05-03 10:28:03 +02:00
1201c16094 new subscriber role: generalversammlung (#53)
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@solidcharity.com>
Reviewed-on: #53
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-05-03 10:17:47 +02:00
c953b815d5 introduce booking-item-type and check (#51)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #51
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-05-02 13:53:53 +02:00
e09a09cf92 office-related spec-clarifications and -amendmends (contact.emailaddresses+.phonenumbers JSON) (#50)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #50
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-04-30 12:27:20 +02:00
dbe695c214 allow-multiple-insert-permission-grants (#49)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #49
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-04-29 11:43:49 +02:00
66332b6de2 introduce-hosting-module (#46)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #46
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-23 11:14:48 +02:00
9806bcd78f conditional insert permission grant (so far just exactly 1 unique for each table) (#48)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #48
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-23 10:42:24 +02:00
Michael Hoennig
d8b1d18952 fix booking item identity view and some other minor issues 2024-04-19 10:06:57 +02:00
5b18681e96 revert-upgrade-openapiprocessor-spring-back-to-2022-5 and fix bookingItem.validFrom assertion (#45)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #45
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-17 08:27:08 +02:00
65a4647af9 fix contractual missing check in import-office-data (#43)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #43
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-16 14:39:18 +02:00
661b06859f introduce-booking-module (#41)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #41
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-04-16 11:21:34 +02:00
f0eb76ee61 upgrade io.openapiprocessor:openapi-processor-spring to 2024.2 (#42)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #42
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-04-16 10:08:00 +02:00
8d8c5df0b6 test-data-cleanup-via-raw-tables-and-fix-arc-tests (#39)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #39
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-13 13:55:27 +02:00
b0a28200f9 coop-shares-transaction-reverse-entry (#40)
Co-authored-by: Marc O. Sandlus <marc.o.sandlus@hostsharing.net>
Reviewed-on: #40
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-12 11:29:26 +02:00
216886e5f4 add-reverse-mapping-for-assetsharestx-adjustment (#38)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #38
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-11 10:08:45 +02:00
f5de2a8850 coop-assets-transaction-reverse-entry (#37)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #37
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-10 12:44:56 +02:00
48f4cf8ed6 import-cancelled-memberships-if-booking-exist (#36)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #36
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-09 10:22:57 +02:00
4314b647f6 automatically-create-ex-partner-relation (#35)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #35
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-09 10:08:48 +02:00
ec1deb8903 add @Version property to all RBAC-Entities (#34)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #34
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-04-08 11:21:22 +02:00
44ff30c54a RBAC generator with conditional grants used for REPRESENTATIVE-Relation (#33)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #33
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
2024-04-08 11:16:06 +02:00
Michael Hoennig
552146a98c add title+salutation to EntityPatcherUnitTest 2024-04-08 10:22:10 +02:00
Michael Hoennig
898aa858b1 toShortString without title+salutation 2024-04-08 10:17:02 +02:00
Michael Hoennig
ca952ce748 merging master + rbac-generation 2024-04-08 10:14:22 +02:00
Michael Hoennig
4438e7abd5 Merge remote-tracking branch 'origin/master' into add-salut-and-title-to-person 2024-04-08 10:08:30 +02:00
73c378b456 spring-boot-3-2-upgrade (#32)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #32
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 13:24:25 +02:00
ad04faa21d cleanup-todos (#31)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #31
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 13:14:46 +02:00
277369a960 debitornumbersuffix-as-string (#30)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #30
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 13:09:12 +02:00
87af20a3a1 structured-liquibase-files (#29)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #29
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 12:29:31 +02:00
7f418c12a1 uniform idnames (#28)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #28
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 12:01:37 +02:00
f8fb273918 generated RBAC for coopshares and -assets (#27)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #27
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-04-02 11:04:56 +02:00
d3ca2b7e23 move Parter+Debitor person+contact to related Relationsship (#20)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #20
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-28 12:15:13 +01:00
4572c6bda0 improved RBAC generators (#26)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #26
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-26 11:25:18 +01:00
Marc O. Sandlus
cc7b8fcf9b some tests 2024-03-18 17:41:58 +01:00
Marc O. Sandlus
1a3fad80ee wip initial commit 2024-03-18 15:40:48 +01:00
67c1b50239 fix setting relation mark via API (#24)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #24
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-14 12:52:24 +01:00
3faf2ea99e rename partnerRole -> partnerRel, relationship -> relation and remove rel-Prefix (relAnchor etc.) (#23)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #23
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-13 15:01:24 +01:00
907e27ec19 import-debitor-relationship (into intermediate data structure) (#22)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #22
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-12 10:13:36 +01:00
187c0db8e2 RBAC Diagram+PostgreSQL Generator and view->SELECT etc. refactoring (#21)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #21
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-03-11 12:30:43 +01:00
d9558f2cfe add-trigger-object-to-rbacgrant (#18)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #18
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-02-24 09:04:07 +01:00
Michael Hoennig
36654a69d8 fix misleading findPermissionId naming 2024-02-16 16:48:37 +01:00
496cdf295b fix import error for missing contractual contact and legacy-ids (#17)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #17
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-02-05 14:37:50 +01:00
2c0101b46d introduce-partner-business-role (#16)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #16
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-02-01 14:48:15 +01:00
188cb9733e add-subscriber-role (#14)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #14
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-26 09:30:31 +01:00
fb974a3b43 memberNumber as partnerNumber+memberNumberSuffix (#13)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #13
Reviewed-by: Michael Hierweck <michael.hierweck@hostsharing.net>
2024-01-24 15:57:16 +01:00
f150ea2091 more detailed person type (#12)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #12
Reviewed-by: Michael Hierweck <michael.hierweck@hostsharing.net>
2024-01-24 15:18:44 +01:00
fd1bd897b1 initial data import for hs-office tables (db-migration #10)
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
Reviewed-on: #10
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-23 15:11:23 +01:00
Michael Hoennig
96ef490207 code cleanup, removing commented code 2024-01-06 18:23:13 +01:00
Michael Hoennig
727644736d Merge remote-tracking branch 'origin/master' into version-upgrade-spring-boot-3-2-1-etc 2024-01-05 13:25:50 +01:00
e5e9f26856 Liquibase-Changesets für Legacy-ID Mapping of Office-Admininistration-Tables
Reviewed-on: #6
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-05 10:58:47 +01:00
Michael Hoennig
85abe5c3cb amendmends according to code review 2024-01-05 10:52:15 +01:00
Michael Hoennig
47338cead8 Liquibase-Changesets für Legacy-ID Mapping 2024-01-05 08:19:49 +01:00
Michael Hoennig
7f98bbde64 fix pitest, spotless and cleanup 2024-01-04 12:39:39 +01:00
Michael Hoennig
ea130581a3 unit test and improve PostgresArray 2024-01-04 12:38:40 +01:00
Michael Hoennig
f8de575b77 cleanup 2024-01-04 10:28:53 +01:00
Michael Hoennig
d2f9f0ae8f fix invalid assertion 2024-01-04 10:28:53 +01:00
Michael Hoennig
73f147c557 fix most unit tests and improve usage of assumeThat 2024-01-04 10:28:53 +01:00
Michael Hoennig
378e1ec584 fix Postgres typing error by casting 2nd operator of like operator to text 2024-01-04 10:28:53 +01:00
Michael Hoennig
ec53934f30 fix problem with Postgres function array return value in Hibernate 6 2024-01-04 10:28:52 +01:00
Michael Hoennig
063fcf90a3 SpringBoot, Gradle, Java etc. version upgrades and add OWASP API key via gradle.properties 2024-01-04 09:58:29 +01:00
994a0e13c0 improve setup instructions and fix Swagger UI (#2)
Co-authored-by: Timotheus Pokorra <timotheus.pokorra@solidcharity.com>
Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #2
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
2024-01-02 15:27:15 +01:00
Michael Hoennig
287c1ad9dc minor improvement in setup instructions 2024-01-02 13:08:55 +01:00
Michael Hoennig
53ffe9e738 fix SwaggerUI issue with duplicate method name 2024-01-02 13:03:15 +01:00
Timotheus Pokorra
1c19afefa6 avoid error in openapi for ambigous mapping for findRelationshipRelatedToPersonUuid 2023-09-04 20:37:40 +02:00
Michael Hoennig
ddfabef9b7 hs_office_sepamandate_rv: fix missing update column reference 2022-10-29 11:42:03 +02:00
Michael Hoennig
b69af8fa57 remove spurious grant from debitor RBAC diagram 2022-10-28 17:11:12 +02:00
Michael Hoennig
cdc21f05ba SpringBoot 3 upgrade 2022-10-28 15:57:06 +02:00
Michael Hoennig
64461fc4da SEPA-Mandate signed date and patcher 2022-10-28 13:44:48 +02:00
Michael Hoennig
3b340a92ed final ContextUnitTest.defineContextQueryString 2022-10-27 18:24:28 +02:00
Michael Hoennig
909312a8a1 test class naming convention 2022-10-27 11:45:53 +02:00
Michael Hoennig
dc1a17e915 use @PersistenceContext for EntityManager, not @Autowired 2022-10-27 11:00:12 +02:00
Michael Hoennig
1d0d2372ea use simple @GeneratedValue and some code cleanup 2022-10-27 09:42:18 +02:00
Michael Hoennig
09c19649e4 avoid select before insert and map sub-entities in mapper 2022-10-26 16:44:51 +02:00
Michael Hoennig
d7eed08420 always run tests with locale en_US, no matter of system settings 2022-10-25 13:08:17 +02:00
Michael Hoennig
e5ec867819 get endpoints for coopassets+coopshares 2022-10-25 10:32:57 +02:00
Michael Hoennig
6f3c03e6b6 ModelMapper as Spring Bean 2022-10-23 13:00:00 +02:00
Michael Hoennig
0b0f57c176 map HsOfficeMembershipInsertResource via ModelMapper and Entity.setValidTo/From 2022-10-22 12:38:36 +02:00
Michael Hoennig
b3b70aaaf4 add HsOfficeMembershipEntityPatcher 2022-10-22 10:40:59 +02:00
Michael Hoennig
8eab3b7cd5 add HsOfficeMembershipControllerRestTest and make mainDebitorUuid mandatory 2022-10-21 18:43:15 +02:00
Michael Hoennig
7d200efbb5 TODO cleanup in HsOfficeContactRepository 2022-10-21 17:31:49 +02:00
Michael Hoennig
97fa23165c simplified deletion of temp data in HsOfficeBankAccountControllerAcceptanceTest 2022-10-21 17:30:28 +02:00
Michael Hoennig
a39cf73cf0 hs-office-coopassets, no get API endpoints yet 2022-10-21 17:12:55 +02:00
Michael Hoennig
5ada0dae35 fixes instable debitor temp test data deletion and code coverage exclusions 2022-10-21 17:05:28 +02:00
Michael Hoennig
8864a17b2b hs-office-debitor: test update of partner and bankaccount and fix null cases 2022-10-21 11:38:31 +02:00
Michael Hoennig
5a296e0a9f improved ArchitectureTest rules and package refactoring 2022-10-21 08:01:17 +02:00
Michael Hoennig
e1895e3735 hs-office-partner-details 2022-10-20 20:11:31 +02:00
Michael Hoennig
dc0835fa25 hs-office-coopshares: add non-negative validation 2022-10-20 14:08:19 +02:00