1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-24 23:19:26 +03:00

138 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
af74f511ed Make tsc happier 2026-06-08 11:42:00 +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
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
Michael Telatynski
82b5397c7d Use rolldownOptions.output.globals 2026-06-04 11:36:15 +01:00
Michael Telatynski
2321dc8f63 Use esmExternalRequirePlugin 2026-06-04 11:11:29 +01:00
renovate[bot]
2a6e185be9 Update vite 2026-06-04 08:13:41 +00:00
Michael Telatynski
fcffb91979 Merge pull request #287 from element-hq/renovate/vite
Update vite
2026-06-03 17:48:02 +01:00
Michael Telatynski
5b8233d210 Merge pull request #279 from element-hq/renovate/react
Update react
2026-06-03 17:30:26 +01:00
renovate[bot]
46b6254996 Update vite 2026-06-03 16:15:38 +00:00
Michael Telatynski
3bf5baadaa Handle breaking change 2026-06-03 16:54:42 +01:00
renovate[bot]
d9e0bd9bf7 Update vector-im 2026-06-03 14:23:47 +00:00
renovate[bot]
e8d6e4cdc9 Update react 2026-06-03 14:22:19 +00:00
R Midhun Suresh
9d33c0a729 Update screenshot 2026-05-26 15:43:22 +05:30
David Baker
c74b817a52 Update screenshot
I don't know why this is now failing, it had already been updated
in https://github.com/element-hq/element-modules/pull/269 . I guess
I'll try updating it again.
2026-05-22 15:55:09 +01:00
R Midhun Suresh
41008452d8 Update screenshot 2026-05-21 16:27:48 +05:30
renovate[bot]
7f286de61f Update dependency typescript to v6 2026-04-29 20:10:19 +00:00
Michael Telatynski
85001c4da9 Move playwright-common to element-web monorepo
https://github.com/element-hq/element-web/pull/33088 is the other half of the PR
2026-04-10 19:31:29 +01:00
Michael Telatynski
55c7023ca0 Update screenshots due to element-web changes 2026-04-09 10:17:51 +01:00
Michael Telatynski
23c3b2b24e Merge pull request #212 from element-hq/t3chguy/wat/382 2026-04-09 08:56:05 +01:00
dependabot[bot]
6ab5d7d3c5 build(deps-dev): bump vite in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 7.3.1 to 7.3.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.3.2
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 20:43:24 +00:00
renovate[bot]
60698a2b78 Update dependency @vector-im/compound-design-tokens to v8 2026-03-31 14:34:08 +00:00
Michael Telatynski
550f9062d5 Update screenshots 2026-03-31 10:02:36 +01:00
Michael Telatynski
1d6e5412f4 Update copyright 2026-03-31 09:56:28 +01:00
Michael Telatynski
557f03a80d Update screenshots 2026-03-31 09:53:40 +01:00
R Midhun Suresh
242d04cef6 Update screenshots 2026-03-23 12:41:34 +05:30
Michael Telatynski
a8f814b108 Merge branch 'main' of github.com:/element-hq/element-web-modules into t3chguy/wat/382
# Conflicts:
#	modules/restricted-guests/element-web/e2e/snapshots/restricted-guests.spec.ts/login-legacy-linux.png
#	modules/restricted-guests/element-web/e2e/snapshots/restricted-guests.spec.ts/login-mas-linux.png
#	playwright.config.ts
2026-03-20 16:41:53 +00:00
David Baker
055a127841 Pin react deps to exact version in package.json
Yarn had somehow confused itself and got into a state where it refused
to install react 19.2.4, so much so that even renovate thought it had
upgraded the package (https://github.com/element-hq/element-modules/pull/208)
when it hadn't.

Until we switch to pnom and can use catalog:, pin them to exact version which
seems to make yarn play ball again.
2026-03-16 17:58:23 +00:00
David Langley
64d5bef3e7 Migrate playwright tests from tests/ to e2e/ convention
All modules now use e2e/ for playwright tests, consistent with
element-modules-private. This avoids conflicts between vitest (which
uses tests/) and playwright project discovery.
2026-03-04 15:55:57 +00:00
Michael Telatynski
9829314c53 Iterate 2026-03-04 11:59:18 +00:00
Michael Telatynski
9535594ff8 Tidy up 2026-03-04 10:32:58 +00:00
Michael Telatynski
adfd99ca7d Tests galore 2026-03-03 18:25:22 +00:00