Commit Graph

578 Commits

Author SHA1 Message Date
dependabot[bot] 521aff9134 build(deps): bump vergen-gitcl from 1.0.7 to 1.0.8
Bumps [vergen-gitcl](https://github.com/rustyhorde/vergen) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/vergen_git2_1.0.7...vergen_gix_1.0.8)

---
updated-dependencies:
- dependency-name: vergen-gitcl
  dependency-version: 1.0.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-11 13:26:03 +00:00
mcalinghee f2a47f9a88 add login by email + feature flag 2025-04-10 17:57:58 +02:00
dependabot[bot] 06e72cabe8 build(deps): bump vergen-gitcl from 1.0.5 to 1.0.7
Bumps [vergen-gitcl](https://github.com/rustyhorde/vergen) from 1.0.5 to 1.0.7.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/commits/vergen_git2_1.0.7)

---
updated-dependencies:
- dependency-name: vergen-gitcl
  dependency-version: 1.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 10:19:21 +00:00
Quentin Gliech 7a11f21bf1 Support database poolers: clean up LISTEN/NOTIFY state when opening a connection
This should resolve the following issue:

  encountered unexpected or invalid data: execute: unexpected message: NotificationResponse (sqlx_postgres::connection::executor:361)
2025-04-08 13:24:55 +02:00
Quentin Gliech 12b316198e Expose more Sentry configuration (#4352) 2025-04-07 08:50:27 +02:00
Quentin Gliech e776d652d9 Fix Clippy lints introduced by Rust 1.86 2025-04-06 16:18:27 +02:00
Quentin Gliech 799f80e6ad Upgrade OpenTelemetry to 0.29.0 2025-04-06 10:33:01 +02:00
Quentin Gliech eb0cb941c0 Check that sample rates are in range in the config 2025-04-05 23:20:08 +02:00
Quentin Gliech 5bcc1ec011 Allow setting the OTLP tracing sample rate 2025-04-05 23:19:50 +02:00
Quentin Gliech bb34e9a6b5 Allow setting the Sentry environment & sample rates
Also record the version in the Sentry release field.
2025-04-05 23:19:16 +02:00
Quentin Gliech f300eca3ee syn2mas: Track skipped entities in the syn2mas progress (#4225) 2025-03-28 14:58:58 +01:00
Quentin Gliech 0b764c15da Observe tokio runtime metrics 2025-03-24 14:00:20 +01:00
Quentin Gliech fe7359fb42 Build the Tokio runtime manually, without #[tokio::main] 2025-03-24 13:54:23 +01:00
Quentin Gliech 8b53b5e6de Enable the tokio unstable features 2025-03-24 13:53:34 +01:00
Quentin Gliech 56b7e086cb Track skipped entities in the syn2mas progress 2025-03-14 13:29:19 +00:00
Quentin Gliech 6a37fdfe30 Merge branch 'main' into quenting/dynamic-policy-data 2025-03-14 10:16:16 +01:00
reivilibre 5fc97d1679 syn2mas: Add progress reporting to log and to opentelemetry metrics (#4215) 2025-03-13 15:04:02 +00:00
Olivier 'reivilibre 9228f20f2a fixup! syn2mas: Add progress reporting to log and to opentelemetry metrics
Add metrics directly within syn2mas, no background thread
2025-03-13 14:50:32 +00:00
Quentin Gliech 9829c2c526 Allow users to deactivate their own account in the UI (#4209) 2025-03-13 12:30:41 +01:00
Olivier 'reivilibre ebad8a77aa syn2mas: Add progress reporting to log and to opentelemetry metrics 2025-03-12 18:49:36 +00:00
Quentin Gliech 19f1091e56 Config option to allow account self-deactivation 2025-03-12 15:58:54 +01:00
Olivier 'reivilibre f5b17d9243 syn2mas: disable logging of slow statements 2025-03-12 14:38:32 +00:00
Quentin Gliech 2ae1523a61 Order the OAuth providers in the UI by their order in the config file (#4199) 2025-03-12 12:12:39 +01:00
reivilibre d1a3ef99e2 syn2mas: better performance, output tweaks, tracing tweaks, access token fixes (#4175) 2025-03-12 10:56:56 +00:00
reivilibre dbb67532b5 Update crates/cli/src/commands/syn2mas.rs
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-03-12 10:47:47 +00:00
Quentin Gliech 69bfdb2d5d Order the OAuth providers in the UI by their order in the config file 2025-03-12 11:12:55 +01:00
dependabot[bot] 8bb7dc86c8 build(deps): bump console from 0.15.10 to 0.15.11
Bumps [console](https://github.com/console-rs/console) from 0.15.10 to 0.15.11.
- [Release notes](https://github.com/console-rs/console/releases)
- [Changelog](https://github.com/console-rs/console/blob/main/CHANGELOG.md)
- [Commits](https://github.com/console-rs/console/compare/0.15.10...0.15.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-11 13:17:18 +00:00
Olivier 'reivilibre cc0da1b901 Add TODO on dry-run flag in syn2mas tool 2025-03-10 13:53:36 +00:00
Quentin Gliech 06a2ca33fb Better tracing during the migration 2025-03-10 13:36:12 +00:00
Olivier 'reivilibre 72523125f1 Add a bit of padding in the syn2mas output 2025-03-10 13:23:59 +00:00
Quentin Gliech 7c9bb73f67 Merge remote-tracking branch 'origin/main' into quenting/compat-device-id 2025-03-04 13:33:09 +01:00
Quentin Gliech 9b254721ef Merge remote-tracking branch 'origin/main' into quenting/dynamic-policy-data 2025-03-04 13:28:56 +01:00
Quentin Gliech cccb39ac1b Pass the MasWriter as owned to the various migration functions (#4120) 2025-03-04 12:37:23 +01:00
Quentin Gliech d0f1cf4971 Allow configuring the connection to the homeserver to be read-only. 2025-03-03 17:24:15 +01:00
Quentin Gliech f484896f16 Remove generic error type & always use an Arc on the HS connection
This should help us write other implementations of HomeserverConnection
2025-03-03 15:43:13 +01:00
Quentin Gliech 65b3741c1a Pass the MasWriter as owned to the various migration functions 2025-02-27 09:51:56 +01:00
Quentin Gliech c8a33f00d3 Regularly load the latest dynamic policy data from the database 2025-02-25 17:00:39 +01:00
Quentin Gliech c3296a2e22 Make the admin API update the local policy data 2025-02-25 16:42:21 +01:00
Quentin Gliech a538b50233 Bump most Rust dependencies 2025-02-24 12:12:07 +01:00
Quentin Gliech 674c1a4ada Upgrade OpenTelemetry to 0.28 2025-02-24 10:44:08 +01:00
Quentin Gliech 3ab28d4957 Remove explicit imports of std::future::Future, as it is now in the prelude 2025-02-21 16:24:53 +01:00
Quentin Gliech ab622d7e3a Convert a few closures + async move to async closures 2025-02-21 16:22:21 +01:00
Quentin Gliech 3d2b67a0b2 Upgrade to Rust 1.85 and edition 2024 2025-02-21 16:15:02 +01:00
matrixbot 84766e3c30 Automatic merge back to main (#4070) 2025-02-20 09:04:08 +01:00
Quentin Gliech 9d4d09f7c1 Fix a crash on startup when a listener has an empty prefix 2025-02-20 08:31:11 +01:00
Quentin Gliech 9cdc3b9f37 Allow compat session devices to have spaces 2025-02-19 17:55:18 +01:00
Quentin Gliech a1694acdd2 Convert IPv6-mapped IPv4 addresses to IPv4 addresses 2025-02-19 15:33:37 +01:00
Quentin Gliech 935400d87b Experimental feature to timeout inactive sessions 2025-02-12 17:31:21 +01:00
Quentin Gliech 8e9919b381 Encapsulate migration state in a single structure 2025-02-07 15:02:30 +01:00
Quentin Gliech e46cd724f4 Make the MAS connection owned in the locked database struct 2025-02-07 12:53:51 +01:00