Commit Graph

31 Commits (06eda48a626477b2acc47390e56b3c741e0d227e)

Author SHA1 Message Date
Thomas P cb3d21157b Add the 'show_path' configuration directive
This directive enables someone using a custom header to disable the output of the indexed directory by the module

Useful when you want to create links to previous directories via PHP for example
2016-02-13 15:37:54 +01:00
stayn0ided 69105c65d8 fixed readme theme section 2015-08-23 12:51:47 +02:00
Adrian Perez de Castro 4d0200d22c README: Add one more theme 2015-08-17 01:08:23 +03:00
Adrian Perez de Castro 5599bbebba Allow specifying timestamp format with fancyindex_time_format
This patch adds a new configuration directive fancyindex_time_format, which
accepts a strftime()-style format string used to format the timestamps in the
generated listings. The accepted format specifiers are an useful subset of
those supported by strftime(), but the libc function is not used to make the
output of the module stable and locale-independent.

This fixes issue #23.
2015-08-16 23:54:32 +03:00
Adrian Perez de Castro 42d10a2a24 Add option to hide symbolic links from generated listings
This adds a new "fancyindex_hide_symlinks" configuration flag, which will
filter out symbolic links from the generated file listings when enabled.

Feature suggested by Peter Wemm (https://github.com/DarkHelmet433)

Fixes issue #27
2015-08-16 13:08:04 +03:00
Adrian Perez de Castro fdce427a5c README: Mention the need for ngx_http_addition_module
The fancyindex_footer and fancyindex_header settings need the standard Nginx
ngx_http_addition_module built into Nginx. Add a note to this effect in the
README.

Also, a warning is issued at configuration time if the addition module is not
enabled in the configuration.

Closes issue #26.
2015-08-09 14:14:40 +03:00
Martin Herkt dc64f24bbc Make file name length limit configurable 2015-02-19 13:10:27 +01:00
Mim 7a07987ad3 Make sorting criterion configurable 2015-02-19 13:06:27 +01:00
Adrian Perez de Castro e5cbf4873d Link to theme designed by @TheInsomniac from README
Adds a link to the nice theme designed by @TheInsomiac, which is a
great example of advanced theming using "fancyindex_header" and
"fancyindex_footer".

Closes issue #11
2014-11-05 11:47:15 +02:00
Adrian Perez de Castro 4d1aa8680e Added drone.io status badge to README 2014-09-19 13:10:26 +03:00
Adrian Perez de Castro 87e4206159 Release version 0.3.3 2013-10-25 13:06:44 +03:00
Adrian Perez 607159a61d Update README with some bits
More exactly:

* In the requirements section, state that the module will work with
  any version of Nginx newer than 0.7.x

* Updated URL to the Nginx wiki, using now wiki.nginx.org

* Specifying a custom CSS works, the README was contradicting the code.
  FWIW, removed status markers from features in the file.

* Made the build instructions a bit more generic.
2012-01-18 00:31:22 +02:00
Óscar García Amor a86e293f4f - Fixed description errors in README.rst
- Now the directives are sorted alphabetically
2011-07-20 08:37:07 +02:00
Adrian Perez d8e0bdaef2 Update e-mail address and copyright headers 2011-04-03 00:22:59 +03:00
Adrian Perez 2f138afb70 Implement fancyindex_ignore configuration directive
Adds a new "fancyindex_ignore string1 [string2 [... stringN]]" directive
which sets a lists of files which are not to be shown in generated listings.
If Nginx is built with PCRE support, strings are interpreted as regular
expressions, and files which match one of the regular expressions in this
list will not be sent in listings.
2010-09-09 16:42:46 +02:00
Adrian Perez 4b19f3a73f Add fancyindex_css_href configuration option
This allows for inserting a <link> tag in the generated listings pointing to
an additional CSS stylesheet, which will be applied by the browser after the
built-in rules. This allows for super-easy customization of the output look.
2010-06-10 16:56:31 +02:00
Adrian Perez 062b851137 Update README file, add .gitignore
* Change old e-mail address to my new one.
* State that the module is unsupported in Nginx 0.6.x
* Remove text about the fancyindex_readme* directives
* Add some basic git ignores.
2010-06-10 01:49:30 +02:00
Adrián Pérez 6d5cec8e68 Corrected README 2008-12-10 02:23:32 +01:00
Adrian Perez d508e6f95a - Added support for sending as much response as possible in a single
ngx_chain_t instead of always calling the output filter three times.
  This should avoid possible blocking in Nginx code.
- Added warning about using external URLs in subrequest in readme file.
- Factorized out some variable declarations out to function header. Removed
  a shadowed variable.
- Removed some debugging statements.
2007-09-19 18:22:16 +02:00
Adrian Perez 2f429b796b - Updated documentation.
- Fixed XHTML 1.0 validation by enclosing JS code into a CDATA section.
2007-09-13 23:40:40 +02:00
Adrian Perez 4cc0d75806 Fixed readme 2007-09-12 12:40:21 +02:00
Adrian Perez 549d00bdae Clarified documentation 2007-09-11 12:28:26 +02:00
Adrian Perez ddadd2a210 Removed now unused (see comments on #205) include_mode and corresponding directive 2007-09-10 18:01:40 +02:00
Adrian Perez ef9ee57749 Updated README 2007-08-30 18:39:37 +02:00
Adrian Perez c2f086207b Added fancyindex_mode directive. 2007-08-28 13:32:01 +02:00
Adrian Perez ec48c46ce8 - Added config flag to wrap up readme file as an IFRAME.
- Updated readme file accordingly.
2007-08-22 19:30:46 +02:00
Adrian Perez 6af366dc6f Added missing words 2007-08-21 21:50:38 +02:00
Adrian Perez 1f5952dff9 Fixed rst ref typo 2007-08-21 21:50:07 +02:00
Adrian Perez 3d6d50f772 Changed available config options 2007-08-21 21:49:09 +02:00
Adrian Perez bd1c9cd6af Better readme structure 2007-08-20 21:32:37 +02:00
Adrian Perez 9e935e7d23 - Added configuration commands for header and footer files, and for their
inclusion inside <pre> tags.
- Code which handles the merging of the header/footer settings.
- Updated documentation in README.rst
2007-08-20 21:27:49 +02:00