Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge branch "staging" into branch "rc" #1960

Merged
merged 43 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b3ddd72
[#1945] Update Dockerfiles to change user home directories and set sh…
TheophileDiot Jan 27, 2025
60dc9be
deps/gha: bump actions/setup-node from 4.1.0 to 4.2.0
dependabot[bot] Jan 27, 2025
84e66f6
deps/gha: bump docker/build-push-action from 6.12.0 to 6.13.0
dependabot[bot] Jan 27, 2025
0bb8e95
Update Ace editor to v1.37.5
TheophileDiot Jan 27, 2025
b95d778
Update apexcharts.js to version 4.4.0
TheophileDiot Jan 27, 2025
d875291
Update DomPurify to version 3.2.3
TheophileDiot Jan 27, 2025
46bd938
Add total label to chart displaying most blocked IP
TheophileDiot Jan 27, 2025
8ae2c58
Fix news rendering by updating API endpoint and improving title/excer…
TheophileDiot Jan 27, 2025
3bf3e70
Refactor layout of request and blocked IP sections for improved align…
TheophileDiot Jan 27, 2025
120cff2
[#1946] Refactor condition checks in Database class to avoid default …
TheophileDiot Jan 27, 2025
047763e
Improve logging for cache file restoration and directory removal
TheophileDiot Jan 27, 2025
4b8c5d5
Add IGNORE_FAIL_SENDING_CONFIG option to control behavior on send fai…
TheophileDiot Jan 27, 2025
4b5a195
Bump version to 1.6.0 and update related configurations
TheophileDiot Jan 27, 2025
bf47c1d
Add conditional logging for send failures based on IGNORE_FAIL_SENDIN…
TheophileDiot Jan 27, 2025
48d59ea
Refactor condition checks in Database class to simplify method compar…
TheophileDiot Jan 27, 2025
688f8eb
Bump version to 1.6.0-rc4 across project files and Docker configurations
TheophileDiot Jan 27, 2025
6155bb5
Update CHANGELOG for v1.6.0-rc4 with bug fixes and Dockerfile updates
TheophileDiot Jan 27, 2025
10b67ac
Update CHANGELOG for v1.6.0-rc4 with date placeholder and bug fixes
TheophileDiot Jan 27, 2025
c0bec61
Update coreruleset to v4.11.0
TheophileDiot Jan 28, 2025
9c063ba
deps/gha: bump github/codeql-action from 3.28.4 to 3.28.6
dependabot[bot] Jan 28, 2025
1ee5dea
deps/gha: bump actions/setup-python from 5.3.0 to 5.4.0
dependabot[bot] Jan 28, 2025
872722e
deps/gha: bump ruby/setup-ruby from 1.213.0 to 1.214.0
dependabot[bot] Jan 28, 2025
4f0b77f
Merge pull request #1948 from bunkerity/dependabot/github_actions/dev…
TheophileDiot Jan 28, 2025
7884d8f
Merge pull request #1949 from bunkerity/dependabot/github_actions/dev…
TheophileDiot Jan 28, 2025
f0c416c
Merge pull request #1952 from bunkerity/dependabot/github_actions/dev…
TheophileDiot Jan 28, 2025
9204cac
Merge pull request #1953 from bunkerity/dependabot/github_actions/dev…
TheophileDiot Jan 28, 2025
7026f6f
Merge pull request #1954 from bunkerity/dependabot/github_actions/dev…
TheophileDiot Jan 28, 2025
ebccb5f
Update dependencies: upgrade pip to 25.0, attrs to 25.1.0, boto3 and …
TheophileDiot Jan 28, 2025
f2cff54
Add migration scripts for upgrading to version 1.6.0-rc4 across multi…
TheophileDiot Jan 28, 2025
0f0c737
Merge pull request #1955 from bunkerity/dev
TheophileDiot Jan 28, 2025
01ebc0d
Log warning when ignoring fail sending config to BunkerWeb instances
TheophileDiot Jan 28, 2025
e63e2cb
Fix regex pattern in settings.json to disallow slashes in server names
TheophileDiot Jan 28, 2025
9564048
Update plugin update logic to include method check and restore data a…
TheophileDiot Jan 28, 2025
7d821d0
Add ModSecurity rule to ignore logs for plugin requests
TheophileDiot Jan 28, 2025
bfb4af1
Enhance plugin usage check and improve error handling in custom_plugi…
TheophileDiot Jan 28, 2025
0f6587c
Refactor environment configuration handling and streamline context va…
TheophileDiot Jan 28, 2025
c9f5634
Merge pull request #1957 from bunkerity/dev
TheophileDiot Jan 28, 2025
43b2508
Refactor failover backup functionality to make it stabler
TheophileDiot Jan 29, 2025
4306015
Merge pull request #1958 from bunkerity/dev
TheophileDiot Jan 29, 2025
f58d190
Add teal text color utility class to overrides.css
TheophileDiot Jan 29, 2025
9c1b61f
Refactor user session query logic for improved readability and perfor…
TheophileDiot Jan 29, 2025
d630da7
Refactor plugin page template to support dynamic title classes
TheophileDiot Jan 29, 2025
a5bd965
Merge pull request #1959 from bunkerity/dev
TheophileDiot Jan 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ body:
label: BunkerWeb version
description: What version of BunkerWeb are you running?
placeholder: Version
value: 1.6.0-rc3
value: 1.6.0-rc4
validations:
required: true
- type: dropdown
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python 3.9
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
if: matrix.language == 'python'
with:
python-version: "3.9"
Expand All @@ -35,12 +35,12 @@ jobs:
python -m pip install --no-cache-dir --require-hashes -r src/common/db/requirements.txt
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
- name: Initialize CodeQL
uses: github/codeql-action/init@ee117c905ab18f32fa0f66c2fe40ecc8013f3e04 # v3.28.4
uses: github/codeql-action/init@17a820bf2e43b47be2c72b39cc905417bc1ab6d0 # v3.28.6
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql.yml
setup-python-dependencies: false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ee117c905ab18f32fa0f66c2fe40ecc8013f3e04 # v3.28.4
uses: github/codeql-action/analyze@17a820bf2e43b47be2c72b39cc905417bc1ab6d0 # v3.28.6
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
# Build cached image
- name: Build image
if: inputs.CACHE == true
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
with:
context: .
file: ${{ inputs.DOCKERFILE }}
Expand All @@ -108,7 +108,7 @@ jobs:
# Build non-cached image
- name: Build image
if: inputs.CACHE != true
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
with:
context: .
file: ${{ inputs.DOCKERFILE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc-to-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
- name: Checkout source code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.10"
- name: Install doc dependencies
run: pip install --no-cache-dir --require-hashes -r docs/requirements.txt && sudo apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
- name: Install chromium
run: sudo apt install chromium-browser
- name: Install node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: 18
- name: Install puppeteer
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
# Build testing package image
- name: Build package image
if: inputs.RELEASE == 'testing' || inputs.RELEASE == 'dev' || inputs.RELEASE == 'ui' || inputs.RELEASE == '1.5'
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
with:
context: .
load: true
Expand All @@ -109,7 +109,7 @@ jobs:
# Build non-testing package image
- name: Build package image
if: inputs.RELEASE != 'testing' && inputs.RELEASE != 'dev' && inputs.RELEASE != 'ui' && inputs.RELEASE != '1.5'
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
with:
context: .
load: true
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
images: ghcr.io/bunkerity/${{ inputs.LINUX }}-tests:${{ inputs.RELEASE }}
- name: Build test image
if: inputs.TEST == true
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
with:
context: .
file: tests/linux/Dockerfile-${{ inputs.LINUX }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
git config --global user.name "BunkerBot"
git config --global user.email "[email protected]"
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.10"
- name: Install doc dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
images: bunkerity/${{ inputs.IMAGE }}
# Build and push
- name: Build and push
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
with:
context: .
file: ${{ inputs.DOCKERFILE }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-packagecloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Check out repository code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install ruby
uses: ruby/setup-ruby@28c4deda893d5a96a6b2d958c5b47fc18d65c9d3 # v1.213.0
uses: ruby/setup-ruby@1287d2b408066abada82d5ad1c63652e758428d9 # v1.214.0
with:
ruby-version: "3.0"
- name: Install packagecloud
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
results_format: sarif
publish_results: true
- name: "Upload SARIF results to code scanning"
uses: github/codeql-action/upload-sarif@ee117c905ab18f32fa0f66c2fe40ecc8013f3e04 # v3.28.4
uses: github/codeql-action/upload-sarif@17a820bf2e43b47be2c72b39cc905417bc1ab6d0 # v3.28.6
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/staging-create-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
version: "v1.29.1"
- name: Set up Python 3.12
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
if: inputs.TYPE != 'k8s'
with:
python-version: "3.12"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-core-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout source code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python 3.12
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.12"
- name: Install Firefox manually and dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-ui-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout source code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python 3.12
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.12"
- name: Install Firefox manually and dependencies
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog

## v1.6.0-rc3 - ????/??/??
## v1.6.0-rc4 - ????/??/??

- [BUGFIX] Fix shenanigans with the configuration being wiped after a restart
- [BUGFIX] Fix shenanigans with cache files being deleted for no reason
- [BUGFIX] Refactor condition checks in Database class to avoid default value check when a multiple has a suffix so that it still saves important values
- [DOCKER] Update Dockerfiles to change user home directories and set shell to nologin for autoconf, scheduler, and ui users
- [DEPS] Updated coreruleset-v4 version to v4.11.0

## v1.6.0-rc3 - 2025/01/26

- [FEATURE] Update BunkerNet's logic to send reports in bulk instead of one by one
- [AUTOCONF] Add the possibility to add/override settings via ConfigMap in Kubernetes using the `bunkerweb.io/CONFIG_TYPE=settings` annotation
Expand Down
Loading
Loading