3985 Commits

Author SHA1 Message Date
e530a6a09f Update migration scripts to work on an empty MariaDB 2022-11-24 13:41:31 +01:00
4fc1a661f7 2874 Allow authors to give consent to publish their thesis 2022-11-22 12:08:01 +01:00
nikos dimitrakas
f4db44ffaf 2873 Anpassningar av SciPro för ändringarna i API:et inklusive ny xsd. 2022-11-21 15:11:04 +01:00
52b254cf3e Upgrade persistence dependencies 2022-11-15 12:57:43 +01:00
fe1b5b22c4 Refactoring 2022-11-14 18:37:44 +01:00
98adb2ee4d Simplifying 2022-11-14 10:48:29 +01:00
9a6a7ab677 Remove reliance on global state (ObjectMother) that enforced a specific test run order to pass the test suite. 2022-11-09 14:41:11 +01:00
4bfeec61e5 2863 Remind supervisors that it's time to grade when rough draft gets approved 2022-11-09 12:44:54 +01:00
6cfd52e213 Refactoring 2022-11-09 11:28:09 +01:00
d62ceac126 2854 Only request reflection after final seminar 2022-11-07 23:50:08 +01:00
3076524cc2 2854 Allow authors to submit their reflection 2022-11-07 21:04:08 +01:00
071e1c6509 Merge remote-tracking branch 'origin/develop' into develop 2022-10-31 19:18:14 +01:00
f01ca429f4 2860 TR change text 2022-10-31 19:17:59 +01:00
23c268ead4 Fix migration version conflict 2022-10-25 20:41:16 +02:00
9c1481626a Merge branch 'develop' into 2856 2022-10-25 20:40:47 +02:00
60b5feb159 2861 Prevent supervisors from scheduling seminars if they have not gotten their submitted rough draft approved 2022-10-25 13:26:31 +02:00
48cd7aa9c9 2861 Schedule final seminars 2022-10-25 13:26:31 +02:00
48799ed298 2861 Refactor updating final seminar details 2022-10-25 13:26:31 +02:00
2b42ad1d16 2861 Create a dedicated method for scheduling seminars that is responsible for checking all the rules 2022-10-25 13:26:31 +02:00
5acf93e7cb 2860 Added mandatory minimums for final seminar participations to report graded examinations.
Supervisors are able to ignore the requirement in case the seminars have been held outside the system or for any other reason.
2022-10-19 14:51:23 +02:00
0dadabec07 Stop users getting logged during restarts 2022-10-18 10:24:51 +02:00
7701359681 Fix problem browsing the forum.
There seems to be some bug with the new Hibernate version.
2022-10-18 01:17:43 +02:00
256f61e0a2 Fix problem with removing inactive partner ads.
There seems to be some bug with eager collections in the new Hibernate version.
2022-10-17 23:14:59 +02:00
0a1112e4ea Properly mark workers as failed when they throw exceptions 2022-10-17 21:22:47 +02:00
8fa7a17a07 Fix faulty JPA mapping 2022-10-17 20:02:19 +02:00
fa7f9ff1f7 2880 Copy over opposition assessment to the grading report if the assessment from the seminar is an improvement.
If a student had a failed opposition they would have 0 points on the grading report. When they later passed a seminar that improved assessment would not be copied over because the criterion was already assessed.
2022-10-12 11:39:11 +02:00
96e3801caa Code clean up 2022-10-12 11:09:23 +02:00
bf1bdb183f Added missing @Transactional 2022-10-12 11:07:35 +02:00
1826ab5aa8 2891 Upgrade Hibernate and Jersey 2022-10-05 14:34:59 +02:00
820365bf14 Upgrade Jakarta Mail (and use the API) 2022-09-29 11:27:24 +02:00
76fd96b0ca Remove hibernate-validator since it was barely used 2022-09-28 15:15:25 +02:00
fc76a7ec98 Remove manual tracing instrumentation.
Use the Java Agent instead.
2022-09-28 14:58:53 +02:00
e811fd04e2 Switch to the new Jakarta dependencies for API specification. 2022-09-28 11:11:47 +02:00
6765da6480 Remove MOXy for XML/JSON (de)serialization
We now use JAXB for XML and Jackson for JSON. MOXy complects the two and make it harder to control the specific input/output expected.
2022-09-28 11:08:53 +02:00
d7e8468c5a Refactoring 2022-09-23 02:28:26 +02:00
264fcb754a Remove dependency on joda-time 2022-09-22 12:53:50 +02:00
20b392b964 2856 Supervisors must provide information on how the rejection comment from the examiner has been rectified.
PSAM (represented by Panos), Paul, and Jakob decided in a meeting on sep 8 2022 that supervisors must provide feedback as to how the examiners rejection comment has been rectified.
2022-09-21 11:23:25 +02:00
7e986ac17a Move oauth settings from the database to servlet context init parameters.
Since we now copy the database between servers the configuration breaks and integrations stop working. With the settings being external it will now continue to work after copying.
2022-09-21 11:19:49 +02:00
1ea3a746b2 Fix problem finalizing supervisor grading reports 2022-09-15 16:29:56 +02:00
6924f87f73 2841 Clear old motivation
When lowering the assessment of a criterion such that motivation is no longer required the motivation should be cleared.
2022-09-14 10:37:39 +02:00
9c3e1d3b48 Remove unnecessary dependency 2022-09-12 16:24:28 +02:00
8d2b1fa974 2839 Fixed bug 2022-09-12 12:56:22 +02:00
605b6ba1a7 2838 Simplified code 2022-09-12 12:38:06 +02:00
da61362397 2837 Simplified code 2022-09-12 10:59:01 +02:00
f3724edb2f 2839 Peer reviews are now per project type
If students abort a project and start a new one their peer reviews will be visible and milestones completed.
2022-09-08 13:50:38 +02:00
8769c21d8a 2838 2837 Activate completed milestones on new projects
Since both oppositions and active participations are showed based on the projects level the milestones should be activated to reflect that.

Had to redo project creation since the use of a serialized project entity caused lazy initialization exceptions when traversing the object graph (to determine if milestones were activated for the type).
2022-09-07 13:52:05 +02:00
0618196422 Replaced some java.util.Date with java.time 2022-09-01 11:56:38 +02:00
5ece9dda93 2828 Give project start date its own attribute instead of stealing audit data 2022-08-31 14:49:58 +02:00
7617fdfb05 2741 Enable supervisors to see any available opposition feedback during grading 2022-08-24 11:06:31 +02:00
4087037c18 Upgrade HSQLDB and switch it to test scope 2022-08-10 10:30:30 +02:00