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

Remove @during_ctf_time_only from /challenges #721

Closed
wants to merge 1 commit into from

Conversation

alokmenghrajani
Copy link

Method already gracefully handles being requested before the CTF starts.

By removing @during_ctf_time_only, we get a nicer error message (" has not started yet" vs a 403).

Method already gracefully handles being requested before the CTF starts.

By removing @during_ctf_time_only, we get a nicer error message ("<ctf
name> has not started yet" vs a 403).
@codecov
Copy link

codecov bot commented Nov 5, 2018

Codecov Report

Merging #721 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #721      +/-   ##
==========================================
- Coverage    74.4%   74.39%   -0.01%     
==========================================
  Files          19       19              
  Lines        2778     2777       -1     
==========================================
- Hits         2067     2066       -1     
  Misses        711      711
Impacted Files Coverage Δ
CTFd/challenges.py 82.73% <ø> (-0.07%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 41933cc...a705f4b. Read the comment docs.

@ColdHeat
Copy link
Member

ColdHeat commented Nov 6, 2018

You'd need to target this to 2.0.0 and it's unlikely that that change will be accepted b/c of how heavily during_ctf_time_only is used there.

@ColdHeat ColdHeat closed this Nov 6, 2018
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.

None yet

2 participants