jdabtieu / CTFOJ

Lightweight CTF judge platform for capture-the-flag (CTF) clubs
GNU Affero General Public License v3.0
10 stars 5 forks source link

[FEATURE] Problem types #221

Closed jdabtieu closed 6 months ago

jdabtieu commented 1 year ago

Is your feature request related to a problem? Please describe.

Sometimes there are really old problems on the site that are either too low-quality or unsolvable. However, people who did solve them should still get recognition and it's also bad to permanently delete content.

Describe the solution you'd like

The current 'draft' flag on problems should be renamed to 'status', as an enum

0: PUBLISHED
1: DRAFT
2: ARCHIVED

This way, we can set problems as archived, so that they appear separately and with a warning/whatever that it's archived and may not be solvable anymore.