Compare commits

...
Author SHA1 Message Date
Brandon Thomas 5a938ceed1 WIP / Broken early sleep exit during local dev debug cycle 2025-02-11 18:01:39 -05:00
Brandon Thomas 62d708e357 pass tensor dimensions downstream 2025-02-10 23:44:37 -05:00
Brandon Thomas 72083eb030 enforce file types, debugging 2025-02-10 23:14:53 -05:00
Brandon Thomas 62afa22d8c skip image resizes 2025-02-10 22:43:07 -05:00
Brandon Thomas 418b116469 ctrl-c handler, pathing 2025-02-10 21:31:42 -05:00
Brandon Thomas 42c7c70387 resample fps, duration wip 2025-02-10 20:36:07 -05:00
Kasisnu 39c52d5377 animatex: resize args fix, add sqlx migration 2025-02-10 18:12:06 +05:30
Brandon Thomas cea3668cfc dynamic resize behavior 2025-02-06 01:57:57 -05:00
Brandon Thomas 1caf1f38b8 working end-to-end, need to clean up resampling / dimensions / fps 2025-02-06 00:48:52 -05:00
Brandon Thomas f0b2a07613 inference wip 2025-02-05 23:52:01 -05:00
Brandon Thomas 3cd04414f8 auto-kill jobs in dev 2025-02-05 19:37:02 -05:00
Brandon Thomas f3776e953c run pose frame generation 2025-02-05 18:02:00 -05:00
Brandon Thomas d923699009 run stable animator or animate-x 2025-02-05 17:20:17 -05:00
Brandon Thomas f842d795d6 wip 2025-02-05 16:08:55 -05:00
Brandon Thomas 7a1ce7c9fd animate-x http args, refactor job 2025-02-05 14:35:42 -05:00
Brandon Thomas d0a3c02c00 resample input video 2025-02-02 02:50:35 -05:00
Brandon Thomas 32bc400686 local configurability 2025-02-02 00:58:12 -05:00
Brandon Thomas e3973e4ce1 hack fixes for thumbnails and cdn in dev 2025-02-01 23:36:05 -05:00
Brandon Thomas 1d7bc11be3 hack in support for "local CDN" / buckets 2025-01-31 18:51:27 -05:00
Brandon Thomas 5321eb145d fix api bug 2025-01-31 17:53:46 -05:00
Brandon Thomas 48043fb602 resize image 2025-01-31 13:53:50 -05:00
Brandon Thomas 8af2035ee6 fix cors 2025-01-26 02:35:10 -05:00
Kasisnu 1e2f73e44a stable-animator: minor tweaks 2025-01-25 01:19:35 +05:30
Brandon Thomas b49a7225e4 fix build errors 2025-01-24 04:21:39 -05:00
Brandon Thomas de01700359 fix build errors 2025-01-24 04:12:23 -05:00
Brandon Thomas f7990e2b61 fix build errors, codegen db 2025-01-24 03:40:33 -05:00
Brandon Thomas 081307d735 debug sleep, width height 2025-01-24 01:13:53 -05:00
Brandon Thomas 397241fb84 more debugging, more job params 2025-01-24 00:31:38 -05:00
Brandon Thomas dbc0f5f62e fix pathing, deps, etc. (local) 2025-01-23 23:28:58 -05:00
Brandon Thomas b521fa7676 Enqueue jobs properly in dev, dispatch to StableAnimator 2025-01-23 22:42:42 -05:00
Brandon Thomas a67f60d09e debug r2 client in dev, fix startup 2025-01-23 21:02:36 -05:00
Brandon Thomas 2cdf9ce41f build fix 2025-01-23 14:48:51 -05:00
Brandon Thomas 38fb1a4a32 job wip 2025-01-21 23:39:51 -05:00
Brandon Thomas 984fd1a21f wip (need to work on downstream pathing) 2025-01-17 18:46:02 -05:00
Brandon Thomas 8b92dc4099 stub for studio gen 2 inference job 2025-01-16 23:55:13 -05:00
Brandon Thomas 86677b8f97 fixup api docs 2025-01-16 21:12:26 -05:00
Brandon Thomas ed7a9905ee add studio gen2 enqueue endpoint 2025-01-16 20:45:08 -05:00
Kasisnu 1c25c4085b temp switch ST cdn to FY 2024-11-22 23:31:04 +05:30
Kasisnu 91e739d7c4 update FY bucket paths in places I missed the first time 2024-11-22 13:56:41 +05:30
Kasisnu 40a82142bf update FY bucket paths 2024-11-22 13:40:21 +05:30
Kasisnu f6454035d2 enable cog-video for staff only 2024-11-14 19:42:53 +05:30
Kasisnu e93a8664c1 add f5 and seed vc to list jobs handler length exemptions 2024-10-23 19:13:38 +05:30
Kasisnu 0ef4333013 seed-vc: fix source/reference audio mixup 2024-10-23 18:55:07 +05:30
Kasisnu cd11d0aa4e seed-vc: public model type enum extension 2024-10-23 17:48:25 +05:30
Kasisnu e8644d3b82 seed-vc: minor tweaks in inference 2024-10-23 17:05:54 +05:30
Kasisnu 806f70d7ba fix lots of unused imports 2024-10-23 13:41:03 +05:30
Kasisnu b6eb0e9394 super basic seed_vc inference integration 2024-10-23 13:41:03 +05:30
Kasisnu 02050ef86c build a musl variant of rust-gpu 2024-10-21 21:53:20 +05:30
Kasisnu 9b698d155e previews: some tweaks 2024-10-19 14:59:50 +05:30
Kasisnu ed359164ff sigh, add the f5-tts inference_category to inference job loop 2024-10-18 21:17:05 +05:30
Kasisnu 2da81d47a7 sigh, add an f5-tts inference_category 2024-10-18 21:06:40 +05:30
Kasisnu cb1253f509 some tweaks to f5 inference category 2024-10-18 18:16:11 +05:30
Kasisnu f21da59530 some tweaks to f5 inference 2024-10-18 17:18:03 +05:30
Kasisnu 4ebb7fe282 some tweaks to f5 inference 2024-10-18 16:28:05 +05:30
Kasisnu 83764e2381 disable fast previews while focussing on f5 2024-10-18 13:52:37 +05:30
Kasisnu 475ed299db super basic f5 integration 2024-10-18 13:52:37 +05:30
Kasisnu 53786bf9b9 rust: bump up version 2024-10-17 20:47:07 +05:30
Kasisnu 3a7fcc1595 uploads: reduce max concurrent uploads 2024-10-17 18:40:17 +05:30
Kasisnu 770293af49 chore: update hakari deps 2024-10-17 16:37:26 +05:30
Kasisnu bb19960c02 studio previews: faster concurrent uploads 2024-10-17 16:37:26 +05:30
Brandon Thomas f3cde45f33 storyteller render cors 2024-10-06 12:00:07 -04:00
Brandon Thomas 6adb104e58 cors for board.storyteller.ai 2024-10-04 01:02:45 -04:00
Brandon Thomas 3a1220853d sort tags 2024-10-03 10:19:51 -04:00
Brandon Thomas b1732a0d11 fix builds 2024-10-03 09:08:56 -04:00
Brandon Thomas c767a17da7 fix api 2024-10-03 00:45:07 -04:00
Brandon Thomas a2a7a10d0c clean up queries 2024-10-02 23:59:22 -04:00
Brandon Thomas d6ac0c9d0b fix deletion of tags 2024-10-02 23:54:45 -04:00
Brandon Thomas ea90bb6758 fixup queries 2024-10-02 21:44:24 -04:00
Brandon Thomas 252576b88a document endpoints 2024-10-02 17:25:05 -04:00
Brandon Thomas f7ed250c7c list tags endpoint, mount routes 2024-10-02 17:20:51 -04:00
Brandon Thomas 0b5530c8a3 tag editing endpoint 2024-10-02 13:03:26 -04:00
Brandon Thomas 606a439352 all queries for tags 2024-10-02 02:32:20 -04:00
Brandon Thomas aec5675784 almost all of the queries needed for tags 2024-10-02 01:46:42 -04:00
Brandon Thomas db05b61c51 search algorithm evaluation 2024-10-01 20:27:33 -04:00
Brandon Thomas 7141aa028f assert on popular voices 2024-10-01 20:19:58 -04:00
Brandon Thomas 90bfb2c2bf query testing harness 2024-10-01 20:03:42 -04:00
Brandon Thomas 7f43e98f07 refactor es search 2024-10-01 10:53:47 -04:00
Brandon Thomas 9ebd040d59 check up on models not annotated with language 2024-09-30 23:40:31 -04:00
Kasisnu f890f8781c style transfer: disable cancellation watcher 2024-09-30 20:11:48 +05:30
Kasisnu 3e35db2f8e style transfer: disable keepalive 2024-09-30 19:27:47 +05:30
Brandon Thomas 4b53df69a0 sort and threshold search 2024-09-30 03:35:35 -04:00
Brandon Thomas bca8925f31 codegen 2024-09-29 19:21:35 -04:00
Brandon Thomas d0a51f0344 elasticsearch weights search reads from appropriate field 2024-09-29 19:18:02 -04:00
Brandon Thomas 4397e29886 report language in model weights (get, list endpoints) 2024-09-29 19:02:12 -04:00
Brandon Thomas ac4a7f4612 update model language 2024-09-29 01:51:12 -04:00
Brandon Thomas 87a768890a switch update weights handler to mysql connection 2024-09-29 01:24:56 -04:00
Brandon Thomas 9bfd0330a9 migrations to add language tags to models 2024-09-29 00:54:12 -04:00
Brandon Thomas a8766e9620 signups by source 2024-09-29 00:38:43 -04:00
Brandon Thomas 3b3b218e0c move to databox dir 2024-09-28 23:29:59 -04:00
Brandon Thomas 1f595f3d64 new metric to track 2024-09-28 23:29:32 -04:00
Brandon Thomas 7297f77334 fail faster 2024-09-28 00:45:56 -04:00
Brandon Thomas 7186f37841 handle failures in thread (#374) 2024-09-28 00:42:06 -04:00
Brandon Thomas 767a2a38da replace mysql_pool with connection reuse in style transfer 2024-09-28 00:13:31 -04:00
Brandon Thomas d43bffc0a2 change half of mysql_pool refs to connections in style transfer job 2024-09-27 23:51:53 -04:00
Brandon Thomas ec0514187a oncall query, remove SD enqueue from API 2024-09-27 15:33:57 -04:00
Brandon Thomas a840e3c97e make sure dummy-service can continue serving during outages 2024-09-27 00:51:36 -04:00
dependabot[bot] be1ea1e4f0 Bump bcrypt from 0.15.0 to 0.15.1 (#363)
Bumps [bcrypt](https://github.com/Keats/rust-bcrypt) from 0.15.0 to
0.15.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/b05e4f6097fac16cbb2c7a04d80fd53d20d37257"><code>b05e4f6</code></a>
Ready for release</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/ca0cb647536f5274c9cdd8018f22922ec72556ff"><code>ca0cb64</code></a>
Raise the MSRV to 1.60.0</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/cc34991354e5df9cca673637ba64782da4363145"><code>cc34991</code></a>
Upgrade base64 to 0.22</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/87fc59e917bcb6cf3f3752fc7f2b4c659d415597"><code>87fc59e</code></a>
Replace unmaintained actions-rs/* actions in CI workflows (<a
href="https://redirect.github.com/Keats/rust-bcrypt/issues/81">#81</a>)</li>
<li>See full diff in <a
href="https://github.com/Keats/rust-bcrypt/compare/v0.15.0...v0.15.1">compare
view</a></li>
</ul>
</details>
<br />


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

You can trigger a rebase of this PR 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>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-27 00:26:47 -04:00
dependabot[bot] 2a3ec1e761 Bump diesel from 2.2.1 to 2.2.4 (#370)
Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.2.1 to 2.2.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/diesel-rs/diesel/blob/v2.2.4/CHANGELOG.md">diesel's
changelog</a>.</em></p>
<blockquote>
<h2>[2.2.4] 2024-09-3</h2>
<h3>Fixed</h3>
<ul>
<li>Fix an issue where empty queries could trigger undefined behaviour
in the sqlite backend</li>
</ul>
<h2>[2.2.3] 2024-08-23</h2>
<h3>Fixed</h3>
<ul>
<li>Support for libsqlite3-sys 0.30.0</li>
<li>Fixed a possible vulnerability in how Diesel handled protocol level
bind parameters.
See the <a
href="http://web.archive.org/web/20240812130923/https://media.defcon.org/DEF%20CON%2032/DEF%20CON%2032%20presentations/DEF%20CON%2032%20-%20Paul%20Gerste%20-%20SQL%20Injection%20Isn&#x27;t%20Dead%20Smuggling%20Queries%20at%20the%20Protocol%20Level.pdf%3E">SQL
Injection isn't Dead: Smuggling Queries at Protocol Level</a>
presentation from DEF CON for details</li>
<li>Fixed an issue with a possibly ambiguous trait resolution in
<code>#[derive(QueryableByName)]</code></li>
</ul>
<h2>[2.2.2] 2024-07-19</h2>
<h3>Fixed</h3>
<ul>
<li>Support for libsqlite3-sys 0.29.0</li>
<li>Fixed a potential panic in the sqlite cursor implementation</li>
<li>Fixed support for rust numeric operators with columns of the type
<code>Numeric</code></li>
<li>Removed the <code>SerializedDatabase::new</code> function due to
unsoundness</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/diesel-rs/diesel/commit/291e66df874e4069c998700ba1a378f0109c3746"><code>291e66d</code></a>
Prepare a 2.2.4 release</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/46ede3f0600c8ac829f69c864eaf5cbddf88359a"><code>46ede3f</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4224">#4224</a>
from weiznich/fix/4223</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/8fb58634b39d8d9a632337df57b3336c7a388c54"><code>8fb5863</code></a>
Also bump diesel-cli to 2.2.3 to fix the cargo dist build</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/4c0e1f765c1216d6f829940ecc857af74b18d841"><code>4c0e1f7</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4195">#4195</a>
from weiznich/prepare/2.2.3</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/fcd602f3f9f0d104cbf65a73f61ee20742d8324a"><code>fcd602f</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4130">#4130</a>
from Ten0/remove_unused_NoCombinationClause</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/5c52a823bba7cef828ff4460b4bc3a97b1de9751"><code>5c52a82</code></a>
Prepare a diesel 2.2.3 release</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/3b624edcac5bb2018155582420260e3d85be3674"><code>3b624ed</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4170">#4170</a>
from weiznich/prevent_protocol_level_size_overflows</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/1a61cd3921620bfe3c2e81c50f94d091360d8ce5"><code>1a61cd3</code></a>
Update cargo-dist to 0.21.1</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/48cc9e6950e032dd955634ba89e6c98ae38b7515"><code>48cc9e6</code></a>
use try_from in range</li>
<li><a
href="https://github.com/diesel-rs/diesel/commit/501e7e297a47a455c229e2967b8b49e135bfcdbd"><code>501e7e2</code></a>
Merge pull request <a
href="https://redirect.github.com/diesel-rs/diesel/issues/4166">#4166</a>
from guissalustiano/remove_cast_in_array</li>
<li>Additional commits viewable in <a
href="https://github.com/diesel-rs/diesel/compare/v2.2.1...v2.2.4">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.2.1&new-version=2.2.4)](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-09-27 00:26:28 -04:00
Brandon Thomas f4a3ccc0fb update deps 2024-09-27 00:15:51 -04:00
Brandon Thomas 8b9d3d2cc0 update s3 client 2024-09-26 23:57:25 -04:00
Brandon Thomas 9ef54a3d55 consolidate *all* pathing, remove "buckets" crate 2024-09-26 23:23:08 -04:00
Brandon Thomas aebe2f9892 consolidate pathing 2024-09-26 22:51:45 -04:00
Brandon Thomas 47a72bed0f more bucket consolidation 2024-09-26 22:19:13 -04:00
Brandon Thomas 7af123b2ad cleanup 2024-09-26 21:47:15 -04:00
Brandon Thomas 8c8ad1d2e5 more bucket pathing consolidation 2024-09-26 21:07:40 -04:00
Brandon Thomas cea2a3d0f1 start refactoring / consolidating bucket paths 2024-09-26 20:32:01 -04:00
Brandon Thomas 134402c536 begin building bucket path crate to consolidate bucket configs 2024-09-26 10:42:28 -04:00
Brandon Thomas 63298b5154 don't generate potentially offensive usernames 2024-09-26 09:43:25 -04:00
Brandon Thomas ad258b7ba6 POST not GET for rename user 2024-09-26 09:29:54 -04:00
Brandon Thomas 499c1b6c2e document edit username handler 2024-09-26 01:23:21 -04:00
Brandon Thomas 649558e91d codegen db 2024-09-26 00:08:28 -04:00
Brandon Thomas ca2dee55ab fixup 2024-09-26 00:06:04 -04:00
Brandon Thomas 1edb7d10fc forgot username validation 2024-09-25 21:10:12 -04:00
Brandon Thomas b6e94089d9 update username endpoint 2024-09-25 21:07:27 -04:00
Brandon Thomas 8091da6d3c refactor 2024-09-25 18:46:57 -04:00
Brandon Thomas 2986385bfb refactor 2024-09-25 18:35:59 -04:00
Brandon Thomas 2b40807dd2 fail open 2024-09-25 18:21:40 -04:00
Brandon Thomas d2f24e3f8c rename modules 2024-09-25 13:54:27 -04:00
Brandon Thomas 21162c3df5 update sso details if changed, refactor 2024-09-25 13:46:33 -04:00
Brandon Thomas 6bd31c7075 source 2024-09-25 13:12:10 -04:00
Brandon Thomas c0627eee28 rename column, more sso wip 2024-09-25 12:38:30 -04:00
Brandon Thomas 26eedbcfb3 more user sso work 2024-09-25 01:50:28 -04:00
Brandon Thomas 37d922510d cleanup, new user columns 2024-09-24 23:23:07 -04:00
Brandon Thomas b167280a64 notes on algorithm 2024-09-24 22:44:33 -04:00
Brandon Thomas e9103cafb8 refactor SSO handler into branches/modules 2024-09-24 22:10:47 -04:00
Brandon Thomas 61811e4ef2 transactor handle connection; session creation 2024-09-24 20:49:13 -04:00
Brandon Thomas 03679b15eb populate new fields 2024-09-24 20:19:14 -04:00
Brandon Thomas f4d620ac4f user table migrations 2024-09-24 20:06:25 -04:00
Brandon Thomas 7f2afe59c0 generic transactor 2024-09-24 19:43:52 -04:00
Brandon Thomas 966e311d24 sso wip refactor 2024-09-24 19:18:39 -04:00
Brandon Thomas 010d5f8790 sso wip 2024-09-24 19:18:39 -04:00
Brandon Thomas 6607460f39 table to store google sign in information 2024-09-24 19:18:39 -04:00
Kasisnu e4198e8ac6 studio previews: re-enable previews for studio endponit 2024-09-24 20:38:22 +05:30
Kasisnu acd71fa2cd studio previews: fix url join for media urls 2024-09-24 20:38:22 +05:30
Kasisnu bae0355a86 studio previews: slightly better logic to detect frame reuploads 2024-09-24 19:39:36 +05:30
Brandon Thomas 999051f83f verification options 2024-09-22 16:56:06 -04:00
Brandon Thomas a1a4e7e9df make jwt handling more errorful 2024-09-22 16:31:14 -04:00
Brandon Thomas d728b678c8 test data for jwk signing 2024-09-22 14:57:28 -04:00
Brandon Thomas a223d64db7 refresh and cache certs in account creation flow 2024-09-20 18:04:03 -04:00
Kasisnu f1482c0076 Zzzzzzzs 2024-09-20 13:30:44 +05:30
Brandon Thomas deb0ebc5e9 document endpoints 2024-09-20 03:36:31 -04:00
Brandon Thomas bf538b55d1 new create user account (WIP) 2024-09-20 03:32:00 -04:00
Brandon Thomas 47ffa5696a use any key in the key set 2024-09-20 01:55:29 -04:00
Brandon Thomas f6e4eec00d refactor package 2024-09-20 01:27:10 -04:00
Brandon Thomas 8b1f4b3005 update payload 2024-09-20 00:39:02 -04:00
Brandon Thomas 32c50cb3c6 Google Sign In support (WIP) 2024-09-19 23:38:04 -04:00
Brandon Thomas 774f7e7e3a report runtime in jobs 2024-09-19 15:48:45 -04:00
Brandon Thomas c4f51c9fae cover images for bookmarks (should be done now) 2024-09-19 14:57:44 -04:00
Kasisnu 6266985577 temporarily disable generating previews 2024-09-19 19:21:25 +05:30
Brandon Thomas ac899f2b56 module refactor 2024-09-19 01:50:34 -04:00
Brandon Thomas bc4cf3617c module refactor 2024-09-19 01:15:43 -04:00
Brandon Thomas 0ee2d9548a refactor modules 2024-09-19 01:10:03 -04:00
Brandon Thomas 67bf6e436e update api docs, alter media file cover images 2024-09-19 00:35:21 -04:00
Brandon Thomas c4e4d8e12b add media links like struct to weights cover images 2024-09-18 23:30:32 -04:00
Brandon Thomas 5c5fd10d60 bookmarks: query media file cover images, media links 2024-09-18 15:54:38 -04:00
Brandon Thomas d7155e55d7 cors for image board 2024-09-18 13:17:51 -04:00
Brandon Thomas c956ea1239 need to upgrade sqlx to enable slow connection logging 2024-09-17 13:43:33 -04:00
Brandon Thomas bc5cd46633 analysis on media files 2024-09-17 13:13:07 -04:00
Brandon Thomas f3be7bf0f4 more username formats 2024-09-16 20:37:50 -04:00
Brandon Thomas 3a3f1aef14 random username function (for later) 2024-09-16 20:27:11 -04:00
Brandon Thomas ec4fc294a9 Random username, needs work 2024-09-16 19:46:41 -04:00
Brandon Thomas 05df706251 aggressively log list featured media files 2024-09-16 14:10:37 -04:00
Brandon Thomas 0db061455a report cloudflare ray id / trace id 2024-09-16 13:11:42 -04:00
Brandon Thomas b2015685f7 iterate over files with comments 2024-09-16 03:30:53 -04:00
Brandon Thomas 5bff23f479 add media links to all job endpoints 2024-09-16 02:33:33 -04:00
Brandon Thomas c5494afef7 remove suboptimal words we won't want to use as username atoms 2024-09-16 02:13:15 -04:00
Brandon Thomas d74f902965 sort username atom lists 2024-09-16 00:23:52 -04:00
Brandon Thomas 9214b8ffa5 add files for random username atoms 2024-09-16 00:22:22 -04:00
Brandon Thomas 1aefd1be11 upload original zip if debug header present 2024-09-15 15:13:48 -04:00
Brandon Thomas dd954d7ef0 add more logging to studio_shot 2024-09-15 15:03:10 -04:00
Brandon Thomas a8991a1a24 write AVT cookie from new app state endpoint 2024-09-15 13:39:05 -04:00
Brandon Thomas d4f4648dc2 w2l analysis, remove garbage from email-sender-job 2024-09-13 07:01:50 -04:00
Brandon Thomas 63143121f6 add lipsync details to jobs endpoints 2024-09-12 14:18:51 -04:00
Brandon Thomas c2f7cd8ca5 fix docs 2024-09-11 21:00:04 -04:00
Brandon Thomas b8870f6cdf form validations 2024-09-11 20:56:01 -04:00
Brandon Thomas 6ad695bfe9 video upload: resample frame rate + trim (WIP) 2024-09-11 20:37:07 -04:00
Brandon Thomas 166d5aab3b doc endpoint 2024-09-11 00:00:01 -04:00
Brandon Thomas d04bffdb84 cleanup new monolithic endpoint 2024-09-10 23:49:43 -04:00
Brandon Thomas 89ff405318 reshape app state endpoint 2024-09-10 23:13:51 -04:00
Brandon Thomas 87f70d507f include premium account info in the endpoint 2024-09-10 18:35:04 -04:00
Brandon Thomas 9dfaf44ac9 doc comment 2024-09-10 18:15:51 -04:00
Brandon Thomas ba003aded1 new monolithic app status endpoint (WIP) to reduce frontend issues 2024-09-10 17:59:45 -04:00
Brandon Thomas a3e12de516 misc: analytics query, don't overwrite updated at, etc. 2024-09-10 16:02:08 -04:00
Brandon Thomas 77359f1bd4 update product categories 2024-09-09 20:00:49 -04:00
Brandon Thomas 4dbf2b3b45 rename product categories so they sort and group better for analysis 2024-09-09 16:17:30 -04:00
Brandon Thomas 60117ad8dc analytics query 2024-09-09 15:45:47 -04:00
Brandon Thomas 4500b2ebfc fix face fusion video titles 2024-09-08 23:28:24 -04:00
Brandon Thomas 716abbe553 change estimate again 2024-09-08 22:23:43 -04:00
Brandon Thomas a57244a4be fix query nullability, codegen 2024-09-08 22:04:13 -04:00
Brandon Thomas 021ca222ae lipsync usage, better estimate for lipsync jobs 2024-09-08 21:50:33 -04:00
Brandon Thomas a330a18e54 analysis of usage 2024-09-08 19:22:48 -04:00
Kasisnu 1a06cdbf6b hotfix: modelweights search query 2024-09-08 20:26:16 +05:30
Brandon Thomas fd5384431e codegen db 2024-09-08 02:34:22 -04:00
Brandon Thomas 5c6abb59d4 add model use counts to all endpoints 2024-09-08 02:29:54 -04:00
Brandon Thomas f95759cd24 write cached model usage counts to elasticsearch 2024-09-07 15:03:40 -04:00
Brandon Thomas 5218cbadec update log lines 2024-09-07 14:28:09 -04:00
Brandon Thomas 7df5dc63ce codegen db 2024-09-07 03:04:36 -04:00
Brandon Thomas 0cee5e5fcc update cached model usage counts 2024-09-07 03:01:23 -04:00
Brandon Thomas bc67dcf878 don't re-establish connection if we already have one 2024-09-07 00:33:05 -04:00
Brandon Thomas 7b5ced8302 update analytics job to skip rewriting model_usage_counts 2024-09-07 00:19:41 -04:00
Brandon Thomas d3ebc80cbf analytics job now updates model_weight_usage_counts 2024-09-06 23:11:50 -04:00
Brandon Thomas aa30e1bf57 tokio sleep 2024-09-06 22:33:32 -04:00
Brandon Thomas 5a25995be5 refactor job so we can use multiple threads 2024-09-06 22:29:32 -04:00
Brandon Thomas 091429b727 start to refactor analytics-job 2024-09-06 22:08:29 -04:00
Brandon Thomas e1e93b9109 notes 2024-09-06 22:03:42 -04:00
Brandon Thomas fe32f985e3 migrations: not in aws, cached usage count 2024-09-06 00:26:07 -04:00
Brandon Thomas 171958ba1e fix scoping by product category 2024-09-05 21:23:43 -04:00
Brandon Thomas 3793da5bf8 document 2024-09-05 21:11:19 -04:00
Brandon Thomas 14ee33649b update docs 2024-09-05 21:01:36 -04:00
Brandon Thomas 6e1a597fd4 add media_links to cover images 2024-09-05 20:55:32 -04:00
Brandon Thomas 382a2105cf media_links in media files APIs (except cover images) 2024-09-05 20:44:16 -04:00
Brandon Thomas 483652f1da fully tested media links 2024-09-05 20:16:15 -04:00
Brandon Thomas e4d807ac6a media links (wip) 2024-09-05 20:07:11 -04:00
Brandon Thomas 0663fd77d1 fix inference category for face fusion 2024-09-05 12:41:18 -04:00
Brandon Thomas 292ff5d970 new media links for migration (wip) 2024-09-05 12:41:18 -04:00
Kasisnu 14f63c5f7d lipsync: make minor tweaks to match params 2024-09-05 16:54:22 +05:30
Brandon Thomas 20aac52cb7 fix job dispatch 2024-09-05 01:07:15 -04:00
Brandon Thomas 0dbc056546 auto-configure jobs with job type 2024-09-05 00:55:27 -04:00
Brandon Thomas c65bcef4c0 fix rvc job config 2024-09-05 00:48:05 -04:00
Brandon Thomas 676b7e9cc0 new RVC dispatching 2024-09-04 23:54:52 -04:00
Brandon Thomas b6a0c70058 refactor module 2024-09-04 21:51:51 -04:00
Brandon Thomas d2169f7221 don't process comfy workflow upload jobs! 2024-09-04 21:39:23 -04:00
Brandon Thomas 27e30fd17a webcam param on live portrait 2024-09-04 20:30:35 -04:00
Brandon Thomas 5b91a1396a refactor, codegen db 2024-09-03 23:36:57 -04:00
Brandon Thomas 8e326ac101 calculate legacy tts usages 2024-09-03 19:19:08 -04:00
Brandon Thomas 4815fce4be query logging 2024-09-03 00:27:34 -04:00
Brandon Thomas 5599ce2383 fix backfill query, improve logging 2024-09-03 00:25:14 -04:00
Brandon Thomas 06f80c794c much more efficient backfill 2024-09-02 23:36:22 -04:00
Brandon Thomas 8c7a666129 http docs for face fusion enqueue 2024-09-02 22:36:07 -04:00
Brandon Thomas 4b681f68b6 endpoint to enqueue face fusion 2024-09-02 22:28:58 -04:00
Brandon Thomas 11bbeefe1b fix storyteller web with face fusion enums 2024-09-02 22:14:21 -04:00
Brandon Thomas 4631b2b6d2 face fusion jobs (largely copy pasted from live portrait) 2024-09-02 22:03:36 -04:00
Brandon Thomas 5ee766d4e1 codegen db, misc 2024-09-02 20:25:08 -04:00
Brandon Thomas 65028539c6 fix multithreading 2024-09-02 02:34:22 -04:00
Brandon Thomas c27a505ab3 multithreaded 2024-09-02 02:23:22 -04:00
Brandon Thomas 1b82c4bc61 log progress 2024-09-02 02:01:43 -04:00
Brandon Thomas 59a0780e94 add retry logic 2024-09-02 01:54:00 -04:00
Brandon Thomas 9e0b19155d don't continue to pull connections from the pool 2024-09-02 01:38:04 -04:00
Brandon Thomas 447fcc7a65 query all models on all dates 2024-09-02 01:03:54 -04:00
Brandon Thomas cf11948462 walk all tokens for backfilling 2024-09-02 00:21:36 -04:00
Brandon Thomas 3045d1a848 insert records into new table 2024-09-01 20:42:59 -04:00
Brandon Thomas 281a0454c1 correct calculations 2024-09-01 20:33:08 -04:00
Brandon Thomas 41cd1576fd get count of usages while supporting old token formats 2024-09-01 20:24:10 -04:00
Brandon Thomas 8b8b739b3a backfill cli wip 2024-09-01 19:12:26 -04:00
Brandon Thomas 95ca2b53e7 new model stats table, results of long-running query 2024-09-01 17:19:39 -04:00
Brandon Thomas 045a4a9996 union all tts models query 2024-09-01 01:50:02 -04:00
Brandon Thomas 52f3024767 more analysis 2024-09-01 00:46:02 -04:00
Brandon Thomas 58a69e280a more analysis 2024-08-31 20:54:25 -04:00
Brandon Thomas 2e88c56a04 more top user analysis 2024-08-31 20:07:55 -04:00
Brandon Thomas 736f4a24b1 useful analytics queries 2024-08-31 19:16:04 -04:00
Brandon Thomas 83d5ae9e13 working on correctly attributing product categories 2024-08-31 02:45:16 -04:00
Brandon Thomas 0bc48d413f categorize studio jobs 2024-08-31 01:00:34 -04:00
Brandon Thomas 917053e9f8 stable diffusion jobs coming through? more analysis... 2024-08-31 00:53:51 -04:00
Brandon Thomas bdbedc56ed cors for video board 2024-08-30 15:51:54 -04:00
Brandon Thomas 40a13182f7 analytics queries (wip) 2024-08-30 04:09:27 -04:00
Brandon Thomas 08a6a1516c track model downloads too 2024-08-30 01:19:30 -04:00
Brandon Thomas 52c348be83 start tracking inference job product category for easier analytics 2024-08-30 01:09:41 -04:00
Brandon Thomas 4cb8226117 enum for job product category 2024-08-30 00:35:20 -04:00
Brandon Thomas 65f0718fb2 filter featured media by product category 2024-08-29 01:06:34 -04:00
Brandon Thomas 6a30d0c0d2 correct docs - there is an index on this column 2024-08-28 23:59:46 -04:00
Brandon Thomas b43c54123f migration for jobs storage flag 2024-08-28 22:11:26 -04:00
Brandon Thomas 4714e5cbee Four new migrations to run 2024-08-28 22:05:05 -04:00
Brandon Thomas 2c3d1fa26a docs on endpoint 2024-08-28 18:08:52 -04:00
Brandon Thomas 748e8a6d3e INSECURE HACK TO BYPASS CORS UGH 2024-08-28 18:06:13 -04:00
Brandon Thomas b7091b8b07 heuristic for frame type 2024-08-28 01:50:21 -04:00
Brandon Thomas d2bb9d538d query to update uploaded files 2024-08-28 01:25:28 -04:00
Brandon Thomas 90e54650bc update documentation 2024-08-27 19:42:13 -04:00
Brandon Thomas edf204711b set is_user_upload flag in more places 2024-08-27 19:25:26 -04:00
Brandon Thomas 59c0f2246a write media_files.is_user_upload from handlers 2024-08-27 19:06:41 -04:00
Brandon Thomas f8a092c21c codegen db, fix build errors 2024-08-27 18:46:54 -04:00
Brandon Thomas b32f14a19c remove upload flag from API for listing featured media files 2024-08-27 18:32:38 -04:00
Brandon Thomas d810760641 add is_user_upload + system_file bools to list media file endpoints 2024-08-27 18:28:27 -04:00
Brandon Thomas 63a4285830 don't return raw http responses 2024-08-27 17:39:19 -04:00
Brandon Thomas 56ac11801d new bool fields in es-update-job and media file search endpoints 2024-08-27 17:15:03 -04:00
Brandon Thomas 73d57b3a1f is_user_upload, is_system... fields in media file GET endpoints 2024-08-27 17:03:39 -04:00
Brandon Thomas 57f9e6708d add url slug + migration token to legacy TTS so we can canonicalize 2024-08-27 16:42:13 -04:00
Brandon Thomas bc21102c20 Add databox analytics queries 2024-08-27 16:14:31 -04:00
Brandon Thomas 7178843565 fix vocoder query 2024-08-27 01:12:56 -04:00
Brandon Thomas 04c5c6c294 package upgrades 2024-08-27 00:54:38 -04:00
Brandon Thomas 5debd5f1da codegen db 2024-08-27 00:46:21 -04:00
Brandon Thomas bd4ce9fd50 make sure we can still query for old models by token 2024-08-27 00:44:52 -04:00
Brandon Thomas 7a03631743 add url slug to model weights endpoints 2024-08-26 22:33:59 -04:00
Brandon Thomas 129ff91d9b remove unicode control chars 2024-08-26 21:01:35 -04:00
Brandon Thomas e5a7e2046d more test cases for title cleaning 2024-08-26 20:31:26 -04:00
Brandon Thomas 79a13d043e model title to slug 2024-08-26 16:49:17 -04:00
Brandon Thomas f49e080e34 codegen db 2024-08-25 22:05:37 -04:00
Brandon Thomas 518fe20bcd more cleanup 2024-08-25 22:04:08 -04:00
Brandon Thomas 7be3e6d4bc kill container_common crate 2024-08-25 21:45:41 -04:00
Brandon Thomas a5f435ae71 kill off dead result type 2024-08-25 21:18:42 -04:00
Brandon Thomas 6f0a97e362 write is_intermediate_system_file flag 2024-08-25 19:32:53 -04:00
Brandon Thomas bede3246e9 store scene token in engine render record 2024-08-25 19:21:20 -04:00
Brandon Thomas 0d2580f481 share code for generic media file insert 2024-08-25 19:02:17 -04:00
Brandon Thomas 8a8fae1380 codegen db 2024-08-25 18:02:02 -04:00
Brandon Thomas 35904deb0a refactor media file insert queries 2024-08-25 18:00:28 -04:00
Brandon Thomas 949f57a82a document new endpoint 2024-08-25 14:13:42 -04:00
Brandon Thomas f50934bdcc accept fps and scene source arguments (not saved to db yet) 2024-08-25 14:10:21 -04:00
Brandon Thomas 1b64903283 refactor insert query 2024-08-25 12:52:06 -04:00
Brandon Thomas 46447448fc studio zipped shots - ffmpg + upload work 2024-08-25 12:26:22 -04:00
Brandon Thomas ba369dab95 studio shot handler WIP - handle zip archives 2024-08-25 11:32:35 -04:00
Brandon Thomas 3121eb75ac refactor user session functions module 2024-08-23 20:50:23 -04:00
Brandon Thomas 7a45f57588 re-sort deprecated endpoint docs 2024-08-23 20:46:56 -04:00
Brandon Thomas 65fce3fb9c use Json<T> for upload endpoints 2024-08-23 20:44:22 -04:00
Brandon Thomas 983846dbc4 tag media file upload routes together 2024-08-23 20:30:28 -04:00
Brandon Thomas 5cb1e789da Add two new columns to media_files: watermark, upload 2024-08-23 02:35:27 -04:00
Brandon Thomas 007882edd6 document the new indices 2024-08-23 00:30:57 -04:00
Brandon Thomas 8b9526d13d document insert statements 2024-08-22 23:28:43 -04:00
Brandon Thomas 14c4935355 migrations to add indices (already run in prod!) 2024-08-22 23:20:54 -04:00
Brandon Thomas 532a33ef65 no longer prevent 'test' from being used in usernames 2024-08-22 23:07:53 -04:00
Brandon Thomas b5ae9fce14 make bare metal live portrait script more general 2024-08-21 21:58:52 -04:00
Brandon Thomas 1223ae8c0d script to launch live portrait on local dev bare metal 2024-08-21 21:53:08 -04:00
Brandon Thomas 9aa21aa757 rename functions one final time to be more ergonomic 2024-08-21 17:09:15 -04:00
Brandon Thomas 4c01430de2 delete lists of "possible" files 2024-08-21 17:01:27 -04:00
Brandon Thomas becc3e2c8f shared function to delete all files 2024-08-21 16:33:08 -04:00
Brandon Thomas e2c78c7054 rename file deletion functions for more general use 2024-08-21 16:16:30 -04:00
Brandon Thomas 1b9a735756 refactor file deletion module 2024-08-21 16:04:42 -04:00
Brandon Thomas 15a783d508 safe delete on failures 2024-08-20 20:52:48 -04:00
Brandon Thomas f1971e1063 configure all watermark parameters 2024-08-19 21:28:32 -04:00
Brandon Thomas 15b89cc7d8 bucket URLs for model weight cover images 2024-08-19 18:35:42 -04:00
Brandon Thomas d2de0db63f bucket URLs for all media file endpoints 2024-08-19 18:04:57 -04:00
Brandon Thomas 22785aa78b strongly typed URL 2024-08-19 16:39:25 -04:00
Brandon Thomas 9d09b6c21e report final URL to frontend for media files (WIP) 2024-08-19 03:22:22 -04:00
Brandon Thomas 7c6356b701 hostname detection not working with URI - use host header 2024-08-18 03:46:49 -04:00
Brandon Thomas f08d239445 log branding decision 2024-08-18 03:19:34 -04:00
Brandon Thomas 3ceefd7fa7 add watermark to live portrait 2024-08-18 03:13:59 -04:00
Brandon Thomas 55a64c7e3c Script for running live portrait on bare metal (ick) 2024-08-18 03:13:26 -04:00
Brandon Thomas 3cd74a5d9c watermark type on studio job 2024-08-17 09:58:26 -04:00
Brandon Thomas 393ef4ff27 live portrait metadata in media files batch get endpoint 2024-08-16 22:41:36 -04:00
Brandon Thomas 98b999121a add response data for live portrait, if encoded in the db 2024-08-16 22:34:40 -04:00
Brandon Thomas 4204e167ba codegen db, include live portrait tokens in media file 2024-08-16 20:50:55 -04:00
Brandon Thomas 2b100f2aaa replace old SD json metadata with new polymorphic enum struct 2024-08-16 20:40:56 -04:00
Brandon Thomas 6fda5cc12c inner payload for media files 2024-08-16 20:05:02 -04:00
Kasisnu 2a4a693466 temp inference category for LP so Bombay is unblocked 2024-08-16 14:44:08 +05:30
Brandon Thomas 6346eb3f96 refactor inference args module 2024-08-16 02:07:49 -04:00
Brandon Thomas bf679d4e33 don't call ffprobe twice 2024-08-16 01:46:19 -04:00
Brandon Thomas ef256a1dd9 codegen db 2024-08-16 00:59:58 -04:00
Brandon Thomas 2914c2574e clean up live portrait record insert metadata, add title 2024-08-16 00:54:21 -04:00
Brandon Thomas b7fccc7c7c Implement TTL Sieve to replace permanently stuck Sieve 2024-08-15 23:34:07 -04:00
Brandon Thomas 53bbcee54d don't doubly decode polymorphic args for each job detail 2024-08-15 22:56:01 -04:00
Brandon Thomas 64c990b66e add live portrait details to the other two job status endpoints 2024-08-15 22:37:47 -04:00
Brandon Thomas 029394ebd0 add live portrait metadata to session jobs 2024-08-15 22:31:54 -04:00
Brandon Thomas da6bbbe745 refactor inference job module 2024-08-15 21:20:44 -04:00
Brandon Thomas 6e8cdefe5c HTTP GET version of model weight search 2024-08-13 23:10:06 -04:00
Brandon Thomas cdea155523 refactor weights handlers module 2024-08-13 22:47:41 -04:00
Brandon Thomas 7a85207745 better visibility into failing to load env config files 2024-08-11 20:38:15 -04:00
Kasisnu 0e517845bb live portrait: pass stdout/err correctly 2024-08-09 17:00:12 +05:30
Kasisnu 9208f4cad5 stream and write stdout/err logs for comfy runs 2024-08-09 16:14:53 +05:30
Brandon Thomas 9a8f0e9780 more test cases for ffprobe 2024-08-09 02:15:09 -04:00
Brandon Thomas e6e6b523fc doc 2024-08-09 01:56:20 -04:00
Brandon Thomas 268c7cd8a1 move db error classification to From<> 2024-08-09 01:54:41 -04:00
Brandon Thomas d701f0a437 report 400s instead of 500s on duplicate idempotency tokens 2024-08-09 01:48:31 -04:00
Brandon Thomas 61033712c8 cleanup 2024-08-09 00:16:15 -04:00
Brandon Thomas cf42710ade use ffprobe to decode video info 2024-08-09 00:13:17 -04:00
Brandon Thomas 948db59d84 remove binaries from build 2024-08-08 23:11:11 -04:00
Brandon Thomas d909a7e0c6 update cpu build container to include ffmpeg and better cache stages 2024-08-08 22:52:54 -04:00
Brandon Thomas 6790133f96 revert some changes to media libs (don't include symphonia) 2024-08-08 22:52:37 -04:00
Brandon Thomas 61ef340e27 debug video 2024-08-08 22:24:21 -04:00
Brandon Thomas 4a914f8829 debug uploaded video 2024-08-08 22:06:11 -04:00
Brandon Thomas 9cb340b194 debug video error 2024-08-08 21:26:04 -04:00
Brandon Thomas bda8cb5e10 emit ffprobe on video upload 2024-08-08 20:31:35 -04:00
Brandon Thomas 6d4adfe60f cleanup analytics queries 2024-08-08 17:44:39 -04:00
Brandon Thomas b3be085994 safer migration for model weights elasticsearch 2024-08-08 17:22:46 -04:00
Brandon Thomas 6b0ebe666e codegen db 2024-08-08 16:44:40 -04:00
Brandon Thomas 72fb4c77e9 update featured bool for model search 2024-08-08 16:36:05 -04:00
Brandon Thomas a70b94d7cb add "is_featured" to get weight 2024-08-08 16:20:42 -04:00
Brandon Thomas 897034657d scoping types and categories for list featured weights 2024-08-08 14:08:38 -04:00
Brandon Thomas 31d40907fd handle justin downloads 2024-08-07 20:45:14 -04:00
Brandon Thomas 8c3ae9c72c truncate seconds passed from frontend 2024-08-07 19:50:23 -04:00
Brandon Thomas 2ee6822bac truncate audio 2024-08-07 19:17:44 -04:00
Brandon Thomas 7f95c86e31 decode audio info for gptsovits 2024-08-07 18:48:00 -04:00
Brandon Thomas f570672272 codegen db 2024-08-07 18:35:18 -04:00
Brandon Thomas 753f61cbce insert gptsovits records with correct metadata 2024-08-07 18:33:41 -04:00
Brandon Thomas 68a581e4b9 move/organize ffmpeg common commands 2024-08-07 17:30:04 -04:00
Brandon Thomas a73a0638a0 heuristic gptsovits file extraction 2024-08-07 16:16:39 -04:00
Brandon Thomas d8db78bf7f tests for gptsovits archives 2024-08-07 01:57:06 -04:00
Brandon Thomas b2a9cdc830 fix gptsovits output file pathing 2024-08-06 21:41:43 -04:00
Brandon Thomas c803be4ed4 provide reference language 2024-08-06 20:23:35 -04:00
Brandon Thomas 9d3984e071 log errors when gptsovits fails 2024-08-06 19:23:03 -04:00
Brandon Thomas d276748ebe enqueue GPTsovits models for download 2024-08-06 15:43:54 -04:00
Brandon Thomas b45c83ff1e missing env configs cause local dev startup failures 2024-08-06 13:12:49 -04:00
Brandon Thomas 1a22f81f7f handle reference audio + transcript not existing 2024-08-06 13:04:12 -04:00
Kasisnu 9d03cd71a8 some fixes 2024-08-06 21:20:46 +05:30
Kasisnu e5ae0a9a83 hmm: fast previews, large patches :// 2024-08-06 21:20:46 +05:30
Kasisnu f731bce142 funky dev setup 2024-08-06 21:20:46 +05:30
Brandon Thomas 72a18875ea upload reference transcript file 2024-08-04 23:59:03 -04:00
Brandon Thomas 4fda4cdda5 record file size 2024-08-04 23:45:23 -04:00
Brandon Thomas a2969215b9 share env var copying code 2024-08-03 11:19:59 -04:00
Brandon Thomas be8822dce4 fix errors, codegen db 2024-08-01 21:20:39 -04:00
Brandon Thomas 617f500039 fix model weight search 2024-08-01 21:01:23 -04:00
Brandon Thomas 62f7279870 update recent model weights records 2024-08-01 20:03:00 -04:00
dependabot[bot] d2e9140b50 Bump quick-xml from 0.35.0 to 0.36.1 (#362)
Bumps [quick-xml](https://github.com/tafia/quick-xml) from 0.35.0 to
0.36.1.
<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.36.1 - Read binary from XML</h2>
<h2>What's Changed</h2>
<h3>New Features</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/623">#623</a>:
Added <code>Reader::stream()</code> that can be used to read arbitrary
data from the inner reader while track position for XML reader.</li>
</ul>
<p><a
href="https://redirect.github.com/tafia/quick-xml/issues/623">#623</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/issues/623">tafia/quick-xml#623</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/tafia/quick-xml/compare/v0.36.0...v0.36.1">https://github.com/tafia/quick-xml/compare/v0.36.0...v0.36.1</a></p>
<h2>v0.36.0 - Compatibility with Adobe Flash</h2>
<h2>What's Changed</h2>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/781">#781</a>:
Fix conditions to start CDATA section. Only uppercase
<code>&lt;![CDATA[</code> can start it.
Previously any case was allowed.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/780">#780</a>:
Fixed incorrect <code>.error_position()</code> when encountering syntax
error for open or self-closed tag.</li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/780">#780</a>:
<code>reader::Parser</code>, <code>reader::ElementParser</code> and
<code>reader::PiParser</code> moved to the new module
<code>parser</code>.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/776">#776</a>:
Allow to have attributes in the end tag for compatibility reasons with
Adobe Flash XML parser.</li>
</ul>
<p><a
href="https://redirect.github.com/tafia/quick-xml/issues/776">#776</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/issues/776">tafia/quick-xml#776</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/780">#780</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/780">tafia/quick-xml#780</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/781">#781</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/781">tafia/quick-xml#781</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/tafia/quick-xml/compare/v0.35.0...v0.36.0">https://github.com/tafia/quick-xml/compare/v0.35.0...v0.36.0</a></p>
</blockquote>
</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.36.1 -- 2024-07-23</h2>
<h3>New Features</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/623">#623</a>:
Added <code>Reader::stream()</code> that can be used to read arbitrary
data
from the inner reader while track position for XML reader.</li>
</ul>
<p><a
href="https://redirect.github.com/tafia/quick-xml/issues/623">#623</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/issues/623">tafia/quick-xml#623</a></p>
<h2>0.36.0 -- 2024-07-08</h2>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/781">#781</a>:
Fix conditions to start CDATA section. Only uppercase
<code>&lt;![CDATA[</code> can start it.
Previously any case was allowed.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/780">#780</a>:
Fixed incorrect <code>.error_position()</code> when encountering syntax
error for open or self-closed tag.</li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/780">#780</a>:
<code>reader::Parser</code>, <code>reader::ElementParser</code> and
<code>reader::PiParser</code> moved to the new module
<code>parser</code>.</li>
<li><a
href="https://redirect.github.com/tafia/quick-xml/issues/776">#776</a>:
Allow to have attributes in the end tag for compatibility reasons with
Adobe Flash XML parser.</li>
</ul>
<p><a
href="https://redirect.github.com/tafia/quick-xml/issues/776">#776</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/issues/776">tafia/quick-xml#776</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/780">#780</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/780">tafia/quick-xml#780</a>
<a
href="https://redirect.github.com/tafia/quick-xml/issues/781">#781</a>:
<a
href="https://redirect.github.com/tafia/quick-xml/pull/781">tafia/quick-xml#781</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tafia/quick-xml/commit/2f3824a1d265ac0b683aa485683ad00ddbc5c092"><code>2f3824a</code></a>
Release 0.36.1</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/21360fe4026d0058e7640f8c9b4afd9dc6eb4d28"><code>21360fe</code></a>
Merge pull request <a
href="https://redirect.github.com/tafia/quick-xml/issues/783">#783</a>
from Mingun/binary-stream</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/b1126631f887aed92967654b6a1cc36b63a6ac7d"><code>b112663</code></a>
Implement ability to read data directly from the underlying reader</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/10ddcb7e943351fa72dda30ffd51db40463663e8"><code>10ddcb7</code></a>
Release 0.36.0</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/959eb55e2d049a2094c3a48b54312b765fa0b2bc"><code>959eb55</code></a>
Merge pull request <a
href="https://redirect.github.com/tafia/quick-xml/issues/780">#780</a>
from Mingun/end-attributes</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/6a48a28f4cc182112d9005f66f8ab4336ace3293"><code>6a48a28</code></a>
Allow to have attributes in closing tags (compatibility with the Adobe
Flash ...</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/45e8be4eab0fb91a532d59cb017a039a74ab6262"><code>45e8be4</code></a>
Use <code>.error_position()</code> instead of
<code>.buffer_position()</code> in examples where err...</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/df65be07e401d759ed9e8faf211bc20f7e8fbf53"><code>df65be0</code></a>
Fix incorrect <code>.error_position()</code> when encountering syntax
error for open or ...</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/ecc7ef37629b77db48260738ddb73def97ad8344"><code>ecc7ef3</code></a>
Actually check that .error_position() is correct</li>
<li><a
href="https://github.com/tafia/quick-xml/commit/d387ed7416af516034b1952375ac01ee7a0a513a"><code>d387ed7</code></a>
Move <code>Parser</code>, <code>ElementParser</code> and
<code>PiParser</code> to the new module <code>parser</code>.</li>
<li>Additional commits viewable in <a
href="https://github.com/tafia/quick-xml/compare/v0.35.0...v0.36.1">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.35.0&new-version=0.36.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-08-01 18:08:09 -04:00
Brandon Thomas 7f856321a7 update es-update-job to include db read time 2024-08-01 17:55:32 -04:00
Brandon Thomas f807239a44 retain all tts job results 2024-08-01 15:05:06 -04:00
Brandon Thomas b6279776af queries 2024-07-30 13:54:29 -04:00
Brandon Thomas 844554f2e7 restore old URL 2024-07-27 00:39:17 -04:00
Brandon Thomas e87baf2d7f fix missing enum variant 2024-07-26 23:23:28 -04:00
dependabot[bot] 89c8f354e6 Bump zerovec-derive from 0.10.2 to 0.10.3 (#356)
Bumps [zerovec-derive](https://github.com/unicode-org/icu4x) from 0.10.2
to 0.10.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md">zerovec-derive's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>icu4x 1.5.x</h2>
<ul>
<li><code>icu_calendar</code>
<ul>
<li>(1.5.1) Fix Japanese calendar Gregorian era year 0 (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4968">unicode-org/icu4x#4968</a>)</li>
<li>(1.5.2) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
</ul>
</li>
<li><code>icu_datetime</code>
<ul>
<li>(1.5.1) Fix incorrect assertion in week-of-year formatting (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4977">unicode-org/icu4x#4977</a>)</li>
</ul>
</li>
<li><code>icu_casemap</code>
<ul>
<li>(1.5.1) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
</ul>
</li>
<li><code>icu_capi</code>
<ul>
<li>(1.5.1) Fix situations in which <code>libc_alloc</code> is specified
as a dependency (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5119">unicode-org/icu4x#5119</a>)</li>
</ul>
</li>
<li><code>icu_properties</code>
<ul>
<li>(1.5.1) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
</ul>
</li>
<li><code>zerovec</code>
<ul>
<li>(0.10.3) Fix size regression by making <code>twox-hash</code> dep
<code>no_std</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5007">unicode-org/icu4x#5007</a>)</li>
<li>(0.10.3) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
<li>(0.10.4) Enforce C,packed on OptionVarULE (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5143">unicode-org/icu4x#5143</a>)</li>
</ul>
</li>
<li><code>zerovec_derive</code>
<ul>
<li>(0.10.3) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
</ul>
</li>
</ul>
<h2>icu4x 1.5 (May 28, 2024)</h2>
<ul>
<li>Components
<ul>
<li>General
<ul>
<li>Compiled data updated to CLDR 45 and ICU 75 (unicode-org#4782)</li>
</ul>
</li>
<li><code>icu_calendar</code>
<ul>
<li>Fix duration offsetting and negative-year bugs in several calendars
including Chinese, Islamic, Coptic, Ethiopian, and Hebrew (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4904">#4904</a>)</li>
<li>Improved approximation for Persian calendrical calculations (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4713">unicode-org/icu4x#4713</a>)</li>
<li>Fix weekday calculations in negative ISO years (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4894">unicode-org/icu4x#4894</a>)</li>
<li>New <code>DateTime::local_unix_epoch()</code> convenience
constructor (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4479">unicode-org/icu4x#4479</a>)</li>
<li>Add caching for all islamic calendars (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4785">unicode-org/icu4x#4785</a>)</li>
<li>Add caching for chinese based calendars (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4411">unicode-org/icu4x#4411</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4468">unicode-org/icu4x#4468</a>)</li>
<li>Switch Hebrew to faster keviyah/Four Gates calculations (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4504">unicode-org/icu4x#4504</a>)</li>
<li>Replace 2820-year with 33-year cycle in Persian calendar, with
override table (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4770">unicode-org/icu4x#4770</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4775">unicode-org/icu4x#4775</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4796">unicode-org/icu4x#4796</a>)</li>
<li>Fix bugs in several calendars with new continuity test (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4904">unicode-org/icu4x#4904</a>)</li>
<li>Fix year 2319 in the Chinese calendar (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4929">unicode-org/icu4x#4929</a>)</li>
<li>Fix ISO weekday calculations in negative years (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4894">unicode-org/icu4x#4894</a>)</li>
</ul>
</li>
<li><code>icu_collections</code>
<ul>
<li>Switch from <code>wasmer</code> to <code>wasmi</code> in
<code>icu_codepointtrie_builder</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4621">unicode-org/icu4x#4621</a>)</li>
</ul>
</li>
<li><code>icu_normalizer</code>
<ul>
<li>Make UTS 46 normalization non-experimental (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4712">#4712</a>)</li>
</ul>
</li>
<li><code>icu_datetime</code>
<ul>
<li>Experimental &quot;neo&quot; datetime formatter with support for
semantic skeleta and fine-grained data slicing (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/1317">unicode-org/icu4x#1317</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/issues/3347">unicode-org/icu4x#3347</a>)</li>
<li><code>Writeable</code> and <code>Display</code> implementations now
don't return <code>fmt::Error</code>s that don't originate from the
<code>fmt::Write</code> anymore (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4732">#4732</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4851">#4851</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4863">#4863</a>)</li>
<li>Make <code>CldrCalendar</code> trait sealed except with experimental
feature (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4392">unicode-org/icu4x#4392</a>)</li>
<li><code>FormattedDateTime</code> and
<code>FormattedZonedDateTime</code> now implement <code>Clone</code> and
<code>Copy</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4476">unicode-org/icu4x#4476</a>)</li>
</ul>
</li>
<li><code>icu_experimental</code></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/unicode-org/icu4x/commits/ind/zerovec-derive@0.10.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zerovec-derive&package-manager=cargo&previous-version=0.10.2&new-version=0.10.3)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/storytold/storyteller-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 23:09:22 -04:00
dependabot[bot] 74ac5d76ee Bump rustls from 0.21.9 to 0.21.12 (#350)
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.9 to 0.21.12.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rustls/rustls/commit/3633152cc557cceadb0f71fa7226e6051fb6a9ee"><code>3633152</code></a>
Cargo: v0.21.11 -&gt; v0.21.12</li>
<li><a
href="https://github.com/rustls/rustls/commit/0baaeba7a8b7961108810fe0ae108d3dc45cf35e"><code>0baaeba</code></a>
proj: MSRV 1.61 -&gt; 1.63</li>
<li><a
href="https://github.com/rustls/rustls/commit/6fd691a1018297e7299b91eb2a840da579c286df"><code>6fd691a</code></a>
tls13: fix clippy::unnecessary_lazy_evaluations finding</li>
<li><a
href="https://github.com/rustls/rustls/commit/6da53375a2910e7dda1752b3d2072a77f1a00e39"><code>6da5337</code></a>
Test for illegal IP address in server name extension</li>
<li><a
href="https://github.com/rustls/rustls/commit/75f8857db71f128fb521e77135744c97453a6e4b"><code>75f8857</code></a>
Ignore server_name extension containing IP address</li>
<li><a
href="https://github.com/rustls/rustls/commit/7b8d1dbc1e666dc4d83640c64e96d257d39cfda4"><code>7b8d1db</code></a>
Prepare 0.21.11</li>
<li><a
href="https://github.com/rustls/rustls/commit/ebcb4782f23b4edf9b10a7065d9e8d4362439d9c"><code>ebcb478</code></a>
complete_io: bail out if progress is impossible</li>
<li><a
href="https://github.com/rustls/rustls/commit/20f35dfb6d3c353294c562723d4cb6639a8bd01b"><code>20f35df</code></a>
Regression test for <code>complete_io</code> infinite loop bug</li>
<li><a
href="https://github.com/rustls/rustls/commit/2f2aae15a4293639669291ab2b257835a2d4bdca"><code>2f2aae1</code></a>
Don't specially handle unauthenticated close_notify alerts</li>
<li><a
href="https://github.com/rustls/rustls/commit/e163587b985c894a6ce651992b91eb6897edde8b"><code>e163587</code></a>
Don't deny warnings from nightly clippy</li>
<li>Additional commits viewable in <a
href="https://github.com/rustls/rustls/compare/v/0.21.9...v/0.21.12">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustls&package-manager=cargo&previous-version=0.21.9&new-version=0.21.12)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/storytold/storyteller-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 23:09:04 -04:00
dependabot[bot] d5869f094b Bump zerovec from 0.10.2 to 0.10.4 (#354)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [zerovec](https://github.com/unicode-org/icu4x) from 0.10.2 to
0.10.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md">zerovec's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>icu4x 1.5.x</h2>
<ul>
<li><code>icu_calendar</code>
<ul>
<li>(1.5.1) Fix Japanese calendar Gregorian era year 0 (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4968">unicode-org/icu4x#4968</a>)</li>
<li>(1.5.2) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
</ul>
</li>
<li><code>icu_datetime</code>
<ul>
<li>(1.5.1) Fix incorrect assertion in week-of-year formatting (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4977">unicode-org/icu4x#4977</a>)</li>
</ul>
</li>
<li><code>icu_casemap</code>
<ul>
<li>(1.5.1) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
</ul>
</li>
<li><code>icu_capi</code>
<ul>
<li>(1.5.1) Fix situations in which <code>libc_alloc</code> is specified
as a dependency (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5119">unicode-org/icu4x#5119</a>)</li>
</ul>
</li>
<li><code>icu_properties</code>
<ul>
<li>(1.5.1) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
</ul>
</li>
<li><code>zerovec</code>
<ul>
<li>(0.10.3) Fix size regression by making <code>twox-hash</code> dep
<code>no_std</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5007">unicode-org/icu4x#5007</a>)</li>
<li>(0.10.3) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
<li>(0.10.4) Enforce C,packed on OptionVarULE (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5143">unicode-org/icu4x#5143</a>)</li>
</ul>
</li>
<li><code>zerovec_derive</code>
<ul>
<li>(0.10.3) Enforce C,packed, not just packed, on ULE types, fixing for
incoming changes to <code>repr(Rust)</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/5049">unicode-org/icu4x#5049</a>)</li>
</ul>
</li>
</ul>
<h2>icu4x 1.5 (May 28, 2024)</h2>
<ul>
<li>Components
<ul>
<li>General
<ul>
<li>Compiled data updated to CLDR 45 and ICU 75 (unicode-org#4782)</li>
</ul>
</li>
<li><code>icu_calendar</code>
<ul>
<li>Fix duration offsetting and negative-year bugs in several calendars
including Chinese, Islamic, Coptic, Ethiopian, and Hebrew (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4904">#4904</a>)</li>
<li>Improved approximation for Persian calendrical calculations (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4713">unicode-org/icu4x#4713</a>)</li>
<li>Fix weekday calculations in negative ISO years (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4894">unicode-org/icu4x#4894</a>)</li>
<li>New <code>DateTime::local_unix_epoch()</code> convenience
constructor (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4479">unicode-org/icu4x#4479</a>)</li>
<li>Add caching for all islamic calendars (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4785">unicode-org/icu4x#4785</a>)</li>
<li>Add caching for chinese based calendars (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4411">unicode-org/icu4x#4411</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4468">unicode-org/icu4x#4468</a>)</li>
<li>Switch Hebrew to faster keviyah/Four Gates calculations (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4504">unicode-org/icu4x#4504</a>)</li>
<li>Replace 2820-year with 33-year cycle in Persian calendar, with
override table (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4770">unicode-org/icu4x#4770</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4775">unicode-org/icu4x#4775</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4796">unicode-org/icu4x#4796</a>)</li>
<li>Fix bugs in several calendars with new continuity test (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4904">unicode-org/icu4x#4904</a>)</li>
<li>Fix year 2319 in the Chinese calendar (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4929">unicode-org/icu4x#4929</a>)</li>
<li>Fix ISO weekday calculations in negative years (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4894">unicode-org/icu4x#4894</a>)</li>
</ul>
</li>
<li><code>icu_collections</code>
<ul>
<li>Switch from <code>wasmer</code> to <code>wasmi</code> in
<code>icu_codepointtrie_builder</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4621">unicode-org/icu4x#4621</a>)</li>
</ul>
</li>
<li><code>icu_normalizer</code>
<ul>
<li>Make UTS 46 normalization non-experimental (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4712">#4712</a>)</li>
</ul>
</li>
<li><code>icu_datetime</code>
<ul>
<li>Experimental &quot;neo&quot; datetime formatter with support for
semantic skeleta and fine-grained data slicing (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/1317">unicode-org/icu4x#1317</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/issues/3347">unicode-org/icu4x#3347</a>)</li>
<li><code>Writeable</code> and <code>Display</code> implementations now
don't return <code>fmt::Error</code>s that don't originate from the
<code>fmt::Write</code> anymore (<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4732">#4732</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4851">#4851</a>,
<a
href="https://redirect.github.com/unicode-org/icu4x/issues/4863">#4863</a>)</li>
<li>Make <code>CldrCalendar</code> trait sealed except with experimental
feature (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4392">unicode-org/icu4x#4392</a>)</li>
<li><code>FormattedDateTime</code> and
<code>FormattedZonedDateTime</code> now implement <code>Clone</code> and
<code>Copy</code> (<a
href="https://redirect.github.com/unicode-org/icu4x/pull/4476">unicode-org/icu4x#4476</a>)</li>
</ul>
</li>
<li><code>icu_experimental</code></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/unicode-org/icu4x/commits/ind/zerovec@0.10.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zerovec&package-manager=cargo&previous-version=0.10.2&new-version=0.10.4)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/storytold/storyteller-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 23:08:47 -04:00
KasisnuandBrandon Thomas d8d13daad5 gptsovits: enqueue uploads api, inference job supports uploading & tts inference (#359)
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2024-07-26 23:07:56 -04:00
Brandon Thomas cef5d79bb1 watermark branding from hostname 2024-07-26 22:42:58 -04:00
Brandon Thomas 595ff3260e remove dead routes 2024-07-26 22:11:40 -04:00
Brandon Thomas 9cb2d3f74e dimensions wip 2024-07-26 18:04:11 -04:00
Brandon Thomas ce0fb4bf9e dimensions for live portrait 2024-07-25 19:16:58 -04:00
Brandon Thomas 8fc89f993e public model type in API 2024-07-25 17:41:40 -04:00
Brandon Thomas 7babe2d122 new media file model types 2024-07-25 16:30:41 -04:00
Brandon Thomas cdb3b706cf clean up origin category a little 2024-07-25 16:09:49 -04:00
Brandon Thomas 2a6254522e write media file product category for VST and Studio 2024-07-25 15:47:25 -04:00
Brandon Thomas e637af4398 Fix product categories (TODO: implement in jobs / upload endpoints) 2024-07-25 15:18:16 -04:00
Brandon Thomas 78f60cd782 documentation + begin removing media file subtype 2024-07-25 15:05:57 -04:00
Brandon Thomas 990e65abc9 upload3d feature flag 2024-07-24 19:47:44 -04:00
Brandon Thomas a6fc62810e query is long for scrollback 2024-07-23 23:45:50 -04:00
Brandon Thomas b6344a681f all payload types 2024-07-21 10:24:04 -04:00
Brandon Thomas 0454db0aa7 get the maximum use between stores 2024-07-21 10:03:44 -04:00
Brandon Thomas 233523c6b5 premium store is self-contained 2024-07-21 09:51:02 -04:00
Brandon Thomas e5e93364ae usage tracker wip 2024-07-21 09:25:04 -04:00
Brandon Thomas f17a9a034f premium keys 2024-07-21 00:17:47 -04:00
Brandon Thomas a06b583488 user token premium redis key 2024-07-21 00:09:16 -04:00
Brandon Thomas 96021d4507 add redis_schema lib (wip) 2024-07-20 23:51:11 -04:00
Brandon Thomas 7686eff0c1 better response type typing, less boilerplate 2024-07-19 23:44:45 -04:00
Brandon Thomas 705013f5e0 top models analytics query 2024-07-18 21:31:34 -04:00
Kasisnu 3f48bb217c fix: thumbnails outptu extension for requests (#360) 2024-07-18 21:31:47 +05:30
Brandon Thomas f72b4c973e updated queue stats endpoint 2024-07-17 16:49:45 -04:00
Brandon Thomas 5300902939 report on other queue stats 2024-07-17 16:26:30 -04:00
Kasisnu 9036f0993a make making thumbnails easier (#358) 2024-07-17 22:00:19 +05:30
Brandon Thomas 783ffef82c permanently fail on face detection errors 2024-07-17 08:04:24 -04:00
Brandon Thomas 5153bda209 fix command line arg 2024-07-16 22:34:42 -04:00
Brandon Thomas 0fdfc3b8fc move server "state" / configs to module 2024-07-16 22:28:43 -04:00
Brandon Thomas 17ce397d09 fixup args 2024-07-16 22:10:57 -04:00
Brandon Thomas 278d821207 reorganize file modules 2024-07-16 22:08:02 -04:00
Brandon Thomas 6352f710e0 cleanup and reorganize job code 2024-07-16 22:02:55 -04:00
Brandon Thomas e76d30caf7 make downloader common code 2024-07-16 21:39:25 -04:00
Brandon Thomas 576af78b2c input is image argument 2024-07-16 21:31:43 -04:00
Brandon Thomas d88ace6706 don't log routing tag mismatch 2024-07-16 21:08:31 -04:00
Brandon Thomas 13fe465740 fix job selection for empty scoping 2024-07-16 20:34:06 -04:00
Brandon Thomas 00ad03a819 analytics query 2024-07-16 20:25:03 -04:00
Brandon Thomas de36342731 fix model scoping for empty string 2024-07-16 19:52:15 -04:00
Brandon Thomas dafeb616a5 scope jobs by type 2024-07-16 19:10:26 -04:00
Brandon Thomas 9708e91137 public-facing inference job type 2024-07-16 17:37:58 -04:00
Brandon Thomas 06ac75a569 let users use upscaler 2024-07-16 15:54:20 -04:00
Brandon Thomas 142519b97f fix api docs 2024-07-16 15:29:14 -04:00
Brandon Thomas 8639788706 rename live portrait endpoint 2024-07-16 15:11:36 -04:00
Brandon Thomas 6af2b3f173 add support for mp4 image planes 2024-07-16 13:27:13 -04:00
Brandon Thomas 2bee82f0ae connect the last few pieces 2024-07-16 03:45:24 -04:00
Brandon Thomas 7c5ba2542c inference job - upload results 2024-07-16 03:28:39 -04:00
Brandon Thomas 7644c6813c new enum to begin field deprecation 2024-07-16 02:54:39 -04:00
Brandon Thomas 84c5ae9d18 move inference job CLI so we can reuse it 2024-07-16 02:01:32 -04:00
Brandon Thomas cc41641b2b extractor 2024-07-16 00:26:11 -04:00
Brandon Thomas b573860068 cleanup dead code, polymorphic args extraction 2024-07-16 00:00:17 -04:00
Brandon Thomas c40ffa7346 refactor module names 2024-07-15 22:58:18 -04:00
Brandon Thomas 93ce89e060 cleanup job 2024-07-15 22:54:22 -04:00
Brandon Thomas 59c4574d4d dead code 2024-07-15 22:33:18 -04:00
Brandon Thomas 6ad5a39bba reorganize workflow job module 2024-07-15 22:26:02 -04:00
Brandon Thomas 6f568087c6 share request/response 2024-07-15 21:00:17 -04:00
Brandon Thomas 5111254eaf extra test 2024-07-15 20:22:18 -04:00
Brandon Thomas 1ae84a406d use cinematic fix 2024-07-15 20:20:55 -04:00
Brandon Thomas f49e49832b document new endpoints 2024-07-15 20:11:02 -04:00
Brandon Thomas 0bf9e7b5aa share media token cleaning 2024-07-15 20:00:40 -04:00
Brandon Thomas 92338e5f66 mount workflow routes 2024-07-15 19:41:45 -04:00
Brandon Thomas e09130a1b5 remove unused portrait workflow args 2024-07-15 18:31:20 -04:00
Brandon Thomas 0465f5236f enable cinematic 2024-07-15 17:56:54 -04:00
Brandon Thomas 12cf9730f8 share debug + routing tag headers 2024-07-15 17:16:54 -04:00
Brandon Thomas bfa842b123 add new endpoints (wip) 2024-07-15 17:01:13 -04:00
Brandon Thomas 3faf22e9c5 comments 2024-07-15 16:03:04 -04:00
Brandon Thomas d87814bc41 make this clearer 2024-07-15 09:52:03 -04:00
Brandon Thomas cf057d26ec fix enum compile error 2024-07-15 09:49:23 -04:00
Brandon Thomas 2d294ce7ad enum for LivePortrait 2024-07-15 01:33:42 -04:00
Brandon Thomas 4e6285acd2 use publicweightstype in server 2024-07-15 01:27:04 -04:00
Brandon Thomas 114cdc10a0 prepare to hide some public-facing enums 2024-07-15 01:01:55 -04:00
Brandon Thomas 53e7ca28c6 new enum variant for gpt_so_vits 2024-07-14 22:10:16 -04:00
Brandon Thomas 854fe4b340 fix query 2024-07-13 23:35:45 -04:00
Brandon Thomas 330712407d anlaytics query 2024-07-13 23:24:51 -04:00
Brandon Thomas b708e5f9f6 allow people access to outputs even without studio access 2024-07-13 13:38:26 -04:00
Brandon Thomas 4146e922d8 analytics query 2024-07-12 23:48:46 -04:00
Brandon Thomas 1789918913 codegen build fix 2024-07-12 12:10:40 -04:00
Brandon Thomas 357691be20 report cached results 2024-07-12 10:18:35 -04:00
Brandon Thomas 8889299cc7 in-memory cache featured item list 2024-07-12 01:29:58 -04:00
Brandon Thomas a4023278bc add sieve 2024-07-12 00:37:59 -04:00
Brandon Thomas 73119ac9e3 fix compile errors 2024-07-12 00:01:34 -04:00
Brandon Thomas ec46833726 enroll new users in studio 2024-07-11 23:59:40 -04:00
Brandon Thomas e63ec3ae34 fix string quoting 2024-07-11 00:42:28 -04:00
Brandon Thomas aabaf0a5a5 fix query 2024-07-10 23:01:40 -04:00
Brandon Thomas 4146261806 cleanup 2024-07-10 21:57:39 -04:00
Brandon Thomas 10cc6198d9 fix pathing... 2024-07-10 21:25:51 -04:00
Brandon Thomas b8fb1b9a5e cleanup pathing (wip) (#357) 2024-07-10 20:59:18 -04:00
Brandon Thomas ab645cacc6 fix more batch queries with empty tokens in where in clause 2024-07-10 19:02:48 -04:00
Brandon Thomas ad4b297b55 stop invalid batch queries 2024-07-10 18:52:11 -04:00
Brandon Thomas b1b7f4e0ee comfy refactoring of pathing 2024-07-10 00:12:48 -04:00
Brandon Thomas 77bebd4833 cleaning up pathing 2024-07-09 23:15:08 -04:00
Brandon Thomas 9383ba42fb more refactor 2024-07-09 22:14:56 -04:00
Brandon Thomas 2e79eb9c3a this refactor might make things clearer or might be horrible 2024-07-09 22:06:02 -04:00
Brandon Thomas 55deba82ae download, process, and pass (depth,normal,outline) map videos 2024-07-09 21:33:58 -04:00
Brandon Thomas e0121dffeb download secondary videos 2024-07-09 18:38:07 -04:00
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
Brandon Thomas c8127d99fd update fields, search template 2024-06-29 22:59:21 -04:00
Brandon Thomas 8e1f49a588 search work in progress 2024-06-29 22:40:32 -04:00
Brandon Thomas 24f5660d2f elasticsearch utility for media files 2024-06-29 20:51:02 -04:00
Brandon Thomas 1b4c70281f more idiomatic 2024-06-29 20:33:23 -04:00
Brandon Thomas 9dc6676621 switch query to use dynamic predicates 2024-06-29 20:27:40 -04:00
Brandon Thomas f02476e916 refactor for maintainability 2024-06-29 16:35:49 -04:00
Brandon Thomas 1b3c88e93b support upload of image planes 2024-06-29 16:12:16 -04:00
Brandon Thomas c8e19250b2 deprecate media uploads endpoints 2024-06-29 15:47:23 -04:00
Brandon Thomas 8675b78f2d codegen db 2024-06-29 15:44:45 -04:00
Brandon Thomas 25df92c9ff remove config crate dep in mysql_queries 2024-06-28 22:48:16 -04:00
Brandon Thomas 805765f302 new query for listing media files 2024-06-28 22:42:17 -04:00
Brandon Thomas 8bea5bebab maybe there was clock skew ? 2024-06-28 21:57:29 -04:00
Brandon Thomas 9a938954a0 media file elasticsearch wip 2024-06-28 21:27:49 -04:00
Brandon Thomas 7abf70771c downsample on session jobs successfully completed 2024-06-28 16:58:20 -04:00
Brandon Thomas 409eadbfe5 ES SQL dialect doesn't support all data types 2024-06-28 12:11:08 -04:00
Brandon Thomas d634fd9e6b add new StyleTransferName; fix broken tests due to serde toml change 2024-06-27 20:33:10 -04:00
Brandon Thomas 7afb56519c sort by job type instead of category (soon) 2024-06-27 13:32:00 -04:00
Brandon Thomas 4dde614b15 don't deactivate face detailer for lipsync (for now) 2024-06-27 12:59:49 -04:00
Kasisnu 44a26c56ac comfy: pass audio for lipsyncing (#349) 2024-06-27 16:50:42 +05:30
Brandon Thomas 76db576c84 return IPA image token in prompt handler 2024-06-26 18:38:28 -04:00
Brandon Thomas a87e19b402 save ip adapter image with prompt 2024-06-26 18:32:41 -04:00
Brandon Thomas 3a3e85abd0 fix frontend bug sending empty IPA tokens to VST 2024-06-26 02:04:49 -04:00
Brandon Thomas 4def6ebd47 frontend is sending empty string IPA token - clear it 2024-06-26 02:04:49 -04:00
Kasisnu 1215df5844 disable comfy startup check via env var (#348) 2024-06-25 16:44:37 +05:30
Brandon Thomas 362afd9d6c codegen db 2024-06-22 22:07:04 -04:00
Brandon Thomas e0180712f7 pass ipa file and strength to comfy 2024-06-22 19:34:47 -04:00
Brandon Thomas d81bd219a2 cleanup modules, rename 2024-06-22 18:31:50 -04:00
Brandon Thomas 4e6f25db83 organize post-process steps into modules 2024-06-22 18:29:50 -04:00
Brandon Thomas adbf268985 trim/resample video moved to module 2024-06-22 17:56:29 -04:00
Brandon Thomas 80aff2bfff download IPAdapter image 2024-06-22 17:22:10 -04:00
Brandon Thomas 6f69a2715a refactor job steps into module 2024-06-22 16:32:23 -04:00
Brandon Thomas 5a18c51c11 VST: pass ip adapter token to jobs 2024-06-22 16:24:55 -04:00
Brandon Thomas cb98541c54 fix to read query.filter 2024-06-22 13:05:16 -04:00
Brandon Thomas 8782c6808c fix filter param 2024-06-22 13:04:47 -04:00
Brandon Thomas 032705ac45 query param 2024-06-21 23:59:25 -04:00
Brandon Thomas 4c8ad1be04 new list option 2024-06-21 23:56:00 -04:00
Brandon Thomas 203f4e5998 enable 7 second generations 2024-06-19 16:57:26 -04:00
Brandon Thomas 84b7bae839 postman collections -> _develop 2024-06-17 22:51:20 -04:00
Brandon Thomas 317d56dbd0 more cleanup 2024-06-17 22:34:43 -04:00
Brandon Thomas fc83fcd490 further cleanup 2024-06-17 22:25:19 -04:00
Brandon Thomas 1ac50b19b1 cleanup and reduce deprecated library usage 2024-06-17 22:14:55 -04:00
Brandon Thomas a56166c6a1 cleanup deps 2024-06-17 21:57:25 -04:00
Brandon Thomas f458a26f48 expand the model 2024-06-16 17:22:11 -04:00
Brandon Thomas 1c79e6a062 api docs options 2024-06-16 17:21:05 -04:00
Brandon Thomas f95c0b355f update api docs html + css + configs 2024-06-16 17:08:58 -04:00
Brandon Thomas af38e923c7 upgrade swagger-ui from v3 -> v5 2024-06-16 16:59:51 -04:00
Brandon Thomas 8a6dcb1868 hakari optimize deps 2024-06-16 16:53:43 -04:00
Brandon Thomas e07e0ab349 upgrade strum_macros 2024-06-16 16:50:39 -04:00
Brandon Thomas dbd431090f upgrade mockall 2024-06-16 16:49:03 -04:00
Brandon Thomas ee8596488c remove storyteller-web http 2024-06-16 16:47:38 -04:00
Brandon Thomas 311252d953 update utoipa-swagger-ui 2024-06-16 16:45:20 -04:00
Brandon Thomas dfbd3001f1 hakari optimize 2024-06-16 16:39:42 -04:00
Brandon Thomas 6e546894b2 update opentelemetry packages 2024-06-16 16:37:01 -04:00
Brandon Thomas 4f9e23250d further cleanup of hyper --> reqwest 2024-06-16 16:32:22 -04:00
Brandon Thomas a5f967d6d5 upgrade hyper; change inference-job to use reqwest instead 2024-06-16 16:24:18 -04:00
Brandon Thomas 7a17d1f20b codegen db, fix compile error 2024-06-16 16:05:11 -04:00
Brandon Thomas 31733b2063 upgrade reqwest 2024-06-16 15:57:55 -04:00
Brandon Thomas c55ad1f2b3 get rid of twitch endpoints, websocket-gateway service 2024-06-16 15:48:13 -04:00
Brandon Thomas d04458f000 deps 2024-06-16 14:47:18 -04:00
Brandon Thomas cd848319eb update more dependencies 2024-06-16 14:41:22 -04:00
Brandon Thomas 6a1f4dc3bc remove twitch-pubsub-subscriber service 2024-06-16 14:30:13 -04:00
Brandon Thomas 826d710979 more package upgrades 2024-06-16 14:17:08 -04:00
Brandon Thomas a9ec812e82 more dependency upgrades 2024-06-16 14:04:53 -04:00
Brandon Thomas 3aca9b9090 actix upgrades 2024-06-16 13:58:45 -04:00
Brandon Thomas c0db177d4e tool to upgrade actix libraries 2024-06-16 13:50:01 -04:00
Brandon Thomas 2cb19357ab bump versions 2024-06-16 13:41:06 -04:00
Brandon Thomas 04a19ec4e3 docs, revert endpoint path change 2024-06-16 13:28:44 -04:00
Brandon Thomas f6f769476f change route, document more endpoints 2024-06-16 13:23:18 -04:00
Brandon Thomas b53e93773d new endpoint to dismiss jobs 2024-06-16 13:19:05 -04:00
Brandon Thomas 38d174df83 simplify evaluating boolean flags 2024-06-16 11:57:28 -04:00
Brandon Thomas 1ddd3e75dc fix docs 2024-06-15 21:09:51 -04:00
dependabot[bot] c60d8b6115 Bump serial_test from 2.0.0 to 3.0.0 (#339)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 2.0.0
to 3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/palfrey/serial_test/releases">serial_test's
releases</a>.</em></p>
<blockquote>
<h2>v3.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Multi key support <a
href="https://redirect.github.com/palfrey/serial_test/pull/102">palfrey/serial_test#102</a>
<ul>
<li>Attributes like <code>#[serial(one, two)]</code> are now supported
(for all attributes)</li>
<li>This is a breaking change, as <code>file_serial</code> paths now
need to be done separately <code>#[file_serial(key, path =&gt;
&quot;/tmp/foo&quot;)]</code></li>
</ul>
</li>
<li>Attributes at a mod-level <a
href="https://redirect.github.com/palfrey/serial_test/pull/104">palfrey/serial_test#104</a>
<ul>
<li>You can set any of the attributes on a <code>mod</code> and all
<code>#[test]</code> fn's in that mod will have the attribute
applied.</li>
</ul>
</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/palfrey/serial_test/compare/v2.0.0...v3.0.0">https://github.com/palfrey/serial_test/compare/v2.0.0...v3.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/palfrey/serial_test/commit/bba3db847f10b0fbcbd71465cc233b0d510a3dd0"><code>bba3db8</code></a>
3.0.0</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/ae14645ea14fd1f3b8ddd09601062b3c9fbd5a42"><code>ae14645</code></a>
Merge pull request <a
href="https://redirect.github.com/palfrey/serial_test/issues/104">#104</a>
from palfrey/serial-for-mod</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/0dec256fe181fd9660077515f861614dd012ead2"><code>0dec256</code></a>
Merge branch 'main' into serial-for-mod</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/cee1dc17dbc7b90ab2c0d7fa81761871b1772fa1"><code>cee1dc1</code></a>
Add testing and parallel to package keywords</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/2a4b641ea9b6664ec3165826fcd4c93bcfd53b6a"><code>2a4b641</code></a>
Merge branch 'main' into serial-for-mod</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/288d933b77721f617b8e6e03e3c98515ae7876a1"><code>288d933</code></a>
Merge pull request <a
href="https://redirect.github.com/palfrey/serial_test/issues/105">#105</a>
from palfrey/upgrade-rustix</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/cf9d7fef6223d73d69f1c14197b4f79df994046f"><code>cf9d7fe</code></a>
Upgrade rustix</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/a8d985d9fde5aff6fe8822f71775f66c21a72a62"><code>a8d985d</code></a>
Replace a single-use match with if let</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/67d22ff9eef867032031e30fc65a58154f588364"><code>67d22ff</code></a>
Fix some clippy issues</li>
<li><a
href="https://github.com/palfrey/serial_test/commit/ff2890d91b18e5d2b5e8ea546636a261a051ead2"><code>ff2890d</code></a>
Update docs for mod-level functionality</li>
<li>Additional commits viewable in <a
href="https://github.com/palfrey/serial_test/compare/v2.0.0...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serial_test&package-manager=cargo&previous-version=2.0.0&new-version=3.0.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-06-15 21:09:30 -04:00
dependabot[bot] 56e6d61a8d Bump actix-http from 3.4.0 to 3.7.0 (#337)
Bumps [actix-http](https://github.com/actix/actix-web) from 3.4.0 to
3.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actix/actix-web/releases">actix-http's
releases</a>.</em></p>
<blockquote>
<h2>actix-http: v3.7.0</h2>
<h3>Added</h3>
<ul>
<li>Add <code>rustls-0_23</code> crate feature</li>
<li>Add <code>{h1::H1Service, h2::H2Service,
HttpService}::rustls_0_23()</code> and
<code>HttpService::rustls_0_23_with_config()</code> service
constructors.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Update <code>brotli</code> dependency to <code>6</code>.</li>
<li>Minimum supported Rust version (MSRV) is now 1.72.</li>
</ul>
<h2>actix-http: v3.6.0</h2>
<h3>Added</h3>
<ul>
<li>Add <code>rustls-0_22</code> crate feature.</li>
<li>Add <code>{h1::H1Service, h2::H2Service,
HttpService}::rustls_0_22()</code> and
<code>HttpService::rustls_0_22_with_config()</code> service
constructors.</li>
<li>Implement <code>From&lt;&amp;HeaderMap&gt;</code> for
<code>http::HeaderMap</code>.</li>
</ul>
<h2>actix-http: v3.5.1</h2>
<h3>Fixed</h3>
<ul>
<li>Prevent hang when returning zero-sized response bodies through
compression layer.</li>
</ul>
<h2>actix-http: v3.5.0</h2>
<h3>Added</h3>
<ul>
<li>Implement <code>From&lt;HeaderMap&gt;</code> for
<code>http::HeaderMap</code>.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Updated <code>zstd</code> dependency to <code>0.13</code>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Prevent compression of zero-sized response bodies.</li>
</ul>
<h2>awc: v3.5.0</h2>
<ul>
<li>Add <code>rustls-0_23</code>, <code>rustls-0_23-webpki-roots</code>,
and <code>rustls-0_23-native-roots</code> crate features.</li>
<li>Add <code>awc::Connector::rustls_0_23()</code> constructor.</li>
<li>Fix <code>rustls-0_22-native-roots</code> root store lookup</li>
<li>Update <code>brotli</code> dependency to <code>6</code>.</li>
<li>Minimum supported Rust version (MSRV) is now 1.72.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actix/actix-web/commit/acb740584c759499000cc19d322d4f0293389631"><code>acb7405</code></a>
fix: correct aws rustls v0.23 feature gating</li>
<li><a
href="https://github.com/actix/actix-web/commit/9a437fe8357a74d4ab04e6df1c431d499a334413"><code>9a437fe</code></a>
chore(awc): prepare release 3.5.0</li>
<li><a
href="https://github.com/actix/actix-web/commit/59115bca49bbbb539c6774d613165f424df29a49"><code>59115bc</code></a>
chore(actix-web): prepare release 4.6.0</li>
<li><a
href="https://github.com/actix/actix-web/commit/fe7268487aa89fe92fac92a547c9fd23dd37508e"><code>fe72684</code></a>
chore(actix-http): prepare release 3.7.0</li>
<li><a
href="https://github.com/actix/actix-web/commit/e8262da1381c24a265747ac604e45aee635e00b8"><code>e8262da</code></a>
chore: update rcgen to 0.13</li>
<li><a
href="https://github.com/actix/actix-web/commit/18e02b83d5e160d3fe7e051104eea700f8eaa3af"><code>18e02b8</code></a>
docs: fix middleware docs warning</li>
<li><a
href="https://github.com/actix/actix-web/commit/2e63ff5928abc0704cadf330bcbf630162a37fa8"><code>2e63ff5</code></a>
actix-web: Add rustls 0.23 (<a
href="https://redirect.github.com/actix/actix-web/issues/3363">#3363</a>)</li>
<li><a
href="https://github.com/actix/actix-web/commit/48d7adb7bfee8e373e31e9fe6c78a7da4cec5bec"><code>48d7adb</code></a>
Documentation for actix multipart (<a
href="https://redirect.github.com/actix/actix-web/issues/3344">#3344</a>)</li>
<li><a
href="https://github.com/actix/actix-web/commit/0a2788d6627ed26d3fec560474b1c7f9febd78db"><code>0a2788d</code></a>
actix-test: re-export types from awc (<a
href="https://redirect.github.com/actix/actix-web/issues/3349">#3349</a>)</li>
<li><a
href="https://github.com/actix/actix-web/commit/2d035c066ea60e9113ce9a710728a59ad03a0066"><code>2d035c0</code></a>
actix-http: Add rustls 0.23 (<a
href="https://redirect.github.com/actix/actix-web/issues/3361">#3361</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actix/actix-web/compare/awc-v3.4.0...http-v3.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actix-http&package-manager=cargo&previous-version=3.4.0&new-version=3.7.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-06-15 21:09:09 -04:00
dependabot[bot] 65b14a6486 Bump unicode-normalization from 0.1.22 to 0.1.23 (#340)
Bumps
[unicode-normalization](https://github.com/unicode-rs/unicode-normalization)
from 0.1.22 to 0.1.23.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/unicode-rs/unicode-normalization/commit/32659a77b041e64e1e101322da6b5f20353f8450"><code>32659a7</code></a>
Merge pull request <a
href="https://redirect.github.com/unicode-rs/unicode-normalization/issues/91">#91</a>
from Marcondiro/master</li>
<li><a
href="https://github.com/unicode-rs/unicode-normalization/commit/af878a3f5cf634ec0f1af91e0d7d0423ec6e13f8"><code>af878a3</code></a>
Add regen CI</li>
<li><a
href="https://github.com/unicode-rs/unicode-normalization/commit/dba608164e26b9f50b25f7bbd0ee49dd8c89c072"><code>dba6081</code></a>
Bump version to 0.1.23</li>
<li><a
href="https://github.com/unicode-rs/unicode-normalization/commit/2810fe2c6340f9d92c1ca638635450218ecbd952"><code>2810fe2</code></a>
Bump Unicode to version 15.1.0, regenerate tables</li>
<li>See full diff in <a
href="https://github.com/unicode-rs/unicode-normalization/compare/v0.1.22...v0.1.23">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=unicode-normalization&package-manager=cargo&previous-version=0.1.22&new-version=0.1.23)](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-06-15 21:08:38 -04:00
dependabot[bot] eadb0eded0 Bump either from 1.9.0 to 1.12.0 (#338)
Bumps [either](https://github.com/rayon-rs/either) from 1.9.0 to 1.12.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rayon-rs/either/commit/1cea51a48affacb7b3573f8d0bfe5e2d5100471a"><code>1cea51a</code></a>
Merge pull request <a
href="https://redirect.github.com/rayon-rs/either/issues/106">#106</a>
from cuviper/nth_back</li>
<li><a
href="https://github.com/rayon-rs/either/commit/a4382cb23198e99c6700615b46bd245a1e18a04a"><code>a4382cb</code></a>
Release 1.12.0</li>
<li><a
href="https://github.com/rayon-rs/either/commit/abb6f04e9185142fb282a65c0bdd9f8cdf0f0993"><code>abb6f04</code></a>
Specialize <code>nth_back</code> (MSRV 1.37)</li>
<li><a
href="https://github.com/rayon-rs/either/commit/864eae45407c6e25b55a39c9f9b09a0aca9928f2"><code>864eae4</code></a>
Merge pull request <a
href="https://redirect.github.com/rayon-rs/either/issues/104">#104</a>
from cuviper/release-1.11.0</li>
<li><a
href="https://github.com/rayon-rs/either/commit/0bdb5831888349b93d920560d81638ff416c2955"><code>0bdb583</code></a>
Release 1.11.0</li>
<li><a
href="https://github.com/rayon-rs/either/commit/e385751eda844aee9576b78c10f99710845f64b7"><code>e385751</code></a>
Merge pull request <a
href="https://redirect.github.com/rayon-rs/either/issues/101">#101</a>
from SFM61319/feat/into-either</li>
<li><a
href="https://github.com/rayon-rs/either/commit/d62efa6fffde2c90dc60aaa80301f9ab83010dd8"><code>d62efa6</code></a>
Feat: Implement trait <code>IntoEither</code></li>
<li><a
href="https://github.com/rayon-rs/either/commit/d48ab1b312ca6af8c859c308574eb27bae075452"><code>d48ab1b</code></a>
Merge pull request <a
href="https://redirect.github.com/rayon-rs/either/issues/103">#103</a>
from masklinn/patch-1</li>
<li><a
href="https://github.com/rayon-rs/either/commit/365f674f6d8dbb2cd75c186d0c0daa794c89949a"><code>365f674</code></a>
Enable <code>serde</code> feature on playgrounds</li>
<li><a
href="https://github.com/rayon-rs/either/commit/ede3c47ed7f17b2d2ce78c6507b2c9af94c3df6e"><code>ede3c47</code></a>
Merge pull request <a
href="https://redirect.github.com/rayon-rs/either/issues/98">#98</a>
from cuviper/release-1.10.0</li>
<li>Additional commits viewable in <a
href="https://github.com/rayon-rs/either/compare/1.9.0...1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=either&package-manager=cargo&previous-version=1.9.0&new-version=1.12.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-06-15 21:08:21 -04:00
dependabot[bot] eb68ab54c4 Bump env_logger from 0.10.1 to 0.10.2 (#341)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.1
to 0.10.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-cli/env_logger/releases">env_logger's
releases</a>.</em></p>
<blockquote>
<h2>v0.10.2</h2>
<h2>What's Changed</h2>
<ul>
<li>refactor: Move impls next to types by <a
href="https://github.com/epage"><code>@​epage</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/283">rust-cli/env_logger#283</a></li>
<li>chore(deps): update github/codeql-action action to v3 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/292">rust-cli/env_logger#292</a></li>
<li>chore(deps): update actions/setup-python action to v5 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/291">rust-cli/env_logger#291</a></li>
<li>fix(fmt): Address a couple of bugs by <a
href="https://github.com/epage"><code>@​epage</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/296">rust-cli/env_logger#296</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2">https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md">env_logger's
changelog</a>.</em></p>
<blockquote>
<h2>[0.10.2] - 2024-01-18</h2>
<h3>Performance</h3>
<ul>
<li>Avoid extra UTF-8 validation performed in some cases</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Ensure custom pipes/stdout get flushed</li>
<li>Don't panic on broken pipes when <code>color</code> is disabled</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-cli/env_logger/commit/7929b7fc3df3223320c3cdd346138965f2c7e52f"><code>7929b7f</code></a>
chore: Release env_logger version 0.10.2</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/3df552c315f00f4bce6e8dfd7b0ab56210e8a74b"><code>3df552c</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/6ec4104864ed6bf6694988d30611ee736d2dcb5e"><code>6ec4104</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-cli/env_logger/issues/296">#296</a>
from epage/refactor</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/939687dd75b606186989aa72fe43e716eaca5659"><code>939687d</code></a>
style: Make clippy happy</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/c088820ae84318077e5a37a3bed6d20b3f7aa3f3"><code>c088820</code></a>
fix(fmt): Ensure stream gets flushed</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/2b3f26fc29952296fdf79fa43d5beb35ddacbf40"><code>2b3f26f</code></a>
perf(fmt): Avoid UTF-8 validation</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/7428386da32c2a78b80f7e67a04b5fd5449601d5"><code>7428386</code></a>
refactor(fmt): Pull out stream lookup from write</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/e8674a237b62460b6dbc4ed8d8b48b6db0a97de4"><code>e8674a2</code></a>
refactor(fmt): Consolidate target printing</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/f5f3392886cb3f2a1a3180122666fa40a2150efe"><code>f5f3392</code></a>
refactor(fmt): Pull is_test into the target</li>
<li><a
href="https://github.com/rust-cli/env_logger/commit/87008fdf78b861202ca9da4869475649e72b8e82"><code>87008fd</code></a>
fix(fmt): Don't panic on broken pipes without termcolor</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=env_logger&package-manager=cargo&previous-version=0.10.1&new-version=0.10.2)](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-06-15 21:07:53 -04:00
Brandon Thomas e947e118e3 new endpoint 2024-06-15 00:00:47 -04:00
Brandon Thomas 8cc2e334b9 new endpoint for scene snapshots 2024-06-14 23:55:46 -04:00
Brandon Thomas b680dbc895 one day analysis 2024-06-13 23:44:19 -04:00
Brandon Thomas 68b1f9851c this shouldn't require a redeploy of the job 2024-06-13 00:51:43 -04:00
Brandon Thomas 6c62851ab4 clean up enqueue vst flags 2024-06-13 00:33:00 -04:00
Brandon Thomas 0d3e2e87bc cleanup 2024-06-12 23:59:27 -04:00
Brandon Thomas 6f62958c12 user access 2024-06-12 23:24:35 -04:00
Brandon Thomas a6f96e019a coordinate arguments to VST 2024-06-11 17:17:24 -04:00
Kasisnu 61a84134d4 thumbnails: fix typo (#342)
use basic auth,
2024-06-11 18:36:04 +05:30
Brandon Thomas 43abb4f4b1 another internal account 2024-06-08 10:23:39 -04:00
Brandon Thomas 1fc62e37b6 record job start / end 2024-06-07 00:01:00 -04:00
Brandon Thomas 1455138351 http status endpoint: job state, job duration 2024-06-06 23:49:04 -04:00
Brandon Thomas aad1dbfbdb enroll internal accounts 2024-06-05 23:43:11 -04:00
Brandon Thomas af326ad6c9 trim or empty 2024-06-04 16:43:18 -04:00
Brandon Thomas 678cd391f6 CORS configs for new "proper" branch deploys 2024-06-03 18:55:32 -04:00
Brandon Thomas 2548ab880a better name 2024-06-03 13:35:33 -04:00
Brandon Thomas 32d44d7070 don't discard pmx zips with more than one pmx; keep the biggest 2024-06-03 13:34:36 -04:00
Brandon Thomas 0f7853314d ignore blank titles when uploading 2024-06-03 13:13:13 -04:00
Brandon Thomas bc48f9c129 trim title on videos 2024-06-02 23:58:28 -04:00
Brandon Thomas f12b94752f move to moderator field 2024-05-31 10:17:41 -04:00
Brandon Thomas 64b1dfb5ec report inference duration in prompt handler 2024-05-31 10:02:06 -04:00
Brandon Thomas 9467cc2fe0 log for debugging 2024-05-31 09:54:23 -04:00
Kasisnu 489aabda3d generated thumbnails extension fix (#336) 2024-05-31 10:43:59 +05:30
Brandon Thomas 93e413dd88 plumb cinematic mode flag 2024-05-31 00:22:57 -04:00
Brandon Thomas 8820e82971 --use-cinematic 2024-05-31 00:17:56 -04:00
Brandon Thomas 9c18e6d1ca cinematic mode 2024-05-30 23:55:32 -04:00
Brandon Thomas 48949ce4b7 report strength 2024-05-29 22:55:49 -04:00
Brandon Thomas cdcb083369 fix thumbnail extensions 2024-05-29 21:23:45 -04:00
Brandon Thomas 858c93e4c3 disable lcm flag 2024-05-29 20:30:12 -04:00
Brandon Thomas 1e1d8ab6ca document and deprecate job types 2024-05-29 19:58:28 -04:00
Brandon Thomas 56bffa9297 document inference category 2024-05-29 19:48:35 -04:00
Brandon Thomas 3f1125f59c record lipsync state for debugging 2024-05-29 10:24:49 -04:00
Brandon Thomas 639ace9fd4 record and report workflow versions for internal debugging 2024-05-29 10:15:05 -04:00
Brandon Thomas 07e3eed1c7 documentation on subscriptions 2024-05-29 00:42:31 -04:00
Brandon Thomas ae7b910671 add test 2024-05-29 00:33:30 -04:00
Brandon Thomas d2fd811e41 ffprobe (#335) 2024-05-29 00:27:12 -04:00
Brandon Thomas 06e04f7b29 prepare to read from ffprobe 2024-05-28 23:23:05 -04:00
Brandon Thomas 304a59096f cleanup 2024-05-28 21:30:09 -04:00
Brandon Thomas 5918a41325 cleanup logging 2024-05-28 21:20:50 -04:00
Brandon Thomas 6649e88ba4 further cleanup comfy job 2024-05-28 21:08:13 -04:00
Brandon Thomas 370d8314a9 cleanup 2024-05-28 20:59:24 -04:00
Brandon Thomas a80ef65d70 organize / cleanup comfy code 2024-05-28 20:53:54 -04:00
Brandon Thomas f21e3d5899 organize comfy into modules 2024-05-28 19:45:29 -04:00
Brandon Thomas 037c889dbb make sure to copy files when trim is disabled 2024-05-28 19:35:02 -04:00
Brandon Thomas bb4252fe27 revert broken hyper upgrade (0.14.27 to 1.1.0) 2024-05-28 17:28:29 -04:00
Brandon Thomas 6727089835 document billing endpoints 2024-05-28 17:27:33 -04:00
Brandon Thomas 5715eca83d lipsync flag 2024-05-28 12:46:02 -04:00
Brandon Thomas acec8e1874 Obsolete: Delete _develop/tools/testing/mysql directory 2024-05-27 23:52:03 -04:00
Brandon Thomas e8d7b48d1c Obsolete: Delete _develop/tools/testing/curl directory 2024-05-27 23:51:36 -04:00
dependabot[bot] bcfda57f43 Bump hyper from 0.14.27 to 1.1.0 (#329)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.27 to 1.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/hyper/releases">hyper's
releases</a>.</em></p>
<blockquote>
<h2>v1.1.0</h2>
<h2>Features</h2>
<ul>
<li><strong>client:</strong> add <code>http1::Connection</code>
<code>without_shutdown()</code> method (<a
href="https://redirect.github.com/hyperium/hyper/issues/3430">#3430</a>)
(<a
href="https://github.com/hyperium/hyper/commit/210bfaa711b5da1f6756582a2e4bc3e229924800">210bfaa7</a>)</li>
<li><strong>http1:</strong> Add support for sending HTTP/1.1 Chunked
Trailer Fields (<a
href="https://redirect.github.com/hyperium/hyper/issues/3375">#3375</a>)
(<a
href="https://github.com/hyperium/hyper/commit/31b41807523370f3efbf47ba16c9e1c193b6335a">31b41807</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/2719">#2719</a>)</li>
<li><strong>server:</strong> expose
<code>server::conn::http1::UpgradeableConnection</code> (<a
href="https://redirect.github.com/hyperium/hyper/issues/3457">#3457</a>)
(<a
href="https://github.com/hyperium/hyper/commit/6e3042a86f10359624857d31bc9e876f521aee42">6e3042a8</a>)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><strong>http1:</strong>
<ul>
<li>add internal limit for chunked extensions (<a
href="https://redirect.github.com/hyperium/hyper/issues/3495">#3495</a>)
(<a
href="https://github.com/hyperium/hyper/commit/d71ff962b08aca2f1c9c1724dfdab5bc1ec6ecd2">d71ff962</a>)</li>
<li>reject chunked headers missing a digit (<a
href="https://redirect.github.com/hyperium/hyper/issues/3494">#3494</a>)
(<a
href="https://github.com/hyperium/hyper/commit/829153865a4d2bbb52227183c8857e57dc3e231b">82915386</a>)</li>
</ul>
</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/acedogblast"><code>@​acedogblast</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/3433">hyperium/hyper#3433</a></li>
<li><a href="https://github.com/hatoo"><code>@​hatoo</code></a> made
their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/3434">hyperium/hyper#3434</a></li>
<li><a href="https://github.com/allan2"><code>@​allan2</code></a> made
their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/3449">hyperium/hyper#3449</a></li>
<li><a
href="https://github.com/daxhuiberts"><code>@​daxhuiberts</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/3464">hyperium/hyper#3464</a></li>
<li><a href="https://github.com/ncihnegn"><code>@​ncihnegn</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/3479">hyperium/hyper#3479</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/hyperium/hyper/compare/v1.0.1...v1.1.0">https://github.com/hyperium/hyper/compare/v1.0.1...v1.1.0</a></p>
<h2>v1.0.1</h2>
<p>This release &quot;fixes&quot; or adds a few things that should have
been in 1.0.0, but were forgotten. Thus, it includes additions that
would normally be a semver-minor release, but because it is so close to
1.0.0, it is released as a patch version.</p>
<h2>Bug Fixes</h2>
<ul>
<li><strong>rt:</strong> implement Read/Write for Pin<!-- raw HTML
omitted --> (<a
href="https://redirect.github.com/hyperium/hyper/issues/3413">#3413</a>)
(<a
href="https://github.com/hyperium/hyper/commit/dd6d81ca4a180695dc70d6c9b2aececd29606224">dd6d81ca</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/3412">#3412</a>)</li>
</ul>
<h2>Features</h2>
<ul>
<li><strong>rt:</strong> Make ReadBuf::new public (<a
href="https://github.com/hyperium/hyper/commit/7161f56274a30bfbe4a718bbe21d35beaf86b00b">7161f562</a>)</li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li>Pin is #[fundamental], so providing a Read/Write impl for it
theoretically conflicts
with existing user Read/Write for Pin<!-- raw HTML omitted --> impls.
However, those impls
probably don't exist yet.
(<a
href="https://github.com/hyperium/hyper/commit/dd6d81ca4a180695dc70d6c9b2aececd29606224">dd6d81ca</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/coolreader18"><code>@​coolreader18</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/3413">hyperium/hyper#3413</a></li>
</ul>
<h2>v1.0.0</h2>
<p>Be sure to checkout the <a
href="https://hyper.rs/guides/1/upgrading">upgrading guide</a>!</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/hyper/blob/master/CHANGELOG.md">hyper's
changelog</a>.</em></p>
<blockquote>
<h2>v1.1.0 (2023-12-18)</h2>
<h4>Bug Fixes</h4>
<ul>
<li><strong>http1:</strong>
<ul>
<li>add internal limit for chunked extensions (<a
href="https://redirect.github.com/hyperium/hyper/issues/3495">#3495</a>)
(<a
href="https://github.com/hyperium/hyper/commit/d71ff962b08aca2f1c9c1724dfdab5bc1ec6ecd2">d71ff962</a>)</li>
<li>reject chunked headers missing a digit (<a
href="https://redirect.github.com/hyperium/hyper/issues/3494">#3494</a>)
(<a
href="https://github.com/hyperium/hyper/commit/829153865a4d2bbb52227183c8857e57dc3e231b">82915386</a>)</li>
</ul>
</li>
</ul>
<h4>Features</h4>
<ul>
<li><strong>client:</strong> add <code>http1::Connection</code>
<code>without_shutdown()</code> method (<a
href="https://redirect.github.com/hyperium/hyper/issues/3430">#3430</a>)
(<a
href="https://github.com/hyperium/hyper/commit/210bfaa711b5da1f6756582a2e4bc3e229924800">210bfaa7</a>)</li>
<li><strong>http1:</strong> Add support for sending HTTP/1.1 Chunked
Trailer Fields (<a
href="https://redirect.github.com/hyperium/hyper/issues/3375">#3375</a>)
(<a
href="https://github.com/hyperium/hyper/commit/31b41807523370f3efbf47ba16c9e1c193b6335a">31b41807</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/2719">#2719</a>)</li>
<li><strong>server:</strong> expose
<code>server::conn::http1::UpgradeableConnection</code> (<a
href="https://redirect.github.com/hyperium/hyper/issues/3457">#3457</a>)
(<a
href="https://github.com/hyperium/hyper/commit/6e3042a86f10359624857d31bc9e876f521aee42">6e3042a8</a>)</li>
</ul>
<h3>v1.0.1 (2023-11-16)</h3>
<p>This release &quot;fixes&quot; or adds a few things that should have
been in 1.0.0, but were forgotten. Thus, it includes additions that
would normally be a semver-minor release, but because it is so close to
1.0.0, it is released as a patch version.</p>
<h4>Bug Fixes</h4>
<ul>
<li><strong>rt:</strong> implement Read/Write for Pin<!-- raw HTML
omitted --> (<a
href="https://redirect.github.com/hyperium/hyper/issues/3413">#3413</a>)
(<a
href="https://github.com/hyperium/hyper/commit/dd6d81ca4a180695dc70d6c9b2aececd29606224">dd6d81ca</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/3412">#3412</a>)</li>
</ul>
<h4>Features</h4>
<ul>
<li><strong>rt:</strong> Make ReadBuf::new public (<a
href="https://github.com/hyperium/hyper/commit/7161f56274a30bfbe4a718bbe21d35beaf86b00b">7161f562</a>)</li>
</ul>
<h4>Breaking Changes</h4>
<ul>
<li>Pin is #[fundamental], so providing a Read/Write impl for it
theoretically conflicts
with existing user Read/Write for Pin<!-- raw HTML omitted --> impls.
However, those impls
probably don't exist yet.
(<a
href="https://github.com/hyperium/hyper/commit/dd6d81ca4a180695dc70d6c9b2aececd29606224">dd6d81ca</a>)</li>
</ul>
<h2>v1.0.0 (2023-11-15)</h2>
<p>Be sure to check out the <a
href="https://hyper.rs/guides/1/upgrading">upgrading guide</a>.</p>
<h4>Bug Fixes</h4>
<ul>
<li><strong>client:</strong>
<ul>
<li>avoid double-polling a Select future (<a
href="https://redirect.github.com/hyperium/hyper/issues/3290">#3290</a>)
(<a
href="https://github.com/hyperium/hyper/commit/fece9f7f50431cf9533cfe7106b53a77b48db699">fece9f7f</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/3289">#3289</a>)</li>
<li>early server response shouldn't propagate NO_ERROR (<a
href="https://redirect.github.com/hyperium/hyper/issues/3275">#3275</a>)
(<a
href="https://github.com/hyperium/hyper/commit/194e6f984763f5dc1c376082170a85cc4db40ce4">194e6f98</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/2872">#2872</a>)</li>
<li>remove Send bounds for request <code>Body</code> (<a
href="https://redirect.github.com/hyperium/hyper/issues/3266">#3266</a>)
(<a
href="https://github.com/hyperium/hyper/commit/4ace340bb00a2ffe8ec93e4955989eb69f29d531">4ace340b</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/3184">#3184</a>)</li>
</ul>
</li>
<li><strong>ffi:</strong> fix deadlock in
<code>hyper_executor::poll_next</code> (<a
href="https://redirect.github.com/hyperium/hyper/issues/3370">#3370</a>)
(<a
href="https://github.com/hyperium/hyper/commit/0c7d03eff2f2433e4f4a0a768009d97e1a7858fd">0c7d03ef</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/3369">#3369</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/hyperium/hyper/commit/1d4ff3597b8e76818c8553dbfa4234cf4208c958"><code>1d4ff35</code></a>
v1.1.0</li>
<li><a
href="https://github.com/hyperium/hyper/commit/d71ff962b08aca2f1c9c1724dfdab5bc1ec6ecd2"><code>d71ff96</code></a>
fix(http1): add internal limit for chunked extensions (<a
href="https://redirect.github.com/hyperium/hyper/issues/3495">#3495</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/829153865a4d2bbb52227183c8857e57dc3e231b"><code>8291538</code></a>
fix(http1): reject chunked headers missing a digit (<a
href="https://redirect.github.com/hyperium/hyper/issues/3494">#3494</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/21aa2f1c69e1cc329b5787122c25596e0fa5e3ed"><code>21aa2f1</code></a>
refactor(common): move common feature cfg in common::task to common::mod
(<a
href="https://redirect.github.com/hyperium/hyper/issues/3492">#3492</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/d9c5d3b9b3921e05040ef50d4aca080f563aac36"><code>d9c5d3b</code></a>
refactor(body): switch opt_len helper macro as function (<a
href="https://redirect.github.com/hyperium/hyper/issues/3483">#3483</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/53b560b87004bf56c93323b728d26edf977864ea"><code>53b560b</code></a>
refactor(proto): use HeaderMap type without client feature (<a
href="https://redirect.github.com/hyperium/hyper/issues/3491">#3491</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/31b41807523370f3efbf47ba16c9e1c193b6335a"><code>31b4180</code></a>
feat(http1): Add support for sending HTTP/1.1 Chunked Trailer Fields (<a
href="https://redirect.github.com/hyperium/hyper/issues/3375">#3375</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/0f2929b944cd6324e8ff7ad47dedb06c98c42ded"><code>0f2929b</code></a>
chore(ci): enable benchmark timeline in CI again (<a
href="https://redirect.github.com/hyperium/hyper/issues/3490">#3490</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/81b1592cedd2b54131bf12f9c271f950eaaaefd4"><code>81b1592</code></a>
chore(meta): change labels of severity to category (<a
href="https://redirect.github.com/hyperium/hyper/issues/3488">#3488</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/07554ded40b7e135c9fca6b03e3e85a0ae51b984"><code>07554de</code></a>
refactor(error): remove lint config to allow unused code (<a
href="https://redirect.github.com/hyperium/hyper/issues/3486">#3486</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/hyperium/hyper/compare/v0.14.27...v1.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hyper&package-manager=cargo&previous-version=0.14.27&new-version=1.1.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-05-27 23:49:31 -04:00
dependabot[bot] b721db5eac Bump bytemuck from 1.14.0 to 1.16.0 (#331)
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.14.0 to
1.16.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Lokathor/bytemuck/blob/main/changelog.md">bytemuck's
changelog</a>.</em></p>
<blockquote>
<h2>1.16.0</h2>
<ul>
<li>Adds a <code>const_zeroed</code> feature (MSRV 1.75) which puts a
<code>zeroed</code> fn at the crate root.
This is just like the <code>Zeroable::zeroed</code> method, but as a
<code>const fn</code>.</li>
</ul>
<h2>1.15.0</h2>
<p>This primarily relaxes the bounds on a <code>From</code> impl.</p>
<p>Previously:</p>
<blockquote>
<p><code>impl&lt;T: NoUninit&gt; From&lt;Box&lt;T&gt;&gt; for
BoxBytes</code></p>
</blockquote>
<p>Now:</p>
<blockquote>
<p><code>impl&lt;T: ?Sized + sealed::BoxBytesOf&gt;
From&lt;Box&lt;T&gt;&gt; for BoxBytes</code></p>
</blockquote>
<p>All related functions and methods are similarly updated.</p>
<p>We believe this to be backwards compatible with all previous uses,
and now <code>BoxBytes</code> can be converted to/from more types than
before.</p>
<h2>1.14.3</h2>
<ul>
<li>The new std simd nightly features are apparently arch-specific.
This adjusts the feature activation to be x86/ x86_64 only.</li>
</ul>
<h2>1.14.2</h2>
<ul>
<li>Changes the name of the Nightly feature activated by the crate's
<code>nightly_stdsimd</code> feature. This is needed as of
(approximately) Nightly
2024-02-06 and later, because the Nightly feature was changed.</li>
</ul>
<h2>1.14.1</h2>
<ul>
<li>docs clarifications.</li>
</ul>
<h2>1.14</h2>
<ul>
<li><code>write_zeroes</code> and <code>fill_zeroes</code> functions:
Writes (to one) or fills (a slice)
zero bytes to all bytes covered by the provided reference. If your type
has
padding, this will even zero out the padding bytes.</li>
<li><code>align_offset</code> feature: causes pointer alignment checks
to use the
<code>align_offset</code> pointer method rather than as-casting the
pointer to <code>usize</code>.
This <em>may</em> improve codegen, if the compiler would have otherwise
thought that
the pointer address escaped. No formal benchmarks have been done either
way.</li>
<li><code>must_cast</code> feature: Adds <code>must_*</code> family of
functions. These functions will
fail to compile if the cast requested can't be statically known to
succeed.
The error messages can be kinda bad when this happens, but eliminating
the
possibility of a runtime error might be worth it to you.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/4c46b919e2cccae67b3ef2648b1f746d0638afb3"><code>4c46b91</code></a>
chore: Release bytemuck version 1.16.0</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/5287f8cf6da8d488b39015daea3e1164d721c76c"><code>5287f8c</code></a>
we can put out 1.16 without waiting for more</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/a41510f30350c17dcc82971af873dde95da8f67b"><code>a41510f</code></a>
put const_zeroed into the changelog</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/9319f4858b98a7ce1cfb888450ffe08e9cdb43c0"><code>9319f48</code></a>
make clippy be quiet about useless nonsense.</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/b39b6813a7253a4411d77213fc13c004b0a9a735"><code>b39b681</code></a>
fix up docs warnings</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/99e95084a613b552d1a828b2603e71e46d46208e"><code>99e9508</code></a>
support const zeroed() (<a
href="https://redirect.github.com/Lokathor/bytemuck/issues/240">#240</a>)</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/7ef8801cfff71abab08b9a9a5425d5538e64a3da"><code>7ef8801</code></a>
Add documentation to generated public items (<a
href="https://redirect.github.com/Lokathor/bytemuck/issues/236">#236</a>)</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/eeb6e9dd5313e46770ad300e0ee0a3a6c2121b73"><code>eeb6e9d</code></a>
Update TransparentWrapper asserts (<a
href="https://redirect.github.com/Lokathor/bytemuck/issues/232">#232</a>)</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/0c821ce9d54ef851bd932534544f329de454a25c"><code>0c821ce</code></a>
Fix miri CI (<a
href="https://redirect.github.com/Lokathor/bytemuck/issues/231">#231</a>)</li>
<li><a
href="https://github.com/Lokathor/bytemuck/commit/4d2fc16208e55db8e231a6f0bf5ea4b928579502"><code>4d2fc16</code></a>
chore: Release bytemuck version 1.15.0</li>
<li>Additional commits viewable in <a
href="https://github.com/Lokathor/bytemuck/compare/v1.14.0...v1.16.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bytemuck&package-manager=cargo&previous-version=1.14.0&new-version=1.16.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-05-27 23:48:31 -04:00
dependabot[bot] 6aa107d0b1 Bump tokio-stream from 0.1.14 to 0.1.15 (#332)
Bumps [tokio-stream](https://github.com/tokio-rs/tokio) from 0.1.14 to
0.1.15.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/tokio/commit/7cfb1007969e3fcb28b03854f3126caeca93932e"><code>7cfb100</code></a>
chore: prepare tokio-stream v0.1.15 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6401">#6401</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/e37bd6385430620f850a644d58945ace541afb6e"><code>e37bd63</code></a>
io: implement <code>try_new</code> and <code>try_with_interest</code>
for <code>AsyncFd</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6345">#6345</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/c9e75785c84a441199992ed38e49aeba2f061a24"><code>c9e7578</code></a>
sync: remove <code>'static</code> bound on <code>impl Sink for
PollSender</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6397">#6397</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/3141ed62287043b5400e24ac930b002dc7d11d92"><code>3141ed6</code></a>
sync: update watch channel docs (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6395">#6395</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/ea1cfbdb97f524a1ae465c0f5454dd6690dd5e6e"><code>ea1cfbd</code></a>
sync: reorder const_new before new_with (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6392">#6392</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/fb2dc97468fead3c1d318f209a65648e11ade55d"><code>fb2dc97</code></a>
readme: update commit message guidelines (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6393">#6393</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/a3d2548789d22d4bf193a4614f229944270e912c"><code>a3d2548</code></a>
sync: implement <code>Clone</code> for <code>watch::Sender</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6388">#6388</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/b4ab6472de9a0708873c5f14f3b8de03b149a1c5"><code>b4ab647</code></a>
signal: fix typo in argument name (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6389">#6389</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/3133af42e123b9469dad292ae3a090da915d23c5"><code>3133af4</code></a>
runtime: make the <code>enter</code> example deterministic (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6351">#6351</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/1f924f95f12c362f5116c560acfa005149f110a1"><code>1f924f9</code></a>
chore: fix deprecated circleci image (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6379">#6379</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.14...tokio-stream-0.1.15">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio-stream&package-manager=cargo&previous-version=0.1.14&new-version=0.1.15)](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-05-27 23:47:56 -04:00
dependabot[bot] dbf724c15a Bump bytes from 1.5.0 to 1.6.0 (#333)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.5.0 to 1.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/bytes/releases">bytes's
releases</a>.</em></p>
<blockquote>
<h2>Bytes 1.6.0 (March 22, 2024)</h2>
<h3>Added</h3>
<ul>
<li>Add <code>Bytes::is_unique</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/643">#643</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>Fix changelog typo (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/628">#628</a>)</li>
<li>Fix some spelling mistakes (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/633">#633</a>)</li>
<li>Typo fix (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/637">#637</a>)</li>
<li>Fix broken links (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/639">#639</a>)</li>
<li>Add security policy (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/649">#649</a>)</li>
</ul>
<h3>Internal changes</h3>
<ul>
<li>Move comment to correct constant (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/629">#629</a>)</li>
<li>Various cleanup (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/635">#635</a>)</li>
<li>Simplify <code>UninitSlice::as_uninit_slice_mut()</code> logic (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/644">#644</a>)</li>
<li>Use <code>self.</code> instead of <code>Self::</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/642">#642</a>)</li>
<li><code>BytesMut</code>: Assert alignment of <code>Shared</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/652">#652</a>)</li>
<li>Remove unnecessary namespace qualifier (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/660">#660</a>)</li>
<li>Remove an unnecessary else branch (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/662">#662</a>)</li>
<li>Remove unreachable else branch (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/661">#661</a>)</li>
<li>make parameter mut in <code>From&lt;Vec&gt;</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/667">#667</a>)</li>
<li>Restore commented tests (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/665">#665</a>)</li>
<li>Use <code>sub</code> instead of <code>offset</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/668">#668</a>)</li>
<li>Calculate original capacity only if necessary (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/666">#666</a>)</li>
<li><code>set_vec_pos</code> does not need a second parameter (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/672">#672</a>)</li>
<li><code>get_vec_pos</code>: use <code>&amp;self</code> instead of
<code>&amp;mut self</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/670">#670</a>)</li>
<li>Refactor <code>split_at</code>/<code>split_to</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/663">#663</a>)</li>
<li>Use <code>Iterator</code> from the prelude (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/673">#673</a>)</li>
<li><code>copy_to_bytes</code>: Add panic section to docs (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/676">#676</a>)</li>
<li>Remove redundant reserve call (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/674">#674</a>)</li>
<li>Use <code>ManuallyDrop</code> instead of <code>mem::forget</code>
(<a
href="https://redirect.github.com/tokio-rs/bytes/issues/675">#675</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md">bytes's
changelog</a>.</em></p>
<blockquote>
<h1>1.6.0 (March 22, 2024)</h1>
<h3>Added</h3>
<ul>
<li>Add <code>Bytes::is_unique</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/643">#643</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>Fix changelog typo (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/628">#628</a>)</li>
<li>Fix some spelling mistakes (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/633">#633</a>)</li>
<li>Typo fix (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/637">#637</a>)</li>
<li>Fix broken links (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/639">#639</a>)</li>
<li>Add security policy (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/649">#649</a>)</li>
</ul>
<h3>Internal changes</h3>
<ul>
<li>Move comment to correct constant (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/629">#629</a>)</li>
<li>Various cleanup (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/635">#635</a>)</li>
<li>Simplify <code>UninitSlice::as_uninit_slice_mut()</code> logic (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/644">#644</a>)</li>
<li>Use <code>self.</code> instead of <code>Self::</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/642">#642</a>)</li>
<li><code>BytesMut</code>: Assert alignment of <code>Shared</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/652">#652</a>)</li>
<li>Remove unnecessary namespace qualifier (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/660">#660</a>)</li>
<li>Remove an unnecessary else branch (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/662">#662</a>)</li>
<li>Remove unreachable else branch (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/661">#661</a>)</li>
<li>make parameter mut in <code>From&lt;Vec&gt;</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/667">#667</a>)</li>
<li>Restore commented tests (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/665">#665</a>)</li>
<li>Use <code>sub</code> instead of <code>offset</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/668">#668</a>)</li>
<li>Calculate original capacity only if necessary (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/666">#666</a>)</li>
<li><code>set_vec_pos</code> does not need a second parameter (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/672">#672</a>)</li>
<li><code>get_vec_pos</code>: use <code>&amp;self</code> instead of
<code>&amp;mut self</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/670">#670</a>)</li>
<li>Refactor <code>split_at</code>/<code>split_to</code> (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/663">#663</a>)</li>
<li>Use <code>Iterator</code> from the prelude (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/673">#673</a>)</li>
<li><code>copy_to_bytes</code>: Add panic section to docs (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/676">#676</a>)</li>
<li>Remove redundant reserve call (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/674">#674</a>)</li>
<li>Use <code>ManuallyDrop</code> instead of <code>mem::forget</code>
(<a
href="https://redirect.github.com/tokio-rs/bytes/issues/675">#675</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/bytes/commit/ce8d8a0a029c0d296ade752ecc8c3e1ce9eee47f"><code>ce8d8a0</code></a>
chore: prepare bytes v1.6.0 (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/681">#681</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/536db06f168bdef967afbeac0561bf774e9a1315"><code>536db06</code></a>
Use ManuallyDrop instead of mem::forget (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/675">#675</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/ca004117f86afccd36148dee7c8413cfaf9de6a4"><code>ca00411</code></a>
Remove commented tests for Bytes::unsplit (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/677">#677</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/7968f6f83d17175683e04ce56aa48e44ed7d0d98"><code>7968f6f</code></a>
Remove redundant reserve call (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/674">#674</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/c5fae00c76dbd1af7ea7b6cde7a9281d82ee7cd2"><code>c5fae00</code></a>
copy_to_bytes: Add panic section to docs (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/676">#676</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/99584cc10d66cb6880a20c5ac9b9a960f9c17823"><code>99584cc</code></a>
Use Iterator from the prelude (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/673">#673</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/46289278f52a26c12298779f4aaebad1dcb26d35"><code>4628927</code></a>
Refactor split_at/split_to (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/663">#663</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/1bcd2129d195a0722d8b5b1a16c7d33698701f2e"><code>1bcd212</code></a>
get_vec_pos: use &amp;self instead of &amp;mut self (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/670">#670</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/f586ffc52589f01be1b4a44d6544b3d0226773d6"><code>f586ffc</code></a>
set_vec_pos does not need a second parameter (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/672">#672</a>)</li>
<li><a
href="https://github.com/tokio-rs/bytes/commit/c6972d61328be113ec8e80c207815a4b84fe616c"><code>c6972d6</code></a>
Calculate original capacity only if necessary (<a
href="https://redirect.github.com/tokio-rs/bytes/issues/666">#666</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/bytes/compare/v1.5.0...v1.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bytes&package-manager=cargo&previous-version=1.5.0&new-version=1.6.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-05-27 23:47:29 -04:00
dependabot[bot] f0af7aeae0 Bump actix from 0.13.1 to 0.13.3 (#334)
Bumps [actix](https://github.com/actix/actix) from 0.13.1 to 0.13.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actix/actix/releases">actix's
releases</a>.</em></p>
<blockquote>
<h2>actix: v0.13.3</h2>
<ul>
<li>No significant changes since <code>0.13.2</code>.</li>
</ul>
<h2>actix: v0.13.2</h2>
<ul>
<li>Expose <code>ContextFut::restart</code>.</li>
<li>Unquoted types are now allowed in the <code>#[rtype(result =
TYPE)]</code> position when type is a path.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actix/actix/commit/f3a3233b4674b3e2eed3c47412af997fbf1d6a81"><code>f3a3233</code></a>
chore(actix): prepare release 0.13.3</li>
<li><a
href="https://github.com/actix/actix/commit/e67b07825c0279e99679834c5794f599c2f087b2"><code>e67b078</code></a>
docs: idiomatic ActorFuture docs</li>
<li><a
href="https://github.com/actix/actix/commit/07baeb8584aa56fb5273956d46c4ee2c3b981b4c"><code>07baeb8</code></a>
chore(deps): bump codecov/codecov-action from 4.0.0 to 4.0.1 (<a
href="https://redirect.github.com/actix/actix/issues/579">#579</a>)</li>
<li><a
href="https://github.com/actix/actix/commit/4e7dab3446ffd3a0ee9e3f0bc76dde03fec73f45"><code>4e7dab3</code></a>
chore: use friendlier mod names</li>
<li><a
href="https://github.com/actix/actix/commit/a80964509dc8afb690fd872dfa894278b91a6784"><code>a809645</code></a>
docs: use intra-doc links in crate root</li>
<li><a
href="https://github.com/actix/actix/commit/9928306c07d8709e6870629d490b0ccfe46b18a5"><code>9928306</code></a>
chore(actix): prepare release 0.13.2</li>
<li><a
href="https://github.com/actix/actix/commit/fddd07512ccc1f2d8f31de2fc118d05fa9518fa8"><code>fddd075</code></a>
ci: standardize job names</li>
<li><a
href="https://github.com/actix/actix/commit/31b0f4b8dc14ad5583348a840e221b32e5278847"><code>31b0f4b</code></a>
ci: fix cargo-nextest install</li>
<li><a
href="https://github.com/actix/actix/commit/7d40ea52dcdafc51fa7e37b15a187c130bb28306"><code>7d40ea5</code></a>
ci: switch to nextest</li>
<li><a
href="https://github.com/actix/actix/commit/c0cf913af818378ae4d2ab75aacd03b0424231a3"><code>c0cf913</code></a>
chore: prevent dead code warnings</li>
<li>Additional commits viewable in <a
href="https://github.com/actix/actix/compare/actix-v0.13.1...actix-v0.13.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actix&package-manager=cargo&previous-version=0.13.1&new-version=0.13.3)](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-05-27 23:46:49 -04:00
Brandon Thomas 898fc5fdc5 revert actix-cors upgrade (caused test failures) 2024-05-26 04:10:33 -04:00
Brandon Thomas d139d89341 further cleanup of old code 2024-05-26 03:53:32 -04:00
Brandon Thomas 093525d04f Cleanup a lot of old junk; make repo more discoverable 2024-05-26 03:42:35 -04:00
Brandon Thomas d9dcb76c63 group studio queries 2024-05-26 03:31:47 -04:00
Brandon Thomas 04b95f0db3 reorganize sql queries 2024-05-26 03:26:59 -04:00
Brandon Thomas 46d7bed409 hack to preserve youtube urls 2024-05-25 19:12:05 -04:00
Brandon Thomas 67fcd65bcc fix tiktok user parsing 2024-05-25 16:19:35 -04:00
Brandon Thomas 58d7476d30 comments 2024-05-25 16:00:05 -04:00
Brandon Thomas a5e5375da6 markdown for beta key comments 2024-05-25 15:57:23 -04:00
Brandon Thomas 426760cd40 performant socials 2024-05-25 15:55:53 -04:00
Brandon Thomas fc8707202b markdown with socials (needs performance optimizations) 2024-05-25 15:41:38 -04:00
Brandon Thomas 8f96a7d86f edit distributed flag on beta keys 2024-05-25 13:55:34 -04:00
Brandon Thomas 1ba3c2dc1d edit beta key note handler 2024-05-25 11:57:00 -04:00
Brandon Thomas f79aea1ad1 actually upload bytes 2024-05-23 18:15:02 -04:00
Brandon Thomas 95b54bb377 fix bug: upload zip payload contents, not the zip 2024-05-23 18:09:29 -04:00
Brandon Thomas 81215edbca update rust version 2024-05-23 13:02:33 -04:00
dependabot[bot] 97a2adb2c4 Bump actix-cors from 0.6.4 to 0.7.0 (#330)
Bumps [actix-cors](https://github.com/actix/actix-extras) from 0.6.4 to
0.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actix/actix-extras/releases">actix-cors's
releases</a>.</em></p>
<blockquote>
<h2>actix-protobuf: v0.7.0</h2>
<ul>
<li>Update <code>actix-web</code> dependency to <code>4</code>.</li>
</ul>
<h2>actix-session: v0.7.0</h2>
<ul>
<li>Added <code>TtlExtensionPolicy</code> enum to support different
strategies for extending the TTL attached to the session state.
<code>TtlExtensionPolicy::OnEveryRequest</code> now allows for
long-lived sessions that do not expire if the user remains active. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li><code>SessionLength</code> is now called
<code>SessionLifecycle</code>. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li><code>SessionLength::Predetermined</code> is now called
<code>SessionLifecycle::PersistentSession</code>. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li>The fields for Both <code>SessionLength</code> variants have been
extracted into separate types (<code>PersistentSession</code> and
<code>BrowserSession</code>). All fields are now private, manipulated
via methods, to allow adding more configuration parameters in the future
in a non-breaking fashion. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li><code>SessionLength::Predetermined::max_session_length</code> is now
called <code>PersistentSession::session_ttl</code>. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li><code>SessionLength::BrowserSession::state_ttl</code> is now called
<code>BrowserSession::session_state_ttl</code>. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li><code>SessionMiddlewareBuilder::max_session_length</code> is now
called <code>SessionMiddlewareBuilder::session_lifecycle</code>. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li>The <code>SessionStore</code> trait requires the implementation of a
new method, <code>SessionStore::update_ttl</code>. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li>All types used to configure <code>SessionMiddleware</code> have been
moved to the <code>config</code> sub-module. <a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a></li>
<li>Update <code>actix</code> dependency to <code>0.13</code>.</li>
<li>Update <code>actix-redis</code> dependency to
<code>0.12</code>.</li>
<li>Minimum supported Rust version (MSRV) is now 1.57 due to transitive
<code>time</code> dependency.</li>
</ul>
<p><a
href="https://redirect.github.com/actix/actix-extras/issues/233">#233</a>:
<a
href="https://redirect.github.com/actix/actix-extras/pull/233">actix/actix-extras#233</a></p>
<h2>actix-web-httpauth: v0.7.0</h2>
<ul>
<li>Auth validator functions now need to return <code>(Error,
ServiceRequest)</code> in error cases. <a
href="https://redirect.github.com/actix/actix-extras/issues/260">#260</a></li>
<li>Minimum supported Rust version (MSRV) is now 1.57 due to transitive
<code>time</code> dependency.</li>
</ul>
<p><a
href="https://redirect.github.com/actix/actix-extras/issues/260">#260</a>:
<a
href="https://redirect.github.com/actix/actix-extras/pull/260">actix/actix-extras#260</a></p>
<h2>actix-settings: v0.7.0</h2>
<ul>
<li>The <code>ApplySettings</code> trait now includes a type parameter,
allowing multiple types to be implemented per configuration target.</li>
<li>Implement <code>ApplySettings</code> for
<code>ActixSettings</code>.</li>
<li><code>BasicSettings::from_default_template()</code> is now
infallible.</li>
<li>Rename <code>AtError =&gt; Error</code>.</li>
<li>Remove <code>AtResult</code> type alias.</li>
<li>Update <code>toml</code> dependency to <code>0.8</code>.</li>
<li>Remove <code>ioe</code> dependency; <code>std::io::Error</code> is
now used directly.</li>
<li>Remove <code>Clone</code> implementation for
<code>Error</code>.</li>
<li>Implement <code>Display</code> for <code>Error</code>.</li>
<li>Implement std's <code>Error</code> for <code>Error</code>.</li>
<li>Minimum supported Rust version (MSRV) is now 1.68.</li>
</ul>
<h2>actix-cors: v0.7.0</h2>
<ul>
<li><code>Cors</code> is now marked <code>#[must_use]</code>.</li>
<li>Default for <code>Cors::block_on_origin_mismatch</code> is now
false.</li>
<li>Minimum supported Rust version (MSRV) is now 1.75.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actix/actix-extras/commit/c62b271d9abd41815a83072b87cfd32d73a793c9"><code>c62b271</code></a>
chore(actix-cors): prepare release 0.7.0</li>
<li><a
href="https://github.com/actix/actix-extras/commit/320cbebc7e8fa42085c3cf029df30c602abe53f7"><code>320cbeb</code></a>
chore: fmt markdowns</li>
<li><a
href="https://github.com/actix/actix-extras/commit/0c859a96c8c6087e4404fc5fc80b85da993ae985"><code>0c859a9</code></a>
docs(cors): use cargo-rdme</li>
<li><a
href="https://github.com/actix/actix-extras/commit/d55fc6d7f5066ce50da9beeb770b0ab8503875c9"><code>d55fc6d</code></a>
fix!(cors): default block_on_origin_mismatch to false (<a
href="https://redirect.github.com/actix/actix-extras/issues/379">#379</a>)</li>
<li><a
href="https://github.com/actix/actix-extras/commit/e2bf50405545eade1e092af0a05af29891efb2ba"><code>e2bf504</code></a>
feat(session): use real async traits (<a
href="https://redirect.github.com/actix/actix-extras/issues/365">#365</a>)</li>
<li><a
href="https://github.com/actix/actix-extras/commit/77b8dcdf59e73cafd4dc0098f6131171d97a797d"><code>77b8dcd</code></a>
chore: clippy</li>
<li><a
href="https://github.com/actix/actix-extras/commit/b694c9317a01dc0bcea8cecee3bf1e9ded1b5d8d"><code>b694c93</code></a>
mark Cors builder as must_use</li>
<li><a
href="https://github.com/actix/actix-extras/commit/57eaad2ffe5cf9a407fb183a3ced054d90e3809d"><code>57eaad2</code></a>
build(deps): bump taiki-e/install-action from 2.23.1 to 2.23.7 (<a
href="https://redirect.github.com/actix/actix-extras/issues/377">#377</a>)</li>
<li><a
href="https://github.com/actix/actix-extras/commit/0cb0e28208a82ff9af53dd5e7bbe22c87c54d2b9"><code>0cb0e28</code></a>
ci: combine install steps</li>
<li><a
href="https://github.com/actix/actix-extras/commit/8049a75d9f8cc83211c4168f34f1f8acbf18f9a4"><code>8049a75</code></a>
ci: use cargo-ci-clean-cache</li>
<li>Additional commits viewable in <a
href="https://github.com/actix/actix-extras/compare/cors-v0.6.4...cors-v0.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actix-cors&package-manager=cargo&previous-version=0.6.4&new-version=0.7.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-05-23 12:41:19 -04:00
dependabot[bot] 03e14066a4 Bump image from 0.24.7 to 0.25.1 (#327)
Bumps [image](https://github.com/image-rs/image) from 0.24.7 to 0.25.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/image-rs/image/blob/main/CHANGES.md">image's
changelog</a>.</em></p>
<blockquote>
<h3>Version 0.25.1</h3>
<p>Bug fixes:</p>
<ul>
<li>Fixed corrupt JPEG output when attempting to encode images
containing an alpha
channel.</li>
<li>Only accept &quot;.ff&quot; file extension for farbfeld images.</li>
<li>Correct farbfeld feature flag for
<code>ImageFormat::{reading_enabled, writing_enabled}</code>.</li>
<li>Disable strict mode for JPEG decoder.</li>
<li>Add nasm feature to optionally enable faster AVIF encoding.</li>
</ul>
<h3>Version 0.25.0</h3>
<p>Breaking changes:</p>
<ul>
<li>Added <code>BufRead</code> + <code>Seek</code> bound on many
decoders.</li>
<li>Use <code>ExtendedColorType</code> instead of <code>ColorType</code>
when encoding.</li>
<li>Removed <code>ImageOutputFormat</code>,
<code>GenericImageView::bounds</code>, and several other
deprecated items.</li>
<li>Removed incremental decoding support and changed
<code>ImageDecoder</code> so the trait
is object safe.</li>
<li>Pixel types are now <code>repr(transparent)</code> rather than
<code>repr(C)</code>.</li>
<li>Made color_quant dependency optional.</li>
<li>Renamed some feature flags.</li>
</ul>
<p>Structural changes:</p>
<ul>
<li>Increased MSRV to 1.67.1</li>
</ul>
<p>Codec changes:</p>
<ul>
<li>Switched to image-webp for WebP encoding.</li>
<li>Switched to zune-jpeg for JPEG decoding.</li>
<li>Made the HDR decoder produce f32 images.</li>
<li>Removed DXT encoding and decoding support.</li>
</ul>
<h3>Version 0.24.9</h3>
<p>Structural changes:</p>
<ul>
<li>Relicense to MIT OR Apache-2.0</li>
<li>Increase MSRV 1.63.0</li>
</ul>
<p>New features:</p>
<ul>
<li>Support limits in PNG animation decoding.</li>
<li>Added offsets to SubImage to compensate for the now-deprecated
bounds call
from GenericImageView.</li>
</ul>
<p>Bug fixes:</p>
<ul>
<li>Correct limit tests for TIFF.</li>
<li>Avoid overflow in gif::Decoder::buffer_size.</li>
<li>Return error instead of using asssertion for Avif decoder
unsupported or
invalid bit depth.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/image-rs/image/commit/b7617037c8e05eb538c55799622855db37c26d3b"><code>b761703</code></a>
Release 0.25.1 (<a
href="https://redirect.github.com/image-rs/image/issues/2187">#2187</a>)</li>
<li><a
href="https://github.com/image-rs/image/commit/318ed0ab294d06060f74d3d843ef493bcb044476"><code>318ed0a</code></a>
Fix error string for unsupported color type (<a
href="https://redirect.github.com/image-rs/image/issues/2191">#2191</a>)</li>
<li><a
href="https://github.com/image-rs/image/commit/4594c80b3626076af128b7a853c8e5c5187f7a64"><code>4594c80</code></a>
Only accept .ff as path extension for Farbfeld (<a
href="https://redirect.github.com/image-rs/image/issues/2181">#2181</a>)</li>
<li><a
href="https://github.com/image-rs/image/commit/5c3d3db0d71970566ee15200ffb7141d1e729ea4"><code>5c3d3db</code></a>
Disable strict mode for JPEG decoder (<a
href="https://redirect.github.com/image-rs/image/issues/2183">#2183</a>)</li>
<li><a
href="https://github.com/image-rs/image/commit/73c7bfe8e26cef3df929fad76297f653d1c8decf"><code>73c7bfe</code></a>
fix: Correct the Farbfeld feature flag for
ImageFormat::{reading_enabled, wri...</li>
<li><a
href="https://github.com/image-rs/image/commit/d407e366e7c080d3757f83c4e120be7f9444b8e1"><code>d407e36</code></a>
Add nasm to optionally enable faster AVIF encoding</li>
<li><a
href="https://github.com/image-rs/image/commit/87cbef72bc2b07c67540baa6166ddab05bee2a45"><code>87cbef7</code></a>
Remove lingering references to ImageOutputFormat (<a
href="https://redirect.github.com/image-rs/image/issues/2176">#2176</a>)</li>
<li><a
href="https://github.com/image-rs/image/commit/c193acbf7b745b071f5617e269f0955ee97c25d3"><code>c193acb</code></a>
fix rgba8 image jpeg encode bug (<a
href="https://redirect.github.com/image-rs/image/issues/2169">#2169</a>)</li>
<li><a
href="https://github.com/image-rs/image/commit/fbd3f3e7cd0b327f71875cafc4f7012e929067aa"><code>fbd3f3e</code></a>
Remove JPEG size limits while parsing header (<a
href="https://redirect.github.com/image-rs/image/issues/2175">#2175</a>)</li>
<li><a
href="https://github.com/image-rs/image/commit/e8b7acb970857a7b397dddd4d62f31515ceaa4fc"><code>e8b7acb</code></a>
Mention DXT removal in changelog (<a
href="https://redirect.github.com/image-rs/image/issues/2166">#2166</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/image-rs/image/compare/v0.24.7...v0.25.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=image&package-manager=cargo&previous-version=0.24.7&new-version=0.25.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-05-23 12:39:35 -04:00
dependabot[bot] cacf0e9e9e Bump tempfile from 3.8.1 to 3.10.1 (#328)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.8.1 to
3.10.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md">tempfile's
changelog</a>.</em></p>
<blockquote>
<h2>3.10.1</h2>
<ul>
<li>Handle potential integer overflows in 32-bit systems when
seeking/truncating &quot;spooled&quot; temporary files past 4GiB
(2³²).</li>
<li>Handle a theoretical 32-bit overflow when generating a temporary
file name larger than 4GiB. Now it'll panic (on allocation failure)
rather than silently succeeding due to wraparound.</li>
</ul>
<p>Thanks to <a
href="https://github.com/stoeckmann"><code>@​stoeckmann</code></a> for
finding and fixing both of these issues.</p>
<h2>3.10.0</h2>
<ul>
<li>Drop <code>redox_syscall</code> dependency, we now use
<code>rustix</code> for Redox.</li>
<li>Add <code>Builder::permissions</code> for setting the permissions on
temporary files and directories (thanks to <a
href="https://github.com/Byron"><code>@​Byron</code></a>).</li>
<li>Update rustix to 0.38.31.</li>
<li>Update fastrand to 2.0.1.</li>
</ul>
<h2>3.9.0</h2>
<ul>
<li>Updates windows-sys to 0.52</li>
<li>Updates minimum rustix version to 0.38.25</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Stebalien/tempfile/commit/094c1151105ae4641f367d3ab50da7bbfad62eb4"><code>094c115</code></a>
chore: release 3.10.1</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/56c593477f84e6effd906c81fbc22b68b734c2ac"><code>56c5934</code></a>
Fix integer overflows and truncation (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/278">#278</a>)</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/5a949d6e75e5c559e09b5a865f534096199626b4"><code>5a949d6</code></a>
chore: 2021 edition (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/276">#276</a>)</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/61531eae61650f97961d12b36c49ddba50e204ae"><code>61531ea</code></a>
chore: release v3.10.0</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/e246c4a00438ed64f6e290911a5b886f25714e8d"><code>e246c4a</code></a>
chore: update deps (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/275">#275</a>)</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/4a05e47d3b912ef90054efb64b56132640dffb96"><code>4a05e47</code></a>
feat: Add <code>Builder::permissions()</code> method. (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/273">#273</a>)</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/184ab8f5ca6f6019692d875c5407c31e53e268cc"><code>184ab8f</code></a>
fix: drop redox_syscall dependency (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/272">#272</a>)</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/fb313e01bc9568137c3e873db9ea267b93c22184"><code>fb313e0</code></a>
chore: release 3.9.0</li>
<li><a
href="https://github.com/Stebalien/tempfile/commit/709a62a299f17b81ef4e6582a694f8d11d4b5d6e"><code>709a62a</code></a>
Update <code>windows-sys</code> 0.52 (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/265">#265</a>)</li>
<li>See full diff in <a
href="https://github.com/Stebalien/tempfile/compare/v3.8.1...v3.10.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tempfile&package-manager=cargo&previous-version=3.8.1&new-version=3.10.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-05-23 12:38:54 -04:00
dependabot[bot] ea1c092625 Bump anyhow from 1.0.75 to 1.0.86 (#326)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.75 to 1.0.86.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/anyhow/releases">anyhow's
releases</a>.</em></p>
<blockquote>
<h2>1.0.86</h2>
<ul>
<li>Fix parse error in <code>ensure!</code> with non-literal after minus
sign (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/373">#373</a>)</li>
</ul>
<h2>1.0.85</h2>
<ul>
<li>Improve <code>ensure!</code> macro's rules to unblock some rustc
pretty-printer improvements (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/368">#368</a>,
<a
href="https://redirect.github.com/dtolnay/anyhow/issues/371">#371</a>)</li>
</ul>
<h2>1.0.84</h2>
<ul>
<li>Disallow calling <code>ensure!</code> through a <code>Not</code>
impl for a type that is not <code>bool</code> (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/367">#367</a>)</li>
</ul>
<h2>1.0.83</h2>
<ul>
<li>Integrate compile-time checking of cfgs (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/363">#363</a>)</li>
</ul>
<h2>1.0.82</h2>
<ul>
<li>Documentation improvements</li>
</ul>
<h2>1.0.81</h2>
<ul>
<li>Make backtrace support available when using -Dwarnings (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/354">#354</a>)</li>
</ul>
<h2>1.0.80</h2>
<ul>
<li>Fix unused_imports warnings when compiled by rustc 1.78</li>
</ul>
<h2>1.0.79</h2>
<ul>
<li>Work around improperly cached build script result by sccache (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/340">#340</a>)</li>
</ul>
<h2>1.0.78</h2>
<ul>
<li>Reduce spurious rebuilds under RustRover IDE when using a nightly
toolchain (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/337">#337</a>)</li>
</ul>
<h2>1.0.77</h2>
<ul>
<li>Make <code>anyhow::Error::backtrace</code> available on stable Rust
compilers 1.65+ (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/293">#293</a>,
thanks <a
href="https://github.com/LukasKalbertodt"><code>@​LukasKalbertodt</code></a>)</li>
</ul>
<h2>1.0.76</h2>
<ul>
<li>Opt in to <code>unsafe_op_in_unsafe_fn</code> lint (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/329">#329</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dtolnay/anyhow/commit/8ea1819c4c7829d0eb09e54a52806f382b8d445b"><code>8ea1819</code></a>
Release 1.0.86</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/0a1b405631348f38b780255ac78c86a87536feb6"><code>0a1b405</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/373">#373</a>
from dtolnay/minusneg</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/e0c74f26517944f4758da61079a16d88600d37c4"><code>e0c74f2</code></a>
Ensure $:literal never matches negative literal</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/013c66e92b4ec59d2c6fa224661a85e63b28f782"><code>013c66e</code></a>
Fix parse error with non-literal after minus sign</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/ca7aff727bfd95422dfed63d12a9b499684b6d7b"><code>ca7aff7</code></a>
Add binary operator ensure tests</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/2737bbeb59f50651ff54ca3d879a3f5d659a98ab"><code>2737bbe</code></a>
Release 1.0.85</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/82b8b343893387fdb56c2816bf156139adbaed03"><code>82b8b34</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/371">#371</a>
from dtolnay/split</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/ad78d70db3da4923f4d37a4a40f7b5850ec6e52e"><code>ad78d70</code></a>
Preserve more token spans in expression parser</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/5cce406efa91fc60adb5367cdda8ddd169a41709"><code>5cce406</code></a>
Parse comparison operators before other binary operators</li>
<li><a
href="https://github.com/dtolnay/anyhow/commit/72053946780a4abad68057ec2ec426a6fd7829f3"><code>7205394</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/369">#369</a>
from dtolnay/tokensplit</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.86">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.75&new-version=1.0.86)](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-05-23 12:38:22 -04:00
Brandon Thomas 91f114eaec safer code 2024-05-23 12:29:42 -04:00
Brandon Thomas ee8d044bb8 require moderator for pmx 2024-05-23 12:26:20 -04:00
Brandon Thomas 639b1bdc90 docs 2024-05-23 12:03:10 -04:00
Brandon Thomas 7171cbcbe0 upload pmx to correct paths 2024-05-23 09:17:51 -04:00
Brandon Thomas 79a776f1d4 remove parent directory 2024-05-23 09:01:39 -04:00
Brandon Thomas 74cd9b4a0d cleanup 2024-05-23 08:42:49 -04:00
Brandon Thomas 4e261bd469 docs on pmx 2024-05-23 08:15:44 -04:00
Brandon Thomas 3d074b4596 upload pmx zip files 2024-05-23 08:12:58 -04:00
Brandon Thomas 2e8cf5a876 new session recording endpoint 2024-05-23 05:44:39 -04:00
Brandon Thomas d5f42e39e5 switch beta keys to index pagination rather than encrypted cursors 2024-05-23 03:55:31 -04:00
Brandon Thomas a9332722e2 list beta key fields 2024-05-23 01:47:37 -04:00
Brandon Thomas bcbffccc09 add notes to beta keys on creation 2024-05-23 01:43:36 -04:00
Brandon Thomas c3b3fef10c browser session logs table 2024-05-23 01:36:56 -04:00
Brandon Thomas c31695ca07 migration for beta keys - is_distributed 2024-05-23 01:01:18 -04:00
Brandon Thomas 605711a36c migrations for beta keys 2024-05-23 00:01:37 -04:00
Brandon Thomas ad19b1e719 additional debugging 2024-05-21 22:18:35 -04:00
Brandon Thomas b4ff35e33a report args 2024-05-21 22:10:38 -04:00
Brandon Thomas 358742a169 lipsync parameter for comfy 2024-05-21 21:39:27 -04:00
Brandon Thomas 26ce90f66f retain trimmed copy of video 2024-05-21 18:17:02 -04:00
Brandon Thomas 436c892930 set featured items public 2024-05-21 13:21:00 -04:00
Brandon Thomas 46b0de8250 record duration in prompt 2024-05-20 21:53:20 -04:00
Brandon Thomas 3ad0126fb5 store strength 2024-05-20 21:35:23 -04:00
Brandon Thomas 328e1429fb analytics queries 2024-05-20 20:54:31 -04:00
Brandon Thomas 11e2921b63 update analytics queries 2024-05-20 20:00:57 -04:00
Brandon Thomas 98f1e20bdd more debugging comfyui 2024-05-20 17:47:08 -04:00
Brandon Thomas cc5e61f495 sleep after job for debugging 2024-05-20 16:48:12 -04:00
Brandon Thomas 201215d0c9 cleanup logging 2024-05-20 15:23:52 -04:00
Brandon Thomas d14400289a clear session cache after beta key enroll 2024-05-20 15:11:34 -04:00
Brandon Thomas 836b4396f9 debug salt's workflow 2024-05-20 14:45:06 -04:00
Brandon Thomas e040ef68ee fix docs 2024-05-19 19:02:47 -04:00
Brandon Thomas d9527c8889 optimize imports 2024-05-19 18:28:16 -04:00
Brandon Thomas a84a27cf5a make transactional 2024-05-19 18:24:17 -04:00
Brandon Thomas 45e5ceb2ff reuse old unused feature flag column for analytics 2024-05-19 18:21:38 -04:00
Brandon Thomas 48cb89f9ed update docs 2024-05-19 17:59:37 -04:00
Brandon Thomas 5997dd9eff frontend is reading dead fields - fix 2024-05-19 17:58:07 -04:00
Brandon Thomas 829c3a0f1c docs 2024-05-18 23:58:31 -04:00
Brandon Thomas 8edb11796e fixup api docs 2024-05-17 01:05:11 -07:00
Brandon Thomas 293070cb17 rate limit key redeem 2024-05-16 23:26:21 -07:00
Brandon Thomas 0c8ef1c2ae report face detailing + upscaling on get prompt 2024-05-16 16:07:56 -07:00
Brandon Thomas c038199109 stupid fix 2024-05-16 14:58:13 -07:00
Brandon Thomas 639a02c8f9 debug 2024-05-16 14:40:44 -07:00
Brandon Thomas f09ec32aee creator user in beta key endpoint 2024-05-16 14:37:59 -07:00
Brandon Thomas 622c63a335 note 2024-05-16 13:59:33 -07:00
Brandon Thomas d74c794100 record who created a beta key 2024-05-16 13:34:00 -07:00
Brandon Thomas 979a8de5ae add creator to beta keys schema 2024-05-16 13:30:47 -07:00
Brandon Thomas d08ec99250 squashed beta keys file 2024-05-16 13:26:18 -07:00
Brandon Thomas c0e7d8926f more media file fields 2024-05-16 13:13:58 -07:00
Brandon Thomas 502db04b4b beta keys 2024-05-16 10:59:22 -07:00
dependabot[bot] 0c9bfe24cd Bump crossbeam-utils from 0.8.16 to 0.8.19 (#272)
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from
0.8.16 to 0.8.19.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/crossbeam-rs/crossbeam/releases">crossbeam-utils's
releases</a>.</em></p>
<blockquote>
<h2>crossbeam-utils 0.8.19</h2>
<ul>
<li>Remove dependency on <code>cfg-if</code>. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1072">#1072</a>)</li>
</ul>
<h2>crossbeam-utils 0.8.18</h2>
<ul>
<li>Relax the minimum supported Rust version to 1.60. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1056">#1056</a>)</li>
<li>Improve scalability of <code>AtomicCell</code> fallback. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1055">#1055</a>)</li>
</ul>
<h2>crossbeam-utils 0.8.17</h2>
<ul>
<li>Bump the minimum supported Rust version to 1.61. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1037">#1037</a>)</li>
<li>Improve support for targets without atomic CAS or 64-bit atomic. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1037">#1037</a>)</li>
<li>Always implement <code>UnwindSafe</code> and
<code>RefUnwindSafe</code> for <code>AtomicCell</code>. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1045">#1045</a>)</li>
<li>Improve compatibility with Miri, TSan, and loom. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/995">#995</a>,
<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1003">#1003</a>)</li>
<li>Improve compatibility with unstable <code>oom=panic</code>. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1045">#1045</a>)</li>
<li>Improve implementation of <code>CachePadded</code>. (<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1014">#1014</a>,
<a
href="https://redirect.github.com/crossbeam-rs/crossbeam/issues/1025">#1025</a>)</li>
<li>Update <code>loom</code> dependency to 0.7.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/9c3182abebb36bdc9446d75d4644190fef70fa01"><code>9c3182a</code></a>
Prepare for the next release</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/35a55d2cc0142237e3c30af5fd49f5469384725c"><code>35a55d2</code></a>
Remove dependency on cfg-if</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/0935295488ea38e0194c28a6a359a61386e8d253"><code>0935295</code></a>
epoch: Remove unused autocfg dependency</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/e02133bcfb430e50283470324032c2c4ed187611"><code>e02133b</code></a>
Use const thread_local</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/5a15fc28e987a6ebfc341a8293a93dc3da228468"><code>5a15fc2</code></a>
More correct buffer allocation</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/7389cdf77ff6112957fd0708d2bedeec7da4765e"><code>7389cdf</code></a>
ci: Remove scripts that call single command</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/4ef4f09a8963f2da3eaa0b1d1cee8b4a67116513"><code>4ef4f09</code></a>
Ignore dead_code warnings for tuple structs</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/95d0bd04624473b546826fdb97f10abe849443e4"><code>95d0bd0</code></a>
Prepare for the next release</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/65f0b07427424cec6d8d6d954f500575c9d12ad8"><code>65f0b07</code></a>
Automatically cancel outdated CI runs on PR</li>
<li><a
href="https://github.com/crossbeam-rs/crossbeam/commit/ecc994e283397f1e8662cab5dc924faeb2e893ca"><code>ecc994e</code></a>
Update compile_fail doctest</li>
<li>Additional commits viewable in <a
href="https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.16...crossbeam-utils-0.8.19">compare
view</a></li>
</ul>
</details>
<br />


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

You can trigger a rebase of this PR 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>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 08:54:23 -07:00
dependabot[bot]andBrandon Thomas dc4ac0c37e Bump time from 0.1.45 to 0.3.30 (#324)
Bumps [time](https://github.com/time-rs/time) from 0.1.45 to 0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/time-rs/time/releases">time's
releases</a>.</em></p>
<blockquote>
<h2>v0.3.30</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.29</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.28</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.27</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.26</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.25</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.24</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.23</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.22</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.21</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.20</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.19</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.18</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.17</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.16</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.15</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<h2>v0.3.14</h2>
<p>See the <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a>
for details.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's
changelog</a>.</em></p>
<blockquote>
<h2>0.3.30 [2023-10-13]</h2>
<h3>Added</h3>
<ul>
<li><code>powerfmt::smart_display::SmartDisplay</code> has been added
for the main types in the library. These
implementations ensure that values follow the requested fill, width, and
alignment when using
<code>format!</code> or similar macros. <code>Display</code> is
implemented in terms of <code>SmartDisplay</code>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Large values no longer wrap around in release mode when using
<code>NumericalDuration</code> or
<code>NumericalStdDuration</code>.</li>
</ul>
<h2>0.3.29 [2023-09-24]</h2>
<h3>Added</h3>
<ul>
<li>Niche value optimization for <code>Date</code> has been added. Both
<code>Date</code> and <code>Option&lt;Date&gt;</code> are four
bytes.</li>
<li>Unit conversions have been added. It is now possible to write
<code>Second::per(Day)</code>, which returns
the number of seconds in one day. See the types in the <a
href="https://time-rs.github.io/api/time/convert/index.html"><code>time::convert</code>
module</a> for more
information.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The diagnostic for <code>--cfg unsound_local_offset</code> has been
removed.</li>
<li><code>#![feature(no_coverage)]</code> was previously used internally
for code coverage. It is no longer used,
so it has been removed.</li>
<li>The default value for <code>modifier::OffsetHour</code> has been
changed. This was unintentionally changed in
v0.3.17 and went unnoticed until now. The sign is now only present if
needed by default, as was
the case previously. This does not affect any situation where
<code>format_description!</code> or
<code>format_description::parse</code> is used.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Adding or subtracting a <code>std::time::Duration</code> to/from an
<code>OffsetDateTime</code> will not result in
integer overflow internally. It will still panic if the result is out of
range.</li>
</ul>
<h2>0.3.28 [2023-08-27]</h2>
<h3>Added</h3>
<ul>
<li>More additional constants for the well-known <code>Iso8601</code>
format description have been added. This
avoids the need to manually configure the format.</li>
<li>An <code>[end]</code> component has been added. This is ignored
during formatting, but is used to indicate
the end of input when parsing. If any input remains after this
component, an error is returned.
This is useful when using the <code>[first]</code> component, as it
avoids the need to reorder variants.</li>
</ul>
<h3>Changed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/time-rs/time/commits/v0.3.30">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=time&package-manager=cargo&previous-version=0.1.45&new-version=0.3.30)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/storytold/storyteller-rust/network/alerts).

</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2024-05-16 08:54:10 -07:00
dependabot[bot] 86aaef06be Bump windows-sys from 0.48.0 to 0.52.0 (#221)
Bumps [windows-sys](https://github.com/microsoft/windows-rs) from 0.48.0
to 0.52.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/windows-rs/releases">windows-sys's
releases</a>.</em></p>
<blockquote>
<h2>0.52.0</h2>
<p>This release includes updates to all crates. This includes the first
update to the <code>windows-sys</code> crate in 8 months. It also
includes the first published version of the <a
href="https://crates.io/crates/riddle">riddle</a> tool and the <a
href="https://crates.io/crates/windows-version">windows-version</a>
crate.</p>
<h2>What's Changed</h2>
<ul>
<li>Simplify issue templates by <a
href="https://github.com/riverar"><code>@​riverar</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2621">microsoft/windows-rs#2621</a></li>
<li>Switch all crates to Rust edition 2021 by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2620">microsoft/windows-rs#2620</a></li>
<li>Correct workflow trigger ignore paths by <a
href="https://github.com/riverar"><code>@​riverar</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2622">microsoft/windows-rs#2622</a></li>
<li>Detect unused <code>bindgen</code>/<code>riddle</code> filters by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2634">microsoft/windows-rs#2634</a></li>
<li>Fix <code>BOOLEAN</code> parameter binding by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2635">microsoft/windows-rs#2635</a></li>
<li>Provide individual crate readme files by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2645">microsoft/windows-rs#2645</a></li>
<li>Tweak Win32 error code conversion to handle <code>HRESULT</code>
input by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2646">microsoft/windows-rs#2646</a></li>
<li>Remove support for the defunct <code>StaticLibrary</code> attribute
by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a>
in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2647">microsoft/windows-rs#2647</a></li>
<li>Derive <code>PartialEq</code>, <code>Eq</code>, <code>Debug</code>,
<code>Clone</code> for interfaces by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2651">microsoft/windows-rs#2651</a></li>
<li>Internal <code>bindgen</code> refactoring by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2654">microsoft/windows-rs#2654</a></li>
<li>Disable signature transformation for <code>NTSTATUS</code> by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2658">microsoft/windows-rs#2658</a></li>
<li>Unhide <code>query</code> method on <code>ComInterface</code> trait
by <a href="https://github.com/kennykerr"><code>@​kennykerr</code></a>
in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2659">microsoft/windows-rs#2659</a></li>
<li>Harden <code>QueryInterface</code> implementation by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2660">microsoft/windows-rs#2660</a></li>
<li>Mask non-reproducible linker artifacts in libs by <a
href="https://github.com/riverar"><code>@​riverar</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2661">microsoft/windows-rs#2661</a></li>
<li>Slim doc generation by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2671">microsoft/windows-rs#2671</a></li>
<li>Update SDK and WDK metadata by <a
href="https://github.com/riverar"><code>@​riverar</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2664">microsoft/windows-rs#2664</a></li>
<li>Add feature documentation quotes by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2675">microsoft/windows-rs#2675</a></li>
<li>Add <code>docs</code> feature by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2676">microsoft/windows-rs#2676</a></li>
<li>Simplify metadata reader by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2682">microsoft/windows-rs#2682</a></li>
<li>Add bindgen config option to disable generating inner attributes by
<a href="https://github.com/dpaoliello"><code>@​dpaoliello</code></a> in
<a
href="https://redirect.github.com/microsoft/windows-rs/pull/2683">microsoft/windows-rs#2683</a></li>
<li>Simplify metadata filtering by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2684">microsoft/windows-rs#2684</a></li>
<li>Simplify code generation by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2686">microsoft/windows-rs#2686</a></li>
<li>Fix link from docs.rs to full API documentation by <a
href="https://github.com/ChrisDenton"><code>@​ChrisDenton</code></a> in
<a
href="https://redirect.github.com/microsoft/windows-rs/pull/2688">microsoft/windows-rs#2688</a></li>
<li>Optimize tick trimming by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2689">microsoft/windows-rs#2689</a></li>
<li>Small bindgen refactor and tools refresh by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2695">microsoft/windows-rs#2695</a></li>
<li>Document <code>implement</code> and <code>interface</code> macros by
<a href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in
<a
href="https://redirect.github.com/microsoft/windows-rs/pull/2696">microsoft/windows-rs#2696</a></li>
<li>Perform checked integral type conversions for APIs by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2699">microsoft/windows-rs#2699</a></li>
<li>Add <code>windows-version</code> crate by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2702">microsoft/windows-rs#2702</a></li>
<li>Add crate-specific readme files by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2703">microsoft/windows-rs#2703</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/dpaoliello"><code>@​dpaoliello</code></a> made
their first contribution in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2683">microsoft/windows-rs#2683</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/microsoft/windows-rs/compare/0.48.5...0.52.0">https://github.com/microsoft/windows-rs/compare/0.48.5...0.52.0</a></p>
<h2>0.51.1</h2>
<p>This is mainly for publishing an update of the
<code>windows-bindgen</code> crate but also fixes a few minor readme and
version issues to avoid confusion.</p>
<ul>
<li>The <code>windows</code> and <code>windows-core</code> crates are
updated to 0.51.1 to update the readme but are otherwise unchanged.</li>
<li>The <code>windows-targets</code> crate and arch-specific crates are
updated to 0.48.3 to update the readme and bring the lib file names in
line with the crate version.</li>
</ul>
<p>Those are all semver-compatible updates.</p>
<ul>
<li>The <code>windows-bindgen</code> crate is updated to 0.51.1 and
includes the new riddle-based metadata processing capabilities and is
compatible with the <code>windows</code> and <code>windows-core</code>
crates.</li>
<li>The <code>windows-metadata</code> crate is updated to 0.51.1 and
includes many refinements but is largely for internal use.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/windows-rs/commit/3a605cba064b26f2a198ac58085f8c8836f47c38"><code>3a605cb</code></a>
Add crate-specific readme files (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2703">#2703</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/a80df1e5c610b2da75401337a8e4d5b1b29c86c2"><code>a80df1e</code></a>
Add <code>windows-version</code> crate (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2702">#2702</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/c70019f5126555754e02358758b5a24f2100db85"><code>c70019f</code></a>
Perform checked integral type conversions for APIs (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2699">#2699</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/1a2a9920df38678d1be4c6a6a6d43489a30ef4e9"><code>1a2a992</code></a>
Document <code>implement</code> and <code>interface</code> macros (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2696">#2696</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/ab614778927ee5e3e37acabd64f6a1f38347d2f3"><code>ab61477</code></a>
Small bindgen refactor and tools refresh (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2695">#2695</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/f6fe766c3a8edf58afdfa69c273108052c9b9b32"><code>f6fe766</code></a>
Optimize tick trimming (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2689">#2689</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/ec66a9b75fefa52eef0a1baf83aa11efad27046e"><code>ec66a9b</code></a>
Fix link from docs.rs to full API documentation (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2688">#2688</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/30e0fbb8937c2a6af5f16efc7761e366f407d1cc"><code>30e0fbb</code></a>
Simplify code generation (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2686">#2686</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/22de1c9640032c31cd7b82c7376d60122d17f776"><code>22de1c9</code></a>
Simplify metadata filtering (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2684">#2684</a>)</li>
<li><a
href="https://github.com/microsoft/windows-rs/commit/462f9415df46cf3cc3483649e375d7665544d3be"><code>462f941</code></a>
Add bindgen config option to disable generating inner attributes (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/2683">#2683</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/windows-rs/compare/0.48.0...0.52.0">compare
view</a></li>
</ul>
</details>
<br />


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

You can trigger a rebase of this PR 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>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 08:38:38 -07:00
dependabot[bot] a7454733ed Bump h2 from 0.3.22 to 0.3.26 (#323)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.22 to 0.3.26.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/h2/releases">h2's
releases</a>.</em></p>
<blockquote>
<h2>v0.3.26</h2>
<h2>What's Changed</h2>
<ul>
<li>Limit number of CONTINUATION frames for misbehaving
connections.</li>
</ul>
<p>See <a
href="https://seanmonstar.com/blog/hyper-http2-continuation-flood/">https://seanmonstar.com/blog/hyper-http2-continuation-flood/</a>
for more info.</p>
<h2>v0.3.25</h2>
<h2>What's Changed</h2>
<ul>
<li>perf: optimize header list size calculations by <a
href="https://github.com/Noah-Kennedy"><code>@​Noah-Kennedy</code></a>
in <a
href="https://redirect.github.com/hyperium/h2/pull/750">hyperium/h2#750</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/hyperium/h2/compare/v0.3.24...v0.3.25">https://github.com/hyperium/h2/compare/v0.3.24...v0.3.25</a></p>
<h2>v0.3.24</h2>
<h2>Fixed</h2>
<ul>
<li>Limit error resets for misbehaving connections.</li>
</ul>
<h2>v0.3.23</h2>
<h2>What's Changed</h2>
<ul>
<li>cherry-pick fix: streams awaiting capacity lockout in <a
href="https://redirect.github.com/hyperium/h2/pull/734">hyperium/h2#734</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md">h2's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.26 (April 3, 2024)</h1>
<ul>
<li>Limit number of CONTINUATION frames for misbehaving
connections.</li>
</ul>
<h1>0.3.25 (March 15, 2024)</h1>
<ul>
<li>Improve performance decoding many headers.</li>
</ul>
<h1>0.3.24 (January 17, 2024)</h1>
<ul>
<li>Limit error resets for misbehaving connections.</li>
</ul>
<h1>0.3.23 (January 10, 2024)</h1>
<ul>
<li>Backport fix from 0.4.1 for stream capacity assignment.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/hyperium/h2/commit/357127e279c06935830fe2140378312eac801494"><code>357127e</code></a>
v0.3.26</li>
<li><a
href="https://github.com/hyperium/h2/commit/1a357aaefc7243fdfa9442f45d90be17794a4004"><code>1a357aa</code></a>
fix: limit number of CONTINUATION frames allowed</li>
<li><a
href="https://github.com/hyperium/h2/commit/5b6c9e0da092728d702dff3607626aafb7809d77"><code>5b6c9e0</code></a>
refactor: cleanup new unused warnings (<a
href="https://redirect.github.com/hyperium/h2/issues/757">#757</a>)</li>
<li><a
href="https://github.com/hyperium/h2/commit/3a798327211345b9b2bf797e2e4f3aca4e0ddfee"><code>3a79832</code></a>
v0.3.25</li>
<li><a
href="https://github.com/hyperium/h2/commit/94e80b1c72bec282bb5d13596803e6fb341fec4c"><code>94e80b1</code></a>
perf: optimize header list size calculations (<a
href="https://redirect.github.com/hyperium/h2/issues/750">#750</a>)</li>
<li><a
href="https://github.com/hyperium/h2/commit/7243ab5854b2375213a5a2cdfd543f1d669661e2"><code>7243ab5</code></a>
Prepare v0.3.24</li>
<li><a
href="https://github.com/hyperium/h2/commit/d919cd6fd8e0f4f5d1f6282fab0b38a1b4bf999c"><code>d919cd6</code></a>
streams: limit error resets for misbehaving connections</li>
<li><a
href="https://github.com/hyperium/h2/commit/a7eb14a487c0094187314fca63cfe4de4d3d78ef"><code>a7eb14a</code></a>
v0.3.23</li>
<li><a
href="https://github.com/hyperium/h2/commit/b668c7fbe22e0cb4a76b0a67498cbb4d0aacbc75"><code>b668c7f</code></a>
fix: streams awaiting capacity lockout (<a
href="https://redirect.github.com/hyperium/h2/issues/730">#730</a>) (<a
href="https://redirect.github.com/hyperium/h2/issues/734">#734</a>)</li>
<li>See full diff in <a
href="https://github.com/hyperium/h2/compare/v0.3.22...v0.3.26">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=h2&package-manager=cargo&previous-version=0.3.22&new-version=0.3.26)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/storytold/storyteller-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 08:37:46 -07:00
dependabot[bot] bfeeb06479 Bump whoami from 1.4.1 to 1.5.1 (#325)
Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md">whoami's
changelog</a>.</em></p>
<blockquote>
<h2>[1.5.1] - 2024-03-09</h2>
<h3>Fixed</h3>
<ul>
<li>Broken link in docs</li>
</ul>
<h2>[1.5.0] - 2024-03-03</h2>
<h3>Added</h3>
<ul>
<li>WASI support</li>
<li>Redox support</li>
<li>Fallible functions
<ul>
<li><code>whoami::fallible::devicename()</code></li>
<li><code>whoami::fallible::devicename_os()</code></li>
<li><code>whoami::fallible::distro()</code></li>
<li><code>whoami::fallible::hostname()</code> - notably doesn't
normalize to lowercase</li>
<li><code>whoami::fallible::realname()</code></li>
<li><code>whoami::fallible::realname_os()</code></li>
<li><code>whoami::fallible::username()</code></li>
<li><code>whoami::fallible::username_os()</code></li>
</ul>
</li>
<li><code>whoami::Language</code></li>
<li><code>whoami::Country</code></li>
<li><code>whoami::langs()</code></li>
<li><code>whoami::fallible::account()</code></li>
<li><code>whoami::fallible::account_os()</code></li>
<li><code>whoami::DesktopEnv::is_gtk()</code></li>
<li><code>whoami::DesktopEnv::is_kde()</code></li>
</ul>
<h3>Removed</h3>
<ul>
<li>Generated device names that infer casing based on the hostname when
the
device name is not available - now returns the hostname unchanged</li>
<li>Partial (potentially unsound) support for Android, iOS, watchOS,
tvOS,
Fuchsia, Haiku, Solaris, and a few others. These targets now use the
&quot;fake&quot;
implementation.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Deprecated <code>whoami::distro_os()</code></li>
<li>Deprecated <code>whoami::hostname()</code></li>
<li>Deprecated <code>whoami::hostname_os()</code></li>
<li>Deprecated <code>whoami::lang()</code></li>
<li>illumos and Redox are no longer untested targets</li>
<li>Documented that illumos and Redox have a higher MSRV (Rust 1.65)
than other
targets</li>
<li>Display implementation on <code>Platform::Illumos</code> now
displays in lowercase:
illumos</li>
</ul>
<h3>Fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ardaku/whoami/commit/74a0c3b8b834d8f100dad20b266178fef40e0760"><code>74a0c3b</code></a>
Prepare to release whoami 1.5.1 (<a
href="https://redirect.github.com/ardaku/whoami/issues/109">#109</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/7789b3f9dd1bb869b50893c5fea798c00b4a1f9a"><code>7789b3f</code></a>
Backport v2 -&gt; v1: Test docs in CI (<a
href="https://redirect.github.com/ardaku/whoami/issues/108">#108</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/4bbaf5201b29d8d5f9f9917524020ad15ed88983"><code>4bbaf52</code></a>
Prevent future potential UB in unix wrapper for <code>getpwuid()</code>
(<a
href="https://redirect.github.com/ardaku/whoami/issues/104">#104</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/358dc0ef16960beafdf14f89198616b0f378b884"><code>358dc0e</code></a>
WhoAmI 1.5.0 Release (<a
href="https://redirect.github.com/ardaku/whoami/issues/94">#94</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/d6ee13ed9e818aa51b8d86d95e8009a376289a40"><code>d6ee13e</code></a>
Fix Instances of Memory Corruption on Illumos (<a
href="https://redirect.github.com/ardaku/whoami/issues/93">#93</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/953e702c0b24789a359a4027818af53bcb979db6"><code>953e702</code></a>
Support Redox (<a
href="https://redirect.github.com/ardaku/whoami/issues/92">#92</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/5bc73e4e6375a22e6b71300e0befc9cf4c97c278"><code>5bc73e4</code></a>
Preserve OS case for hostnames (<a
href="https://redirect.github.com/ardaku/whoami/issues/86">#86</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/29d5f2210339aa487073a3372876c0a498e46379"><code>29d5f22</code></a>
Support WASI (<a
href="https://redirect.github.com/ardaku/whoami/issues/84">#84</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/d7885e7c75d9a59ab3d2f5dceb82d46399c7dd7b"><code>d7885e7</code></a>
Add <code>Target</code> trait for implementing new targets (<a
href="https://redirect.github.com/ardaku/whoami/issues/80">#80</a>)</li>
<li><a
href="https://github.com/ardaku/whoami/commit/e3da4c56f9df876f01baea5e8fde6d1a0ac60ae9"><code>e3da4c5</code></a>
Add <code>langs()</code> function, deprecate <code>lang()</code> (<a
href="https://redirect.github.com/ardaku/whoami/issues/78">#78</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/ardaku/whoami/compare/v1.4.1...v1.5.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=whoami&package-manager=cargo&previous-version=1.4.1&new-version=1.5.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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/storytold/storyteller-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 08:37:14 -07:00
Brandon Thomas 220d1d2698 update hakari 2024-05-16 08:34:58 -07:00
Brandon Thomas 54e1ca4e3e manage dependencies 2024-05-16 08:29:24 -07:00
Brandon Thomas 7c9daed937 dependency fix script 2024-05-16 08:23:58 -07:00
Brandon Thomas e440a338b3 unused dependencies 2024-05-16 08:23:42 -07:00
Brandon Thomas fd1a37d7f3 mark dependencies 2024-05-16 08:01:52 -07:00
Brandon Thomas ebdf97f8af remove unused dependencies 2024-05-16 07:56:44 -07:00
Brandon Thomas 8499c00fe8 package upgrades 2024-05-16 07:45:29 -07:00
Brandon Thomas 93e437beb5 remove unused deps 2024-05-16 07:22:29 -07:00
dependabot[bot] fcb116d6c1 Bump bcrypt from 0.8.2 to 0.15.0 (#222)
Bumps [bcrypt](https://github.com/Keats/rust-bcrypt) from 0.8.2 to
0.15.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/2cd100459ddc66f673cc3aa9a7c67b4535af04de"><code>2cd1004</code></a>
Update changelog</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/63d190d379d1a0f91fa5ac291e1a61ee34b6b297"><code>63d190d</code></a>
Make alloc optional (<a
href="https://redirect.github.com/Keats/rust-bcrypt/issues/79">#79</a>)</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/37053f2fd08b23cac495afc25e8efb4f7f9a5ffb"><code>37053f2</code></a>
Remove use_logging feature for quickcheck</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/b6af5e5311598aee52d0bcfac1e22e13b1d10946"><code>b6af5e5</code></a>
Update version/edition</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/8d2cdb58ea2c8c463d53d24adb683d4627008e13"><code>8d2cdb5</code></a>
Update base64</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/6c636ab09468d5ca22992e829abb09fa1c69bb9b"><code>6c636ab</code></a>
Use subtle for constant-time comparison (<a
href="https://redirect.github.com/Keats/rust-bcrypt/issues/74">#74</a>)</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/4f882cf586ba19f96e5cdb4f24a731e7e3ddcf02"><code>4f882cf</code></a>
v0.13.0</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/0bd90ae293bf3e443bd650643460c3d19476837d"><code>0bd90ae</code></a>
Zeroize optional (<a
href="https://redirect.github.com/Keats/rust-bcrypt/issues/70">#70</a>)</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/861779f7e186e3da74068de98a759cf7b072ef68"><code>861779f</code></a>
Fixed salt len (<a
href="https://redirect.github.com/Keats/rust-bcrypt/issues/71">#71</a>)</li>
<li><a
href="https://github.com/Keats/rust-bcrypt/commit/16d41a954c75a2c308acf22e6289ff7f5ef07788"><code>16d41a9</code></a>
New version</li>
<li>Additional commits viewable in <a
href="https://github.com/Keats/rust-bcrypt/compare/v0.8.2...v0.15.0">compare
view</a></li>
</ul>
</details>
<br />


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

You can trigger a rebase of this PR 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>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 07:18:19 -07:00
Brandon Thomas 02cc385d9e import cleanup 2024-05-16 07:17:41 -07:00
Brandon Thomas 9ab0603604 tests pass 2024-05-16 07:14:17 -07:00
Brandon Thomas 8ff613ef13 cleanup imports 2024-05-16 07:11:03 -07:00
Brandon Thomas 97a3310b59 cleanup imports 2024-05-16 07:04:48 -07:00
dependabot[bot] 421c8e3e05 Bump zerocopy from 0.7.26 to 0.7.32 (#280)
Bumps [zerocopy](https://github.com/google/zerocopy) from 0.7.26 to
0.7.32.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/zerocopy/releases">zerocopy's
releases</a>.</em></p>
<blockquote>
<h2>v0.7.32</h2>
<h2>What's Changed</h2>
<ul>
<li>[derive] Exclude large test files when publishing by <a
href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/744">google/zerocopy#744</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.7.31...v0.7.32">https://github.com/google/zerocopy/compare/v0.7.31...v0.7.32</a></p>
<h2>v0.7.31</h2>
<p>This release fixes the soundness issue described in <a
href="https://redirect.github.com/google/zerocopy/issues/716">#716</a>.
The affected versions will soon be yanked.</p>
<p>This release is also described in security advisories <a
href="https://rustsec.org/advisories/RUSTSEC-2023-0074.html">RUSTSEC-2023-0074</a>
and <a
href="https://github.com/google/zerocopy/security/advisories/GHSA-3mv5-343c-w2qg">GHSA-3mv5-343c-w2qg</a>.</p>
<h2>What's Changed</h2>
<ul>
<li>Fix soundness hole in Ref::into_ref and into_mut by <a
href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/721">google/zerocopy#721</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.7.30...v0.7.31">https://github.com/google/zerocopy/compare/v0.7.30...v0.7.31</a></p>
<h2>v0.7.30</h2>
<h2>What's Changed</h2>
<ul>
<li>[policies] Document yanking policy by <a
href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/677">google/zerocopy#677</a></li>
<li>[ci] Roll pinned nightly toolchain by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/680">google/zerocopy#680</a></li>
<li>[readme] Link to GitHub Releases (<a
href="https://redirect.github.com/google/zerocopy/issues/692">#692</a>)
by <a href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/693">google/zerocopy#693</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.7.29...v0.7.30">https://github.com/google/zerocopy/compare/v0.7.29...v0.7.30</a></p>
<h2>v0.7.29</h2>
<h2>What's Changed</h2>
<ul>
<li>[ci] Roll pinned nightly toolchain by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/664">google/zerocopy#664</a></li>
<li>[ci] Roll pinned nightly toolchain by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/668">google/zerocopy#668</a></li>
<li>[ci] Roll pinned nightly toolchain by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/669">google/zerocopy#669</a></li>
<li>[ci] Roll pinned nightly toolchain by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/670">google/zerocopy#670</a></li>
<li>Implement <code>TryFromBytes</code> for <code>[T]</code> by <a
href="https://github.com/jswrenn"><code>@​jswrenn</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/666">google/zerocopy#666</a></li>
<li>[ci] Roll pinned nightly toolchain by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/673">google/zerocopy#673</a></li>
<li>[derive] Fix AsBytes for <code>#[repr(C, packed(N))]</code> by <a
href="https://github.com/maurer"><code>@​maurer</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/672">google/zerocopy#672</a></li>
<li>Release 0.7.29 by <a
href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/676">google/zerocopy#676</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.7.28...v0.7.29">https://github.com/google/zerocopy/compare/v0.7.28...v0.7.29</a></p>
<h2>v0.7.28</h2>
<h2>What's Changed</h2>
<ul>
<li>Improve <code>transmute*!</code> documentation by <a
href="https://github.com/jswrenn"><code>@​jswrenn</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/661">google/zerocopy#661</a></li>
<li>Improve <code>AsBytes</code> documentation by <a
href="https://github.com/jswrenn"><code>@​jswrenn</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/660">google/zerocopy#660</a></li>
<li>[docs] Fix typo in include_value! doc comment by <a
href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/662">google/zerocopy#662</a></li>
<li>Release 0.7.28 by <a
href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/663">google/zerocopy#663</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/google/zerocopy/blob/main/CHANGELOG.md">zerocopy's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>Releases</h2>
<p>We track releases and release notes using <a
href="https://github.com/google/zerocopy/releases">GitHub
Releases</a>.</p>
<h2>Yanks and Regressions</h2>
<h3>0.2.2 through 0.2.8, 0.3.0 through 0.3.1, 0.4.0, 0.5.0, 0.6.0
through 0.6.5, 0.7.0 through 0.7.30</h3>
<p><em>Security advisories for this bug have been published as
<a
href="https://rustsec.org/advisories/RUSTSEC-2023-0074.html">RUSTSEC-2023-0074</a>
and <a
href="https://github.com/google/zerocopy/security/advisories/GHSA-3mv5-343c-w2qg">GHSA-3mv5-343c-w2qg</a>.</em></p>
<p>In these versions, the <code>Ref</code> methods
<code>into_ref</code>, <code>into_mut</code>, <code>into_slice</code>,
and
<code>into_mut_slice</code> were permitted in combination with the
standard library
<code>cell::Ref</code> and <code>cell::RefMut</code> types for
<code>Ref&lt;B, T&gt;</code>'s <code>B</code> type parameter. These
combinations are unsound, and may permit safe code to exhibit undefined
behavior. Fixes have been published to each affected minor version which
do not
permit this code to compile.</p>
<p>See <a
href="https://redirect.github.com/google/zerocopy/issues/716">#716</a><a
href="https://redirect.github.com/google/zerocopy/issues/716">issue-716</a>
for more details.</p>
<h3>0.7.27, 0.7.28</h3>
<p>These versions were briefly yanked due to a non-soundness regression
reported in
<a
href="https://redirect.github.com/google/zerocopy/issues/672">#672</a><a
href="https://redirect.github.com/google/zerocopy/pull/672">pull-672</a>.
After reconsidering our yanking policy in <a
href="https://redirect.github.com/google/zerocopy/issues/679">#679</a><a
href="https://redirect.github.com/google/zerocopy/issues/679">issue-679</a>,
we un-yanked these versions.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/zerocopy/commit/94b7e0a44d4e0a3d9ce8f6f56f901a4cf50fe4b6"><code>94b7e0a</code></a>
[derive] Exclude large test files when publishing (<a
href="https://redirect.github.com/google/zerocopy/issues/744">#744</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/7d3a8f9ea6bcf982ecd77db39a8be410b098232e"><code>7d3a8f9</code></a>
Fix soundness hole in Ref::into_ref and into_mut (<a
href="https://redirect.github.com/google/zerocopy/issues/721">#721</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/961612f110ca313eea06ca2563c88c83b51da492"><code>961612f</code></a>
[readme] Link to GitHub Releases (<a
href="https://redirect.github.com/google/zerocopy/issues/692">#692</a>)
(<a
href="https://redirect.github.com/google/zerocopy/issues/693">#693</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/449b78c67f20639d7dbe5d7b5a49c6dd7e9d175e"><code>449b78c</code></a>
[ci] Roll pinned nightly toolchain (<a
href="https://redirect.github.com/google/zerocopy/issues/680">#680</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/8f7d88b90ebdb1c644c58100a9953bf54f438ec5"><code>8f7d88b</code></a>
[policies] Document yanking policy (<a
href="https://redirect.github.com/google/zerocopy/issues/677">#677</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/5b76223e0eddea87e0f81429e218d12de94cd954"><code>5b76223</code></a>
Release 0.7.29 (<a
href="https://redirect.github.com/google/zerocopy/issues/676">#676</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/941c83fb4cea49dfac025a749653c6c3ea3fc019"><code>941c83f</code></a>
[derive] Fix AsBytes for <code>#[repr(C, packed(N))]</code> (<a
href="https://redirect.github.com/google/zerocopy/issues/672">#672</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/d18d233cf4e49d6abe15730eadb0e73a96f26ce2"><code>d18d233</code></a>
[ci] Roll pinned nightly toolchain (<a
href="https://redirect.github.com/google/zerocopy/issues/673">#673</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/ac0c27e77557779a9d1c79542a7cff7b29c59c69"><code>ac0c27e</code></a>
implement <code>TryFromBytes</code> for <code>[T]</code> (<a
href="https://redirect.github.com/google/zerocopy/issues/666">#666</a>)</li>
<li><a
href="https://github.com/google/zerocopy/commit/122828ed8a360d9347ecd18989324020e79b81af"><code>122828e</code></a>
[ci] Roll pinned nightly toolchain (<a
href="https://redirect.github.com/google/zerocopy/issues/670">#670</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/google/zerocopy/compare/v0.7.26...v0.7.32">compare
view</a></li>
</ul>
</details>
<br />


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

You can trigger a rebase of this PR 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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/storytold/storyteller-rust/network/alerts).

</details>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 06:32:17 -07:00
dependabot[bot] c3e0916ba7 Bump mio from 0.8.9 to 0.8.11 (#313)
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.9 to 0.8.11.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md">mio's
changelog</a>.</em></p>
<blockquote>
<h1>0.8.11</h1>
<ul>
<li>Fix receiving IOCP events after deregistering a Windows named pipe
(<a
href="https://redirect.github.com/tokio-rs/mio/pull/1760">tokio-rs/mio#1760</a>,
backport pr:
<a
href="https://redirect.github.com/tokio-rs/mio/pull/1761">tokio-rs/mio#1761</a>).</li>
</ul>
<h1>0.8.10</h1>
<h2>Added</h2>
<ul>
<li>Solaris support
(<a
href="https://redirect.github.com/tokio-rs/mio/pull/1724">tokio-rs/mio#1724</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/mio/commit/0328bdef900b6396b8d00d33c825cd8af748553d"><code>0328bde</code></a>
Release v0.8.11</li>
<li><a
href="https://github.com/tokio-rs/mio/commit/708449851283b57eb6f514c8f289b66e982720b3"><code>7084498</code></a>
Fix warnings</li>
<li><a
href="https://github.com/tokio-rs/mio/commit/90d4fe00df870acd3d38f3dc4face9aacab8fbb9"><code>90d4fe0</code></a>
named-pipes: fix receiving IOCP events after deregister</li>
<li><a
href="https://github.com/tokio-rs/mio/commit/c710a307f8627c4d63ac1003252aa45175e08399"><code>c710a30</code></a>
Add v0.8.x to the CI</li>
<li><a
href="https://github.com/tokio-rs/mio/commit/c29e21c244b2b835e8b3e015b92c708c33c7d70a"><code>c29e21c</code></a>
Release v0.8.10</li>
<li><a
href="https://github.com/tokio-rs/mio/commit/f6a20da1c81c2d56a78bc6f6832b9904b9215914"><code>f6a20da</code></a>
Add Solaris operating system support (<a
href="https://redirect.github.com/tokio-rs/mio/issues/1724">#1724</a>)</li>
<li>See full diff in <a
href="https://github.com/tokio-rs/mio/compare/v0.8.9...v0.8.11">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mio&package-manager=cargo&previous-version=0.8.9&new-version=0.8.11)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/storytold/storyteller-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 06:31:21 -07:00
ArEnScandStoryteller f844aa7016 Added strength parameters (#322)
Co-authored-by: Storyteller <storyteller@MacBook-Pro-de-Storyteller.local>
2024-05-16 06:30:33 -07:00
1803 changed files with 55619 additions and 309709 deletions
+2
View File
@@ -13,6 +13,8 @@ db_secrets.toml
env-secrets
production_database_secret_connect.sh
production_database_secret_query.sh
script/production_database_secret_backup.sh
script/production_database_secret_connect.sh
production_database_voice_clone_report_download.sh
secrets.toml
secrets.yaml
+3
View File
@@ -3,6 +3,8 @@
<words>
<w>arpabet</w>
<w>backfill</w>
<w>backfilling</w>
<w>backfills</w>
<w>blendshapes</w>
<w>canonicalized</w>
<w>canonicalizing</w>
@@ -48,6 +50,7 @@
<w>unpermitted</w>
<w>upserting</w>
<w>upserts</w>
<w>upvoted</w>
<w>vits</w>
<w>vocoded</w>
<w>vocoder</w>
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO media_files\nSET\n token = ?,\n\n media_class = ?,\n media_type = ?,\n\n origin_category = ?,\n origin_product_category = ?,\n maybe_origin_model_type = ?,\n\n maybe_mime_type = ?,\n file_size_bytes = ?,\n\n checksum_sha2 = ?,\n\n maybe_style_transfer_source_media_file_token = ?,\n maybe_scene_source_media_file_token = ?,\n\n maybe_title = ?,\n maybe_prompt_token = ?,\n\n public_bucket_directory_hash = ?,\n maybe_public_bucket_prefix = ?,\n maybe_public_bucket_extension = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n maybe_creator_file_synthetic_id = ?,\n maybe_creator_category_synthetic_id = ?,\n\n is_generated_on_prem = ?,\n generated_by_worker = ?,\n generated_by_cluster = ?\n\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 25
},
"nullable": []
},
"hash": "039c24023c93deacc0b09fbbfe747821ba9f7e06bc17f651628edf1a82f5feb6"
}
@@ -1,47 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n maybe_model_type as queue_type,\n count(*) as pending_job_count,\n NOW() as present_time\n FROM (\n SELECT\n token,\n maybe_model_type\n FROM generic_inference_jobs\n WHERE status IN (\"pending\", \"attempt_failed\")\n AND maybe_model_type IS NOT NULL\n UNION\n SELECT\n token,\n maybe_model_type\n FROM generic_inference_jobs\n WHERE status IN (\"started\")\n AND created_at > (CURDATE() - INTERVAL 15 MINUTE)\n AND maybe_model_type IS NOT NULL\n) as generic_inner\nGROUP BY queue_type\nUNION\nSELECT\n \"legacy_tts\" as queue_type,\n count(*) as pending_job_count,\n NOW() as present_time\nFROM (\n SELECT\n token\n FROM tts_inference_jobs\n WHERE status IN (\"pending\", \"attempt_failed\")\n UNION\n SELECT\n token\n FROM tts_inference_jobs\n WHERE status IN (\"started\")\n AND created_at > (CURDATE() - INTERVAL 15 MINUTE)\n) as legacy_inner\nGROUP BY queue_type\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "queue_type",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "pending_job_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 21
}
},
{
"ordinal": 2,
"name": "present_time",
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL",
"char_set": 224,
"max_size": 76
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
true,
false,
false
]
},
"hash": "074307d7cd5c9a6f27e4d5ecce3072dcd13914a6f7f5f27f0f7232ae6c4813b4"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE users\nSET\n can_access_studio = ?,\n version = version + 1\n\nWHERE users.token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "19c1458e12d614bfface303102898b6a34f6b7a56eb906f5df3568172d51778b"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO media_files\nSET\n token = ?,\n\n media_class = ?,\n media_type = ?,\n\n origin_category = ?,\n origin_product_category = ?,\n\n maybe_engine_category = ?,\n maybe_animation_type = ?,\n\n maybe_mime_type = ?,\n file_size_bytes = ?,\n\n checksum_sha2 = ?,\n\n maybe_title = ?,\n maybe_duration_millis = ?,\n\n public_bucket_directory_hash = ?,\n maybe_public_bucket_prefix = ?,\n maybe_public_bucket_extension = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n maybe_scene_source_media_file_token = ?,\n is_intermediate_system_file = ?,\n\n maybe_creator_file_synthetic_id = ?,\n maybe_creator_category_synthetic_id = ?,\n\n maybe_origin_model_type = NULL,\n maybe_origin_model_token = NULL\n ",
"query": "\nINSERT INTO media_files\nSET\n token = ?,\n\n media_class = ?,\n media_type = ?,\n\n origin_category = ?,\n origin_product_category = ?,\n\n maybe_engine_category = ?,\n maybe_animation_type = ?,\n\n maybe_mime_type = ?,\n file_size_bytes = ?,\n\n checksum_sha2 = ?,\n\n maybe_title = ?,\n maybe_duration_millis = ?,\n\n public_bucket_directory_hash = ?,\n maybe_public_bucket_prefix = ?,\n maybe_public_bucket_extension = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n maybe_scene_source_media_file_token = ?,\n is_intermediate_system_file = ?,\n\n maybe_creator_file_synthetic_id = ?,\n maybe_creator_category_synthetic_id = ?,\n\n is_user_upload = TRUE,\n\n maybe_origin_model_type = NULL,\n maybe_origin_model_token = NULL\n ",
"describe": {
"columns": [],
"parameters": {
@@ -8,5 +8,5 @@
},
"nullable": []
},
"hash": "87f078eae38376e8d3bab9001908a5ac3a406ed79d8434ea452c194b56df80fe"
"hash": "28cac5883464613d29bedbf7308a71c258f1bf4abb8f5ca3ae320db34c137955"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type as `tts_model_type: enums::by_table::tts_models::tts_model_type::TtsModelType`,\n tts.text_pipeline_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.use_default_mel_multiply_factor,\n tts.maybe_custom_mel_multiply_factor,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.ietf_language_tag,\n tts.ietf_primary_language_subtag,\n\n tts.is_front_page_featured,\n tts.is_twitch_featured,\n\n tts.maybe_suggested_unique_bot_command,\n\n tts.user_ratings_positive_count,\n tts.user_ratings_negative_count,\n tts.user_ratings_total_count,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.maybe_custom_vocoder_token,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder_user.token as maybe_custom_vocoder_creator_user_token,\n vocoder_user.username as maybe_custom_vocoder_creator_username,\n vocoder_user.display_name as maybe_custom_vocoder_creator_display_name,\n vocoder_user.email_gravatar_hash as maybe_custom_vocoder_creator_gravatar_hash,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\n\nLEFT OUTER JOIN vocoder_models AS vocoder\n ON vocoder.token = tts.maybe_custom_vocoder_token\nLEFT OUTER JOIN users AS vocoder_user\n ON vocoder_user.token = vocoder.creator_user_token\n\nWHERE tts.token = ?\n ",
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type as `tts_model_type: enums::by_table::tts_models::tts_model_type::TtsModelType`,\n tts.text_pipeline_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.use_default_mel_multiply_factor,\n tts.maybe_custom_mel_multiply_factor,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.ietf_language_tag,\n tts.ietf_primary_language_subtag,\n\n tts.is_front_page_featured,\n tts.is_twitch_featured,\n\n tts.maybe_suggested_unique_bot_command,\n\n tts.user_ratings_positive_count,\n tts.user_ratings_negative_count,\n tts.user_ratings_total_count,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.maybe_migration_new_model_weights_token,\n\n tts.maybe_custom_vocoder_token,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder_user.token as maybe_custom_vocoder_creator_user_token,\n vocoder_user.username as maybe_custom_vocoder_creator_username,\n vocoder_user.display_name as maybe_custom_vocoder_creator_display_name,\n vocoder_user.email_gravatar_hash as maybe_custom_vocoder_creator_gravatar_hash,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\n\nLEFT OUTER JOIN vocoder_models AS vocoder\n ON vocoder.token = tts.maybe_custom_vocoder_token\nLEFT OUTER JOIN users AS vocoder_user\n ON vocoder_user.token = vocoder.creator_user_token\n\nWHERE\n tts.token = ?\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
@@ -265,6 +265,16 @@
},
{
"ordinal": 26,
"name": "maybe_migration_new_model_weights_token",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 27,
"name": "maybe_custom_vocoder_token",
"type_info": {
"type": "VarString",
@@ -274,7 +284,7 @@
}
},
{
"ordinal": 27,
"ordinal": 28,
"name": "maybe_custom_vocoder_title",
"type_info": {
"type": "VarString",
@@ -284,7 +294,7 @@
}
},
{
"ordinal": 28,
"ordinal": 29,
"name": "maybe_custom_vocoder_creator_user_token",
"type_info": {
"type": "VarString",
@@ -294,7 +304,7 @@
}
},
{
"ordinal": 29,
"ordinal": 30,
"name": "maybe_custom_vocoder_creator_username",
"type_info": {
"type": "VarString",
@@ -304,7 +314,7 @@
}
},
{
"ordinal": 30,
"ordinal": 31,
"name": "maybe_custom_vocoder_creator_display_name",
"type_info": {
"type": "VarString",
@@ -314,7 +324,7 @@
}
},
{
"ordinal": 31,
"ordinal": 32,
"name": "maybe_custom_vocoder_creator_gravatar_hash",
"type_info": {
"type": "String",
@@ -324,7 +334,7 @@
}
},
{
"ordinal": 32,
"ordinal": 33,
"name": "created_at",
"type_info": {
"type": "Timestamp",
@@ -334,7 +344,7 @@
}
},
{
"ordinal": 33,
"ordinal": 34,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
@@ -344,7 +354,7 @@
}
},
{
"ordinal": 34,
"ordinal": 35,
"name": "creator_ip_address_creation",
"type_info": {
"type": "VarString",
@@ -354,7 +364,7 @@
}
},
{
"ordinal": 35,
"ordinal": 36,
"name": "creator_ip_address_last_update",
"type_info": {
"type": "VarString",
@@ -364,7 +374,7 @@
}
},
{
"ordinal": 36,
"ordinal": 37,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -374,7 +384,7 @@
}
},
{
"ordinal": 37,
"ordinal": 38,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -420,6 +430,7 @@
true,
true,
true,
true,
false,
false,
false,
@@ -428,5 +439,5 @@
true
]
},
"hash": "481493c8b377197b5f596d7ee842ab4b580da384a2fa8ed330082515b7990d58"
"hash": "295ac99103e49c817d545d5a7b8a819a839885245c60f8ce2c13a73155917942"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\n UPDATE model_weights\n SET\n cached_usage_count = ?,\n updated_at = updated_at\n WHERE token = ?\n LIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "29821815aab3a511e67aa29de17e7ccae17d71a7d88230221eb6b2ce6bde5edb"
}
@@ -0,0 +1,399 @@
{
"db_name": "MySQL",
"query": "\n SELECT\n wt.token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n wt.title,\n wt.weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n wt.weights_category as `weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n wt.maybe_description_markdown,\n wt.maybe_description_rendered_html,\n\n wt.maybe_ietf_language_tag,\n wt.maybe_ietf_primary_language_subtag,\n\n wt.creator_ip_address,\n wt.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n wt.creator_user_token as `creator_user_token: tokens::tokens::users::UserToken`,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash AS creator_gravatar_hash,\n\n wt.maybe_last_update_user_token as `maybe_last_update_user_token: tokens::tokens::users::UserToken`,\n wt.original_download_url,\n wt.original_filename,\n wt.file_size_bytes,\n wt.file_checksum_sha2,\n wt.public_bucket_hash,\n wt.maybe_public_bucket_prefix,\n wt.maybe_public_bucket_extension,\n\n cover_image.public_bucket_directory_hash as maybe_cover_image_public_bucket_hash,\n cover_image.maybe_public_bucket_prefix as maybe_cover_image_public_bucket_prefix,\n cover_image.maybe_public_bucket_extension as maybe_cover_image_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n wt.cached_usage_count,\n\n featured_items.entity_token IS NOT NULL AS is_featured,\n\n wt.version,\n wt.created_at,\n wt.updated_at,\n wt.user_deleted_at,\n wt.mod_deleted_at\n\n FROM model_weights as wt\n JOIN users\n ON users.token = wt.creator_user_token\n LEFT OUTER JOIN media_files as cover_image\n ON cover_image.token = wt.maybe_cover_image_media_file_token\n LEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"model_weight\"\n AND entity_stats.entity_token = wt.token\n LEFT OUTER JOIN featured_items\n ON featured_items.entity_type = \"model_weight\"\n AND featured_items.entity_token = wt.token\n AND featured_items.deleted_at IS NULL\n WHERE\n wt.token = ?\n AND wt.user_deleted_at IS NULL\n AND wt.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: tokens::tokens::model_weights::ModelWeightToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "title",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 2,
"name": "weights_type: enums::by_table::model_weights::weights_types::WeightsType",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "weights_category: enums::by_table::model_weights::weights_category::WeightsCategory",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "maybe_description_markdown",
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 5,
"name": "maybe_description_rendered_html",
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 6,
"name": "maybe_ietf_language_tag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 7,
"name": "maybe_ietf_primary_language_subtag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 48
}
},
{
"ordinal": 8,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 9,
"name": "creator_set_visibility: enums::common::visibility::Visibility",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 10,
"name": "creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 11,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 12,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 13,
"name": "creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 14,
"name": "maybe_last_update_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 15,
"name": "original_download_url",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 16,
"name": "original_filename",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 17,
"name": "file_size_bytes",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 18,
"name": "file_checksum_sha2",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 19,
"name": "public_bucket_hash",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 20,
"name": "maybe_public_bucket_prefix",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 21,
"name": "maybe_public_bucket_extension",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 22,
"name": "maybe_cover_image_public_bucket_hash",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 23,
"name": "maybe_cover_image_public_bucket_prefix",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 24,
"name": "maybe_cover_image_public_bucket_extension",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 25,
"name": "maybe_ratings_positive_count",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 26,
"name": "maybe_ratings_negative_count",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 27,
"name": "maybe_bookmark_count",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 28,
"name": "cached_usage_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | UNSIGNED",
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 29,
"name": "is_featured",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 30,
"name": "version",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 11
}
},
{
"ordinal": 31,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 32,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 33,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 34,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
true,
true,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false,
false,
true,
true
]
},
"hash": "29fe7f8464257537840d7f095ec01f850d79f970109549d14978fc3bed7cef32"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n token as `token: tokens::tokens::users::UserToken`,\n username,\n email_address,\n password_hash as `password_hash: crate::queries::users::user::lookup_user_for_login_result::VecBytes`,\n password_version,\n is_banned\nFROM users\nWHERE username = ?\nLIMIT 1\n ",
"query": "\nSELECT\n token as `token: tokens::tokens::users::UserToken`,\n username,\n display_name,\n username_is_not_customized,\n email_address,\n password_hash as `password_hash: crate::queries::users::user::get::lookup_user_for_login_result::VecBytes`,\n password_version,\n is_banned,\n maybe_feature_flags\nFROM users\nWHERE username = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
@@ -25,6 +25,26 @@
},
{
"ordinal": 2,
"name": "display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "username_is_not_customized",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 4,
"name": "email_address",
"type_info": {
"type": "VarString",
@@ -34,8 +54,8 @@
}
},
{
"ordinal": 3,
"name": "password_hash: crate::queries::users::user::lookup_user_for_login_result::VecBytes",
"ordinal": 5,
"name": "password_hash: crate::queries::users::user::get::lookup_user_for_login_result::VecBytes",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
@@ -44,7 +64,7 @@
}
},
{
"ordinal": 4,
"ordinal": 6,
"name": "password_version",
"type_info": {
"type": "Long",
@@ -54,7 +74,7 @@
}
},
{
"ordinal": 5,
"ordinal": 7,
"name": "is_banned",
"type_info": {
"type": "Tiny",
@@ -62,6 +82,16 @@
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 8,
"name": "maybe_feature_flags",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
}
],
"parameters": {
@@ -73,8 +103,11 @@
false,
false,
false,
false
false,
false,
false,
true
]
},
"hash": "5795b8579a458706077b1fa95e4627b90eac6606bde543b6406233d081fd0eb5"
"hash": "2bc80729a61545b39cc633ca79af612ce611d358b32149405340d985060d4bbe"
}
@@ -0,0 +1,36 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n t.token as `token: tokens::tokens::tags::TagToken`,\n t.tag_value\n\nFROM\n tags AS t\nJOIN tag_uses AS u\n ON t.token = u.tag_token\nWHERE\n u.entity_type = ?\n AND u.entity_token = ?\n AND u.maybe_deleted_at IS NULL\nORDER BY t.id DESC\nLIMIT 500\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: tokens::tokens::tags::TagToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tag_value",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false
]
},
"hash": "3929e9fe74e75fad7252681880c6c3bd7e76e96b0bf603f77f6a9b2d4fcda18d"
}
@@ -0,0 +1,25 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n COUNT(*) as record_count\n FROM media_files as f\n left outer join model_weights as w\n on f.maybe_origin_model_token = w.token\n left outer join model_weights as w_old\n on f.maybe_origin_model_token = w_old.maybe_migration_old_model_token\n WHERE (w.token = ? OR w_old.token = ?)\n AND f.created_at >= ?\n AND f.created_at < ? + INTERVAL 1 DAY\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "record_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 21
}
}
],
"parameters": {
"Right": 4
},
"nullable": [
false
]
},
"hash": "3bbfaf131b5228c10320e915f553f845142920b16dc7d36f8640481760405d96"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\n UPDATE media_files\n SET\n creator_set_visibility = ?\n WHERE token = ?\n LIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "3ce0af2b4111883eeba5621cd1f5b6bbae8de275b5e738550b56db2b630ce8d3"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nDELETE FROM tag_uses\nWHERE entity_type = ?\nAND entity_token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "41b16ccf04ef1ffb8b48bc59edf9389f61f54b871f6361f35529706b98d419ec"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO users\nSET\n token = ?,\n username = ?,\n display_name = ?,\n\n username_is_generated = ?,\n username_is_not_customized = ?,\n\n email_address = ?,\n email_gravatar_hash = ?,\n\n email_confirmed = FALSE,\n email_confirmed_by_google = ?,\n\n profile_markdown = ?,\n profile_rendered_html = ?,\n user_role_slug = ?,\n\n password_hash = ?,\n is_without_password = ?,\n\n maybe_feature_flags = ?,\n\n ip_address_creation = ?,\n ip_address_last_login = ?,\n ip_address_last_update = ?,\n\n maybe_source = ?,\n\n maybe_signup_method = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 19
},
"nullable": []
},
"hash": "453f0386cfe34e533501ba29dc2022fc449266f9858f16886bde9a0df6b82026"
}
@@ -0,0 +1,25 @@
{
"db_name": "MySQL",
"query": "\nSELECT NOW() as database_time\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "database_time",
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false
]
},
"hash": "47a6c402aad596530aef2c71c1e621bf73a386d754a79c5150cd30dc8ee2170f"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE beta_keys\nSET\n maybe_notes = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "533ec8cc98a690f9e24809905f5b341dc5d62534508ff428cd8051ed1aa3ff66"
}
@@ -0,0 +1,399 @@
{
"db_name": "MySQL",
"query": "\n SELECT\n wt.token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n wt.title,\n wt.weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n wt.weights_category as `weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n wt.maybe_description_markdown,\n wt.maybe_description_rendered_html,\n\n wt.maybe_ietf_language_tag,\n wt.maybe_ietf_primary_language_subtag,\n\n wt.creator_user_token as `creator_user_token: tokens::tokens::users::UserToken`,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash AS creator_gravatar_hash,\n\n wt.creator_ip_address,\n wt.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n wt.maybe_last_update_user_token as `maybe_last_update_user_token: tokens::tokens::users::UserToken`,\n wt.original_download_url,\n wt.original_filename,\n wt.file_size_bytes,\n wt.file_checksum_sha2,\n\n wt.public_bucket_hash,\n wt.maybe_public_bucket_prefix,\n wt.maybe_public_bucket_extension,\n\n cover_image.public_bucket_directory_hash as maybe_cover_image_public_bucket_hash,\n cover_image.maybe_public_bucket_prefix as maybe_cover_image_public_bucket_prefix,\n cover_image.maybe_public_bucket_extension as maybe_cover_image_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n wt.cached_usage_count,\n\n featured_items.entity_token IS NOT NULL AS is_featured,\n\n wt.version,\n wt.created_at,\n wt.updated_at,\n wt.user_deleted_at,\n wt.mod_deleted_at\n\n FROM model_weights as wt\n JOIN users\n ON users.token = wt.creator_user_token\n LEFT OUTER JOIN media_files as cover_image\n ON cover_image.token = wt.maybe_cover_image_media_file_token\n LEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"model_weight\"\n AND entity_stats.entity_token = wt.token\n LEFT OUTER JOIN featured_items\n ON featured_items.entity_type = \"model_weight\"\n AND featured_items.entity_token = wt.token\n AND featured_items.deleted_at IS NULL\n WHERE\n wt.token = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: tokens::tokens::model_weights::ModelWeightToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "title",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 2,
"name": "weights_type: enums::by_table::model_weights::weights_types::WeightsType",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "weights_category: enums::by_table::model_weights::weights_category::WeightsCategory",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "maybe_description_markdown",
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 5,
"name": "maybe_description_rendered_html",
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 6,
"name": "maybe_ietf_language_tag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 7,
"name": "maybe_ietf_primary_language_subtag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 48
}
},
{
"ordinal": 8,
"name": "creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 9,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 10,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 11,
"name": "creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 12,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 13,
"name": "creator_set_visibility: enums::common::visibility::Visibility",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 14,
"name": "maybe_last_update_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 15,
"name": "original_download_url",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 16,
"name": "original_filename",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 17,
"name": "file_size_bytes",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 18,
"name": "file_checksum_sha2",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 19,
"name": "public_bucket_hash",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 20,
"name": "maybe_public_bucket_prefix",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 21,
"name": "maybe_public_bucket_extension",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 22,
"name": "maybe_cover_image_public_bucket_hash",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 23,
"name": "maybe_cover_image_public_bucket_prefix",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 24,
"name": "maybe_cover_image_public_bucket_extension",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 25,
"name": "maybe_ratings_positive_count",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 26,
"name": "maybe_ratings_negative_count",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 27,
"name": "maybe_bookmark_count",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 28,
"name": "cached_usage_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | UNSIGNED",
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 29,
"name": "is_featured",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 30,
"name": "version",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 11
}
},
{
"ordinal": 31,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 32,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 33,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 34,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
true,
true,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false,
false,
true,
true
]
},
"hash": "53c90f5230aa202aead37a224ec70e350172bc0ec4eeaebde22878ca4aa0f695"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO media_files\nSET\n token = ?,\n\n media_class = ?,\n media_type = ?,\n\n origin_category = ?,\n origin_product_category = ?,\n\n maybe_engine_category = ?,\n maybe_animation_type = ?,\n\n maybe_media_subtype = ?,\n maybe_mime_type = ?,\n file_size_bytes = ?,\n\n checksum_sha2 = ?,\n\n public_bucket_directory_hash = ?,\n maybe_public_bucket_prefix = ?,\n maybe_public_bucket_extension = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n maybe_creator_file_synthetic_id = ?,\n maybe_creator_category_synthetic_id = ?,\n\n is_user_upload = TRUE,\n\n maybe_origin_model_type = NULL,\n maybe_origin_model_token = NULL\n\nON DUPLICATE KEY UPDATE\n\n media_class = ?,\n media_type = ?,\n\n origin_category = ?,\n origin_product_category = ?,\n\n maybe_engine_category = ?,\n maybe_animation_type = ?,\n\n maybe_media_subtype = ?,\n maybe_mime_type = ?,\n file_size_bytes = ?,\n\n checksum_sha2 = ?,\n\n public_bucket_directory_hash = ?,\n maybe_public_bucket_prefix = ?,\n maybe_public_bucket_extension = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n maybe_creator_file_synthetic_id = ?,\n maybe_creator_category_synthetic_id = ?,\n\n is_user_upload = TRUE,\n\n maybe_origin_model_type = NULL,\n maybe_origin_model_token = NULL\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 39
},
"nullable": []
},
"hash": "55706e6ac35be221b9d9c6e8b247812944c61941964bb53815d31dc30d506be8"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n m.token as `token: tokens::tokens::media_files::MediaFileToken`,\n\n m.media_class as `media_class: enums::by_table::media_files::media_file_class::MediaFileClass`,\n m.media_type as `media_type: enums::by_table::media_files::media_file_type::MediaFileType`,\n\n m.maybe_engine_category as `maybe_engine_category: enums::by_table::media_files::media_file_engine_category::MediaFileEngineCategory`,\n m.maybe_animation_type as `maybe_animation_type: enums::by_table::media_files::media_file_animation_type::MediaFileAnimationType`,\n\n m.maybe_media_subtype as `maybe_media_subtype: enums::by_table::media_files::media_file_subtype::MediaFileSubtype`,\n\n users.token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n m.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n\n m.maybe_batch_token as `maybe_batch_token: tokens::tokens::batch_generations::BatchGenerationToken`,\n\n m.maybe_style_transfer_source_media_file_token as `maybe_style_transfer_source_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n m.maybe_scene_source_media_file_token as `maybe_scene_source_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n\n m.maybe_title,\n m.maybe_text_transcript,\n\n m.maybe_origin_filename,\n\n m.maybe_duration_millis,\n\n m.maybe_prompt_token as `maybe_prompt_token: tokens::tokens::prompts::PromptToken`,\n prompts.maybe_other_args as maybe_other_prompt_args,\n\n media_file_cover_image.public_bucket_directory_hash as maybe_file_cover_image_public_bucket_hash,\n media_file_cover_image.maybe_public_bucket_prefix as maybe_file_cover_image_public_bucket_prefix,\n media_file_cover_image.maybe_public_bucket_extension as maybe_file_cover_image_public_bucket_extension,\n\n m.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n model_weights.token as `maybe_model_weights_token: tokens::tokens::model_weights::ModelWeightToken`,\n model_weights.title as maybe_model_weights_title,\n model_weights.weights_type as `maybe_model_weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n model_weights.weights_category as `maybe_model_weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n\n model_weight_cover_image.public_bucket_directory_hash as maybe_model_cover_image_public_bucket_hash,\n model_weight_cover_image.maybe_public_bucket_prefix as maybe_model_cover_image_public_bucket_prefix,\n model_weight_cover_image.maybe_public_bucket_extension as maybe_model_cover_image_public_bucket_extension,\n\n model_weight_creator.token as `maybe_model_weight_creator_user_token: tokens::tokens::users::UserToken`,\n model_weight_creator.username as maybe_model_weight_creator_username,\n model_weight_creator.display_name as maybe_model_weight_creator_display_name,\n model_weight_creator.email_gravatar_hash as maybe_model_weight_creator_gravatar_hash,\n\n m.public_bucket_directory_hash,\n m.maybe_public_bucket_prefix,\n m.maybe_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n featured_items.entity_token IS NOT NULL AS is_featured,\n\n m.created_at,\n m.updated_at\n\nFROM media_files AS m\nLEFT OUTER JOIN users\n ON m.maybe_creator_user_token = users.token\nLEFT OUTER JOIN model_weights\n ON m.maybe_origin_model_token = model_weights.token\nLEFT OUTER JOIN media_files as media_file_cover_image\n ON media_file_cover_image.token = m.maybe_cover_image_media_file_token\nLEFT OUTER JOIN media_files as model_weight_cover_image\n ON model_weight_cover_image.token = model_weights.maybe_cover_image_media_file_token\nLEFT OUTER JOIN users as model_weight_creator\n ON model_weight_creator.token = model_weights.creator_user_token\nLEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"media_file\"\n AND entity_stats.entity_token = m.token\nLEFT OUTER JOIN prompts\n ON prompts.token = m.maybe_prompt_token\nLEFT OUTER JOIN featured_items\n ON featured_items.entity_type = 'media_file'\n AND featured_items.entity_token = m.token\n AND featured_items.deleted_at IS NULL\nWHERE\n m.token = ?\n ",
"query": "\nSELECT\n m.token as `token: tokens::tokens::media_files::MediaFileToken`,\n\n m.media_class as `media_class: enums::by_table::media_files::media_file_class::MediaFileClass`,\n m.media_type as `media_type: enums::by_table::media_files::media_file_type::MediaFileType`,\n\n m.maybe_engine_category as `maybe_engine_category: enums::by_table::media_files::media_file_engine_category::MediaFileEngineCategory`,\n m.maybe_animation_type as `maybe_animation_type: enums::by_table::media_files::media_file_animation_type::MediaFileAnimationType`,\n\n m.maybe_media_subtype as `maybe_media_subtype: enums::by_table::media_files::media_file_subtype::MediaFileSubtype`,\n\n m.maybe_mime_type,\n\n users.token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n m.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n\n m.maybe_batch_token as `maybe_batch_token: tokens::tokens::batch_generations::BatchGenerationToken`,\n\n m.maybe_style_transfer_source_media_file_token as `maybe_style_transfer_source_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n m.maybe_scene_source_media_file_token as `maybe_scene_source_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n\n\n m.maybe_title,\n m.maybe_text_transcript,\n\n m.maybe_origin_filename,\n\n m.maybe_duration_millis,\n\n m.maybe_prompt_token as `maybe_prompt_token: tokens::tokens::prompts::PromptToken`,\n prompts.maybe_other_args as maybe_other_prompt_args,\n\n media_file_cover_image.public_bucket_directory_hash as maybe_file_cover_image_public_bucket_hash,\n media_file_cover_image.maybe_public_bucket_prefix as maybe_file_cover_image_public_bucket_prefix,\n media_file_cover_image.maybe_public_bucket_extension as maybe_file_cover_image_public_bucket_extension,\n\n m.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n m.is_user_upload,\n m.is_intermediate_system_file,\n\n model_weights.token as `maybe_model_weights_token: tokens::tokens::model_weights::ModelWeightToken`,\n model_weights.title as maybe_model_weights_title,\n model_weights.weights_type as `maybe_model_weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n model_weights.weights_category as `maybe_model_weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n\n model_weight_cover_image.public_bucket_directory_hash as maybe_model_cover_image_public_bucket_hash,\n model_weight_cover_image.maybe_public_bucket_prefix as maybe_model_cover_image_public_bucket_prefix,\n model_weight_cover_image.maybe_public_bucket_extension as maybe_model_cover_image_public_bucket_extension,\n\n model_weight_creator.token as `maybe_model_weight_creator_user_token: tokens::tokens::users::UserToken`,\n model_weight_creator.username as maybe_model_weight_creator_username,\n model_weight_creator.display_name as maybe_model_weight_creator_display_name,\n model_weight_creator.email_gravatar_hash as maybe_model_weight_creator_gravatar_hash,\n\n m.extra_file_modification_info,\n\n m.public_bucket_directory_hash,\n m.maybe_public_bucket_prefix,\n m.maybe_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n featured_items.entity_token IS NOT NULL AS is_featured,\n\n m.created_at,\n m.updated_at\n\nFROM media_files AS m\nLEFT OUTER JOIN users\n ON m.maybe_creator_user_token = users.token\nLEFT OUTER JOIN model_weights\n ON m.maybe_origin_model_token = model_weights.token\nLEFT OUTER JOIN media_files as media_file_cover_image\n ON media_file_cover_image.token = m.maybe_cover_image_media_file_token\nLEFT OUTER JOIN media_files as model_weight_cover_image\n ON model_weight_cover_image.token = model_weights.maybe_cover_image_media_file_token\nLEFT OUTER JOIN users as model_weight_creator\n ON model_weight_creator.token = model_weights.creator_user_token\nLEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"media_file\"\n AND entity_stats.entity_token = m.token\nLEFT OUTER JOIN prompts\n ON prompts.token = m.maybe_prompt_token\nLEFT OUTER JOIN featured_items\n ON featured_items.entity_type = 'media_file'\n AND featured_items.entity_token = m.token\n AND featured_items.deleted_at IS NULL\nWHERE\n m.token = ?\n AND m.user_deleted_at IS NULL\n AND m.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
@@ -65,6 +65,16 @@
},
{
"ordinal": 6,
"name": "maybe_mime_type",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "maybe_creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
@@ -74,7 +84,7 @@
}
},
{
"ordinal": 7,
"ordinal": 8,
"name": "maybe_creator_username",
"type_info": {
"type": "VarString",
@@ -84,7 +94,7 @@
}
},
{
"ordinal": 8,
"ordinal": 9,
"name": "maybe_creator_display_name",
"type_info": {
"type": "VarString",
@@ -94,7 +104,7 @@
}
},
{
"ordinal": 9,
"ordinal": 10,
"name": "maybe_creator_gravatar_hash",
"type_info": {
"type": "String",
@@ -104,7 +114,7 @@
}
},
{
"ordinal": 10,
"ordinal": 11,
"name": "maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken",
"type_info": {
"type": "VarString",
@@ -114,7 +124,7 @@
}
},
{
"ordinal": 11,
"ordinal": 12,
"name": "maybe_batch_token: tokens::tokens::batch_generations::BatchGenerationToken",
"type_info": {
"type": "VarString",
@@ -124,7 +134,7 @@
}
},
{
"ordinal": 12,
"ordinal": 13,
"name": "maybe_style_transfer_source_media_file_token: tokens::tokens::media_files::MediaFileToken",
"type_info": {
"type": "VarString",
@@ -134,7 +144,7 @@
}
},
{
"ordinal": 13,
"ordinal": 14,
"name": "maybe_scene_source_media_file_token: tokens::tokens::media_files::MediaFileToken",
"type_info": {
"type": "VarString",
@@ -144,7 +154,7 @@
}
},
{
"ordinal": 14,
"ordinal": 15,
"name": "maybe_title",
"type_info": {
"type": "VarString",
@@ -154,7 +164,7 @@
}
},
{
"ordinal": 15,
"ordinal": 16,
"name": "maybe_text_transcript",
"type_info": {
"type": "Blob",
@@ -164,7 +174,7 @@
}
},
{
"ordinal": 16,
"ordinal": 17,
"name": "maybe_origin_filename",
"type_info": {
"type": "VarString",
@@ -174,7 +184,7 @@
}
},
{
"ordinal": 17,
"ordinal": 18,
"name": "maybe_duration_millis",
"type_info": {
"type": "Long",
@@ -184,7 +194,7 @@
}
},
{
"ordinal": 18,
"ordinal": 19,
"name": "maybe_prompt_token: tokens::tokens::prompts::PromptToken",
"type_info": {
"type": "VarString",
@@ -194,7 +204,7 @@
}
},
{
"ordinal": 19,
"ordinal": 20,
"name": "maybe_other_prompt_args",
"type_info": {
"type": "Blob",
@@ -204,7 +214,7 @@
}
},
{
"ordinal": 20,
"ordinal": 21,
"name": "maybe_file_cover_image_public_bucket_hash",
"type_info": {
"type": "VarString",
@@ -214,7 +224,7 @@
}
},
{
"ordinal": 21,
"ordinal": 22,
"name": "maybe_file_cover_image_public_bucket_prefix",
"type_info": {
"type": "VarString",
@@ -224,7 +234,7 @@
}
},
{
"ordinal": 22,
"ordinal": 23,
"name": "maybe_file_cover_image_public_bucket_extension",
"type_info": {
"type": "VarString",
@@ -234,7 +244,7 @@
}
},
{
"ordinal": 23,
"ordinal": 24,
"name": "creator_set_visibility: enums::common::visibility::Visibility",
"type_info": {
"type": "String",
@@ -244,7 +254,27 @@
}
},
{
"ordinal": 24,
"ordinal": 25,
"name": "is_user_upload",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 26,
"name": "is_intermediate_system_file",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 27,
"name": "maybe_model_weights_token: tokens::tokens::model_weights::ModelWeightToken",
"type_info": {
"type": "VarString",
@@ -254,7 +284,7 @@
}
},
{
"ordinal": 25,
"ordinal": 28,
"name": "maybe_model_weights_title",
"type_info": {
"type": "VarString",
@@ -264,7 +294,7 @@
}
},
{
"ordinal": 26,
"ordinal": 29,
"name": "maybe_model_weights_type: enums::by_table::model_weights::weights_types::WeightsType",
"type_info": {
"type": "VarString",
@@ -274,7 +304,7 @@
}
},
{
"ordinal": 27,
"ordinal": 30,
"name": "maybe_model_weights_category: enums::by_table::model_weights::weights_category::WeightsCategory",
"type_info": {
"type": "VarString",
@@ -284,7 +314,7 @@
}
},
{
"ordinal": 28,
"ordinal": 31,
"name": "maybe_model_cover_image_public_bucket_hash",
"type_info": {
"type": "VarString",
@@ -294,7 +324,7 @@
}
},
{
"ordinal": 29,
"ordinal": 32,
"name": "maybe_model_cover_image_public_bucket_prefix",
"type_info": {
"type": "VarString",
@@ -304,7 +334,7 @@
}
},
{
"ordinal": 30,
"ordinal": 33,
"name": "maybe_model_cover_image_public_bucket_extension",
"type_info": {
"type": "VarString",
@@ -314,7 +344,7 @@
}
},
{
"ordinal": 31,
"ordinal": 34,
"name": "maybe_model_weight_creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
@@ -324,7 +354,7 @@
}
},
{
"ordinal": 32,
"ordinal": 35,
"name": "maybe_model_weight_creator_username",
"type_info": {
"type": "VarString",
@@ -334,7 +364,7 @@
}
},
{
"ordinal": 33,
"ordinal": 36,
"name": "maybe_model_weight_creator_display_name",
"type_info": {
"type": "VarString",
@@ -344,7 +374,7 @@
}
},
{
"ordinal": 34,
"ordinal": 37,
"name": "maybe_model_weight_creator_gravatar_hash",
"type_info": {
"type": "String",
@@ -354,7 +384,17 @@
}
},
{
"ordinal": 35,
"ordinal": 38,
"name": "extra_file_modification_info",
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 39,
"name": "public_bucket_directory_hash",
"type_info": {
"type": "VarString",
@@ -364,7 +404,7 @@
}
},
{
"ordinal": 36,
"ordinal": 40,
"name": "maybe_public_bucket_prefix",
"type_info": {
"type": "VarString",
@@ -374,7 +414,7 @@
}
},
{
"ordinal": 37,
"ordinal": 41,
"name": "maybe_public_bucket_extension",
"type_info": {
"type": "VarString",
@@ -384,7 +424,7 @@
}
},
{
"ordinal": 38,
"ordinal": 42,
"name": "maybe_ratings_positive_count",
"type_info": {
"type": "Long",
@@ -394,7 +434,7 @@
}
},
{
"ordinal": 39,
"ordinal": 43,
"name": "maybe_ratings_negative_count",
"type_info": {
"type": "Long",
@@ -404,7 +444,7 @@
}
},
{
"ordinal": 40,
"ordinal": 44,
"name": "maybe_bookmark_count",
"type_info": {
"type": "Long",
@@ -414,7 +454,7 @@
}
},
{
"ordinal": 41,
"ordinal": 45,
"name": "is_featured",
"type_info": {
"type": "LongLong",
@@ -424,21 +464,21 @@
}
},
{
"ordinal": 42,
"ordinal": 46,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 43,
"ordinal": 47,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
@@ -471,7 +511,11 @@
true,
true,
true,
true,
false,
false,
false,
true,
true,
true,
true,
@@ -494,5 +538,5 @@
false
]
},
"hash": "bfbe17ad0d993033c1015881f679fc27f5f16fb3edb24e30295c8188ff63d5cd"
"hash": "57fa22e6cd4e82b801605c96eac21babd78df3df361b3be566993b78a46efef2"
}
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO users (\n token,\n username,\n display_name,\n email_address,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n password_hash,\n ip_address_creation,\n ip_address_last_login,\n ip_address_last_update,\n maybe_source\n)\nVALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 13
},
"nullable": []
},
"hash": "58a2d6d0c5541049cc954e3ac09b3aaef894ca55e1cb7444b72f429394022f12"
}
@@ -0,0 +1,25 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n sum(usage_count) as total_usage_count\nFROM\n model_weight_usage_counts\nWHERE\n token = ?\nGROUP BY token\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "total_usage_count",
"type_info": {
"type": "NewDecimal",
"flags": "BINARY",
"char_set": 63,
"max_size": 33
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
true
]
},
"hash": "5c95ce504e15853d238e8133753efe45180c9ee57f9f5431be9c1e88a77e4824"
}
@@ -0,0 +1,36 @@
{
"db_name": "MySQL",
"query": "\n SELECT\n token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n cached_usage_count\n FROM model_weights\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: tokens::tokens::model_weights::ModelWeightToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "cached_usage_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | UNSIGNED",
"char_set": 63,
"max_size": 20
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false
]
},
"hash": "5f24dfda13a53f434f87e9826a3a943bf29f58d85a6efb35c1b9ea9e94785ec9"
}
@@ -0,0 +1,47 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n job_type as queue_type,\n count(*) as pending_job_count,\n NOW() as present_time\n FROM (\n SELECT\n token,\n job_type\n FROM generic_inference_jobs\n WHERE status IN (\"pending\", \"attempt_failed\")\n AND job_type IS NOT NULL\n UNION\n SELECT\n token,\n job_type\n FROM generic_inference_jobs\n WHERE status IN (\"started\")\n AND created_at > (CURDATE() - INTERVAL 15 MINUTE)\n AND job_type IS NOT NULL\n) as generic_inner\nGROUP BY queue_type\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "queue_type",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "pending_job_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 21
}
},
{
"ordinal": 2,
"name": "present_time",
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
true,
false,
false
]
},
"hash": "73dc054488b2fa3efc923d3a90914a1450b73e99a377562484a0498ccce1676f"
}
@@ -0,0 +1,168 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n g.token as `token: tokens::tokens::google_sign_in_accounts::GoogleSignInAccountToken`,\n\n g.subject,\n\n g.maybe_user_token as `maybe_user_token: tokens::tokens::users::UserToken`,\n\n g.email_address,\n g.is_email_verified,\n\n g.maybe_locale,\n g.maybe_name,\n g.maybe_given_name,\n g.maybe_family_name,\n\n g.created_at,\n g.updated_at,\n\n u.username as maybe_username,\n u.display_name as maybe_user_display_name,\n u.username_is_not_customized\n\nFROM google_sign_in_accounts AS g\nLEFT OUTER JOIN users AS u\n ON g.maybe_user_token = u.token\n\nWHERE\n g.subject = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: tokens::tokens::google_sign_in_accounts::GoogleSignInAccountToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "subject",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 2,
"name": "maybe_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "email_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 4,
"name": "is_email_verified",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 5,
"name": "maybe_locale",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "maybe_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 7,
"name": "maybe_given_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 8,
"name": "maybe_family_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 9,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 10,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 11,
"name": "maybe_username",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 12,
"name": "maybe_user_display_name",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 13,
"name": "username_is_not_customized",
"type_info": {
"type": "Tiny",
"flags": "",
"char_set": 63,
"max_size": 1
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
true,
false,
false,
true,
true,
true,
true,
false,
false,
true,
true,
true
]
},
"hash": "76d9a995b3cecfcb39f1a41bb4896c4e317716dbde6b5f678bd9fd458544ab78"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\n SELECT\n wt.token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n wt.title,\n wt.weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n wt.weights_category as `weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n wt.maybe_description_markdown,\n wt.maybe_description_rendered_html,\n\n wt.creator_user_token as `creator_user_token: tokens::tokens::users::UserToken`,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash AS creator_gravatar_hash,\n\n wt.creator_ip_address,\n wt.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n wt.maybe_last_update_user_token as `maybe_last_update_user_token: tokens::tokens::users::UserToken`,\n wt.original_download_url,\n wt.original_filename,\n wt.file_size_bytes,\n wt.file_checksum_sha2,\n\n wt.public_bucket_hash,\n wt.maybe_public_bucket_prefix,\n wt.maybe_public_bucket_extension,\n\n cover_image.public_bucket_directory_hash as maybe_cover_image_public_bucket_hash,\n cover_image.maybe_public_bucket_prefix as maybe_cover_image_public_bucket_prefix,\n cover_image.maybe_public_bucket_extension as maybe_cover_image_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n wt.version,\n wt.created_at,\n wt.updated_at,\n wt.user_deleted_at,\n wt.mod_deleted_at\n FROM model_weights as wt\n JOIN users\n ON users.token = wt.creator_user_token\n LEFT OUTER JOIN media_files as cover_image\n ON cover_image.token = wt.maybe_cover_image_media_file_token\n LEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"model_weight\"\n AND entity_stats.entity_token = wt.token\n WHERE\n wt.token = ?\n ",
"query": "\n SELECT\n wt.token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n wt.title,\n wt.weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n wt.weights_category as `weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n wt.maybe_description_markdown,\n wt.maybe_description_rendered_html,\n\n wt.creator_user_token as `creator_user_token: tokens::tokens::users::UserToken`,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash AS creator_gravatar_hash,\n\n wt.creator_ip_address,\n wt.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n wt.maybe_last_update_user_token as `maybe_last_update_user_token: tokens::tokens::users::UserToken`,\n wt.original_download_url,\n wt.original_filename,\n wt.file_size_bytes,\n wt.file_checksum_sha2,\n\n wt.public_bucket_hash,\n wt.maybe_public_bucket_prefix,\n wt.maybe_public_bucket_extension,\n\n cover_image.public_bucket_directory_hash as maybe_cover_image_public_bucket_hash,\n cover_image.maybe_public_bucket_prefix as maybe_cover_image_public_bucket_prefix,\n cover_image.maybe_public_bucket_extension as maybe_cover_image_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n w_extension.ietf_language_tag as maybe_ietf_language_tag,\n w_extension.ietf_primary_language_subtag as maybe_ietf_primary_language_subtag,\n w_extension.maybe_default_pretrained_vocoder as `maybe_default_pretrained_vocoder: crate::column_types::vocoder_type::VocoderType`,\n w_extension.text_pipeline_type as maybe_text_pipeline_type,\n\n wt.version,\n wt.created_at,\n wt.updated_at,\n wt.user_deleted_at,\n wt.mod_deleted_at\n\n FROM model_weights as wt\n JOIN users\n ON users.token = wt.creator_user_token\n LEFT OUTER JOIN media_files as cover_image\n ON cover_image.token = wt.maybe_cover_image_media_file_token\n LEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"model_weight\"\n AND entity_stats.entity_token = wt.token\n\n LEFT OUTER JOIN model_weights_extension_tts_details as w_extension\n ON w_extension.model_weights_token = wt.token\n\n WHERE\n wt.maybe_migration_old_model_token = ?\n ",
"describe": {
"columns": [
{
@@ -265,6 +265,46 @@
},
{
"ordinal": 26,
"name": "maybe_ietf_language_tag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 27,
"name": "maybe_ietf_primary_language_subtag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 48
}
},
{
"ordinal": 28,
"name": "maybe_default_pretrained_vocoder: crate::column_types::vocoder_type::VocoderType",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 29,
"name": "maybe_text_pipeline_type",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 30,
"name": "version",
"type_info": {
"type": "Long",
@@ -274,7 +314,7 @@
}
},
{
"ordinal": 27,
"ordinal": 31,
"name": "created_at",
"type_info": {
"type": "Timestamp",
@@ -284,7 +324,7 @@
}
},
{
"ordinal": 28,
"ordinal": 32,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
@@ -294,7 +334,7 @@
}
},
{
"ordinal": 29,
"ordinal": 33,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -304,7 +344,7 @@
}
},
{
"ordinal": 30,
"ordinal": 34,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -344,6 +384,10 @@
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
@@ -351,5 +395,5 @@
true
]
},
"hash": "e32645b06d20a0037c3ca3d514b56af2dba8396f11a4c2a93ee4fab9b4579fc3"
"hash": "7fe0ebaab55fdbfd4ab447e872e95a4def5888a0bb9f237d8a13bac8336a534b"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE generic_inference_jobs\nSET\n status = 'cancelled_by_user',\n retry_at = NULL\nWHERE status IN (\n 'pending',\n 'started',\n 'attempt_failed'\n )\nLIMIT 100\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 0
},
"nullable": []
},
"hash": "84320887e8157a450ad46ec0843071c60c054eab61958a9148789ed76cd476e3"
}
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\n INSERT INTO media_files\n SET\n token = ?,\n\n media_class = ?,\n media_type = ?,\n\n origin_category = ?, \n origin_product_category = ?, \n maybe_origin_model_type = ?, \n maybe_origin_model_token = ?, \n maybe_origin_filename = ?,\n\n is_batch_generated = ?,\n maybe_batch_token = ?,\n\n maybe_mime_type = ?,\n file_size_bytes = ?,\n maybe_duration_millis = ?,\n maybe_audio_encoding = ?, \n maybe_video_encoding = ?, \n maybe_frame_width = ?, \n maybe_frame_height = ?,\n maybe_prompt_token = ?,\n checksum_sha2 = ?,\n\n public_bucket_directory_hash = ?, \n maybe_public_bucket_prefix = ?, \n maybe_public_bucket_extension = ?, \n extra_file_modification_info = ?, \n\n maybe_creator_user_token = ?, \n maybe_creator_anonymous_visitor_token = ?, \n\n creator_ip_address = ?, \n creator_set_visibility = ?, \n\n maybe_creator_file_synthetic_id = ?, \n maybe_creator_category_synthetic_id = ?,\n\n maybe_mod_user_token = ?, \n is_generated_on_prem = ?, \n generated_by_worker = ?, \n generated_by_cluster = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 33
},
"nullable": []
},
"hash": "870ce367da8e3beb53578c6e3d44ff686ef9a23932f4d90c9083acd702127960"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n jobs.token as `job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken`,\n\n jobs.status as `status: enums::common::job_status_plus::JobStatusPlus`,\n jobs.attempt_count,\n\n jobs.maybe_creator_user_token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n jobs.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n jobs.creator_ip_address,\n\n jobs.inference_category as `inference_category: enums::by_table::generic_inference_jobs::inference_category::InferenceCategory`,\n jobs.maybe_model_type,\n jobs.maybe_model_token,\n jobs.maybe_raw_inference_text,\n jobs.maybe_inference_args,\n\n jobs.frontend_failure_category as `maybe_frontend_failure_category: enums::by_table::generic_inference_jobs::frontend_failure_category::FrontendFailureCategory`,\n\n jobs.on_success_result_entity_type as maybe_result_entity_type,\n jobs.on_success_result_entity_token as maybe_result_entity_token,\n\n model_weights.title as maybe_model_weights_title,\n tts_models.title as maybe_tts_model_title,\n voice_conversion_models.title as maybe_voice_conversion_model_title,\n\n tts_results.public_bucket_wav_audio_path as maybe_tts_public_bucket_path,\n voice_conversion_results.public_bucket_hash as maybe_voice_conversion_public_bucket_hash,\n\n media_files.public_bucket_directory_hash as maybe_media_file_public_bucket_directory_hash,\n media_files.maybe_public_bucket_prefix as maybe_media_file_public_bucket_prefix,\n media_files.maybe_public_bucket_extension as maybe_media_file_public_bucket_extension,\n\n jobs.assigned_worker as maybe_assigned_worker,\n jobs.assigned_cluster as maybe_assigned_cluster,\n\n jobs.is_keepalive_required,\n\n jobs.created_at,\n jobs.updated_at,\n\n jobs.first_started_at as maybe_first_started_at,\n jobs.successfully_completed_at as maybe_successfully_completed_at\n\nFROM generic_inference_jobs as jobs\n\nLEFT OUTER JOIN model_weights ON jobs.maybe_model_token = model_weights.token\nLEFT OUTER JOIN tts_models ON jobs.maybe_model_token = tts_models.token\nLEFT OUTER JOIN voice_conversion_models ON jobs.maybe_model_token = voice_conversion_models.token\n\nLEFT OUTER JOIN tts_results ON jobs.on_success_result_entity_token = tts_results.token\nLEFT OUTER JOIN voice_conversion_results ON jobs.on_success_result_entity_token = voice_conversion_results.token\nLEFT OUTER JOIN media_files ON jobs.on_success_result_entity_token = media_files.token\n\nWHERE jobs.token = ?\n ",
"query": "\nSELECT\n jobs.token as `job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken`,\n\n jobs.status as `status: enums::common::job_status_plus::JobStatusPlus`,\n jobs.attempt_count,\n\n jobs.maybe_creator_user_token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n jobs.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n jobs.creator_ip_address,\n\n jobs.product_category as `product_category: enums::by_table::generic_inference_jobs::inference_job_product_category::InferenceJobProductCategory`,\n jobs.inference_category as `inference_category: enums::by_table::generic_inference_jobs::inference_category::InferenceCategory`,\n jobs.maybe_model_type,\n jobs.maybe_model_token,\n jobs.maybe_raw_inference_text,\n jobs.maybe_inference_args,\n\n jobs.frontend_failure_category as `maybe_frontend_failure_category: enums::by_table::generic_inference_jobs::frontend_failure_category::FrontendFailureCategory`,\n\n jobs.on_success_result_entity_type as maybe_result_entity_type,\n jobs.on_success_result_entity_token as maybe_result_entity_token,\n\n model_weights.title as maybe_model_weights_title,\n tts_models.title as maybe_tts_model_title,\n voice_conversion_models.title as maybe_voice_conversion_model_title,\n\n tts_results.public_bucket_wav_audio_path as maybe_tts_public_bucket_path,\n voice_conversion_results.public_bucket_hash as maybe_voice_conversion_public_bucket_hash,\n\n media_files.public_bucket_directory_hash as maybe_media_file_public_bucket_directory_hash,\n media_files.maybe_public_bucket_prefix as maybe_media_file_public_bucket_prefix,\n media_files.maybe_public_bucket_extension as maybe_media_file_public_bucket_extension,\n\n jobs.assigned_worker as maybe_assigned_worker,\n jobs.assigned_cluster as maybe_assigned_cluster,\n\n jobs.is_keepalive_required,\n\n jobs.created_at,\n jobs.updated_at,\n\n jobs.first_started_at as maybe_first_started_at,\n jobs.successfully_completed_at as maybe_successfully_completed_at,\n\n NOW() as database_clock\n\nFROM generic_inference_jobs as jobs\n\nLEFT OUTER JOIN model_weights ON jobs.maybe_model_token = model_weights.token\nLEFT OUTER JOIN tts_models ON jobs.maybe_model_token = tts_models.token\nLEFT OUTER JOIN voice_conversion_models ON jobs.maybe_model_token = voice_conversion_models.token\n\nLEFT OUTER JOIN tts_results ON jobs.on_success_result_entity_token = tts_results.token\nLEFT OUTER JOIN voice_conversion_results ON jobs.on_success_result_entity_token = voice_conversion_results.token\nLEFT OUTER JOIN media_files ON jobs.on_success_result_entity_token = media_files.token\n\nWHERE jobs.token = ?\n ",
"describe": {
"columns": [
{
@@ -65,6 +65,16 @@
},
{
"ordinal": 6,
"name": "product_category: enums::by_table::generic_inference_jobs::inference_job_product_category::InferenceJobProductCategory",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "inference_category: enums::by_table::generic_inference_jobs::inference_category::InferenceCategory",
"type_info": {
"type": "VarString",
@@ -74,7 +84,7 @@
}
},
{
"ordinal": 7,
"ordinal": 8,
"name": "maybe_model_type",
"type_info": {
"type": "VarString",
@@ -84,7 +94,7 @@
}
},
{
"ordinal": 8,
"ordinal": 9,
"name": "maybe_model_token",
"type_info": {
"type": "VarString",
@@ -94,7 +104,7 @@
}
},
{
"ordinal": 9,
"ordinal": 10,
"name": "maybe_raw_inference_text",
"type_info": {
"type": "Blob",
@@ -104,7 +114,7 @@
}
},
{
"ordinal": 10,
"ordinal": 11,
"name": "maybe_inference_args",
"type_info": {
"type": "Blob",
@@ -114,7 +124,7 @@
}
},
{
"ordinal": 11,
"ordinal": 12,
"name": "maybe_frontend_failure_category: enums::by_table::generic_inference_jobs::frontend_failure_category::FrontendFailureCategory",
"type_info": {
"type": "VarString",
@@ -124,7 +134,7 @@
}
},
{
"ordinal": 12,
"ordinal": 13,
"name": "maybe_result_entity_type",
"type_info": {
"type": "VarString",
@@ -134,7 +144,7 @@
}
},
{
"ordinal": 13,
"ordinal": 14,
"name": "maybe_result_entity_token",
"type_info": {
"type": "VarString",
@@ -144,7 +154,7 @@
}
},
{
"ordinal": 14,
"ordinal": 15,
"name": "maybe_model_weights_title",
"type_info": {
"type": "VarString",
@@ -154,7 +164,7 @@
}
},
{
"ordinal": 15,
"ordinal": 16,
"name": "maybe_tts_model_title",
"type_info": {
"type": "VarString",
@@ -164,7 +174,7 @@
}
},
{
"ordinal": 16,
"ordinal": 17,
"name": "maybe_voice_conversion_model_title",
"type_info": {
"type": "VarString",
@@ -174,7 +184,7 @@
}
},
{
"ordinal": 17,
"ordinal": 18,
"name": "maybe_tts_public_bucket_path",
"type_info": {
"type": "VarString",
@@ -184,7 +194,7 @@
}
},
{
"ordinal": 18,
"ordinal": 19,
"name": "maybe_voice_conversion_public_bucket_hash",
"type_info": {
"type": "VarString",
@@ -194,7 +204,7 @@
}
},
{
"ordinal": 19,
"ordinal": 20,
"name": "maybe_media_file_public_bucket_directory_hash",
"type_info": {
"type": "VarString",
@@ -204,7 +214,7 @@
}
},
{
"ordinal": 20,
"ordinal": 21,
"name": "maybe_media_file_public_bucket_prefix",
"type_info": {
"type": "VarString",
@@ -214,7 +224,7 @@
}
},
{
"ordinal": 21,
"ordinal": 22,
"name": "maybe_media_file_public_bucket_extension",
"type_info": {
"type": "VarString",
@@ -224,7 +234,7 @@
}
},
{
"ordinal": 22,
"ordinal": 23,
"name": "maybe_assigned_worker",
"type_info": {
"type": "VarString",
@@ -234,7 +244,7 @@
}
},
{
"ordinal": 23,
"ordinal": 24,
"name": "maybe_assigned_cluster",
"type_info": {
"type": "VarString",
@@ -244,7 +254,7 @@
}
},
{
"ordinal": 24,
"ordinal": 25,
"name": "is_keepalive_required",
"type_info": {
"type": "Tiny",
@@ -254,17 +264,17 @@
}
},
{
"ordinal": 25,
"ordinal": 26,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 26,
"ordinal": 27,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
@@ -274,7 +284,7 @@
}
},
{
"ordinal": 27,
"ordinal": 28,
"name": "maybe_first_started_at",
"type_info": {
"type": "Timestamp",
@@ -284,7 +294,7 @@
}
},
{
"ordinal": 28,
"ordinal": 29,
"name": "maybe_successfully_completed_at",
"type_info": {
"type": "Timestamp",
@@ -292,6 +302,16 @@
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 30,
"name": "database_clock",
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
@@ -304,6 +324,7 @@
true,
true,
false,
true,
false,
true,
true,
@@ -326,8 +347,9 @@
false,
false,
true,
true
true,
false
]
},
"hash": "7d5030b221e9b470ee7af4b73539fd2ef477e6f3c98c56422016449c6775222d"
"hash": "90366e1705a0343bdfe4fc472d701b8e1dbd3a2dabedaadb633ac3542de72fa7"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE media_files\nSET\n maybe_animation_type = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "930cfd52f78fa14a86bd1a67c5fe36d8c8961079b2bd684a0d4da315bf3ce16e"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO model_weight_usage_counts\nSET\n token = ?,\n on_date = ?,\n usage_count = ?\n\n\nON DUPLICATE KEY UPDATE\n usage_count = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 4
},
"nullable": []
},
"hash": "99e69537a33dd54d4c4433f24863e1749f544152578d503fc86d0503a425ae8d"
}
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO generic_inference_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n\n job_type = ?,\n\n inference_category = ?,\n maybe_model_type = ?,\n maybe_model_token = ?,\n\n maybe_input_source_token = ?,\n maybe_input_source_token_type = ?,\n\n maybe_download_url = ?,\n maybe_cover_image_media_file_token = ?,\n\n maybe_raw_inference_text = ?,\n\n maybe_inference_args = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n priority_level = ?,\n is_keepalive_required = ?,\n max_duration_seconds = ?,\n\n is_debug_request = ?,\n maybe_routing_tag = ?,\n\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 21
},
"nullable": []
},
"hash": "9b4c6f0d0db1c92e4d3eed8d572fa92c885bad4adcc053ae490b3a76c6c116d4"
}
@@ -0,0 +1,47 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n distinct coalesce(w.token, w_old.token) as token,\n mwuc.usage_count as maybe_previously_cached_model_use_count,\n COUNT(*) as usage_count\nFROM\n media_files as f\nLEFT OUTER JOIN model_weights as w\n ON f.maybe_origin_model_token = w.token\nLEFT OUTER JOIN model_weights as w_old\n ON f.maybe_origin_model_token = w_old.maybe_migration_old_model_token\nLEFT OUTER JOIN model_weight_usage_counts as mwuc\n ON coalesce(w.token, w_old.token) = mwuc.token\n AND mwuc.on_date = ?\nWHERE f.maybe_origin_model_token IS NOT NULL\n AND f.created_at >= ?\n AND f.created_at < ? + INTERVAL 1 DAY\nGROUP BY coalesce(w.token, w_old.token), mwuc.usage_count\nORDER BY usage_count DESC\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "maybe_previously_cached_model_use_count",
"type_info": {
"type": "Long",
"flags": "MULTIPLE_KEY | UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 2,
"name": "usage_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 21
}
}
],
"parameters": {
"Right": 3
},
"nullable": [
true,
true,
false
]
},
"hash": "9e99e21963271f4ab229a9efba566340ce1a33375762cc140f941885f2772cfb"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE generic_inference_jobs\nSET\n is_dismissed_by_user = TRUE\nWHERE maybe_creator_user_token = ?\nAND status IN (\n 'dead',\n 'cancelled_by_system',\n 'cancelled_by_user',\n 'complete_failure',\n 'complete_success'\n )\nAND created_at > DATE_SUB(NOW(), INTERVAL 36 HOUR)\nLIMIT 1000\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
},
"hash": "a1d44611ee4a0ecc54548f95719f01341eb242460c79ef75423de96b31ed5385"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n token as `token: tokens::tokens::users::UserToken`,\n username,\n email_address,\n password_hash as `password_hash: crate::queries::users::user::lookup_user_for_login_result::VecBytes`,\n password_version,\n is_banned\nFROM users\nWHERE email_address = ?\nLIMIT 1\n ",
"query": "\nSELECT\n token as `token: tokens::tokens::users::UserToken`,\n username,\n display_name,\n username_is_not_customized,\n email_address,\n password_hash as `password_hash: crate::queries::users::user::get::lookup_user_for_login_result::VecBytes`,\n password_version,\n is_banned,\n maybe_feature_flags\nFROM users\nWHERE email_address = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
@@ -25,6 +25,26 @@
},
{
"ordinal": 2,
"name": "display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "username_is_not_customized",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 4,
"name": "email_address",
"type_info": {
"type": "VarString",
@@ -34,8 +54,8 @@
}
},
{
"ordinal": 3,
"name": "password_hash: crate::queries::users::user::lookup_user_for_login_result::VecBytes",
"ordinal": 5,
"name": "password_hash: crate::queries::users::user::get::lookup_user_for_login_result::VecBytes",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
@@ -44,7 +64,7 @@
}
},
{
"ordinal": 4,
"ordinal": 6,
"name": "password_version",
"type_info": {
"type": "Long",
@@ -54,7 +74,7 @@
}
},
{
"ordinal": 5,
"ordinal": 7,
"name": "is_banned",
"type_info": {
"type": "Tiny",
@@ -62,6 +82,16 @@
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 8,
"name": "maybe_feature_flags",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
}
],
"parameters": {
@@ -73,8 +103,11 @@
false,
false,
false,
false
false,
false,
false,
true
]
},
"hash": "e8705ee9b3bc3213e806946fef651e9bb8c2cb5cc2ac8eff3eaed82d9a88f90e"
"hash": "a5b0ee8755f5bd81dc330e63fa8a1c02e6397e7914f4041d90b2bc9cfc249c17"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO browser_session_logs\nSET\n token = ?,\n ip_address = ?,\n maybe_user_token = ?,\n maybe_anonymous_visitor_token = ?,\n maybe_last_action = ?\nON DUPLICATE KEY UPDATE\n maybe_last_action = ?,\n update_count = update_count + 1,\n maybe_last_updated_at = NOW()\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 6
},
"nullable": []
},
"hash": "b1ee86b547130219e2a5958ff3eed295e87c46ffd5268b83a258c74f4ffc2e18"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO generic_inference_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n\n job_type = ?,\n\n product_category = ?,\n\n inference_category = ?,\n maybe_model_type = ?,\n maybe_model_token = ?,\n\n maybe_input_source_token = ?,\n maybe_input_source_token_type = ?,\n\n maybe_download_url = ?,\n maybe_cover_image_media_file_token = ?,\n\n maybe_raw_inference_text = ?,\n\n maybe_inference_args = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n priority_level = ?,\n is_keepalive_required = ?,\n max_duration_seconds = ?,\n\n is_debug_request = ?,\n maybe_routing_tag = ?,\n\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 22
},
"nullable": []
},
"hash": "b48e80845d80a6c07099918807d0495b8d70dca339cb1332e05bb3943fbb24c4"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE media_files\nSET\n maybe_engine_category = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "b56ee40be840cdec013f3f99eb585e4ac333ccfe563ba3da4c9a80df33dccd57"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\n SELECT\n wt.token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n wt.title,\n wt.weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n wt.weights_category as `weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n wt.maybe_description_markdown,\n wt.maybe_description_rendered_html,\n wt.creator_ip_address,\n wt.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n wt.creator_user_token as `creator_user_token: tokens::tokens::users::UserToken`,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash AS creator_gravatar_hash,\n\n wt.maybe_last_update_user_token as `maybe_last_update_user_token: tokens::tokens::users::UserToken`,\n wt.original_download_url,\n wt.original_filename,\n wt.file_size_bytes,\n wt.file_checksum_sha2,\n wt.public_bucket_hash,\n wt.maybe_public_bucket_prefix,\n wt.maybe_public_bucket_extension,\n\n cover_image.public_bucket_directory_hash as maybe_cover_image_public_bucket_hash,\n cover_image.maybe_public_bucket_prefix as maybe_cover_image_public_bucket_prefix,\n cover_image.maybe_public_bucket_extension as maybe_cover_image_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n wt.version,\n wt.created_at,\n wt.updated_at,\n wt.user_deleted_at,\n wt.mod_deleted_at\n FROM model_weights as wt\n JOIN users\n ON users.token = wt.creator_user_token\n LEFT OUTER JOIN media_files as cover_image\n ON cover_image.token = wt.maybe_cover_image_media_file_token\n LEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"model_weight\"\n AND entity_stats.entity_token = wt.token\n WHERE\n wt.token = ?\n AND wt.user_deleted_at IS NULL\n AND wt.mod_deleted_at IS NULL\n ",
"query": "\n SELECT\n wt.token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n wt.title,\n wt.weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n wt.weights_category as `weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n wt.maybe_description_markdown,\n wt.maybe_description_rendered_html,\n wt.creator_ip_address,\n wt.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n wt.creator_user_token as `creator_user_token: tokens::tokens::users::UserToken`,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash AS creator_gravatar_hash,\n\n wt.maybe_last_update_user_token as `maybe_last_update_user_token: tokens::tokens::users::UserToken`,\n wt.original_download_url,\n wt.original_filename,\n wt.file_size_bytes,\n wt.file_checksum_sha2,\n wt.public_bucket_hash,\n wt.maybe_public_bucket_prefix,\n wt.maybe_public_bucket_extension,\n\n cover_image.public_bucket_directory_hash as maybe_cover_image_public_bucket_hash,\n cover_image.maybe_public_bucket_prefix as maybe_cover_image_public_bucket_prefix,\n cover_image.maybe_public_bucket_extension as maybe_cover_image_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n w_extension.ietf_language_tag as maybe_ietf_language_tag,\n w_extension.ietf_primary_language_subtag as maybe_ietf_primary_language_subtag,\n w_extension.maybe_default_pretrained_vocoder as `maybe_default_pretrained_vocoder: crate::column_types::vocoder_type::VocoderType`,\n w_extension.text_pipeline_type as maybe_text_pipeline_type,\n\n wt.version,\n wt.created_at,\n wt.updated_at,\n wt.user_deleted_at,\n wt.mod_deleted_at\n\n FROM model_weights as wt\n JOIN users\n ON users.token = wt.creator_user_token\n LEFT OUTER JOIN media_files as cover_image\n ON cover_image.token = wt.maybe_cover_image_media_file_token\n LEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"model_weight\"\n AND entity_stats.entity_token = wt.token\n\n LEFT OUTER JOIN model_weights_extension_tts_details as w_extension\n ON w_extension.model_weights_token = wt.token\n\n WHERE\n wt.maybe_migration_old_model_token = ?\n AND wt.user_deleted_at IS NULL\n AND wt.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
@@ -265,6 +265,46 @@
},
{
"ordinal": 26,
"name": "maybe_ietf_language_tag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 27,
"name": "maybe_ietf_primary_language_subtag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 48
}
},
{
"ordinal": 28,
"name": "maybe_default_pretrained_vocoder: crate::column_types::vocoder_type::VocoderType",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 29,
"name": "maybe_text_pipeline_type",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 30,
"name": "version",
"type_info": {
"type": "Long",
@@ -274,7 +314,7 @@
}
},
{
"ordinal": 27,
"ordinal": 31,
"name": "created_at",
"type_info": {
"type": "Timestamp",
@@ -284,7 +324,7 @@
}
},
{
"ordinal": 28,
"ordinal": 32,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
@@ -294,7 +334,7 @@
}
},
{
"ordinal": 29,
"ordinal": 33,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -304,7 +344,7 @@
}
},
{
"ordinal": 30,
"ordinal": 34,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -344,6 +384,10 @@
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
@@ -351,5 +395,5 @@
true
]
},
"hash": "0220f288c06686874df87ec163533be64cc000634920d58e7fa7a7d156cbfcae"
"hash": "bde5d2fed3508fb2c289fe583f35b0d6e6bb38d15da0271aaed761cbc342dac3"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE beta_keys\nSET\n is_distributed = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "beb8e02f9025879aa08de5ce2b55f17e3645f682a474d72eabb2f5bce8403b98"
}
@@ -0,0 +1,36 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n distinct coalesce(w.token, w_new.token) as token,\n COUNT(*) as usage_count\nFROM\n tts_results as r\nLEFT OUTER JOIN model_weights as w\n ON r.model_token = w.maybe_migration_old_model_token\nLEFT OUTER JOIN model_weights as w_new\n ON r.model_token = w_new.token\nWHERE r.created_at >= ?\n AND r.created_at < ? + INTERVAL 1 DAY\nGROUP BY coalesce(w.token, w_new.token)\nORDER BY usage_count DESC\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "usage_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 21
}
}
],
"parameters": {
"Right": 2
},
"nullable": [
true,
false
]
},
"hash": "bf1345a4d296a2696588203f10527f6ad8a9c5d08528017729421a7b3ab776ff"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\n INSERT INTO media_files\n SET\n token = ?,\n\n media_class = ?,\n media_type = ?,\n\n is_user_upload = ?,\n is_intermediate_system_file = ?,\n\n origin_category = ?, \n origin_product_category = ?, \n maybe_origin_model_type = ?, \n maybe_origin_model_token = ?, \n maybe_origin_filename = ?,\n\n is_batch_generated = ?,\n maybe_batch_token = ?,\n\n maybe_mime_type = ?,\n file_size_bytes = ?,\n maybe_duration_millis = ?,\n maybe_audio_encoding = ?, \n maybe_video_encoding = ?, \n maybe_frame_width = ?, \n maybe_frame_height = ?,\n maybe_prompt_token = ?,\n checksum_sha2 = ?,\n\n maybe_title = ?,\n maybe_text_transcript = ?,\n\n maybe_scene_source_media_file_token = ?,\n\n public_bucket_directory_hash = ?, \n maybe_public_bucket_prefix = ?, \n maybe_public_bucket_extension = ?, \n\n maybe_creator_user_token = ?, \n maybe_creator_anonymous_visitor_token = ?, \n\n creator_ip_address = ?, \n creator_set_visibility = ?, \n\n maybe_creator_file_synthetic_id = ?, \n maybe_creator_category_synthetic_id = ?,\n\n extra_file_modification_info = ?,\n\n maybe_mod_user_token = ?, \n is_generated_on_prem = ?, \n generated_by_worker = ?, \n generated_by_cluster = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 38
},
"nullable": []
},
"hash": "c58f414b5e4d0f0420d1894e2f40311e5613919f49f3ac91f81f5fc2bef1bea8"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO tags\nSET\n token = ?,\n tag_value = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "c7e848e4c906a34ac5a4ad8cc73354baa8d5cd81170dd06d66d7f414505d538b"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE google_sign_in_accounts\nSET\n email_address = ?,\n is_email_verified = ?,\n\n maybe_locale = ?,\n\n maybe_name = ?,\n maybe_given_name = ?,\n maybe_family_name = ?,\n\n ip_address_update = ?,\n\n version = version + 1\nWHERE\n subject = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 8
},
"nullable": []
},
"hash": "cf30aa779c25b42e51b38f7301c7a1b19e5586a10d21fad5bf05e4edde481a65"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n w.id,\n w.token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n\n w.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n w.weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n w.weights_category as `weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n\n w.title,\n\n cover_image.token as `maybe_cover_image_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n cover_image.public_bucket_directory_hash as maybe_cover_image_public_bucket_hash,\n cover_image.maybe_public_bucket_prefix as maybe_cover_image_public_bucket_prefix,\n cover_image.maybe_public_bucket_extension as maybe_cover_image_public_bucket_extension,\n\n w.creator_user_token as `creator_user_token: tokens::tokens::users::UserToken`,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n extension_tts.ietf_language_tag as maybe_tts_ietf_language_tag,\n extension_tts.ietf_primary_language_subtag as maybe_tts_ietf_primary_language_subtag,\n\n extension_vc.ietf_language_tag as maybe_vc_ietf_language_tag,\n extension_vc.ietf_primary_language_subtag as maybe_vc_ietf_primary_language_subtag,\n\n w.created_at,\n w.updated_at,\n w.user_deleted_at,\n w.mod_deleted_at\n\nFROM model_weights as w\n\nJOIN users\n ON users.token = w.creator_user_token\n\nLEFT OUTER JOIN model_weights_extension_tts_details as extension_tts\n ON extension_tts.model_weights_token = w.token\nLEFT OUTER JOIN model_weights_extension_voice_conversion_details as extension_vc\n ON extension_vc.model_weights_token = w.token\nLEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"model_weights\"\n AND entity_stats.entity_token = w.token\nLEFT OUTER JOIN media_files as cover_image\n ON cover_image.token = w.maybe_cover_image_media_file_token\n\nWHERE\n w.id > ?\nORDER BY id ASC\nLIMIT ?\n ",
"query": "\nSELECT\n w.id,\n w.token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n\n w.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n w.weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n w.weights_category as `weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n\n w.title,\n\n w.maybe_ietf_language_tag,\n w.maybe_ietf_primary_language_subtag,\n\n cover_image.token as `maybe_cover_image_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n cover_image.public_bucket_directory_hash as maybe_cover_image_public_bucket_hash,\n cover_image.maybe_public_bucket_prefix as maybe_cover_image_public_bucket_prefix,\n cover_image.maybe_public_bucket_extension as maybe_cover_image_public_bucket_extension,\n\n w.creator_user_token as `creator_user_token: tokens::tokens::users::UserToken`,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n\n featured_items.entity_token IS NOT NULL AS is_featured,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n w.cached_usage_count,\n\n extension_tts.ietf_language_tag as maybe_tts_ietf_language_tag,\n extension_tts.ietf_primary_language_subtag as maybe_tts_ietf_primary_language_subtag,\n\n extension_vc.ietf_language_tag as maybe_vc_ietf_language_tag,\n extension_vc.ietf_primary_language_subtag as maybe_vc_ietf_primary_language_subtag,\n\n w.created_at,\n w.updated_at,\n w.user_deleted_at,\n w.mod_deleted_at,\n\n NOW() as database_read_time\n\nFROM model_weights as w\n\nJOIN users\n ON users.token = w.creator_user_token\n\nLEFT OUTER JOIN model_weights_extension_tts_details as extension_tts\n ON extension_tts.model_weights_token = w.token\nLEFT OUTER JOIN model_weights_extension_voice_conversion_details as extension_vc\n ON extension_vc.model_weights_token = w.token\nLEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"model_weight\"\n AND entity_stats.entity_token = w.token\nLEFT OUTER JOIN media_files as cover_image\n ON cover_image.token = w.maybe_cover_image_media_file_token\nLEFT OUTER JOIN featured_items\n ON featured_items.entity_type = \"model_weight\"\n AND featured_items.entity_token = w.token\n AND featured_items.deleted_at IS NULL\n\nWHERE\n w.id > ?\nORDER BY id ASC\nLIMIT ?\n ",
"describe": {
"columns": [
{
@@ -65,6 +65,26 @@
},
{
"ordinal": 6,
"name": "maybe_ietf_language_tag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 7,
"name": "maybe_ietf_primary_language_subtag",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 48
}
},
{
"ordinal": 8,
"name": "maybe_cover_image_media_file_token: tokens::tokens::media_files::MediaFileToken",
"type_info": {
"type": "VarString",
@@ -74,7 +94,7 @@
}
},
{
"ordinal": 7,
"ordinal": 9,
"name": "maybe_cover_image_public_bucket_hash",
"type_info": {
"type": "VarString",
@@ -84,7 +104,7 @@
}
},
{
"ordinal": 8,
"ordinal": 10,
"name": "maybe_cover_image_public_bucket_prefix",
"type_info": {
"type": "VarString",
@@ -94,7 +114,7 @@
}
},
{
"ordinal": 9,
"ordinal": 11,
"name": "maybe_cover_image_public_bucket_extension",
"type_info": {
"type": "VarString",
@@ -104,7 +124,7 @@
}
},
{
"ordinal": 10,
"ordinal": 12,
"name": "creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
@@ -114,7 +134,7 @@
}
},
{
"ordinal": 11,
"ordinal": 13,
"name": "creator_username",
"type_info": {
"type": "VarString",
@@ -124,7 +144,7 @@
}
},
{
"ordinal": 12,
"ordinal": 14,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
@@ -134,7 +154,7 @@
}
},
{
"ordinal": 13,
"ordinal": 15,
"name": "creator_gravatar_hash",
"type_info": {
"type": "String",
@@ -144,7 +164,17 @@
}
},
{
"ordinal": 14,
"ordinal": 16,
"name": "is_featured",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 17,
"name": "maybe_ratings_positive_count",
"type_info": {
"type": "Long",
@@ -154,7 +184,7 @@
}
},
{
"ordinal": 15,
"ordinal": 18,
"name": "maybe_ratings_negative_count",
"type_info": {
"type": "Long",
@@ -164,7 +194,7 @@
}
},
{
"ordinal": 16,
"ordinal": 19,
"name": "maybe_bookmark_count",
"type_info": {
"type": "Long",
@@ -174,7 +204,17 @@
}
},
{
"ordinal": 17,
"ordinal": 20,
"name": "cached_usage_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | UNSIGNED",
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 21,
"name": "maybe_tts_ietf_language_tag",
"type_info": {
"type": "VarString",
@@ -184,7 +224,7 @@
}
},
{
"ordinal": 18,
"ordinal": 22,
"name": "maybe_tts_ietf_primary_language_subtag",
"type_info": {
"type": "VarString",
@@ -194,7 +234,7 @@
}
},
{
"ordinal": 19,
"ordinal": 23,
"name": "maybe_vc_ietf_language_tag",
"type_info": {
"type": "VarString",
@@ -204,7 +244,7 @@
}
},
{
"ordinal": 20,
"ordinal": 24,
"name": "maybe_vc_ietf_primary_language_subtag",
"type_info": {
"type": "VarString",
@@ -214,7 +254,7 @@
}
},
{
"ordinal": 21,
"ordinal": 25,
"name": "created_at",
"type_info": {
"type": "Timestamp",
@@ -224,7 +264,7 @@
}
},
{
"ordinal": 22,
"ordinal": 26,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
@@ -234,7 +274,7 @@
}
},
{
"ordinal": 23,
"ordinal": 27,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -244,7 +284,7 @@
}
},
{
"ordinal": 24,
"ordinal": 28,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -252,6 +292,16 @@
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 29,
"name": "database_read_time",
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
@@ -268,6 +318,9 @@
true,
true,
true,
true,
true,
false,
false,
false,
false,
@@ -275,6 +328,7 @@
true,
true,
true,
false,
true,
true,
true,
@@ -282,8 +336,9 @@
false,
false,
true,
true
true,
false
]
},
"hash": "6040227c139f6e2972734515b0a904d2a7b04bbf1a419677fc19287a0757ae21"
"hash": "d0f9d2cf4176c3f7f8fbff66eb6ff9415d989afc2b5944629a7bcea4b5a822f3"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type as `tts_model_type: enums::by_table::tts_models::tts_model_type::TtsModelType`,\n tts.text_pipeline_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.use_default_mel_multiply_factor,\n tts.maybe_custom_mel_multiply_factor,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.ietf_language_tag,\n tts.ietf_primary_language_subtag,\n\n tts.is_front_page_featured,\n tts.is_twitch_featured,\n\n tts.maybe_suggested_unique_bot_command,\n\n tts.user_ratings_positive_count,\n tts.user_ratings_negative_count,\n tts.user_ratings_total_count,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.maybe_custom_vocoder_token,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder_user.token as maybe_custom_vocoder_creator_user_token,\n vocoder_user.username as maybe_custom_vocoder_creator_username,\n vocoder_user.display_name as maybe_custom_vocoder_creator_display_name,\n vocoder_user.email_gravatar_hash as maybe_custom_vocoder_creator_gravatar_hash,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\n\nLEFT OUTER JOIN vocoder_models AS vocoder\n ON vocoder.token = tts.maybe_custom_vocoder_token\nLEFT OUTER JOIN users AS vocoder_user\n ON vocoder_user.token = vocoder.creator_user_token\n\nWHERE\n tts.token = ?\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type as `tts_model_type: enums::by_table::tts_models::tts_model_type::TtsModelType`,\n tts.text_pipeline_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.use_default_mel_multiply_factor,\n tts.maybe_custom_mel_multiply_factor,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.ietf_language_tag,\n tts.ietf_primary_language_subtag,\n\n tts.is_front_page_featured,\n tts.is_twitch_featured,\n\n tts.maybe_suggested_unique_bot_command,\n\n tts.user_ratings_positive_count,\n tts.user_ratings_negative_count,\n tts.user_ratings_total_count,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.maybe_migration_new_model_weights_token,\n\n tts.maybe_custom_vocoder_token,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder_user.token as maybe_custom_vocoder_creator_user_token,\n vocoder_user.username as maybe_custom_vocoder_creator_username,\n vocoder_user.display_name as maybe_custom_vocoder_creator_display_name,\n vocoder_user.email_gravatar_hash as maybe_custom_vocoder_creator_gravatar_hash,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\n\nLEFT OUTER JOIN vocoder_models AS vocoder\n ON vocoder.token = tts.maybe_custom_vocoder_token\nLEFT OUTER JOIN users AS vocoder_user\n ON vocoder_user.token = vocoder.creator_user_token\n\nWHERE tts.token = ?\n ",
"describe": {
"columns": [
{
@@ -265,6 +265,16 @@
},
{
"ordinal": 26,
"name": "maybe_migration_new_model_weights_token",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 27,
"name": "maybe_custom_vocoder_token",
"type_info": {
"type": "VarString",
@@ -274,7 +284,7 @@
}
},
{
"ordinal": 27,
"ordinal": 28,
"name": "maybe_custom_vocoder_title",
"type_info": {
"type": "VarString",
@@ -284,7 +294,7 @@
}
},
{
"ordinal": 28,
"ordinal": 29,
"name": "maybe_custom_vocoder_creator_user_token",
"type_info": {
"type": "VarString",
@@ -294,7 +304,7 @@
}
},
{
"ordinal": 29,
"ordinal": 30,
"name": "maybe_custom_vocoder_creator_username",
"type_info": {
"type": "VarString",
@@ -304,7 +314,7 @@
}
},
{
"ordinal": 30,
"ordinal": 31,
"name": "maybe_custom_vocoder_creator_display_name",
"type_info": {
"type": "VarString",
@@ -314,7 +324,7 @@
}
},
{
"ordinal": 31,
"ordinal": 32,
"name": "maybe_custom_vocoder_creator_gravatar_hash",
"type_info": {
"type": "String",
@@ -324,7 +334,7 @@
}
},
{
"ordinal": 32,
"ordinal": 33,
"name": "created_at",
"type_info": {
"type": "Timestamp",
@@ -334,7 +344,7 @@
}
},
{
"ordinal": 33,
"ordinal": 34,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
@@ -344,7 +354,7 @@
}
},
{
"ordinal": 34,
"ordinal": 35,
"name": "creator_ip_address_creation",
"type_info": {
"type": "VarString",
@@ -354,7 +364,7 @@
}
},
{
"ordinal": 35,
"ordinal": 36,
"name": "creator_ip_address_last_update",
"type_info": {
"type": "VarString",
@@ -364,7 +374,7 @@
}
},
{
"ordinal": 36,
"ordinal": 37,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -374,7 +384,7 @@
}
},
{
"ordinal": 37,
"ordinal": 38,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
@@ -420,6 +430,7 @@
true,
true,
true,
true,
false,
false,
false,
@@ -428,5 +439,5 @@
true
]
},
"hash": "0049a4b3dd3770564c3a466ade7479f0a11508bd4a48b2344b28ff0a20e0b9ca"
"hash": "d2d05678aa1c4c3b2d95bbb2ed563c2fc8b587c0480354a42f11409d9671afbe"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO google_sign_in_accounts\nSET\n token = ?,\n subject = ?,\n\n maybe_user_token = ?,\n\n email_address = ?,\n is_email_verified = ?,\n\n maybe_locale = ?,\n\n maybe_name = ?,\n maybe_given_name = ?,\n maybe_family_name = ?,\n\n ip_address_creation = ?,\n ip_address_update = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 11
},
"nullable": []
},
"hash": "e034a43787bce2ac2db23dee2e640d527f82b29133d29a3d3803aab905f9cab6"
}
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO media_files\nSET\n token = ?,\n\n media_class = ?,\n media_type = ?,\n\n origin_category = ?,\n origin_product_category = ?,\n\n maybe_engine_category = ?,\n maybe_animation_type = ?,\n\n maybe_media_subtype = ?,\n maybe_mime_type = ?,\n file_size_bytes = ?,\n\n checksum_sha2 = ?,\n\n public_bucket_directory_hash = ?,\n maybe_public_bucket_prefix = ?,\n maybe_public_bucket_extension = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n maybe_creator_file_synthetic_id = ?,\n maybe_creator_category_synthetic_id = ?,\n\n maybe_origin_model_type = NULL,\n maybe_origin_model_token = NULL\n\nON DUPLICATE KEY UPDATE\n\n media_class = ?,\n media_type = ?,\n\n origin_category = ?,\n origin_product_category = ?,\n\n maybe_engine_category = ?,\n maybe_animation_type = ?,\n\n maybe_media_subtype = ?,\n maybe_mime_type = ?,\n file_size_bytes = ?,\n\n checksum_sha2 = ?,\n\n public_bucket_directory_hash = ?,\n maybe_public_bucket_prefix = ?,\n maybe_public_bucket_extension = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n\n creator_set_visibility = ?,\n\n maybe_creator_file_synthetic_id = ?,\n maybe_creator_category_synthetic_id = ?,\n\n maybe_origin_model_type = NULL,\n maybe_origin_model_token = NULL\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 39
},
"nullable": []
},
"hash": "e670551074f3beeccb217e1b88d5ca5da7b2fe152466ff3ae526855ba5791e60"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE users\nSET\n username = ?,\n display_name = ?,\n username_is_not_customized = ?,\n ip_address_last_update = ?,\n version = version + 1\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
},
"hash": "f41980bd0f7e5ba680315095c773b406e589ea6e72b5c284a14440c5d1c57811"
}
@@ -0,0 +1,58 @@
{
"db_name": "MySQL",
"query": "\n SELECT\n token as `token: tokens::tokens::model_weights::ModelWeightToken`,\n weights_type as `weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n created_at,\n updated_at\n FROM model_weights\n WHERE\n updated_at > ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: tokens::tokens::model_weights::ModelWeightToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "weights_type: enums::by_table::model_weights::weights_types::WeightsType",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 3,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false
]
},
"hash": "f68d01ee1339c0a1ea8301fcc74359e981c20abebd7024844bea6e1b9486b458"
}
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n m.token as `token: tokens::tokens::media_files::MediaFileToken`,\n\n m.media_class as `media_class: enums::by_table::media_files::media_file_class::MediaFileClass`,\n m.media_type as `media_type: enums::by_table::media_files::media_file_type::MediaFileType`,\n\n m.maybe_engine_category as `maybe_engine_category: enums::by_table::media_files::media_file_engine_category::MediaFileEngineCategory`,\n m.maybe_animation_type as `maybe_animation_type: enums::by_table::media_files::media_file_animation_type::MediaFileAnimationType`,\n\n m.maybe_media_subtype as `maybe_media_subtype: enums::by_table::media_files::media_file_subtype::MediaFileSubtype`,\n\n users.token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n m.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n\n m.maybe_batch_token as `maybe_batch_token: tokens::tokens::batch_generations::BatchGenerationToken`,\n\n m.maybe_style_transfer_source_media_file_token as `maybe_style_transfer_source_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n m.maybe_scene_source_media_file_token as `maybe_scene_source_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n\n\n m.maybe_title,\n m.maybe_text_transcript,\n\n m.maybe_origin_filename,\n\n m.maybe_duration_millis,\n\n m.maybe_prompt_token as `maybe_prompt_token: tokens::tokens::prompts::PromptToken`,\n prompts.maybe_other_args as maybe_other_prompt_args,\n\n media_file_cover_image.public_bucket_directory_hash as maybe_file_cover_image_public_bucket_hash,\n media_file_cover_image.maybe_public_bucket_prefix as maybe_file_cover_image_public_bucket_prefix,\n media_file_cover_image.maybe_public_bucket_extension as maybe_file_cover_image_public_bucket_extension,\n\n m.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n model_weights.token as `maybe_model_weights_token: tokens::tokens::model_weights::ModelWeightToken`,\n model_weights.title as maybe_model_weights_title,\n model_weights.weights_type as `maybe_model_weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n model_weights.weights_category as `maybe_model_weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n\n model_weight_cover_image.public_bucket_directory_hash as maybe_model_cover_image_public_bucket_hash,\n model_weight_cover_image.maybe_public_bucket_prefix as maybe_model_cover_image_public_bucket_prefix,\n model_weight_cover_image.maybe_public_bucket_extension as maybe_model_cover_image_public_bucket_extension,\n\n model_weight_creator.token as `maybe_model_weight_creator_user_token: tokens::tokens::users::UserToken`,\n model_weight_creator.username as maybe_model_weight_creator_username,\n model_weight_creator.display_name as maybe_model_weight_creator_display_name,\n model_weight_creator.email_gravatar_hash as maybe_model_weight_creator_gravatar_hash,\n\n m.public_bucket_directory_hash,\n m.maybe_public_bucket_prefix,\n m.maybe_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n featured_items.entity_token IS NOT NULL AS is_featured,\n\n m.created_at,\n m.updated_at\n\nFROM media_files AS m\nLEFT OUTER JOIN users\n ON m.maybe_creator_user_token = users.token\nLEFT OUTER JOIN model_weights\n ON m.maybe_origin_model_token = model_weights.token\nLEFT OUTER JOIN media_files as media_file_cover_image\n ON media_file_cover_image.token = m.maybe_cover_image_media_file_token\nLEFT OUTER JOIN media_files as model_weight_cover_image\n ON model_weight_cover_image.token = model_weights.maybe_cover_image_media_file_token\nLEFT OUTER JOIN users as model_weight_creator\n ON model_weight_creator.token = model_weights.creator_user_token\nLEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"media_file\"\n AND entity_stats.entity_token = m.token\nLEFT OUTER JOIN prompts\n ON prompts.token = m.maybe_prompt_token\nLEFT OUTER JOIN featured_items\n ON featured_items.entity_type = 'media_file'\n AND featured_items.entity_token = m.token\n AND featured_items.deleted_at IS NULL\nWHERE\n m.token = ?\n AND m.user_deleted_at IS NULL\n AND m.mod_deleted_at IS NULL\n ",
"query": "\nSELECT\n m.token as `token: tokens::tokens::media_files::MediaFileToken`,\n\n m.media_class as `media_class: enums::by_table::media_files::media_file_class::MediaFileClass`,\n m.media_type as `media_type: enums::by_table::media_files::media_file_type::MediaFileType`,\n\n m.maybe_engine_category as `maybe_engine_category: enums::by_table::media_files::media_file_engine_category::MediaFileEngineCategory`,\n m.maybe_animation_type as `maybe_animation_type: enums::by_table::media_files::media_file_animation_type::MediaFileAnimationType`,\n\n m.maybe_media_subtype as `maybe_media_subtype: enums::by_table::media_files::media_file_subtype::MediaFileSubtype`,\n\n m.maybe_mime_type,\n\n users.token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n m.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n\n m.maybe_batch_token as `maybe_batch_token: tokens::tokens::batch_generations::BatchGenerationToken`,\n\n m.maybe_style_transfer_source_media_file_token as `maybe_style_transfer_source_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n m.maybe_scene_source_media_file_token as `maybe_scene_source_media_file_token: tokens::tokens::media_files::MediaFileToken`,\n\n m.maybe_title,\n m.maybe_text_transcript,\n\n m.maybe_origin_filename,\n\n m.maybe_duration_millis,\n\n m.maybe_prompt_token as `maybe_prompt_token: tokens::tokens::prompts::PromptToken`,\n prompts.maybe_other_args as maybe_other_prompt_args,\n\n media_file_cover_image.public_bucket_directory_hash as maybe_file_cover_image_public_bucket_hash,\n media_file_cover_image.maybe_public_bucket_prefix as maybe_file_cover_image_public_bucket_prefix,\n media_file_cover_image.maybe_public_bucket_extension as maybe_file_cover_image_public_bucket_extension,\n\n m.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n m.is_user_upload,\n m.is_intermediate_system_file,\n\n model_weights.token as `maybe_model_weights_token: tokens::tokens::model_weights::ModelWeightToken`,\n model_weights.title as maybe_model_weights_title,\n model_weights.weights_type as `maybe_model_weights_type: enums::by_table::model_weights::weights_types::WeightsType`,\n model_weights.weights_category as `maybe_model_weights_category: enums::by_table::model_weights::weights_category::WeightsCategory`,\n\n model_weight_cover_image.public_bucket_directory_hash as maybe_model_cover_image_public_bucket_hash,\n model_weight_cover_image.maybe_public_bucket_prefix as maybe_model_cover_image_public_bucket_prefix,\n model_weight_cover_image.maybe_public_bucket_extension as maybe_model_cover_image_public_bucket_extension,\n\n model_weight_creator.token as `maybe_model_weight_creator_user_token: tokens::tokens::users::UserToken`,\n model_weight_creator.username as maybe_model_weight_creator_username,\n model_weight_creator.display_name as maybe_model_weight_creator_display_name,\n model_weight_creator.email_gravatar_hash as maybe_model_weight_creator_gravatar_hash,\n\n m.extra_file_modification_info,\n\n m.public_bucket_directory_hash,\n m.maybe_public_bucket_prefix,\n m.maybe_public_bucket_extension,\n\n entity_stats.ratings_positive_count as maybe_ratings_positive_count,\n entity_stats.ratings_negative_count as maybe_ratings_negative_count,\n entity_stats.bookmark_count as maybe_bookmark_count,\n\n featured_items.entity_token IS NOT NULL AS is_featured,\n\n m.created_at,\n m.updated_at\n\nFROM media_files AS m\nLEFT OUTER JOIN users\n ON m.maybe_creator_user_token = users.token\nLEFT OUTER JOIN model_weights\n ON m.maybe_origin_model_token = model_weights.token\nLEFT OUTER JOIN media_files as media_file_cover_image\n ON media_file_cover_image.token = m.maybe_cover_image_media_file_token\nLEFT OUTER JOIN media_files as model_weight_cover_image\n ON model_weight_cover_image.token = model_weights.maybe_cover_image_media_file_token\nLEFT OUTER JOIN users as model_weight_creator\n ON model_weight_creator.token = model_weights.creator_user_token\nLEFT OUTER JOIN entity_stats\n ON entity_stats.entity_type = \"media_file\"\n AND entity_stats.entity_token = m.token\nLEFT OUTER JOIN prompts\n ON prompts.token = m.maybe_prompt_token\nLEFT OUTER JOIN featured_items\n ON featured_items.entity_type = 'media_file'\n AND featured_items.entity_token = m.token\n AND featured_items.deleted_at IS NULL\nWHERE\n m.token = ?\n ",
"describe": {
"columns": [
{
@@ -65,6 +65,16 @@
},
{
"ordinal": 6,
"name": "maybe_mime_type",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "maybe_creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
@@ -74,7 +84,7 @@
}
},
{
"ordinal": 7,
"ordinal": 8,
"name": "maybe_creator_username",
"type_info": {
"type": "VarString",
@@ -84,7 +94,7 @@
}
},
{
"ordinal": 8,
"ordinal": 9,
"name": "maybe_creator_display_name",
"type_info": {
"type": "VarString",
@@ -94,7 +104,7 @@
}
},
{
"ordinal": 9,
"ordinal": 10,
"name": "maybe_creator_gravatar_hash",
"type_info": {
"type": "String",
@@ -104,7 +114,7 @@
}
},
{
"ordinal": 10,
"ordinal": 11,
"name": "maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken",
"type_info": {
"type": "VarString",
@@ -114,7 +124,7 @@
}
},
{
"ordinal": 11,
"ordinal": 12,
"name": "maybe_batch_token: tokens::tokens::batch_generations::BatchGenerationToken",
"type_info": {
"type": "VarString",
@@ -124,7 +134,7 @@
}
},
{
"ordinal": 12,
"ordinal": 13,
"name": "maybe_style_transfer_source_media_file_token: tokens::tokens::media_files::MediaFileToken",
"type_info": {
"type": "VarString",
@@ -134,7 +144,7 @@
}
},
{
"ordinal": 13,
"ordinal": 14,
"name": "maybe_scene_source_media_file_token: tokens::tokens::media_files::MediaFileToken",
"type_info": {
"type": "VarString",
@@ -144,7 +154,7 @@
}
},
{
"ordinal": 14,
"ordinal": 15,
"name": "maybe_title",
"type_info": {
"type": "VarString",
@@ -154,7 +164,7 @@
}
},
{
"ordinal": 15,
"ordinal": 16,
"name": "maybe_text_transcript",
"type_info": {
"type": "Blob",
@@ -164,7 +174,7 @@
}
},
{
"ordinal": 16,
"ordinal": 17,
"name": "maybe_origin_filename",
"type_info": {
"type": "VarString",
@@ -174,7 +184,7 @@
}
},
{
"ordinal": 17,
"ordinal": 18,
"name": "maybe_duration_millis",
"type_info": {
"type": "Long",
@@ -184,7 +194,7 @@
}
},
{
"ordinal": 18,
"ordinal": 19,
"name": "maybe_prompt_token: tokens::tokens::prompts::PromptToken",
"type_info": {
"type": "VarString",
@@ -194,7 +204,7 @@
}
},
{
"ordinal": 19,
"ordinal": 20,
"name": "maybe_other_prompt_args",
"type_info": {
"type": "Blob",
@@ -204,7 +214,7 @@
}
},
{
"ordinal": 20,
"ordinal": 21,
"name": "maybe_file_cover_image_public_bucket_hash",
"type_info": {
"type": "VarString",
@@ -214,7 +224,7 @@
}
},
{
"ordinal": 21,
"ordinal": 22,
"name": "maybe_file_cover_image_public_bucket_prefix",
"type_info": {
"type": "VarString",
@@ -224,7 +234,7 @@
}
},
{
"ordinal": 22,
"ordinal": 23,
"name": "maybe_file_cover_image_public_bucket_extension",
"type_info": {
"type": "VarString",
@@ -234,7 +244,7 @@
}
},
{
"ordinal": 23,
"ordinal": 24,
"name": "creator_set_visibility: enums::common::visibility::Visibility",
"type_info": {
"type": "String",
@@ -244,7 +254,27 @@
}
},
{
"ordinal": 24,
"ordinal": 25,
"name": "is_user_upload",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 26,
"name": "is_intermediate_system_file",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 27,
"name": "maybe_model_weights_token: tokens::tokens::model_weights::ModelWeightToken",
"type_info": {
"type": "VarString",
@@ -254,7 +284,7 @@
}
},
{
"ordinal": 25,
"ordinal": 28,
"name": "maybe_model_weights_title",
"type_info": {
"type": "VarString",
@@ -264,7 +294,7 @@
}
},
{
"ordinal": 26,
"ordinal": 29,
"name": "maybe_model_weights_type: enums::by_table::model_weights::weights_types::WeightsType",
"type_info": {
"type": "VarString",
@@ -274,7 +304,7 @@
}
},
{
"ordinal": 27,
"ordinal": 30,
"name": "maybe_model_weights_category: enums::by_table::model_weights::weights_category::WeightsCategory",
"type_info": {
"type": "VarString",
@@ -284,7 +314,7 @@
}
},
{
"ordinal": 28,
"ordinal": 31,
"name": "maybe_model_cover_image_public_bucket_hash",
"type_info": {
"type": "VarString",
@@ -294,7 +324,7 @@
}
},
{
"ordinal": 29,
"ordinal": 32,
"name": "maybe_model_cover_image_public_bucket_prefix",
"type_info": {
"type": "VarString",
@@ -304,7 +334,7 @@
}
},
{
"ordinal": 30,
"ordinal": 33,
"name": "maybe_model_cover_image_public_bucket_extension",
"type_info": {
"type": "VarString",
@@ -314,7 +344,7 @@
}
},
{
"ordinal": 31,
"ordinal": 34,
"name": "maybe_model_weight_creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
@@ -324,7 +354,7 @@
}
},
{
"ordinal": 32,
"ordinal": 35,
"name": "maybe_model_weight_creator_username",
"type_info": {
"type": "VarString",
@@ -334,7 +364,7 @@
}
},
{
"ordinal": 33,
"ordinal": 36,
"name": "maybe_model_weight_creator_display_name",
"type_info": {
"type": "VarString",
@@ -344,7 +374,7 @@
}
},
{
"ordinal": 34,
"ordinal": 37,
"name": "maybe_model_weight_creator_gravatar_hash",
"type_info": {
"type": "String",
@@ -354,7 +384,17 @@
}
},
{
"ordinal": 35,
"ordinal": 38,
"name": "extra_file_modification_info",
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 39,
"name": "public_bucket_directory_hash",
"type_info": {
"type": "VarString",
@@ -364,7 +404,7 @@
}
},
{
"ordinal": 36,
"ordinal": 40,
"name": "maybe_public_bucket_prefix",
"type_info": {
"type": "VarString",
@@ -374,7 +414,7 @@
}
},
{
"ordinal": 37,
"ordinal": 41,
"name": "maybe_public_bucket_extension",
"type_info": {
"type": "VarString",
@@ -384,7 +424,7 @@
}
},
{
"ordinal": 38,
"ordinal": 42,
"name": "maybe_ratings_positive_count",
"type_info": {
"type": "Long",
@@ -394,7 +434,7 @@
}
},
{
"ordinal": 39,
"ordinal": 43,
"name": "maybe_ratings_negative_count",
"type_info": {
"type": "Long",
@@ -404,7 +444,7 @@
}
},
{
"ordinal": 40,
"ordinal": 44,
"name": "maybe_bookmark_count",
"type_info": {
"type": "Long",
@@ -414,7 +454,7 @@
}
},
{
"ordinal": 41,
"ordinal": 45,
"name": "is_featured",
"type_info": {
"type": "LongLong",
@@ -424,21 +464,21 @@
}
},
{
"ordinal": 42,
"ordinal": 46,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 43,
"ordinal": 47,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
@@ -471,7 +511,11 @@
true,
true,
true,
true,
false,
false,
false,
true,
true,
true,
true,
@@ -494,5 +538,5 @@
false
]
},
"hash": "beda05b1f3e3f78ca2610c491e682ea1c76fb5effccd5d710761353baf8ce161"
"hash": "f6c37066ab3e508050e81cf3bea38cc708b05c5c59ba1c322dcfb775e4b9e7a6"
}
Generated
+2280 -1462
View File
File diff suppressed because it is too large Load Diff
+7 -10
View File
@@ -3,10 +3,9 @@ resolver = "2"
members = [
# Types: common strongly-typed tokens, ids, payloads, etc.
# Also common cloud buckets and other "strongly typed" configs.
"crates/_types/buckets",
"crates/_types/composite_identifiers",
"crates/_types/enums",
"crates/_types/enums_public",
"crates/_types/reusable_types", # TODO(bt, 2022-12-21): Deprecate
"crates/_types/tokens",
@@ -14,6 +13,7 @@ members = [
"crates/cli/devenv/dev-database-seed",
"crates/cli/devenv/dev-upload-media-file",
"crates/cli/devenv/scrape-test",
"crates/cli/production/db-backfill",
"crates/cli/production/db-backup",
"crates/cli/production/db-cleanup",
"crates/cli/production/elasticsearch-cli",
@@ -26,9 +26,10 @@ members = [
"crates/lib/actix_helpers",
"crates/lib/api_clients/cloud_storage",
"crates/lib/api_clients/google_drive_common",
"crates/lib/api_clients/google_sign_in",
"crates/lib/api_clients/thumbnail_generator",
"crates/lib/api_clients/twitch_common",
"crates/lib/bootstrap",
"crates/lib/bucket_paths",
"crates/lib/caching/memory_caching",
"crates/lib/caching/redis_caching",
"crates/lib/concurrency",
@@ -38,8 +39,8 @@ members = [
"crates/lib/data/datetimes",
"crates/lib/data/primitives",
"crates/lib/deprecated/config", # TODO(bt, 2023-02-13): Deprecate or repurpose
"crates/lib/deprecated/container_common", # TODO(bt, 2023-02-13): Pull apart and rehome pieces
"crates/lib/deprecated/http_server_common", # TODO(bt, 2023-03-20): Move useful pieces to actix_helpers
"crates/lib/dimensions",
"crates/lib/easyenv", # NB: Vendored version of https://github.com/echelon/easyenv.rs that we'll improve.
"crates/lib/elasticsearch_schema",
"crates/lib/email_sender",
@@ -54,11 +55,13 @@ members = [
"crates/lib/idempotency",
"crates/lib/jobs_common",
"crates/lib/logging",
"crates/lib/markdown",
"crates/lib/migration",
"crates/lib/mysql_queries",
"crates/lib/password",
"crates/lib/prompt_engineering",
"crates/lib/redis_common",
"crates/lib/redis_schema",
"crates/lib/server_environment",
"crates/lib/sqlx_mysql_helpers",
"crates/lib/storyteller_root",
@@ -71,9 +74,6 @@ members = [
#"crates/lib/api_clients/fakeyou_client",
#"crates/lib/sqlite_queries",
# Programs: Desktop apps
#"crates/programs/aichatbot-sidecar",
# Services: API servers, jobs, workers, etc.
"crates/service/job/analytics_job",
"crates/service/job/download_job",
@@ -84,16 +84,13 @@ members = [
"crates/service/job/tts_inference_job",
"crates/service/job/w2l_download_job",
"crates/service/job/w2l_inference_job",
"crates/service/other/twitch_pubsub_subscriber",
"crates/service/web/dummy_service",
"crates/service/web/storyteller_web",
"crates/service/web/websocket_gateway",
# Service Plugins: complete subsystems that can be plugged into services (users, billing, etc.)
"crates/service/plugins/billing",
"crates/service/plugins/inference_workloads",
"crates/service/plugins/user_traits_component",
"crates/service/plugins/users",
# Vendored code
"crates/vendor/limitation",
+56
View File
@@ -0,0 +1,56 @@
# -*- mode: Python -*-
if k8s_context() != 'black1':
fail("failing early to avoid overwriting prod")
local_resource('storyteller-web-binary',
cmd='SQLX_OFFLINE=true cargo build --release --bin storyteller-web --target=x86_64-unknown-linux-musl',
)
local_resource('inference-job-binary',
cmd='SQLX_OFFLINE=true cargo build --release --bin inference-job --target=x86_64-unknown-linux-musl',
)
allow_k8s_contexts('black1')
sync_src_crates = sync('./crates', '/storyteller-rust/source/crates')
sync_src_sql = sync('./_sql', '/storyteller-rust/source/_sql')
sync_src_cargo_lock = sync('./Cargo.lock', '/storyteller-rust/source/Cargo.lock')
sync_src_cargo = sync('./Cargo.toml', '/storyteller-rust/source/Cargo.toml')
sync_src_env = sync('./.env', '/storyteller-rust/source/.env')
sync_src_startup = sync('./_develop/localdev/startup.sh', '/storyteller-rust/_develop/localdev/startup.sh')
sync_src_storyteller_binary = sync('./target/x86_64-unknown-linux-musl/release/storyteller-web', '/storyteller-rust/target/x86_64-unknown-linux-musl/release/storyteller-web')
sync_src_inference_job_binary = sync('./target/x86_64-unknown-linux-musl/release/inference-job', '/application-dir/inference-job')
docker_build('storyteller-web',
'.',
dockerfile='_develop/localdev/Dockerfile',
platform='linux/amd64',
only=[
'./target/x86_64-unknown-linux-musl/release/storyteller-web',
'./target/x86_64-unknown-linux-musl/release/inference-job',
'_develop/localdev/Dockerfile',
'./_develop/localdev/startup.sh',
'crates/service/web/storyteller_web/config/storyteller-web.development.env',
'_sql', 'diesel.toml', '.env'],
live_update = [
sync_src_crates,
sync_src_sql,
sync_src_cargo_lock,
sync_src_cargo,
sync_src_env,
sync_src_startup,
sync_src_storyteller_binary,
sync_src_inference_job_binary,
run('date > /restart.txt')
],
)
k8s_yaml('_develop/localdev/kubernetes.yml',
)
k8s_resource(
objects=['ssd-hostpath:storageclass', 'test-pvc:persistentvolumeclaim', 'ml-support-pvc:persistentvolumeclaim'],
new_name='storyteller-web-pvc',
trigger_mode=TRIGGER_MODE_MANUAL,
)
k8s_resource('mysql', port_forwards='3307:3306')
k8s_resource('storyteller-web', port_forwards=12345)
+12 -1
View File
@@ -6,9 +6,20 @@ RUN apt-get update && \
apt-get install -y \
mariadb-client \
imagemagick \
python3-pip \
libmariadb-dev \
&& rm -rf /var/lib/apt/lists/*
RUN cd /tmp && \
wget -O entr.zip https://github.com/eradman/entr/archive/refs/tags/5.6.zip && \
unzip entr.zip && \
cd entr-5.6 && \
./configure && \
make test && \
make install \
&& rm -rf /tmp/entr-5.6
RUN cargo install diesel_cli --features mysql && \
cargo install sqlx-cli --features mysql
@@ -19,5 +30,5 @@ ARG GIT_SHA
RUN echo -n ${GIT_SHA} > /GIT_SHA
CMD ["/storyteller-rust/localdev/startup.sh"]
CMD ["/storyteller-rust/_develop/localdev/startup.sh"]
+108 -15
View File
@@ -27,6 +27,51 @@ spec:
ports:
- containerPort: 3306
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: ssd-hostpath
provisioner: microk8s.io/hostpath
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
parameters:
pvDir: /home/kasisnu/microk8s/hostpath-provisioner
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: test-pvc
spec:
storageClassName: ssd-hostpath
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ml-support-pvc
spec:
storageClassName: ssd-hostpath
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
---
apiVersion: v1
kind: ConfigMap
metadata:
name: storyteller-config
data:
buckets.vocodes_bucket_region: us-east1
buckets.vocodes_private_bucket_name: kasisnu-test-area-private
buckets.vocodes_public_bucket_name: kasisnu-test-area-public
buckets.vocodes_ephemeral_bucket_name: kasisnu-test-area-ephemeral-public
---
apiVersion: apps/v1
@@ -57,6 +102,11 @@ metadata:
name: storyteller-web
spec:
replicas: 1
strategy:
rollingUpdate:
maxSurge: 5
maxUnavailable: 2
type: RollingUpdate
selector:
matchLabels:
app: storyteller-web
@@ -65,29 +115,65 @@ spec:
labels:
app: storyteller-web
spec:
runtimeClassName: nvidia
containers:
- name: gpt-sovitsdir
# image: localhost:32000/some-gpt-sovits:latest
image: localhost:32000/some-comfy:latest
imagePullPolicy: Always
command: ["sleep", "infinity"]
resources:
limits:
nvidia.com/gpu: "1"
requests:
nvidia.com/gpu: "1"
volumeMounts:
- mountPath: /application-dir
name: application-dir
- mountPath: /ml-support
name: ml-support-dir
- name: storyteller-web
image: storyteller-web:latest
imagePullPolicy: Never
imagePullPolicy: Always
env:
- name: MYSQL_URL
value: mysql://storyteller:password@mysql.default/storyteller
value: mysql://storyteller:password@mysql/storyteller
- name: REDIS_0_URL
value: redis://redisd@redis.default/0
value: redis://redisd@redis/0
- name: REDIS_1_URL
value: redis://redisd@redis.default/1
value: redis://redisd@redis/1
- name: ACCESS_KEY
value: garbage
valueFrom:
secretKeyRef:
name: bucket-secrets
key: access-key
- name: SECRET_KEY
value: garbage
valueFrom:
secretKeyRef:
name: bucket-secrets
key: secret-key
- name: REGION_NAME
value: garbage
valueFrom:
configMapKeyRef:
name: storyteller-config
key: buckets.vocodes_bucket_region
- name: GC_ENABLED_PUBLIC_BUCKET_NAME
valueFrom:
configMapKeyRef:
name: storyteller-config
key: buckets.vocodes_ephemeral_bucket_name
- name: W2L_PRIVATE_DOWNLOAD_BUCKET_NAME
value: garbage
valueFrom:
configMapKeyRef:
name: storyteller-config
key: buckets.vocodes_private_bucket_name
- name: W2L_PUBLIC_DOWNLOAD_BUCKET_NAME
value: garbage
valueFrom:
configMapKeyRef:
name: storyteller-config
key: buckets.vocodes_public_bucket_name
- name: AUDIO_UPLOADS_BUCKET_ROOT
value: garbage
value: /user_uploaded_w2l_audio
- name: TWITCH_USERNAME
value: garbage
- name: TWITCH_STREAM_KEY
@@ -101,10 +187,17 @@ spec:
volumeMounts:
- mountPath: /storyteller-rust
name: storyteller-rust-folder
- mountPath: /application-dir
name: application-dir
volumes:
- name: storyteller-rust-folder
hostPath:
path: /storyteller-rust
persistentVolumeClaim:
claimName: test-pvc
- name: application-dir
emptyDir: {}
- name: ml-support-dir
persistentVolumeClaim:
claimName: ml-support-pvc
---
apiVersion: v1
@@ -116,7 +209,7 @@ spec:
ports:
- name: mysql
port: 3306
nodePort: 3306
nodePort: 32206
selector:
app: mysql
@@ -131,7 +224,7 @@ spec:
ports:
- name: redis
port: 6379
nodePort: 6379
nodePort: 32379
selector:
app: redis
@@ -146,7 +239,7 @@ spec:
ports:
- name: storyteller-web
port: 12345
nodePort: 12345
nodePort: 32345
selector:
app: storyteller-web
+5 -2
View File
@@ -2,5 +2,8 @@
set +e +o pipefail
diesel migration run --database-url="${MYSQL_URL}"
set -e -o pipefail
./target/x86_64-unknown-linux-musl/release/storyteller-web
echo 'hello world in startup.sh'
#sleep infinity
date > /restart.txt
echo /restart.txt | entr -nrz /storyteller-rust/target/x86_64-unknown-linux-musl/release/storyteller-web
#/storyteller-rust/target/x86_64-unknown-linux-musl/release/storyteller-web
@@ -1,61 +0,0 @@
#!/usr/bin/env python3
import json
import re
import requests
import uuid
login_url = 'http://localhost:12345/login'
create_api_token_url = 'http://localhost:12345/api_tokens/create'
edit_api_token_url = 'http://localhost:12345/api_tokens/edit'
delete_api_token_url = 'http://localhost:12345/api_tokens/{}/delete'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
cookies = { 'session': session_cookie }
payload = {
'idempotency_token': str(uuid.uuid4()),
}
r = requests.post(create_api_token_url, cookies=cookies, json=payload)
print("===== Created API Token =====")
print('Status: {}'.format(r.status_code))
print(r.content)
api_token = json.loads(r.content)
payload = {
'api_token': api_token['api_token'],
'maybe_short_description': 'this describes my token',
}
r = requests.post(edit_api_token_url, cookies=cookies, json=payload)
print("===== Edited API Token =====")
print('Status: {}'.format(r.status_code))
print(r.content)
url = delete_api_token_url.format(api_token['api_token'])
r = requests.post(url, cookies=cookies)
print("===== Deleted API Token =====")
print('Status: {}'.format(r.status_code))
print(r.content)
@@ -1,150 +0,0 @@
#!/usr/bin/env python3
import json
import re
import requests
import uuid
login_url = 'http://localhost:12345/login'
category_create_url = 'http://localhost:12345/category/create'
category_delete_url_format = 'http://localhost:12345/category/{}/delete'
category_edit_url_format = 'http://localhost:12345/category/{}/edit'
tts_model_list_url = 'http://localhost:12345/tts/list'
tts_category_assignment_url = 'http://localhost:12345/category/assign/tts'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== [1] Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
print("===== [2] Create Category =====")
cookies = { 'session': session_cookie }
payload = {
'idempotency_token': str(uuid.uuid4()),
'name': 'First Category',
'model_type': 'tts', # tts or w2l
'can_directly_have_models': False,
'can_have_subcategories': True,
'is_mod_approved': True,
}
r = requests.post(category_create_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
d = json.loads(r.content)
category_token = d['token']
print(f'created category token: #{category_token}')
print("===== [3] (Soft) Delete Category =====")
category_delete_url = category_delete_url_format.format(category_token)
cookies = { 'session': session_cookie }
payload = {
'set_delete': True,
}
r = requests.post(category_delete_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
print("===== [4] Undelete Category =====")
cookies = { 'session': session_cookie }
payload = {
'set_delete': False,
}
r = requests.post(category_delete_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
print("===== [5] Edit Category =====")
category_edit_url = category_edit_url_format.format(category_token)
cookies = { 'session': session_cookie }
payload = {
'name': 'Edited Name',
'dropdown_name': 'Edited Dropdown Name',
'can_directly_have_models': True,
'can_have_subcategories': True,
'can_only_mods_apply': False,
'is_mod_approved': True,
'maybe_mod_comments': 'mod comment',
}
r = requests.post(category_edit_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
print("===== [6] List TTS Models =====")
r = requests.get(tts_model_list_url, cookies=cookies)
print('Status: {}'.format(r.status_code))
d = json.loads(r.content)
tts_model_token = d['models'][0]['model_token']
print('TTS model token: {}'.format(tts_model_token))
print("===== [7] Create Category Assignment to TTS Model =====")
payload = {
'category_token': category_token,
'tts_model_token': tts_model_token,
'assign': True,
}
r = requests.post(tts_category_assignment_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
print("===== [8] Delete Category Assignment to TTS Model =====")
payload = {
'category_token': category_token,
'tts_model_token': tts_model_token,
'assign': False,
}
r = requests.post(tts_category_assignment_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
@@ -1,7 +0,0 @@
#!/bin/bash
# LOCALHOST ONLY
curl -vvv \
-H "content-type: application/json" \
--data '{"username": "echelon", "password": "testing", "password_confirmation": "testing", "email_address": "echelon@gmail.com"}' \
http://localhost:12345/create_account
@@ -1,7 +0,0 @@
#!/bin/bash
# LOCALHOST ONLY
curl -vvv \
-H "content-type: application/json" \
--data '{"username": "ernest", "password": "knowwhatimean", "password_confirmation": "knowwhatimean", "email_address": "vern@knowwhatimean.com"}' \
http://localhost:12345/create_account
@@ -1,7 +0,0 @@
#!/bin/bash
# LOCALHOST ONLY
curl -vvv \
-H "content-type: application/json" \
--data '{"username": "vocodes", "password": "testing", "password_confirmation": "testing", "email_address": "vocodes@gmail.com"}' \
http://localhost:12345/create_account
-43
View File
@@ -1,43 +0,0 @@
#!/usr/bin/env python3
import requests
import re
login_url = 'http://localhost:12345/login'
inference_url = 'http://localhost:12345/tts/inference'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
print("===== Infer TTS =====")
cookies = { 'session': session_cookie }
payload = {
'tts_model_token': 'TTS_TOKEN',
'inference_text': 'this is the text to generate',
}
r = requests.post(inference_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
-43
View File
@@ -1,43 +0,0 @@
#!/usr/bin/env python3
import requests
import re
login_url = 'http://localhost:12345/login'
inference_url = 'http://localhost:12345/w2l/inference'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
print("===== Infer W2L =====")
cookies = { 'session': session_cookie }
payload = {
'w2l_template_token': 'W2L_TOKEN',
'tts_inference_result_token': 'TTS_TOKEN',
}
r = requests.post(inference_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
@@ -1,7 +0,0 @@
#!/bin/bash
# LOCALHOST ONLY
curl -vvv \
-H "content-type: application/json" \
--data '{"username_or_email": "echelon", "password": "BAD_PASSWORD"}' \
http://localhost:12345/login
@@ -1,7 +0,0 @@
#!/bin/bash
# LOCALHOST ONLY
curl -vvv \
-H "content-type: application/json" \
--data '{"username_or_email": "nobody", "password": "testing"}' \
http://localhost:12345/login
@@ -1,7 +0,0 @@
#!/bin/bash
# LOCALHOST ONLY
curl -vvv \
-H "content-type: application/json" \
--data '{"username_or_email": "echelon@gmail.com", "password": "testing"}' \
http://localhost:12345/login
@@ -1,7 +0,0 @@
#!/bin/bash
# LOCALHOST ONLY
curl -vvv \
-H "content-type: application/json" \
--data '{"username_or_email": "echelon", "password": "testing"}' \
http://localhost:12345/login
@@ -1,38 +0,0 @@
#!/usr/bin/env python3
import requests
import re
login_url = 'http://localhost:12345/login'
logout_url = 'http://localhost:12345/logout'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
cookies = { 'session': session_cookie }
r = requests.post(logout_url, cookies=cookies)
print("===== Logout =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
-123
View File
@@ -1,123 +0,0 @@
#!/usr/bin/env python3
import requests
import re
import uuid
import socket
# There are some things here that will cause my laptop to freeze!
hostname = socket.gethostname()
def print_response(response):
print('\tStatus: {}'.format(response.status_code))
for k, v in response.headers.items():
print('\t header - {}: {}'.format(k, v))
print('\tbody: {}', response.json())
# ==================== CREATE ACCOUNTS ====================
def create_user_account(username, password, email):
print('Create account: {}'.format(username))
signup_url = 'http://localhost:12345/create_account'
payload = {
'username': username,
'password': password,
'password_confirmation': password,
'email_address': email,
}
r = requests.post(signup_url, json=payload)
print_response(r)
create_user_account('echelon', 'testing', 'echelon@gmail.com')
create_user_account('brandon', 'testing', 'brandon@storyteller.company')
create_user_account('nanashi', 'nanashi', 'somebody@somewhere.com')
create_user_account('other', 'testing', 'ryu@storyteller.company')
create_user_account('raptor9', 'testing', 'raptor9@storyteller.company')
create_user_account('ryu', 'testing', 'ryu@storyteller.company')
# ==================== LOGIN ====================
def login(username, password):
print('Login: {}'.format(username))
login_url = 'http://localhost:12345/login'
payload = {
'username_or_email': username,
'password': password,
}
r = requests.post(login_url, json=payload)
print_response(r)
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
return session_cookie
session_echelon = login('echelon', 'testing')
session_nanashi = login('nanashi', 'nanashi')
session_brandon = login('brandon', 'testing')
session_other = login('other', 'testing')
# ==================== UPLOAD W2L TEMPLATES ====================
def upload_w2l_template(content_url, title, session_cookie):
print('Upload W2L template')
upload_url = 'http://localhost:12345/w2l/upload'
cookies = { 'session': session_cookie }
payload = {
'idempotency_token': str(uuid.uuid4()),
'title': title,
'download_url': content_url,
}
r = requests.post(upload_url, cookies=cookies, json=payload)
print_response(r)
upload_w2l_template('https://drive.google.com/file/d/1yoBSb6nwFUZVI4CD-nM2BSofGdBjC8Nn/view?usp=sharing', 'Mr. Musk', session_nanashi)
upload_w2l_template('https://drive.google.com/file/d/1ysBAdRjlSmfWQPFjGlMJpv_zcGmVw7RC/view?usp=sharing', 'short bill clinton clip', session_brandon)
upload_w2l_template('https://i.imgur.com/NneE7Eq.jpg', 'itsa me mario!', session_echelon)
upload_w2l_template('https://i.imgur.com/W1EYiPU.jpg', 'Creepy Sonic does a gasp', session_echelon)
upload_w2l_template('https://i.imgur.com/8U3IdUa.png', 'Creepy Sonic actually talks', session_echelon)
upload_w2l_template('https://i.imgur.com/lKaQ4Er.jpg', 'hasta la vista', session_brandon)
upload_w2l_template('https://i.imgur.com/uoGuTJo.jpeg', 'what do you mean vern?', session_brandon)
upload_w2l_template('https://i.imgur.com/v8k9yau.jpeg', 'Miyamoto-san', session_brandon)
if hostname == 'halide':
upload_w2l_template('https://www.youtube.com/watch?v=a7mS9ZdU6k4', 'Steve Jobs talks', session_echelon)
upload_w2l_template('https://www.youtube.com/watch?v=6fg8SxgEUYI', 'Paul Graham lectures', session_echelon)
# ==================== UPLOAD TTS MODELS ====================
def upload_tts_model(content_url, title, session_cookie):
print('Upload TTS model')
upload_url = 'http://localhost:12345/tts/upload'
cookies = { 'session': session_cookie }
payload = {
'idempotency_token': str(uuid.uuid4()),
'title': title,
'download_url': content_url,
}
r = requests.post(upload_url, cookies=cookies, json=payload)
print_response(r)
# From others' Google Drives
#upload_tts_model('https://drive.google.com/file/d/1grwDGbAsPwCMVfye071TZ6PLUub1KGyR/view?usp=sharing', 'Jorgen', session_nanashi)
#upload_tts_model('https://drive.google.com/file/d/1w3oBk5vzyHurqYwP95UEQv-_NeMNu6pt/view?usp=sharing', 'Noire', session_echelon)
# Copied into Storyteller Google Drive
upload_tts_model('https://drive.google.com/file/d/1d8KPwYqbRsGiYx1c4TCW4xCtcRLdIU1s/view?usp=sharing', 'Zephyr', session_echelon)
upload_tts_model('https://drive.google.com/file/d/1yhoamPz1NOMy403gu2v8sIx5hPj3LQWs/view?usp=sharing', 'Wakko Warner', session_other)
# TEMP COMMENT DUE TO RATE LIMIT upload_tts_model('https://drive.google.com/file/d/1I6KGQZFMMB2ZvCzWEqy9xTgGl0L5cmfP/view?usp=sharing', 'Turret-192', session_echelon)
# TEMP COMMENT DUE TO RATE LIMIT upload_tts_model('https://drive.google.com/file/d/1T_hvgGcNOfofhNmDWUqpVtYDdSXQrWdE/view?usp=sharing', 'technoblade-324', session_brandon)
# TEMP COMMENT DUE TO RATE LIMIT upload_tts_model('https://drive.google.com/file/d/1NKyRiex3K1J0QyIv2np17D_H0rE98HyK/view?usp=sharing', 'Noire', session_other)
# TEMP COMMENT DUE TO RATE LIMIT upload_tts_model('https://drive.google.com/file/d/1VDHDOpsUR8C-MD07vEsnUf1Lpcf8hXg4/view?usp=sharing', 'MatPat80', session_other)
# TEMP COMMENT DUE TO RATE LIMIT upload_tts_model('https://drive.google.com/file/d/1atFn4vm7mjkufXNK9TZS6J8WzISrAn3-/view?usp=sharing', 'King Julien-70', session_other)
# TEMP COMMENT DUE TO RATE LIMIT upload_tts_model('https://drive.google.com/file/d/1-rlJpi2jAsagn-UCStcCc_ITNycXgn2F/view?usp=sharing', 'Jorgen', session_other)
# TEMP COMMENT DUE TO RATE LIMIT upload_tts_model('https://drive.google.com/file/d/1togTNOEKnaarqWWrbZLSwIbZIZ8IT_qw/view?usp=sharing', 'edsheeransinging', session_nanashi)
# TEMP COMMENT DUE TO RATE LIMIT
# TEMP COMMENT DUE TO RATE LIMIT upload_tts_model('https://drive.google.com/file/d/1OAiu0cZDyUJMemyLc0Btqw7zEQgiN81D/view?usp=sharing', 'Wakko Warner v2 ST21', session_nanashi)
upload_tts_model('https://drive.google.com/file/d/1vRVI2gQ5tAs8SLQPrR_M1J77L05gGBOp/view?usp=sharing', 'Testing voice', session_nanashi)
#upload_tts_model('', '', session_other)
@@ -1,41 +0,0 @@
#!/usr/bin/env python3
import requests
import re
login_url = 'http://localhost:12345/login'
session_info_url = 'http://localhost:12345/session'
r = requests.get(session_info_url)
print("===== Session Info (logged out) =====")
print(r.content)
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
cookies = { 'session': session_cookie }
r = requests.get(session_info_url, cookies=cookies)
print("===== Session Info (logged in) =====")
print(r.content)
@@ -1,306 +0,0 @@
#!/usr/bin/env python3
import json
import re
import requests
import uuid
import pprint
login_url = 'http://localhost:12345/login'
create_url = 'http://localhost:12345/twitch/event_rule/create'
list_url = 'http://localhost:12345/twitch/event_rule/list'
update_url = 'http://localhost:12345/twitch/event_rule/{}/update'
delete_url = 'http://localhost:12345/twitch/event_rule/{}/delete'
def delete_rule(token, cookies):
url = delete_url.format(token)
r = requests.delete(url, cookies=cookies)
print("===== Deleted Event Rule Output =====")
print('Status: {}'.format(r.status_code))
print(r.content)
def create_rule(payload, cookies):
r = requests.post(create_url, cookies=cookies, json=payload)
print("===== Created Event Rule Output =====")
print('Status: {}'.format(r.status_code))
print(r.content)
# ========== Setup / Login ==========
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
cookies = { 'session': session_cookie }
# ========== Delete All Existing ==========
r = requests.get(list_url, cookies=cookies)
print("===== List Event Rule Output =====")
print('Status: {}'.format(r.status_code))
response = json.loads(r.content)
tokens = [rule['token'] for rule in response['twitch_event_rules']]
for token in tokens:
delete_rule(token, cookies)
# ========== Create (1) ==========
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'bits',
'event_match_predicate': {
'bits_spend_threshold': {
'minimum_bits_spent': 1,
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
r = requests.post(create_url, cookies=cookies, json=payload)
print("===== Created Event Rule Output =====")
print('Status: {}'.format(r.status_code))
print(r.content)
response = json.loads(r.content)
token = response['twitch_event_rule_token']
# ========== Update (1) ==========
payload = {
'event_match_predicate': {
'bits_spend_threshold': {
'minimum_bits_spent': 12345,
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 123,
'rule_is_disabled': True,
}
url = update_url.format(token)
r = requests.post(url, cookies=cookies, json=payload)
print("===== Edited Event Rule Output =====")
print('Status: {}'.format(r.status_code))
print(r.content)
# ========== Create: Bits Spend Threshold ==========
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'bits',
'event_match_predicate': {
'bits_spend_threshold': {
'minimum_bits_spent': 1000,
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': True,
}
create_rule(payload, cookies)
# ========== Create: Cheermote Exact Match ==========
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'bits',
'event_match_predicate': {
'bits_cheermote_name_exact_match': {
'cheermote_name': 'Cheer1',
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
create_rule(payload, cookies)
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'bits',
'event_match_predicate': {
'bits_cheermote_name_exact_match': {
'cheermote_name': 'Corgo5000',
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
create_rule(payload, cookies)
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'bits',
'event_match_predicate': {
'bits_cheermote_name_exact_match': {
'cheermote_name': 'ZomboCom5000',
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
create_rule(payload, cookies)
# ========== Create: Cheermote Prefix And Spend Threshold ==========
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'bits',
'event_match_predicate': {
'bits_cheermote_prefix_spend_threshold': {
'cheermote_prefix': 'DoodleCheer',
'minimum_bits_spent': 1000,
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
create_rule(payload, cookies)
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'bits',
'event_match_predicate': {
'bits_cheermote_prefix_spend_threshold': {
'cheermote_prefix': 'Corgo',
'minimum_bits_spent': 12345,
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'bits',
'event_match_predicate': {
'bits_cheermote_prefix_spend_threshold': {
'cheermote_prefix': 'ZomboCom',
'minimum_bits_spent': 1000,
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
create_rule(payload, cookies)
# ========== Create: Channel Points ==========
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'channel_points',
'event_match_predicate': {
'channel_points_reward_name_exact_match': {
'reward_name': 'My Reward',
},
},
'event_response': {
'tts_single_voice': {
'tts_model_token': 'TM:40m3aqtt41y0', # "Wakko" voice (dev)
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
create_rule(payload, cookies)
payload = {
'idempotency_token': str(uuid.uuid4()),
'event_category': 'channel_points',
'event_match_predicate': {
'channel_points_reward_name_exact_match': {
'reward_name': 'My Reward',
},
},
'event_response': {
'tts_random_voice': {
'tts_model_tokens': [
'TM:40m3aqtt41y0', # "Wakko" voice (dev)
'TM:4c1hycjj3a3t', # "Zephyr" voice (dev)
],
}
},
'user_specified_rule_order': 0,
'rule_is_disabled': False,
}
create_rule(payload, cookies)
# ========== List ==========
r = requests.get(list_url, cookies=cookies)
print("===== List Event Rule Output =====")
print('Status: {}'.format(r.status_code))
response = json.loads(r.content)
pprint.pprint(response)
-45
View File
@@ -1,45 +0,0 @@
#!/usr/bin/env python3
import requests
import re
import uuid
login_url = 'http://localhost:12345/login'
upload_url = 'http://localhost:12345/tts/upload'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
print("===== Upload TTS=====")
cookies = { 'session': session_cookie }
payload = {
'idempotency_token': str(uuid.uuid4()),
'title': 'this is a new text to speech model',
'download_url': 'https://website.com',
}
r = requests.post(upload_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
@@ -1,45 +0,0 @@
#!/usr/bin/env python3
import requests
import re
import uuid
login_url = 'http://localhost:12345/login'
upload_url = 'http://localhost:12345/tts/upload'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
print("===== Upload TTS=====")
cookies = { 'session': session_cookie }
payload = {
'idempotency_token': str(uuid.uuid4()),
'title': 'this is a new text to speech model',
'download_url': 'https://drive.google.com/file/d/15-tkgblTZpa0ifmvvyr_kgWy2cguTpAe/view?usp=sharing',
}
r = requests.post(upload_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
-45
View File
@@ -1,45 +0,0 @@
#!/usr/bin/env python3
import re
import requests
import uuid
login_url = 'http://localhost:12345/login'
upload_url = 'http://localhost:12345/w2l/upload'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
print("===== Upload W2L =====")
cookies = { 'session': session_cookie }
payload = {
'idempotency_token': str(uuid.uuid4()),
'title': 'this is a new text to W2L template',
'download_url': 'https://video.com',
}
r = requests.post(upload_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
@@ -1,52 +0,0 @@
#!/usr/bin/env python3
import requests
import re
import uuid
login_url = 'http://localhost:12345/login'
upload_url = 'http://localhost:12345/w2l/upload'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
print("===== Upload W2L =====")
cookies = { 'session': session_cookie }
# mario.zip
#download_url = 'https://drive.google.com/file/d/15-tkgblTZpa0ifmvvyr_kgWy2cguTpAe/view?usp=sharing'
# elon_integration_test.jpg
download_url = 'https://drive.google.com/file/d/1yoBSb6nwFUZVI4CD-nM2BSofGdBjC8Nn/view?usp=sharing'
#download_url = 'https://i.imgur.com/...'
payload = {
'idempotency_token': str(uuid.uuid4()),
'title': 'this is a new image template',
'download_url': download_url,
}
r = requests.post(upload_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
@@ -1,61 +0,0 @@
#!/usr/bin/env python3
import requests
import re
import uuid
login_url = 'http://localhost:12345/login'
upload_url = 'http://localhost:12345/w2l/upload'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
def upload(url):
print("===== Upload W2L =====")
cookies = { 'session': session_cookie }
payload = {
'idempotency_token': str(uuid.uuid4()),
'title': 'this is a new image template',
'download_url': url,
}
r = requests.post(upload_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
upload('https://i.imgur.com/W1EYiPU.jpg')
upload('https://i.imgur.com/NneE7Eq.jpg')
upload('https://i.imgur.com/v8k9yau.jpeg')
upload('https://drive.google.com/file/d/1yoBSb6nwFUZVI4CD-nM2BSofGdBjC8Nn/view?usp=sharing')
upload('https://drive.google.com/file/d/1ysBAdRjlSmfWQPFjGlMJpv_zcGmVw7RC/view?usp=sharing')
upload('https://i.imgur.com/lKaQ4Er.jpg')
upload('https://i.imgur.com/uoGuTJo.jpeg')
@@ -1,55 +0,0 @@
#!/usr/bin/env python3
import requests
import re
import uuid
login_url = 'http://localhost:12345/login'
upload_url = 'http://localhost:12345/w2l/upload'
payload = {
'username_or_email': 'echelon',
'password': 'testing',
}
r = requests.post(login_url, json=payload)
print("===== Login =====")
print('Status: {}'.format(r.status_code))
print(r.content)
for k, v in r.headers.items():
print(' {}: {}'.format(k, v))
# NB: May not be set due to cookie domain:
#r.cookies['session']
raw_set_cookie_header = r.headers['set-cookie']
m = re.match(r'session=([^;\s]+);', raw_set_cookie_header)
session_cookie = m.group(1)
print("===== Upload W2L =====")
cookies = { 'session': session_cookie }
# mario.zip
#download_url = 'https://drive.google.com/file/d/15-tkgblTZpa0ifmvvyr_kgWy2cguTpAe/view?usp=sharing'
# elon_integration_test.jpg
#download_url = 'https://drive.google.com/file/d/1yoBSb6nwFUZVI4CD-nM2BSofGdBjC8Nn/view?usp=sharing'
# bill-integration-test.mp4
# NB: This freezes up my poor laptop:
###download_url = 'https://drive.google.com/file/d/14yO_60lc1FJCYhDGaeiQabgGvYLa86WI/THIS_IS_TOO_BIGview?usp=sharing'
# bill-integration-small.mp4 (small enough to run on my laptop)
download_url = 'https://drive.google.com/file/d/1ysBAdRjlSmfWQPFjGlMJpv_zcGmVw7RC/view?usp=sharing'
payload = {
'idempotency_token': str(uuid.uuid4()),
'title': 'this is a new image template',
'download_url': download_url,
}
r = requests.post(upload_url, cookies=cookies, json=payload)
print('Status: {}'.format(r.status_code))
print(r.content)
-7
View File
@@ -1,7 +0,0 @@
#!/bin/bash
# ONLY FOR LOCAL DEV
mysql -u storyteller \
-ppassword \
-h localhost \
-D storyteller \
-e "select * from badges\G"
-7
View File
@@ -1,7 +0,0 @@
#!/bin/bash
# ONLY FOR LOCAL DEV
mysql -u storyteller \
-ppassword \
-h localhost \
-D storyteller \
-e "select * from ip_address_bans\G"
@@ -1,7 +0,0 @@
#!/bin/bash
# ONLY FOR LOCAL DEV
mysql -u storyteller \
-ppassword \
-h localhost \
-D storyteller \
-e "select * from firehose_entries\G"
@@ -1,7 +0,0 @@
#!/bin/bash
# ONLY FOR LOCAL DEV
mysql -u root \
-proot \
-h localhost \
-D storyteller \
-e "select * from user_sessions\G"
@@ -1,7 +0,0 @@
#!/bin/bash
# ONLY FOR LOCAL DEV
mysql -u storyteller \
-ppassword \
-h localhost \
-D storyteller \
-e "select * from tts_inference_jobs\G"
@@ -1,45 +0,0 @@
#!/bin/bash
# ONLY FOR LOCAL DEV
mysql -u storyteller \
-ppassword \
-h localhost \
-D storyteller \
-e "select * from tts_results\G"
#echo '==============================================='
#
#read -r -d '' query << EOF
#
# SELECT
# w2l_results.token as w2l_result_token,
# w2l_results.maybe_tts_inference_result_token,
# w2l_templates.token as maybe_w2l_template_token,
# w2l_templates.template_type,
# users.token as maybe_creator_user_token,
# users.username as maybe_creator_username,
# users.display_name as maybe_creator_display_name,
# w2l_results.file_size_bytes,
# w2l_results.frame_width,
# w2l_results.frame_height,
# w2l_results.duration_millis,
# w2l_results.created_at,
# w2l_results.updated_at
# FROM
# w2l_results
# LEFT OUTER JOIN w2l_templates ON w2l_results.maybe_w2l_template_token = w2l_templates.token
# LEFT OUTER JOIN users ON w2l_results.maybe_creator_user_token = users.token
# WHERE
# w2l_results.deleted_at IS NULL
# AND users.username = 'echelon'\G
#EOF
#
#echo $query
#
#mysql -u root \
# -proot \
# -h localhost \
# -D storyteller \
# -e "${query}"
@@ -1,7 +0,0 @@
#!/bin/bash
# ONLY FOR LOCAL DEV
mysql -u storyteller \
-ppassword \
-h localhost \
-D storyteller \
-e "select * from tts_models\G"
@@ -1,7 +0,0 @@
#!/bin/bash
# ONLY FOR LOCAL DEV
mysql -u root \
-proot \
-h localhost \
-D storyteller \
-e "select * from tts_model_upload_jobs\G"

Some files were not shown because too many files have changed in this diff Show More