Quentin Gliech
7e247830c9
data-model: Make the user_id optional in the OAuth 2.0 sessions
2023-09-06 09:35:34 +02:00
dependabot[bot]
3691090757
build(deps): bump the urql group in /frontend with 1 update
...
Bumps the urql group in /frontend with 1 update: [@urql/exchange-graphcache](https://github.com/urql-graphql/urql/tree/HEAD/exchanges/graphcache ).
- [Release notes](https://github.com/urql-graphql/urql/releases )
- [Changelog](https://github.com/urql-graphql/urql/blob/main/exchanges/graphcache/CHANGELOG.md )
- [Commits](https://github.com/urql-graphql/urql/commits/@urql/exchange-graphcache@6.3.3/exchanges/graphcache )
---
updated-dependencies:
- dependency-name: "@urql/exchange-graphcache"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: urql
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-06 09:34:46 +02:00
dependabot[bot]
9177231dee
build(deps): bump @vector-im/compound-web in /frontend
...
Bumps [@vector-im/compound-web](https://github.com/vector-im/compound-web ) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/vector-im/compound-web/releases )
- [Commits](https://github.com/vector-im/compound-web/compare/v0.2.17...v0.2.18 )
---
updated-dependencies:
- dependency-name: "@vector-im/compound-web"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-06 09:34:40 +02:00
Quentin Gliech
4019d610cf
frontend: also bump other storybook addons
2023-09-06 09:32:11 +02:00
dependabot[bot]
5db56480e9
build(deps-dev): bump the storybook group in /frontend with 8 updates
...
Bumps the storybook group in /frontend with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions ) | `7.3.2` | `7.4.0` |
| [@storybook/addon-backgrounds](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/backgrounds ) | `7.3.2` | `7.4.0` |
| [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/controls ) | `7.3.2` | `7.4.0` |
| [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs ) | `7.3.2` | `7.4.0` |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials ) | `7.3.2` | `7.4.0` |
| [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react ) | `7.3.2` | `7.4.0` |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite ) | `7.3.2` | `7.4.0` |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli ) | `7.3.2` | `7.4.0` |
Updates `@storybook/addon-actions` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.0/code/addons/actions )
Updates `@storybook/addon-backgrounds` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.0/code/addons/backgrounds )
Updates `@storybook/addon-controls` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.0/code/addons/controls )
Updates `@storybook/addon-docs` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.0/code/addons/docs )
Updates `@storybook/addon-essentials` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.0/code/addons/essentials )
Updates `@storybook/react` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.0/code/renderers/react )
Updates `@storybook/react-vite` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.0/code/frameworks/react-vite )
Updates `storybook` from 7.3.2 to 7.4.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.4.0/code/lib/cli )
---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-backgrounds"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-controls"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-docs"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/react"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/react-vite"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-06 09:32:11 +02:00
Quentin Gliech
bc3f665739
graphql: expose the logo_uri in the OAuth 2.0 client
...
Fixes #1705
2023-09-06 09:28:47 +02:00
Kerry
571e4d2d75
Parse browser session userAgent for session name ( #1685 )
...
* parse browser session user agent and use for session name
* move current session badge to session component
* simplify browser session name
2023-09-06 17:27:20 +12:00
Quentin Gliech
15ade8e1c8
Update the graphql schema after the async-graphql update.
2023-09-04 09:37:26 +02:00
dependabot[bot]
84fd9e043c
build(deps): bump the jotai group in /frontend with 1 update
...
Bumps the jotai group in /frontend with 1 update: [jotai](https://github.com/pmndrs/jotai ).
- [Release notes](https://github.com/pmndrs/jotai/releases )
- [Commits](https://github.com/pmndrs/jotai/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: jotai
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: jotai
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 09:25:39 +02:00
dependabot[bot]
7790bd7785
build(deps): bump the urql group in /frontend with 1 update
...
Bumps the urql group in /frontend with 1 update: [@urql/core](https://github.com/urql-graphql/urql/tree/HEAD/packages/core ).
- [Release notes](https://github.com/urql-graphql/urql/releases )
- [Changelog](https://github.com/urql-graphql/urql/blob/main/packages/core/CHANGELOG.md )
- [Commits](https://github.com/urql-graphql/urql/commits/@urql/core@4.1.2/packages/core )
---
updated-dependencies:
- dependency-name: "@urql/core"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: urql
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 09:20:38 +02:00
Hugh Nimmo-Smith
8a52486dea
Only show client details if available
2023-09-01 18:07:32 +02:00
Quentin Gliech
f78cb2bcee
frontend: bump compound-web
2023-09-01 15:57:13 +02:00
Quentin Gliech
809893accf
Compoundify the inputs
2023-09-01 15:57:13 +02:00
Quentin Gliech
7a9a873271
Compoundify the templates
2023-09-01 15:57:13 +02:00
Hugh Nimmo-Smith
34874b800b
lintt
2023-09-01 15:23:05 +02:00
Hugh Nimmo-Smith
630b5ebeec
Hide placeholder footer content
2023-09-01 15:23:05 +02:00
Kerry
17f8dc4e00
Implement MSC2965 action parameter ( #1673 )
...
* redirect session_end action to session detail
* fix react key warning in oauth session detail
* move Route type to /routing
* test getRouteActionRedirection
* comment
* frontend: Split the routing-related stuff in multiple files under routing/
* frontend: Cover all the redirections defined by MSC2965
* frontend: fix test
* Make the backend keep query parameters through login to the /account/ interface
* Fix frontend tests & clippy lints
---------
Co-authored-by: Quentin Gliech <quenting@element.io >
2023-09-01 09:42:50 +00:00
Quentin Gliech
be5b527403
graphql: admin API to add a user, lock them, and add emails without verification
2023-09-01 11:34:58 +02:00
Kerry
0c267c0d9d
Add more information to session detail page ( #1659 )
...
* rename `session` route to `browser-sessions`
* add session detail route
* stubbed route with userid
* get session and display as session tile on session detail page
* improve error message
* useMemo instead of ref
* oauth session detail page
* compat session detail
* link to session detail from compat and oauth sessions
2023-08-31 21:59:41 +00:00
Quentin Gliech
73d33dfccb
frontend: fix compatibility session crash & simplify the redirect URI
2023-08-31 15:03:50 +02:00
Kerry Archibald
fc1e5b9831
useMemo instead of ref
2023-08-31 09:41:35 +02:00
Kerry Archibald
0df427d188
improve error message
2023-08-31 09:41:35 +02:00
Kerry Archibald
915ebc9dfd
get session and display as session tile on session detail page
2023-08-31 09:41:35 +02:00
Kerry Archibald
301b1327c5
stubbed route with userid
2023-08-31 09:41:35 +02:00
Kerry Archibald
0cfe925723
add session detail route
2023-08-31 09:41:35 +02:00
Kerry Archibald
516b820169
rename session route to browser-sessions
2023-08-31 09:41:35 +02:00
Kerry
da8a489748
Make Profile page the default route ( #1653 )
...
* make profile the default route
* src/pages/Home.tsx -> src/pages/SessionsOverview.tsx
* UserHome -> UserSessionsOverview
* update snapshots, fix session overview button alignment
2023-08-30 23:27:39 +00:00
dependabot[bot]
bea4d57124
build(deps-dev): bump postcss from 8.4.28 to 8.4.29 in /frontend
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.28 to 8.4.29.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.28...8.4.29 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 20:22:57 +02:00
dependabot[bot]
cce739876b
build(deps-dev): bump prettier from 3.0.2 to 3.0.3 in /frontend
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.2 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/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 20:00:45 +02:00
dependabot[bot]
bda4da98fa
build(deps-dev): bump happy-dom from 10.11.1 to 10.11.2 in /frontend
...
Bumps [happy-dom](https://github.com/capricorn86/happy-dom ) from 10.11.1 to 10.11.2.
- [Release notes](https://github.com/capricorn86/happy-dom/releases )
- [Commits](https://github.com/capricorn86/happy-dom/compare/v10.11.1...v10.11.2 )
---
updated-dependencies:
- dependency-name: happy-dom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 19:42:09 +02:00
Kerry Archibald
7bc13ab536
move unverified email alert to header
2023-08-30 19:40:59 +02:00
Kerry Archibald
a3b7cc27bf
add button-style variant to Link
2023-08-30 19:40:59 +02:00
Quentin Gliech
7fcd022eea
Make sure we validate passwords & emails by the policy at all stages
...
Also refactors the way we get the policy engines in requests
2023-08-30 19:39:39 +02:00
Quentin Gliech
1e52c5cbee
frontend: fix a flaky test
2023-08-29 18:32:19 +02:00
Quentin Gliech
a19f405e53
graphql: Expose the BrowserSession User-Agent
2023-08-29 17:38:01 +02:00
Quentin Gliech
ba98b7c448
graphql: API to query client sessions out of a device_id and a user ID
2023-08-29 16:53:38 +02:00
Kerry
1826120f10
Allow user to view and change display name in My Account UI ( #1628 )
...
Co-authored-by: Quentin Gliech <quenting@element.io >
2023-08-29 13:40:00 +02:00
Quentin Gliech
438a10332a
Add the user_id directly on oauth2_sessions and make the scope a text list
2023-08-29 12:52:24 +02:00
Kerry Archibald
feb59344f3
add finishedAt to browser sessions
2023-08-29 12:43:04 +02:00
Quentin Gliech
85629820fd
api: Add a finishedAt property to the BrowserSession and a state property to all 3 session types
2023-08-29 08:34:07 +02:00
dependabot[bot]
36484e13e1
build(deps-dev): bump @types/node from 20.5.6 to 20.5.7 in /frontend
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.5.6 to 20.5.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-29 07:27:04 +02:00
Kerry
fd22d6e26e
Browser session UI ( #1616 )
...
* tweak blocklist spacing
* use same session design for browser sessions
* remove change to session
* remove unused class
2023-08-29 00:07:48 +00:00
dependabot[bot]
d89ec10be1
build(deps-dev): bump happy-dom from 10.11.0 to 10.11.1 in /frontend
...
Bumps [happy-dom](https://github.com/capricorn86/happy-dom ) from 10.11.0 to 10.11.1.
- [Release notes](https://github.com/capricorn86/happy-dom/releases )
- [Commits](https://github.com/capricorn86/happy-dom/compare/v10.11.0...v10.11.1 )
---
updated-dependencies:
- dependency-name: happy-dom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-29 00:09:10 +02:00
Quentin Gliech
096386e9b9
Save the application_type and the contacts in the OAuth 2.0 clients
...
This also removes the dedicated "redirect_uris" table and makes it a field of the "oauth2_clients" table
2023-08-28 14:41:49 +02:00
dependabot[bot]
8551f59fab
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 ).
- [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.47.0...v8.48.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 >
2023-08-27 19:12:25 +02:00
dependabot[bot]
50dcfed805
build(deps-dev): bump @types/node from 20.5.3 to 20.5.6 in /frontend
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.5.3 to 20.5.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-27 18:06:26 +02:00
dependabot[bot]
bb753dbddd
build(deps-dev): bump the vitest group in /frontend with 2 updates
...
Bumps the vitest group in /frontend with 2 updates: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8 ) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ).
Updates `@vitest/coverage-v8` from 0.34.2 to 0.34.3
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.3/packages/coverage-v8 )
Updates `vitest` from 0.34.2 to 0.34.3
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.3/packages/vitest )
---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: vitest
- dependency-name: vitest
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: vitest
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-27 18:05:43 +02:00
Kerry
63fdc07793
Rename Home tab to Sessions ( #1568 )
...
* rename /account/emails route to profile
* rename tab to sessions
* quick design pass and new session labels
* align copy on list pages with home page
* comment
* remove support for /emails
* bad unit test for Layout
* update snapshots, fix layout test
* fix snapshots from old version of compound
* better layout test
* coverage?
* userhome styles
* move no primary email alert to email list
* update snapshots
* Remove obselete snapshot & remove unnecessary logs
---------
Co-authored-by: Quentin Gliech <quenting@element.io >
2023-08-25 16:17:46 +02:00
dependabot[bot]
2e9a2d6e70
build(deps-dev): bump typescript from 5.1.6 to 5.2.2 in /frontend
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-25 15:59:36 +02:00
dependabot[bot]
c8aa2a1d25
build(deps): bump @vector-im/compound-web in /frontend
...
Bumps [@vector-im/compound-web](https://github.com/vector-im/compound-web ) from 0.2.12 to 0.2.15.
- [Release notes](https://github.com/vector-im/compound-web/releases )
- [Commits](https://github.com/vector-im/compound-web/compare/v0.2.12...v0.2.15 )
---
updated-dependencies:
- dependency-name: "@vector-im/compound-web"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-25 12:33:31 +02:00