Tags: glzjin/CTFd
Tags
Mark 2.1.1 (CTFd#982) 2.1.1 / 2019-05-04 ================== **General** * Allow admins to hit `/api/v1/challenges` and `/api/v1/challenges/[id]` without having a team to fix challenge previews * Fix rate-limiting of flag submission when using team mode * Fixes some modal close buttons not working in the admin panel * Fixes `populate.py` to assign captains to teams. **Models** * Added `Challenges.flags` relationship and moved the `Flags.challenge` relationship to a backref on Challenges * Added `ondelete='CASCADE'` to most ForeignKeys in models allowing for deletions to remove associated data * `Hints` should be deleted when their Challenge is deleted * `Tags` should be deleted when their Challenge is deleted * `Flags` should be deleted when their Challenge is deleted * `ChallengeFiles` should be deleted when their Challenge is deleted * Deletion of the file itself is not handled by the model/database * `Awards` should be deleted when their user or team is deleted * `Unlocks` should be deleted when their user or team is deleted * `Tracking` should be deleted when their user or team is deleted * `Teams.captain_id` should be set to NULL when the captain user is deleted **Exports** * Force `db.create_all()` to happen for imports on `sqlite` or on failure to create missing tables * Force `ctf_theme` to be set to `core` in imports in case a theme is missing from the import or the instance * Fix imports/exports to emit and accept JSON properly under MariaDB * MariaDB does not properly understand JSON so it must accept strings instead of dicts * MariaDB outputs strings instead of JSON for its JSON type so the export serializer will attempt to cast output JSON strings to JSON objects **Deployment** * Run as root when using docker-compose * This is necessary to be able to write to the volumes mounted from the host
Reduce default gunicorn worker count to reduce memory usage (CTFd#968) Drop the default worker count in `docker-entrypoint.sh` because the default memory usage was higher than it needed to be. If you need more workers you can still increase the values and set a `SECRET_KEY` as before.
Mark 2.0.6 (CTFd#946) 2.0.6 / 2019-04-08 ================== **Security** * Fixes an issue where user email addresses could be disclosed to non-admins **General** * Users/Teams set to hidden or banned are no longer visible by other users * This affects the API and the main user interface. This does not affect admins. * Users without Teams can no longer view challenges when the CTF is in Team Mode
Marking 1.2.0 (CTFd#628) * Mark 1.2.0. * Update CHANGELOG. * Add `window.challenge.data` object. * Don't raise a 500 when an endpoint can't be found but was POST'ed too. Mostly from scanners... * Add test for not found endpoints. * Fixing issue with clearing logo on config update. * Truncate scoreboard team name to 50 characters.
PreviousNext