66 Commits

Author SHA1 Message Date
ccac2c1cf8 Enable creating an API using Spring Web (#5)
All checks were successful
Build and test / build-and-test (push) Successful in 6m54s
SciPro will have to provide information to the upcoming student portal. Wicket does not have the ability to serve JSON in the usual REST way and is only able to serve HTML. The most common way to write JSON over HTTP API:s in Java is using Spring Web, but currently SciPro uses Guice for dependency injection rather than Spring which makes adding Spring Web a bit more tricky.

This pull request attempts to solve this by doing the following;
* Replacing Guice with Spring
* Adding a new API module that uses Spring Web
* Turning the entire system into a standard Spring Boot web application

The hope is that these changes will bring the following benefits;
* Harmonize our web stack (Daisy uses Spring and the new lecture hall system is full Spring Boot)
* Enable easy development of a traditional JSON over HTTP API
* Ease future recruitment by using the most common Java web frameworks

Reviewed-on: #5
Reviewed-by: niat8586 <nico@dsv.su.se>
Co-authored-by: Andreas Svanberg <andreass@dsv.su.se>
Co-committed-by: Andreas Svanberg <andreass@dsv.su.se>
2024-11-06 11:23:28 +01:00
5c78a698f9 Wicket 10 downgraded the version so the security vulnerability popped up again 2024-04-24 14:53:57 +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
a8707ab6f9 3367 Remove unused library with security vulnerability 2024-04-16 13:06:44 +02:00
f072429753 3351 Upgrade to Wicket 10
Related Jakarta migration upgrades as well
2024-03-14 15:09:49 +01:00
9dd3ddeb6e 3292 Uppgradera bootstrap 5.3.0 2024-01-19 14:25:26 +01:00
0e6f80d111 3092 Switch to MariaDB JDBC driver 2023-11-02 09:54:08 +01:00
3ca4e99e99 3221 Self-host Bootstrap JS
Using Webjars to make it easier to keep track of versioning.
2023-10-17 10:39:51 +02:00
1bfdccd093 3083 Upgrade Flyway 2023-05-25 16:38:59 +02:00
Filip Kantar
0948b02201 3035: Improved the design of the grading report. Using swedish language for bachelor and english for master. Added fonts to use with the generated pdf report. 2023-04-05 15:17:26 +02:00
dba133176a Midway point to allow upgrading Flyway to the newest version
See https://flywaydb.org/documentation/learnmore/releaseNotes#5.0.0 for why we must upgrade to 4.2.0 first
2023-02-09 16:40:06 +01:00
df0e5f051d Remove duplicate mail implementation 2022-11-14 18:04:41 +01:00
d6fae7660d Fix automated error mails
After upgrading to the new jakarta.mail namespace log4j2 was still trying to use javax.mail. Added a log4j2 module to make it use jakarta.mail instead
2022-11-14 15:34:51 +01:00
e02006bfd1 Upgrade to servlet specification 4.0 2022-10-18 12:14:42 +02:00
5ab6446817 Update log4j2 2022-09-17 17:13:53 +02:00
33f0b6a3e5 Upgrade SLF4J 2022-08-22 13:55:04 +02:00
5f1ffaece9 2485 Upgraded from old Excel format to new Office Open XML format 2022-02-28 14:18:50 +01:00
d360ed720f Fix for CVE-2017-9096 by replacing iText with the open source fork OpenPDF 2021-12-23 13:44:34 +01:00
abca57fae3 Move dependency versions to parent pom 2021-11-29 21:27:39 +01:00
6cb1a189cb 2279 2277 Upgrade Guice and Guava 2021-08-24 11:38:58 +02:00
eb73f5fd6f 2206 Removed the graphical charts 2021-05-11 17:18:22 +02:00
df7a8cdc83 Revert "2055 No longer mail exceptions to JIRA"
This reverts commit 97575581
2021-02-16 14:33:15 +01:00
975755816d 2055 No longer mail exceptions to JIRA
Switching logging implementation to java.util.Logging instead of log4j
2021-02-10 12:18:56 +01:00
c007b15140 Removed parallelism from tests
Causes issues on developer machines for tiny benefit
2020-01-07 15:58:21 +01:00
0d924b5915 Upgraded most library versions. Still remaining; Hibernate, QueryDSL. 2016-03-21 11:16:37 +01:00
aaa950ce90 Restructured the poms to move dependencies to where they are used and make sense. 2016-03-18 16:34:51 +01:00
f2e69b4421 Upgraded to Wicket 7. 2016-01-07 16:23:47 +01:00
4285870d03 Some plugin version updates. 2015-08-03 14:53:03 +02:00
1ab9ee8b09 Upgraded versions.
Could not update Hibernate due to problems with enums.
Could not update Commons CSV due to stupid reliance on CSVRecord#toString.
2015-05-28 13:05:25 +02:00
29ff86f756 Removed some old unused dependencies. 2014-10-22 16:48:47 +02:00
fred-fri
b906635cde removing jetty 2014-10-22 16:44:27 +09:00
golrokh
e903eaf1a9 set DEV profile to be active by default to prevent jira errors 2014-09-24 15:09:11 +02:00
golrokh
2f38211cc2 Work in progress 2014-09-22 15:08:44 +02:00
Emil Siverhall
5252d8df65 milestone statistics goes graphical 2014-07-28 14:22:24 +02:00
d01d455441 Removed restriction on heap space.
Increased PermGen to 128MB from IDEAs default of 85MB which isn't enough when all libraries from both core and view are loaded, this helps running tests inside IDEA.
2014-05-20 18:35:54 +02:00
60fb46db5b Spring gone for good. No backsies. 2014-03-17 16:40:10 +01:00
b952264c4b Hooked up database with automatic migrations. 2014-03-15 09:51:31 +01:00
04ec4e9e0b Switched DI framework to Guice from Spring. 2014-03-15 09:46:14 +01:00
bd55bd6bb2 Made the tests in the view module run in parallel with one thread/core. 2014-02-28 22:01:19 +01:00
5572c7dc86 Moved spring-web dependency to view. 2014-02-27 09:22:15 +01:00
3f160abdcc Updated all dependency versions.
Still stuck with Spring 3.2.8 due to Spring-data-jpa.
Hibernate introduced a bug in 4.3.* so until that is resolved we use 4.2.8.
2014-02-26 16:47:14 +01:00
fred-fri
e3a23c40dc fixing fitnesse+selenium 2014-02-19 19:52:37 +09:00
27b3fd1185 Added missing dependency. 2014-02-18 11:06:14 +01:00
Emil Siverhall
7f31832378 pdf download of finished grading reports 2013-11-28 16:27:57 +01:00
Emil Siverhall
996919f1fe added grading report export object to check if a grading report has been exported to daisy 2013-11-14 11:15:41 +01:00
niklas3
a6ce067c51 1. Changed jetty to mortbay.
2. Changed table name in migration script to pascal casing.
2013-10-31 10:18:27 +01:00
Emil Siverhall
93f36492c6 resolved merge conflicts 2013-10-15 11:42:42 +02:00
Emil Siverhall
714aa7a371 switched out the autocomplete component to use select2choice instead of our old broken component 2013-10-15 11:28:09 +02:00
0b1f9ad983 Merge branch 'develop' into wicketupdate 2013-10-15 10:54:33 +02:00
be5d418cdc Merge remote-tracking branch 'origin/develop' into develop 2013-10-15 10:54:12 +02:00