Full Changelog: v1.2.6...v1.2.7
Changes 4/27/2025 1.2.7
- Select-All checkbox now correctly toggles all
.file-checkboxinputs- Updated
toggleAllCheckboxes(masterCheckbox)to callupdateRowHighlight()on each row so selections get the.row-selectedhighlight
- Updated
- Master checkbox sync in toolbar
- Enhanced
updateFileActionButtons()to set the header checkbox to checked, unchecked, or indeterminate based on how many files are selected
- Enhanced
- Fixed Pagination controls & Items-per-page dropdown
- Fixed
#advancedSearchTogglein bothrenderFileTable()andrenderGalleryView() - Shared folder gallery view logic
- Introduced new
public/js/sharedFolderView.jscontaining all DOMContentLoaded wiring,toggleViewMode(), gallery rendering, and event listeners - Embedded a non-executing JSON payload in
shareFolder.php
- Introduced new
FolderController::shareFolder()/shareFolder.php- Removed all inline
onclick="…"attributes and inline<script>blocks - Added
<script type="application/json" id="shared-data">…</script>to export$tokenand$files - Added
<script src="/js/sharedFolderView.js" defer></script>to load the external view logic
- Removed all inline
- Styling updates
- Added
.toggle-btnCSS for blue header-style toggle button and applied it in JS - Added
.pagination a:hover { background-color: #0056b3; }to match button hover - Tweaked
bodypadding andheader h1margins to reduce whitespace above header
- Added
Changes 4/26/2025
- Added Content-Security-Policy for
<Files "api.php">block to allow embedding the ReDoc iframe. - Extracted inline ReDoc init into
public/js/redoc-init.jsand updatedpublic/api.phpto use deferred<script>tags.