3993 Commits

Author SHA1 Message Date
e8e8bf8a68 3376 Upgrade Hibernate 2024-05-07 12:23:48 +02:00
8ccd6156b7 Fix table casing 2024-05-02 10:17:50 +02:00
aa469a425b Fixed warning/error due to difference in name resolution between IntelliJ and Hibernate. 2024-04-26 10:07:54 +02:00
f5950a43ba 3126 Remove possibility to reply to forum posts via e-mail
Unused feature that caused issues with repeated posts.
2024-04-26 10:05:30 +02:00
bd90b34c42 Fix URKUND integration with new Guice UnitOfWork changes
Can not fetch the settings from the authenticator since that is ran on a HTTP request dispatching thread where no UnitOfWork has started.It is not possible to fetch the credentials in the constructor since then it would not be possible to change the settings while the system is running. Instead recreate the client with prefetched credentials on every request.
2024-04-25 09:51:51 +02:00
28bc8bf05a Merge branch 'wicket-10' into develop 2024-04-24 12:26:11 +02:00
29d8acf4d5 3361 Fix simultaneous requests to open the same checklist
What happens in there are simultaneous requests to open a checklist.
Both threads will read the checklist from the database, and since it
is versioned they will both get version N.
Then both threads will try to update the last open date and save the
checklist. When saving a versioned object a SQL query of the form
UPDATE checklist SET version = N+1 WHERE id = ? AND version = N
is generated, the first such query will succeed but the second one
will not update any row which Hibernate treats as an optimistic
locking error.
To work around this we use a global lock to ensure that only one
thread can update the checklist at a time. We can't use the
EntityManagers lock method since that too will cause an optimistic
locking failure. This is an unfortunate global lock that will affect
everyone even if they open different checklist, but it is such an
underused feature that it should not be a problem.
2024-04-22 15:28:08 +02:00
42cd644e74 Merge branch 'develop' into wicket-10
# Conflicts:
#	view/src/main/java/se/su/dsv/scipro/supervisor/pages/SupervisorViewGroupThreadPage.java
2024-04-16 14:13:03 +02:00
0474b18911 3207 Dubblett - POST finalseminar 2024-04-08 15:44:51 +02:00
3a530879a7 2870 Stöd för att ange nationellt ämneskategori i samband med att godkänner final thesis 2024-04-08 15:43:55 +02:00
a76ff3db2a 3262 Improve feedback when students select a supervisor idea 2024-04-03 14:55:47 +02:00
db84cc6c17 3157 Fix problem with marking threads read when opening the same thread multiple times simultaneously 2024-04-03 11:01:04 +02:00
nikos dimitrakas
a3dbed13d2 Property för att kunna visa sql (false som default). Propertyn database.showSql i pom.xml verkar inte ha någon effekt. 2024-04-02 13:52:56 +02:00
139ecd8bbd 3273 Do not mark thesis as "Sent to examiner" before it is actually sent
What happened was an empty list was returned if we got a bad response from the grading service. So when the check was performed "is there any examination without a grade" then it was true because there were no examinations to begin with.
2024-03-27 09:57:09 +01:00
7420970e4b 3257 förtydliga datum för inskickandet av uppsatsen till examinator 2024-03-21 12:45:06 +01:00
f072429753 3351 Upgrade to Wicket 10
Related Jakarta migration upgrades as well
2024-03-14 15:09:49 +01:00
465706e1be Merge branch '3204-reviewer-capacity' into develop 2024-02-06 11:34:10 +01:00
dc616e48fe 3321 PO Sort reviewer candidates 2024-02-05 14:38:07 +01:00
8385c1292b 3321 PO Show the review period while assigning reviewers. 2024-02-05 12:43:58 +01:00
14d2dcbba0 3321 PO Show the currently assigned reviewer's target information 2024-02-05 10:11:05 +01:00
95a300eeee 3321 PO Show a warning about targets when assigned a reviewer to a project before a review has been requested. 2024-02-01 16:01:24 +01:00
764986d007 3321 Do not include the current reviewer as a candidate. 2024-02-01 15:42:56 +01:00
36d3ab35ad 3321 PO 4) Show current reviewer and allow un-assigning 2024-02-01 15:40:39 +01:00
b4edcf50c7 3321 PO 6) Never suggest the supervisor as a suitable reviewer candidate 2024-02-01 15:11:47 +01:00
bf572189d3 3298 Filter projects by reviewer 2024-02-01 14:57:51 +01:00
0acf5f2bad 3122 tr fIX Stöd för manuell hantering av slutsem för handledare 2024-01-25 16:26:09 +01:00
c23981f510 2870 Allow supervisors to set national subject category 2024-01-22 12:50:39 +01:00
3ad7dd2261 Merge branch 'develop' into 3204-reviewer-capacity 2024-01-22 12:26:17 +01:00
1355dbb92c 3321 PO Separate reviewers mismatched on language/research area.
Reviewers that can review in all languages will never be mismatched on language.
Added a note for projects that have not specified language to communicate with administrators doing assignment why a reviewer is classified as potentially unsuitable.
2024-01-22 11:09:04 +01:00
4e08d1f82c 3204 Return reviewer history even if they had no targets assigned 2024-01-19 10:00:15 +01:00
4d58f2b31b 3122 tr fIX Stöd för manuell hantering av slutsem för handledare 2024-01-18 10:48:31 +01:00
671cf74104 3204 Show the remaining targets 2024-01-18 10:39:11 +01:00
2a0eb66b2f 3204 Include the number of performed reviews in the target history 2024-01-17 12:39:47 +01:00
f447c7db11 Merge remote-tracking branch 'origin/develop' into develop 2024-01-16 17:21:35 +01:00
e57f610311 3204 View target history 2024-01-12 16:29:39 +01:00
5826341e45 3204 Remove old methods 2024-01-12 16:04:48 +01:00
01daec2c0c 3204 Move tests to the new calendar year based methods 2024-01-12 15:25:41 +01:00
0d1650f3f3 3204 Set reviewer targets by calendar year 2024-01-12 15:13:27 +01:00
3c8740cac8 3204 Show reviewers note while assigning 2024-01-12 14:09:16 +01:00
7ca3db6a39 3204 Set a note for each reviewer's period 2024-01-12 14:09:16 +01:00
db612da854 3204 Assign the reviewer 2024-01-12 14:09:16 +01:00
9128cd40e5 3204 Remove unused code 2024-01-12 14:09:16 +01:00
08490fafe5 3204 Lower assigned targets 2024-01-12 14:09:16 +01:00
4b727167e5 3204 Assign targets by specific periods 2024-01-12 14:09:16 +01:00
a123fd1932 3204 Start of managing reviewer capacity 2024-01-12 14:09:16 +01:00
7f999022c8 Store information about assigned reviews 2024-01-12 14:09:15 +01:00
1a9a1a13d2 Basic GUI for assigning reviewers 2024-01-12 14:09:15 +01:00
33e0e033b5 Basic GUI for assigning reviewers 2024-01-12 14:09:15 +01:00
5f298b3828 Set reviewer targets 2024-01-12 14:09:15 +01:00
7495931891 3035 TR 2024-01-12 13:38:38 +01:00