v1.5.0
Migration from v1.4.x to v1.5.0
Minio (#975)
Minio has been added to store all configuration files and all submission files. If the FBS is run with Docker/Docker Compose, a Minio service must be added. Apart from that, all old tasks should work as before and no further migration is required.
Docker-Compose Changes
Warning
The Example User and Password for the Minio Service should be changed
diff --git a/docker-compose.yml b/docker-compose.yml
index 1171cb31..06acd23d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -57,6 +57,7 @@ services:
- MONGODB_URI=mongodb://mongodb:27017/sql-checker
- MONGODB_DATABASE=sql-checker
- SELF_URL=https://core
+ - MINIO_URL=http://minio
+ - MINIO_USER=admin
+ - MINIO_USER_PASSWORD=SqfyBWhiFGr7FK60cVR2rel
networks:
classroom:
fbs:
@@ -135,6 +136,27 @@ services:
start_period: 10s
retries: 3
+ minio:
+ image: minio/minio:RELEASE.2022-10-29T06-21-33Z
+ volumes:
+ - ./data/minio_storage:/data
+ environment:
+ MINIO_ROOT_USER: admin
+ MINIO_ROOT_PASSWORD: SqfyBWhiFGr7FK60cVR2rel
+ command: server --console-address ":9001" /data
+ restart: unless-stopped
+ networks:
+ fbs:
+ healthcheck:
+ test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ]
+ timeout: 10s
+ interval: 10s
+ start_period: 10s
+ retries: 3
+
runner:
build:
context: .
Ldap Configruation (#1082)
Note
If ldap is not used, no changes are required.
It is now possible to change more ldap configurations such as the attributes
used and ldap bind authentication
(Find out more here). As it is now possible to disable/enable ldap, the LDAP_ENABLED
option needs to be set to true
in order to restore the old behaviour.
Docker-Compose Changes
diff --git a/docker-compose.yml b/docker-compose.yml
index 1171cb31..9067f9f5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -57,6 +57,9 @@ services:
- MONGODB_URI=mongodb://mongodb:27017/sql-checker
- MONGODB_DATABASE=sql-checker
- SELF_URL=https://core
- MINIO_URL=http://minio
+ - LDAP_ENABLED=true
networks:
classroom:
fbs:
What's Changed
Breaking Changes 🛠
- Update storage service to use minio instead of local fs by @timst01 in #975
- [Core] Rework ldap authentication by @Zitrone44 in #1082
Fixed bugs 🐞
- After changing the task Media type, the validation will not be reset by @nicosoethe in #1090
- Date Time Picker Bug by @nicosoethe in #1125
- [Minio] Invalid file encoding when reading configuration files by @mxsph in #1123
- [Core] Task Api contains invalid attempts response by @mxsph in #1130
- [Web] Task visibility settings do not display the real value by @Medienkunzt in #1088
New core Features 🎉
- display course progress by @nicosoethe in #1100
- [API] add requirementType practice by @TimonPllkrn in #1111
- [API] Limit the number of submissions done by @SebastianEngl in #1101
- [WEB] add requirementType practice by @SiarNoozai in #1118
- [User] Add bcrypt password hashing by @Zitrone44 in #1050
- [API] Export functionality for multiple tasks or all tasks of a course by @timst01 in #1091
New checker Features 🎉
- [Excel-Checker] Propagated errors analysis by @pdrtzk in #1085
- [Excel-Checker] Optimize error analysis for input cells by @pdrtzk in #1105
- [Excel-Chekcer] Add handlers to extend the functionality of the excel checker by @pdrtzk in #1141
- [Math-Checker] Add formular comparision by @Zitrone44 in #1070
Dependency updates ⬆️
- Bump EvalEx from 2.5 to 2.7 in /modules/fbs-core/api by @dependabot in #809
- build(deps): bump bash from 5.2.12 to 5.2.15 in /runtime-images/bash by @dependabot in #1053
- chore: update and cleanup dependencies by @mxsph in #1150
- [Docker] Switch openjdk images to eclipse-temurin by @mxsph in #1132
Internal 🔒
- [CI/CD] Improvements by @mxsph in #842
- ci(deploy-test-system): wait until Docker image is deployed by @mxsph in #1086
- [CI] Include Kotlin in Coverage Report by @mxsph in #1092
- ci: fix add issue to project by @mxsph in #1112
- [Helm] Remove helm chart by @Zitrone44 in #1128
- docs: Update README by @TimonPllkrn in #1127
- docs: update README badges by @mxsph in #1151
New Contributors
- @SebastianEngl made their first contribution in #1101
Full Changelog: v1.4.2...v1.5.0