diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c570c7..4a0b1aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Changes 4/24/2025 +## Changes 4/24/2025 1.2.5 - Enhance README and wiki with expanded installation instructions - Adjusted Dockerfile’s Apache vhost to: @@ -12,6 +12,10 @@ - Deny access to hidden files (dot-files) - Add access control in public/.htaccess for api.html & openapi.json; update Nginx example in wiki - Remove obsolete folders from repo root +- Embed API documentation (`api.html`) directly in the FileRise UI as a full-screen modal + - Introduced `openApiModalBtn` in the user panel to launch the API modal + - Added `#apiModal` container with a same-origin ` + +`; + document.body.appendChild(apiModal); + + document.getElementById("openApiModalBtn").addEventListener("click", () => { + apiModal.style.display = "flex"; + }); + document.getElementById("closeApiModal").addEventListener("click", () => { + apiModal.style.display = "none"; + }); + // Handlers… document.getElementById("closeUserPanel").addEventListener("click", () => { userPanelModal.style.display = "none"; @@ -246,6 +268,7 @@ export function openUserPanel() { document.getElementById("changePasswordModal").style.display = "block"; }); + // TOTP checkbox const totpCheckbox = document.getElementById("userTOTPEnabled"); totpCheckbox.checked = localStorage.getItem("userTOTPEnabled") === "true";