Commit Graph

118 Commits

Author SHA1 Message Date
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
Michael Telatynski 5173170bf5 Adapt restricted guests module for Login UX 2026-03-03 09:35:54 +00:00
Michael Telatynski 5bc64a19da Update services.ts 2026-03-02 13:08:52 +00:00
renovate[bot] 1d9664ef10 Update npm non-major dependencies 2026-03-01 16:05:52 +00:00
Andrew Morgan 9a8ef99b8c Disable local registration when using MAS 2026-02-05 14:04:45 +00:00
Andrew Morgan 1b3243cb00 Disable local passwords in MAS Synapse
Otherwise we'll get the following error upon Synapse startup: Password auth cannot be enabled while OAuth delegation is enabled.
2026-02-05 14:04:37 +00:00
Andrew Morgan 7c62578252 Create MAS container and tests for restricted guests testing
Add a new container that both:

- Spins up a MAS instance.
- Loads the restricted guests module into Synapse, and configures it
  accordingly.

Then extend restricted guests spec to include MAS tests.

This requires setting up MAS' config to recognise the module as an
automated client (so that it can request Admin perms to
create/deactivate users).
2026-02-05 14:04:33 +00:00
Andrew Morgan ab8a307d5d Make {mas_,}user_id DB tables NOT NULL 2026-02-04 16:31:19 +00:00
Andrew Morgan e1b42da345 lint 2026-01-23 17:05:56 +00:00
Andrew Morgan 85ef24f917 Remove test runtime checks for AsyncMock vs. Mock
Turns out they're always AsyncMock.
2026-01-23 16:52:21 +00:00
Andrew Morgan c6dabf052b Remove fallback wrapper for post_urlencoded_get_json 2026-01-23 16:36:59 +00:00
Andrew Morgan 7abb63f1f2 Don't be cryptographically random!
That's what you get for generating a random string function.
2026-01-23 15:18:55 +00:00
Andrew Morgan ecd25faec8 Add docstring for request_admin_token 2026-01-23 15:16:39 +00:00
Andrew Morgan a4173bb1dd expires_in -> expires_in_sec + docstring 2026-01-23 14:55:17 +00:00
Andrew Morgan e0304c627b created_at -> created_at_sec 2026-01-23 14:41:06 +00:00
Andrew Morgan 2e71abdfda Add user_id field to guest_module_mas_users
Currently unused, but may be useful in future.
2026-01-23 14:38:19 +00:00
Andrew Morgan 514c6957f7 Log MXID and MAS ID when registering guest user 2026-01-23 14:02:00 +00:00
Andrew Morgan f88a280b8b Correct typo in comment 2026-01-23 13:52:19 +00:00
Andrew Morgan 2a9c384213 Update tests for randomly generated device IDs
Pin the device ID in tests by mocking the generation function.
And test said generation function.
2026-01-19 14:34:03 +00:00
Andrew Morgan 3f53333448 Return the correct device ID
Turns out the client needs to generate it, and pass it as a scope. Clever!
2026-01-19 13:56:57 +00:00
Andrew Morgan b8fda8acdf lint 2026-01-19 13:04:31 +00:00