- Aug 28, 2017
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Implemented a patch method which merges an existing entity with updated properties from a HashMap. A new test dependency spring-security-test has been added.
-
Daniel Gerhardt authored
* Use consistent permission for all target domain objects: * read, create, owner, update, delete * Use switch blocks to improve readability * Fetch target domain objects early to reduce code duplication
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Repositories now implement Spring Data interfaces. Basic CouchDB operations are now implemented once by `CouchDbCrudRepository` instead of having redundant methods to handle each design document.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
* Prefer ids over "foreign" domain objects. * Consistently use final keyword for implementation parameters and variables. * As a consequence, session id is used instead of the object as cache key for `skillquestions`, `lecturequestions`, `preparationquestions` and`flashcardquestions` caches. * Rename occurances of `questionId` to `contentId`.
-
Daniel Gerhardt authored
Added new service for comments.
-
Daniel Gerhardt authored
* Moved classes from `de.thm.arsnova` root package. * New util package * Do not start interface names with `I`. Appended `Impl` to the implementing class instead. * Renamed learning progress classes to score and move them from `.domain` to a new `.services.score` package. * Do not capitalize acronyms in class names: * CASLogoutSuccessHandler -> CasLogoutSuccessHandler * SocketIO* -> Socketio* * Renamed `.socket` package to `.websocket`
-
- Aug 17, 2017
-
-
Daniel Gerhardt authored
-
- Jul 17, 2017
-
-
Daniel Gerhardt authored
Fixes a regression introduced by commit 2ecbfec8.
-
Daniel Gerhardt authored
Authentication is needed if an CouchDB admin user exists for design doc creation at startup. Closes GH-6.
-
- Jul 16, 2017
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
- Jul 15, 2017
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Mosts of the tests were coupled with the old database layer. Additionally, a lot of them were testing simple CRUD operations intead of domain logic. Meaningful tests with proper database mocking have to be written at a later time.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Code for the following domains has been migrated: * VisitedSession * MotdList * Statistics * LearingProgress
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
(Lecturer/Skill)Question has been renamed to Content. Method names have not been touched yet to ease reviewing the changes.
-
Daniel Gerhardt authored
InterposedQuestion has been renamed to Comment. Method names have not been touched yet to ease reviewing the changes.
-
Daniel Gerhardt authored
LoggedIn documents are also handled by the SessionRepository for now.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Java's ScriptEnging is used to transform design doc JS objects into valid JSON. A custom CouchDbConnector has been implemented to handle this transformation and create the design docs in the database at startup.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Priortizing v3 caused problems for v2 clients on POST requests.
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
This decouples type identifiers used in CouchDB from Java type names.
-
Daniel Gerhardt authored
The creation of new documents is blocked if an empty _rev is set.
-
Daniel Gerhardt authored
Ektorp is introduced as a replacement for CouchDB4J.
-
Daniel Gerhardt authored
Functions need to be stringified to create valid JSON which is accepted by CouchDB.
-