Skip to content

Release: version 1.3.0 - #73

Merged
sixem merged 21 commits into
masterfrom
revamp/1.3.0
Oct 26, 2026
Merged

sixem merged 21 commits into
masterfrom
revamp/1.3.0

Conversation

@sixem

@sixem sixem commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

This PR includes the latest changes for the next major release: 1.3.0. There are already changes merged into main since 3922936, but this PR adds the final touches before the release is considered ready.

This PR should close #57 and #51 once merged.

Thanks to @justin-peacock for issuing #57 too!

Changes 1.3.0

  • Refreshed the interface with a darker theme, SVG icons, improved scrollbars, settings, dialogs and menus.
  • Added file multiselection and client-side ZIP downloads, including progress tracking, cancellation and custom archive names.
  • Optimised PHP directory listings by reducing filesystem calls and reusing file metadata.
  • Improved performance mode, now automatically enabled for directories with 250+ items.
  • Improved filtering with wildcard support (*.mp4), regular expressions and better error handling.
  • Added controls to collapse, clear or close the filter independently.
  • Improved gallery and hover previews, including faster loading, better resource cleanup and better video transitions.
  • Modernised Docker deployment with Nginx, PHP-FPM, automatic builds and non-root services.
  • Strengthened security with better output escaping, directory validation, authentication and error handling.
  • Fixed Windows URL separators affecting gallery images and previews (#51).
  • Improved configuration handling and added options to disable file selection and ZIP downloads.
  • Added a built-in favicon and fixed Unicode and asset references in standalone builds.
  • Updated dependencies, build tooling and automated tests, including PHP 8.2 - 8.5 compatibility.
  • Simplified documentation and updated setup instructions.
  • Harden README rendering, update Parsedown and simplify docs.

Performance comparison

PHP generation times compared with version 1.2.3:

Directory size 1.2.3 1.3.0 Improvement
100 files 1.17 ms 0.89 ms 24%
1,000 files 11.17 ms 7.62 ms 32%
10,000 files 137.92 ms 86.40 ms 37%

Benchmarked using PHP 8.4.24 on WSL with identical fixtures. Results are medians of 15 runs and exclude startup, network and browser rendering.

Upgrade notes

  • Digest authentication now requires an authentication.secret signing key. Challenges expire after five minutes.
  • Replace the X-Indexer-Prepend-Path proxy header with the server-configured INDEXER_PREPEND_PATH.
  • Docker deployments should use the updated .env.example. PORT now specifies only the host port.

sixem added 18 commits October 25, 2026 23:02
Read bundled JavaScript as UTF-8 and cover non-ASCII script content in the
standalone embedding checks.
Replace the menu with SVG toolbar actions and introduce reusable tooltips,
context menus, dialogs, toasts, scrollbars, and file selection.

Create ZIP downloads in the browser with editable filenames, selection
review, size checks, and progress feedback. Align gallery and README
styling, centralize shared UI behavior, and bump the version to 1.3.0.
Point project, documentation, and release links directly to the ivfi-php
GitHub repository.
Cancel stale media loads, release unused resources, and keep gallery media
visible until its replacement is ready. Reuse loaded hover videos while
preserving playback position and applying gallery playback settings.

Share delegated hover handling, guard late playback callbacks, and handle
preview volume changes and gallery navigation during loading. Highlight
context-menu rows without changing the active gallery item.
Enrich listing data in place, normalize filters once per request, and
share file and directory matching. Avoid building a filename lookup table
for a single dotfile check and skip type detection for filtered files.

Remove redundant row-rendering work, repeated item counts, and an unused
cookie helper while preserving the standalone build and existing output.
Read each entry's type, size, and modification time together instead of
revisiting the filesystem during rendering. Retain only the required
values and consume them before sorting or invoking custom processors.

In seven alternating local runs per version, median generation time fell
from 125 to 46 ms for 48 entries and from 25 to 19 ms for 2,000 files.
Listing HTML and data remained identical, including symlink cases.

Preserve standalone portability and skip vanished entries and broken
symlinks without introducing persistent caching or dependencies.
Normalize the shared URL prefix once, assemble row cells without temporary
arrays, and render fixed date spans directly while retaining text escaping.

Across 15 alternating local runs on 6,000 files, median listing generation
fell from 56.1 to 50.0 ms. Listing HTML and data remained identical across
special filenames, custom dates, filters, sorting, and symlink cases.
@sixem
sixem marked this pull request as ready for review October 26, 2026 17:04
@sixem
sixem merged commit aa21bd4 into master Oct 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant