From 655984645249dbbe5d65c6acced5cbff76aabf15 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Wed, 12 Aug 2020 12:35:32 -0400 Subject: [PATCH] Mark 3.0.1 (#1594) # 3.0.1 / 2020-08-12 **General** - Fix issue where admins could not see user graphs/api data if score visibility was set to hidden **Admin Panel** - Allow the Admin Panel Submissions page to filter by Account IDs, Challenge IDs, and Challenge Names - Link to correct submissions for challenge from the challenge page **API** - Fix regression for creating hints via ctfcli. See #1582 for details. https://github.com/CTFd/CTFd/issues/1582. - Deprecate `CTFd.api.v1.helpers.models.build_model_filters` and wrap it to `CTFd.utils.helpers.models.build_model_filters` **Themes** - Fix team pages to use the correct core errors component **Plugins** - Fix issues with previewing challenges under some challenge type plugins **Deployment** - Values specified in `config.ini` will now supercede values specified via environment variable. Config behavior is as follows: 1. Config Key exists in `config.ini` and is set to a value. That value becomes the app config. 2. Config Key exists in `config.ini` but is set to an empty string. An envvar with the same name is looked up. The envvar's value is used as the app config. 3. If the envvar is not found, fall back to the default specified value in `config.py` 4. If there is no default, use None or an empty string --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ CTFd/__init__.py | 2 +- package.json | 2 +- 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60365a2e..f7e2a15a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,35 @@ +# 3.0.1 / 2020-08-12 + +**General** + +- Fix issue where admins could not see user graphs/api data if score visibility was set to hidden + +**Admin Panel** + +- Allow the Admin Panel Submissions page to filter by Account IDs, Challenge IDs, and Challenge Names +- Link to correct submissions for challenge from the challenge page + +**API** + +- Fix regression for creating hints via ctfcli. See #1582 for details. https://github.com/CTFd/CTFd/issues/1582. +- Deprecate `CTFd.api.v1.helpers.models.build_model_filters` and wrap it to `CTFd.utils.helpers.models.build_model_filters` + +**Themes** + +- Fix team pages to use the correct core errors component + +**Plugins** + +- Fix issues with previewing challenges under some challenge type plugins + +**Deployment** + +- Values specified in `config.ini` will now supercede values specified via environment variable. Config behavior is as follows: + 1. Config Key exists in `config.ini` and is set to a value. That value becomes the app config. + 2. Config Key exists in `config.ini` but is set to an empty string. An envvar with the same name is looked up. The envvar's value is used as the app config. + 3. If the envvar is not found, fall back to the default specified value in `config.py` + 4. If there is no default, use None or an empty string + # 3.0.0 / 2020-07-27 ## Changelog Summary diff --git a/CTFd/__init__.py b/CTFd/__init__.py index b60cba31..557f233f 100644 --- a/CTFd/__init__.py +++ b/CTFd/__init__.py @@ -26,7 +26,7 @@ from CTFd.utils.migrations import create_database, migrations, stamp_latest_revi from CTFd.utils.sessions import CachingSessionInterface from CTFd.utils.updates import update_check -__version__ = "3.0.0" +__version__ = "3.0.1" __channel__ = "oss" diff --git a/package.json b/package.json index c52a42d7..f8ab3e54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ctfd", - "version": "3.0.0", + "version": "3.0.1", "description": "CTFd is a Capture The Flag framework focusing on ease of use and customizability. It comes with everything you need to run a CTF and it's easy to customize with plugins and themes.", "main": "index.js", "directories": {