Commit Graph

1938 Commits

Author SHA1 Message Date
Kerry
17ee646463 fix: OAuth2Session detail finished at wrong metadata (#1833) 2023-09-21 23:06:45 +00:00
dependabot[bot]
0d1f3cac8f build(deps-dev): bump happy-dom from 12.1.2 to 12.1.5 in /frontend (#1828)
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 12.1.2 to 12.1.5.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v12.1.2...v12.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 10:03:36 +12:00
dependabot[bot]
70ef8e9348 build(deps-dev): bump the vitest group in /frontend with 2 updates (#1827)
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.4 to 0.34.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.5/packages/coverage-v8)

Updates `vitest` from 0.34.4 to 0.34.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.5/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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 09:41:41 +12:00
Quentin Gliech
fae6e34342 Cleanup the session details fragments & load last active IP
This also cleans up the GraphQL scalar types, by making sure we always parse dates correctly
2023-09-21 12:47:45 +02:00
Kerry Archibald
a8c7c2e072 Display IP address on sessions 2023-09-21 12:47:45 +02:00
Quentin Gliech
46bdd9d4f0 Type-level check that we handle all session types & route types 2023-09-21 09:48:03 +02:00
Kerry Archibald
e2d98877c4 remove compat session and oauth2 session list components and routes 2023-09-21 09:48:03 +02:00
Kerry Archibald
d7866ecf6e remove debug 2023-09-21 09:48:03 +02:00
Kerry Archibald
3c9ba75b73 copyright years 2023-09-21 09:48:03 +02:00
Kerry Archibald
2fa719445e add app sessions list 2023-09-21 09:48:03 +02:00
Kerry Archibald
833f6515aa split browser sessions section into own component 2023-09-21 09:48:03 +02:00
Kerry Archibald
5c983c59db fix snaps after npm i 2023-09-21 09:48:03 +02:00
Kerry Archibald
daaac782a5 update snapshots for compound 2023-09-21 09:48:03 +02:00
Kerry Archibald
10651ae8e5 fetch from app sessions api 2023-09-21 09:48:03 +02:00
Kerry Archibald
e4ede0b563 pass back buttn route to session header, go back to browser list from browser sessions 2023-09-21 09:13:52 +02:00
Kerry
a39d9d5e8d fix: revert change to proxy server (#1824) 2023-09-20 21:59:26 +00:00
dependabot[bot]
bcce86c85e 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]
871745c0ba 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]
774d999285 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]
9911f8ca67 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
1079a29ca4 Add missing tracing to app session storage 2023-09-20 20:29:16 +02:00
Quentin Gliech
bec2cda552 Expose a unified session list in the GraphQL API 2023-09-20 20:27:08 +02:00
Quentin Gliech
e56275b7c9 Storage layer for a unified session list 2023-09-20 20:27:08 +02:00
Quentin Gliech
baaa725fcd Infer client IP address from the peer address and the X-Forwarded-Proxy header 2023-09-20 20:24:30 +02:00
Hugh Nimmo-Smith
a70d36e7cb Add links to README.md 2023-09-20 17:08:58 +01:00
Quentin Gliech
0e024add0e Update extracted Compound CSS & test snapshots 2023-09-20 18:06:06 +02:00
dependabot[bot]
d032782f7d 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
02dcb7b2d2 Display the client logo with a referrerpolicy set to "no-referrer"
Fixes #1768
2023-09-20 18:01:58 +02:00
dependabot[bot]
978a6e3dac 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
Quentin Gliech
41f72976d8 Gracefully shutdown connections 2023-09-20 15:56:01 +02:00
dependabot[bot]
6ad1d91aeb 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]
53f1682161 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]
d592a01b03 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
44a0331656 Fix broken doc links 2023-09-19 21:57:54 +02:00
Quentin Gliech
7d391ea58f Test the activity tracker on the introspection endpoint 2023-09-19 21:57:54 +02:00
Quentin Gliech
8e73092ad0 Make the last activity timestamp and IP available through the API 2023-09-19 21:57:54 +02:00
Quentin Gliech
0042129878 Save the session activity in the database 2023-09-19 21:57:54 +02:00
Quentin Gliech
6925bf1384 Record the user session activity for most routes 2023-09-19 21:57:54 +02:00
Quentin Gliech
0cd4ef4887 Add an ActivityTracker which tracks session activity and regularly flush them to the database 2023-09-19 21:57:54 +02:00
Quentin Gliech
1127e7ec8b frontend: Post-merge fix 2023-09-19 20:00:51 +02:00
Kerry
68df11c780 Documentation: Add storybook stories for Session components (#1806) 2023-09-19 19:53:48 +02:00
Kerry
6885c82183 DM: Last active timestamp UI (#1793) 2023-09-19 11:48:10 +02:00
Quentin Gliech
4511108b51 frontend: upgrade compound & simplify the confirmation modal implementation 2023-09-19 10:50:55 +02:00
Quentin Gliech
535a7af774 frontend: Hide the navigation in the email verification page 2023-09-19 10:50:30 +02:00
dependabot[bot]
82b233405a build(deps): bump clap from 4.4.3 to 4.4.4
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.3 to 4.4.4.
- [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.3...v4.4.4)

---
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-18 23:55:04 +02:00
dependabot[bot]
54eada9a30 build(deps): bump schemars from 0.8.13 to 0.8.15
Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.13 to 0.8.15.
- [Release notes](https://github.com/GREsau/schemars/releases)
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.13...v0.8.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 23:53:37 +02:00
dependabot[bot]
45c0fa5557 build(deps): bump axum-extra from 0.7.7 to 0.8.0
Bumps [axum-extra](https://github.com/tokio-rs/axum) from 0.7.7 to 0.8.0.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/compare/axum-extra-v0.7.7...axum-extra-v0.8.0)

---
updated-dependencies:
- dependency-name: axum-extra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 23:52:53 +02:00
dependabot[bot]
9ad9a15b29 build(deps): bump indoc from 2.0.3 to 2.0.4
Bumps [indoc](https://github.com/dtolnay/indoc) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/2.0.3...2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 23:51:20 +02:00
dependabot[bot]
995aaa2d56 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]
8311df6806 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