Test & Submit 기능 변경 및 채점 플랫폼 업그레이드 #25
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request focuses on improving the SQL challenge workflow in CTFd by introducing a more robust "test mode" for SQL query validation, enhancing user feedback, and updating dependencies. The changes clarify the distinction between test mode and real submissions, provide better error handling and notifications in the frontend, and update the backend and Dockerfile for improved reliability and maintainability.
Key changes include:
Test Mode Refactor and Backend Improvements:
challenges.py,__init__.py). [1] [2] [3] [4] [5]go-mysql-serverdependency to v0.20.0 for improved compatibility and features. The Dockerfile now uses Go 1.23 and ensures dependencies are tidied before building. [1] [2] [3] [4]Frontend User Experience Enhancements:
showErrorToastfunction for better error notifications, replacedalert()calls with toast notifications, and implemented a 20-second timeout for both test and submit requests to handle server delays gracefully. [1] [2] [3] [4] [5] [6] [7] [8]Admin Interface Improvements:
These updates collectively make the SQL challenge experience clearer, more user-friendly, and robust for both participants and administrators.