Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4f7ec0dca | ||
|
|
5a7c4704d0 | ||
|
|
8b880738d6 | ||
|
|
06c732971f |
12
.github/codeql/codeql-config.yml
vendored
12
.github/codeql/codeql-config.yml
vendored
@@ -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"
|
|
||||||
24
.github/workflows/release-on-version.yml
vendored
24
.github/workflows/release-on-version.yml
vendored
@@ -3,13 +3,12 @@
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: ["master"]
|
||||||
- master
|
|
||||||
paths:
|
paths:
|
||||||
- public/js/version.js
|
- public/js/version.js
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: "Bump version and sync Changelog to Docker Repo"
|
workflows: ["Bump version and sync Changelog to Docker Repo"]
|
||||||
types: completed
|
types: [completed]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -27,6 +26,10 @@
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Ensure tags available
|
||||||
|
run: |
|
||||||
|
git fetch --tags --force --prune --quiet
|
||||||
|
|
||||||
- name: Read version from version.js
|
- name: Read version from version.js
|
||||||
id: ver
|
id: ver
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -45,7 +48,6 @@
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
git fetch --tags --quiet
|
|
||||||
if git rev-parse -q --verify "refs/tags/${{ steps.ver.outputs.version }}" >/dev/null; then
|
if git rev-parse -q --verify "refs/tags/${{ steps.ver.outputs.version }}" >/dev/null; then
|
||||||
echo "exists=true" >> "$GITHUB_OUTPUT"
|
echo "exists=true" >> "$GITHUB_OUTPUT"
|
||||||
echo "Tag ${{ steps.ver.outputs.version }} already exists. Skipping release."
|
echo "Tag ${{ steps.ver.outputs.version }} already exists. Skipping release."
|
||||||
@@ -53,13 +55,17 @@
|
|||||||
echo "exists=false" >> "$GITHUB_OUTPUT"
|
echo "exists=false" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build the artifact first so we can checksum it
|
|
||||||
- name: Build zip artifact
|
- name: Build zip artifact
|
||||||
if: steps.tagcheck.outputs.exists == 'false'
|
if: steps.tagcheck.outputs.exists == 'false'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
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
|
- name: Compute SHA-256 checksum
|
||||||
if: steps.tagcheck.outputs.exists == 'false'
|
if: steps.tagcheck.outputs.exists == 'false'
|
||||||
@@ -100,8 +106,8 @@
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
git fetch --tags --quiet
|
VER="${{ steps.ver.outputs.version }}"
|
||||||
PREV=$(git tag --list "v*" --sort=-v:refname | sed -n '2p' || true)
|
PREV=$(git tag --list "v*" --sort=-v:refname | grep -v -F "$VER" | head -n1 || true)
|
||||||
if [[ -z "$PREV" ]]; then
|
if [[ -z "$PREV" ]]; then
|
||||||
PREV=$(git rev-list --max-parents=0 HEAD | tail -n1)
|
PREV=$(git rev-list --max-parents=0 HEAD | tail -n1)
|
||||||
fi
|
fi
|
||||||
|
|||||||
18
CHANGELOG.md
18
CHANGELOG.md
@@ -1,5 +1,23 @@
|
|||||||
# Changelog
|
# 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)
|
## Changes 10/28/2025 (v1.6.10)
|
||||||
|
|
||||||
release(v1.6.10): self-host ReDoc, gate sidebar toggle on auth, and enrich release workflow
|
release(v1.6.10): self-host ReDoc, gate sidebar toggle on auth, and enrich release workflow
|
||||||
|
|||||||
12
codeql-config.yml
Normal file
12
codeql-config.yml
Normal 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
|
||||||
@@ -21,10 +21,10 @@ if (isset($_GET['spec'])) {
|
|||||||
<title>FileRise API Docs</title>
|
<title>FileRise API Docs</title>
|
||||||
|
|
||||||
<!-- Local ReDoc bundle -->
|
<!-- 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) -->
|
<!-- 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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<redoc spec-url="/api.php?spec=1"></redoc>
|
<redoc spec-url="/api.php?spec=1"></redoc>
|
||||||
|
|||||||
@@ -11,28 +11,28 @@
|
|||||||
<meta name="share-url" content="">
|
<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>
|
<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/roboto.css?v=1.6.11">
|
||||||
<link rel="stylesheet" href="/css/vendor/material-icons.css?v=1.6.10">
|
<link rel="stylesheet" href="/css/vendor/material-icons.css?v=1.6.11">
|
||||||
|
|
||||||
<!-- Bootstrap CSS (local) -->
|
<!-- 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) -->
|
<!-- 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/codemirror.min.css?v=1.6.11">
|
||||||
<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/theme/material-darker.min.css?v=1.6.11">
|
||||||
|
|
||||||
<!-- app CSS -->
|
<!-- 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) -->
|
<!-- Libraries (JS) -->
|
||||||
<script src="/vendor/dompurify/2.4.0/purify.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.10"></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.10"></script>
|
<script src="/vendor/resumable/1.1.0/resumable.min.js?v=1.6.11"></script>
|
||||||
|
|
||||||
<!-- CodeMirror core FIRST, then modes -->
|
<!-- 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>
|
<script type="module" src="/js/main.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -551,6 +551,10 @@ function ensureZonesToggle() {
|
|||||||
btn.style.color = '#e0e0e0';
|
btn.style.color = '#e0e0e0';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
btn.addEventListener('click', () => {
|
||||||
|
setZonesCollapsed(!isZonesCollapsed());
|
||||||
|
});
|
||||||
|
|
||||||
// Insert right after the logo if present, else append to host
|
// Insert right after the logo if present, else append to host
|
||||||
const afterLogo = host.querySelector('.header-logo');
|
const afterLogo = host.querySelector('.header-logo');
|
||||||
if (afterLogo && afterLogo.parentNode) {
|
if (afterLogo && afterLogo.parentNode) {
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
// generated by CI
|
// generated by CI
|
||||||
window.APP_VERSION = 'v1.6.10';
|
window.APP_VERSION = 'v1.6.11';
|
||||||
|
|||||||
Reference in New Issue
Block a user