mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 14:34:21 +01:00
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.
This commit is contained in:
18
CHANGELOG.md
18
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
|
||||
==================
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user