Skip to content

Release v2 - #10

Open
The0mikkel wants to merge 10 commits into
mainfrom
develop
Open

The0mikkel wants to merge 10 commits into
mainfrom
develop

Conversation

@The0mikkel

Copy link
Copy Markdown
Member

Update CTFd to CTF Pilot CTFd v2, which removes Redis Cluster support, upgrades CTFd and CTFd theme to v 3.8.6.

The0mikkel and others added 10 commits July 23, 2026 18:29
BREAKING CHANGE: This update remove Redis Cluster support, as it is unstable, and causes CTFd to restart.
In combination with upcoming update to CTFd 3.8.6, maintaining flawed Redis Cluster support is not maintainable.

The redis URL provided to CTFd should be to a Redis or HA Redis leader instance, and not Clustered redis.
This PR updates CTFd to v3.8.6, with updated theme, along with removed
support for clustered Redis and custom CTFd changes.

This fixes #4 by removing Redis Cluster to minimize continued
maintenance, and update the Dockerfile to build from CTFd v3.8.6, as
well as updated the theme to match the latest `core-beta` theme from
CTFd.
## [2.0.0-r.1](v1.0.1...v2.0.0-r.1) (2026-07-27)

### ⚠ BREAKING CHANGES

* **ctfd:** This update remove Redis Cluster support, as it is unstable, and causes CTFd to restart.
In combination with upcoming update to CTFd 3.8.6, maintaining flawed Redis Cluster support is not maintainable.

The redis URL provided to CTFd should be to a Redis or HA Redis leader instance, and not Clustered redis.

### Features

* **ctfd:** Remove Redis cluster support ([e077f8f](e077f8f))
* **ctfd:** Upgrade CTFd to v3.8.6 ([7012c6d](7012c6d))
* **docker-compose:** Update docker compose redis to v8 instead of outdated v4 ([60dc215](60dc215))
* **theme:** update core-kubectf theme to match the latest core-beta theme from CTFd v3.8.6 ([c491be0](c491be0))
## [2.0.0-r.2](v2.0.0-r.1...v2.0.0-r.2) (2026-09-15)

### Bug Fixes

* **docker:** add multi-arch docker builds ([08e2f13](08e2f13))
Copilot AI balanced review requested due to automatic review settings October 25, 2026 12:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Supported language selections can prevent theme initialization, and anonymous-submission redirects construct invalid return paths for subdirectory deployments.

2 open issues
What changed in this PR

Updates CTF Pilot’s CTFd deployment to v2, adopting CTFd 3.8.6 and removing custom Redis Cluster support.

Changes:

  • Upgrades CTFd, Redis images, deployment tags, and the reusable Docker build workflow.
  • Removes local CTFd overrides in favor of the upstream image.
  • Updates the theme with localized timestamps, language persistence, anonymous-submission redirects, and a 401 page.
File Description
themes/​core-kubectf/​templates/​errors/​401.html Adds a translated unauthorized page.
themes/​core-kubectf/​package.json Aligns the package name with the theme.
themes/​core-kubectf/​assets/​js/​theme/​times.js Adds locale-aware timestamp formatting.
themes/​core-kubectf/​assets/​js/​components/​language.js Persists the selected language locally.
themes/​core-kubectf/​assets/​js/​challenges.js Updates timestamps and redirects anonymous submissions to login.
template/​k8s.yml Removes Redis Cluster configuration.
README.md Documents CTFd 3.8.6.
k8s/​k8s.yml Updates release tags and removes Redis Cluster configuration.
Dockerfile Upgrades CTFd and stops copying local overrides.
docker-compose.yml Upgrades Redis to version 8.
docker-compose.prod.yml Upgrades production Redis to version 8.
CTFd/​utils/​initialization/​__init__.py Removes customized initialization code.
CTFd/​config.py Removes customized server configuration.
CTFd/​config.ini Removes the local configuration override.
.github/​workflows/​release.yml Updates the reusable Docker build workflow.

Review effort: Balanced


// Challenges page might be visible to anonymous users, redirect to login on submit
if (this.response.data.status === "authentication_required") {
window.location = `${CTFd.config.urlRoot}/login?next=${CTFd.config.urlRoot}${window.location.pathname}${window.location.hash}`;
dayjs.extend(advancedFormat);

export const intl = new Intl.DateTimeFormat(
localStorage.getItem("language") || navigator.language,

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants