- Rework path expansion fix to ensure filesystem root is also expanded.
- Fix issue with path expansion for relative symlinks, leading to Unauthorized errors with symlinks targeted to paths inside the served tree.
- Change debug option to
-debug-addr
to allow specifying address and port. - Return Bad request error for requests other than GET/HEAD.
- Enable all checks with staticcheck.
- Add
-debug-port
option to serve debug URLs on localhost - Always print startup message
- [gh] Run tests on multiple OSes
- Switch to
staticcheck
linter
- Fix HTML template indentation
- [snap] Switch to core22 base
- [snap] update metadata
- [doc] document Let's Encrypt setup
- Fix redirect link on logo
- Log both local and
X-Forwarded-For
address
- Log version on startup
- Add
-version
option
- Fix redirect
Location
header when a request path prefix is used, to include the prefix
- Add
-request-path-prefix
option to remove prefix from request path (e.g. when reverse-proxied under a path) - Get remote address from
X-Forwarded-For
header if set, for request logging - Add
-disable-index
option to disable directory indexes - [snap] Rework daemon wrapper
- Move assets and templates out of code, include them using the
embed
module - Require Go 1.16 (for
embed
) - Add favicon
- Change license to EUPL-1.2
- [gh] Fix action to build release binaries
- Fix flaky test
- [gh] Fix GitHub actions branch name
- Support custom CSS file for listing (#10)
- Add OS/architecture info at bottom of listing page
- Update dependencies and go versions
- Log request source address
- Cleanups and refactoring
- [snap] Use go modules
- [snap] switch to
core20
- Don't show directory size in HTML output (#9)
- CSS/HTML cleanups
- Report symlinks as files/directories based on the type of the target (#8)
- Don't follow symlinks outside of the base directory, add option to allow it
- Add command options validation for paths, return errors instead of panicking on invalid configurations (#7)
- Suport directory listing sorting by name or size
- Serve CSS and SVG logo as separate assets
- Log handler errors on 500 responses (#6)
- Support for HTTP Basic Authentication (#1)
- Hide dotfiles by default (togglable via command line option) (#2)
- Rework directory listing code, add nicer HTML+CSS output (#3)
- Support JSON output for directory listing (#4)
- Redirect directory paths without trailing slash to ones with slash (#5)
- When a path without
.htm(l)
suffix is requrested, if it doesn't exist but a file with the suffix exists, serve that file instead
- Use go modules
- Refactor code, add tests
- Add logo
- Snap improvements
- Add service to the snap
- First release