Commit Graph

4777 Commits

Author SHA1 Message Date
Johannes Schnatterer
35231fb202 Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-08-01 10:30:38 +02:00
René Pfeuffer
44d96f29ad Initialize missing user database at startup 2018-08-01 09:59:23 +02:00
Johannes Schnatterer
b27f4c277c Merged in feature/global_config_v2_endpoint (pull request #51)
Feature/global config v2 endpoint
2018-07-31 14:25:49 +00:00
Johannes Schnatterer
4dc905d49a Close branch feature/global_config_v2_endpoint 2018-07-31 14:25:49 +00:00
Johannes Schnatterer
c3b7703f2b Merged 2.0.0-m3 into feature/global_config_v2_endpoint 2018-07-31 16:21:40 +02:00
Johannes Schnatterer
865929b328 Renames globalConfig to config.
From an SCMM point of view there is only one config, so no "global" necessary.
The others configs are provided by plugins.
2018-07-31 14:47:15 +02:00
Johannes Schnatterer
1db45a7892 Updates Shiro Static Permission to deterministic version.
Contains PR that can generate interfaces.
2018-07-31 14:42:47 +02:00
Johannes Schnatterer
ca93735514 Return no content on PUT /config 2018-07-31 14:14:21 +02:00
Johannes Schnatterer
912dea6d6e Simplifies GlobalConfigDto.
Use camel case everywhere and no XML annotation.
2018-07-31 14:13:41 +02:00
Johannes Schnatterer
9aaca22942 DTO Config Mapper: Adds tests for all properties 2018-07-31 13:43:43 +02:00
Johannes Schnatterer
c7ce170513 Config DTO Mapper: Adds tests for all properties 2018-07-31 13:18:27 +02:00
Sebastian Sdorra
54b47ae74b merge with branch feature/ui-for-scm2 2018-07-31 08:28:40 +02:00
Sebastian Sdorra
9d7a76ed62 close branch feature/ui-for-scm2 2018-07-31 08:21:52 +02:00
Johannes Schnatterer
7572580ac1 Create fine-grained configuration permissions.
No more hard-coded isAdmin() checks.
2018-07-30 17:41:00 +02:00
Philipp Czora
ea5ef13cfb Added tests for AuthenticationResource 2018-07-30 17:07:22 +02:00
Sebastian Sdorra
dc0ed6b695 remove legacy exception handling from AuthenticationResource 2018-07-30 16:19:21 +02:00
Sebastian Sdorra
b8897b273a do not use IllegalArgumentException for parameter validation 2018-07-30 16:13:17 +02:00
Sebastian Sdorra
cba3fc38e6 fixed code smells and added some more tests 2018-07-30 15:51:45 +02:00
Sebastian Sdorra
b825de3058 use pending and error module for auth, me and logout 2018-07-30 15:29:23 +02:00
Philipp Czora
e122a254c3 Added unit tests for users selectors 2018-07-30 15:04:44 +02:00
Sebastian Sdorra
8afc85daa1 added test execution to pre-commit goal 2018-07-30 13:42:06 +02:00
Sebastian Sdorra
a9ca309b39 fixed failing selector test 2018-07-30 13:41:42 +02:00
Sebastian Sdorra
7be1366c1a update users module to use new pending and error state 2018-07-30 13:38:15 +02:00
Sebastian Sdorra
9e029c0c5c created pending and failure module 2018-07-30 11:18:20 +02:00
Sebastian Sdorra
2511e99409 small fixes in users module 2018-07-30 11:17:47 +02:00
Sebastian Sdorra
f9f93b338e match user and users path in primary navigation 2018-07-30 09:36:44 +02:00
Philipp Czora
768e1afd1a Minor changes due to review 2018-07-30 09:32:13 +02:00
Philipp Czora
08ac5af812 Merged in feature/ui_users_paging (pull request #53)
Feature/ui users paging
2018-07-30 07:19:59 +00:00
Philipp Czora
46a3dd3a75 Close branch feature/ui_users_paging 2018-07-30 07:19:59 +00:00
Philipp Czora
82f50c3404 Fixed test structure for users 2018-07-30 09:12:33 +02:00
Philipp Czora
b247820fc9 Merged branches 2018-07-27 13:24:28 +02:00
Philipp Czora
e5f7621bad Fixed minor issues 2018-07-27 11:52:08 +02:00
Sebastian Sdorra
e34904afce move loading state for add user back to the submit button
This change is necessary, because the old loading behaviour forces the form to rerender, which in turn causes a lost of the input. Now the loading state is back to the submit button.
2018-07-27 10:54:49 +02:00
Sebastian Sdorra
c7171dd540 treat empty user creation form as invalid 2018-07-27 10:43:06 +02:00
Sebastian Sdorra
26e3525d4c reset create form on load 2018-07-27 10:38:35 +02:00
Sebastian Sdorra
387aa23cd4 fixed switch between controlled and uncontrolled input fields 2018-07-27 10:29:22 +02:00
Sebastian Sdorra
70df3e043d prevent for submit with invalid values 2018-07-27 10:24:03 +02:00
Sebastian Sdorra
466d8255eb removed unnecessary escaping 2018-07-27 10:17:48 +02:00
Sebastian Sdorra
92d0fc6e69 separate validation logic to simplify testing and use same logic as backend 2018-07-27 10:14:55 +02:00
Sebastian Sdorra
7bd03ed8b5 remove unused import 2018-07-27 08:05:51 +02:00
Sebastian Sdorra
968d4efd0d simplify users by using selectors 2018-07-27 08:04:48 +02:00
Sebastian Sdorra
9421359f87 added test for button click 2018-07-27 07:30:40 +02:00
Philipp Czora
f5033290e2 Extracted AuthenticationRequestDto into own class 2018-07-26 17:17:53 +02:00
Sebastian Sdorra
ac32b88256 start implementation of pagination for users 2018-07-26 15:30:28 +02:00
Maren Süwer
52b98c196d add validation 2018-07-26 15:29:21 +02:00
Philipp Czora
66bc8b75c5 Added unit test for authentication resource 2018-07-26 15:04:50 +02:00
Philipp Czora
b1d643769a Merge heads 2018-07-26 13:14:57 +02:00
Philipp Czora
e1b3efb5ff Fixed unit test 2018-07-26 13:14:08 +02:00
Maren Süwer
a7ac146161 add remark to possible translation of error messages 2018-07-26 10:26:37 +02:00
Maren Süwer
0ab0950bb3 remove unused import 2018-07-26 10:20:09 +02:00