Joshua Shaffer
42e21c9153
Added test for show_dotfiles
5 years ago
Joshua Shaffer
7444208a36
t/* should be eol=lf so bash can run
5 years ago
Joshua Shaffer
94bb8164b2
Fixes #54 . Adds configuration option 'fancyindex_show_dotfiles' to show dotfiles.
5 years ago
Adrian Perez de Castro
11101de198
make-dist: Add script to generate release tarballs
...
Because the source archives from GitHub tags may not always produce the
same tarball when fetching at different times. Having proper tarballs
for releases also allows signing them i.e. with PGP.
5 years ago
Adrian Perez de Castro
58fecc865d
Version 0.4.4
5 years ago
Anders Trier
21a084d61d
Add CRLF after the 'Parent directory' line. This makes the output easier to parse.
5 years ago
kPherox
fa13aef31b
Add test for `fancyindex_hide_parent_dir on`
6 years ago
kPherox
47ce20d993
refs aperezdc/ngx-fancyindex#57 Add `fancyindex_hide_parent_dir` directive
6 years ago
Nicolas CARPi
7abb6e3693
Fix some issues in the README file
...
* fix nginx URL (.org not .net and HTTPS)
* fix protocol for die.net URL
* fix underline too short for fancyindex_show_path
* fix "module module" sentence
6 years ago
Adrian Perez de Castro
473c1de024
Properly encode filenames as URI components
...
Fixes #95
6 years ago
Adrian Perez de Castro
a3929d7074
CI: Update Nginx mainline to version 1.15.2
6 years ago
David Beitey
e6ddb517ca
Mention awk fails on macOS and provide a solution
6 years ago
David Beitey
aa0be2dcaa
Fix encoding of & chars in table header
6 years ago
Adrian Perez de Castro
d1b2f36738
Version 0.4.3
6 years ago
Adrian Perez de Castro
a983c2c899
Add test case for sort order by file-size after
...
This tests the fix from PR #88 and by having it in the test suite
it will make sure that sorting by size dos not get broken again.
6 years ago
qjqqyy
2b2244551f
Fix decreasing sort by file size
...
fixes #77
6 years ago
Adrian Perez de Castro
6f812eba8e
Add a test case which uses pup to check a listing
6 years ago
Adrian Perez de Castro
604b43b336
Add pup() and use() function to allow skipping when pup is unavailable
...
The "use pup" construct will skip a test case that needs pup installed.
The pup() function ensures that the downloaded binary is used.
6 years ago
Adrian Perez de Castro
60f09e450d
Allow skipping test cases
...
This defines a skip() function in the tests preamble which can
be used to skip tests. Skipped tests are counted, and a reason
for them being skipped printed after running the tests.
6 years ago
Adrian Perez de Castro
501f9bc63c
CI: Add script to fetch and validate a binary build of pup
...
The script downloads and validates the download against a built-in
list of known checksums for the release ZIP files.
More on pup: https://github.com/ericchiang/pup/
6 years ago
Adrian Perez de Castro
5f265ab6eb
Add themes by @fraoustin and @alehaa
...
Closes #87
6 years ago
Adrian Perez de Castro
df593a20f3
CI: Switch mainline Nginx to 0.15.0, update older versions
...
In particular, version 1.11.6 does not even appear in the main
download page. Of course the tarballs are still in the archives,
but not being listed seems like a good criteria to remove it from
the testing matrix. Also, change 1.10.2 to 1.10.3, which is the
latest minor release from the series.
6 years ago
Lilian Besson
5dd4ec3b3c
Typo on code block formatting
6 years ago
Martchus
4ae6c87246
Test latest stable and mainline releases on Travis
7 years ago
Adrian Perez de Castro
c5bf62212e
CI: Update mainline/stable Nginx versions
...
Only the minor version number is changed, so there is no need to
keep the older versions being tested as well in the test matrix.
7 years ago
Adrian Perez de Castro
16e6feefa9
Update template.html to reflect recent changes in the code
7 years ago
gznyirfa
60c4338b96
add html class names to table cells for better css formatting options
7 years ago
Adrian Perez de Castro
9446fd7e4b
Release version 0.4.2
7 years ago
Adrian Perez de Castro
071697588c
CI: Update mainline and stable Nginx versions
...
Previous mainline/stable versions are tested only as static builds.
7 years ago
Adrian Perez de Castro
c1b1be3615
Fix sorting by file size for sizes bigger than INT_MAX
...
Instead of directly return the difference of the sizes from the
comparison functions, use the relational operators, as suggested by
Chris Young (thanks!).
Fixes #74
7 years ago
Nick Geoghegan
b21ec45790
Fixes #72
8 years ago
Lilian Besson
eb2fd247ea
Update link for the 2nd theme example
...
The linked project (and example) was dead. Mine is not. (https://github.com/Naereen/Nginx-Fancyindex-Theme )
8 years ago
Danila Vershinin
a97cc6639d
Update README.rst
8 years ago
Danila Vershinin
6ffd207a56
Update requirements for CentOS 7
...
Adds reference to GetPageSpeed extras RPM repository and availability of fancy index dynamic module
8 years ago
Iulian Onofrei
6e2f3fbe1c
Update README.rst
...
Add missing module loading command to the documentation
8 years ago
Adrian Perez de Castro
04936f197b
CI: Update mainline Nginx to 1.11.6
8 years ago
Adrian Perez de Castro
b1182f7758
Add test case
8 years ago
Adrian Perez
57ff1a2a89
Merge pull request #62 from 0xb8/fix-61
...
Fix segfaults when opening directories with empty files
8 years ago
cat
a551b5e3ea
Fix segfaults when opening directories with empty files
...
Apparently ngx_sprintf does not tolerate format specifiers
not matching their corresponding argument types.
8 years ago
Adrian Perez de Castro
ee17ca1a65
Use in tests the generic method to pass config options
...
Instead of having variables being flipped around, just specify which Nginx
directives are needed in the configuration file.
8 years ago
Adrian Perez de Castro
5b53c2b0b2
Use ↓ entity references instead of character references
...
Entity references are encoding-independent, and will work despite of the
encoding of the rest of the served document. Note that in general it may be
a bad idea to use "fancyindex_header" to change the encoding of the served
documents because file names will still be treated as UTF-8, which is the
only sane default in Unix.
Fixes #50 .
8 years ago
Adrian Perez de Castro
77d2c60c8e
CI: Update to Nginx stable 1.10.2 and mainline 1.11.5
8 years ago
Anders Trier Olesen
6442f26527
Add test for fancyindex_exact_size off
8 years ago
Anders Trier
1e438a694d
Add decimal to file sizes
8 years ago
Fernando Costa
f2f0cdc9de
Randomize test execution.
8 years ago
Adrian Perez de Castro
c5deb79e8f
Remove usage of cellpadding/cellspacing in default template
...
This closes issue #52
8 years ago
Adrian Perez de Castro
bdaceb6583
Do not use col/colgroup tags in default template
...
Avoid using <colgroup> and <col> tags, which are deprecated in favour
of using CSS for styling.
See issue #52 for more information.
8 years ago
Adrian Perez de Castro
a3a7626de9
Use the HTML5 document type declaration
...
The XHTML document makes the document not to validate because of the undefined
entity references, and it seems better to use the HTML5 document type instead
of the HTML 4.01 one because the template uses already some modern constructs
like defining the device viewport options.
Fixes issue #52 .
8 years ago
Adrian Perez de Castro
71b7146577
Release version 0.4.1
8 years ago
Adrian Perez de Castro
0a8450c812
Travis-CI: Use the t/build-and-run script
...
This ensures that Travis-CI uses the same commands for building and testing as
developers are encouraged to.
8 years ago