Commit Graph
4581 Commits
Author SHA1 Message Date
Quentin Gliech 2e13c25dde syn2mas: reduce the channel buffer size 2025-04-22 17:35:15 +02:00
Quentin Gliech def366849e syn2mas: remove the MasWriter::write_ methods and replaced them in tests 2025-04-22 16:35:37 +02:00
Quentin Gliech 42138ac895 syn2mas: make the MasWriteBuffer use the WriteBatch trait 2025-04-22 15:49:17 +02:00
Quentin Gliech 0f30933fe2 syn2mas: implement WriteBatch for MasNewCompatRefreshToken 2025-04-22 14:42:52 +02:00
Quentin Gliech 28d3ab3cff syn2mas: implement WriteBatch for MasNewCompatAccessToken 2025-04-22 14:39:59 +02:00
Quentin Gliech de2caeb322 syn2mas: implement WriteBatch for MasNewCompatSession 2025-04-22 14:37:32 +02:00
Quentin Gliech 151f5a73f1 syn2mas: implement WriteBatch for MasNewUpstreamOauthLink 2025-04-22 14:33:16 +02:00
Quentin Gliech cd9f7bbba6 syn2mas: implement WriteBatch for MasNewUnsupportedThreepid 2025-04-22 14:30:51 +02:00
Quentin Gliech 202eab0972 syn2mas: implement WriteBatch for MasNewEmailThreepid 2025-04-22 14:25:13 +02:00
Quentin Gliech 1fe7e6cb25 syn2mas: implement WriteBatch for MasNewUserPassword 2025-04-22 14:17:37 +02:00
Quentin Gliech 521a96f0a2 syn2mas: implement WriteBatch for MasNewUser 2025-04-22 14:14:44 +02:00
Quentin Gliech d4a43fba0f syn2mas: introduce a WriteBatch trait to refactor how we write to MAS 2025-04-22 14:14:20 +02:00
Quentin Gliech 0af16617e4 syn2mas: add a buffered channel for writing refreshable tokens 2025-04-22 13:49:22 +02:00
Quentin Gliech a9a7929388 syn2mas: add a buffered channel for writing external IDs 2025-04-22 13:44:52 +02:00
Quentin Gliech 46c44e0b43 syn2mas: add a buffered channel for writing threepids 2025-04-22 13:40:14 +02:00
Quentin Gliech f49b8dcc3c Option to generate a MAS config from an existing Synapse config
This is a best-effort conversion, which will warn about unsupported options.
2025-04-18 18:27:15 +02:00
Quentin Gliech aef5dca40d Move the synapse_idp_id field to the top of the provider section
This means that when serializing those, it will be at a more obvious place.
2025-04-18 18:25:46 +02:00
Quentin Gliech b58ad863c5 Make a few password-related options public in the config crate
It also adds docs to a few of those options
2025-04-18 18:24:35 +02:00
Quentin Gliech 59bcf1b963 syn2mas: replace #[allow] annotations with #[expect]
Also removes unused #[allow] annotations.
2025-04-18 11:34:27 +02:00
Quentin Gliech cdb35d97ef syn2mas: refactor the metrics logic in the progress module
We don't need to carry around the various meters. Just make them global.
2025-04-18 11:32:26 +02:00
Quentin Gliech 3e4bd28870 build(deps): bump sqlx from 0.8.4 to 0.8.5 (#4418) 2025-04-16 15:58:55 +02:00
Quentin Gliech d4fc745677 build(deps-dev): bump the vite group across 1 directory with 2 updates (#4420) 2025-04-16 15:58:30 +02:00
dependabot[bot] 51717cae4c build(deps-dev): bump the vite group across 1 directory with 2 updates
Bumps the vite group with 2 updates in the /frontend directory: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `@vitejs/plugin-react` from 4.3.4 to 4.4.0
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.4.0/packages/plugin-react)

Updates `vite` from 6.2.6 to 6.3.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.3.0/packages/vite)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite
- dependency-name: vite
  dependency-version: 6.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 13:52:21 +00:00
