Commit Graph
5919 Commits
Author SHA1 Message Date
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