5 Commits

Author SHA1 Message Date
9bd90341ee Removed webjars
I experienced some weird behavior when using webjars to get the dependencies of
bootstrap, bootstrap-icons, htmx. Opted to manually download and include the
files in the project instead.

All the files can be found under a folder called 3p with their respective subfolder.
2025-01-31 09:37:28 +01:00
f9b60b8fd0 Removed CDNs replaced with webjars
Since we are going to production we should not make use of CDNs
For more information you can read https://blog.wesleyac.com/posts/why-not-javascript-cdn

Now uses webjars to take down the needed dependencies.

Also moved the javascript to its own file.
2025-01-27 08:51:33 +01:00
6871172d57 Added testcontainers
Added testcontainers so we can run the tests without starting the db, since it's dockerized.
2025-01-13 12:39:46 +01:00
e4e2f75f94 SSO Oauth 2 - and other improvements.
Single sign on has been added, it works in the same fashion as the Scipro application.

Application no longer supports self registration of users.

Users can now upload the same file again if they want too.

UI SU logotype added, "look and feel" a la stockholm university.
UI improved feedback of the uploaded files, now also shows when a file was uploaded together with the status
UI improved feedback of the transcribed files, files are grouped in collapsable divs based on the source file.
The transcribed files section also shows when the files where created which are based on the upload of the source file,
this to help differentiate if the user uploaded the same source file.
Bulk download zip file will have a folder structure resembling the grouped structure from the transcribed files section,
transcribed files belonging together will be in their correct folder.

Increased the varchar limit from the default value to a more appropriate value to handle long file names or paths.
When cleaning up files the application now cleans up empty folders when needed.

The application needs a bit more internal improvements and polish, for example in some places the application
both uses java.io and java.nio it would be better to use java.nio across the board.
This can be done at a later date.
2025-01-09 07:46:37 +01:00
ccc0ab104a Initial commit 2024-12-02 10:18:41 +01:00