Skip to content

Commit

Permalink
Merge branch 'release/v2.3.0' into PRESS7-93-Burst-Safety-Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AleTorrisi authored Jan 8, 2025
2 parents 64a0255 + bd73107 commit 5f83b4f
Show file tree
Hide file tree
Showing 41 changed files with 22,659 additions and 3,096 deletions.
51 changes: 51 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "main"
allow:
- dependency-type: direct
schedule:
interval: "weekly"
commit-message:
prefix: "GitHub Actions"
include: "scope"
labels:
- "dependencies"
- "workflows"

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
target-branch: "main"
allow:
- dependency-type: direct
schedule:
interval: "weekly"
versioning-strategy: increase
commit-message:
prefix: "NPM"
prefix-development: "NPM Dev"
include: "scope"
labels:
- "dependencies"
- "javascript"

# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
target-branch: "main"
allow:
- dependency-type: direct
schedule:
interval: "weekly"
versioning-strategy: increase
commit-message:
prefix: "Composer"
prefix-development: "Composer Dev"
include: "scope"
labels:
- "dependencies"
- "php"
9 changes: 8 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
push:
paths:
- '**.php'
- '!build/**'
pull_request:
types: [opened, edited, reopened, ready_for_review]
paths:
- '**.php'
- '!build/**'
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -36,13 +38,18 @@ jobs:
**/*.php
!build/**/*.php
- name: Exclude build folder from diff
run: |
export GIT_DIFF=$(echo "$GIT_DIFF" | grep -v '^build/')
echo "Filtered diff: $GIT_DIFF"
- name: Get Composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
if: "!! env.GIT_DIFF"

- name: Cache Composer vendor directory
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
vendor
node_modules
vendor
.DS_Store
.vscode
56 changes: 56 additions & 0 deletions assets/image-bulk-optimizer/image-bulk-optimizer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
.nfd-performance-image-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

.nfd-performance-image-modal-content {
background: #fff;
padding: 2rem;
border-radius: 8px;
text-align: center;
width: 400px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.nfd-performance-image-progress-container {
width: 100%;
height: 20px;
background: #eee;
border-radius: 10px;
margin: 1rem 0;
overflow: hidden;
position: relative;
}

.nfd-performance-image-progress-bar {
height: 100%;
width: 0;
background: #007cba;
transition: width 0.3s ease;
}

.nfd-performance-image-result-list {
text-align: center;
margin: 1rem auto;
max-height: 200px;
overflow-y: auto;
}

.nfd-performance-image-done-button {
margin-top: 1rem;
margin-left: auto;
margin-right: auto;
display: block;
}
Loading

0 comments on commit 5f83b4f

Please sign in to comment.