dependabot[bot]
59e12fee07
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
f567586d23
Append additional parameters to the OAuth2 authorize endpoint
2024-03-01 14:36:37 +01:00
Quentin Gliech
dd15135915
Load the additional OAuth parameters from the config
2024-03-01 14:36:37 +01:00
Quentin Gliech
6b3b1e8109
Additional parameters from upstream OAuth2 providers in the data model
2024-03-01 14:36:37 +01:00
Quentin Gliech
34ce0f3e37
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
026840d36d
Add Podman support to policies Makefile
2024-02-29 17:50:38 +01:00
Quentin Gliech
f971ab222c
Test the addUser GraphQL mutation with the new behaviour
2024-02-29 11:21:24 +01:00
Quentin Gliech
d5a6b04f66
Test the user registration form
2024-02-29 11:21:24 +01:00
Quentin Gliech
19288019c9
Check for username availability upon registration
2024-02-29 11:21:24 +01:00
Quentin Gliech
9b87147d8f
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
e7d26262a6
Make the HomeserverConnection available in handlers
2024-02-29 11:21:24 +01:00
Quentin Gliech
ad145eb816
Add API to check localpart availability
2024-02-29 11:21:24 +01:00
dependabot[bot]
490af15ecb
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]
7979ae4295
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
9f58e60e95
Share the device card between the frontend and the backend
2024-02-27 17:56:20 +01:00
Quentin Gliech
63c84417f0
Make the session list way better
2024-02-27 17:56:20 +01:00
Quentin Gliech
fa385b037c
Remove unused SelectableSession component
2024-02-27 17:56:20 +01:00
Quentin Gliech
bafb5e4956
Bump Clippy to 1.75 and Rust to 1.76
2024-02-27 16:58:43 +01:00
dependabot[bot]
6b5ac25f17
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]
56eea4a3dd
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]
1d06e3581f
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]
64fd44e281
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
cb58cdc46c
ci: pass the codecov token to the codecov action
2024-02-27 14:31:18 +01:00
dependabot[bot]
8a163a5c6f
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]
26a690b9f4
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]
2576a40366
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]
87bcf08c2c
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]
5fee39983e
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]
afa04e9baf
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]
3482cc3cf2
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]
9c1b6c7ccd
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]
f5c7bc26ba
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]
d827e182f2
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]
316f0a0efd
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
e3964ae72b
Implement the user profile edit modal
2024-02-27 13:46:36 +01:00
Quentin Gliech
d1d3243a3f
Make sure the upstream OAuth callback pages are proxied to the backend
2024-02-27 13:01:10 +01:00
Quentin Gliech
4b24ba6517
Fix the dark high-constrast theme in Storybook
2024-02-27 12:58:30 +01:00
Quentin Gliech
f7816ee19c
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
bd4683dfe1
Make the end session button more flexible
2024-02-27 12:23:46 +01:00
Quentin Gliech
334c015460
Make sure the dummy router finished loading in the test environment
2024-02-27 11:25:01 +01:00
Quentin Gliech
a7dc41fdba
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
82cb1365fd
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
Quentin Gliech
eb37324f51
Make all compound themes and all locales available in Storybook
2024-02-21 17:52:03 +01:00
Quentin Gliech
980403909a
Bump all frontend dependencies
2024-02-21 17:13:11 +01:00
Quentin Gliech
d3c799b3ae
Save which user session created a compat session
...
This also exposes the user session in the GraphQL API, and allow
filtering on browser session ID on the app session list.
2024-02-21 11:55:58 +01:00
Quentin Gliech
ed75c715f5
Remove the unique constraint on device IDs on compatibility sessions
...
In OAuth 2.0 sessions, we can have multiple sessions for the same device
anyway, so this constraint doesn't exactly make sense.
Fixes #2033
Fixes #2312
2024-02-20 15:50:20 +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
Quentin Gliech
6cccb1c127
Make sure we load current session data in route loaders
...
This means we should almost never see a loading spinner when navigating
2024-02-20 12:08:50 +01:00
Quentin Gliech
d33d721287
Set the session pagination to use query parameters
...
Also reverses the order of the sessions to show the most recent ones first.
Fixes #1497
2024-02-20 12:08:50 +01:00
Quentin Gliech
6aeca9b463
Make the layout wider on "account" pages
...
This also fixes a bug where a double "layout" was applied to the not
found pages.
It also sets the layout min height to use 100svh instead of 100vh, so
that it doesn't unecessarily scroll on iOS.
2024-02-19 17:56:06 +01:00