Skip to content

Commit af5e88d

Browse files
authored
Mark 3.6.0 (CTFd#2380)
# 3.6.0 / 2023-08-21 **General** - Translations support for Spanish, Polish, German, Chinese - If you wish to fix or maintain a language translation please join at CTFd's public [POEditor page](https://poeditor.com/join/project/p5jhdcrlm7). - Add a total user registration limit option - Dynamic value challenges can now choose between linear and logarithmic decay functions - Free hints are now visible by unauthenticated users if challenges are visible by unauthenticated users - Fix issue where a custom field named affiliation or website prevented registration - No longer special case "Affiliation" or "Website" as custom field titles. Previously custom fields with those titles would set the user's affiliation or website but this behavior has been removed. **Admin Panel** - Challenge Preview has been improved to support arbitrary custom themes - Long flags in the Admin Panel are now truncated but can be expanded and copied - Add UI to mark incorrect submissions as correct - Add the `discard` type for submissions - Add `PATCH /api/v1/submissions/[submission_id]` to mark submissions as correct - Add section in the Config Panel to configure `HTML_SANITIZATION` - Setting `HTML_SANITIZATION` to true in `config.ini` cannot be disabled via the Admin Panel - Add wildcard for email whitelisting **Deployment** - Add new envvar `SKIP_DB_PING` to instruct the CTFd Docker image to not test if the database server is available - Add new config `AWS_S3_ADDRESSING_STYLE` - Support selecting the [S3 addressing style](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html#access-bucket-console-ex). It defaults to "auto" as when it's not set, but can also be set to `virtual` or `path` - Add new config `AWS_S3_CUSTOM_DOMAIN` which specifies a domain that replaces the default one in presigned download URLs - Required for certain S3 implementations - Flask and Werkzeug have been upgraded to v2.0.3. Other dependencies have been updated for compatability. - SQLAlchemy has been updated to v1.4. - PyMySQL has been upgraded to v1.0.2. - The `flask` cli tool is now offered as an alternative to the `manage.py` script. - gzip compression is now enabled in the provided nginx configuration **API** - API tokens now have a description field - API tokens now start with a `ctfd_` prefix to make them easier to identify - `GET /api/v1/hints/[hint_id]` will now return hint information for free hints for unauthenticated users if challenges are visible **Themes** - core-beta is now provided in all CTFd instances - core-beta is the default theme during setup
1 parent ff80ef4 commit af5e88d

File tree

3 files changed

+49
-2
lines changed

3 files changed

+49
-2
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
# 3.6.0 / 2023-08-21
2+
3+
**General**
4+
5+
- Translations support for Spanish, Polish, German, Chinese
6+
- If you wish to fix or maintain a language translation please join at CTFd's public [POEditor page](https://poeditor.com/join/project/p5jhdcrlm7).
7+
- Add a total user registration limit option
8+
- Dynamic value challenges can now choose between linear and logarithmic decay functions
9+
- Free hints are now visible by unauthenticated users if challenges are visible by unauthenticated users
10+
- Fix issue where a custom field named affiliation or website prevented registration
11+
- No longer special case "Affiliation" or "Website" as custom field titles. Previously custom fields with those titles would set the user's affiliation or website but this behavior has been removed.
12+
13+
**Admin Panel**
14+
15+
- Challenge Preview has been improved to support arbitrary custom themes
16+
- Long flags in the Admin Panel are now truncated but can be expanded and copied
17+
- Add UI to mark incorrect submissions as correct
18+
- Add the `discard` type for submissions
19+
- Add `PATCH /api/v1/submissions/[submission_id]` to mark submissions as correct
20+
- Add section in the Config Panel to configure `HTML_SANITIZATION`
21+
- Setting `HTML_SANITIZATION` to true in `config.ini` cannot be disabled via the Admin Panel
22+
- Add wildcard for email whitelisting
23+
24+
**Deployment**
25+
26+
- Add new envvar `SKIP_DB_PING` to instruct the CTFd Docker image to not test if the database server is available
27+
- Add new config `AWS_S3_ADDRESSING_STYLE`
28+
- Support selecting the [S3 addressing style](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html#access-bucket-console-ex). It defaults to "auto" as when it's not set, but can also be set to `virtual` or `path`
29+
- Add new config `AWS_S3_CUSTOM_DOMAIN` which specifies a domain that replaces the default one in presigned download URLs
30+
- Required for certain S3 implementations
31+
- Flask and Werkzeug have been upgraded to v2.0.3. Other dependencies have been updated for compatability.
32+
- SQLAlchemy has been updated to v1.4.
33+
- PyMySQL has been upgraded to v1.0.2.
34+
- The `flask` cli tool is now offered as an alternative to the `manage.py` script.
35+
- gzip compression is now enabled in the provided nginx configuration
36+
37+
**API**
38+
39+
- API tokens now have a description field
40+
- API tokens now start with a `ctfd_` prefix to make them easier to identify
41+
- `GET /api/v1/hints/[hint_id]` will now return hint information for free hints for unauthenticated users if challenges are visible
42+
43+
**Themes**
44+
45+
- core-beta is now provided in all CTFd instances
46+
- core-beta is the default theme during setup
47+
148
# 3.5.3 / 2023-06-08
249

350
**Deployment**

CTFd/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from CTFd.utils.updates import update_check
3232
from CTFd.utils.user import get_locale
3333

34-
__version__ = "3.5.3"
34+
__version__ = "3.6.0"
3535
__channel__ = "oss"
3636

3737

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ctfd",
3-
"version": "3.5.3",
3+
"version": "3.6.0",
44
"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.",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)