- Nov 20, 2015
-
-
See http://platform.spring.io/platform/ for more information about it. This patch makes Spring.IO usable with ARSnova Backend and also updates some dependiencies not beeing upgraded in ARSnova Backend POM so I removed explicit version declaration. Problems with json-path-assert dit not occure, so i removed version declaration and use managed version 2.0.0. Remove obsolete version properties Closes GH-17. This is a squshed version of PCV's PR. (DG)
-
- Nov 19, 2015
-
-
Andreas Gärtner authored
-
- Oct 31, 2015
-
-
Andreas Gärtner authored
-
- Oct 27, 2015
-
-
Andreas Gärtner authored
-
- Oct 26, 2015
-
-
Tom Käsler authored
Swagger api new descriptions for the swagger api doc in the entity-classes See merge request !11
-
Tom Käsler authored
-
Tom Käsler authored
-
Andreas Gärtner authored
-
- Oct 25, 2015
-
-
Andreas Gärtner authored
-
- Oct 11, 2015
-
-
Klaus-Dieter Quibeldey-Cirkel authored
-
Klaus-Dieter Quibeldey-Cirkel authored
Add a default exception handler to catch non handled exceptions
-
- Oct 10, 2015
-
-
Paul-Christian Volkmer authored
The default exception handles all excaptions not handled by the following handle methods. It creates a response, containing the HTTP status description and the exception message. This response can be serialized into JSON.
-
- Oct 08, 2015
-
-
Klaus-Dieter Quibeldey-Cirkel authored
-
- Sep 28, 2015
-
-
Christoph Thelen authored
-
Christoph Thelen authored
-
- Sep 18, 2015
-
-
Paul-Christian Volkmer authored
It generally might not occure but in some conditions the previous code could be used to inject something into response by manipulating the origin header to include some \n or \r. These sequences should not occure in results CORS headers. Patch replaces all \n or \r in origin header with a white space char. Newer servlet containers like Tomcat 7.x fix this problem, but it might be a good idea to fix this issue within ARSnova. See: https://www.owasp.org/index.php/HTTP_Response_Splitting
-
- Sep 17, 2015
-
-
Paul-Christian Volkmer authored
NovaEvents is derived from ApplicationEvent which extends EventObject. EventObject implements Serializable. It is bad practice if defined instance fields within NovaEvents derived classes do not implement Serializable.
-
Paul-Christian Volkmer authored
A boxed primitive is created from a String in * RangeAspect#handlePaginationRange() * LoginController#dialog() just to extract the unboxed primitive value with Integer#valueOf(). This creates an Integer object. It is more efficient to use parseInt() which creates a primitive int. Corrected random indention in LoginController
-
Paul-Christian Volkmer authored
In getSkillQuestion() a call to stubQuestions.get() contained an argument with an incompatible class. Session will be converted into String using toString() but this is not what was intended to do here. In saveQuestion() the CouchDB document ID was used, but the sessions keyword should have been used instead.
-
Paul-Christian Volkmer authored
User object will be serialized into a String using toString() but this should not be done in a unit test.
-
- Sep 14, 2015
-
-
Andreas Gärtner authored
-
- Sep 10, 2015
-
-
Christoph Thelen authored
-
- Aug 18, 2015
-
-
Klaus-Dieter Quibeldey-Cirkel authored
-
- Aug 11, 2015
-
-
Daniel Gerhardt authored
-
- Aug 10, 2015
-
-
Daniel Gerhardt authored
Interactive API documentation Supersedes !5. > This feature supports developers with an interactive documentation of > the REST API from the ARSnova Backend. Changes & Todos: * Branch & code clean up * Rebase on master * Squash related commits authored by the same developer * Remove commits whose code has been reverted later on * Fix whitespaces * Remove implementation notes (Java signatures are not helpful) * Improve documentation of responses (Tom Käsler) * Do not define status messages for methods individually (DRY) * Create JSON at compile-time by using [swagger-maven-plugin](https://github.com/kongchen/swagger-maven-plugin) (Tom Käsler) See merge request !10
-
Tom Käsler authored
-
Tom Käsler authored
-
Tom Käsler authored
remove swagger annotation from feedbackcontroller, coursecontroller and getter and setter for sortOrder
-
Tom Käsler authored
-
Tom Käsler authored
add swagger maven plugin configuration
-
Tom Käsler authored
-
Tom Käsler authored
remove spingfox for ApiIgnore direction use swagger-maven-plugin to generate swagger.json before compiling rather than dynamically generate it on request
-
Reasons: * not used consistently * Java signatures are not helpful * Return type should not be hard-coded in a String Statistics model now correctly uses value instead of notes for documentation of properties.
-
* Fix inconsistent whitespaces * Remove unused imports
-
-
-
-
added labeled deprecated rest endpoints to api documentation, commentet and included the feedbackController
-
-
-