Commit Graph
35 Commits
Author SHA1 Message Date
Will Lewis 943f037793 Remove warnings about password auth not being feature complete 2025-02-25 09:52:33 +00:00
Quentin Gliech ee33e9c0fb Remove the primary email address concept 2025-01-13 17:00:30 +01:00
Quentin Gliech 82ca75f285 Run biome ci --fix --unsafe 2024-11-15 09:51:16 +01:00
Quentin Gliech 4af91a2de4 syn2mas: import the admin flag on users 2024-10-29 17:16:42 +01:00
Quentin Gliech d5e3b4fcf5 Hoist up the biome config and use it for syn2mas 2024-10-22 14:55:33 +02:00
Hugh Nimmo-SmithandQuentin Gliech 781f302270 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 18f1f69c21 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 e0ea0b201b Use element-hq links to GitHub issues for migration advisor (#3204) 2024-09-17 11:09:46 +02:00
Quentin Gliech 15c02fa643 Manual license edit of remaining files 2024-09-10 14:28:55 +02:00
Quentin Gliech ed4b6c42a7 Remove (C) 2024-09-10 14:28:55 +02:00
Quentin Gliech f6bb100c0a License headers change 2024-09-05 13:25:42 +02:00
Quentin Gliech 5cdae81037 syn2mas: only set the SSL options if we set any of them 2024-08-07 15:21:06 +02:00
Quentin Gliech ba58195414 Support SSL postgres connections in syn2mas 2024-07-05 09:54:18 +02:00
Quentin Gliech 04fb8fe376 Import zod differently to better tree shake it 2024-03-29 19:28:30 +01:00
Jason Robinson e45e707afc 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 ff815c0333 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 114c5fc33f 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: https://github.com/matrix-org/synapse/blob/be65a8ec0195955c15fdb179c9158b187638e39a/synapse/config/oidc.py#L299-L299
2024-02-07 17:41:55 +01:00
Jason Robinson 9d96cdde1f 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 cd8468769e syn2mas: fix timestamp conversion on emails 2023-11-27 11:04:51 +01:00
Quentin Gliech a2f8d81107 syn2mas: support for deactivated users & use timestamps when generating IDs 2023-11-03 18:11:21 +01:00
Quentin Gliech 209758db92 syn2mas: accept ULIDs and UUIDs in arguments for upstream IDP mapping 2023-11-02 12:10:59 +01:00
Hugh Nimmo-SmithandQuentin Gliech 89145d574b 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 3c53a392c9 fix(syn2mas): use postgres host when connecting 2023-10-23 10:39:35 +02:00
Quentin Gliech a6093b615e syn2mas: use zod to validate the config files (#1938) 2023-10-16 13:56:01 +01:00
Quentin Gliech 0f5d10f41d syn2mas: typescript fixes 2023-10-10 10:21:02 +02:00
Hugh Nimmo-Smith 66f2a116d2 Docs for --dryRun 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith 54f9105f1a Lint 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith cfbda76c98 Lint 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith e6e98444f3 Migration mode + docs 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith 630228d30c Add test for login_via_existing_session config option 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith e7c036ccbe Missing type 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith 42d2338e81 Check for synapse enable_3pid_changes option 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith debf5e0ac7 All user_consent config must be disabled 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith 95bff53b4f Check for user_consent.require_at_registration=True 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith 522c6035d2 WIP of syn2mas tool 2023-10-09 15:53:13 +02:00