Closed ShyftXero closed 6 years ago
This was implemented in https://github.com/deckar01/CTFd/commit/9229eec9b65c1ddc1bfecb27f5c0fcdc4442e633.
I added a "paused" config variable and made a button in the admin config that toggles it. I added logic for this flag to the "ctftime" check and added custom messaging where it was needed.
Admin View:
If you try to load the challenges page:
When the challenges page refreshes (automatically):
someone mentioned this as a feature request in the upstream issues.
This would be useful for our event because we have an 8 hour period where the challenges are going to be off-line. At least the scoreboard and the ability to submit flags will be.
Rather than shuffling around the ctf end times, could we implement a "pause" and "unpause" button. under config-> CTF time
I believe this would be easy enough to implement via javascript. we could manipulate the start time to be 100 years in the future for Pause and yesterday (whatever that is ) for Unpause.
Is it worth messing with?