Commit Graph
5496 Commits
Author SHA1 Message Date
Brandon Thomas 62d4e260a0 new video inputs to vst 2024-07-09 17:04:18 -04:00
Brandon Thomas ea1435ad6e doc queue stats 2024-07-09 16:32:51 -04:00
Brandon Thomas 34d19adc1e form validation 2024-07-09 15:22:47 -04:00
Brandon Thomas 7e630bf588 validate frame skip in enqueue vst 2024-07-08 23:34:59 -04:00
Brandon Thomas c1544535df consolidate pathinfo type 2024-07-07 23:54:21 -04:00
Brandon Thomas e6a18f7974 new endpoint to modify media file animation type 2024-07-07 23:37:21 -04:00
Brandon Thomas 783d73a48b better organize media file queries 2024-07-07 23:13:43 -04:00
Brandon Thomas 3f51515b17 new endpoint to modify engine category 2024-07-07 22:51:22 -04:00
Brandon Thomas c44efc2a18 update elasticsearch cli search to match update job 2024-07-07 20:07:48 -04:00
Brandon Thomas 7fcaf61170 es-update-job: update media files relevant to the engine 2024-07-07 20:06:47 -04:00
Brandon Thomas f31a1bb12e fix discord username validation 2024-07-07 19:30:47 -04:00
Brandon Thomas 113ed359fd start using Json() for better typing, correctness, testability 2024-07-07 19:23:57 -04:00
Brandon Thomas 17a4cf774d remove lazy_static from storyteller-web 2024-07-07 18:38:42 -04:00
Brandon Thomas 7bfd38a382 merge users component with storyteller-web
This will make adding SSO functions easier without all of the package
indirections.
2024-07-07 18:25:55 -04:00
Brandon Thomas 970e802f14 get rid of top level model module 2024-07-07 17:31:23 -04:00
Brandon Thomas ce186179ce move api docs into module 2024-07-07 17:23:19 -04:00
Brandon Thomas 45792890b7 report new prompt fields in API 2024-07-07 11:13:03 -04:00
Brandon Thomas 776c086470 save frame skip to prompt record 2024-07-07 11:07:23 -04:00
Brandon Thomas b666858b21 save travel prompt 2024-07-06 23:50:24 -04:00
Brandon Thomas 4ca8932591 inference job: add prompt travel and skip frame 2024-07-06 18:37:50 -04:00
Brandon Thomas 004e8c27d4 read frame skip and travel prompt in enqueue VST endpoint 2024-07-06 17:28:20 -04:00
Brandon Thomas 70c2c995ee improve comfy estimates code 2024-07-06 08:43:25 -04:00
Brandon Thomas 54b7e182b0 added tests for job progress 2024-07-05 22:15:26 -04:00
Brandon Thomas 50807429ad bad comparison 2024-07-05 22:04:04 -04:00
Brandon Thomas 1cd3175e13 move memory caching module 2024-07-05 22:02:15 -04:00
Brandon Thomas bbaed857d0 move server_state into module 2024-07-05 20:56:00 -04:00
Brandon Thomas 37ccf0f60d reduce unused code and module subscriptions 2024-07-05 20:51:01 -04:00
Brandon Thomas c95ad4dd55 refactor away more useless modules 2024-07-05 20:45:07 -04:00
Brandon Thomas 7609c040cc move module routes 2024-07-05 20:40:54 -04:00
Brandon Thomas 076a865747 move validations module 2024-07-05 20:38:20 -04:00
Brandon Thomas 972e8199e7 pull routes out of users component, remove unused module 2024-07-05 20:35:19 -04:00
Brandon Thomas 175035000b better doc 2024-07-05 16:04:02 -04:00
Brandon Thomas 807c8fd4f8 add progress estimation to job status endpoints (this is incomplete) (#353)
This adds a progress indicator to the three job status endpoints. 

There's a function to calculate progress, which is mostly left as a stub
for now.

In the future we may even want to do dynamically updating averages.
2024-07-05 15:23:00 -04:00
Brandon Thomas e1370a7b6d add new engine categories 2024-07-04 14:06:35 -04:00
Brandon Thomas 716aca1e3d session media file search 2024-07-02 23:54:29 -04:00
dependabot[bot] c1996011b0 Bump quick-xml from 0.30.0 to 0.35.0 (#352)
Bumps [quick-xml](https://github.com/tafia/quick-xml) from 0.30.0 to
0.35.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tafia/quick-xml/releases">quick-xml's
releases</a>.</em></p>
<blockquote>
<h2>v0.35.0 - a couple of bugfixes</h2>
<h2>What's Changed</h2>
<h3>New Features</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/772">#772</a>:
Add <code>reader::Config::allow_unmatched_ends</code> to permit dangling
end tags.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/773">#773</a>:
Fixed reporting incorrect end position in
<code>Reader::read_to_end</code> family of methods and trimming of the
trailing spaces in <code>Reader::read_text</code> when
<code>trim_text_start</code> is set and the last event is not a
<code>Text</code> event.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
Character references now allow any number of leading zeroes as it
should. As a result, the following variants of
<code>quick_xml::escape::EscapeError</code> are removed:
<ul>
<li><code>TooLongDecimal</code></li>
<li><code>TooLongHexadecimal</code></li>
</ul>
</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
Fixed <code>Attribute::unescape_value</code> which does not unescape
predefined values since 0.32.0.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/774">#774</a>:
Fixed regression since 0.33.0: <code>Text</code> event may be skipped in
<code>read_event_into()</code> and <code>read_event_into_async()</code>
in some circumstances.</li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
<code>EscapeError::UnrecognizedSymbol</code> renamed to
<code>EscapeError::UnrecognizedEntity</code>.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
Implemented <code>PartialEq</code> for <code>EscapeError</code>.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
Replace the following variants of <code>EscapeError</code> by
<code>InvalidCharRef</code> variant with a new
<code>ParseCharRefError</code> inside:
<ul>
<li><code>EntityWithNull</code></li>
<li><code>InvalidDecimal</code></li>
<li><code>InvalidHexadecimal</code></li>
<li><code>InvalidCodepoint</code></li>
</ul>
</li>
</ul>
<p><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/771">tafia/quick-xml#771</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/772">#772</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/772">tafia/quick-xml#772</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/773">#773</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/773">tafia/quick-xml#773</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/774">#774</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/issues/774">tafia/quick-xml#774</a></p>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/torokati44"><code>@​torokati44</code></a> made
their first contribution in <a
href="https://redirect.github.com/tafia/quick-xml/pull/772">tafia/quick-xml#772</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/tafia/quick-xml/compare/v0.34.0...v0.35.0">https://github.com/tafia/quick-xml/compare/v0.34.0...v0.35.0</a></p>
<h2>v0.34.0 - allow to read 4GB+ files on 32-bit targets</h2>
<h2>What's Changed</h2>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/751">#751</a>:
Fix internal overflow when read 4GB+ files on 32-bit targets using
<code>Reader&lt;impl BufRead&gt;</code> readers.</li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/760">#760</a>:
<code>Attribute::decode_and_unescape_value</code> and
<code>Attribute::decode_and_unescape_value_with</code> now accepts
<code>Decoder</code> instead of <code>Reader</code>. Use
<code>Reader::decoder()</code> to get it.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/760">#760</a>:
<code>Writer::write_event</code> now consumes event. Use
<code>Event::borrow()</code> if you want to keep ownership.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/751">#751</a>:
Type of <code>Reader::error_position()</code> and
<code>Reader::buffer_position()</code> changed from <code>usize</code>
to <code>u64</code>.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/751">#751</a>:
Type alias <code>Span</code> changed from
<code>Range&lt;usize&gt;</code> to <code>Range&lt;u64&gt;</code>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tafia/quick-xml/blob/master/Changelog.md">quick-xml's
changelog</a>.</em></p>
<blockquote>
<h2>0.35.0 -- 2024-06-29</h2>
<h3>New Features</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/772">#772</a>:
Add <code>reader::Config::allow_unmatched_ends</code> to permit dangling
end tags</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/773">#773</a>:
Fixed reporting incorrect end position in
<code>Reader::read_to_end</code> family
of methods and trimming of the trailing spaces in
<code>Reader::read_text</code> when
<code>trim_text_start</code> is set and the last event is not a
<code>Text</code> event.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
Character references now allow any number of leading zeroes as it
should.
As a result, the following variants of
<code>quick_xml::escape::EscapeError</code> are removed:
<ul>
<li><code>TooLongDecimal</code></li>
<li><code>TooLongHexadecimal</code></li>
</ul>
</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
Fixed <code>Attribute::unescape_value</code> which does not unescape
predefined values since 0.32.0.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/774">#774</a>:
Fixed regression since 0.33.0: <code>Text</code> event may be skipped in
<code>read_event_into()</code>
and <code>read_event_into_async()</code> in some circumstances.</li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
<code>EscapeError::UnrecognizedSymbol</code> renamed to
<code>EscapeError::UnrecognizedEntity</code>.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
Implemented <code>PartialEq</code> for <code>EscapeError</code>.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
Replace the following variants of <code>EscapeError</code> by
<code>InvalidCharRef</code> variant
with a new <code>ParseCharRefError</code> inside:
<ul>
<li><code>EntityWithNull</code></li>
<li><code>InvalidDecimal</code></li>
<li><code>InvalidHexadecimal</code></li>
<li><code>InvalidCodepoint</code></li>
</ul>
</li>
</ul>
<p><a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/771">tafia/quick-xml#771</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/772">#772</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/772">tafia/quick-xml#772</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/773">#773</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/773">tafia/quick-xml#773</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/774">#774</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/issues/774">tafia/quick-xml#774</a></p>
<h2>0.34.0 -- 2024-06-25</h2>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/751">#751</a>:
Fix internal overflow when read 4GB+ files on 32-bit targets using
<code>Reader&lt;impl BufRead&gt;</code> readers.</li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/760">#760</a>:
<code>Attribute::decode_and_unescape_value</code> and
<code>Attribute::decode_and_unescape_value_with</code> now
accepts <code>Decoder</code> instead of <code>Reader</code>. Use
<code>Reader::decoder()</code> to get it.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/760">#760</a>:
<code>Writer::write_event</code> now consumes event. Use
<code>Event::borrow()</code> if you want to keep ownership.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/751">#751</a>:
Type of <code>Reader::error_position()</code> and
<code>Reader::buffer_position()</code> changed from <code>usize</code>
to <code>u64</code>.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/751">#751</a>:
Type alias <code>Span</code> changed from
<code>Range&lt;usize&gt;</code> to <code>Range&lt;u64&gt;</code>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tafia/quick-xml/commit/22b3e458d193e6937882ba6b643ec8c31a671de5"><code>22b3e45</code></a>
Release 0.35.0</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/ae9fca6c7c71f1ce431a01759b8fc84a8ccc4c8c"><code>ae9fca6</code></a>
Add link to issue that when resolved may allow us to not exclude tests
&amp; exam...</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/0534c8736a14d5a2c466ed5b35edaa8cefbc1374"><code>0534c87</code></a>
Fix missing text events in some circumstances</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/022441fd8d68d5ef5f63a731d49c33b4833d51b4"><code>022441f</code></a>
Add regression tests for <a
href="https://redirect.github.com/tafia/quick-xml/issues/774">#774</a></li>
<li><a
href="https://github.com/tafia/quick-xml/commit/9a72c7bb38f26e9913912861829ae2a6cdbc41d1"><code>9a72c7b</code></a>
Merge pull request <a
href="https://redirect.github.com/tafia/quick-xml/issues/771">#771</a>
from Mingun/escape-fixes</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/0315ed0a479d3c5b7a1ce8f1bbcde312221e2a2d"><code>0315ed0</code></a>
Fix Attribute::unescape_value does not unescape predefined entities
since <a
href="https://redirect.github.com/tafia/quick-xml/issues/739">#739</a></li>
<li><a
href="https://github.com/tafia/quick-xml/commit/aa1d391e206fa9630e22241082b89a4e693f1ccd"><code>aa1d391</code></a>
Reuse existing method with does the same thing when
<code>encoding</code> feature is dis...</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/80bf12d79e0ef85e19276e033b005578a4d893b0"><code>80bf12d</code></a>
Add helper to decoder Cow data, which retains original lifetime</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/42d71232f5456ddb160216ece8d9e15e5245adbf"><code>42d7123</code></a>
Do not allow (positive) sign in character references</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/04bddd65f9de3e9f25779751fcdcb1b4512d3e25"><code>04bddd6</code></a>
Use standard methods to parse character reference to a number</li>
<li>Additional commits viewable in <a
href="https://github.com/tafia/quick-xml/compare/v0.30.0...v0.35.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=quick-xml&package-manager=cargo&previous-version=0.30.0&new-version=0.35.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 23:49:07 -04:00
dependabot[bot] 878c93f34c Bump tokio from 1.37.0 to 1.38.0 (#347)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.37.0 to 1.38.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tokio/releases">tokio's
releases</a>.</em></p>
<blockquote>
<h2>Tokio v1.38.0</h2>
<p>This release marks the beginning of stabilization for runtime
metrics. It
stabilizes <code>RuntimeMetrics::worker_count</code>. Future releases
will continue to
stabilize more metrics.</p>
<h3>Added</h3>
<ul>
<li>fs: add <code>File::create_new</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6573">#6573</a>)</li>
<li>io: add <code>copy_bidirectional_with_sizes</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6500">#6500</a>)</li>
<li>io: implement <code>AsyncBufRead</code> for <code>Join</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6449">#6449</a>)</li>
<li>net: add Apple visionOS support (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6465">#6465</a>)</li>
<li>net: implement <code>Clone</code> for <code>NamedPipeInfo</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6586">#6586</a>)</li>
<li>net: support QNX OS (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6421">#6421</a>)</li>
<li>sync: add <code>Notify::notify_last</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6520">#6520</a>)</li>
<li>sync: add <code>mpsc::Receiver::{capacity,max_capacity}</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6511">#6511</a>)</li>
<li>sync: add <code>split</code> method to the semaphore permit (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6472">#6472</a>,
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6478">#6478</a>)</li>
<li>task: add
<code>tokio::task::join_set::Builder::spawn_blocking</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6578">#6578</a>)</li>
<li>wasm: support rt-multi-thread with wasm32-wasi-preview1-threads (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6510">#6510</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>macros: make <code>#[tokio::test]</code> append <code>#[test]</code>
at the end of the attribute list (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6497">#6497</a>)</li>
<li>metrics: fix <code>blocking_threads</code> count (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6551">#6551</a>)</li>
<li>metrics: stabilize <code>RuntimeMetrics::worker_count</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6556">#6556</a>)</li>
<li>runtime: move task out of the <code>lifo_slot</code> in
<code>block_in_place</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6596">#6596</a>)</li>
<li>runtime: panic if <code>global_queue_interval</code> is zero (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6445">#6445</a>)</li>
<li>sync: always drop message in destructor for oneshot receiver (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6558">#6558</a>)</li>
<li>sync: instrument <code>Semaphore</code> for task dumps (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6499">#6499</a>)</li>
<li>sync: use FIFO ordering when waking batches of wakers (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6521">#6521</a>)</li>
<li>task: make <code>LocalKey::get</code> work with Clone types (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6433">#6433</a>)</li>
<li>tests: update nix and mio-aio dev-dependencies (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6552">#6552</a>)</li>
<li>time: clean up implementation (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6517">#6517</a>)</li>
<li>time: lazily init timers on first poll (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6512">#6512</a>)</li>
<li>time: remove the <code>true_when</code> field in
<code>TimerShared</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6563">#6563</a>)</li>
<li>time: use sharding for timer implementation (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6534">#6534</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>taskdump: allow building taskdump docs on non-unix machines (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6564">#6564</a>)</li>
<li>time: check for overflow in <code>Interval::poll_tick</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6487">#6487</a>)</li>
<li>sync: fix incorrect <code>is_empty</code> on mpsc block boundaries
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6603">#6603</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>fs: rewrite file system docs (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6467">#6467</a>)</li>
<li>io: fix <code>stdin</code> documentation (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6581">#6581</a>)</li>
<li>io: fix obsolete reference in <code>ReadHalf::unsplit()</code>
documentation (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6498">#6498</a>)</li>
<li>macros: render more comprehensible documentation for
<code>select!</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6468">#6468</a>)</li>
<li>net: add missing types to module docs (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6482">#6482</a>)</li>
<li>net: fix misleading <code>NamedPipeServer</code> example (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6590">#6590</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/tokio/commit/14c17fc09656a30230177b600bacceb9db33e942"><code>14c17fc</code></a>
chore: prepare Tokio v1.38.0 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6601">#6601</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/65cbf730de48ef9d3c84959d26ab717a85a5de62"><code>65cbf73</code></a>
chore: prepare tokio-macros v2.3.0 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6600">#6600</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/dbf93c71844a01574a10f9dee0d4d9655a569f0a"><code>dbf93c7</code></a>
sync: fix incorrect is_empty on mpsc block boundaries (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6603">#6603</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/873cb8ae2fc291eaffbd71e3c83d17b2f0ed7abf"><code>873cb8a</code></a>
runtime: move task out of the <code>lifo_slot</code> in
<code>block_in_place</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6596">#6596</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/97bb47b480c66083397c21d54e7ae33cab6c1b20"><code>97bb47b</code></a>
task: fix a typo in doc of <code>LocalSet::run_until</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6599">#6599</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/86658bd87dc470f8e36eb6b893cc403820cfb7ee"><code>86658bd</code></a>
metrics: stabilize <code>RuntimeMetrics::worker_count</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6556">#6556</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/9e00b266e08d263c497dc9de57d9acbc049ae69b"><code>9e00b26</code></a>
sync: add <code>Notify::notify_last</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6520">#6520</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/6c42d286b343f498ce29de2aab9358a0aedb081c"><code>6c42d28</code></a>
net: fix misleading <code>NamedPipeServer</code> example (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6590">#6590</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/3a6fdc05681841c30fe4e27b63924c7908ea4634"><code>3a6fdc0</code></a>
license: fix formatting and remove year in licenses (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6451">#6451</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/2890d0c3db4f595330d8d223bfbfeb81e205b048"><code>2890d0c</code></a>
metrics: fix blocking_threads count (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6551">#6551</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.37.0&new-version=1.38.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 23:48:20 -04:00
dependabot[bot] f642a5ac39 Bump diesel from 2.1.4 to 2.2.1 (#346)
Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.1.4 to 2.2.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/diesel-rs/diesel/blob/v2.2.1/CHANGELOG.md">diesel's
changelog</a>.</em></p>
<blockquote>
<h2>[2.2.1] 2024-06-12</h2>
<h2>Fixed</h2>
<ul>
<li>Fixed using <code>#[dsl::auto_type]</code> with functions that
accept reference arguments</li>
<li>Fixed using <code>#[derive(Queryable)]</code> with structs that use
a type named <code>Row</code> as field type</li>
<li>Fixed a regression that prevented using <code>mysqlclient-sys</code>
0.2.x with diesel 2.2</li>
<li>Fixed connecting to postgres database using the scram-sha-256
authentication method on windows while using the bundled postgres
builds</li>
<li>Improved the error messages in diesel-cli for cases where a
file/folder was not found</li>
<li>Fixed several version detection bugs in mysqlclient-sys to use
pre-generated bindings in more situations</li>
</ul>
<h2>[2.2.0] 2024-05-31</h2>
<h3>Added</h3>
<ul>
<li>Support <code>[print_schema] except_custom_type_definitions =
[&quot;Vector&quot;]</code>. If a <code>custom type</code> matches one
element on the list it's skipped.</li>
<li>Added automatic usage of all sqlite <code>rowid</code> aliases when
no explicit primary key is defined for <code>print-schema</code></li>
<li>Added a <code>#[dsl::auto_type]</code> attribute macro, allowing to
infer type of query fragment functions</li>
<li>Added the same type inference on <code>Selectable</code> derives,
which allows skipping specifying <code>select_expression_type</code>
most of the time, in turn enabling most queries to be written using just
a <code>Selectable</code> derive.</li>
<li>Added an optional <code>#[diesel(skip_insertion)]</code> field
attribute to the <code>Insertable</code> derive macro, allowing fields
which map to generated columns to be skipped during insertion.</li>
<li>Support for connection instrumentation. This allows to inspect any
query run by your application</li>
<li>Logging in diesel-cli</li>
<li>Support for libsqlite3-sys 0.28</li>
<li>Add <code>sqlite-integer-primary-key-is-bigint</code> configuration
option, usable with SQLite 3.37 or above, allowing to use
<code>BigInt</code> for <code>INTEGER PRIMARY KEY</code> columns in
SQLite for tables without the <code>WITHOUT ROWID</code> attribute (<a
href="https://www.sqlite.org/lang_createtable.html#rowid">SQLite
doc</a>).</li>
<li>Support for multiple <code>print_schema</code> entry in
<code>diesel.toml</code> (e.g. <code>[print_schema.user1]</code>), which
allows generating multiple schema.rs files</li>
<li>Add support for <code>COPY TO</code> and <code>COPY FROM</code>
statements</li>
<li>Add support for mapping <code>chrono::Duration</code> to
postgresql's <code>INTERVAL</code> sql type</li>
<li>Added <code>serialize_database_to_buffer</code> and
<code>deserialize_readonly_database_from_buffer</code> methods in
<code>SqliteConnection</code> to support serialization/deserialization
of SQLite databases to and from byte buffers.</li>
<li>Added <code>SerializedDatabase</code> wrapper type for a serialized
database that is dynamically allocated by calling
<code>serialize_database_to_buffer</code>. This RAII wrapper deallocates
the memory when it goes out of scope with
<code>sqlite3_free</code>.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The minimal officially supported rustc version is now 1.78.0</li>
<li>Deprecated <code>sql_function!</code> in favour of
<code>define_sql_function!</code> which provides compatibility with
<code>#[dsl::auto_type]</code></li>
<li>Deserialization error messages now contain information about the
field that failed to deserialize</li>
</ul>
<h2>[2.1.6] 2024-04-19</h2>
<ul>
<li>Fix using <code>BoxableExpression</code> with having clauses</li>
<li>Fix using numeric expressions with aliased fields</li>
<li>Minor documentation fixes</li>
</ul>
<h2>[2.1.5] 2024-03-15</h2>
<ul>
<li>Fix <code>impl SqlOrd</code> postgres &gt; postgres_backend feature
flag.</li>
<li>Allow <code>Queryable</code> to be used with multiple table
names.</li>
<li>Fix an inconsistent unit test</li>
<li>Fix a clippy lint</li>
<li>Fix ./bin/test feature flag calls.</li>
<li>Update <code>libsqlite3-sys</code> to allow version 0.28 as
well</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/diesel-rs/diesel/commit/08be4f21e500fce5fff0b4b19ebab208ff26de9d"><code>08be4f2</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4071">#4071</a>
from weiznich/prepare/2.2.1</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/8c47c6f867f524a1878070ce8f5faa954501eed7"><code>8c47c6f</code></a>
Bump mysqlclient-sys to 0.4</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/96a822a8950c2dbf3b90c2c663eb9351bece3228"><code>96a822a</code></a>
Prepare a 2.2.1 release</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/1ae7a0aed78522bb45aa886cf7bd65737bc95545"><code>1ae7a0a</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4057">#4057</a>
from weiznich/fix/4055</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/4d5fb4fd96614d19344f7fabad14e140565e2418"><code>4d5fb4f</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4054">#4054</a>
from weiznich/fix/auto_type_lifetimes</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/1062c2732fad9c88f3809089866d31addac8139f"><code>1062c27</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4063">#4063</a>
from sugar700/allow-type-name-conflicting-with-trait...</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/5c870f7c60229e700cf0a3339acb58f0d4dd21c5"><code>5c870f7</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4067">#4067</a>
from weiznich/fix/cli_diff_schema_default_schema</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/48ccc7804c7e0399bfcb6df97ee71e35820f20b5"><code>48ccc78</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4064">#4064</a>
from weiznich/fix/mysqlclient_regression_with_old_ve...</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/f6da5f5311d1afe7fdca6d2b5730332eda024c48"><code>f6da5f5</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4065">#4065</a>
from weiznich/fix/scram</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/197f06d8d1c0f66774b1ab24c5db93d28962e07a"><code>197f06d</code></a>
Fix the includes in all <code>Cargo.toml</code> files</li>
<li>Additional commits viewable in <a
href="https://github.com/diesel-rs/diesel/compare/v2.1.4...v2.2.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=diesel&package-manager=cargo&previous-version=2.1.4&new-version=2.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 23:48:07 -04:00
Brandon Thomas 26c7ac8037 search featured media files handler 2024-07-01 21:51:11 -04:00
Brandon Thomas 26153f46b1 backfill media files in es for "is_featured" 2024-07-01 21:51:11 -04:00
Kasisnu ed8d78b127 audio extraction reencodes audio incorrectly (#351) 2024-07-01 17:04:54 +05:30
Brandon Thomas 6f4e780c7d search endpoint + docs 2024-06-30 22:23:07 -04:00
Brandon Thomas 47a3c7935a functional search prototype 2024-06-30 21:19:20 -04:00
Brandon Thomas d8ea5054de tests 2024-06-30 20:45:10 -04:00
Brandon Thomas 10b8e29b56 wip es search predicates 2024-06-30 20:14:04 -04:00
Brandon Thomas 38619270ef cleanup imports 2024-06-30 15:52:22 -04:00
Brandon Thomas e7134fa84f fix build errors 2024-06-30 15:43:25 -04:00
Brandon Thomas 2bb2cdf70a need elasticsearch queries for build 2024-06-30 15:32:29 -04:00
Brandon Thomas 1feb21625d enroll new users in studio for a bit 2024-06-30 14:52:36 -04:00
Brandon Thomas 1a0a71dca4 es wip 2024-06-30 14:43:59 -04:00