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

1802 Commits

Author SHA1 Message Date
Quentin Gliech
b85655b944 Save the session activity in the database 2023-09-19 21:57:54 +02:00
Quentin Gliech
407c78a7be Record the user session activity for most routes 2023-09-19 21:57:54 +02:00
Quentin Gliech
cf5510a1a2 Add an ActivityTracker which tracks session activity and regularly flush them to the database 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]
3f3e7daeeb 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]
23f79426bb 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]
19c070cf5b 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]
c9997e76ab 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]
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
Quentin Gliech
6ce216e611 fixup! policies: allow subdomains for the various URIs 2023-09-18 11:57:50 +02:00
Quentin Gliech
21406218aa fixup! Deny URIs from client that are public suffixes 2023-09-18 11:57:50 +02:00
Quentin Gliech
bdc375fc6b policies: allow subdomains for the various URIs 2023-09-18 11:57:50 +02:00
Quentin Gliech
7887387568 Deny URIs from client that are public suffixes 2023-09-18 11:57:50 +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
dependabot[bot]
e7ea486222 build(deps): bump chrono from 0.4.30 to 0.4.31
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.30 to 0.4.31.
- [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.30...v0.4.31)

---
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-16 12:29:11 +02:00
dependabot[bot]
db88d46945 build(deps): bump wasmtime from 12.0.1 to 12.0.2
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 12.0.1 to 12.0.2.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v12.0.1...v12.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 12:05:41 +02:00
Quentin Gliech
1cdc017384 frontend: have better margins everywhere 2023-09-15 18:41:39 +02:00
Quentin Gliech
c9155ef0cf Rust dependencies housekeeping
Including:
 - package upgrades
 - stop using the patched version of `ulid`
 - update cargo deny duplicate exception list
2023-09-14 23:43:00 +02:00
Quentin Gliech
e9856f8691 ci: tweak the release message template 2023-09-14 21:32:44 +02:00
Quentin Gliech
436e73150f ci: fix the release body template 2023-09-14 21:32:44 +02:00
Quentin Gliech
b9d6a6952a ci: Include the templates and license in the artifacts 2023-09-14 21:32:44 +02:00
Quentin Gliech
e997eb2018 Fix release CI workflow 2023-09-14 21:32:44 +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
Quentin Gliech
674a57fd6d Update templates icons from the design tokens 2023-09-14 19:57:55 +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
Quentin Gliech
386de570c7 Enable HTTP keepalive correctly 2023-09-14 17:03:17 +02:00
Quentin Gliech
54071c4969 Make the HTTP client factory reuse the underlying client
This avoids duplicating clients, and makes it so that they all share the same connection pool.
2023-09-14 16:52:01 +02:00
Quentin Gliech
f29e4adcfa Always initialize a metric reader to avoid crashes
Fix #1552
2023-09-14 16:52:01 +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]
e7497d8cd2 build(deps): bump libc from 0.2.147 to 0.2.148
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.147 to 0.2.148.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.147...0.2.148)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 14:38:17 +02: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
Quentin Gliech
9460b3e3d2 Fix the cargo-zigbuild/zig installation 2023-09-14 14:37:28 +02:00
Quentin Gliech
f10d060cd9 Put the docker image info in the release body 2023-09-14 14:37:28 +02:00
Quentin Gliech
261df6499d Simplify the multiarch docker build
Make the binaries build run on the self-hosted runners
2023-09-14 14:37:28 +02:00
Quentin Gliech
b5d40e9bf5 install all the rust toolchains 2023-09-14 14:37:28 +02:00
Quentin Gliech
eb267424d6 WIP: better release workflow 2023-09-14 14:37:28 +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