Commit graph

62744 commits

Author SHA1 Message Date
RiotRobot
a3e7ab0bb4 Upgrade dependency to matrix-react-sdk@3.110.0-rc.1 2024-09-19 11:20:28 +00:00
Florian Duros
4776f87775
Ignore chat effect when older than 48h (#48)
* Ignore effect later than 48h

* Add tests for `EffectsOverlay-test.tsx`
2024-09-19 09:39:32 +00:00
Florian Duros
0cc0ebe2ed
Replace old reference of matrix-org/matrix-react-sdk by element-hq/matrix-react-sdk (#60) 2024-09-19 09:34:04 +00:00
David Baker
3dd223c7dd
Also add NPM_TOKEN (#57) 2024-09-19 08:37:25 +00:00
Richard van der Hoff
1e7631386e
Playwright: factor out some common code (#49)
* playwright: factor out `bootstrapCrossSigningForClient` method

Pull this out so it can be used elsewhere. Also expose the `resetKeys` param,
which might be useful in future.

* playwright: bot.ts: use `bootstrapCrossSigningForClient`

... instead of reinventing it.

* Only setup cross signing if `startClient` is set
2024-09-19 07:13:04 +00:00
David Langley
154bf33fa1
Manually clear orphaned recaptcha challenge overlay in android webviews (#53)
* try manually clear any left over recaptcha overalys

* add alert to debug webview

* disable settings check for netlify build

* Update fix for removing challenge, as g-recaptcha-bubble-arrow is now always shown

* Remove alert for debugging webview

* Put back requirement for config setting and make sure it redirects to welcome if not present.

* Add comment to explain bodge.

* Remove unrelated code
2024-09-18 16:56:18 +00:00
David Baker
0bbed853da
Pass bot token through explicitly (#56)
Because apparently secrets: inherit only works for environment secrets, and it only took me several hours of research to track this down 🙄
2024-09-18 15:36:30 +00:00
RiotRobot
6512b236cd Upgrade dependency to matrix-js-sdk@34.6.0-rc.0 2024-09-18 13:32:50 +00:00
David Baker
07b42061a1 Fix yarn lockfile 2024-09-18 13:46:37 +01:00
David Baker
191b1dd570 Merge remote-tracking branch 'origin/staging' into develop 2024-09-18 13:44:42 +01:00
Michael Telatynski
7feb5a0b49
Merge branch 'develop' into t3chguy/wat/230.1 2024-09-18 11:21:55 +01:00
Florian Duros
13e67ae0eb
Add Release announcement for the pinning message list (#46)
* Add RA for the pinning message list

* Update RoomSummaryCard-test.tsx snapshot

* Update RA labels
2024-09-18 09:26:17 +00:00
Richard van der Hoff
1058af6add
Playwright test for E2E messages from deleted devices (#47)
* Factor out `createSecondBotDevice` utility

* Add playwright test for messages from deleted devices

Thanks to MSC4147, we now have information on the devices that sent messages,
even when the device has since been deleted. Test that out.
2024-09-17 17:50:02 +00:00
David Baker
11be4ab422
Merge pull request #28057 from element-hq/dbkr/disable-pending-prs
Disable pending reviews jobs for now
2024-09-17 10:31:37 +00:00
David Baker
a083d2fd38
Update pending-reviews.yaml 2024-09-17 11:07:40 +01:00
ElementRobot
c24661f660
[create-pull-request] automated change (#45)
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
2024-09-17 06:20:35 +00:00
Florian Duros
59852773ad
Unlabs feature pinning (#22) 2024-09-16 14:51:59 +00:00
David Langley
ddc789320a
Merge pull request #28055 from element-hq/langleyd/addMobileRegistrationHelperToDevelop
Add "Registration.mobileRegistrationHelper" config setting on develop.
2024-09-16 14:48:46 +00:00
David Baker
74885c942f
Merge pull request #42 from element-hq/langleyd/mobile_registeration
Add mobile registration
2024-09-16 15:39:12 +01:00
David Langley
ff9286fe28
Merge branch 'develop' into langleyd/addMobileRegistrationHelperToDevelop 2024-09-16 15:37:32 +01:00
David Langley
f7c08d1c68 Add "Registration.mobileRegistrationHelper" config setting on develop. 2024-09-16 15:27:53 +01:00
David Langley
20a4f0af99 Enforce config setting 2024-09-16 15:16:24 +01:00
David Langley
3d89fc3bf2 Merge branch 'develop' of https://github.com/element-hq/matrix-react-sdk into langleyd/mobile_registeration 2024-09-16 13:46:33 +01:00
David Langley
eadff6333b
Merge pull request #28053 from element-hq/removeRegexUnicodesModernizrCheck
Remove regexpunicodesets modernizr check
2024-09-16 12:07:50 +00:00
David Langley
baac24adf3 Remove regexpunicodesets modernizr check 2024-09-16 12:46:47 +01:00
David Langley
62d66f9d91 Remove accidental paste 2024-09-13 16:59:50 +01:00
David Langley
0716434aa1 Allow hs_url as param on mobile_register 2024-09-13 16:59:11 +01:00
Florian Duros
f42f7c923f
Merge pull request #28045 from fkwp/fkwp/enable_ec_on_dev
enable Element Call on develop.element.io
2024-09-13 14:04:13 +00:00
Florian Duros
78ed91041b
Merge branch 'develop' into fkwp/enable_ec_on_dev 2024-09-13 15:55:24 +02:00
David Langley
a89f61a357 Add error text and title with server name 2024-09-13 14:48:48 +01:00
Florian Duros
804a57c80e
Merge pull request #28049 from element-hq/florianduros/change-react-sdk-repo
Replace `matrix.org/matrix-react-sdk` with `element-hq/matrix-react-sdk` in CI
2024-09-13 13:37:26 +00:00
Florian Duros
4e47537614
Replace matrix.org/matrix-react-sdk with element-hq/matrix-react-sdk in CI 2024-09-13 15:26:38 +02:00
David Baker
9426fec8c7
Fix timeout type (#40)
In the user profile timezone code, which was failing a ts check.
2024-09-13 13:15:10 +00:00
Michael Telatynski
be59791db1
Add support for org.matrix.cross_signing_reset UIA stage flow (#34)
* Soften UIA fallback postMessage check to work cross-origin

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Do the same for the SSO UIA flow

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add support for `org.matrix.cross_signing_reset` UIA stage flow

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Check against MessageEvent::source instead

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* i18n

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove protected method

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-09-13 11:49:19 +00:00
Michael Telatynski
8044ce4c01
Fix tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-09-13 12:34:15 +01:00
Hubert Chathi
b5058286e0
update test to work with newer Rust crypto (#32) 2024-09-13 11:29:25 +00:00
David Langley
0244aaeb2f use window.dispatchEvent 2024-09-13 12:18:32 +01:00
David Langley
a6dec86374 Add mobile registration and dispatch event for mobile postmessage dance 2024-09-13 12:12:04 +01:00
Michael Telatynski
a6e98b0b63
Use strong over b for improved a11y semantics
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-09-13 12:09:41 +01:00
fkwp
7584d58d11 enable Element Call on develop.element.io 2024-09-13 11:13:53 +02:00
Florian Duros
6b384fe9c1
Fix huge usage bandwidth and performance issue of pinned message banner. (#37)
* Return only the first 100 pinned messages

* Execute pinned message 10 by 10
2024-09-13 07:47:22 +00:00
ElementRobot
5740bdbd38
[create-pull-request] automated change (#39)
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
2024-09-13 06:20:25 +00:00
ElementRobot
0e8cd5badd
[create-pull-request] automated change (#38)
Co-authored-by: dbkr <dbkr@users.noreply.github.com>
2024-09-13 06:18:17 +00:00
Will Hunt
eae9d9e248
Add timezone to user profile (#20)
* [create-pull-request] automated change (#12966)

Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>

* Add timezone to right panel profile.

* Add setting to publish timezone

* Add string for timezone publish

* Automatically update timezone when setting changes.

* Refactor to using a hook

And automatically refresh the timezone every minute.

* Check for feature support for extended profiles.

* lint

* Add timezone

* Remove unintentional changes

* Use browser default timezone.

* lint

* tweaks

* Set timezone publish at the device level to prevent all devices writing to the timezone field.

* Update hook to use external client.

* Add test for user timezone.

* Update snapshot for preferences tab.

* Hide timezone info if not provided.

* Stablize test

* Fix date test types.

* prettier

* Add timezone tests

* Add test for invalid timezone.

* Update screenshot

* Remove check for profile.

---------

Co-authored-by: ElementRobot <releases@riot.im>
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-09-12 13:18:25 +00:00
Florian Duros
f31776378d
Reverse pinned message list (#19) 2024-09-12 12:43:07 +00:00
Michael Telatynski
f1a9e080c3
Merge pull request #28040 from element-hq/t3chguy/transparent-logos
Update icons to include transparency
2024-09-12 11:57:35 +00:00
Michael Telatynski
96934a5a8d
Update icons to include transparency
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-09-12 11:57:59 +01:00
ElementRobot
85b4f17a56
[create-pull-request] automated change (#33)
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
2024-09-12 06:21:24 +00:00
David Baker
a701e3afd7
Add config option to force verification (#29)
* Add config option to force verification

If this is set, users will not have the option to skip verification
on login (they will still be able to reload and continue unverified,
currently). Default off.

* Test for complete security dialog

* I hadn't set up prettier
2024-09-11 20:55:00 +00:00
David Baker
179ba97543
Merge pull request #28035 from element-hq/dbkr/force_verification
Add doc for 'force_verification config option
2024-09-11 19:59:04 +00:00