Skip to content

Releases: aperezdc/ngx-fancyindex

v0.5.2

28 Oct 19:32
v0.5.2
6cdffdb
Compare
Choose a tag to compare

This is a maintenance release in the 0.5.x series which contains an important bug fix.

Fixed

  • Properly escape file names to ensure that file names are never renreded as HTML. (Patch by Anthony Ryan <[email protected]>, #128.)

v0.5.1

26 Oct 20:48
v0.5.1
5ca7cb3
Compare
Choose a tag to compare

This is a maintenance release in the 0.5.x series which fixes a regression introduced in version 0.5.0.

Fixed

  • Properly handle optional second argument to fancyindex_header and fancyindex_footer (#117).

v0.5.0

24 Oct 16:10
v0.5.0
4fc6bb1
Compare
Choose a tag to compare

This release adds news features and is backwards-compatible with the 0.4.x series.

Added

  • New option fancyindex_show_dotfiles. (Path by Joshua Shaffer <[email protected]>.)
  • The fancyindex_header and fancyindex_footer options now support local files properly, by means of a local flag. (Patches by JoungKyun Kim <[email protected]> and Adrián Pérez <[email protected]>.)

Changed

  • Improved performance of directory entry sorting, which should be quite noticeable for directories with thousands of files. (Patch by Yuxiang Zhang.)
  • The minimum Nginx version supported by the module is now 0.8.x.

Fixed

  • Properly escape square brackets in directory entry names when the module is built with older versions of Nginx. (Patch by Adrián Pérez <[email protected]>.)
  • Fix directory entry listing not being shown when using the nginx-auth-ldap module. (Patch by JoungKyun Kim <[email protected]>.)

v0.4.4

19 Feb 10:57
v0.4.4
58fecc8
Compare
Choose a tag to compare

This is a maintenance release in the 0.4.x series.

Added

  • New option fancyindex_hide_parent_dir, which disables generating links to parent directories in listings. (Patch by Kawai Ryota <[email protected]>.)

Changed

  • Each table row is now separated by a new line (as a matter of fact, a CRLF sequence), which makes it easier to parse output using simple text tools. (Patch by Anders Trier <[email protected]>.)
  • Some corrections and additions to the README file. (Patches by Nicolas Carpi <[email protected]> and David Beitey <[email protected]>.)

Fixed

  • Use correct character references for & characters in table sorter URLs within the template (Patch by David Beitey <[email protected]>.)
  • Properly encode filenames when used as URI components.

v0.4.3

02 Jul 23:54
v0.4.3
d1b2f36
Compare
Choose a tag to compare

This is a maintenance release in the 0.4.x series.

Added

  • Table cells now have class names, which allows for better CSS styling. (Patch by qjqqyy <[email protected]>.)
  • The test suite now can parse and check elements from the HTML returned by the module, thanks to the pup tool.

Fixed

v0.4.2

18 Aug 21:36
v0.4.2
9446fd7
Compare
Choose a tag to compare

This release contains an important fix which can cause Nginx to crash when a directory contains zero-sized (empty) files. This bug has been present in all previous releases, and all users are strongly encouraged to update to version 0.4.2.

Changed

  • Generated HTML from the default template is now proper HTML5, and it should now pass validation (#52).
  • File sizes now have decimal positions when using fancyindex_exact_size off. (Patch by Anders Trier <[email protected]>.)
  • Multiple updates to README.rst (Patches by Danila Vershinin <[email protected]>, Iulian Onofrei, Lilian Besson, and Nick Geoghegan <[email protected]>.)

Fixed

  • Sorting by file size now also works correctly for directories which contain files of sizes bigger than INT_MAX. (#74, fix suggestion by Chris Young.)
  • Custom headers which fail to declare an UTF-8 encoding no longer cause table header arrows to be rendered incorrectly by browsers (#50).
  • Fix segmentation fault when opening directories with empty files (#61, patch by Catgirl <[email protected]>.)

v0.4.1

18 Aug 17:54
71b7146
Compare
Choose a tag to compare

This release contains an important fix which allows to use fancyindex on in conjunction with the index … option. The issue was present since version 0.4.0, and it is strongly recommended to update if you are using it.

Change Log

Added

  • New fancyindex_directories_first configuration directive (enabled by
    default), which allows setting whether directories are sorted before other
    files. (Patch by Luke Zapart [email protected].)

Fixed

  • Fix index files not working when the fancyindex module is in use (#46).

v0.4.0

18 Aug 17:55
4f9058d
Compare
Choose a tag to compare

Change Log

Added

  • The module can now be built as a dynamic
    module
    .
    (Patch by Róbert Nagy [email protected].)
  • New configuration directive fancyindex_show_path, which allows hiding the
    <h1> header which contains the current path.
    (Patch by Thomas P. [email protected].)

Changed

  • Directory and file links in listings now have a title="..." attribute.
    (Patch by @janglapuk [email protected].)

Fixed

  • Fix for hung requests when the module is used along with ngx_pagespeed.
    (Patch by Otto van der Schaaf [email protected].)

v0.3.6

18 Aug 17:56
Compare
Choose a tag to compare

Change Log

Added

  • New feature: Allow filtering out symbolic links using the
    fancyindex_hide_symlinks configuration directive. (Idea and prototype
    patch by Thomas Wemm.)
  • New feature: Allow specifying the format of timestamps using the
    fancyindex_time_format configuration directive. (Idea suggested by Xiao
    Meng [email protected]).

Changed

  • Listings in top-level directories will not generate a "Parent Directory"
    link as first element of the listing. (Patch by Thomas P.)

Fixed

  • Fix propagation and overriding of the fancyindex_css_href setting inside
    nested locations.
  • Minor changes in the code to allow building cleanly under Windows with
    Visual Studio 2013. (Patch by Y. Yuan [email protected]).

v0.3.5

18 Aug 17:56
Compare
Choose a tag to compare

Change Log

Added

  • New feature: Allow setting the default sort criterion using the
    fancyindex_default_sort configuration directive. (Patch by
    Алексей Урбанский).
  • New feature: Allow changing the maximum length of file names, using
    the fancyindex_name_length configuration directive. (Patch by
    Martin Herkt).

Changed

  • Renames NEWS.rst to CHANGELOG.md, which follows the recommendations
    from Keep a Change Log.
  • Configuring Nginx without the http_addition_module will generate a
    warning during configuration, as it is needed for the fancyindex_footer
    and fancyindex_header directives.