Multiple fixes
- Better MIME type detection.
- Improved content-disposition handling for S3 store uploads.
- Added validation for empty file uploads with clear error messages.
- Fixed activity-log insertion errors in logs.
Upgrade
- Always take database backups before any upgrade.
- Follow steps here.
Changelog
- 63d4284 Merge pull request #179 from abhinavxd/fix-mimetype-detection
- 2331a2c add validation for empty file uploads with appropriate error message
- a279197 add error logs
- fd349ab add debug logs while detecting content type
- 913d2fb fix errors while inserting acitvity logs
- f3ce640 refactor use http lib to detect mimetype first and then fallback to github.com/gabriel-vasile/mimetype
- ee2e929 bump simple s3
- 3c1935f Update internal/media/media.go
- a7ec336 Update cmd/media.go
- 80b249e Update internal/media/media.go
- de3c0cf Update internal/media/media.go
- f516bbf fix: improve MIME type detection and content disposition handling for media uploads for s3 store.