ARSnova Backend issueshttps://git.thm.de/arsnova/arsnova-backend/-/issues2020-01-14T07:21:36+01:00https://git.thm.de/arsnova/arsnova-backend/-/issues/56Import of sessions and learning level calculation do not work due to a web so...2020-01-14T07:21:36+01:00Klaus-Dieter Quibeldey-CirkelImport of sessions and learning level calculation do not work due to a web socket problem![Bildschirmfoto_2020-01-14_um_07.12.46](/uploads/6eaa3ed7834696fe387ca0db19026678/Bildschirmfoto_2020-01-14_um_07.12.46.png)![Bildschirmfoto_2020-01-14_um_07.12.46](/uploads/6eaa3ed7834696fe387ca0db19026678/Bildschirmfoto_2020-01-14_um_07.12.46.png)Daniel GerhardtDaniel Gerhardthttps://git.thm.de/arsnova/arsnova-backend/-/issues/55About restarting the activation process2019-09-18T23:29:26+02:00Tom KäslerAbout restarting the activation processWhen the mail gets lost somehow, the user 'lost' the email for making an account.
Proposal:
- POST /user/~\<email\>/resetactivation
- generates a new activation key and sends the mailWhen the mail gets lost somehow, the user 'lost' the email for making an account.
Proposal:
- POST /user/~\<email\>/resetactivation
- generates a new activation key and sends the mailhttps://git.thm.de/arsnova/arsnova-backend/-/issues/52application.yml charset2019-09-16T11:13:05+02:00Tom Käslerapplication.yml charsetIs there a way to enter umlauts and such?Is there a way to enter umlauts and such?https://git.thm.de/arsnova/arsnova-backend/-/issues/48Update documentation re: defaults.yml, unnecessary setup tool2019-08-26T13:38:19+02:00Christoph ThelenUpdate documentation re: defaults.yml, unnecessary setup toolSince the `arsnova.properties` file has been replaced with `defaults.yml`/`application.yml`, the documentation should reflect these changes. The necessary arguments for eg. Jetty should be documented as well.
Similarly, the setup tool i...Since the `arsnova.properties` file has been replaced with `defaults.yml`/`application.yml`, the documentation should reflect these changes. The necessary arguments for eg. Jetty should be documented as well.
Similarly, the setup tool is no longer needed.3.0-beta2https://git.thm.de/arsnova/arsnova-backend/-/issues/45Change room and groups2019-08-27T21:11:55+02:00Tom KäslerChange room and groups- remove status information from room object (e.g. settings, closed)
- remove contentGroups from room object
- remove state from content object
- new endpoint for roomstatus information:
- get contentgroup names and count for c...- remove status information from room object (e.g. settings, closed)
- remove contentGroups from room object
- remove state from content object
- new endpoint for roomstatus information:
- get contentgroup names and count for content (both visible and not visible for students)
- get other status info like how many students are in the room
- manipulate state as owner/moderator
- new endpoint for content groups (via group name)
- get the sorted content ids with their content state info (e.g. visible for students, solution visible)
- WebSocket (STOMP messages via room topic) events for room / content state changes
additional:
- removes the autosort because with FE sorting in the content groups it's really not a good idea to split responsibility over sorting
- FE can paginage the contents in the content groups pretty easily
- FE can easily implement a good caching mechanism
- a student will never be able to see content that's not inside a group
- it takes the user 1 request to get every static information about the room that can easily be cached
- it takes an additional request to get all status information and "the bottom half" of the room that's more dynamic
p.s.: this issue may need to be documented better https://git.thm.de/arsnova/arsnova-backend/-/issues/44Spring event to amqp message2019-08-06T15:12:25+02:00Tom KäslerSpring event to amqp messageIn order to get relevant data pushed from the arsnova-backend to microservices like the arsnova-comment-service, the backend has to listen to the spring application events that are fired and has to forward them to the message broker.
In ...In order to get relevant data pushed from the arsnova-backend to microservices like the arsnova-comment-service, the backend has to listen to the spring application events that are fired and has to forward them to the message broker.
In order to restrict the network traffic, it should be configureable which events and what data should be sent per events.
The spring application events that need to be handled:
```
AfterCreationEvent
AfterDeletionEvent
AfterFullUpdateEvent
AfterPatchEvent
AfterUpdateEvent
```
The configuration could look like the following for each microservice:
```
- <entity type>:
type: <spring application event type>
attributes:
- <attribute>
- <attribute>
```
The exchange name will be: `backend.<entity type>.<spring application event>`.
----
Note:
- If the attributes-array is empty, just send the event
- The arsnova-backend has to setup the exchanges
- The microservices have to register their queue onto the exchange
----
Concerns:
- a microservices must always be able to process all the events published to its queue to not pile up huge amounts of data
- for scaling the app, there has to be a fanout exchange between the arsnova-backend exchange and the microservice queuehttps://git.thm.de/arsnova/arsnova-backend/-/issues/43Refactor test config/dependency handling2019-06-06T12:25:46+02:00Daniel GerhardtRefactor test config/dependency handling@cthl58 wrote:
> Ideally, tests create the dependencies for their Classes under Test themselves, so in theory, field injection shouldn't be necessary. However, I wouldn't rule out cases where it might be easier to provide the full depend...@cthl58 wrote:
> Ideally, tests create the dependencies for their Classes under Test themselves, so in theory, field injection shouldn't be necessary. However, I wouldn't rule out cases where it might be easier to provide the full dependency tree via outside mechanisms such as field injection, so we should use it for rare cases where this seems appropriate.
Related: https://git.thm.de/arsnova/arsnova-backend/merge_requests/129Christoph ThelenChristoph Thelenhttps://git.thm.de/arsnova/arsnova-backend/-/issues/33Bean config issues in testing env2019-03-04T12:48:49+01:00Daniel GerhardtBean config issues in testing envWhile Beans should use `SCOPE_SINGLETON` by default there seam to be some issues with mock repositories and the cache manager.
See 8ad7cd8479c408768c81a87ea83aa0341712fde6 from @cthl58.
Spring Scope docs:
https://docs.spring.io/spring-...While Beans should use `SCOPE_SINGLETON` by default there seam to be some issues with mock repositories and the cache manager.
See 8ad7cd8479c408768c81a87ea83aa0341712fde6 from @cthl58.
Spring Scope docs:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Scope.htmlhttps://git.thm.de/arsnova/arsnova-backend/-/issues/32Abstaining is possible although it is disabled2018-12-04T14:02:38+01:00Lukas MaußAbstaining is possible although it is disabledAbstention is disabled by default but you can abstain.Abstention is disabled by default but you can abstain.https://git.thm.de/arsnova/arsnova-backend/-/issues/31Learning Analytics2018-11-29T16:27:05+01:00Daniel GerhardtLearning AnalyticsIn ARSnova 2 we allow different point values to be assigned to specific answer options. This lead to a rather clunky UI with multiple sliders from -10 to +10 which might confuse users.
Proposal
...In ARSnova 2 we allow different point values to be assigned to specific answer options. This lead to a rather clunky UI with multiple sliders from -10 to +10 which might confuse users.
Proposal
...3.0-beta2https://git.thm.de/arsnova/arsnova-backend/-/issues/28Motd admin db query throws null pointer2018-11-01T09:48:35+01:00Tom KäslerMotd admin db query throws null pointerhttps://git.thm.de/arsnova/arsnova-backend/blob/master/src/main/java/de/thm/arsnova/persistence/couchdb/CouchDbMotdRepository.java#L38https://git.thm.de/arsnova/arsnova-backend/blob/master/src/main/java/de/thm/arsnova/persistence/couchdb/CouchDbMotdRepository.java#L38https://git.thm.de/arsnova/arsnova-backend/-/issues/26SMTP authentication2018-10-15T09:29:25+02:00Daniel GerhardtSMTP authenticationAdd configuration options to set a username and password for external mail servers.Add configuration options to set a username and password for external mail servers.3.0-beta2Daniel GerhardtDaniel Gerhardthttps://git.thm.de/arsnova/arsnova-backend/-/issues/25WebSockets2018-12-04T14:02:57+01:00Tom KäslerWebSocketsWe need to determine whether to use socket.io etc. or bare WS.
We also need to discuss what to send over ws.We need to determine whether to use socket.io etc. or bare WS.
We also need to discuss what to send over ws.3.0-beta1Tom KäslerTom Käslerhttps://git.thm.de/arsnova/arsnova-backend/-/issues/23Implement Resource Validator2019-07-29T12:54:14+02:00Tom KäslerImplement Resource ValidatorImplement a scheme validator that checks whether an incoming resource's attributes are consistent (e.g. ChoiceContent has to has options).Implement a scheme validator that checks whether an incoming resource's attributes are consistent (e.g. ChoiceContent has to has options).3.0-beta1https://git.thm.de/arsnova/arsnova-backend/-/issues/18Login with invalid token returns HTTP status code 2002018-08-09T20:10:58+02:00Daniel GerhardtLogin with invalid token returns HTTP status code 2003.0-beta1https://git.thm.de/arsnova/arsnova-backend/-/issues/17Implement data generation development/tests2018-08-09T15:17:48+02:00Daniel GerhardtImplement data generation development/tests3.0-beta1https://git.thm.de/arsnova/arsnova-backend/-/issues/15Review critical issues detected by static code analysis2019-08-26T18:30:41+02:00Daniel GerhardtReview critical issues detected by static code analysis3.0-beta2https://git.thm.de/arsnova/arsnova-backend/-/issues/14Update installation and upgrade guide2019-08-26T13:38:50+02:00Daniel GerhardtUpdate installation and upgrade guide3.0-beta2https://git.thm.de/arsnova/arsnova-backend/-/issues/13Create/update developer documentation2018-08-09T15:01:22+02:00Daniel GerhardtCreate/update developer documentation* REST API
* Architecture
* Coding guidelines* REST API
* Architecture
* Coding guidelines3.0-beta2https://git.thm.de/arsnova/arsnova-backend/-/issues/10Implement performance tests (Gattling)2018-08-09T15:00:09+02:00Daniel GerhardtImplement performance tests (Gattling)3.0-beta1