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

Show unused executables as disabled #2148

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Sep 21, 2023

This splits over 2 tables, it does not mark the executable of languages (labeled as no submit) as disabled (yet).

@@ -39,9 +40,22 @@ public function __construct(
protected readonly EventLogService $eventLogService
) {}

private function checkDisabled(Executable $e): bool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be checkEnabled if it returns true when enabled. Also maybe move this to the executable.php file?

@vmcj vmcj force-pushed the executables_table_endisabled branch from 3ed7761 to d2c55ec Compare October 4, 2023 17:18
@vmcj
Copy link
Member Author

vmcj commented Oct 4, 2023

This has suggestions from both @meisterT & @nickygerritsen as I had split an earlier PR over 2 different branches to find the actual issue.

@vmcj vmcj requested a review from nickygerritsen October 4, 2023 17:19
This needs to be further extended as language executables are now shown
as disabled.
@vmcj vmcj force-pushed the executables_table_endisabled branch from d2c55ec to affc0e3 Compare October 4, 2023 17:45
@vmcj vmcj merged commit c249b13 into DOMjudge:main Oct 4, 2023
17 checks passed
@vmcj vmcj deleted the executables_table_endisabled branch October 4, 2023 17:45
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.

2 participants