Compare commits

..

4 Commits

8 changed files with 204 additions and 176 deletions

View File

@@ -1,12 +0,0 @@
---
name: "FileRise CodeQL config"
paths:
- "public/js"
- "api"
paths-ignore:
- "public/vendor/**"
- "public/css/vendor/**"
- "public/fonts/**"
- "public/**/*.min.js"
- "public/**/*.min.css"
- "public/**/*.map"

View File

@@ -3,13 +3,12 @@
on:
push:
branches:
- master
branches: ["master"]
paths:
- public/js/version.js
workflow_run:
workflows: "Bump version and sync Changelog to Docker Repo"
types: completed
workflows: ["Bump version and sync Changelog to Docker Repo"]
types: [completed]
permissions:
contents: write
@@ -27,6 +26,10 @@
with:
fetch-depth: 0
- name: Ensure tags available
run: |
git fetch --tags --force --prune --quiet
- name: Read version from version.js
id: ver
shell: bash
@@ -45,7 +48,6 @@
shell: bash
run: |
set -euo pipefail
git fetch --tags --quiet
if git rev-parse -q --verify "refs/tags/${{ steps.ver.outputs.version }}" >/dev/null; then
echo "exists=true" >> "$GITHUB_OUTPUT"
echo "Tag ${{ steps.ver.outputs.version }} already exists. Skipping release."
@@ -53,13 +55,17 @@
echo "exists=false" >> "$GITHUB_OUTPUT"
fi
# Build the artifact first so we can checksum it
- name: Build zip artifact
if: steps.tagcheck.outputs.exists == 'false'
shell: bash
run: |
set -euo pipefail
zip -r "FileRise-${{ steps.ver.outputs.version }}.zip" public/ README.md LICENSE >/dev/null || true
ZIP="FileRise-${{ steps.ver.outputs.version }}.zip"
zip -r "$ZIP" . \
-x "./.git/*" "./.github/*" \
"./resources/*" "./resources/**" \
"./.dockerignore" "./.gitattributes" "./.gitignore" \
"$ZIP" "${ZIP}.sha256" >/dev/null
- name: Compute SHA-256 checksum
if: steps.tagcheck.outputs.exists == 'false'
@@ -100,8 +106,8 @@
shell: bash
run: |
set -euo pipefail
git fetch --tags --quiet
PREV=$(git tag --list "v*" --sort=-v:refname | sed -n '2p' || true)
VER="${{ steps.ver.outputs.version }}"
PREV=$(git tag --list "v*" --sort=-v:refname | grep -v -F "$VER" | head -n1 || true)
if [[ -z "$PREV" ]]; then
PREV=$(git rev-list --max-parents=0 HEAD | tail -n1)
fi

View File

@@ -1,5 +1,23 @@
# Changelog
## Changes 10/28/2025 (v1.6.11)
release(v1.6.11) fix(ui/dragAndDrop) restore floating zones toggle click action
Re-add the click handler to toggle `zonesCollapsed` so the header
“sidebarToggleFloating” button actually expands/collapses the zones
again. This regressed in v1.6.10 during auth-gating refactor.
Refs: #regression #ux
chore(codeql): move config to repo root for default setup
- Relocate .github/codeql/codeql-config.yml to codeql-config.yml so GitHub default code scanning picks it up
- Keep paths: public/js, api
- Keep ignores: public/vendor/**, public/css/vendor/**, public/fonts/**, public/**/*.min.{js,css}, public/**/*.map
---
## Changes 10/28/2025 (v1.6.10)
release(v1.6.10): self-host ReDoc, gate sidebar toggle on auth, and enrich release workflow

12
codeql-config.yml Normal file
View File

@@ -0,0 +1,12 @@
---
name: FileRise CodeQL config
paths:
- public/js
- api
paths-ignore:
- public/vendor/**
- public/css/vendor/**
- public/fonts/**
- public/**/*.min.js
- public/**/*.min.css
- public/**/*.map

