Commit Graph

430 Commits

Author SHA1 Message Date
Michael Hoennig
efa2972375 code coverage improved for MembershipResource and CustomerResource
and Customer not explicitly deletable anymore
2019-04-27 12:05:30 +02:00
Michael Hoennig
3b0d46a4c8 better display labels and less columns in tables (deliberately not yet in SepaMandate*) 2019-04-27 11:30:15 +02:00
Michael Hoennig
b9a7c33c6a explicitly mock user+role in *IntTest, set global role HOSTMASTER only in dev profile 2019-04-27 11:10:36 +02:00
Michael Hoennig
5d843f4725 org.hostsharing.hsadminng logging on INFO level and logging in SecurityUtils 2019-04-27 10:28:16 +02:00
Michael Hoennig
53382beb88 MembershipDTO JSonSerializerWithAccessFilter proper membershipDisplayReference 2019-04-27 09:52:54 +02:00
Michael Hoennig
c8bb8cb2ca @AccessFrom in AssetDTO and AssetMapper with improved membershipDisplayReference 2019-04-27 07:13:52 +02:00
Michael Hoennig
6570981dc2 Revert "@AccessFrom in AssetDTO and AssetMapper with improved membershipDisplayReference"
This reverts commit 4ad0d5d954.
2019-04-27 06:37:56 +02:00
Michael Hoennig
51ff0c4990 Revert "MembershipDTO JSonSerializerWithAccessFilter proper membershipDisplayReference"
This reverts commit da5b667607.
2019-04-27 06:37:30 +02:00
Michael Hoennig
7e3d3ec5de Revert "better display labels and less columns in tables (deliberately not yet in SepaMandate*)"
This reverts commit d81b71cd3a.
2019-04-27 06:36:11 +02:00
Michael Hoennig
d81b71cd3a better display labels and less columns in tables (deliberately not yet in SepaMandate*) 2019-04-26 22:11:49 +02:00
Michael Hoennig
da5b667607 MembershipDTO JSonSerializerWithAccessFilter proper membershipDisplayReference 2019-04-26 17:43:22 +02:00
Michael Hoennig
4ad0d5d954 @AccessFrom in AssetDTO and AssetMapper with improved membershipDisplayReference 2019-04-26 17:15:39 +02:00
Michael Hierweck
7b039fcedb Remove outdate liquibase changesets 2019-04-26 12:54:10 +02:00
Michael Hoennig
a10a3a62e5 fix failing unit test and better coverage 2019-04-26 11:27:29 +02:00
Michael Hoennig
ea08f4a6c6 removed bloat-code from JsonComponents in DTOs 2019-04-26 10:26:25 +02:00
Michael Hoennig
a6fd210de5 test code coverage improved and more JSon/field types 2019-04-25 18:53:32 +02:00
Michael Hoennig
fb3b79cfc4 for now, make give all users the role of a HOSTMASTER 2019-04-25 12:56:51 +02:00
Michael Hoennig
3e30cf2d17 merging current DTO during deserialization 2019-04-25 12:22:45 +02:00
Michael Hoennig
fb961ca4a1 merging from master 2019-04-24 17:41:28 +02:00
Michael Hierweck
7c7d79c870 Fixed tests after merge. 2019-04-24 17:22:56 +02:00
Michael Hierweck
5ac1277e7e Merge branch 'jhipster-generated' 2019-04-24 16:14:14 +02:00
Michael Hierweck
2a4ee0507c Preliminary completed customer model. 2019-04-24 14:36:11 +02:00
Michael Hoennig
ad1517a16e JSonAccessFilter with generic access to grand parent role 2019-04-24 13:23:08 +02:00
Michael Hoennig
639ea06243 JSonAccessFilter with initially working (hardcoded) grand parent role 2019-04-24 12:30:26 +02:00
Michael Hoennig
a94516b3ce JSonSerializer/DeserializerWithAccessFilter: also use role in parent 2019-04-23 14:37:49 +02:00
Michael Hoennig
1505e7bd66 JSonDeserializerWithAccessFilter: shouldDetectMultipleSelfIdFields 2019-04-23 09:22:23 +02:00
Michael Hoennig
63bd602397 JSonDeserializerWithAccessFilter with working access rights validation 2019-04-23 08:31:26 +02:00
Michael Hoennig
bb0fb4aa78 parallel structure for JSonSerializer/DeserializerWithAccessFilter 2019-04-23 06:57:06 +02:00
Michael Hoennig
90316a262b JSonSerializerWithAccessFilter - idea for parallel structure with deserializer 2019-04-23 06:28:36 +02:00
Michael Hoennig
741e91bb78 JSonSerializerWithAccessFilter - idea for generalization of field types 2019-04-23 06:27:41 +02:00
Michael Hoennig
1dae396d99 JSonDeserializerWithAccessFilter 2019-04-23 06:17:55 +02:00
Michael Hoennig
1bc7044527 fixing pitest failure by excluding purely generated code etc.
also removed unused methods and added a unit test to improve coverage
and setting thresholds now to 90% each
2019-04-21 11:53:30 +02:00
Michael Hoennig
7ba20b3687 improving branch coverage for AssetResourceIntTest 2019-04-20 10:47:01 +02:00
Michael Hierweck
a89967e91b Translations. 2019-04-19 14:11:54 +02:00
Michael Hierweck
bc1c94a364 Shares and Assets. 2019-04-19 13:44:52 +02:00
Michael Hoennig
998a5a8aa1 WIP JSonDeserializerWithAccessFilter 2019-04-19 12:08:30 +02:00
Michael Hoennig
0b7ebac472 first shot @AccessFor on MembershipDTO 2019-04-19 12:08:04 +02:00
Michael Hoennig
6e017aba49 removing orphaned specialized serializer from CustomerDTO 2019-04-19 11:01:52 +02:00
Michael Hoennig
a24ca35bd7 JSonSerializerWithAccessFilterUnitTest 2019-04-19 10:46:40 +02:00
Michael Hoennig
1ad74907bd RoleUnitTest + special case FINANCIAL_CUSTOMER_CONTACT 2019-04-19 09:13:19 +02:00
Michael Hoennig
d5a37ddfae JavaDoc for Role 2019-04-19 07:46:11 +02:00
Michael Hoennig
f4960f260e moving the JSonSerializer to a separate package 2019-04-19 07:18:20 +02:00
Michael Hoennig
6ab67995ff fixing tests after merging master 2019-04-18 18:11:56 +02:00
Michael Hoennig
16cf845015 Merge branch 'master' into spike/JSonSerializerDeserializerForDTOs
# Conflicts:
#	package-lock.json
#	src/main/java/org/hostsharing/hsadminng/service/dto/CustomerDTO.java
2019-04-18 17:36:35 +02:00
Michael Hierweck
633ae1d7d1 Merge branch 'jhipster-generated' 2019-04-18 17:18:03 +02:00
Michael Hoennig
5287d78fcb JSON serializer generalized 2019-04-18 17:16:18 +02:00
Michael Hierweck
fa0ba61de3 Generated 2019-04-18 16:31:39 +02:00
Michael Hierweck
c6be30895e Customer JDL 2019-04-18 16:20:25 +02:00
Michael Hierweck
1dc03456b2 Merge branch 'jhipster-generated' 2019-04-18 15:25:44 +02:00
Michael Hoennig
bc87739d6f JSON serialiezr/deserializer for CustomerDTO - manually 2019-04-18 14:48:58 +02:00
Michael Hierweck
2459dd3b64 Model customers. 2019-04-18 12:12:25 +02:00
Michael Hierweck
bff4547d40 Merge branch 'jhipster-generated' 2019-04-18 10:51:02 +02:00
Michael Hierweck
7f0dfebaa4 Model customers. 2019-04-18 09:33:55 +02:00
Michael Hoennig
35565e1b43 comment access rights on CustomerDTO 2019-04-17 16:45:16 +02:00
Michael Hoennig
7b7598871b added sample data for memberships 2019-04-12 18:50:38 +02:00
Michael Hoennig
3e66a21805 added comment regarding potential race condition 2019-04-12 17:34:28 +02:00
Michael Hoennig
bd5bb859d9 re-importing latest customer.jdl from master branch 2019-04-12 16:46:43 +02:00
Michael Hoennig
39950f0d69 several 'required' flags added to jdl and re-import 2019-04-12 16:43:16 +02:00
Michael Hoennig
4dbbd5ecde MembershipValidator using membershipRepository.hasUncancelledMembershipForCustomer 2019-04-12 14:43:23 +02:00
Michael Hoennig
d1d6001842 introduced MembershipValidator 2019-04-11 18:06:12 +02:00
Michael Hoennig
c6bf856b34 prevent deleting memberhsip via service call 2019-04-11 16:52:50 +02:00
Michael Hoennig
ec70357ea0 jacoco code coverage (with deliberately too low limit for testing) 2019-04-09 15:00:01 +02:00
Michael Hoennig
9039fa5109 properly display line-breaks in customer address fields 2019-04-09 11:33:34 +02:00
Michael Hoennig
fe60e789d1 line-breaks in customer address sanmple data + sample data separated 2019-04-09 10:11:10 +02:00
Michael Hoennig
0419e7cd21 ShareServiceUnitTest and fixes in other related tests 2019-04-08 16:16:06 +02:00
Michael Hoennig
09da027bed Merge branch 'jhipster-generated' 2019-04-04 09:21:25 +02:00
Michael Hoennig
d787544ebf added name+address+salutation to customer 2019-04-04 09:19:50 +02:00
Michael Hierweck
31aafd3b86 Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hsadmin-ng 2019-04-03 14:29:48 +02:00
Michael Hierweck
603bd4ad67 PoC: data set based input validation (backend) 2019-04-03 14:29:12 +02:00
Michael Hoennig
38244767d7 fix code style violation (let -> const) 2019-04-03 13:47:26 +02:00
Michael Hoennig
d379043a4b sample data for contact and customer-contact 2019-04-03 13:40:13 +02:00
Michael Hoennig
301f5facd4 filter Customer table 2019-04-03 11:53:36 +02:00
Michael Hoennig
d583c9ec47 generate some Customer sample data for context="sample-data" 2019-04-03 11:38:46 +02:00
Michael Hoennig
1f1794b4f8 constraint violation error handler 2019-04-03 11:04:45 +02:00
Michael Hoennig
1e7b801e22 import of initial customer.jdl including related entities 2019-04-03 10:58:26 +02:00
Michael Hoennig
acd28d679c service/dto/filter for all entities 2019-04-02 16:15:46 +02:00
Michael Hoennig
539e3c48fd sortable Customer+Contact 2019-04-02 15:33:20 +02:00
Michael Hoennig
79f59fb323 initial customer.jdl 2019-04-02 12:30:05 +02:00
Michael Hoennig
850b02273a generated Jenkinsfile 2019-04-01 16:36:53 +02:00
Michael Hoennig
e0b3d2a36d Initial application generated by JHipster-5.8.2 2019-04-01 13:14:56 +02:00