- 17 Oct, 2012 3 commits
-
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
This patch uses AbstractController class to add exception handlers into controllers. These handlers are used to detect some runtime exceptions which can be thrown in any layer e.g. DAO or service layer. They recognize NotFoundException and ForbiddenException. Test classes are able to check if any of these exceptions are thrown during runtime.
-
Paul-Christian Volkmer authored
-
- 16 Oct, 2012 2 commits
-
-
Paul-Christian Volkmer authored
If a session was not found in database this will result in http 404, if the session is not accessable for the current user the request will result in http 403. The old behavior was to check for null. This was the response if the session was not found or the current user could not access this session (not owner and inactive sessions). Both ended up with http 404 - not found.
-
Paul-Christian Volkmer authored
The URI to be used contains the session id the question is linked to. If the resulting question object did not match the given session id an error HTTP - NOT FOUND will be send. This will also be done if no question was found.
-
- 13 Oct, 2012 3 commits
-
-
Paul-Christian Volkmer authored
This method uses the same entity as used for websockets. It needs a valid session key in request path. This session key MUST match the session key used in entity to provide semantic URIs
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
-
- 09 Oct, 2012 2 commits
-
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
-
- 30 Sep, 2012 1 commit
-
-
Paul-Christian Volkmer authored
It seems that Jetty provides "com.fasterxml.jackson.databind.JsonNode" in any way but Tomcat does not. So we have to include the package containing this class in our Maven configuration. We seriously have to check if ARSnova runs on our main target platform, not only our private developer platform! My be our developer platform should be the main target platform?
-
- 28 Sep, 2012 5 commits
-
-
Julian Hochstetter authored
-
Julian Hochstetter authored
-
Julian Hochstetter authored
-
Julian Hochstetter authored
-
Christoph Thelen authored
-
- 24 Sep, 2012 1 commit
-
-
Paul-Christian Volkmer authored
-
- 20 Sep, 2012 1 commit
-
-
Paul-Christian Volkmer authored
-
- 19 Sep, 2012 13 commits
-
-
Julian Hochstetter authored
-
Julian Hochstetter authored
-
Paul-Christian Volkmer authored
-
Julian Hochstetter authored
-
Paul-Christian Volkmer authored
LoginControllerTest::testUser() is still included as comment. This test must be reenabled in near future. Finally the security implementation needs much more testing!
-
Paul-Christian Volkmer authored
Old tests are ignored because they allways fail with unknown reason. The new tests are very simple and there is a lot of work to be done to have a fully tested application.
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
This layer can be used to create a StubDAO for use with unit tests.
-
Julian Hochstetter authored
-
Julian Hochstetter authored
-
Julian Hochstetter authored
-
Christoph Thelen authored
-
Paul-Christian Volkmer authored
-
- 18 Sep, 2012 2 commits
-
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
-
- 17 Sep, 2012 2 commits
-
-
Julian Hochstetter authored
-
Julian Hochstetter authored
* @ResponseBody Annotation for JSON Response * Old ARSnova Servlet does nothing * New Spring Servlet loads Beans, Services, Security and SocketServer * One Property Loader which is used in XML Spring Configuration and with @Value Annotation
-
- 14 Sep, 2012 5 commits
-
-
Julian Hochstetter authored
-
Julian Hochstetter authored
-
Paul-Christian Volkmer authored
With this configuration both - spring security setup - bean properties will be set to values defined in /etc/arsnova/arsnova.properties. Admins ARE REQUIERED to create production settings file by given example in /etc/arsnova.
-
Paul-Christian Volkmer authored
This MUST be done because local developer settings ARE different to the given example settings. Deployed settings MUST be prepared by build process to match production environment. DO NOT expect local example settings will match all production settings.
-
Julian Hochstetter authored
-