1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-09-11 22:30:47 +03:00
Commit Graph

82 Commits

Author SHA1 Message Date
dependabot[bot]
e33eaa2d8b build(deps-dev): bump the development group
Bumps the development group in /tools/syn2mas with 4 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn).


Updates `@types/node` from 18.18.6 to 18.18.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@typescript-eslint/eslint-plugin` from 6.9.0 to 6.9.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.9.0 to 6.9.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.1/packages/parser)

Updates `eslint-plugin-unicorn` from 48.0.1 to 49.0.0
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.1...v49.0.0)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 12:23:15 +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-Smith
89145d574b Package and publish syn2mas to npm (#2023)
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-11-02 11:56:40 +01:00
dependabot[bot]
620f3fe416 build(deps-dev): bump the development group
Bumps the development group in /tools/syn2mas with 3 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [eslint](https://github.com/eslint/eslint).


Updates `@typescript-eslint/eslint-plugin` from 6.8.0 to 6.9.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.8.0 to 6.9.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.0/packages/parser)

Updates `eslint` from 8.51.0 to 8.52.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.51.0...v8.52.0)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 23:02:06 +02:00
Nicolas Da Mutten
3c53a392c9 fix(syn2mas): use postgres host when connecting 2023-10-23 10:39:35 +02:00
dependabot[bot]
9224d86fa5 build(deps-dev): bump @babel/traverse in /tools/syn2mas
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.23.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 17:44:50 +02:00
dependabot[bot]
13b263ad1b build(deps): bump the production group in /tools/syn2mas with 1 update
Bumps the production group in /tools/syn2mas with 1 update: [yaml](https://github.com/eemeli/yaml).

- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.3.2...v2.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 17:41:45 +02:00
Quentin Gliech
ffd3a1cc6c syn2mas: use a published version of ts-node 2023-10-19 11:24:01 +02:00
dependabot[bot]
f883ea1f4b build(deps-dev): bump the development group
Bumps the development group in /tools/syn2mas with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/command-line-args](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/command-line-args) | `5.2.1` | `5.2.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `18.18.4` | `18.18.6` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `6.7.5` | `6.8.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `6.7.5` | `6.8.0` |
| [ts-node](https://github.com/TypeStrong/ts-node) | ``0eb980f`` | ``c06cbe7`` |


Updates `@types/command-line-args` from 5.2.1 to 5.2.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/command-line-args)

Updates `@types/node` from 18.18.4 to 18.18.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@typescript-eslint/eslint-plugin` from 6.7.5 to 6.8.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.8.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.7.5 to 6.8.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.8.0/packages/parser)

Updates `ts-node` from `0eb980f` to `c06cbe7`
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](0eb980f2b7...c06cbe7d83)

---
updated-dependencies:
- dependency-name: "@types/command-line-args"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
- dependency-name: ts-node
  dependency-type: direct:development
  dependency-group: development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 11:24:01 +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
dependabot[bot]
af552bf478 build(deps-dev): bump the development group
Bumps the development group in /tools/syn2mas with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `18.15.10` | `18.18.4` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `5.57.0` | `6.7.5` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `5.62.0` | `6.7.5` |
| [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | `2.27.5` | `2.28.1` |
| [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) | `46.0.0` | `48.0.1` |
| [prettier](https://github.com/prettier/prettier) | `2.8.7` | `3.0.3` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.0.2` | `5.2.2` |


Updates `@types/node` from 18.15.10 to 18.18.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@typescript-eslint/eslint-plugin` from 5.57.0 to 6.7.5
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.5/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 5.62.0 to 6.7.5
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.5/packages/parser)

Updates `eslint-plugin-import` from 2.27.5 to 2.28.1
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.1)

Updates `eslint-plugin-unicorn` from 46.0.0 to 48.0.1
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v46.0.0...v48.0.1)

Updates `prettier` from 2.8.7 to 3.0.3
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.7...3.0.3)

Updates `typescript` from 5.0.2 to 5.2.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.2...v5.2.2)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 10:21:02 +02:00
dependabot[bot]
829b4c5c87 build(deps): bump the production group in /tools/syn2mas with 2 updates
Bumps the production group in /tools/syn2mas with 2 updates: [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) and [ts-command-line-args](https://github.com/Roaders/ts-command-line-args).


Updates `pg` from 8.10.0 to 8.11.3
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.11.3/packages/pg)

Updates `ts-command-line-args` from 2.4.2 to 2.5.1
- [Release notes](https://github.com/Roaders/ts-command-line-args/releases)
- [Commits](https://github.com/Roaders/ts-command-line-args/compare/2.4.2...2.5.1)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production
- dependency-name: ts-command-line-args
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 09:44:51 +02:00
dependabot[bot]
ed0f654369 build(deps-dev): bump eslint-config-prettier in /tools/syn2mas
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.8.0 to 9.0.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.8.0...v9.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 09:38:43 +02:00
dependabot[bot]
4bf1de1420 build(deps-dev): bump @types/command-line-args in /tools/syn2mas
Bumps [@types/command-line-args](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/command-line-args) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/command-line-args)

---
updated-dependencies:
- dependency-name: "@types/command-line-args"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 09:23:58 +02:00
dependabot[bot]
593ab51b3a build(deps-dev): bump eslint from 8.36.0 to 8.51.0 in /tools/syn2mas
Bumps [eslint](https://github.com/eslint/eslint) from 8.36.0 to 8.51.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.36.0...v8.51.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 09:23:53 +02:00
dependabot[bot]
05e167b917 build(deps): bump knex from 2.4.2 to 3.0.1 in /tools/syn2mas (#1911)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 17:26:11 +01:00
dependabot[bot]
f56eb43aca build(deps): bump yaml from 2.2.1 to 2.3.2 in /tools/syn2mas
Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.3.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.2.1...v2.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 16:22:52 +02:00
dependabot[bot]
3ea82e46b0 build(deps-dev): bump @typescript-eslint/parser in /tools/syn2mas
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.57.0 to 5.62.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.62.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 16:22:37 +02:00
dependabot[bot]
764e6718a4 build(deps-dev): bump semver from 5.7.1 to 5.7.2 in /tools/syn2mas
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 16:03:33 +02:00
Hugh Nimmo-Smith
26e97a2490 Use network config options during docker build 2023-10-09 15:53:13 +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
999bab14e4 Docker build config 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