~hime/aqua

a55a3229 — Robbie Straw 7 years ago dev/ios master
(fix) I don't wanna talk about it.
755a35ca — Robbie Straw 7 years ago
add sample environment config file
cd573db2 — Robbie Straw 7 years ago
(doc) fix typo
73f76061 — Robbie Straw 7 years ago
note that set difference is order dependent
3923e57b — Robbie Straw 7 years ago
bare minimum sql string escaping
28064dcd — Robbie Straw 7 years ago
add readme for aqua-query
c2b6edf0 — Robbie Straw 7 years ago
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.
b0d45282 — Robbie Straw 7 years ago
(doc) update readme to reflect reality
4e7d49c6 — Robbie Straw 7 years ago
(fix) misc warnings in aqua-thumbfix
a516bc58 — Robbie Straw 7 years ago
rename processing Result & Error types
c219e4d2 — Robbie Straw 7 years ago
this utility creates video thumbnails for any file tagged with `THUMB`.
bcaf50be — Robbie Straw 7 years ago
link second association of entries_tags
c41bae7d — Robbie Straw 7 years ago
unnecessary type
f33d9229 — Robbie Straw 7 years ago
separate detection of `video/webm` and `video/x-matroska`
e316d7aa — Robbie Straw 7 years ago
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.
d4265813 — Robbie Straw 7 years ago
(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.
59f19c9f — Robbie Straw 7 years ago
check error on creating content buckets
cddeb376 — Robbie Straw 7 years ago
(doc) misc notes about aqua watch
365bcd74 — Robbie Straw 7 years ago
misc work on matching video types
b611d900 — Robbie Straw 7 years ago
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.
Next