Commit Graph

2001 Commits

Author SHA1 Message Date
Quentin Gliech
130cc5e834 syn2mas: Track skipped entities in the syn2mas progress (#4225) 2025-03-28 14:58:58 +01:00
Quentin Gliech
1aa95536bb build(deps): bump pest from 2.7.15 to 2.8.0 (#4297) 2025-03-28 14:56:38 +01:00
dependabot[bot]
7833afc8df build(deps): bump psl from 2.1.96 to 2.1.97
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.96 to 2.1.97.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.96...v2.1.97)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-28 13:21:23 +00:00
Quentin Gliech
ea2a74517a Sort client registration metadata fields before hashing 2025-03-26 15:41:04 +01:00
Quentin Gliech
5ae2970d94 Ensure client metadata hashing is stable
This is done by using the indexmap crate to preserve insertion order for
localized fields.
2025-03-25 15:00:48 +01:00
Quentin Gliech
8fbd75eb7e Deduplicate client registrations by hashing the metadata 2025-03-25 15:00:23 +01:00
dependabot[bot]
bca7ff38da build(deps): bump pest from 2.7.15 to 2.8.0
Bumps [pest](https://github.com/pest-parser/pest) from 2.7.15 to 2.8.0.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.15...v2.8.0)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 13:52:50 +00:00
Quentin Gliech
a932a6939c Replace data-encoding with base64ct 2025-03-25 13:41:58 +01:00
Quentin Gliech
87c56ccd23 Observe metrics from the Tokio runtime (#4284) 2025-03-25 12:07:03 +01:00
dependabot[bot]
79fe19412a build(deps): bump time from 0.3.40 to 0.3.41
Bumps [time](https://github.com/time-rs/time) from 0.3.40 to 0.3.41.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.40...v0.3.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 15:21:47 +00: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
dependabot[bot]
995708c7d2 build(deps): bump psl from 2.1.95 to 2.1.96
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.95 to 2.1.96.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.95...v2.1.96)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-19 13:39:06 +00:00
reivilibre
ba6e55f800 Don't delete devices marked as dehydrated devices (#4268) 2025-03-19 12:40:00 +00:00
Olivier 'reivilibre
7ed09fc9ff change filter condition so that Some(false) does not signify dehydrated 2025-03-19 12:29:53 +00:00
Hubert Chathi
953262c77b don't delete devices marked as dehydrated devices 2025-03-18 15:41:50 -04:00
Olivier 'reivilibre
887584d78f syn2mas: remove obsolete TODOs
all of these are either solved through implementation or through lack of
necessity.
2025-03-18 16:57:03 +00:00
reivilibre
60229f0a72 syn2mas: Synapse configuration fixes (#4266) 2025-03-18 16:38:37 +00:00
dependabot[bot]
c876035b15 build(deps): bump time from 0.3.39 to 0.3.40
Bumps [time](https://github.com/time-rs/time) from 0.3.39 to 0.3.40.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.39...v0.3.40)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 16:21:56 +00:00
Olivier 'reivilibre
390571f8e0 syn2mas: fix handling of missing Synapse password_config config
Closes #3929
2025-03-18 15:58:05 +00:00
Olivier 'reivilibre
a55b349a80 syn2mas: fix handling of Synapse user_consent config
Closes #3928
2025-03-18 15:57:40 +00:00
dependabot[bot]
ee5b26551b build(deps): bump psl from 2.1.94 to 2.1.95
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.94 to 2.1.95.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.94...v2.1.95)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 14:01:00 +00:00
Olivier 'reivilibre
0553cbf249 syn2mas: use ChaCha20 for all operations 2025-03-17 17:14:53 +00:00
Quentin Gliech
f4bcf5683d build(deps): bump psl from 2.1.93 to 2.1.94 (#4242) 2025-03-17 14:40:29 +01:00
dependabot[bot]
24534c7df5 build(deps): bump uuid from 1.15.1 to 1.16.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.15.1...v1.16.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 12:55:37 +00:00
dependabot[bot]
93f2ccbc6c build(deps): bump psl from 2.1.93 to 2.1.94
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.93 to 2.1.94.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.93...v2.1.94)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 12:53:51 +00:00
reivilibre
e547a11e03 Add expires_in to introspection responses (#4241)
Closes #4224

Corresponds to: element-hq/synapse#18231
2025-03-17 11:10:05 +00:00
Olivier 'reivilibre
3c6f9815dc Use DurationSeconds 2025-03-17 10:29:54 +00:00
Olivier 'reivilibre
73d3703fda Add expires_in to introspection responses
Closes #4224

Corresponds to: https://github.com/element-hq/synapse/pull/18231
2025-03-17 09:41:29 +00:00
Quentin Gliech
0a646fda93 build(deps): bump indoc from 2.0.5 to 2.0.6 (#4237) 2025-03-17 10:37:44 +01:00
dependabot[bot]
0fa3965933 build(deps): bump base64ct from 1.6.0 to 1.7.3
Bumps [base64ct](https://github.com/RustCrypto/formats) from 1.6.0 to 1.7.3.
- [Commits](https://github.com/RustCrypto/formats/commits)

---
updated-dependencies:
- dependency-name: base64ct
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 08:58:06 +00:00
dependabot[bot]
fb80d0b63a build(deps): bump indoc from 2.0.5 to 2.0.6
Bumps [indoc](https://github.com/dtolnay/indoc) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/2.0.5...2.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 08:57:17 +00:00
dependabot[bot]
a47642d53d build(deps): bump rsa from 0.9.7 to 0.9.8
Bumps [rsa](https://github.com/RustCrypto/RSA) from 0.9.7 to 0.9.8.
- [Changelog](https://github.com/RustCrypto/RSA/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RustCrypto/RSA/compare/v0.9.7...v0.9.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 13:39:26 +00: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
dependabot[bot]
001d6f96f7 build(deps): bump psl from 2.1.86 to 2.1.93
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.86 to 2.1.93.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.86...v2.1.93)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-13 13:15:30 +00:00
Quentin Gliech
7ec4e1e371 Prune stale policy data once a day 2025-03-13 13:40:59 +01:00
Quentin Gliech
13d1d29a77 Add a comment on the migration stating that we keep an history of the policy data 2025-03-13 13:27:32 +01:00
Quentin Gliech
412b993545 Allow users to deactivate their own account in the UI (#4209) 2025-03-13 12:30:41 +01:00
Quentin Gliech
25fd400ffb Change the default value of account_deactivation_allowed to true. 2025-03-13 12:04:57 +01:00
Quentin Gliech
8d721c14b1 Explain what the 'hsErase' parameter does 2025-03-13 11:36:53 +01:00
Olivier 'reivilibre
3a29eef432 syn2mas: Add progress reporting to log and to opentelemetry metrics 2025-03-12 18:49:36 +00:00
reivilibre
452f36f529 syn2mas: disable logging of slow statements, better access token query perf (#4208) 2025-03-12 18:18:18 +00:00
dependabot[bot]
d266d3be56 build(deps): bump indexmap from 2.7.1 to 2.8.0
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.7.1 to 2.8.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.7.1...2.8.0)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-12 15:43:26 +00:00
Quentin Gliech
1846229f34 GraphQL mutation to deactivate a user 2025-03-12 15:58:54 +01:00
Quentin Gliech
a6992b718c Config option to allow account self-deactivation 2025-03-12 15:58:54 +01:00
Quentin Gliech
586af58e3f Move the verify_password_if_needed helper up one level 2025-03-12 15:58:54 +01:00