Skip to content

v1.5.0

Compare
Choose a tag to compare
@mxsph mxsph released this 07 Feb 20:12
· 225 commits to main since this release
be04b10

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 🛠

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 🎉

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 🔒

New Contributors

Full Changelog: v1.4.2...v1.5.0