Full Changelog: v1.1.2...v1.1.3
Changes 4/13/2025 v1.1.3
- Decreased header height some more and clickable logo.
- authModals.js fully updated with i18n.js keys.
- main.js added Dark & Light mode i18n.js keys.
- New Admin section Header Settings to change Header Title.
- Admin Panel confirm unsaved changes.
- Added translations and data attributes for almost all user-facing text
- Extend i18n support: Add new translation keys for Download and Share modals
Changes 4/12/2025
- Moved Gallery view toggle button into header.
- Removed css entries that are not needed anymore for Gallery View Toggle.
- Change search box text when enabling advanced search.
- Advanced/Basic search button as material icon on same row as search bar.
Advanced Search Implementation
-
Advanced Search Toggle:
- Added a global toggle (
window.advancedSearchEnabled
) and a UI button to switch between basic and advanced search modes. - The toggle button label changes between "Advanced Search" and "Basic Search" to reflect the active mode.
- Added a global toggle (
-
Fuse.js Integration Updates:
- Modified the
searchFiles()
function to conditionally include the"content"
key in the Fuse.js keys only when advanced search mode is enabled. - Adjusted Fuse.js options by adding
ignoreLocation: true
, adjusting thethreshold
, and optionally assigning weights (e.g., a lower weight forname
and a higher weight forcontent
) to prioritize matches in file content.
- Modified the
-
Backend (PHP) Enhancements:
- Updated getFileList.php to read the content of text-based files (e.g.,
.txt
,.html
,.md
, etc.) usingfile_get_contents()
. - Added a
"content"
property to the JSON response for eligible files to allow for full-text search in advanced mode.
- Updated getFileList.php to read the content of text-based files (e.g.,