View File

@@ -21,10 +21,10 @@ if (isset($_GET['spec'])) {
<title>FileRise API Docs</title>
<!-- Local ReDoc bundle -->
<script defer src="/vendor/redoc/redoc.standalone.js?v=1.6.10"></script>
<script defer src="/vendor/redoc/redoc.standalone.js?v=1.6.11"></script>
<!-- Your init (also local) -->
<script defer src="/js/redoc-init.js?v=1.6.10"></script>
<script defer src="/js/redoc-init.js?v=1.6.11"></script>
</head>
<body>
<redoc spec-url="/api.php?spec=1"></redoc>

View File

@@ -11,28 +11,28 @@
<meta name="share-url" content="">
<style>.main-wrapper{display:none}#loadingOverlay{position:fixed;inset:0;background:var(--bg-color,#fff);z-index:9999;display:flex;align-items:center;justify-content:center}</style>
<link rel="stylesheet" href="/css/vendor/roboto.css?v=1.6.10">
<link rel="stylesheet" href="/css/vendor/material-icons.css?v=1.6.10">
<link rel="stylesheet" href="/css/vendor/roboto.css?v=1.6.11">
<link rel="stylesheet" href="/css/vendor/material-icons.css?v=1.6.11">
<!-- Bootstrap CSS (local) -->
<link rel="stylesheet" href="/vendor/bootstrap/4.5.2/bootstrap.min.css?v=1.6.10">
<link rel="stylesheet" href="/vendor/bootstrap/4.5.2/bootstrap.min.css?v=1.6.11">
<!-- CodeMirror CSS (local) -->
<link rel="stylesheet" href="/vendor/codemirror/5.65.5/codemirror.min.css?v=1.6.10">
<link rel="stylesheet" href="/vendor/codemirror/5.65.5/theme/material-darker.min.css?v=1.6.10">
<link rel="stylesheet" href="/vendor/codemirror/5.65.5/codemirror.min.css?v=1.6.11">
<link rel="stylesheet" href="/vendor/codemirror/5.65.5/theme/material-darker.min.css?v=1.6.11">
<!-- app CSS -->
<link rel="stylesheet" href="/css/styles.css?v=1.6.10">
<link rel="stylesheet" href="/css/styles.css?v=1.6.11">
<!-- Libraries (JS) -->
<script src="/vendor/dompurify/2.4.0/purify.min.js?v=1.6.10"></script>
<script src="/vendor/fuse/6.6.2/fuse.min.js?v=1.6.10"></script>
<script src="/vendor/resumable/1.1.0/resumable.min.js?v=1.6.10"></script>
<script src="/vendor/dompurify/2.4.0/purify.min.js?v=1.6.11"></script>
<script src="/vendor/fuse/6.6.2/fuse.min.js?v=1.6.11"></script>
<script src="/vendor/resumable/1.1.0/resumable.min.js?v=1.6.11"></script>
<!-- CodeMirror core FIRST, then modes -->
<script src="/vendor/codemirror/5.65.5/codemirror.min.js?v=1.6.10"></script>
<script src="/vendor/codemirror/5.65.5/codemirror.min.js?v=1.6.11"></script>
<script src="/js/version.js?v=1.6.10"></script>
<script src="/js/version.js?v=1.6.11"></script>
<script type="module" src="/js/main.js"></script>
</head>

View File

@@ -551,6 +551,10 @@ function ensureZonesToggle() {
btn.style.color = '#e0e0e0';
}
btn.addEventListener('click', () => {
setZonesCollapsed(!isZonesCollapsed());
});
// Insert right after the logo if present, else append to host
const afterLogo = host.querySelector('.header-logo');
if (afterLogo && afterLogo.parentNode) {

View File

@@ -1,2 +1,2 @@
// generated by CI
window.APP_VERSION = 'v1.6.10';
window.APP_VERSION = 'v1.6.11';