dependabot[bot] f428bd12ce build(deps): bump sqlx from 0.8.4 to 0.8.5
Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.8.4 to 0.8.5.
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/commits/v0.8.5)

---
updated-dependencies:
- dependency-name: sqlx
  dependency-version: 0.8.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 13:15:35 +00:00
Quentin Gliech 63a7c87e87 Require auth key file for Apple Sign-In (#4393) 2025-04-16 11:40:39 +02:00
Adis Veletanlic 41b460b672 Format project with nightly toolchain 2025-04-16 10:11:02 +02:00
Adis Veletanlic f8114be322 Merge branch 'element-hq:main' into main 2025-04-16 08:40:03 +02:00
Quentin Gliech 117590c1bc fix(docs): add token_endpoint_auth_method in Authentik SSO example (#4387) 2025-04-15 22:37:41 +02:00
Adis Veletanlic 351c1e7654 Format project 2025-04-14 18:52:41 +02:00
Adis Veletanlic dade4991bc Merge pull request #3 from adisve/feat/populate-priv-key-sync
Feat/populate priv key sync
2025-04-14 18:44:58 +02:00
Adis Veletanlic f17f2a4691 Merge branch 'element-hq:main' into main 2025-04-14 18:44:34 +02:00
Adis Veletanlic 512208f7ba Add comment to explain sync workflow 2025-04-14 18:44:18 +02:00
Adis Veletanlic d00e05be54 Fix incorrect async usage on client_credentials_for_provider 2025-04-14 18:28:17 +02:00
Adis Veletanlic 43273d2129 Populate private key for SIWA in sync.rs so it is simply storing private_key in db using the provided file (if given) 2025-04-14 18:25:28 +02:00
matrixbot 47fc7c9028 Automatic merge back to main (#4411) 2025-04-14 18:04:50 +02:00
Quentin Gliech 7122f520fa build(deps-dev): bump msw from 2.7.3 to 2.7.4 in /frontend (#4399) 2025-04-14 17:59:39 +02:00
github-actions[bot] a8f58d4f58 0.15.0-rc.0 v0.15.0-rc.0 2025-04-14 15:57:46 +00:00
Quentin Gliech bda3fd6e16 Update MSW 2025-04-14 17:52:12 +02:00
matrixbot b041b5387e Translations updates for main (#4407) 2025-04-14 17:51:13 +02:00
Quentin Gliech 1bb6214c79 build(deps): bump psl from 2.1.99 to 2.1.100 (#4401) 2025-04-14 17:50:15 +02:00
Quentin Gliech bea3d53e34 Allow database tests to run in parallel again (#4405) 2025-04-14 17:46:44 +02:00
github-actions[bot] 4335c36afc Translations updates 2025-04-14 15:44:34 +00:00
dependabot[bot] ef76a8c76c build(deps): bump psl from 2.1.99 to 2.1.100
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.99 to 2.1.100.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.99...v2.1.100)

---
updated-dependencies:
- dependency-name: psl
  dependency-version: 2.1.100
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 15:43:33 +00:00
Quentin Gliech 292e14377f build(deps-dev): bump @types/node from 22.14.0 to 22.14.1 in /tools/syn2mas in the development group (#4395) 2025-04-14 17:42:48 +02:00
matrixbot c6d82f6abd Translations updates for main (#4406) 2025-04-14 17:39:55 +02:00
github-actions[bot] 41de078d8e Translations updates 2025-04-14 15:32:48 +00:00
Quentin Gliech 265b01dda3 Allow database tests to run in parallel again 2025-04-14 17:31:33 +02:00
Quentin Gliech 8066b3ab21 build(deps): bump anyhow from 1.0.97 to 1.0.98 (#4402) 2025-04-14 17:30:23 +02:00
Quentin Gliech 6a5b4d25a8 build(deps): bump clap from 4.5.35 to 4.5.36 (#4403) 2025-04-14 17:06:14 +02:00
Quentin Gliech 0b01cca5cb build(deps): bump sqlx from 0.8.3 to 0.8.4 (#4404) 2025-04-14 17:06:01 +02:00