mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
Merge pull request #1391 from CTFd/mark-2.4.2
2.4.2 / 2020-05-08 ================== **Admin Panel** * Fix Challenge Reset in Admin Panel where Dynamic Challenges prevented resetting Challenges **Plugins** * Add the `CTFd.plugins.migrations` module to allow plugins to handle migrations. Plugins should now call `CTFd.plugins.migrations.upgrade` instead of `app.db.create_all` which will allow the plugin to have database migrations. * Make Dynamic Challenges have a cascading deletion constraint against their respective Challenge row **Miscellaneous** * Add `app.plugins_dir` object to refer to the directory where plugins are installed
This commit is contained in:
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,3 +1,17 @@
|
|||||||
|
2.4.2 / 2020-05-08
|
||||||
|
==================
|
||||||
|
|
||||||
|
**Admin Panel**
|
||||||
|
* Fix Challenge Reset in Admin Panel where Dynamic Challenges prevented resetting Challenges
|
||||||
|
|
||||||
|
**Plugins**
|
||||||
|
* Add the `CTFd.plugins.migrations` module to allow plugins to handle migrations. Plugins should now call `CTFd.plugins.migrations.upgrade` instead of `app.db.create_all` which will allow the plugin to have database migrations.
|
||||||
|
* Make Dynamic Challenges have a cascading deletion constraint against their respective Challenge row
|
||||||
|
|
||||||
|
**Miscellaneous**
|
||||||
|
* Add `app.plugins_dir` object to refer to the directory where plugins are installed
|
||||||
|
|
||||||
|
|
||||||
2.4.1 / 2020-05-06
|
2.4.1 / 2020-05-06
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ if sys.version_info[0] < 3:
|
|||||||
reload(sys) # noqa: F821
|
reload(sys) # noqa: F821
|
||||||
sys.setdefaultencoding("utf-8")
|
sys.setdefaultencoding("utf-8")
|
||||||
|
|
||||||
__version__ = "2.4.1"
|
__version__ = "2.4.2"
|
||||||
|
|
||||||
|
|
||||||
class CTFdRequest(Request):
|
class CTFdRequest(Request):
|
||||||
|
|||||||
@@ -20,13 +20,13 @@
|
|||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = u"CTFd"
|
project = u"CTFd"
|
||||||
copyright = u"2019, CTFd LLC"
|
copyright = u"2020, CTFd LLC"
|
||||||
author = u"Kevin Chung"
|
author = u"Kevin Chung"
|
||||||
|
|
||||||
# The short X.Y version
|
# The short X.Y version
|
||||||
version = u""
|
version = u""
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = u"2.4.1"
|
release = u"2.4.2"
|
||||||
|
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ctfd",
|
"name": "ctfd",
|
||||||
"version": "2.4.1",
|
"version": "2.4.2",
|
||||||
"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.",
|
"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",
|
"main": "index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|||||||
Reference in New Issue
Block a user