Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for validation for db config values. #2235

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

nickygerritsen
Copy link
Member

Add validation to all integer fields and to timelimit_overshoot. This fixes #2227.

@nickygerritsen nickygerritsen force-pushed the db-config-validation branch 3 times, most recently from 3115a51 to ab78e75 Compare November 24, 2023 10:16
@nickygerritsen nickygerritsen force-pushed the db-config-validation branch 2 times, most recently from a7571aa to 9e2d04a Compare November 24, 2023 10:44
@nickygerritsen nickygerritsen force-pushed the db-config-validation branch 2 times, most recently from 7a6d7e6 to 65bcef9 Compare November 24, 2023 10:56
Add regexes to all integer fields and to timelimit_overshoot.
This fixes DOMjudge#2227.
etc/db-config.yaml Outdated Show resolved Hide resolved
@nickygerritsen nickygerritsen added this pull request to the merge queue Nov 24, 2023
Merged via the queue into DOMjudge:main with commit 4c1b87b Nov 24, 2023
18 checks passed
@nickygerritsen nickygerritsen deleted the db-config-validation branch November 24, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve handling of timelimit_overshoot validation
3 participants