1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-19 00:26:27 +03:00
Commit Graph

423 Commits

Author SHA1 Message Date
Kerry Archibald
e646319f5a split browser sessions section into own component 2023-09-21 09:48:03 +02:00
Kerry Archibald
58b235e9de fix snaps after npm i 2023-09-21 09:48:03 +02:00
Kerry Archibald
915a1a9b79 update snapshots for compound 2023-09-21 09:48:03 +02:00
Kerry Archibald
87416bb0b0 fetch from app sessions api 2023-09-21 09:48:03 +02:00
Kerry Archibald
9710bf24d2 pass back buttn route to session header, go back to browser list from browser sessions 2023-09-21 09:13:52 +02:00
Kerry
7db4303445 fix: revert change to proxy server (#1824) 2023-09-20 21:59:26 +00:00
dependabot[bot]
3173c8a1ec build(deps): bump @vector-im/compound-web in /frontend
Bumps [@vector-im/compound-web](https://github.com/vector-im/compound-web) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/vector-im/compound-web/releases)
- [Commits](https://github.com/vector-im/compound-web/compare/v0.4.2...v0.4.3)

---
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-20 22:16:59 +02:00
dependabot[bot]
3a03bcb83b build(deps-dev): bump @types/node from 20.6.2 to 20.6.3 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.6.2 to 20.6.3.
- [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-09-20 22:02:54 +02:00
dependabot[bot]
4156067669 build(deps): bump graphql from 16.8.0 to 16.8.1 in /frontend
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.8.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.8.0...v16.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 22:02:44 +02:00
dependabot[bot]
66e53a2307 build(deps-dev): bump the storybook group in /frontend with 4 updates
Bumps the storybook group in /frontend with 4 updates: [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials), [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react), [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) and [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli).


Updates `@storybook/addon-essentials` from 7.4.2 to 7.4.3
- [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.3/code/addons/essentials)

Updates `@storybook/react` from 7.4.2 to 7.4.3
- [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.3/code/renderers/react)

Updates `@storybook/react-vite` from 7.4.2 to 7.4.3
- [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.3/code/frameworks/react-vite)

Updates `storybook` from 7.4.2 to 7.4.3
- [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.3/code/lib/cli)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react-vite"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: storybook
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 21:44:26 +02:00
Quentin Gliech
d91b0e20e4 Expose a unified session list in the GraphQL API 2023-09-20 20:27:08 +02:00
Quentin Gliech
1417ec65ee Update extracted Compound CSS & test snapshots 2023-09-20 18:06:06 +02:00
dependabot[bot]
6e6ffd6ce5 build(deps): bump @vector-im/compound-web in /frontend
Bumps [@vector-im/compound-web](https://github.com/vector-im/compound-web) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/vector-im/compound-web/releases)
- [Commits](https://github.com/vector-im/compound-web/compare/v0.4.1...v0.4.2)

---
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-20 18:06:06 +02:00
Quentin Gliech
f5f56682e4 Display the client logo with a referrerpolicy set to "no-referrer"
Fixes #1768
2023-09-20 18:01:58 +02:00
dependabot[bot]
b75462482b build(deps-dev): bump @types/node from 20.6.1 to 20.6.2 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.6.1 to 20.6.2.
- [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-09-20 17:52:08 +02:00
dependabot[bot]
99b75cdc06 build(deps-dev): bump happy-dom from 11.2.0 to 12.1.2 in /frontend
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 11.2.0 to 12.1.2.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v11.2.0...v12.1.2)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 23:26:24 +02:00
dependabot[bot]
7ba9dc173e build(deps-dev): bump @types/react-test-renderer in /frontend
Bumps [@types/react-test-renderer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-test-renderer) from 18.0.1 to 18.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-test-renderer)

---
updated-dependencies:
- dependency-name: "@types/react-test-renderer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 23:16:42 +02:00
dependabot[bot]
90c9366dcd build(deps-dev): bump postcss from 8.4.29 to 8.4.30 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.29 to 8.4.30.
- [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.29...8.4.30)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 23:16:31 +02:00
Quentin Gliech
50558a7319 Make the last activity timestamp and IP available through the API 2023-09-19 21:57:54 +02:00
Quentin Gliech
16962b451b frontend: Post-merge fix 2023-09-19 20:00:51 +02:00
Kerry
894addef1e Documentation: Add storybook stories for Session components (#1806) 2023-09-19 19:53:48 +02:00
Kerry
680c89acb9 DM: Last active timestamp UI (#1793) 2023-09-19 11:48:10 +02:00
Quentin Gliech
ae484604f8 frontend: upgrade compound & simplify the confirmation modal implementation 2023-09-19 10:50:55 +02:00
Quentin Gliech
4d123b75af frontend: Hide the navigation in the email verification page 2023-09-19 10:50:30 +02:00
dependabot[bot]
fe875f8ac0 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.3/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-18 23:50:52 +02:00
dependabot[bot]
2e33de5702 build(deps-dev): bump the vite group in /frontend with 1 update
Bumps the vite group in /frontend with 1 update: [vite-plugin-graphql-codegen](https://github.com/danielwaltz/vite-plugin-graphql-codegen).

- [Release notes](https://github.com/danielwaltz/vite-plugin-graphql-codegen/releases)
- [Changelog](https://github.com/danielwaltz/vite-plugin-graphql-codegen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danielwaltz/vite-plugin-graphql-codegen/compare/v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: vite-plugin-graphql-codegen
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 23:50:32 +02:00
dependabot[bot]
662433f60b build(deps-dev): bump @types/react from 18.2.21 to 18.2.22 in /frontend
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.21 to 18.2.22.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 23:49:53 +02:00
Kerry Archibald
8eec9e53a7 bust cache after verifying email 2023-09-18 19:50:36 +02:00
Kerry Archibald
e9f11a7cd9 clear dismissal when unverified emails count changes 2023-09-18 19:50:36 +02:00
Kerry Archibald
d6039784cb fix tiny dismiss button 2023-09-18 19:50:36 +02:00
dependabot[bot]
1443fff9c1 build(deps-dev): bump the storybook group in /frontend with 4 updates
Bumps the storybook group in /frontend with 4 updates: [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials), [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react), [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) and [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli).


Updates `@storybook/addon-essentials` from 7.4.1 to 7.4.2
- [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.2/code/addons/essentials)

Updates `@storybook/react` from 7.4.1 to 7.4.2
- [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.2/code/renderers/react)

Updates `@storybook/react-vite` from 7.4.1 to 7.4.2
- [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.2/code/frameworks/react-vite)

Updates `storybook` from 7.4.1 to 7.4.2
- [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.2/code/lib/cli)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react-vite"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: storybook
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 12:40:20 +02:00
dependabot[bot]
86be3f0f4d build(deps-dev): bump @types/node from 20.6.0 to 20.6.1 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.6.0 to 20.6.1.
- [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-09-16 12:29:25 +02:00
Quentin Gliech
1cdc017384 frontend: have better margins everywhere 2023-09-15 18:41:39 +02:00
dependabot[bot]
ac3dcccc09 build(deps-dev): bump happy-dom from 11.0.6 to 11.2.0 in /frontend
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 11.0.6 to 11.2.0.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v11.0.6...v11.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 21:32:30 +02:00
Kerry Archibald
e82533f3f4 update block styling to work better in selectable session 2023-09-14 17:04:09 +02:00
Kerry Archibald
dd7237113e add selectable session wrapper 2023-09-14 17:04:09 +02:00
Kerry
ff66f052a0 DM: Simplify session components API (#1745)
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-09-14 12:41:30 +00:00
dependabot[bot]
3b0ea757e3 build(deps-dev): bump happy-dom from 11.0.3 to 11.0.6 in /frontend
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 11.0.3 to 11.0.6.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v11.0.3...v11.0.6)

---
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-09-14 14:37:44 +02:00
Kerry
e19002a0ca Confirm destructive actions (#1759)
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-09-14 12:35:09 +00:00
Quentin Gliech
aa5b91f3de Make the session back button use the <IconButton /> compound component 2023-09-14 11:34:15 +02:00
Quentin Gliech
17519846f3 Extract the navigation link to a useNavigationLink hook 2023-09-14 11:34:15 +02:00
Kerry Archibald
5f283573e0 back to sessions button on session details 2023-09-14 11:34:15 +02:00
Kerry
ce2395f94b Error boundary (#1743)
* reinstate link to browser session detail

* add util hook for unwrapping current browser session id

* fix bug in compatsessiondetail createdAt -> finishedAt

* browser session detail page

* tweak naming

* add ErrorBoundary

* useCurrentBrowserSessionId throw when error

* add ErrorBoundary to pages

* throw errors instead of rendering error

* add unwrap util
2023-09-14 00:26:32 +00:00
Kerry
11ea6660c8 Profile: hide email pagination controls when no other pages (#1764)
* make add email button small

* hide pagination when only one page of emails

* add autohide to paginationcontrols
2023-09-13 22:07:47 +00:00
Kerry Archibald
2cfcc26c8b UserName: switch to controlled input, disable save button when no changes 2023-09-13 18:22:07 +02:00
dependabot[bot]
8603bde08e build(deps-dev): bump @types/node from 20.5.9 to 20.6.0 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.5.9 to 20.6.0.
- [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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 09:42:20 +02:00
dependabot[bot]
fdc958a6f0 build(deps-dev): bump happy-dom from 11.0.2 to 11.0.3 in /frontend
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 11.0.2 to 11.0.3.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v11.0.2...v11.0.3)

---
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-09-13 09:42:13 +02:00
Kerry Archibald
5abf87a40e tweak naming 2023-09-13 01:41:31 +02:00
Kerry Archibald
de04b1679c browser session detail page 2023-09-13 01:41:31 +02:00
Kerry Archibald
0d5a700182 fix bug in compatsessiondetail createdAt -> finishedAt 2023-09-13 01:41:31 +02:00