acasi-ctf / ctf

Capture the Flag Learning Platform
https://acasi-ctf.github.io/docs
Apache License 2.0
4 stars 2 forks source link

Backend support for flags #176

Closed kubeliv closed 2 years ago

kubeliv commented 2 years ago

This pull request implements backend support for the flag feature, currently only supporting a static flag, but in the future dynamic flags to prevent cheating would be ideal.

In addition, this fills in the API calls in the user interface, which was mostly already there.

Future work

Closes

Closes #173. Closes #174. Closes #175. Closes #177. Closes #178.

codecov[bot] commented 2 years ago

Codecov Report

Merging #176 (a5f04fc) into main (8653091) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #176   +/-   ##
=========================================
  Coverage     74.45%   74.45%           
  Complexity       52       52           
=========================================
  Files            19       19           
  Lines           415      415           
  Branches         27       27           
=========================================
  Hits            309      309           
  Misses           88       88           
  Partials         18       18           
Flag Coverage Δ
unittests 74.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 8653091...a5f04fc. Read the comment docs.