summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#16890)dependabot[bot]2024-02-061-1/+1
|
* Bump sentry-sdk from 1.39.1 to 1.40.0 (#16889)dependabot[bot]2024-02-061-3/+3
|
* Bump pydantic from 2.5.3 to 2.6.0 (#16888)dependabot[bot]2024-02-061-112/+86
|
* Bump jsonschema from 4.20.0 to 4.21.1 (#16887)dependabot[bot]2024-02-061-3/+3
|
* Bump types-requests from 2.31.0.10 to 2.31.0.20240125 (#16886)dependabot[bot]2024-02-061-4/+4
|
* Bump hiredis from 2.2.3 to 2.3.2 (#16862)dependabot[bot]2024-02-011-90/+110
|
* Bump mypy-zope from 1.0.1 to 1.0.3 (#16865)dependabot[bot]2024-02-011-4/+4
|
* Bump types-pillow from 10.1.0.2 to 10.2.0.20240125 (#16864)dependabot[bot]2024-02-011-4/+4
|
* Bump types-setuptools from 69.0.0.0 to 69.0.0.20240125 (#16863)dependabot[bot]2024-02-011-4/+4
|
* Bump phonenumbers from 8.13.26 to 8.13.29 (#16868)dependabot[bot]2024-02-011-3/+3
|
* Bump serde from 1.0.195 to 1.0.196 (#16867)dependabot[bot]2024-02-011-4/+4
|
* Bump serde_json from 1.0.111 to 1.0.113 (#16866)dependabot[bot]2024-02-011-2/+2
|
* Update version picker for element-hq (#16880)Will Hunt2024-02-012-2/+3
|
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2024-01-313-1/+14
|\
| * 1.100.0 v1.100.0 github/release-v1.100 release-v1.100Olivier Wilkinson (reivilibre)2024-01-303-1/+14
| |
* | Bump gitpython from 3.1.40 to 3.1.41 (#16850)dependabot[bot]2024-01-241-4/+4
|/
* 1.100.0rc3 v1.100.0rc3Olivier Wilkinson (reivilibre)2024-01-244-2/+16
|
* Run `ANALYZE` after fiddling with stats (#16849)Erik Johnston2024-01-243-0/+19
| | | | | Introduced in #16833 Fixes #16844
* Tweak changelog v1.100.0rc2Olivier Wilkinson (reivilibre)2024-01-241-0/+2
|
* 1.100.0rc2Olivier Wilkinson (reivilibre)2024-01-244-2/+16
|
* Downgrade the `download-artifact` and `upload-artifact` actions to v3 due to ↵reivilibre2024-01-242-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | breaking changes. (#16847) Partially reverts #16796 This is causing errors of the form: ``` Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run ``` for the debs and wheels stages. There were breaking changes that weren't included in the dependabot changelog (:/): https://github.com/actions/upload-artifact#breaking-changes <!-- Fixes: # <!-- --> <!-- Supersedes: # <!-- --> <!-- Follows: # <!-- --> <!-- Part of: # <!-- --> Base: `release-v1.100` <!-- git-stack-base-branch:release-v1.100 --> <!-- This pull request is commit-by-commit review friendly. <!-- --> <!-- This pull request is intended for commit-by-commit review. <!-- --> Original commit schedule, with full messages: <ol> <li> Downgrade the `upload-artifact` and `download-artifact` actions to v3 </li> </ol> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* Update changelog v1.100.0rc1Olivier Wilkinson (reivilibre)2024-01-231-1/+1
|
* 1.100.0rc1Olivier Wilkinson (reivilibre)2024-01-2324-23/+70
|
* Speed up e2e device keys queries for bot accounts (#16841)Erik Johnston2024-01-232-11/+19
| | | | | | This helps with bot accounts with lots of non-e2e devices. The change is basically to change the order of the join for the case of using `INNER JOIN`
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-23731-0/+846
| | | | | During the migration the automated script to update the copyright headers accidentally got rid of some of the existing copyright lines. Reinstate them.
* Preparatory work for tweaking performance of auth chain lookups (#16833)Erik Johnston2024-01-235-27/+163
|
* Add a `--generate-only` option to the Complement launcher. (#16828)reivilibre2024-01-222-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulled out of #16803 since the drive-by cleanup was maybe not as drive-by as I had hoped. <!-- Fixes: # <!-- --> <!-- Supersedes: # <!-- --> <!-- Follows: # <!-- --> <!-- Part of: # <!-- --> Base: `develop` <!-- git-stack-base-branch:develop --> <!-- This pull request is commit-by-commit review friendly. <!-- --> <!-- This pull request is intended for commit-by-commit review. <!-- --> Original commit schedule, with full messages: <ol> <li> Add a --generate-only option </li> </ol> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* listen http2 deprecated nginx (updating documentation) (#16831)Arnold2024-01-222-4/+5
| | | | | More info [here](https://www.nginx.com/blog/nginx-plus-r30-released/). Nginx threw error's at me when I used all the options of the doc
* Allow room creation but not publishing to continue if room publication rules ↵Shay2024-01-225-34/+65
| | | | | | | | | | | | | are violated when creating a new room. (#16811) Prior to this PR, if a request to create a public (public as in published to the rooms directory) room violated the room list publication rules set in the [config](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#room_list_publication_rules), the request to create the room was denied and the room was not created. This PR changes the behavior such that when a request to create a room published to the directory violates room list publication rules, the room is still created but the room is not published to the directory.
* Bump regex from 1.9.6 to 1.10.3 (#16837)dependabot[bot]2024-01-221-6/+6
|
* Bump minimum Rust version to 1.65.0 (#16818)Erik Johnston2024-01-224-10/+19
| | | | | The ecosystem e.g. regex crate, have bumped up their MSRV to 1.65.0, which was released Nov 2022. In line with our policy, let's bump to match.
* Bump types-netaddr from 0.9.0.1 to 0.10.0.20240106 (#16839)dependabot[bot]2024-01-221-4/+4
|
* Bump ruff from 0.1.13 to 0.1.14 (#16838)dependabot[bot]2024-01-222-20/+20
|
* Bump pydantic from 2.5.2 to 2.5.3 (#16836)dependabot[bot]2024-01-221-110/+110
|
* Bump isort from 5.13.1 to 5.13.2 (#16835)dependabot[bot]2024-01-221-3/+6
|
* Bump types-jsonschema from 4.20.0.20240105 to 4.21.0.20240118 (#16834)dependabot[bot]2024-01-221-3/+4
|
* Handle wildcard type filters properly (#14984)Mo Balaa2024-01-224-7/+47
|
* Bump actions/cache from 3 to 4 (#16832)dependabot[bot]2024-01-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/releases">actions/cache's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update action to node20 by <a href="https://github.com/takost"><code>@​takost</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1284">actions/cache#1284</a></li> <li>feat: save-always flag by <a href="https://github.com/to-s"><code>@​to-s</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1242">actions/cache#1242</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/takost"><code>@​takost</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1284">actions/cache#1284</a></li> <li><a href="https://github.com/to-s"><code>@​to-s</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1242">actions/cache#1242</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v3...v4.0.0">https://github.com/actions/cache/compare/v3...v4.0.0</a></p> <h2>v3.3.3</h2> <h2>What's Changed</h2> <ul> <li>Cache v3.3.3 by <a href="https://github.com/robherley"><code>@​robherley</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1302">actions/cache#1302</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/robherley"><code>@​robherley</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1302">actions/cache#1302</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v3...v3.3.3">https://github.com/actions/cache/compare/v3...v3.3.3</a></p> <h2>v3.3.2</h2> <h2>What's Changed</h2> <ul> <li>Fixed readme with new segment timeout values by <a href="https://github.com/kotewar"><code>@​kotewar</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1133">actions/cache#1133</a></li> <li>Readme fixes by <a href="https://github.com/kotewar"><code>@​kotewar</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1134">actions/cache#1134</a></li> <li>Updated description of the lookup-only input for main action by <a href="https://github.com/kotewar"><code>@​kotewar</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1130">actions/cache#1130</a></li> <li>Change two new actions mention as quoted text by <a href="https://github.com/bishal-pdMSFT"><code>@​bishal-pdMSFT</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1131">actions/cache#1131</a></li> <li>Update Cross-OS Caching tips by <a href="https://github.com/pdotl"><code>@​pdotl</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1122">actions/cache#1122</a></li> <li>Bazel example (Take <a href="https://redirect.github.com/actions/cache/issues/2">#2</a>️⃣) by <a href="https://github.com/vorburger"><code>@​vorburger</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1132">actions/cache#1132</a></li> <li>Remove actions to add new PRs and issues to a project board by <a href="https://github.com/jorendorff"><code>@​jorendorff</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1187">actions/cache#1187</a></li> <li>Consume latest toolkit and fix dangling promise bug by <a href="https://github.com/chkimes"><code>@​chkimes</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1217">actions/cache#1217</a></li> <li>Bump action version to 3.3.2 by <a href="https://github.com/bethanyj28"><code>@​bethanyj28</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1236">actions/cache#1236</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/vorburger"><code>@​vorburger</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1132">actions/cache#1132</a></li> <li><a href="https://github.com/jorendorff"><code>@​jorendorff</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1187">actions/cache#1187</a></li> <li><a href="https://github.com/chkimes"><code>@​chkimes</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1217">actions/cache#1217</a></li> <li><a href="https://github.com/bethanyj28"><code>@​bethanyj28</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1236">actions/cache#1236</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v3...v3.3.2">https://github.com/actions/cache/compare/v3...v3.3.2</a></p> <h2>v3.3.1</h2> <h2>What's Changed</h2> <ul> <li>Reduced download segment size to 128 MB and timeout to 10 minutes by <a href="https://github.com/kotewar"><code>@​kotewar</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1129">actions/cache#1129</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v3...v3.3.1">https://github.com/actions/cache/compare/v3...v3.3.1</a></p> <h2>v3.3.0</h2> <h2>What's Changed</h2> <ul> <li>Bug: Permission is missing in cache delete example by <a href="https://github.com/kotokaze"><code>@​kotokaze</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1123">actions/cache#1123</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's changelog</a>.</em></p> <blockquote> <h1>Releases</h1> <h3>3.0.0</h3> <ul> <li>Updated minimum runner version support from node 12 -&gt; node 16</li> </ul> <h3>3.0.1</h3> <ul> <li>Added support for caching from GHES 3.5.</li> <li>Fixed download issue for files &gt; 2GB during restore.</li> </ul> <h3>3.0.2</h3> <ul> <li>Added support for dynamic cache size cap on GHES.</li> </ul> <h3>3.0.3</h3> <ul> <li>Fixed avoiding empty cache save when no files are available for caching. (<a href="https://redirect.github.com/actions/cache/issues/624">issue</a>)</li> </ul> <h3>3.0.4</h3> <ul> <li>Fixed tar creation error while trying to create tar with path as <code>~/</code> home folder on <code>ubuntu-latest</code>. (<a href="https://redirect.github.com/actions/cache/issues/689">issue</a>)</li> </ul> <h3>3.0.5</h3> <ul> <li>Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. (<a href="https://redirect.github.com/actions/cache/pull/834">PR</a>)</li> </ul> <h3>3.0.6</h3> <ul> <li>Fixed <a href="https://redirect.github.com/actions/cache/issues/809">#809</a> - zstd -d: no such file or directory error</li> <li>Fixed <a href="https://redirect.github.com/actions/cache/issues/833">#833</a> - cache doesn't work with github workspace directory</li> </ul> <h3>3.0.7</h3> <ul> <li>Fixed <a href="https://redirect.github.com/actions/cache/issues/810">#810</a> - download stuck issue. A new timeout is introduced in the download process to abort the download if it gets stuck and doesn't finish within an hour.</li> </ul> <h3>3.0.8</h3> <ul> <li>Fix zstd not working for windows on gnu tar in issues <a href="https://redirect.github.com/actions/cache/issues/888">#888</a> and <a href="https://redirect.github.com/actions/cache/issues/891">#891</a>.</li> <li>Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable <code>SEGMENT_DOWNLOAD_TIMEOUT_MINS</code>. Default is 60 minutes.</li> </ul> <h3>3.0.9</h3> <ul> <li>Enhanced the warning message for cache unavailablity in case of GHES.</li> </ul> <h3>3.0.10</h3> <ul> <li>Fix a bug with sorting inputs.</li> <li>Update definition for restore-keys in README.md</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/cache/commit/13aacd865c20de90d75de3b17ebe84f7a17d57d2"><code>13aacd8</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1242">#1242</a> from to-s/main</li> <li><a href="https://github.com/actions/cache/commit/53b35c543921fe2e8b288765ff817de9de8d906f"><code>53b35c5</code></a> Merge branch 'main' into main</li> <li><a href="https://github.com/actions/cache/commit/65b8989fab3bb394817bdb845a453dff480c2b51"><code>65b8989</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1284">#1284</a> from takost/update-to-node-20</li> <li><a href="https://github.com/actions/cache/commit/d0be34d54485f31ca2ccbe66e6ea3d96544a807b"><code>d0be34d</code></a> Fix dist</li> <li><a href="https://github.com/actions/cache/commit/66cf064d47313d2cccf392d01bd10925da2bd072"><code>66cf064</code></a> Merge branch 'main' into update-to-node-20</li> <li><a href="https://github.com/actions/cache/commit/1326563738ddb735c5f2ce85cba8c79f33b728cd"><code>1326563</code></a> Merge branch 'main' into main</li> <li><a href="https://github.com/actions/cache/commit/e71876755e268d6cc25a5d3e3c46ae447e35290a"><code>e718767</code></a> Fix format</li> <li><a href="https://github.com/actions/cache/commit/01229828ffa049a8dee4db27bcb23ed33f2b451f"><code>0122982</code></a> Apply workaround for earlyExit</li> <li><a href="https://github.com/actions/cache/commit/3185ecfd6135856ca6d904ae032cff4f39b8b365"><code>3185ecf</code></a> Update &quot;only-&quot; actions to node20</li> <li><a href="https://github.com/actions/cache/commit/25618a0a675e8447e5ffc8ed9b7ddb2aaf927f65"><code>25618a0</code></a> Bump version</li> <li>Additional commits viewable in <a href="https://github.com/actions/cache/compare/v3...v4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=3&new-version=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>
* Fix broken links in issue template (#16810)Erik Johnston2024-01-173-8/+9
| | | This happened during the migration
* Merge branch 'master' into developAndrew Morgan2024-01-163-3/+16
|\
| * Merge branch 'release-v1.99'Andrew Morgan2024-01-161211-9670/+21442
| |\
| | * Fix text and add second link v1.99.0Andrew Morgan2024-01-161-2/+3
| | |
| | * Fix link and remove email from changelog.Andrew Morgan2024-01-161-4/+1
| | |
| | * 1.99.0Andrew Morgan2024-01-163-3/+18
| | |
| | * Update license in Debian metadata (#16807)Erik Johnston2024-01-162-0/+10
| | |
| * | Revert changes to READMEErik Johnston2023-12-132-25/+4
| | |
| * | Update README.rstWill Lewis2023-12-131-0/+2
| | | | | | | | | | | | (cherry picked from commit be65a8ec0195955c15fdb179c9158b187638e39a)
| * | Update README.rstWill Lewis2023-12-131-1/+1
| | |
* | | feat: add msc4028 to versions api (#16787)Hanadi2024-01-162-0/+3
| | | | | | | | | | | | Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* | | Bump ruff from 0.1.7 to 0.1.13 (#16814)dependabot[bot]2024-01-162-20/+20
| | |
* | | Bump service-identity from 23.1.0 to 24.1.0 (#16816)dependabot[bot]2024-01-151-4/+4
| | |
* | | Bump typing-extensions from 4.8.0 to 4.9.0 (#16815)dependabot[bot]2024-01-151-3/+3
| | |
* | | Bump lxml from 4.9.3 to 5.1.0 (#16813)dependabot[bot]2024-01-151-96/+82
| | |
* | | Bump immutabledict from 4.0.0 to 4.1.0 (#16812)dependabot[bot]2024-01-151-3/+3
| | |
* | | Fix building of deps after bump of `pillow` version (#16817)Erik Johnston2024-01-151-3/+4
| | | | | | | | | Broke in https://github.com/element-hq/synapse/pull/16802
* | | Update license in Debian metadata (#16807)Erik Johnston2024-01-112-0/+10
| | |
* | | Optimize query for fetching to-device messages in `/sync` (#16805)Erik Johnston2024-01-112-77/+73
| | | | | | | | | | | | | | | | | | | | | | | | The current query supports passing in a list of users, which generates a query using `user_id = ANY(..)`. This is generates a less efficient query plan that is notably slower than a simple `user_id = ?` condition. Note: The new function is mostly a copy and paste and then a simplification of the existing function.
* | | Improve DB performance of calculating badge counts for push. (#16756)Erik Johnston2024-01-113-114/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crux of the change is to try and make the queries simpler and pull out fewer rows. Before, there were quite a few joins against subqueries, which caused postgres to pull out more rows than necessary. Instead, let's simplify the query and do some of the filtering out in Python instead, letting Postgres do better optimizations now that it doesn't have to deal with joins against subqueries. Review note: this is a complete rewrite of the function, so not sure how useful the diff is. --------- Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* | | Bump pillow from 10.1.0 to 10.2.0 (#16802)dependabot[bot]2024-01-111-55/+73
| | |
* | | Bump actions/upload-artifact from 3 to 4 (#16796)dependabot[bot]2024-01-115-8/+8
| | |
* | | Bump actions/download-artifact from 3 to 4 (#16795)dependabot[bot]2024-01-111-1/+1
| | |
* | | Bump dawidd6/action-download-artifact from 2.28.0 to 3.0.0 (#16794)dependabot[bot]2024-01-111-1/+1
| | |
* | | Correctly handle OIDC config with no `client_secret` set (#16806)Erik Johnston2024-01-102-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In previous versions of authlib using `client_secret_basic` without a `client_secret` would result in an invalid auth header. Since authlib 1.3 it throws an exception. The configuration may be accepted in by very lax servers, so we don't want to deny it outright. Instead, let's default the `client_auth_method` to `none`, which does the right thing. If the config specifies `client_auth_method` and no `client_secret` then that is going to be bogus and we should reject it
* | | Faster load recents for sync (#16783)Erik Johnston2024-01-103-7/+25
| | | | | | | | | This hopefully reduces the amount of state we need to keep in memory
* | | Bump types-commonmark from 0.9.2.4 to 0.9.2.20240106 (#16797)dependabot[bot]2024-01-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [types-commonmark](https://github.com/python/typeshed) from 0.9.2.4 to 0.9.2.20240106. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=types-commonmark&package-manager=pip&previous-version=0.9.2.4&new-version=0.9.2.20240106)](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>
* | | Bump pyo3 from 0.20.0 to 0.20.2 (#16791)dependabot[bot]2024-01-101-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.20.0 to 0.20.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pyo3/pyo3/releases">pyo3's releases</a>.</em></p> <blockquote> <h2>PyO3 0.20.2</h2> <p>This release corrects a failure to compile of the <code>either</code> feature when the <code>experimental-inspect</code> feature is not enabled.</p> <p>It also adds backwards-compatibility for <code>pyo3</code> 0.20.0 to build against <code>pyo3-build-config</code> 0.20.2, as <code>pyo3</code> 0.20.0 was (unintentionally) not pinned against an exact patch version <code>pyo3-build-config</code>, and <code>pyo3</code> 0.20.0 could not build against <code>pyo3-build-config</code> 0.20.1 due to an internal API adjustment.</p> <p>Thank you to the following users for the improvements:</p> <p><a href="https://github.com/adamreichold"><code>@​adamreichold</code></a> <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a></p> <h2>PyO3 0.20.1</h2> <p>This release is a maintenance release to resolve <a href="https://redirect.github.com/rust-lang/rust-clippy/issues/12039">a clippy warning</a> which triggers on function arguments of <code>Py&lt;Self&gt;</code>.</p> <p>This release also contains a few minor API additions, including optional support for the <code>either</code> and <code>smallvec</code> crates.</p> <p>Thank you to the following users for the improvements:</p> <p><a href="https://github.com/adamreichold"><code>@​adamreichold</code></a> <a href="https://github.com/aldanor"><code>@​aldanor</code></a> <a href="https://github.com/alex"><code>@​alex</code></a> <a href="https://github.com/daemontus"><code>@​daemontus</code></a> <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> <a href="https://github.com/mejrs"><code>@​mejrs</code></a> <a href="https://github.com/messense"><code>@​messense</code></a> <a href="https://github.com/neachdainn"><code>@​neachdainn</code></a> <a href="https://github.com/orhun"><code>@​orhun</code></a> <a href="https://github.com/suriya-ganesh"><code>@​suriya-ganesh</code></a> <a href="https://github.com/wyfo"><code>@​wyfo</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md">pyo3's changelog</a>.</em></p> <blockquote> <h2>[0.20.2] - 2024-01-04</h2> <h3>Packaging</h3> <ul> <li>Pin <code>pyo3</code> and <code>pyo3-ffi</code> dependencies on <code>pyo3-build-config</code> to require the same patch version, i.e. <code>pyo3</code> 0.20.2 requires <em>exactly</em> <code>pyo3-build-config</code> 0.20.2. <a href="https://redirect.github.com/PyO3/pyo3/pull/3721">#3721</a></li> </ul> <h3>Fixed</h3> <ul> <li>Fix compile failure when building <code>pyo3</code> 0.20.0 with latest <code>pyo3-build-config</code> 0.20.X. <a href="https://redirect.github.com/PyO3/pyo3/pull/3724">#3724</a></li> <li>Fix docs.rs build. <a href="https://redirect.github.com/PyO3/pyo3/pull/3722">#3722</a></li> </ul> <h2>[0.20.1] - 2023-12-30</h2> <h3>Added</h3> <ul> <li>Add optional <code>either</code> feature to add conversions for <code>either::Either&lt;L, R&gt;</code> sum type. <a href="https://redirect.github.com/PyO3/pyo3/pull/3456">#3456</a></li> <li>Add optional <code>smallvec</code> feature to add conversions for <code>smallvec::SmallVec</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/3507">#3507</a></li> <li>Add <code>take</code> and <code>into_inner</code> methods to <code>GILOnceCell</code> <a href="https://redirect.github.com/PyO3/pyo3/pull/3556">#3556</a></li> <li><code>#[classmethod]</code> methods can now also receive <code>Py&lt;PyType&gt;</code> as their first argument. <a href="https://redirect.github.com/PyO3/pyo3/pull/3587">#3587</a></li> <li><code>#[pyfunction(pass_module)]</code> can now also receive <code>Py&lt;PyModule&gt;</code> as their first argument. <a href="https://redirect.github.com/PyO3/pyo3/pull/3587">#3587</a></li> <li>Add <code>traverse</code> method to <code>GILProtected</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/3616">#3616</a></li> <li>Added <code>abi3-py312</code> feature <a href="https://redirect.github.com/PyO3/pyo3/pull/3687">#3687</a></li> </ul> <h3>Fixed</h3> <ul> <li>Fix minimum version specification for optional <code>chrono</code> dependency. <a href="https://redirect.github.com/PyO3/pyo3/pull/3512">#3512</a></li> <li>Silenced new <code>clippy::unnecessary_fallible_conversions</code> warning when using a <code>Py&lt;Self&gt;</code> <code>self</code> receiver. <a href="https://redirect.github.com/PyO3/pyo3/pull/3564">#3564</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/bcef18b988a519aca93c29039fa0894a310d2eaf"><code>bcef18b</code></a> release: 0.20.2</li> <li><a href="https://github.com/PyO3/pyo3/commit/fa6d60b77ec67654b7639beccd794874a8ddc9eb"><code>fa6d60b</code></a> Use a definite version specification when depending on pyo3-build-config.</li> <li><a href="https://github.com/PyO3/pyo3/commit/f9f0bdde702e794838ab521c8172c4744e663693"><code>f9f0bdd</code></a> Merge pull request <a href="https://redirect.github.com/pyo3/pyo3/issues/3724">#3724</a> from davidhewitt/fix-build-config-issue</li> <li><a href="https://github.com/PyO3/pyo3/commit/cf213252fa5c780503cb1772622a38d7b34cd874"><code>cf21325</code></a> re-add emit_pyo3_cfgs for pyo3 0.20.0 compatibility</li> <li><a href="https://github.com/PyO3/pyo3/commit/f7893858d2e01df03f2e711a811b95f08f8ca5e1"><code>f789385</code></a> Merge pull request <a href="https://redirect.github.com/pyo3/pyo3/issues/3722">#3722</a> from PyO3/fix-doc-build</li> <li><a href="https://github.com/PyO3/pyo3/commit/9120b35f3553c231797bf2dc357fcd4fe0bf5dec"><code>9120b35</code></a> Include the experimental-inspect feature for the docs.rs build thereby making...</li> <li><a href="https://github.com/PyO3/pyo3/commit/2e79c557ccc628d4081661a712463e22fc780c92"><code>2e79c55</code></a> Add CI job to test the equivalent of a docs.rs build.</li> <li><a href="https://github.com/PyO3/pyo3/commit/2564ca4e7558396f166837d8795f8e1bfd698007"><code>2564ca4</code></a> Fix missing feature flags in implementation of Either conversion.</li> <li><a href="https://github.com/PyO3/pyo3/commit/be4d5627a33bc3575e3811e68c3366a9e264db77"><code>be4d562</code></a> Merge pull request <a href="https://redirect.github.com/pyo3/pyo3/issues/3713">#3713</a> from PyO3/release-0.20.1</li> <li><a href="https://github.com/PyO3/pyo3/commit/d3f034a80f2973e4d21fc2fd49cd0af309f1ab4d"><code>d3f034a</code></a> release: 0.20.1</li> <li>Additional commits viewable in <a href="https://github.com/pyo3/pyo3/compare/v0.20.0...v0.20.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyo3&package-manager=cargo&previous-version=0.20.0&new-version=0.20.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>
* | | Pull less state out if we fail to backfill (#16788)Erik Johnston2024-01-102-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes we fail to fetch events during backfill due to missing state, and we often end up querying the same bad events periodically (as people backpaginate). In such cases its likely we will continue to fail to get the state, and therefore we should try *before* loading the state that we have from the DB (as otherwise it's wasted DB and memory). --------- Co-authored-by: reivilibre <oliverw@matrix.org>
* | | Bump anyhow from 1.0.75 to 1.0.79 (#16789)dependabot[bot]2024-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.75 to 1.0.79. <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.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/71ab53dd2e89ff816bebaa452ad5a968f4c4105d"><code>71ab53d</code></a> Release 1.0.79</li> <li><a href="https://github.com/dtolnay/anyhow/commit/60705a53cefdc387b72c20cbab88aa4ffcf4b38e"><code>60705a5</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/anyhow/issues/340">#340</a> from dtolnay/depinfo</li> <li><a href="https://github.com/dtolnay/anyhow/commit/17e252bfdf4f7a2dff8e788ef7deab326682bbba"><code>17e252b</code></a> Include env-dep:RUSTC_BOOTSTRAP in dep-info for sccache</li> <li><a href="https://github.com/dtolnay/anyhow/commit/04774c089409597e4859ed256ef68eeb60ba81a7"><code>04774c0</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/anyhow/issues/338">#338</a> from dtolnay/nightlyci</li> <li><a href="https://github.com/dtolnay/anyhow/commit/1fd290c222f28ade7f5ee6f049a47b93a51b1f97"><code>1fd290c</code></a> Make CI verify that error_generic_member_access works in latest nightly</li> <li><a href="https://github.com/dtolnay/anyhow/commit/ee414707be0d4b6f0f109d0a85e4d10651e4aa2c"><code>ee41470</code></a> RUSTC must be set by Cargo for build script</li> <li><a href="https://github.com/dtolnay/anyhow/commit/38c79ef242fdfb124e499a58d917286ed1d4cad5"><code>38c79ef</code></a> Release 1.0.78</li> <li><a href="https://github.com/dtolnay/anyhow/commit/ded2295ff5cd6e759b30b12cd127ffe0bc658f0f"><code>ded2295</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/anyhow/issues/337">#337</a> from dtolnay/bootstrap</li> <li><a href="https://github.com/dtolnay/anyhow/commit/ae45b672c944e87cec570cf29389cfe0c0c2599a"><code>ae45b67</code></a> Do not rebuild on RUSTC_BOOTSTRAP changes on nightly compiler</li> <li><a href="https://github.com/dtolnay/anyhow/commit/2d32366f581f82256208181fa2c02285888fd4df"><code>2d32366</code></a> Update crate name used for build script probe</li> <li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.79">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.79)](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>
* | | Bump sentry-sdk from 1.35.0 to 1.39.1 (#16799)dependabot[bot]2024-01-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.35.0 to 1.39.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's releases</a>.</em></p> <blockquote> <h2>1.39.1</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Fix psycopg2 detection in the Django integration (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2593">#2593</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Filter out empty string releases (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2591">#2591</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Fixed local var not present when there is an error in a user's <code>error_sampler</code> function (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2511">#2511</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>Fixed typing in <code>aiohttp</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2590">#2590</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> </ul> <h2>1.39.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Add support for cluster clients from Redis SDK (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2394">#2394</a>) by <a href="https://github.com/md384"><code>@​md384</code></a></li> <li>Improve location reporting for timer metrics (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2552">#2552</a>) by <a href="https://github.com/mitsuhiko"><code>@​mitsuhiko</code></a></li> <li>Fix Celery <code>TypeError</code> with no-argument <code>apply_async</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2575">#2575</a>) by <a href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li> <li>Fix Lambda integration with EventBridge source (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2546">#2546</a>) by <a href="https://github.com/davidcroda"><code>@​davidcroda</code></a></li> <li>Add max tries to Spotlight (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2571">#2571</a>) by <a href="https://github.com/hazAT"><code>@​hazAT</code></a></li> <li>Handle <code>os.path.devnull</code> access issues (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2579">#2579</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Change <code>code.filepath</code> frame picking logic (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2568">#2568</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Trigger AWS Lambda tests on label (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2538">#2538</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Run permissions step on pull_request_target but not push (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2548">#2548</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Hash AWS Lambda test functions based on current revision (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2557">#2557</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Update Django version in tests (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2562">#2562</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Make metrics tests non-flaky (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2572">#2572</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> </ul> <h2>1.38.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Only add trace context to checkins and do not run <code>event_processors</code> for checkins (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2536">#2536</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>Metric span summaries (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2522">#2522</a>) by <a href="https://github.com/mitsuhiko"><code>@​mitsuhiko</code></a></li> <li>Add source context to code locations (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2539">#2539</a>) by <a href="https://github.com/jan-auer"><code>@​jan-auer</code></a></li> <li>Use in-app filepath instead of absolute path (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2541">#2541</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>Switch to <code>jinja2</code> for generating CI yamls (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2534">#2534</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> </ul> <h2>1.37.1</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Fix <code>NameError</code> on <code>parse_version</code> with eventlet (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2532">#2532</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>build(deps): bump checkouts/data-schemas from <code>68def1e</code> to <code>e9f7d58</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2501">#2501</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> </ul> <h2>1.37.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li> <p>Move installed modules code to utils (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2429">#2429</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> <p>Note: We moved the internal function <code>_get_installed_modules</code> from <code>sentry_sdk.integrations.modules</code> to <code>sentry_sdk.utils</code>. So if you use this function you have to update your imports</p> </li> <li> <p>Add code locations for metrics (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2526">#2526</a>) by <a href="https://github.com/jan-auer"><code>@​jan-auer</code></a></p> </li> <li> <p>Add query source to DB spans (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2521">#2521</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p> </li> <li> <p>Send events to Spotlight sidecar (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2524">#2524</a>) by <a href="https://github.com/HazAT"><code>@​HazAT</code></a></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md">sentry-sdk's changelog</a>.</em></p> <blockquote> <h2>1.39.1</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Fix psycopg2 detection in the Django integration (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2593">#2593</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Filter out empty string releases (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2591">#2591</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Fixed local var not present when there is an error in a user's <code>error_sampler</code> function (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2511">#2511</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>Fixed typing in <code>aiohttp</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2590">#2590</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> </ul> <h2>1.39.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Add support for cluster clients from Redis SDK (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2394">#2394</a>) by <a href="https://github.com/md384"><code>@​md384</code></a></li> <li>Improve location reporting for timer metrics (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2552">#2552</a>) by <a href="https://github.com/mitsuhiko"><code>@​mitsuhiko</code></a></li> <li>Fix Celery <code>TypeError</code> with no-argument <code>apply_async</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2575">#2575</a>) by <a href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li> <li>Fix Lambda integration with EventBridge source (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2546">#2546</a>) by <a href="https://github.com/davidcroda"><code>@​davidcroda</code></a></li> <li>Add max tries to Spotlight (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2571">#2571</a>) by <a href="https://github.com/hazAT"><code>@​hazAT</code></a></li> <li>Handle <code>os.path.devnull</code> access issues (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2579">#2579</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Change <code>code.filepath</code> frame picking logic (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2568">#2568</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Trigger AWS Lambda tests on label (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2538">#2538</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Run permissions step on pull_request_target but not push (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2548">#2548</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Hash AWS Lambda test functions based on current revision (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2557">#2557</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Update Django version in tests (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2562">#2562</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>Make metrics tests non-flaky (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2572">#2572</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> </ul> <h2>1.38.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Only add trace context to checkins and do not run <code>event_processors</code> for checkins (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2536">#2536</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>Metric span summaries (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2522">#2522</a>) by <a href="https://github.com/mitsuhiko"><code>@​mitsuhiko</code></a></li> <li>Add source context to code locations (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2539">#2539</a>) by <a href="https://github.com/jan-auer"><code>@​jan-auer</code></a></li> <li>Use in-app filepath instead of absolute path (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2541">#2541</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>Switch to <code>jinja2</code> for generating CI yamls (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2534">#2534</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> </ul> <h2>1.37.1</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Fix <code>NameError</code> on <code>parse_version</code> with eventlet (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2532">#2532</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>build(deps): bump checkouts/data-schemas from <code>68def1e</code> to <code>e9f7d58</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2501">#2501</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></li> </ul> <h2>1.37.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li> <p>Move installed modules code to utils (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2429">#2429</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> <p>Note: We moved the internal function <code>_get_installed_modules</code> from <code>sentry_sdk.integrations.modules</code> to <code>sentry_sdk.utils</code>.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-python/commit/2b46ec3ba2bb7fd12faf0109ca0b371235fe8ab6"><code>2b46ec3</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/getsentry/sentry-python/commit/d634c059ea6085be19a941d518bd7ed3405c3a8d"><code>d634c05</code></a> release: 1.39.1</li> <li><a href="https://github.com/getsentry/sentry-python/commit/d76fa983329610314c9c105df2fc88278d149db0"><code>d76fa98</code></a> fix(django): Fix psycopg2 detection (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2593">#2593</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/64c42ca975b804b0277643a761df099717d10253"><code>64c42ca</code></a> fix(utils): Filter out empty string releases (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2591">#2591</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/47313123d8c9b1dadce5460168d2ed849ee5730a"><code>4731312</code></a> Fixed local var not present when error in users error_sampler function (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2511">#2511</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/4deaa384136b610579e891fcd7b1641917aa091c"><code>4deaa38</code></a> Fixed typing in aiohttp (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2590">#2590</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/507d4098fba1fde2a6db7121591d6f5a1d151b69"><code>507d409</code></a> Merge branch 'release/1.39.0'</li> <li><a href="https://github.com/getsentry/sentry-python/commit/c6cd6360d805673694b00474bd14ba4b9755bf99"><code>c6cd636</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/getsentry/sentry-python/commit/c3a60a60a2c72e7122f3a3faa3a552ceb39b1663"><code>c3a60a6</code></a> release: 1.39.0</li> <li><a href="https://github.com/getsentry/sentry-python/commit/7df152ba3d37024117b4235178c65f08bdeab21c"><code>7df152b</code></a> Change <code>code.filepath</code> frame picking logic (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2568">#2568</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-python/compare/1.35.0...1.39.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentry-sdk&package-manager=pip&previous-version=1.35.0&new-version=1.39.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>
* | | Bump serde_json from 1.0.108 to 1.0.111 (#16792)dependabot[bot]2024-01-101-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.108 to 1.0.111. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.111</h2> <ul> <li>Improve floating point parsing performance on loongarch64 (<a href="https://redirect.github.com/serde-rs/json/issues/1100">#1100</a>, thanks <a href="https://github.com/heiher"><code>@​heiher</code></a>)</li> </ul> <h2>v1.0.110</h2> <ul> <li>Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache</li> </ul> <h2>v1.0.109</h2> <ul> <li>Documentation improvements</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/json/commit/0131ac68212e8094bd14ee618587d731b4f9a68b"><code>0131ac6</code></a> Release 1.0.111</li> <li><a href="https://github.com/serde-rs/json/commit/96ecfadd3f7dd6366a2d07a098e228d15df93cb4"><code>96ecfad</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1100">#1100</a> from heiher/limb-64-la64</li> <li><a href="https://github.com/serde-rs/json/commit/c80dbaf8ff5902ca670e0a48bbe495065b9314f5"><code>c80dbaf</code></a> Set limb width to 64 for loongarch64</li> <li><a href="https://github.com/serde-rs/json/commit/df5cf215b70fb6341b255e7c0a210c06f64c0669"><code>df5cf21</code></a> Release 1.0.110</li> <li><a href="https://github.com/serde-rs/json/commit/c35856a93c37b48b3d6efc4fec8e05554dd3f9d5"><code>c35856a</code></a> Pull in proc-macro2 sccache fix</li> <li><a href="https://github.com/serde-rs/json/commit/f88bf1fccb05aa4de129675de44eb6aaf3fec0a0"><code>f88bf1f</code></a> Release 1.0.109</li> <li><a href="https://github.com/serde-rs/json/commit/bb62c73ecef901e689b0a7a67ed613a32975520c"><code>bb62c73</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1097">#1097</a> from serde-rs/doccfg</li> <li><a href="https://github.com/serde-rs/json/commit/df36d109fd9f9cdd22a874c0177cafec12237f95"><code>df36d10</code></a> Restore doc cfg on re-exports</li> <li><a href="https://github.com/serde-rs/json/commit/c3670913423329c166add9d85ecdfc3e3da21e7a"><code>c367091</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1095">#1095</a> from dtolnay/hashtest</li> <li><a href="https://github.com/serde-rs/json/commit/b328ee7df4dd772922f084600aa7cea39218b694"><code>b328ee7</code></a> Eliminate hash closure in favor of calling hash_one directly</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.108...v1.0.111">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.108&new-version=1.0.111)](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>
* | | Reduce amount of state pulled out when querying federation hierachy (#16785)Erik Johnston2024-01-104-3/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two changes here: 1. Only pull out the required state when handling the request. 2. Change the get filtered state return type to check that we're only querying state that was requested --------- Co-authored-by: reivilibre <oliverw@matrix.org>
* | | Split up deleting devices into batches (#16766)Erik Johnston2024-01-102-2/+7
| | | | | | | | | | | | Otherwise for users with large numbers of devices this can cause a lot of woe.
* | | Fix auto-merge CI to correctly wait for linting. (#16781)Erik Johnston2024-01-102-1/+19
| | | | | | | | | | | | Otherwise if you hit the `Enable auto-merge` button and the linting fails the PR is still aut-merged.
* | | Remove CI check for sign off (#16776)Erik Johnston2024-01-103-7/+2
| | | | | | | | | Since we don't require one anymore.
* | | Add a link to the Request log format page from Logging Sample Config (#16778)Andrew Morgan2024-01-102-0/+4
| | |
* | | Bump types-jsonschema from 4.20.0.0 to 4.20.0.20240105 (#16800)dependabot[bot]2024-01-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [types-jsonschema](https://github.com/python/typeshed) from 4.20.0.0 to 4.20.0.20240105. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=types-jsonschema&package-manager=pip&previous-version=4.20.0.0&new-version=4.20.0.20240105)](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>
* | | Faster partial join to room with complex auth graph (#7)Erik Johnston2024-01-102-49/+31
| | | | | | | | | | | | | | | | | | | | | | | | Instead of persisting outliers in a bunch of batches, let's just do them all at once. This is fine because all `_auth_and_persist_outliers_inner` is doing is checking the auth rules for each event, which requires the events to be topologically sorted by the auth graph.
* | | Bump authlib from 1.2.1 to 1.3.0 (#16801)dependabot[bot]2024-01-101-5/+5
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [authlib](https://github.com/lepture/authlib) from 1.2.1 to 1.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lepture/authlib/releases">authlib's releases</a>.</em></p> <blockquote> <h2>Version 1.3.0</h2> <p><strong>Bug fixes</strong></p> <ul> <li>Restore AuthorizationServer.create_authorization_response behavior, via <a href="https://redirect.github.com/lepture/authlib/issues/558">#558</a> by <a href="https://github.com/TurnrDev"><code>@​TurnrDev</code></a></li> <li>Include leeway in validate_iat() for JWT, via <a href="https://redirect.github.com/lepture/authlib/issues/565">#565</a> by <a href="https://github.com/dhallam"><code>@​dhallam</code></a></li> <li>Fix encode_client_secret_basic, via <a href="https://redirect.github.com/lepture/authlib/issues/594">#594</a> by <a href="https://github.com/Prilkop"><code>@​Prilkop</code></a></li> <li>Use single key in JWK if JWS does not specify kid, via <a href="https://redirect.github.com/lepture/authlib/issues/596">#596</a> by <a href="https://github.com/dklimpel"><code>@​dklimpel</code></a></li> <li>Fix error when RFC9068 JWS has no scope field, via <a href="https://redirect.github.com/lepture/authlib/issues/598">#598</a> by <a href="https://github.com/tanguilp"><code>@​tanguilp</code></a></li> <li>Get werkzeug version using importlib, via <a href="https://redirect.github.com/lepture/authlib/issues/591">#591</a> by <a href="https://github.com/Sparrow0hawk"><code>@​Sparrow0hawk</code></a></li> </ul> <p><strong>Breaking changes</strong></p> <ul> <li>RFC9068 implementation, via <a href="https://redirect.github.com/lepture/authlib/issues/586">#586</a> by <a href="https://github.com/azmeuk"><code>@​azmeuk</code></a>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/lepture/authlib/blob/master/docs/changelog.rst">authlib's changelog</a>.</em></p> <blockquote> <h2>Version 1.3.0</h2> <p><strong>Released on Dec 17, 2023</strong></p> <ul> <li>Restore <code>AuthorizationServer.create_authorization_response</code> behavior, via :PR:<code>558</code></li> <li>Include <code>leeway</code> in <code>validate_iat()</code> for JWT, via :PR:<code>565</code></li> <li>Fix <code>encode_client_secret_basic</code>, via :PR:<code>594</code></li> <li>Use single key in JWK if JWS does not specify <code>kid</code>, via :PR:<code>596</code></li> <li>Fix error when RFC9068 JWS has no scope field, via :PR:<code>598</code></li> <li>Get werkzeug version using importlib, via :PR:<code>591</code></li> </ul> <p><strong>New features</strong>:</p> <ul> <li>RFC9068 implementation, via :PR:<code>586</code>, by <a href="https://github.com/azmeuk"><code>@​azmeuk</code></a>.</li> </ul> <p><strong>Breaking changes</strong>:</p> <ul> <li>End support for python 3.7</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lepture/authlib/commit/a7d68b4c3b8a3a7fe0b62943b5228669f2f3dfec"><code>a7d68b4</code></a> chore: release 1.3.0</li> <li><a href="https://github.com/lepture/authlib/commit/a26f1d099326aa53e39fd1df4fee27f3b8a519d9"><code>a26f1d0</code></a> Merge GitHub action for release</li> <li><a href="https://github.com/lepture/authlib/commit/2d66702dec486292231f378780c3e39f55dc91b8"><code>2d66702</code></a> Merge pull request <a href="https://redirect.github.com/lepture/authlib/issues/591">#591</a> from Sparrow0hawk/patch-2</li> <li><a href="https://github.com/lepture/authlib/commit/0f8e08738b597af27a21312f4e937c1366d14e6d"><code>0f8e087</code></a> docs: add changelog for 1.3.0</li> <li><a href="https://github.com/lepture/authlib/commit/3ffc950d5b7d3e85ca908c461a9e99d1adba54e6"><code>3ffc950</code></a> chore: fix pypi release action</li> <li><a href="https://github.com/lepture/authlib/commit/a2543b9ad0836b85e54f126124006f0f09df46fd"><code>a2543b9</code></a> chore: add pypi github action</li> <li><a href="https://github.com/lepture/authlib/commit/c7e1b2d41db58a48d3d3e2a7c39425be381ffc21"><code>c7e1b2d</code></a> chore: move configuration from setup.cfg to pyproject.toml</li> <li><a href="https://github.com/lepture/authlib/commit/04e83f60aeb4f5302edb831b46389df2c9342a16"><code>04e83f6</code></a> Merge pull request <a href="https://redirect.github.com/lepture/authlib/issues/598">#598</a> from tanguilp/fix-rfc9068-no-scope-in-jws</li> <li><a href="https://github.com/lepture/authlib/commit/092f688b0dd57021e41ba5bc4ceecf15de8bc84e"><code>092f688</code></a> Fix error when RFC9068 JWS has no scope field</li> <li><a href="https://github.com/lepture/authlib/commit/ac583226552551cef453b0dec8506ddb7df5bccc"><code>ac58322</code></a> Get werkzeug version using importlib</li> <li>Additional commits viewable in <a href="https://github.com/lepture/authlib/compare/v1.2.1...v1.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=authlib&package-manager=pip&previous-version=1.2.1&new-version=1.3.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>
* | Fixup changelog links v1.99.0rc1Erik Johnston2024-01-091-4/+4
| |
* | Fix changelog linksErik Johnston2024-01-091-15/+15
| |
* | 1.99.0rc1Erik Johnston2024-01-0924-23/+54
| |
* | Filter out rooms from the room directory being served to other homeservers ↵reivilibre2024-01-084-52/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when those rooms block that homeserver by their Access Control Lists. (#16759) The idea here being that the directory server shouldn't advertise rooms to a requesting server is the requesting server would not be allowed to join or participate in the room. <!-- Fixes: # <!-- --> <!-- Supersedes: # <!-- --> <!-- Follows: # <!-- --> <!-- Part of: # <!-- --> Base: `develop` <!-- git-stack-base-branch:develop --> <!-- This pull request is commit-by-commit review friendly. <!-- --> <!-- This pull request is intended for commit-by-commit review. <!-- --> Original commit schedule, with full messages: <ol> <li> Pass `from_federation_origin` down into room list retrieval code </li> <li> Don't cache /publicRooms response for inbound federated requests </li> <li> fixup! Don't cache /publicRooms response for inbound federated requests </li> <li> Cap the number of /publicRooms entries to 100 </li> <li> Simplify code now that you can't request unlimited rooms </li> <li> Filter out rooms from federated requests that don't have the correct ACL </li> <li> Request a handful more when filtering ACLs so that we can try to avoid shortchanging the requester </li> </ol> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Port `EventInternalMetadata` class to Rust (#16782)Erik Johnston2024-01-0812-124/+600
| | | | | | | | | | | | | | | | | | | | | | | | | | There are a couple of things we need to be careful of here: 1. The current python code does no validation when loading from the DB, so we need to be careful to ignore such errors (at least on jki.re there are some old events with internal metadata fields of the wrong type). 2. We want to be memory efficient, as we often have many hundreds of thousands of events in the cache at a time. --------- Co-authored-by: Quentin Gliech <quenting@element.io>
* | Fix linting (#16780)Erik Johnston2024-01-052-1/+12
| | | | | | Introduced in #16762
* | Simplify internal metadata class. (#16762)Erik Johnston2024-01-056-46/+24
| | | | | | | | | | | | | | | | | | We remove these fields as they're just duplicating data the event already stores, and (for reasons :shushing_face:) I'd like to simplify the class to only store simple types. I'm not entirely convinced that we shouldn't instead add helper methods to the event class to generate stream tokens, but I don't really think that's where they belong either
* | Implement cosign on docker image (#16774)Gaël Goinvic2024-01-042-1/+17
| | | | | | Signed-off-by: Gaël Goinvic <gaelg@element.io>
* | Add recursion_depth to /relations if recursing (#16775)David Baker2024-01-042-0/+5
| | | | | | | | | | This is an extra response parameter just added to MSC3981. In the current impl, the recursion depth is always 3, so this just returns a static 3 if the recurse parameter is supplied.
* | Search non ASCII display names using Admin API (#16767)Adam Jędrzejewski2024-01-043-1/+26
| | | | | | | | | | Closes #16370 Signed-off-by: Adam Jedrzejewski <adamjedrzejewski@icloud.com>
* | Update the contributing guide after reliecensing (#16772)Erik Johnston2024-01-032-78/+16
| |
* | Fix email verification redirection (#16761)FadhlanR2024-01-024-5/+43
| | | | | | | | | | | | Previously, the response status of `HTMLResource` was hardcoded as `200`. However, for proper redirection after the user verifies their email, we require the status to be `302`. This PR addresses that issue by using `code` as response status.
* | Re-enable automatic triagingErik Johnston2024-01-021-3/+2
| |
* | Revert "Disable automatic traiging"Erik Johnston2024-01-021-5/+5
| | | | | | | | This reverts commit 742bae3761b7b2c638975f853ab6161527629240.
* | Delete the add version picker GHA workflow (#9453)Andrew Morgan2024-01-022-90/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in https://github.com/matrix-org/synapse/pull/16533, this workflow was intended to be run once to add the version picker to all historical versions of the https://matrix-org.github.io/synapse documentation website. Note that the latest version of the docs built from this repo now exist at https://element-hq.github.io/synapse/. The workflow has been run successfully and the version picker was added to the documentation. Thus we can now delete this workflow. --- Note: Do not confuse this PR with https://github.com/matrix-org/synapse/issues/9453. This PR was made while we were populating this repo with "Dummy issues" after the changeover from matrix-org/synapse to element-hq/synapse - therefore referencing this PR may cause some confusion.
* | Add another custom statistics collection server (#16769)Christian Lölkes2024-01-022-0/+2
| | | | | | Signed-off-by: Christian Lölkes <christian.loelkes@gmail.com>
* | Enable user without password (#16770)Dirk Klimpel2024-01-024-26/+34
| | | | | | | | | | | | | | | | | | | | | | Closes: - https://github.com/matrix-org/synapse/issues/10397 - #10397 An administrator should know whether he wants to set a password or not. There are many uses cases where a blank password is required. - Use of only some users with SSO. - Use of bots with password, users with SSO
* | Remove config value from header (#16763)Fredrik Lanker2024-01-022-1/+2
| | | | | | Signed-off-by: Fredrik Lanker <fredrik@lanker.se>
* | Move the rust stubs inline for better IDE integration (#16757)Erik Johnston2023-12-215-0/+1
| | | | | | | | At least for vscode this allows click through / type checking / syntax highlighting.
* | Fix sample config doc CI (#16758)Erik Johnston2023-12-212-0/+2
| | | | | | I accidentally broke it during the move by removing a trailing new line.
* | Disable automatic traigingErik Johnston2023-12-151-5/+5
| |
* | Fix typoErik Johnston2023-12-1317-52/+50
| |
* | Update book locationErik Johnston2023-12-1343-122/+120
| |
* | More renamingErik Johnston2023-12-1324-126/+125
| |
* | Update nightly jobs to run on element-hq/synapse.Erik Johnston2023-12-132-5/+5
| |
* | Update repo for release scripts.Patrick Cloke2023-12-132-14/+16
| |
* | Keep pointing at packages.matrix.org for nowErik Johnston2023-12-132-4/+4
| |
* | Fix debian linkErik Johnston2023-12-131-1/+1
| |
* | Update documentation to refer to element-hq.Patrick Cloke2023-12-138-52/+36
| |
* | Fix linksErik Johnston2023-12-132-2/+2
| |
* | Update debian build with AGPL changes.Patrick Cloke2023-12-133-3/+3
| |
* | Log the new license during start.Patrick Cloke2023-12-131-0/+4
| |
* | Merge remote-tracking branch 'gitlab/clokep/license-license' into new_developErik Johnston2023-12-131125-8815/+19505
|\ \
| * | Update license headersPatrick Cloke2023-11-211137-8638/+19110
| | |
| * | Update packaging metadataPatrick Cloke2023-11-211-1/+1
| | |
| * | Update the license from Apache License v2 to AGPL-3.0.Patrick Cloke2023-11-211-176/+660
| | |
* | | Revert changes to READMEErik Johnston2023-12-132-25/+4
| | |
* | | Update README.rstWill Lewis2023-12-131-0/+2
| | |
* | | Update README.rstWill Lewis2023-12-131-1/+1
| | |
* | | Merge remote-tracking branch 'origin/clokep/morg-readme' into developErik Johnston2023-12-132-4/+23
|\ \ \ | | |/ | |/|
| * | Update text github/clokep/morg-readme clokep/morg-readmeErik Johnston2023-12-122-6/+15
| | |
| * | Update the README pointing to the Element fork.Patrick Cloke2023-12-122-4/+14
| | |
* | | Merge remote-tracking branch 'origin/master' into developErik Johnston2023-12-125-7/+20
|\| |
| * | Update changelog v1.98.0 github/release-v1.98 release-v1.98Erik Johnston2023-12-121-3/+3
| | |
| * | 1.98.0Erik Johnston2023-12-123-2/+15
| | |
| * | Version picker added for v1.98 docsAction Bot2023-12-116-2/+230
| | |
* | | Sentry Alert configuration based on production and development environment ↵Zeeshan Rafiq2023-12-124-1/+9
| | | | | | | | | | | | (#16738)
* | | Add avatar and topic settings for server notice room (#16679)Mathieu Velten2023-12-126-14/+235
| | |
* | | Add config to change the delay before sending a notification email (#16696)Mathieu Velten2023-12-124-9/+17
| | |
* | | Bump isort from 5.13.0 to 5.13.1 (#16752)dependabot[bot]2023-12-121-169/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [isort](https://github.com/pycqa/isort) from 5.13.0 to 5.13.1. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.13.0...5.13.1) --- updated-dependencies: - dependency-name: isort dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump types-setuptools from 68.2.0.2 to 69.0.0.0 (#16744)dependabot[bot]2023-12-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [types-setuptools](https://github.com/python/typeshed) from 68.2.0.2 to 69.0.0.0. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-setuptools dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump isort from 5.12.0 to 5.13.0 (#16745)dependabot[bot]2023-12-121-6/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [isort](https://github.com/pycqa/isort) from 5.12.0 to 5.13.0. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.12.0...5.13.0) --- updated-dependencies: - dependency-name: isort dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump ruff from 0.1.6 to 0.1.7 (#16746)dependabot[bot]2023-12-122-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.6 to 0.1.7. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.6...v0.1.7) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump actions/setup-go from 4 to 5 (#16749)dependabot[bot]2023-12-123-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump actions/setup-python from 4 to 5 (#16748)dependabot[bot]2023-12-126-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump pydantic from 2.5.1 to 2.5.2 (#16747)dependabot[bot]2023-12-121-110/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.5.1 to 2.5.2. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/v2.5.2/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v2.5.1...v2.5.2) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump immutabledict from 3.0.0 to 4.0.0 (#16743)dependabot[bot]2023-12-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [immutabledict](https://github.com/corenting/immutabledict) from 3.0.0 to 4.0.0. - [Release notes](https://github.com/corenting/immutabledict/releases) - [Changelog](https://github.com/corenting/immutabledict/blob/master/CHANGELOG.md) - [Commits](https://github.com/corenting/immutabledict/compare/v3.0.0...v4.0.0) --- updated-dependencies: - dependency-name: immutabledict dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Adding a version picker for Synapse docs (#16533)Dmytro Kagirov2023-12-119-1/+323
| | |
* | | Write signing keys with file mode 0640 (#16740)elara-leitstellentechnik2023-12-083-5/+17
| | | | | | | | | | | | Co-authored-by: Fabian Klemp <fabian.klemp@frequentis.com>
* | | Clarify documentation for `only_for_reauth` (#16737)Dirk Klimpel2023-12-072-9/+10
| | |
* | | Expose OIDC discovery information under the CSAPI (#16726)David Robertson2023-12-064-0/+125
|/ / | | | | | | Co-authored-by: Quentin Gliech <quenting@element.io>
* | Revert postgres logical replication deltaas v1.98.0rc1David Robertson2023-12-05118-213/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts two commits: 0bb8e418a41c6f583ca9d705b400e37e2308a534 "Fix postgres schema after dropping old tables (#16730)" and 51e4e35653f98c3f61222fbdbdb1dcb8864f7fca "Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit one. This should allow use of Postgres logical replication. (take 2, now with no added deadlocks!) (#16658)" and also amends the changelog.
* | Amend changelog typoDavid Robertson2023-12-051-1/+1
| |
* | Fixup dependency bumps syntax in changelogDavid Robertson2023-12-051-1/+1
| |
* | 1.98.0rc1David Robertson2023-12-0530-28/+81
| |
* | Fix upgrading a room without `events` field in power levels (#16725)David Robertson2023-12-053-1/+30
| |
* | Add how to validate configuration file with synapse.config script (#16714)Amanda H. L. de Andrade Katz2023-12-052-0/+18
| |
* | Set response values to zero if None for ↵Will Hunt2023-12-052-2/+3
| | | | | | | | | | | | /_synapse/admin/v1/federation/destinations (#16729)
* | Fix postgres schema after dropping old tables (#16730)David Robertson2023-12-056-5/+1
| |
* | Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit ↵reivilibre2023-12-04123-1/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one. This should allow use of Postgres logical replication. (take 2, now with no added deadlocks!) (#16658) * Add `ALTER TABLE ... REPLICA IDENTITY ...` for individual tables We can't combine them into one file as it makes it likely to hit a deadlock if Synapse is running, as it only takes one other transaction to access two tables in a different order to the schema delta. * Add notes * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Re-introduce REPLICA IDENTITY test --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Switch UNIX socket paths to /run, and add a UNIX socket example for HAProxy ↵villepeh2023-12-043-8/+13
| | | | | | | | (#16700)
* | Bump phonenumbers from 8.13.23 to 8.13.26 (#16722)dependabot[bot]2023-12-041-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Server notices: add an autojoin setting for the notices room (#16699)Mathieu Velten2023-12-046-1/+50
| | | | | | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* | Bump matrix-org/netlify-pr-preview from 2 to 3 (#16719)dependabot[bot]2023-12-041-1/+1
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Implement MSC4069: Inhibit profile propagation (#16636)Travis Ralston2023-12-046-5/+203
| | | | | | MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/4069
* | Bump idna from 3.4 to 3.6 (#16720)dependabot[bot]2023-12-041-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump cryptography from 41.0.6 to 41.0.7 (#16721)dependabot[bot]2023-12-041-24/+24
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump sphinx-autodoc2 from 0.4.2 to 0.5.0 (#16723)dependabot[bot]2023-12-042-7/+7
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-jsonschema from 4.19.0.4 to 4.20.0.0 (#16724)dependabot[bot]2023-12-041-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | ModuleAPI SSO auth callbacks (#15207)Andrew Yasinishyn2023-12-018-2/+56
| | | | | | Signed-off-by: Andrii Yasynyshyn yasinishyn.a.n@gmail.com
* | Drop unused tables & unneeded access token ID for events. (#16522)Patrick Cloke2023-12-014-8/+29
| |
* | Upgrade poetry-core range to fix issue with .so file (#16702)Mo Balaa2023-11-292-1/+2
| | | | | | | | | | | | | | | | poetry-core 1.8.x includes a fix which properly moves the generate synapse_rust.abi3.so file to the synapse directory when using an editable install. Without this change developers are left with a confusing experience of the synapse.synapse_rust module not being found after installation.
* | Declare support for Matrix v1.7, v1.8, and v1.9. (#16707)Patrick Cloke2023-11-292-0/+4
| |
* | Request & follow redirects for /media/v3/download (#16701)Patrick Cloke2023-11-297-38/+212
| | | | | | | | | | | | Implement MSC3860 to follow redirects for federated media downloads. Note that the Client-Server API doesn't support this (yet) since the media repository in Synapse doesn't have a way of supporting redirects.
* | Reduce DB load when forget on leave setting is disabled (#16668)Erik Johnston2023-11-292-3/+9
| | | | | | | | | | * Reduce DB load when forget on leave setting is disabled * Newsfile
* | Add a workflow to try and automatically fixup a PR (#16704)Erik Johnston2023-11-292-0/+53
| | | | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* | Speed up pruning of `user_ips` table (#16667)Erik Johnston2023-11-292-10/+8
| | | | | | Silly query planner
* | Bump cryptography from 41.0.5 to 41.0.6 (#16703)dependabot[bot]2023-11-281-25/+25
| |
* | Merge branch 'master' into developErik Johnston2023-11-283-2/+14
|\ \
| * | 1.97.0 v1.97.0Erik Johnston2023-11-283-2/+14
| | |
* | | Document which versions of Synapse have compatible schema versions. (#16661)Patrick Cloke2023-11-286-1/+216
| | |
* | | Ignore `encryption_enabled_by_default_for_room_type` for notices room (#16677)Mathieu Velten2023-11-283-1/+11
| | |
* | | Remove old full schema dumps. (#16697)Patrick Cloke2023-11-2821-2962/+1
| | | | | | | | | | | | These are not useful and make it difficult to search for table definitions, etc.
* | | Fix poetry version typo in contributors' guide (#16695)David Robertson2023-11-272-1/+2
| | |
* | | Bump prometheus-client from 0.18.0 to 0.19.0 (#16691)dependabot[bot]2023-11-271-3/+3
| | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump pyasn1 from 0.5.0 to 0.5.1 (#16689)dependabot[bot]2023-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.5.0 to 0.5.1. - [Release notes](https://github.com/pyasn1/pyasn1/releases) - [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst) - [Commits](https://github.com/pyasn1/pyasn1/compare/v0.5.0...v0.5.1) --- updated-dependencies: - dependency-name: pyasn1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump types-setuptools from 68.2.0.0 to 68.2.0.2 (#16688)dependabot[bot]2023-11-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [types-setuptools](https://github.com/python/typeshed) from 68.2.0.0 to 68.2.0.2. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-setuptools dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump ruff from 0.1.4 to 0.1.6 (#16690)dependabot[bot]2023-11-272-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.4 to 0.1.6. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.4...v0.1.6) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump jsonschema from 4.19.1 to 4.20.0 (#16692)dependabot[bot]2023-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.19.1 to 4.20.0. - [Release notes](https://github.com/python-jsonschema/jsonschema/releases) - [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst) - [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.19.1...v4.20.0) --- updated-dependencies: - dependency-name: jsonschema dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Bump serde from 1.0.192 to 1.0.193 (#16693)dependabot[bot]2023-11-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.192 to 1.0.193. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Move media retention tests out of rest tests (#16684)David Robertson2023-11-272-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Move media retention tests out of rest tests AFAICS this doesn't make any HTTP requests and so it ought not to belong in `tests.rest`. * Changelog
* | | Correctly read to-device stream pos on SQLite (#16682)David Robertson2023-11-243-13/+21
| | |
* | | Keep track of `user_ips` and `monthly_active_users` when delegating auth ↵David Robertson2023-11-2311-82/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#16672) * Describe `insert_client_ip` * Pull out client_ips and MAU tracking to BaseAuth * Define HAS_AUTHLIB once in tests sick of copypasting * Track ips and token usage when delegating auth * Test that we track MAU and user_ips * Don't track `__oidc_admin`
* | | Enable refreshable tokens on the admin registration endpoint (#16642)Charles Wright2023-11-222-1/+10
| | | | | | | | | Signed-off-by: Charles Wright <cvwright@futo.org>
* | | Bump pyo3 (0.20), pythonize (0.20), pyo3-log (0.9) (#16673)V024602023-11-223-35/+32
| | | | | | | | | Signed-off-by: Kai A. Hiller <V02460@gmail.com>
* | | Admin API for server notice: consistently bypass rate limits (#16670)Mathieu Velten2023-11-222-0/+3
| | | | | | | | | | | | | | | | | | | | | * Admin API for server notice: disable rate limit for all calls * Add changelog * Update changelog.d/16670.bugfix
* | | Bump pydantic from 2.4.2 to 2.5.1 (#16663)dependabot[bot]2023-11-221-111/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.4.2 to 2.5.1. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v2.4.2...v2.5.1) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | Filter out auth chain queries that don't exist (#16552)Jason Little2023-11-222-0/+6
| | |
* | | Merge branch 'release-v1.97' into developDavid Robertson2023-11-2139-37/+77
|\| | | |/ |/|
| * fix changelog typo v1.97.0rc1David Robertson2023-11-211-1/+1
| |
| * 1.97.0rc1David Robertson2023-11-2139-37/+77
| |
* | Bump sentry-sdk from 1.32.0 to 1.35.0 (#16666)dependabot[bot]2023-11-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.32.0 to 1.35.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.32.0...1.35.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump pyopenssl from 23.2.0 to 23.3.0 (#16662)dependabot[bot]2023-11-201-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pyopenssl](https://github.com/pyca/pyopenssl) from 23.2.0 to 23.3.0. - [Changelog](https://github.com/pyca/pyopenssl/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/pyopenssl/compare/23.2.0...23.3.0) --- updated-dependencies: - dependency-name: pyopenssl dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-pillow from 10.1.0.0 to 10.1.0.2 (#16664)dependabot[bot]2023-11-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [types-pillow](https://github.com/python/typeshed) from 10.1.0.0 to 10.1.0.2. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-pillow dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-psycopg2 from 2.9.21.15 to 2.9.21.16 (#16665)dependabot[bot]2023-11-201-4/+4
|/ | | | | | | | | | | | | | Bumps [types-psycopg2](https://github.com/python/typeshed) from 2.9.21.15 to 2.9.21.16. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-psycopg2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Speed up how quickly we launch new tasks (#16660)Erik Johnston2023-11-172-1/+2
| | | Now that we're reducing concurrency (#16656), this is more important.
* Bump requests-toolbelt from 0.10.1 to 1.0.0. (#16659)Patrick Cloke2023-11-172-4/+5
|
* Speed up purge room by adding index (#16657)Erik Johnston2023-11-173-0/+26
| | | What it says on the tin
* Also discard 'caches' and 'backfill' stream POSITIONS (#16655)Erik Johnston2023-11-172-0/+17
| | | Follow on from #16640
* Merge branch 'master' into developPatrick Cloke2023-11-175-4/+41
|\
| * Tweaks from review. v1.96.1Patrick Cloke2023-11-171-4/+6
| |
| * Move the forking note to 1.96.1.Patrick Cloke2023-11-171-8/+8
| |
| * 1.96.1Patrick Cloke2023-11-174-2/+15
| |
| * Fix building wheels in CI. (#16653)Patrick Cloke2023-11-172-1/+2
| | | | | | | | | | | | pip was using a vendored setuptools that was incompatible with Python 3.12. Upgrading cibuildwheels to a version with a newer version of pip (and thus a newer version of setuptools) fixes the issue.
| * Add blogpost link to changelog. v1.96.0Patrick Cloke2023-11-161-2/+8
| |
| * 1.96.0Patrick Cloke2023-11-164-2/+16
| |
| * Fix "'int' object is not iterable" error in set_device_id_for_pushers ↵Patrick Cloke2023-11-022-2/+3
| | | | | | | | | | | | background update (#16594) A regression from removing the cursor_to_dict call, adds back the wrapping into a tuple.
* | Update admin user API return types in docs. (#16654)Michael Weimann2023-11-172-4/+16
| |
* | Reduce task concurrency (#16656)Erik Johnston2023-11-173-2/+3
| |
* | Revert "Fix test not detecting tables with missing primary keys and missing ↵Erik Johnston2023-11-163-111/+0
| | | | | | | | | | replica identities, then add more replica identities. (#16647)" (#16652) This reverts commit 830988ae72d63bbb67d2020a3f221664f3f456ee.
* | Revert "Add a Postgres `REPLICA IDENTITY` to tables that do not have an ↵Erik Johnston2023-11-164-203/+1
| | | | | | | | | | implicit one. This should allow use of Postgres logical replication. (#16456)" (#16651) This reverts commit 69afe3f7a0d89f3422ddbd3aa16bc9bbc01056eb.
* | Speed up deleting device messages (#16643)Erik Johnston2023-11-164-29/+88
| | | | | | Keeping track of a lower bound of stream ID where we've deleted everything below makes the queries much faster. Otherwise, every time we scan for rows to delete we'd re-scan across all the rows that have previously deleted (until the next table VACUUM).
* | Speed up persisting large number of outliers (#16649)Erik Johnston2023-11-164-12/+134
| | | | | | Recalculating the roots tuple every iteration could be very expensive, so instead let's do a topological sort.
* | Fix sending out of order `POSITION` over replication (#16639)Erik Johnston2023-11-165-21/+45
| | | | | | | | | | If a worker reconnects to Redis we send out the current positions of all our streams. However, if we're also trying to send out a backlog of RDATA at the same time then we can end up sending a `POSITION` with the current token *before* we've sent all the RDATA before the current token. This doesn't cause actual bugs as the receiving servers see the POSITION, fetch the relevant rows from the DB, and then ignore the old RDATA as they come in. However, this is inefficient so it'd be better if we didn't send out-of-order positions
* | More efficiently handle no-op POSITION (#16640)Erik Johnston2023-11-163-0/+53
| | | | | | | | We may receive `POSITION` commands where we already know that worker has advanced past that position, so there is no point in handling it.
* | Fix test not detecting tables with missing primary keys and missing replica ↵reivilibre2023-11-164-3/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identities, then add more replica identities. (#16647) * Fix the CI query that did not detect all cases of missing primary keys * Add more missing REPLICA IDENTITY entries * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Add an Admin API to temporarily grant the ability to update an existing ↵David Robertson2023-11-1512-14/+613
| | | | | | | | cross-signing key without UIA (#16634)
* | Asynchronous Uploads (#15503)Sumner Evans2023-11-1514-59/+568
| | | | | | Support asynchronous uploads as defined in MSC2246.
* | Add links to pre-1.0 changelog issue/PR references. (#16638)Patrick Cloke2023-11-152-807/+808
| |
* | Use full GitHub links instead of bare issue numbers. (#16637)Patrick Cloke2023-11-1539-73/+94
| |
* | Improve documentation for ↵Will Hunt2023-11-142-1/+3
| | | | | | | | `/_synapse/admin/v1/rooms/<room_id>/timestamp_to_event` (#16631)
* | Remove whole table locks on push rule add/delete (#16051)Nick Mills-Barrett2023-11-132-16/+28
| | | | | | | | The statements are already executed within a transaction thus a table level lock is unnecessary.
* | Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit ↵reivilibre2023-11-134-1/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one. This should allow use of Postgres logical replication. (#16456) * Add Postgres replica identities to tables that don't have an implicit one Fixes #16224 * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Move the delta to version 83 as we missed the boat for 82 * Add a test that all tables have a REPLICA IDENTITY * Extend the test to include when indices are deleted * isort * black * Fully qualify `oid` as it is a 'hidden attribute' in Postgres 11 * Update tests/storage/test_database.py Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> * Add missed tables --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* | Fix outbound_federation_restricted_to docs & note when added (#16628)David Robertson2023-11-132-0/+4
| |
* | Bump serde from 1.0.190 to 1.0.192 (#16627)dependabot[bot]2023-11-131-4/+4
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump prometheus-client from 0.17.1 to 0.18.0 (#16626)dependabot[bot]2023-11-131-4/+4
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump treq from 22.2.0 to 23.11.0 (#16623)dependabot[bot]2023-11-131-6/+6
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-pyopenssl from 23.2.0.2 to 23.3.0.0 (#16625)dependabot[bot]2023-11-131-4/+4
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-bleach from 6.1.0.0 to 6.1.0.1 (#16624)dependabot[bot]2023-11-131-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump towncrier from 23.6.0 to 23.11.0 (#16622)dependabot[bot]2023-11-131-18/+4
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Use attempt_to_set_autocommit everywhere. (#16615)Patrick Cloke2023-11-095-22/+24
| | | | | | To avoid asserting the type of the database connection.
* | Fix a long-standing bug where Synapse would not unbind third-party ↵reivilibre2023-11-092-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identifiers for Application Service users when deactivated and would not emit a compliant response. (#16617) * Don't skip unbinding 3PIDs and returning success status when deactivating AS user Fixes #16608 * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* | Use dbname instead of database for Postgres config. (#16618)Patrick Cloke2023-11-095-8/+9
| |
* | Use _invalidate_cache_and_stream_bulk in more places. (#16616)Patrick Cloke2023-11-098-47/+72
| | | | | | | | | | This takes advantage of the new bulk method in more places to invalidate caches for many keys at once (and then to stream that over replication).
* | Convert simple_select_one_txn and simple_select_one to return tuples. (#16612)Patrick Cloke2023-11-0933-279/+283
| |
* | Return attrs for more media repo APIs. (#16611)Patrick Cloke2023-11-0910-110/+148
| |
* | Bulk-invalidate e2e cached queries after claiming keys (#16613)David Robertson2023-11-096-28/+249
| | | | | | | | Co-authored-by: Patrick Cloke <patrickc@matrix.org>
* | Bump pyicu from 2.11 to 2.12 (#16603)dependabot[bot]2023-11-081-2/+2
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump serde_json from 1.0.107 to 1.0.108 (#16604)dependabot[bot]2023-11-081-2/+2
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Avoid updating the same rows multiple times with simple_update_many_txn. ↵Patrick Cloke2023-11-073-6/+4
| | | | | | | | | | | | (#16609) simple_update_many_txn had a bug in it which would cause each update to be applied twice.
* | Avoid executing no-op queries. (#16583)Patrick Cloke2023-11-077-39/+39
| | | | | | | | | | | | If simple_{insert,upsert,update}_many_txn is called without any data to modify then return instead of executing the query. This matches the behavior of simple_{select,delete}_many_txn.
* | More tests for the simple_* methods. (#16596)Patrick Cloke2023-11-073-27/+633
| | | | | | | | Expand tests for the simple_* database methods, additionally test against both PostgreSQL and SQLite variants.
* | Collect information for PushRuleEvaluator in parallel. (#16590)Patrick Cloke2023-11-064-34/+87
| | | | | | | | | | | | | | | | Fetch information needed for push rule evaluation in parallel. Ideally this would use query pipelining, but this is not available in psycopg2. Due to the database thread pool this may result in little to no parallelization.
* | Bump setuptools_rust to match pinned version. (#16605)Patrick Cloke2023-11-062-1/+2
| |
* | Support reactor timing metric on more reactors. (#16532)Patrick Cloke2023-11-063-29/+106
| | | | | | | | | | | | | | | | | | | | Previously only Twisted's EPollReactor was compatible with the reactor timing metric, notably not working when asyncio was used. After this change, the following configurations support the reactor timing metric: * poll, epoll, or select reactors * asyncio reactor with a poll, epoll, select, /dev/poll, or kqueue event loop.
* | Bump setuptools-rust from 1.8.0 to 1.8.1 (#16601)dependabot[bot]2023-11-061-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-pyyaml from 6.0.12.11 to 6.0.12.12 (#16602)dependabot[bot]2023-11-061-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump types-jsonschema from 4.19.0.3 to 4.19.0.4 (#16599)dependabot[bot]2023-11-061-3/+3
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump ruff from 0.0.292 to 0.1.4 (#16600)dependabot[bot]2023-11-062-21/+21
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Simplify event persistence code (#16584)Patrick Cloke2023-11-034-312/+326
| | | | | | | | | | | | | | | | | | | | | | The event persistence code used to handle multiple rooms at a time, but was simplified to only ever be called with a single room at a time (different rooms are now handled in parallel). The code is still generic to multiple rooms causing a lot of work that is unnecessary (e.g. unnecessary loops, and partitioning data by room). This strips out the ability to handle multiple rooms at once, greatly simplifying the code.
* | Use simple_select_many_txn in event persistance code. (#16585)Patrick Cloke2023-11-022-5/+12
| | | | | | | | | | Just to standardize on the normal helpers, it might also have a slight perf improvement on PostgreSQL which will now use `ANY (?)` instead of `IN (?, ?, ...)`.
* | Bump twisted from 23.8.0 to 23.10.0 (#16588)dependabot[bot]2023-11-015-12/+12
| |