Michael Hoennig
bb05eb4ac4
refactoring packages, moving Hostsharing related entities etc. to hs package
2022-08-03 06:11:39 +02:00
Michael Hoennig
142aac2bce
add ArchUnitTest
2022-08-02 15:51:06 +02:00
Michael Hoennig
2ac476d99b
add-customer and introducing JpaAttempt test helper
2022-08-02 14:31:48 +02:00
Michael Hoennig
03ee2cfd62
add-customer and introducing JpaAttempt test helper
2022-08-02 11:51:36 +02:00
Michael Hoennig
f58a68d1cc
experimental CustomerRepositoryIntegrationTest with Given/When/Then classes
2022-08-01 12:53:09 +02:00
Michael Hoennig
27c5699c36
add CustomerRepositoryIntegrationTest, fix testcontainers liquibase context and improve error messages
2022-07-31 18:56:03 +02:00
Michael Hoennig
53d3d68021
introduce TestPackage.java
2022-07-30 18:37:32 +02:00
Michael Hoennig
08804bd45c
use plural for /api/packages too
2022-07-30 18:23:02 +02:00
Michael Hoennig
fe4fef2752
add CustomerControllerRestTest and -UnitTest
2022-07-30 18:17:45 +02:00
Michael Hoennig
2610ecd311
add PackageControllerTest as WebMvcTest through the REST API
2022-07-30 16:35:26 +02:00
Michael Hoennig
b20920d646
make package owner/admin/tenant roles assumable
2022-07-29 16:25:46 +02:00
Michael Hoennig
4721d1be23
PackagerEntity, -Repository and -Controller
2022-07-29 16:13:38 +02:00
Michael Hoennig
46957dc590
bugfix in pureIdentifier + findUuidByIdName and CustomerEntity+Repository
2022-07-29 15:53:20 +02:00
Michael Hoennig
414149f0a1
introduce Context service
2022-07-29 14:24:50 +02:00
Michael Hoennig
2b630aadbc
hs-package SQL-Scripts in Liquibase and some bugfixes
2022-07-29 12:37:40 +02:00
Michael Hoennig
61c50c46ed
hs-customer SQL-Scripts in Liquibase
2022-07-29 12:14:22 +02:00
Michael Hoennig
8ba952a41d
hs-customer SQL-Scripts in Liquibase
2022-07-29 11:53:58 +02:00
Michael Hoennig
a478fe4cf1
cleanup in Liquibase files, header, formatting etc.
2022-07-29 11:38:51 +02:00
Michael Hoennig
9beaf5e684
improved README.md for first steps
2022-07-29 09:12:52 +02:00
Michael Hoennig
4c403b0436
formatted SQL code
2022-07-29 08:46:04 +02:00
Michael Hoennig
fb8862c37e
convert rbac-statistics and rbac-role-builder*.sql files to Liquibase changesets
2022-07-28 17:17:22 +02:00
Michael Hoennig
583c45c85d
add first integration test based on Testcontainers
2022-07-28 16:56:34 +02:00
Michael Hoennig
d234ac3227
convert rbac*.sql files, except test-file, to Liquibase changesets
2022-07-28 16:55:21 +02:00
Michael Hoennig
6c33bbe780
add SpringBoot 2.7.x application
2022-07-28 16:51:36 +02:00
Michael Hoennig
f2d0fbe67a
removing JHipster
2022-07-22 13:31:37 +02:00
Michael Hoennig
31cd92f3be
#145 [Rights-Module] preparation for module specific roles / fix UserRoleAssignmentCriteria
2019-07-03 22:23:51 +02:00
Michael Hoennig
f79c4bd7a1
#145 [Rights-Module] preparation for module specific roles / static init
2019-07-03 21:54:03 +02:00
Michael Hoennig
7db2c23de1
#145 [Rights-Module] preparation for module specific roles
2019-06-27 23:48:16 +02:00
Michael Hoennig
7983aa7e52
#145 [Rights-Module] documented the role system and some renaming
2019-05-25 19:43:29 +02:00
Michael Hoennig
57b6399950
historicization of JHI_USER_AUTHORITY table
2019-05-25 16:40:41 +02:00
Michael Hoennig
354cfbbebc
historicization of JHI_USER table
2019-05-25 16:40:16 +02:00
Michael Hoennig
cbb5532394
Deserializer: improved test code coverage for entity associations
2019-05-22 21:53:45 +02:00
Michael Hoennig
e7cb3622f3
Deserializer: improved test code coverage for IGNORE field access
2019-05-16 20:25:02 +02:00
Michael Hoennig
f9b68df901
Deserializer: BadRequestAlertException("Unknown property") with test code coverage
2019-05-15 07:41:21 +02:00
Michael Hoennig
60612f6c41
#146 [AccessRights] simple AccessFilter for UserRoleAssignments
...
allows r/w for ADMINs and r/o for SUPPORTERs
no entity dependent access rights implemented yet
2019-05-14 07:36:14 +02:00
Michael Hoennig
3143f27b6c
refactored ugly and risky code in role filter / removed Role.isIndependent()
2019-05-10 17:37:36 +02:00
Michael Hoennig
a2b90b0a36
separated MockSecurityContext into SecurityContextMock+SecurityContextMock
2019-05-10 17:21:50 +02:00
Michael Hoennig
72e79e2134
#112 [RightsModule] use UserRoleAssignments from database
2019-05-10 11:18:15 +02:00
Michael Hoennig
01d28a85d4
#137 [Rechte-Modul] sample-data für User+UserRoleAssignment
2019-05-08 20:17:28 +02:00
Michael Hoennig
671d80cc71
adding @EntityTypeId to *DTO as preparation for UserRoleAssignments
2019-05-08 13:17:26 +02:00
Michael Hoennig
735f672ea1
UserRoleAssignment entityTypeId+entityObjectId now required
...
this table only stores entity-dependent roles,
independent roles are stored in the JHipster table JHI_USER_AUTHORITY
2019-05-08 10:56:48 +02:00
Michael Hoennig
8ca206e1c0
accessrights.jdl: UserRoleAssignments entity*Id required
...
Merge branch 'jhipster-generated'
2019-05-07 13:08:26 +02:00
Michael Hoennig
bac012f9b4
accessrights.jdl: UserRoleAssignments entity*Id required
2019-05-07 13:01:04 +02:00
Michael Hoennig
3228b0d0da
make Hibernate sequence start above 1,000,000 to spare ids for sample data
2019-05-07 12:11:17 +02:00
Michael Hoennig
807ed74091
historicization for UserRoleAssinment
2019-05-07 11:01:01 +02:00
Michael Hoennig
6d85a59744
temporarily removing historicization for UserRoleAssinment
...
just to prepare a complete HOWTO-commit
2019-05-07 10:57:17 +02:00
Michael Hoennig
5337e7a7e8
historicization trigger+view for Customer, Membership, SepaMandate, Share and Asset
2019-05-07 10:54:27 +02:00
Michael Hoennig
e49323e99f
UserRoleAssignment historicization
2019-05-06 19:12:12 +02:00
Michael Hoennig
f3c207528e
general historicization table+function for Postgres
2019-05-06 19:11:33 +02:00
Michael Hoennig
295e45e8b8
ReplaceCustomChange: assume auto commit off during Liquibase-Changeset
2019-05-06 18:20:10 +02:00
Michael Hoennig
ecd5573654
ReplaceCustomChangeUnitTest
2019-05-06 11:47:08 +02:00
Michael Hoennig
f8ed5069fb
sample-data: replacing pipes ('|') with newlines now via customChange
...
this avoids database-specific code spread over all sample-data/*.xml files
2019-05-05 14:15:07 +02:00
Michael Hoennig
4c42d15c12
fixing sample-data flag via gw -Psample-data in code+documentation
2019-05-05 14:13:17 +02:00
Michael Hoennig
6efa167427
adding Postgres configurations for dev-environment with sample-data
2019-05-04 13:59:36 +02:00
Michael Hoennig
22e7511952
#124 [intUI/Filter] for UserRoleAssignment
2019-05-03 23:22:17 +02:00
Michael Hoennig
5e001c59f9
Revert " #124 [intUI/Filter] for UserRoleAssignment"
...
I am reverting because I need to fix a bug in this commit and it's a tagged HOWTO commit.
2019-05-03 23:19:12 +02:00
Michael Hoennig
fbb356c8e9
fixing problems with infinite scroll due to hidden scrollbar and filtering
2019-05-03 23:17:52 +02:00
Michael Hoennig
d672d5b0cd
more sample-data for assets
2019-05-03 22:36:57 +02:00
Michael Hoennig
967b06cfa7
#133 [intUI] for now, no sort functionality for *DisplayLabel columns
2019-05-03 21:50:08 +02:00
Michael Hoennig
cd94cb118d
add placeholder="YYYY|--|++" to date filter inputs
2019-05-03 21:02:17 +02:00
Michael Hoennig
b7aac92807
match membership sample-date with sepa-mandate sample-data
2019-05-03 20:22:17 +02:00
Michael Hoennig
20b9d2f105
#131 sample-data for sepamandate
2019-05-03 20:21:07 +02:00
Michael Hoennig
0a9f2584f1
#124 [intUI/Filter] for UserRoleAssignment
2019-05-03 14:41:41 +02:00
Michael Hoennig
ab88505144
#135 [intUI/Filter] filtering non-/empty values possible with '--'/'++'
2019-05-03 12:22:10 +02:00
Michael Hoennig
1a8fb9276e
#120 [intUI/Filter] for Membership
2019-05-03 12:20:54 +02:00
Michael Hoennig
447fbb773d
#122 [intUI/Filter] for Asset and alignment with implementation in Share
2019-05-03 09:28:24 +02:00
Michael Hoennig
5f536ad043
#115/#116/#117 [intUI/textareas] Remark in Membership/Asset/Share
2019-05-03 00:32:58 +02:00
Michael Hoennig
da60a3020f
remove Remark from table view of SepaMandate
2019-05-03 00:22:00 +02:00
Michael Hoennig
6816930793
#118 [intUI/textareas] multiline Remark in SepaMandate
2019-05-03 00:17:43 +02:00
Michael Hoennig
0b3f4d4a03
textarea input and multiline output for Customer.remark (was missing)
2019-05-03 00:12:41 +02:00
Michael Hoennig
8c367ab566
#129 [intUI/Date-Format] SepaMandate
2019-05-03 00:03:51 +02:00
Michael Hoennig
64a91c82ae
makes the actual data easier to read in details views
2019-05-03 00:01:40 +02:00
Michael Hoennig
d758e3a979
#127/#128 [intUI/Date-Format] Asset+Share
2019-05-02 23:45:07 +02:00
Michael Hoennig
30b4d1f95c
#126 [intUI/Date-Format] Membership
2019-05-02 23:39:50 +02:00
Michael Hoennig
5415806621
use STRINGDECODE \n in UPDATE-Statements for linebreaks in sample-data
2019-05-02 23:36:08 +02:00
Michael Hoennig
1bb712276c
properly display line-breaks in customer address fields + STRINGDECODE \n
2019-05-02 23:25:35 +02:00
Michael Hoennig
dccafcc900
added TableFilter to share.component, TableFilter now with date range
2019-05-02 22:51:17 +02:00
Michael Hoennig
8ae7547775
customer table with translated customerKind
2019-05-02 11:52:41 +02:00
Michael Hoennig
2dd3deb17b
fixing tslint issues
2019-05-02 11:28:40 +02:00
Michael Hoennig
13100a9010
assets sample data
2019-05-02 11:25:13 +02:00
Michael Hoennig
84f1abf0b0
shares sample data and some cleanup
2019-05-02 11:17:22 +02:00
Michael Hoennig
7f358cc7fe
membership sample data and some minor fixes
2019-05-02 11:06:09 +02:00
Michael Hoennig
89437ca067
filter Customer table + class TableFilter
2019-05-02 09:54:37 +02:00
Michael Hoennig
6df2cbce0b
remove duplicate userId from entity UserRoleAssignment
...
(it already comes implicitly through the relationship)
2019-04-30 18:29:32 +02:00
Michael Hoennig
4529527e3b
removing duplicate userId from entity UserRoleAssignment
...
(it comes implicitly through the relationship)
2019-04-30 18:04:25 +02:00
Michael Hoennig
3c89878c21
cate userId from entity UserRoleAssignment
...
(it comes implicitly through the relationship)
2019-04-30 17:58:56 +02:00
Michael Hoennig
3908ff3d74
Merge branch 'jhipster-generated' with initially imported accessrighs.jdl
2019-04-30 17:29:18 +02:00
Michael Hoennig
084c12d2c4
adding and importing accessrights.jdl with spotless
2019-04-30 17:24:24 +02:00
Michael Hoennig
1aed3236a5
Merge branch 'jhipster-generated'
...
# Conflicts:
# build.gradle
# cfg/spotless/eclipse_formatter.xml
# cfg/spotless/hsadminng.importorder
# src/main/java/org/hostsharing/hsadminng/HsadminNgApp.java
# src/main/java/org/hostsharing/hsadminng/domain/Asset.java
# src/main/java/org/hostsharing/hsadminng/domain/Membership.java
# src/main/java/org/hostsharing/hsadminng/domain/SepaMandate.java
# src/main/java/org/hostsharing/hsadminng/domain/Share.java
# src/main/java/org/hostsharing/hsadminng/repository/MembershipRepository.java
# src/main/java/org/hostsharing/hsadminng/security/SecurityUtils.java
# src/main/java/org/hostsharing/hsadminng/service/AssetService.java
# src/main/java/org/hostsharing/hsadminng/service/CustomerQueryService.java
# src/main/java/org/hostsharing/hsadminng/service/MembershipQueryService.java
# src/main/java/org/hostsharing/hsadminng/service/MembershipService.java
# src/main/java/org/hostsharing/hsadminng/service/SepaMandateQueryService.java
# src/main/java/org/hostsharing/hsadminng/service/ShareService.java
# src/main/java/org/hostsharing/hsadminng/service/dto/AssetDTO.java
# src/main/java/org/hostsharing/hsadminng/service/dto/CustomerCriteria.java
# src/main/java/org/hostsharing/hsadminng/service/dto/CustomerDTO.java
# src/main/java/org/hostsharing/hsadminng/service/dto/MembershipDTO.java
# src/main/java/org/hostsharing/hsadminng/service/dto/SepaMandateDTO.java
# src/main/java/org/hostsharing/hsadminng/service/dto/ShareDTO.java
# src/main/java/org/hostsharing/hsadminng/service/mapper/CustomerMapper.java
# src/main/java/org/hostsharing/hsadminng/web/rest/AssetResource.java
# src/main/java/org/hostsharing/hsadminng/web/rest/ShareResource.java
# src/main/java/org/hostsharing/hsadminng/web/rest/errors/ExceptionTranslator.java
# src/test/java/org/hostsharing/hsadminng/web/rest/AssetResourceIntTest.java
# src/test/java/org/hostsharing/hsadminng/web/rest/CustomerResourceIntTest.java
# src/test/java/org/hostsharing/hsadminng/web/rest/MembershipResourceIntTest.java
# src/test/java/org/hostsharing/hsadminng/web/rest/SepaMandateResourceIntTest.java
# src/test/java/org/hostsharing/hsadminng/web/rest/ShareResourceIntTest.java
2019-04-30 17:13:06 +02:00
Michael Hoennig
2c94d6a985
adding spotless, re-importing customer.jdl and spotlessApply
2019-04-30 17:08:45 +02:00
Michael Hoennig
1373756877
Revert "makes 'gw spotlessCheck' deliberately fail to test Jenkins pipeline"
...
This reverts commit dcf7bdc9
2019-04-30 13:13:57 +02:00
Michael Hoennig
dcf7bdc9b1
makes 'gw spotlessCheck' deliberately fail to test Jenkins pipeline
2019-04-30 13:07:27 +02:00
Michael Hoennig
b5d50acfbd
gw spotlessApply to latest revision, preparation for re-merging generated
2019-04-30 12:21:33 +02:00
Michael Hoennig
29a2178a48
splitting up build.gradle - step 1
2019-04-30 07:52:37 +02:00
Michael Hoennig
087e6617d3
using a proper displayLabel for the parent SepaMandate->Customer (HOWTO)
...
Unfortunately without a test for the HTML template changes of the Angular components
because these seem to come only with Protractor, which we had not configured in JHipster.
2019-04-29 18:43:23 +02:00
Michael Hoennig
2980103764
run createSepaMandate test now as FINANCIAL_CONTACT of related customer
2019-04-29 15:18:45 +02:00
Michael Hoennig
0fd30a5700
adding AccessMappings SepaMandateDTO with tests + consequences (HOWTO)
2019-04-29 12:39:31 +02:00
Michael Hoennig
cc0857e33b
FluentBuilder<D> as interface with default method
2019-04-29 12:19:34 +02:00
Michael Hoennig
1916347490
Revert "adding AccessMappings SepaMandateDTO with tests + consequences (HOWTO)"
...
This reverts commit 328e809a
because I want all changes of this HOWTO in a single commit.
Unfortunately due to the access filter, the SepaMandateIntTest failed with branch coverage, as some branches were not reachable anymore.
2019-04-29 11:23:05 +02:00
Michael Hoennig
328e809a2b
adding AccessMappings SepaMandateDTO with tests + consequences (HOWTO)
2019-04-29 09:39:08 +02:00