From 49b48a9e5319297baff84b32c3c814fe722b5bf1 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Mon, 13 May 2019 23:50:34 -0400 Subject: [PATCH] Mark 2.1.2 (#994) 2.1.2 / 2019-05-13 ================== **General** * Fix freeze time regressions in 2.x * Make `/api/v1/[users,teams]/[me]/[solves,fails,awards]` endpoints load as admin so users can see their solves after freeze * Make `/api/v1/challenges/[id]/solves` only show solves before freeze time * Add the `?preview=true` GET parameter for admins to preview challenges solves as a user * Team join attempts are now ratelimited **Tests** * More linting and autoformatting rules * Format Javascript and CSS files with `prettier`: `prettier --write 'CTFd/themes/**/*'` * Format Python with `black`: `black CTFd` and `black tests` * `make lint` and thus Travis now include the above commands as lint checks * Travis now uses xenial instead of trusty. --- CHANGELOG.md | 18 ++++++++++++++++++ CTFd/__init__.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d8a24f7..a2b926de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +2.1.2 / 2019-05-13 +================== + +**General** +* Fix freeze time regressions in 2.x + * Make `/api/v1/[users,teams]/[me]/[solves,fails,awards]` endpoints load as admin so users can see their solves after freeze + * Make `/api/v1/challenges/[id]/solves` only show solves before freeze time + * Add the `?preview=true` GET parameter for admins to preview challenges solves as a user +* Team join attempts are now ratelimited + +**Tests** +* More linting and autoformatting rules + * Format Javascript and CSS files with `prettier`: `prettier --write 'CTFd/themes/**/*'` + * Format Python with `black`: `black CTFd` and `black tests` + * `make lint` and thus Travis now include the above commands as lint checks +* Travis now uses xenial instead of trusty. + + 2.1.1 / 2019-05-04 ================== diff --git a/CTFd/__init__.py b/CTFd/__init__.py index bf4bacb4..1ef1de5d 100644 --- a/CTFd/__init__.py +++ b/CTFd/__init__.py @@ -28,7 +28,7 @@ if sys.version_info[0] < 3: reload(sys) # noqa: F821 sys.setdefaultencoding("utf-8") -__version__ = "2.1.1" +__version__ = "2.1.2" class CTFdRequest(Request):