(fix) I don't wanna talk about it.
add sample environment config file
note that set difference is order dependent
bare minimum sql string escaping
add readme for aqua-query
add `aqua-query` project
This lives in it's own workspace for two reasons:
- Most importantly it has no external dependencies (yet), as such it's nice breaking it out to where it's
build time is near instantaneous
- Secondarily: when built by itself I get an ~800KiB DLL, when built w/ libaqua I get an ~71kb DLL
They're not equivalent, and the 71kb DLL cannot be used by itself. Cargo seems to be stripping out
stdlib dependencies that would be filled when linked w/ libaqua, which is not what I want.
(doc) update readme to reflect reality
(fix) misc warnings in aqua-thumbfix
rename processing Result & Error types
this utility creates video thumbnails for any file tagged with `THUMB`.
link second association of entries_tags
separate detection of `video/webm` and `video/x-matroska`
moving file type detection around
- Created a `util::processing` module which includes
- mime type detection for videos (ffprobe)
- mime type detection for images (hand rolled matchers)
- image thumbnailing (`image` crate)
- video thumbnailing (`video` crate)
Also I moved `hash_file` from the controllers prelude to `util::processing` in anticipation of a
later refactoring. Due to long compile times I'm thinking that "core" libraries (anything not reliant
on aqua-web/diesel) will be moved to a separate compilation unit.
(fix) add migration for is_orphan
This was a change made outside of diesel.
The aqua_csharp WPF GUI project has a utility (aqua_sister_agnes) which walks the entire content store
and then determines which database entries are not currently in the content store.
The diesel model was updated to reflect this change; but a corresponding migration was not added
mostly because I'm lazy.
check error on creating content buckets
(doc) misc notes about aqua watch
misc work on matching video types
add detection using ffprobe/ffmpeg
this calls out to system ffprobe and ffmpeg to handle mime type detection:
first we use ffprobe to see if the installation knows how to deal with the filetype we've passed it.
the resulting format is mapped to a mime type & extension, and then ffmpeg is used to create the thumbnail.
this should work pretty well, I just need to add mime mappings for the various ffmpeg format strings.