- Jun 19, 2019
-
-
Daniel Gerhardt authored
Add placeholder in reset mail for reset key See merge request !135
-
Tom Käsler authored
-
- Jun 06, 2019
-
-
Daniel Gerhardt authored
Room moderators See merge request arsnova/arsnova-backend!131
-
This also fixes the read permission room owners. They now have read access to closed rooms.
-
The `/room/find` endpoint has been extended to support querying rooms by moderator user ID. It can be used in combination with the `ownerId` property.
-
Moderators can assist a room owner in managing the room. This commit adds API and persistence support for moderators.
-
Daniel Gerhardt authored
Add placeholder in activation mail for activation key See merge request arsnova/arsnova-backend!133
-
Tom Käsler authored
-
- Jun 05, 2019
-
-
Daniel Gerhardt authored
An error was logged before destroying UserServiceImpl class without any reason.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
An error was logged before destroying UserService class without any reason.
-
Daniel Gerhardt authored
Allow limited access to UserProfiles for authenticated users See merge request arsnova/arsnova-backend!130
-
Authenticated users can read `loginId` and `authProvider` properties. A FindQueryService has been added to lookup UserProfiles by `loginId`.
-
Daniel Gerhardt authored
Resolve "Tests should not use env specific arsnova.properties" Closes #41 See merge request arsnova/arsnova-backend!132
-
Christoph Thelen authored
-
Daniel Gerhardt authored
Add tests for JsonViewControllerAdvice See merge request arsnova/arsnova-backend!129
-
Two key changes: 1. Add a factory method to create the EntityService with the DummyEntity, so that all other test cases can initialize this Bean. This solves the IllegalStateException reported in this ticket. 2. Use @Autowire instead of @MockBean to use the new factory method. That resolves the known issue that the caching test case does not work because of different RoomRepositories being created for the PermissionEvaluatorAdvice and the EntityService. This makes all tests runnable again. My current theory is that due to the fact that we have at least two EntityServices (one created by the DefaultEntityServiceImplTest, and now one by this test). The @MockBean annotation could be throwing out the previous EntityService, since according to documentation, it replaces existing Beans with the same type. This could lead to a situation where, initially, the PermissionEvaluatorAdvice and the DefaultEntityService share the same RoomRepository. But after the @MockBean replacement occurs, the EntityService is recreated with a different RoomRepository, while the Advice keeps its initial RoomRepository, leading to testing failures in the testCaching test case.
-
This solves the IllegalStateExceptions occurring for most of the other test cases. However, we now have the old problem that different Repositories are injected into objects. In my case, the testCaching case of the DefaultEntityServiceImplTest stops working, because it gets a different RoomRepository than the ApplicationPermissionEvaluator. This behavior is caused by the introduction of the additional profile.
-
-
See commit f620b9e7.
-
- May 31, 2019
-
-
Daniel Gerhardt authored
Add nullpointer check for passwordResetTime Closes #40 See merge request arsnova/arsnova-backend!127
-
Tom Käsler authored
-
- May 28, 2019
-
-
Daniel Gerhardt authored
Add a 'view' parameter for all entity endpoints See merge request arsnova/arsnova-backend!128
-
Daniel Gerhardt authored
A JsonView for serialization is applied based on the 'view' query parameter. The following values are currently supported: * admin (View.Admin.class) * owner (View.Owner.class) * <unset> (Public.Admin.class)
-
Daniel Gerhardt authored
Return 403 Forbidden on duplicated username when registering Closes #38 See merge request arsnova/arsnova-backend!126
-
-
- May 27, 2019
-
-
Daniel Gerhardt authored
The RegEx unintentionally required a minimum length of 2 for IDs.
-
- Apr 30, 2019
-
-
Daniel Gerhardt authored
Enable rabbitmq See merge request arsnova/arsnova-backend!122
-
Tom Käsler authored
add queue naming conventions to doc add management interface into to rabbit file
-
Daniel Gerhardt authored
Add auth logic for stomp clients over ws See merge request arsnova/arsnova-backend!123
-
remove unneccessary imports use correct Nullable from checkerframework
-
- Apr 17, 2019
-
-
Tom Käsler authored
Fix feedback messaging See merge request arsnova/arsnova-backend!121
-
Tom Käsler authored
-
Tom Käsler authored
-
- Apr 09, 2019
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
The version set for Pac4j was previously ineffective because it was set by spring-security-pac4j first.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-