Quentin Gliech
f8b6a27905
Import zod differently to better tree shake it
2024-03-29 19:28:30 +01:00
Jason Robinson
ee33697a3c
Ignore Synapse appservice users in syn2mas
...
These users don't need to be migrated as Synapse handles appservices itself.
2024-02-20 12:09:41 +01:00
Jason Robinson
f549e185ec
syn2mas: Skip access tokens that don't have a device ID
...
These can't be migrated. They are likely enirely valid tokens created by puppeting a user via the Synapse admin api. Treating them as fatal errors will make it impossible to migrate any host that has ever used this admin API feature.
2024-02-08 15:10:25 +01:00
Jason Robinson
5be27201c3
Allow Synapse OIDC provider idp_name to be null
...
It's not required, though technically it should be given if there are multiple providers.
Synapse config loads it defaulted to `OIDC` if not given: be65a8ec01/synapse/config/oidc.py (L299-L299)
2024-02-07 17:41:55 +01:00
Jason Robinson
1022780f85
Exit syn2mas advisor with non-zero exit code on errors
...
When running the advisor in an automated fashion, getting a non-zero exit code on errors helps enormously.
2024-02-02 23:46:43 +01:00
Quentin Gliech
5d3f4d3ea9
syn2mas: fix timestamp conversion on emails
2023-11-27 11:04:51 +01:00
Quentin Gliech
3dacaf25ef
syn2mas: support for deactivated users & use timestamps when generating IDs
2023-11-03 18:11:21 +01:00
Quentin Gliech
824a060e99
syn2mas: accept ULIDs and UUIDs in arguments for upstream IDP mapping
2023-11-02 12:10:59 +01:00
Hugh Nimmo-Smith
22f0307b44
Package and publish syn2mas to npm ( #2023 )
...
Co-authored-by: Quentin Gliech <quenting@element.io >
2023-11-02 11:56:40 +01:00
Nicolas Da Mutten
bc6f485ce7
fix(syn2mas): use postgres host when connecting
2023-10-23 10:39:35 +02:00
Quentin Gliech
48836575fe
syn2mas: use zod to validate the config files ( #1938 )
2023-10-16 13:56:01 +01:00
Quentin Gliech
5f15ccba0b
syn2mas: typescript fixes
2023-10-10 10:21:02 +02:00
Hugh Nimmo-Smith
96fd597fef
Docs for --dryRun
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
b40e94282d
Lint
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
26d9559578
Lint
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
f1de552807
Migration mode + docs
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
b979df45af
Add test for login_via_existing_session config option
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
0617969927
Missing type
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
c0d41d0400
Check for synapse enable_3pid_changes option
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
b3058b28b3
All user_consent config must be disabled
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
d60c10d88f
Check for user_consent.require_at_registration=True
2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith
38ed5e264e
WIP of syn2mas tool
2023-10-09 15:53:13 +02:00