Quentin Gliech
6eb6209bd8
Use rustls-platform-verifier for cert validation
...
This simplifies by removing the mutually exclusive `native-roots` and
`webpki-roots` features with something that is suitable for all
platforms.
2024-03-06 14:03:59 +01:00
Quentin Gliech
58d91f91d2
Bump whoami, mio and iana-time-zone in the Cargo.lock file
...
This is to resolve a few RUSTSEC advisories that were reported by cargo deny
2024-03-06 11:51:46 +01:00
Andrew Ferrazzutti
e5a88622db
Document systemd socket listener
2024-03-01 18:14:33 +01:00
Andrew Ferrazzutti
b2f2e152c6
Update example socket config
2024-03-01 18:14:33 +01:00
Quentin Gliech
7f9d62f409
Update documentation about syncing the configuration with the database
2024-03-01 18:14:05 +01:00
Quentin Gliech
c0a9d27e34
Automatically sync the configuration on server startup
2024-03-01 18:14:05 +01:00
dependabot[bot]
7200f945e8
build(deps-dev): bump the types group in /frontend with 2 updates
...
Bumps the types group in /frontend with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ).
Updates `@types/node` from 20.11.20 to 20.11.24
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `@types/react` from 18.2.60 to 18.2.61
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: types
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: types
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-01 15:51:57 +01:00
dependabot[bot]
2ec4754bd8
build(deps): bump @vector-im/compound-design-tokens in /frontend
...
Bumps [@vector-im/compound-design-tokens](https://github.com/vector-im/compound-design-tokens ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/vector-im/compound-design-tokens/releases )
- [Changelog](https://github.com/element-hq/compound-design-tokens/blob/main/docs/release.md )
- [Commits](https://github.com/vector-im/compound-design-tokens/compare/v1.1.1...v1.2.0 )
---
updated-dependencies:
- dependency-name: "@vector-im/compound-design-tokens"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-01 15:51:49 +01:00
dependabot[bot]
1c19bc6e54
build(deps): bump time from 0.3.32 to 0.3.34
...
Bumps [time](https://github.com/time-rs/time ) from 0.3.32 to 0.3.34.
- [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.32...v0.3.34 )
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-01 15:51:42 +01:00
Quentin Gliech
3251c5896c
Append additional parameters to the OAuth2 authorize endpoint
2024-03-01 14:36:37 +01:00
Quentin Gliech
25fbbf96b9
Load the additional OAuth parameters from the config
2024-03-01 14:36:37 +01:00
Quentin Gliech
1821136e3f
Additional parameters from upstream OAuth2 providers in the data model
2024-03-01 14:36:37 +01:00
Quentin Gliech
46c565cc89
Move schemars to workspace dependencies
...
Also enables the `preserve_order` feature, hence the big schema output diff.
2024-03-01 14:36:37 +01:00
Andrew Ferrazzutti
d5e1127c32
Add Podman support to policies Makefile
2024-02-29 17:50:38 +01:00
Quentin Gliech
183f7bad40
Test the addUser GraphQL mutation with the new behaviour
2024-02-29 11:21:24 +01:00
Quentin Gliech
35929d48fd
Test the user registration form
2024-02-29 11:21:24 +01:00
Quentin Gliech
896ed3f024
Check for username availability upon registration
2024-02-29 11:21:24 +01:00
Quentin Gliech
452f4c17f5
graphql: check that the username is available when creating them
...
This calls the HS to make sure the username isn't reserved.
This check can be bypassed using the `skipHomeserverCheck` flag on the
`addUser` mutation.
2024-02-29 11:21:24 +01:00
Quentin Gliech
4aeb446061
Make the HomeserverConnection available in handlers
2024-02-29 11:21:24 +01:00
Quentin Gliech
20dd5ca311
Add API to check localpart availability
2024-02-29 11:21:24 +01:00
dependabot[bot]
68c4bfaa11
build(deps): bump docker/setup-buildx-action from 3.0.0 to 3.1.0
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-29 10:35:53 +01:00
dependabot[bot]
2f701c5d22
build(deps): bump peter-evans/create-pull-request from 6.0.0 to 6.0.1
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-29 09:58:10 +01:00
Quentin Gliech
4e682793b1
Share the device card between the frontend and the backend
2024-02-27 17:56:20 +01:00
Quentin Gliech
bfc088bdd0
Make the session list way better
2024-02-27 17:56:20 +01:00
Quentin Gliech
f5e47edbb9
Remove unused SelectableSession component
2024-02-27 17:56:20 +01:00
Quentin Gliech
2c9b8a446d
Bump Clippy to 1.75 and Rust to 1.76
2024-02-27 16:58:43 +01:00
dependabot[bot]
65f164d56d
build(deps-dev): bump postcss-nesting from 12.0.3 to 12.0.4 in /frontend
...
Bumps [postcss-nesting](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-nesting ) from 12.0.3 to 12.0.4.
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-nesting/CHANGELOG.md )
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugins/postcss-nesting )
---
updated-dependencies:
- dependency-name: postcss-nesting
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:49:23 +01:00
dependabot[bot]
5d6042ff77
build(deps): bump thiserror from 1.0.56 to 1.0.57
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.57 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:48:14 +01:00
dependabot[bot]
4e1ec08915
build(deps): bump pest from 2.7.6 to 2.7.7
...
Bumps [pest](https://github.com/pest-parser/pest ) from 2.7.6 to 2.7.7.
- [Release notes](https://github.com/pest-parser/pest/releases )
- [Commits](https://github.com/pest-parser/pest/compare/v2.7.6...v2.7.7 )
---
updated-dependencies:
- dependency-name: pest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:46:28 +01:00
dependabot[bot]
f099e507ec
build(deps-dev): bump the types group in /frontend with 1 update
...
Bumps the types group in /frontend with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ).
Updates `@types/react` from 18.2.59 to 18.2.60
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: types
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:45:27 +01:00
Quentin Gliech
39257d233c
ci: pass the codecov token to the codecov action
2024-02-27 14:31:18 +01:00
dependabot[bot]
e3f6ead7cd
build(deps): bump codecov/codecov-action from 3.1.4 to 4.1.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.4 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.4...v4.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:31:18 +01:00
dependabot[bot]
e9bf623e25
build(deps): bump ip from 2.0.0 to 2.0.1 in /tools/syn2mas
...
Bumps [ip](https://github.com/indutny/node-ip ) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:11:30 +01:00
dependabot[bot]
0d4285e583
build(deps): bump the i18next group in /frontend with 3 updates
...
Bumps the i18next group in /frontend with 3 updates: [i18next](https://github.com/i18next/i18next ), [i18next-http-backend](https://github.com/i18next/i18next-http-backend ) and [i18next-parser](https://github.com/i18next/i18next-parser ).
Updates `i18next` from 23.9.0 to 23.10.0
- [Release notes](https://github.com/i18next/i18next/releases )
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next/compare/v23.9.0...v23.10.0 )
Updates `i18next-http-backend` from 2.4.3 to 2.5.0
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v2.4.3...v2.5.0 )
Updates `i18next-parser` from 8.12.0 to 8.13.0
- [Release notes](https://github.com/i18next/i18next-parser/releases )
- [Changelog](https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next-parser/compare/8.12.0...8.13.0 )
---
updated-dependencies:
- dependency-name: i18next
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: i18next
- dependency-name: i18next-http-backend
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: i18next
- dependency-name: i18next-parser
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: i18next
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:07:19 +01:00
dependabot[bot]
0e6b53b72e
build(deps): bump actions/setup-node from 4.0.1 to 4.0.2
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4.0.1...v4.0.2 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:01:36 +01:00
dependabot[bot]
ef1096bec3
build(deps): bump actions/upload-pages-artifact from 3.0.0 to 3.0.1
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 14:01:24 +01:00
dependabot[bot]
5457cdca44
build(deps): bump EmbarkStudios/cargo-deny-action from 1.5.13 to 1.5.15
...
Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action ) from 1.5.13 to 1.5.15.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases )
- [Commits](https://github.com/embarkstudios/cargo-deny-action/compare/v1.5.13...v1.5.15 )
---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 13:59:53 +01:00
dependabot[bot]
4645c4a969
build(deps-dev): bump the types group in /frontend with 2 updates
...
Bumps the types group in /frontend with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ).
Updates `@types/node` from 20.11.19 to 20.11.20
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `@types/react` from 18.2.57 to 18.2.59
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: types
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: types
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 13:58:59 +01:00
dependabot[bot]
f117261750
build(deps-dev): bump the graphql-codegen group
...
Bumps the graphql-codegen group in /frontend with 1 update: [@graphql-codegen/client-preset](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client ).
Updates `@graphql-codegen/client-preset` from 4.2.3 to 4.2.4
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases )
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/presets/client/CHANGELOG.md )
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/client-preset@4.2.4/packages/presets/client )
---
updated-dependencies:
- dependency-name: "@graphql-codegen/client-preset"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: graphql-codegen
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 13:58:49 +01:00
dependabot[bot]
723e84964c
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 ).
Updates `yaml` from 2.3.4 to 2.4.0
- [Release notes](https://github.com/eemeli/yaml/releases )
- [Commits](https://github.com/eemeli/yaml/compare/v2.3.4...v2.4.0 )
---
updated-dependencies:
- dependency-name: yaml
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 13:58:34 +01:00
dependabot[bot]
d9b16a517d
build(deps-dev): bump the eslint group in /frontend with 1 update
...
Bumps the eslint group in /frontend with 1 update: [eslint](https://github.com/eslint/eslint ).
Updates `eslint` from 8.56.0 to 8.57.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.56.0...v8.57.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 13:57:35 +01:00
dependabot[bot]
96154d986d
build(deps-dev): bump happy-dom from 13.3.8 to 13.6.2 in /frontend
...
Bumps [happy-dom](https://github.com/capricorn86/happy-dom ) from 13.3.8 to 13.6.2.
- [Release notes](https://github.com/capricorn86/happy-dom/releases )
- [Commits](https://github.com/capricorn86/happy-dom/compare/v13.3.8...v13.6.2 )
---
updated-dependencies:
- dependency-name: happy-dom
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 13:57:14 +01:00
Quentin Gliech
879a44ed99
Implement the user profile edit modal
2024-02-27 13:46:36 +01:00
Quentin Gliech
8f96427c47
Make sure the upstream OAuth callback pages are proxied to the backend
2024-02-27 13:01:10 +01:00
Quentin Gliech
0b0faf127f
Fix the dark high-constrast theme in Storybook
2024-02-27 12:58:30 +01:00
Quentin Gliech
696dd2d910
Fix dialogs being blurry and not scrollable
...
This positions dialogs with a flexbox layout, which avoids the weird
bluriness due to `transform: translate` and allows the dialog to be
scrollable.
It also adds a story which has a long content to test the scrollability.
2024-02-27 12:37:55 +01:00
Quentin Gliech
a8d1f151b8
Make the end session button more flexible
2024-02-27 12:23:46 +01:00
Quentin Gliech
9a6439a7c5
Make sure the dummy router finished loading in the test environment
2024-02-27 11:25:01 +01:00
Quentin Gliech
f3cbd3b315
Parse User Agents on the backend side ( #2388 )
...
* Parse user agents on the server side
* Parse and expose user agents on the backend
* Use the parsed user agent in the device consent page
* Fix the device icon tests
* Fix clippy warnings
* Box stuff to avoid large enum variants
* Ignore a clippy warning
* Fix the requester boxing
2024-02-23 16:47:48 +01:00
Quentin Gliech
f171d76dc5
Record user agents on OAuth 2.0 and compat sessions ( #2386 )
...
* Record user agents on OAuth 2.0 and compat sessions
* Add tests for recording user agent in sessions
2024-02-22 10:01:32 +01:00