Quentin Gliech
130cc5e834
syn2mas: Track skipped entities in the syn2mas progress ( #4225 )
2025-03-28 14:58:58 +01:00
Quentin Gliech
7ecbbbcfbd
Observe tokio runtime metrics
2025-03-24 14:00:20 +01:00
Quentin Gliech
3201f12a3e
Build the Tokio runtime manually, without #[tokio::main]
2025-03-24 13:54:23 +01:00
Quentin Gliech
e03d373e33
Enable the tokio unstable features
2025-03-24 13:53:34 +01:00
Quentin Gliech
d7bd50f12b
Track skipped entities in the syn2mas progress
2025-03-14 13:29:19 +00:00
Quentin Gliech
fd41b719ba
Merge branch 'main' into quenting/dynamic-policy-data
2025-03-14 10:16:16 +01:00
reivilibre
95d2af9eda
syn2mas: Add progress reporting to log and to opentelemetry metrics ( #4215 )
2025-03-13 15:04:02 +00:00
Olivier 'reivilibre
35ef586447
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
412b993545
Allow users to deactivate their own account in the UI ( #4209 )
2025-03-13 12:30:41 +01:00
Olivier 'reivilibre
3a29eef432
syn2mas: Add progress reporting to log and to opentelemetry metrics
2025-03-12 18:49:36 +00:00
Quentin Gliech
a6992b718c
Config option to allow account self-deactivation
2025-03-12 15:58:54 +01:00
Olivier 'reivilibre
7d0287108e
syn2mas: disable logging of slow statements
2025-03-12 14:38:32 +00:00
Quentin Gliech
51e1c11df9
Order the OAuth providers in the UI by their order in the config file ( #4199 )
2025-03-12 12:12:39 +01:00
reivilibre
8553efdab4
syn2mas: better performance, output tweaks, tracing tweaks, access token fixes ( #4175 )
2025-03-12 10:56:56 +00:00
reivilibre
0a3c5cf38e
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
cc98fd7a53
Order the OAuth providers in the UI by their order in the config file
2025-03-12 11:12:55 +01:00
dependabot[bot]
55c9dc2b61
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
7fd159346f
Add TODO on dry-run flag in syn2mas tool
2025-03-10 13:53:36 +00:00
Quentin Gliech
0b9036601a
Better tracing during the migration
2025-03-10 13:36:12 +00:00
Olivier 'reivilibre
b6b1901741
Add a bit of padding in the syn2mas output
2025-03-10 13:23:59 +00:00
Quentin Gliech
44b6777f1b
Merge remote-tracking branch 'origin/main' into quenting/compat-device-id
2025-03-04 13:33:09 +01:00
Quentin Gliech
f8d8a82544
Merge remote-tracking branch 'origin/main' into quenting/dynamic-policy-data
2025-03-04 13:28:56 +01:00
Quentin Gliech
004119dbce
Pass the MasWriter as owned to the various migration functions ( #4120 )
2025-03-04 12:37:23 +01:00
Quentin Gliech
588a04b0ba
Allow configuring the connection to the homeserver to be read-only.
2025-03-03 17:24:15 +01:00
Quentin Gliech
df5de81c92
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
347e37ad28
Pass the MasWriter as owned to the various migration functions
2025-02-27 09:51:56 +01:00
Quentin Gliech
389600a966
Regularly load the latest dynamic policy data from the database
2025-02-25 17:00:39 +01:00
Quentin Gliech
518a366ee2
Make the admin API update the local policy data
2025-02-25 16:42:21 +01:00
Quentin Gliech
10d7338934
Bump most Rust dependencies
2025-02-24 12:12:07 +01:00
Quentin Gliech
2a202cc6b0
Upgrade OpenTelemetry to 0.28
2025-02-24 10:44:08 +01:00
Quentin Gliech
eca6955f07
Remove explicit imports of std::future::Future, as it is now in the prelude
2025-02-21 16:24:53 +01:00
Quentin Gliech
6fcdad6b26
Convert a few closures + async move to async closures
2025-02-21 16:22:21 +01:00
Quentin Gliech
56d9c7e63b
Upgrade to Rust 1.85 and edition 2024
2025-02-21 16:15:02 +01:00
matrixbot
c905ab5b55
Automatic merge back to main ( #4070 )
2025-02-20 09:04:08 +01:00
Quentin Gliech
f3d4e59b23
Fix a crash on startup when a listener has an empty prefix
2025-02-20 08:31:11 +01:00
Quentin Gliech
a3f22ae5f6
Allow compat session devices to have spaces
2025-02-19 17:55:18 +01:00
Quentin Gliech
1ff506d624
Convert IPv6-mapped IPv4 addresses to IPv4 addresses
2025-02-19 15:33:37 +01:00
Quentin Gliech
b40fcdd712
Experimental feature to timeout inactive sessions
2025-02-12 17:31:21 +01:00
Quentin Gliech
c6fdd82432
Encapsulate migration state in a single structure
2025-02-07 15:02:30 +01:00
Quentin Gliech
260834bc01
Make the MAS connection owned in the locked database struct
2025-02-07 12:53:51 +01:00
Quentin Gliech
cc618fa45d
Update most Rust dependencies & disable some unused features
2025-02-06 12:50:50 +01:00
Quentin Gliech
9fbb1e73df
Merge pull request #3926 from element-hq/rei/syn2mas_8_atrtdevs
...
syn2mas: migrate access tokens, refresh tokens and devices
2025-02-05 11:57:59 +01:00
Olivier 'reivilibre
73ccecf8e8
Add MasWriter support for compat refresh tokens + some migration progress
2025-02-05 11:38:50 +01:00
Quentin Gliech
930855f2cb
Merge remote-tracking branch 'origin/main' into ref-merge/077df809a751dac03c94bb21e1def43ee4f1ae13
2025-02-04 16:21:10 +01:00
Quentin Gliech
45c70ec839
Fetch the upstream OIDC metadata in the background on startup
2025-01-30 15:24:45 +01:00
reivilibre
13cf5a5617
syn2mas: Support migrating external IDs as upstream OAuth2 providers ( #3917 )
...
* Add `SynapseReader` support and test for external IDs
* Run database migrations and do a config sync before syn2mas
* FullUserId: implement Display
* Add `MasWriter` support and test for upstream OAuth provider links
* Remove special-purpose write buffers and use only the generic one
* Build the provider ID mapping
2025-01-30 10:34:20 +00:00
Quentin Gliech
f7f06e8469
Don't prevent starting up if the mail backend is unavailable
2025-01-29 15:45:50 +01:00
Quentin Gliech
3cf7d89543
Fix crash if the watchdog is not set
2025-01-29 14:56:25 +01:00
Quentin Gliech
56c31e9e46
Run reload handlers in parallel
2025-01-28 14:29:33 +01:00
Quentin Gliech
133072bc55
Advertise the main PID through sd_notify on startup
2025-01-28 14:29:33 +01:00