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
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
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
ab88505144
#135 [intUI/Filter] filtering non-/empty values possible with '--'/'++'
2019-05-03 12:22:10 +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
2dd3deb17b
fixing tslint issues
2019-05-02 11:28:40 +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
2c94d6a985
adding spotless, re-importing customer.jdl and spotlessApply
2019-04-30 17:08:45 +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
Michael Hoennig
474d51fbae
refactoring of AccessMappingsUnitTestBase overloading -> method refs in ctor
2019-04-29 09:29:04 +02:00
Michael Hoennig
0de11a2548
cleanup unused constants in SepaMandateResourceIntTest
2019-04-29 09:12:30 +02:00
Michael Hoennig
8267cef973
improved code coverage for ShareResource
2019-04-28 14:38:03 +02:00
Michael Hoennig
5835f15cd9
implemented more AssetDTO+ShareDTO tests and fixed but in ShareDTO
2019-04-28 14:15:51 +02:00
Michael Hoennig
2cd92d4e2c
generalized AccessMappingsUnitTestBase
2019-04-28 12:05:02 +02:00
Michael Hoennig
0257c83fa5
fine-tuning pitest config and increasing threshold
2019-04-28 11:14:44 +02:00
Michael Hoennig
acfef3dfbe
test for equality via compareTo() to consider BigDecimal/DateTime etc. => effectively unchanged in update
2019-04-27 20:36:25 +02:00
Michael Hoennig
3abc201a8d
split up AssetDTOUnitTest and AssetDTOIntTest, AccessMappingsUnitTestBase
2019-04-27 17:56:50 +02:00
Michael Hoennig
5edf97b230
AssetDTOUnitTest and Membership.displayLabel now with memberFrom/Until
2019-04-27 15:03:03 +02:00
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
53382beb88
MembershipDTO JSonSerializerWithAccessFilter proper membershipDisplayReference
2019-04-27 09:52:54 +02:00
Michael Hoennig
bed81ee7f8
Fix AssetResourceIntTest BigDecimal scaling problem
2019-04-27 07:16:26 +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
638a35ea5a
Revert "Fix AssetResourceIntTest BigDecimal scaling problem"
...
This reverts commit a86e4d7afb
.
2019-04-27 06:36:47 +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
f301364d84
Revert "trying to find reason for failing tests in Jenkins, locally all tests are green"
...
This reverts commit 318ecd0be4
.
2019-04-27 06:36:01 +02:00
Michael Hoennig
f08a1d89b3
Revert "trying to find reason for failing tests in Jenkins, locally all tests are green"
...
This reverts commit 411342eb0b
.
2019-04-27 06:35:51 +02:00
Michael Hoennig
411342eb0b
trying to find reason for failing tests in Jenkins, locally all tests are green
2019-04-26 23:00:21 +02:00