- Aug 21, 2019
-
-
Daniel Gerhardt authored
An PropertySourcesPlaceholderConfigurer bean was still set up which tried to load the legacy properties files. Refs !137.
-
- Aug 17, 2019
-
-
Daniel Gerhardt authored
Fix persistance related bugs for contents and answers See merge request !150
-
Daniel Gerhardt authored
* Fix delayed answer creation * Fix deletion of all contents of a group * Fix deletion of all answers of a content * Fix answer count for groups * Initialize new answers with round 1
-
Daniel Gerhardt authored
Refactor handling of content groups See merge request !141
-
Daniel Gerhardt authored
Use updated content group handling and remove all references to the old `variant` property of contents/answers. The following /v2 endpoints are now fully implemented: * Deleting all contents of a group (/) * Retrieving ids of unanswered content in a group (/unanswered) * Deleting all answers of contents in a group (/answers) * Counting answers of a group (/answercount)
-
- Aug 16, 2019
-
-
Daniel Gerhardt authored
The `ContentFindQueryService` now supports filtering contents of a room that are not part of any content group.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Content groups are now a separate entity with their own repository and service and endpoint. A content group can no longer be set when creating a new content. Instead the new API endpoint has to be used to add the content to a group.
-
- Aug 11, 2019
-
-
Daniel Gerhardt authored
Update Travis CI config See merge request !149
-
Daniel Gerhardt authored
* Build and test on OpenJDK 8 and 11 * Upgrade to xenial image (bionic causes issues with JDK 8)
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Update Travis CI config for 2.x See merge request !148
-
Daniel Gerhardt authored
* Remove notification settings * `sudo` environment is no longer supported
-
- Aug 10, 2019
-
-
Daniel Gerhardt authored
Refactor account activation and password reset Closes #47 See merge request !146
-
Daniel Gerhardt authored
Account activation is now using the ban logic as used for login failure logic.
-
Daniel Gerhardt authored
The account activation and reset mail now only contain the code. String placeholders are numbered correctly again. The activation and reset keys' length has been reduced to 8 characters. Fixes #47.
-
Daniel Gerhardt authored
Fix multiple bugs and code smells See merge request !147
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Removed unused legacy forwards.
-
- Aug 06, 2019
-
-
Tom Käsler authored
Implement RFC 6750 instead of custom header for JWT See merge request !144
-
- Aug 04, 2019
-
-
The JWT is now read from the Authorization header: Authorization: Bearer <JWT> The Arsnova-Auth-Token header is no longer supported. Using a standard header simplifies integration of the API with other services and HTTP/REST libraries and tools. RFC 6750: https://tools.ietf.org/html/rfc6750
-
Daniel Gerhardt authored
Add /management endpoint provided via Spring Actuator See merge request !140
-
We do not use any data sources at the moment and the auto config causes problems when the application is deployed to Tomcat.
-
-
Methods annotated with @Timed now use Micrometers annotation. The @Gauge annotation has been remove without replacement for now. While configuration for the use of Micrometer's TimedAspect has been prepared, it is not yet active because of compatibility issues with compile-time weaving. See https://github.com/micrometer-metrics/micrometer/issues/1149.
-
The new endpoint provide metrics including information about application health, environment, configuration, beans, caches and performance via Spring Actuator. Additional custom endpoints for version info and statistics are available. Content type `application/json` may not be set for the `Accept` header of requests to the management API. Otherwise, only a JSON stub is returned. `application/vnd.spring-boot.actuator.v2+json` or `*/*` should be used instead. To allow monitoring of metrics, a Prometheus endpoint is provided via Micrometer. Web API documentation: https://docs.spring.io/spring-boot/docs/2.1.x/actuator-api/html/
-
- Aug 03, 2019
-
-
Daniel Gerhardt authored
Enable Jacoco for GitLab unit test job See merge request !145
-
Daniel Gerhardt authored
-
- Aug 02, 2019
-
-
Daniel Gerhardt authored
Use constants for HTTP methods and header names See merge request !143
-
Daniel Gerhardt authored
-
- Aug 01, 2019
-
-
Tom Käsler authored
Add support to build and run on Java 11 See merge request !142
-
The Nashorn ScriptEngine is deprecated since JDK 11 as described by JEP 335. We now include GraalJS as a replacement. Related docs: * https://github.com/graalvm/graaljs. * https://openjdk.java.net/jeps/174. * https://openjdk.java.net/jeps/335.
-
This workaround can be removed when a new plugin version is released.
-
Java 11 removes Java EE modules as described by JEP 320. Since we depend on some of those modules those have now to be added explicitly. The following affected APIs are used by us directly or indirectly: * javax.annotation * javax.xml.bind Some workarounds had to be added for now to fix issues caused by dependencies which include conflicting APIs. See https://openjdk.java.net/jeps/320.
-
Tom Käsler authored
Add tracing on incoming messages See merge request !139
-