Will Lewis
6f43eb4037
Remove warnings about password auth not being feature complete
2025-02-25 09:52:33 +00:00
Quentin Gliech
077a55fd5d
Remove the primary email address concept
2025-01-13 17:00:30 +01:00
Quentin Gliech
68e3a499b4
Run biome ci --fix --unsafe
2024-11-15 09:51:16 +01:00
Quentin Gliech
a13f8f6a9d
syn2mas: import the admin flag on users
2024-10-29 17:16:42 +01:00
Quentin Gliech
0061c258d1
Hoist up the biome config and use it for syn2mas
2024-10-22 14:55:33 +02:00
Hugh Nimmo-Smith
df8f6624d1
syn2mas - reflect that CAPTCHA is supported by MAS now ( #3207 )
...
Co-authored-by: Quentin Gliech <quenting@element.io >
2024-09-17 09:21:43 +00:00
Hugh Nimmo-Smith
52b34e257d
Use row streaming for pg so that all users aren't loaded into memory at once ( #3205 )
...
And only transfer the columns from users table that we care about
2024-09-17 11:10:43 +02:00
Hugh Nimmo-Smith
773fc8c458
Use element-hq links to GitHub issues for migration advisor ( #3204 )
2024-09-17 11:09:46 +02:00
Quentin Gliech
0d41cd8a0f
Manual license edit of remaining files
2024-09-10 14:28:55 +02:00
Quentin Gliech
9a946c19e7
Remove (C)
2024-09-10 14:28:55 +02:00
Quentin Gliech
9da19e2af0
License headers change
2024-09-05 13:25:42 +02:00
Quentin Gliech
add48537c6
syn2mas: only set the SSL options if we set any of them
2024-08-07 15:21:06 +02:00
Quentin Gliech
dd79a2afd2
Support SSL postgres connections in syn2mas
2024-07-05 09:54:18 +02:00
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