From 27d8d82c17f9f73f2ab7c26f387b3b5b8030337a Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Fri, 29 May 2020 14:42:04 -0400 Subject: [PATCH] Add CHANGELOG and mark 2.5.0 --- CHANGELOG.md | 18 ++++++++++++++++++ CTFd/__init__.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1abb0da5..6dd4cce8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +2.5.0 / +================== + +**General** +* Use a session invalidation strategy inspired by Django. Newly generated user sessions will now include a HMAC of the user's password. When the user's password is changed by someone other than the user the previous HMACs will no longer be valid and the user will be logged out when they next attempt to perform an action. + +**API** +* Add `/api/v1/challenges?view=admin` to allow admin users to see all challenges regardless of their visibility state +* Add `/api/v1/users?view=admin` to allow admin users to see all users regardless of their hidden/banned state +* Add `/api/v1/teams?view=admin` to allow admin users to see all teams regardless of their hidden/banned state + +**Deployment** +* `docker-compose` now provides a basic nginx configuration and deploys nginx on port 80 + +**Miscellaneous** +* The `get_config` and `get_page` config utilities now use SQLAlchemy Core instead of SQLAlchemy ORM for slight speedups + + 2.4.3 / 2020-05-24 ================== diff --git a/CTFd/__init__.py b/CTFd/__init__.py index 44b620b7..6c199bdf 100644 --- a/CTFd/__init__.py +++ b/CTFd/__init__.py @@ -31,7 +31,7 @@ if sys.version_info[0] < 3: reload(sys) # noqa: F821 sys.setdefaultencoding("utf-8") -__version__ = "2.4.3" +__version__ = "2.5.0" class CTFdRequest(Request):