Cleanup admins
- Apr 02, 2020
-
-
Chris Lemaire authored
Replace hasErrors with validate for validating a patch while filling in the error message as well. Signed-off-by:
Chris Lemaire <c.lemaire@student.tudelft.nl>
-
Chris Lemaire authored
Add JavaDoc comments to all methods in AdminService and remove unnecessary methods. Clean up methods in the service to be clearer in meaning and flow. Clean up FirstYearMentorGroup, FirstYearStudent and FirstYearStudentCsvHelper with the lombok.Data annotation. Fix typo in Json annotation in FirstYearStudentCsvHelper. Signed-off-by:
Chris Lemaire <c.lemaire@student.tudelft.nl>
-
Chris Lemaire authored
Add @Transactional for committing changes done by patching a room. Fix HTML to display proper bootstrap elements. Signed-off-by:
Chris Lemaire <c.lemaire@student.tudelft.nl>
-
Chris Lemaire authored
Changes the AdminController POST methods to use DTOs to transfer data from the client to the server, preventing possible injections of ID. Additionally introduces Lombok for major cleanup in data classes. Finally, fixes a potential bug when loading the admin/room/edit page. This page seemed to be layed out with the admin/room page, which has no content holder. Instead it is now layed out using admin/view. Signed-off-by:
Chris Lemaire <c.lemaire@student.tudelft.nl>
-