1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-12-06 22:40:58 +03:00
Commit Graph

2802 Commits

Author SHA1 Message Date
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
Hugh Nimmo-Smith
83cba5c82a v0.2.0 2023-09-13 18:35:04 +02:00
dependabot[bot]
a016b30b08 build(deps): bump clap from 4.4.2 to 4.4.3
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.2...v4.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 18:28:48 +02:00
Quentin Gliech
9fcdad3142 Stop using deprecated chrono::DateTime::from_utc method 2023-09-13 18:28:41 +02:00
dependabot[bot]
083e4d21a7 build(deps): bump chrono from 0.4.26 to 0.4.30
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.26 to 0.4.30.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.26...v0.4.30)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 18:28:41 +02:00
Quentin Gliech
9a77f67fbe Make the error on introspection failure more explicit in the logs 2023-09-13 18:24:52 +02:00
Kerry Archibald
2cfcc26c8b UserName: switch to controlled input, disable save button when no changes 2023-09-13 18:22:07 +02:00
Hugh Nimmo-Smith
cf8cbf1209 Update README.md
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
8dc4ed9379 Update README.md
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
8fe49e48dd Diagram + clarify about upstream OIDC support 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
a7a790700b Typo 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
49d4fae16f Migration guide 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
f9393020b6 Draft scope and goals 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
8688facdbf Notes on capabilities 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
73422d6fc8 https://areweoidcyet.com/ 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
c35a7c7252 Learn about MAS 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
6ae5aee794 Sections 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
3d5feef99d Move getting started to contributing guide 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
4dd5651421 Subtitle 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
0180a37854 Title 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith
6901a42b3e Contributing placeholder 2023-09-13 14:57:01 +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
dependabot[bot]
e268ec8fbb build(deps): bump docker/metadata-action from 4.6.0 to 5.0.0
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.6.0 to 5.0.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4.6.0...v5.0.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 09:41:46 +02:00
dependabot[bot]
8e52bbb471 build(deps): bump docker/setup-buildx-action from 2.10.0 to 3.0.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.10.0 to 3.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.10.0...v3.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 09:41:38 +02:00
dependabot[bot]
89c9563f02 build(deps): bump Swatinem/rust-cache from 2.6.2 to 2.7.0
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.6.2 to 2.7.0.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.6.2...v2.7.0)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 09:41:28 +02:00
dependabot[bot]
df1473ef26 build(deps): bump docker/login-action from 2.2.0 to 3.0.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 09:40:29 +02:00
dependabot[bot]
7689e7a41b build(deps): bump docker/bake-action from 3.1.0 to 4.0.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v3.1.0...v4.0.0)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 09:40:04 +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
Kerry Archibald
34a9af624f add util hook for unwrapping current browser session id 2023-09-13 01:41:31 +02:00
Kerry Archibald
d0657efa0d reinstate link to browser session detail 2023-09-13 01:41:31 +02:00
Quentin Gliech
28bae36211 frontend: remove individual storybook addons that are included in the essentials 2023-09-12 16:11:35 +02:00
dependabot[bot]
059bd30382 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.4.0` | `7.4.1` |
| [@storybook/addon-backgrounds](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/backgrounds) | `7.4.0` | `7.4.1` |
| [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/controls) | `7.4.0` | `7.4.1` |
| [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs) | `7.4.0` | `7.4.1` |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) | `7.4.0` | `7.4.1` |
| [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | `7.4.0` | `7.4.1` |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) | `7.4.0` | `7.4.1` |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) | `7.4.0` | `7.4.1` |


Updates `@storybook/addon-actions` from 7.4.0 to 7.4.1
- [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.1/code/addons/actions)

Updates `@storybook/addon-backgrounds` from 7.4.0 to 7.4.1
- [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.1/code/addons/backgrounds)

Updates `@storybook/addon-controls` from 7.4.0 to 7.4.1
- [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.1/code/addons/controls)

Updates `@storybook/addon-docs` from 7.4.0 to 7.4.1
- [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.1/code/addons/docs)

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

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

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

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

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/addon-backgrounds"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/addon-controls"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/addon-docs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- 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-12 16:11:35 +02:00
Quentin Gliech
eaf5c83528 frontend: update unit tests post ua-parser-js upgrade 2023-09-12 15:58:56 +02:00
dependabot[bot]
9c57b33ee6 build(deps): bump ua-parser-js from 1.0.35 to 1.0.36 in /frontend
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/commits)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 15:58:56 +02:00
dependabot[bot]
ad9208ca60 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.3 to 0.34.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.4/packages/coverage-v8)

Updates `vitest` from 0.34.3 to 0.34.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.4/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-09-12 15:40:33 +02:00
dependabot[bot]
65ecdeb8d9 build(deps): bump @vector-im/compound-web in /frontend
Bumps [@vector-im/compound-web](https://github.com/vector-im/compound-web) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/vector-im/compound-web/releases)
- [Commits](https://github.com/vector-im/compound-web/compare/v0.3.1...v0.4.0)

---
updated-dependencies:
- dependency-name: "@vector-im/compound-web"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 15:31:33 +02:00
dependabot[bot]
fdca016e38 build(deps): bump event-listener from 2.5.3 to 3.0.0
Bumps [event-listener](https://github.com/smol-rs/event-listener) from 2.5.3 to 3.0.0.
- [Release notes](https://github.com/smol-rs/event-listener/releases)
- [Changelog](https://github.com/smol-rs/event-listener/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/event-listener/compare/v2.5.3...v3.0.0)

---
updated-dependencies:
- dependency-name: event-listener
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 15:31:20 +02:00
dependabot[bot]
eba35213bf build(deps): bump serde_json from 1.0.105 to 1.0.106
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 15:30:46 +02:00
dependabot[bot]
2f67bcc22b 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.48.0...v8.49.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-09-12 15:26:33 +02:00
Kerry Archibald
e216e40a19 mock datetime properly 2023-09-12 15:25:55 +02:00
Kerry Archibald
f4471ad76d test sessiondetail components 2023-09-12 15:25:55 +02:00
Kerry Archibald
16187ba268 test compatsessiondetail 2023-09-12 15:25:55 +02:00
Kerry Archibald
a0fd95b491 tweak header style to match design 2023-09-12 15:25:07 +02:00
Kerry Archibald
406577ed1a add padding to container bottom 2023-09-12 15:25:07 +02:00
Quentin Gliech
789040d22f graphql: Fix the createOauth2Session mutation not persisting the changes to the database 2023-09-12 11:31:19 +02:00