mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-01 20:34:36 +01:00
# 3.5.0 / UNRELEASED **General** - Add a next challenge recommendation to challenges - Add support for only viewing hints after unlocking another hint - Add size checking and recommendation for images uploaded during setup **Admin Panel** - Imports now happen in the background so that admins can watch the status of the import - Add progress tracking to backup/export importing - Add `GET /admin/import` to see status of import - The public user facing portion of CTFd is now disabled during imports - Fix issue where custom field entries for Users and Teams would be misaligned in the scoreboard CSV export - Show admins the email server error message when email sending fails - Fix issue where the current theme cannot be found in list of themes - Fix page preview so that it accounts for the provided format **API** - Add the `count` meta field to the following endpoints: - `/api/v1/users/me/solves` - `/api/v1/users/me/fails` - `/api/v1/users/me/awards` - `/api/v1/teams/me/awards` - `/api/v1/users/[user_id]/solves` - `/api/v1/users/[user_id]/fails` - `/api/v1/users/[user_id]/awards` - `/api/v1/teams/[team_id]/solves` - `/api/v1/teams/[team_id]/awards` - Improve speed of `/api/v1/teams/me/fails` - Improve speed of `/api/v1/teams/[team_id]/fails` - Improve speed of `/api/v1/users/me/fails` - Improve speed of `/api/v1/users/[user_id]/fails` **Deployment** - Use Python 3.9 as the default Python version - Prevent any possible usage of an already existing session ID by checking for duplicates during during session ID generation - No longer install `python3-dev` in Dockerfile - docker-compose.yml now uses `nginx:stable` as the image for nginx **Plugins** - `CTFd._internal.challenge.render` and `CTFd._internal.challenge.renderer` in the `view.js` Challenge type file has been deprecated. Instead Challenge plugins should refer to the `challenge.html` attribute provided by the API. Essentially CTFd is moving to having markdown & HTML rendered by the server instead of rendering on the client. **Themes** - Create the [`core-beta` theme](https://github.com/CTFd/core-beta) and begin documenting the creation of themes using Vite - Add `userName` and `userEmail` to the CTFd init object in `base.html` for easier integration with other JavaScript code - Add `teamId` and `teamName` to the CTFd init object in `base.html` for easier integration with other JavaScript code - Adds the `Assets` constant to access front end assets from Jinja templates - Adds a `views.themes_beta` route to avoid the `.dev`/`.min` extension being added automatically to frontend asset urls **Miscellaneous** - Fix double logging in `log()` function - Add `--delete_import_on_finish` to `python manage.py import_ctf` - Fix issue where `field_entries` table could not be imported when moving between MySQL and MariaDB
73 lines
2.6 KiB
JSON
73 lines
2.6 KiB
JSON
{
|
|
"name": "ctfd",
|
|
"version": "3.5.0",
|
|
"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": {
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"dev": "node_modules/webpack-cli/bin/cli.js -w --mode=development",
|
|
"build": "node_modules/webpack-cli/bin/cli.js --mode=development; node_modules/webpack-cli/bin/cli.js --mode=production",
|
|
"verify": "node_modules/webpack-cli/bin/cli.js --mode=development --display=errors-only; node_modules/webpack-cli/bin/cli.js --mode=production --display=errors-only; git diff --quiet --exit-code",
|
|
"clean": "rm -rf CTFd/themes/core/static/css/* CTFd/themes/core/static/js/* CTFd/themes/admin/static/css/* CTFd/themes/admin/static/js/*",
|
|
"lint": "node_modules/.bin/eslint CTFd/themes/core/assets/ CTFd/themes/admin/assets/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/CTFd/CTFd.git"
|
|
},
|
|
"author": "Kevin Chung <kchung@ctfd.io>",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/CTFd/CTFd/issues"
|
|
},
|
|
"homepage": "https://github.com/CTFd/CTFd#readme",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.11.6",
|
|
"@babel/preset-env": "^7.11.5",
|
|
"@fortawesome/fontawesome-free": "^5.14.0",
|
|
"babel-loader": "^8.1.0",
|
|
"bootstrap": "~4.3.1",
|
|
"bootstrap-multimodal": "~1.0.4",
|
|
"codemirror": "~5.58.2",
|
|
"css-loader": "^3.6.0",
|
|
"dayjs": "^1.11.1",
|
|
"easymde": "^2.10.1",
|
|
"echarts": "^4.8.0",
|
|
"eslint": "~5.12.0",
|
|
"event-source-polyfill": "~1.0.7",
|
|
"file-loader": "~3.0.1",
|
|
"highlight.js": "^10.4.1",
|
|
"howler": "~2.1.2",
|
|
"jquery": "~3.5.1",
|
|
"markdown-it": "~10.0.0",
|
|
"mini-css-extract-plugin": "~0.7.0",
|
|
"nunjucks": "~3.2.0",
|
|
"optimize-css-assets-webpack-plugin": "~5.0.1",
|
|
"popper.js": "^1.15.0",
|
|
"prettier": "1.17.0",
|
|
"remove-strict-webpack-plugin": "~0.1.2",
|
|
"sass": "^1.43.4",
|
|
"sass-loader": "10.1.1",
|
|
"string-replace-loader": "^2.2.0",
|
|
"swagger-js-codegen": "~1.12.0",
|
|
"to-string-loader": "^1.1.5",
|
|
"typeface-lato": "~0.0.54",
|
|
"typeface-raleway": "~0.0.54",
|
|
"uglifyjs-webpack-plugin": "~2.1.1",
|
|
"vue": "^2.6.11",
|
|
"vue-loader": "15.9.3",
|
|
"vue-style-loader": "^4.1.2",
|
|
"vue-template-compiler": "^2.6.11",
|
|
"webpack": "~4.28.1",
|
|
"webpack-cli": "~3.2.1",
|
|
"webpack-fix-style-only-entries": "~0.3.0",
|
|
"webpack-shell-plugin": "^0.5.0",
|
|
"whatwg-fetch": "~3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/polyfill": "^7.11.5"
|
|
}
|
|
}
|