- Oct 11, 2019
-
-
Daniel Gerhardt authored
Previously, some `AuthenticationException`s were not handled, so the API responded with status code 500 instead of 401.
-
- Oct 10, 2019
-
-
Tom Käsler authored
Remove Apache Directory Server Closes #61 See merge request arsnova/arsnova-backend!188
-
Daniel Gerhardt authored
It causes dependency conflicts with OpenSAML and isn't used anymore. Refs arsnova-backend!171. Fixes arsnova-backend#61.
-
Tom Käsler authored
Add more fine-grained authorization handling for management API See merge request arsnova/arsnova-backend!187
-
* Everyone can access /health (w/o details) and /info. * Role `MONITORING` can access: * /health/** (w/ component details) * /metrics[/**] * /prometheus * /stats * Role `ADMIN` can access everything.
-
Tom Käsler authored
Only use Spring's auto configuration for Actuator Closes #57 See merge request arsnova/arsnova-backend!186
-
An `AutoConfigurationImportFilter` has been implemented to filter auto configuration classes by package name. Only classes needed for Actuator are selected. With this change Spring does no longer create beans for services that are disabled. This solves problems with Actuator's health endpoint reporting "DOWN" for those services. An LdapTemplate bean is conditionally registered which was previously handled by auto configuration. Fixes #57.
-
Tom Käsler authored
Add config property for LDAP connect timeout See merge request arsnova/arsnova-backend!185
-
-
Tom Käsler authored
Add entity HTTP headers for moderator endpoints Closes #60 See merge request arsnova/arsnova-backend!184
-
The Room entity's ID and new revision are now sent with the response to moderator updates. This allows clients to update their cached entity instead of requesting the full entity again. Implements arsnova-backend#60.
-
Tom Käsler authored
Keep moderators when a full room update is done Closes #59 See merge request arsnova/arsnova-backend!183
-
- Oct 09, 2019
-
-
Daniel Gerhardt authored
Fixes arsnova-backend#59.
-
Daniel Gerhardt authored
Fix startup w/o migrate-from property Closes #56 See merge request arsnova/arsnova-backend!182
-
Daniel Gerhardt authored
Startup failed when `system.couchdb.migrate-from` was not set. This was a regression introduced by !174. Fixes #56.
-
- Oct 08, 2019
-
-
Daniel Gerhardt authored
Gridimage content format See merge request arsnova/arsnova-backend!180
-
- Oct 06, 2019
-
-
Daniel Gerhardt authored
Answers for `GridImageContents` are stored as `ChoiceAnswer`s.
-
Daniel Gerhardt authored
The model of grid image contents has been overhauled to store data more efficient. Fields are now represented as a single index int value instead of a semicolon separated String. Instead of storing all selectable fields now only the correct ones are stored. Further changes: * Field size instead of scale factor and zoom level for grid * Normalized values for offsets and field size * A single scale factor value for the image * Rotation in degrees * Removed coloring settings
-
Daniel Gerhardt authored
Fix NullPointerException caused by AnswerStatistics See merge request arsnova/arsnova-backend!181
-
Daniel Gerhardt authored
A NullPointerException was caused by RoundStatistics with uninitilized lists.
-
- Oct 05, 2019
-
-
Daniel Gerhardt authored
Continue aborted migrations with help of saved state See merge request arsnova/arsnova-backend!179
-
Daniel Gerhardt authored
The error message includes the list index so it is easier to find the document causing the problem.
-
Daniel Gerhardt authored
Migrations can now be split into smaller steps. This change and additional stored migration state data allow aborted migrations to be continued.
-
Daniel Gerhardt authored
Add update support to content group endpoint See merge request arsnova/arsnova-backend!177
-
Daniel Gerhardt authored
Content groups can be updated by sending the updated entity via PUT request to the /room/{roomId}/contentgroup/{groupName} endpoint.
-
- Oct 04, 2019
-
-
Daniel Gerhardt authored
Fix HTTP connection leak by database index creation See merge request arsnova/arsnova-backend!178
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Fix NoSuchElementException in group stats endpoint See merge request arsnova/arsnova-backend!176
-
Daniel Gerhardt authored
A NoSuchElementException was thrown when the stats endpoint was requested for a room w/o any content groups.
-
- Oct 03, 2019
-
-
Daniel Gerhardt authored
Fix NPE in migration of text content format See merge request arsnova/arsnova-backend!175
-
Daniel Gerhardt authored
Fixes a regression introduced by arsnova/arsnova-backend!174.
-
- Oct 01, 2019
-
-
Daniel Gerhardt authored
Improve migrations See merge request arsnova/arsnova-backend!174
-
Daniel Gerhardt authored
The solution text is no longer preferred over the hint text if it is an empty String.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Migrations are once again enabled if `migrate-from` property is set. Code has been refactored to use `@ConditionalOnProperty` instead of a custom implementation for `@Conditional`.
-
Daniel Gerhardt authored
* Add handling for OIDC, SAML and anonymized profiles * Remove prefixes from loginIds
-
Daniel Gerhardt authored
Content groups are created based on question variants of the v2 question documents.
-
Daniel Gerhardt authored
Use Object instead of wildcard for extensions' inner Map See merge request arsnova/arsnova-backend!173
-
Daniel Gerhardt authored
Wildcard types should not be used as return type.
-
Daniel Gerhardt authored
Add additional text properties for content See merge request arsnova/arsnova-backend!172
-