1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-23 11:09:01 +03:00

256 Commits

Author SHA1 Message Date
renovate[bot]
e1b9e0c566 Update dependency happy-dom to v21 (#35528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-20 12:50:48 +00:00
renovate[bot]
a7e7fe3253 Update vector-im (#35539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-19 17:43:57 +00:00
Florian Duros
795a9315b7 Fix restricted guest module showing excluded UI elements (#35412)
* Fix components shown to guest user

* Add tests for restricted guests shouldShowComponent
2026-10-09 16:29:48 +00:00
renovate[bot]
0545871a76 Update dependency motion to v14 (#35357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-06 22:56:52 +00:00
David Baker
b243535523 Update modules playwright screenshots (#35320)
For en string changes
2026-10-05 16:27:05 +01:00
Patrick Maier
b2dd6d57e3 Add a note that restricted-guests requires knocking to be enabled (#34729)
* Update README.md

* Update README.md

* Update modules/restricted-guests/README.md

Co-authored-by: R Midhun Suresh <hi@midhun.dev>

---------

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2026-10-03 10:37:32 +00:00
David Langley
c4e04930d4 Update the univention error strings for the banner module (#35234)
* Update the univention error to refer to central navigation rather than univention by name.

* Update e2e test and screenshot
2026-09-30 10:08:03 +00:00
Michael Telatynski
a96cfb979b Fix banner module's logo_href not working in Univention mode (#35236)
* Fix banner module's logo_href not working in Univention mode

* Update Dockerfile to version modules to make it easy to see what versions are loaded via config.json

* Update docker test
2026-09-29 08:56:05 +00:00
Michael Telatynski
6d644ffe78 Remove legacy Module & Customisation API (#33941)
* Remove legacy Module & Customisation API

in favour of the new runtime modules system

* Delint

* Remove unused i18n string

* Fix tests

* Fix test

* Fix tests

* Iterate

* Fix bad merge

* Bump Module API version

* Bump module-api compatibility ranges

* Update docs

* Fix semver ranges

* Update test module API version

* Too many versions

* Too many versions again
2026-09-11 13:32:48 +00:00
Michael Telatynski
1195d4d914 Tweak Banner module styling (#34903)
* Tweak Banner module styling

Also improve docs

+ Documents `theme` key
+ Wraps the heading title in the anchor
+ Tweaks the default width of the trigger to 69px to match the space panel with its border.
+ Fixes focus lingering

Bumps version in preparation of release

* Improve coverage

* Make knip happy

* Fix missing label

* Fix lockfile

* Iterate

* Make tests happier
2026-09-07 16:15:36 +00:00
Florian Duros
fc68b58c4d Room list: add an Invites section (#34736)
* Add an Invites section to the room list

Invited rooms are collected in a section pinned above Favourites.
The invite tag is synthetic, derived from the membership rather than
stored as account data, so tagRoom refuses to write or remove it.

* Name the Invites section and hide its filter chip

The collapsed header shows the number of invitations: an invitation is
neither a mention nor a notification, so it would contribute nothing to
the badge otherwise. The chip is only offered when sections are off.

* Keep invited rooms out of other sections

Membership fixes the section of an invited room, so it cannot be dragged
and the Favourited, Low priority and "Move to" entries are hidden.

* Start the Invites section collapsed

The section appears on its own when an invitation arrives, so it starts
closed and its header reports the count. Expanding it lasts only while it
is on screen, so it is closed again every time it reappears.

* Update e2e tests

* Update screenshots

* Simplify dragAndDrop.ts

* Open the section header in the e2e test only if closed

* Update lifecycle e2e tests
2026-09-07 11:04:50 +00:00
Will Hunt
0315cb4c3e Install serve explicitly to ensure we don't have an npx timeout when npm just gives up (#34932)
* Explicitly install serve

* Add ignore to knip

* lint
2026-09-04 13:06:57 +00:00
renovate[bot]
417f9b3aa5 Update dependency motion to v13 (#34694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-13 13:30:45 +00:00
Michael Telatynski
7897b0c71f Build docker image containing modules (#34657)
Switch to bake to simplify the building of 2 images
2026-08-11 13:03:24 +00:00
renovate[bot]
b9b0df4e6e Update ghcr.io/element-hq/element-web:latest Docker digest to ac50d4e (#34528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-05 09:24:51 +00:00
renovate[bot]
97b9a20cfd Update Node.js to f70403e (#34537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-04 12:19:29 +00:00
Michael Telatynski
4aa1a3549e Enable oxlint restriction ruleset (#34307)
* Remove stale max-len disablements

* Remove stale camelCase & naming-convention disablements

* Remove stale ban-ts-comment disablements

* Remove stale no-var disablements

* Remove stale no-empty-property disablements

* Remove stale react rule disablements

* Remove stale no-constant-condition disablements

* Remove stale no-unused-vars disablements

* Remove stale disablements for disabled rules

* fixup camelcase

* Remove dead code

* Tidy code

* Tweak oxlint config

* Use oxlint to apply jsx/tsx extension consistently

* Fix import

* Fix imports

* Rename affected snapshots

* Update more imports

* Enable restriction ruleset

* Make code comply with new rules

* Make code comply with react/button-has-type

* Make code comply with typescript/non-nullable-type-assertion-style

* Comply with node/no-process-env

* Comply with unicorn/prefer-node-protocol

* Comply with unicorn/import-style

* Comply with unicorn/no-process-exit

* Comply with no-proto

* Comply with node/handle-callback-err

* Comply with import/no-commonjs

* Comply with node/no-path-concat

* Comply with unicorn/no-length-as-slice-end

* Comply with unicorn/no-document-cookie

* Comply with unicorn/prefer-module

* Comply with typescript/prefer-literal-enum-member

* Comply with jsx-a11y/anchor-ambiguous-text

* Tweak oxlint config

* Fix resolves

* Iterate

* Iterate

* Iterate

* Iterate

* Iterate

* Iterate

* Iterate
2026-08-04 09:15:07 +00:00
Michael Telatynski
1bec06ca52 Wire up GHA workflow to release modules (#34544)
* Wire up GHA workflow to release modules

* Iterate
2026-08-04 08:29:40 +00:00
Michael Telatynski
bbec915fb0 Enable more oxlint rules (#34189)
* Fix type imports

* Fix jsdoc

* Fixup types

* Fix stray awaits on non-thenables

* Fixup imports

* Fix splats

* Fix this-context on callbacks

* Memoise react contexts

* Prefer find/flatMap

* Make oxlint happier about our React keys

* Avoid unsafe default function params

* Fixup jsdoc

* Fixup contexts

* Switch from eslint to oxlint

* Some oxlint-related tweaks

* Iterate

* Partial revert to defer some changes and shrink diff

* Iterate

* Add eslint-plugin-element-call and enable the copyright rule

* Set strictStorePkgContentCheck

* Iterate

* Enable forwardRef oxlint rule

* Enable no-unused-vars oxlint rule

* Enable no-implied-eval oxlint rule

* Enable no-duplicate-type-constituents oxlint rule

* Enable explicit-length-check oxlint rule

* Enable prefer-number-properties oxlint rule

* Enable no-callback-in-promise oxlint rule

* Enable no-require-imports oxlint rule

* Remove disablement of most unicorn oxlint rules

* Enable no-conditional-tests oxlint rule

* Enable promise-valid-params oxlint rule

* Enable require-unicode-regexp oxlint rule

* Remove max-len comments as we use oxfmt for formatting

* Enable majority of oxlint `suspicious` rules

* Iterate

* Fix oxlint type-aware lint running without dependencies built
2026-07-29 08:26:07 +00:00
Michael Telatynski
dfa6a58073 Add additional configuration options to Banner module (#34384)
* Add additional configuration options to Banner module

* Iterate

* Iterate
2026-07-28 14:18:50 +00:00
Michael Telatynski
b51c5ed8a7 Tweak oxlint config & delint our code (#34301)
* Remove stale max-len disablements

* Remove stale camelCase & naming-convention disablements

* Remove stale ban-ts-comment disablements

* Remove stale no-var disablements

* Remove stale no-empty-property disablements

* Remove stale react rule disablements

* Remove stale no-constant-condition disablements

* Remove stale no-unused-vars disablements

* Remove stale disablements for disabled rules

* fixup camelcase

* Remove dead code

* Tidy code

* Tweak oxlint config
2026-07-17 07:55:31 +00:00
Michael Telatynski
15c85ec50f Switch from eslint to oxlint (#34166)
* Fix type imports

* Fix jsdoc

* Fixup types

* Fix stray awaits on non-thenables

* Fixup imports

* Fix splats

* Fix this-context on callbacks

* Memoise react contexts

* Prefer find/flatMap

* Make oxlint happier about our React keys

* Avoid unsafe default function params

* Fixup jsdoc

* Fixup contexts

* Switch from eslint to oxlint

* Some oxlint-related tweaks

* Iterate

* Partial revert to defer some changes and shrink diff

* Iterate

* Add eslint-plugin-element-call and enable the copyright rule

* Set strictStorePkgContentCheck

* Iterate

* Make sonar happy

* Fix new lints
2026-07-10 09:47:41 +00:00
renovate[bot]
bbe7becb6e Update Node.js to a0b9bf0 (#34057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-30 14:47:41 +00:00
Michael Telatynski
5002f2929f Fix CI/CD pnpm error around minimumReleaseAge (#33908)
* Update pnpm

* Fix @types/node dep reference

* disable allowBuilds for js-sdk

* disable allowBuilds for js-sdk for git too

* Iterate

* Iterate
2026-06-19 11:12:59 +00:00
Michael Telatynski
7a1a3f518c Make codebase comply to knip --strict (#33893)
* Make codebase comply to `knip --strict`

Deletes a few bits of dead code

* Trim i18n strings

* Fix missing export

* Remove test of dead code
2026-06-18 09:35:47 +00:00
Michael Telatynski
1094ab256c Update npm package name from framer-motion to motion (#33887)
to make Renovate happier
2026-06-17 10:19:11 +00:00
renovate[bot]
2098eab6cc Update Node.js to 21f403a (#33858)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 13:46:50 +00:00
Michael Telatynski
eca2f39dbb Switch from prettier to oxfmt (#33844)
* Switch from prettier to oxfmt

* Make knip happy

* Make knip happy

* Apply suggestion from @t3chguy

* Rename .oxfmtrc.json to .oxfmtrc.jsonc

* Make oxfmt happier
2026-06-16 12:17:18 +00:00
Michael Telatynski
44c540eca0 Tweak modules to be disabled if config is missing (#33806)
* Consolidate modules vitest coverage

* Use vite-common as base for modules vitest config

* Make knip happier

* Fix coverage paths

* Place modules unit tests alongside src

* Switch to defineProject for better type safety

* Consolidate vitest CI & coverage

Kills off vite-common

* Update comment

* Update lockfile

* Fix shared-components vitest config

* Soften eslint config for tests in modules

* Run eslint on modules/playwright dir too

* Make tsc happy

* Tweak modules to be disabled if config is missing

* Restore blank line

* Improve coverage

* Potential fix for pull request finding 'Unused variable, import, function or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-06-16 08:41:40 +00:00
Michael Telatynski
2d24778214 Fix modules dir tsc not running in CI (#33811)
* Fix modules dir tsc not running in CI

* Switch to nx run-many for ci task

This has smarter scheduling logic for dependant tasks
2026-06-11 10:37:47 +00:00
Michael Telatynski
e9a89d9872 Consolidate vitest CI & coverage (#33808)
* Consolidate modules vitest coverage

* Use vite-common as base for modules vitest config

* Make knip happier

* Fix coverage paths

* Place modules unit tests alongside src

* Switch to defineProject for better type safety

* Consolidate vitest CI & coverage

Kills off vite-common

* Update comment

* Update lockfile

* Fix shared-components vitest config

* Soften eslint config for tests in modules

* Run eslint on modules/playwright dir too

* Make tsc happy
2026-06-10 16:00:34 +00:00
Michael Telatynski
e47957aa6d Update screenshots 2026-06-10 10:48:44 +01:00
Michael Telatynski
4b72f03bee Update screenshots 2026-06-10 09:39:46 +01:00
Michael Telatynski
bb2c6d68ff Fix playwright modules tests 2026-06-09 18:17:37 +01:00
Michael Telatynski
a16b72732e Fix playwright modules tests 2026-06-09 15:46:41 +01:00
Michael Telatynski
a0ed801d00 Fix playwright modules glob 2026-06-09 15:06:43 +01:00
Michael Telatynski
ab4f427cac Fix playwright config 2026-06-09 13:20:08 +01:00
Michael Telatynski
6f46493b4d DRY 2026-06-08 13:34:08 +01:00
Michael Telatynski
d4bdc70653 Fix tests 2026-06-08 11:59:47 +01:00
Michael Telatynski
af74f511ed Make tsc happier 2026-06-08 11:42:00 +01:00
Michael Telatynski
2192b2f5e3 Fix vitest runs for modules 2026-06-08 11:21:36 +01:00
Michael Telatynski
cf9ee41d06 DRY 2026-06-08 11:19:13 +01:00
Michael Telatynski
799d33278f Absorb remainder of element-modules into monorepo 2026-06-08 10:32:12 +01:00
Michael Telatynski
cb8c90c295 Remove opendesk module 2026-06-05 14:30:11 +01:00
Michael Telatynski
31dd8fb928 Prepare for move to element-web monorepo 2026-06-05 14:28:17 +01:00
Michael Telatynski
8f846d95a2 Update restricted guests screenshots 2026-06-04 14:50:03 +01:00
renovate[bot]
ee50bb87df Update react to v6 2026-06-04 13:11:34 +00:00
Michael Telatynski
cfab5cc659 Iterate NODE_ENV 2026-06-04 13:42:01 +01:00
Michael Telatynski
f5d93099e3 Re-add externalGlobals 2026-06-04 12:47:25 +01:00
Michael Telatynski
9d9991d838 Use rolldownOptions.transform.define 2026-06-04 12:18:22 +01:00