Commit Graph

142 Commits (ba8ca3b5405640548ab733f01050ea2c19f15925)

Author SHA1 Message Date
Adrian Perez de Castro ba8ca3b540
CHANGELOG: Fix typo 2016-06-08 17:17:00 +03:00
Adrian Perez de Castro 022c117576
README: Mention the possibility of compiling as dynamic module 2016-06-08 16:04:41 +03:00
Adrian Perez de Castro aa18095ffc
Change the build status badge to use the Travis-CI one
Travis-CI better signifies the build status, as it tries building with
combinations of compilers, nginx versions, and dynamic vs. statically
linked modules.
2016-06-08 15:49:09 +03:00
Adrian Perez 06eda48a62 Merge pull request #44 from vrnagy/master
Support to be built as dynamic module
2016-06-08 15:40:04 +03:00
Róbert Nagy 0e5f7c00b6 Dynamic module config 2016-05-23 23:39:24 +02:00
Róbert Nagy 7ca820ec4d Test dynamic module build 2016-05-23 23:38:00 +02:00
Róbert Nagy 9d34233ff4 Test with nginx 1.8.1, 1.9.15, 1.10.0 2016-05-23 23:29:53 +02:00
Adrian Perez ba8b4ece63 Merge pull request #39 from TPXP/add_show_path
Add the 'show_path' configuration directive
2016-02-16 01:31:04 +02:00
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
Adrián Pérez de Castro 80bd501bbf Travis-CI: Add configuration 2016-02-10 18:55:26 +02:00
Adrián Pérez de Castro 891fb05fc9 Update CHANGELOG with latest merges 2016-02-10 16:23:21 +02:00
Adrian Perez 945f87c644 Merge pull request #31 from janglapuk/master
Add title attribute for each dir or file
2016-02-10 15:54:04 +02:00
Adrian Perez c8e9a9a158 Merge pull request #37 from oschaaf/ngx-pagespeed-compatibility
Fix hang when combining fancyindex with ngx_pagespeed
2016-02-10 15:46:00 +02:00
Otto van der Schaaf 1450c1b4d5 Fix hang when combining fancyindex with ngx_pagespeed
This attempts to address hanging requests when fancyindex is
combined with ngx_pagespeed. The change makes fancyindex check
the return value of ngx_http_send_header in a way that is just
the same as nginx's autoindex module - which makes the modules
work for me when I test with ngx_pagespeed.
2016-02-10 13:15:30 +01:00
Adrián Pérez de Castro c97e11ad6c Release version 0.3.6 2016-01-26 18:53:05 +02:00
Adrián Pérez de Castro 61f091aeb8 Update year to 2016 in copyright header 2016-01-26 18:52:54 +02:00
Adrian Perez 29e039e787 Merge pull request #35 from yzwduck/master
Fix Windows builds
2016-01-26 18:43:55 +02:00
YeahO_O Yuan bbd0300488 Fix Windows builds
Suppress warnings for:
* non-ascii character;
* non-constant aggregate initializer;
* assignment within conditional expression;
* return value type mismatch.
2016-01-25 19:45:06 +08:00
janglapuk 07c4288e64 Added title attribute for each dir or file 2015-08-30 10:29:30 +08:00
stayn0ided 69105c65d8 fixed readme theme section 2015-08-23 12:51:47 +02:00
Peter Wemm e5deb93745 Fix typo in fancyindex_hide_symlinks that causes a crash. 2015-08-16 21:18:13 -07:00
Adrian Perez de Castro 4d0200d22c README: Add one more theme 2015-08-17 01:08:23 +03:00
Adrian Perez de Castro db017f815c CHANGELOG: Fix subsubsection spacing 2015-08-17 00:27:10 +03:00
Adrian Perez de Castro c0c6d8bfc4 CHANGELOG: Make version numbers clickable 2015-08-17 00:25:28 +03:00
Adrian Perez de Castro 3f93d1f01d Fix propagation of fancyindex_css_href configuration directive
The value for fancyindex_css_href was not being propagated properly, so
overriding its value did not work as expected. For example the following
configuration:

    http {
	# ...
	fancyindex_css_href "/css/global.css";

	location /subdir/ {
	    fancyindex_css_href "/css/local.css";
	}
    }

would always use "global.css", even when accessing file listings under
"/subdir".

This patch fixes the issue.
2015-08-17 00:20:53 +03:00
Adrian Perez de Castro 5549286d39 Mark unused variables to avoid compiler warnings/errors
This avoids the compiler complaning when warnings for unused variables are
enabled.
2015-08-17 00:15:25 +03:00
Adrian Perez de Castro 13170fb6e6 Fix a couple of code style and indentation issues 2015-08-17 00:14:53 +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 fd0bbd7fb8 Fix indentation and spacing 2015-08-16 17:22:19 +03:00
Adrian Perez de Castro cf8197c991 Fix initializer of fancyindex_hide_symlinks flag definition 2015-08-16 17:21:31 +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 f39d834bff Record removal of top-level "parent" link in CHANGELOG 2015-08-16 02:29:43 +03:00
Thomas P 97987a45e4 Do not display the parent dir link at the root
If fancy indexing is used at the root of a webserver, it will still display
a "Parent Directory" link even when listing the webserver's root. This should
not happen as it outputs a useless link.
2015-08-16 02:27:37 +03:00
Adrian Perez de Castro 3f3b408c17 Mention http_addition_module warning at config time in CHANGELOG.md 2015-08-09 14:19:21 +03:00
Adrian Perez de Castro f30f3ea818 Fix typo in CHANGELOG.md 2015-08-09 14:19:09 +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
Adrian Perez de Castro b4bf5e9891 Use valid Markdown formatting in CHANGELOG.md 2015-02-19 13:18:17 +01:00
Adrian Perez de Castro f358f406a0 Release version 0.3.5 2015-02-19 13:16:36 +01: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 edb81b0acc Remove devtodo's .todo 2014-09-08 10:50:49 +03:00
Adrian Perez de Castro 0064164d4e Convert HACKING.rst to Markdown 2014-09-08 10:49:15 +03:00
Adrian Perez de Castro 00c3ca3730 Rename NEWS.rst to CHANGELOG.md
Follow the recommendations from http://keepachangelog.com/
2014-09-08 10:34:51 +03:00
Adrian Perez de Castro 3de8a4daca Release version 0.3.4 2014-09-03 14:21:04 +03:00
Adrian Perez a2d30629ed Merge pull request #13 from anthonyryan1/master
Shift table styling details onto the client
2014-09-03 14:08:34 +03:00
Anthony Ryan da3f7ea17d Shift table stlying details onto the client
There is almost universal support for the CSS3
:nth-child() pseudo-selector. We're shifting the
responsibility for labeling even and odd rows to
the browser.
2014-06-02 09:02:24 -04:00
Adrian Perez b1eb0a4c44 Merge pull request #9 from quatauta/master
HTML template: Add meta viewport for mobile browsers
2014-01-04 07:09:14 -08:00
Daniel Schömer a989003c62 template.h: viewport width for mobile browsers
Set html5 meta viewport width to device-width. A mobile browser now scales up the directory listing and dir-/filenames are easier to read and click/touch.
2013-12-28 17:58:35 +01:00