caddy/modules/caddyhttp/fileserver
wang1zhen df6f1e9a88 feat: enhance media viewer with audio support and mobile gestures
Enhance the file browser media viewer with additional features:

- Add audio file support (mp3, m4a, aac, flac, wav, wma, midi, cda)
- Add touch swipe navigation for mobile devices (swipe left/right to navigate)
- Refactor code style to match original template conventions (use var instead of const/let)
- Add CSP media-src policy for video/audio playback support
- Audio player width set to 80vw for better visibility

All media types (images, videos, audio) now support:
- Modal overlay viewing with navigation controls
- Keyboard shortcuts (ESC, ←, →)
- Touch gestures on mobile devices
- File info display with position counter

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 17:49:13 +09:00
..
testdata fileserver: fix try_policy when instantiating file matcher from CEL (#6624) 2024-10-20 14:08:30 +00:00
browse.go file_server: use the UTC timezone for modified time (#6830) 2025-02-10 08:39:43 -07:00
browse.html feat: enhance media viewer with audio support and mobile gestures 2025-10-02 17:49:13 +09:00
browsetplcontext.go file_server: use the UTC timezone for modified time (#6830) 2025-02-10 08:39:43 -07:00
browsetplcontext_test.go fileserver: Use EscapedPath for browse (#5534) 2023-05-15 10:48:05 -06:00
caddyfile.go fileserver: good default for precompressed (#6736) 2024-12-10 08:31:43 -07:00
command.go fileserver: Add file_limit option for browse (to be experimental) (#6648) 2024-11-05 09:35:32 -07:00
matcher.go chore: upgrade .golangci.yml and workflow to v2 (#6924) 2025-06-03 02:24:32 +03:00
matcher_test.go events: Refactor; move Event into core, so core can emit events (#6930) 2025-03-29 08:15:43 -06:00
staticfiles.go fileserver: set Content-Length for precompressed files (#7251) 2025-09-10 22:48:03 -06:00
staticfiles_test.go caddyhttp: Refactor and export SanitizedPathJoin for use in fastcgi (#4207) 2021-06-17 09:59:08 -06:00