Commit Graph

62952 Commits (f157c90ba99ed065dd5cde914b976f1561ef5a54)

Author SHA1 Message Date
Michael Telatynski cdffd1ca1f
Fix missing metaspace notification badges (#11269)
* Fix missing metaspace notification badges

* Simplify conditional types
2023-07-14 14:40:59 +00:00
Kerry eced103458
Fix: cypress `findByTestId` and `percySnapshotElement` do not work together (#10947)
* check for testid in percySnapshotElement

* Update percy.ts

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-14 13:28:22 +00:00
Michael Telatynski 63bdd84c94
Offer to unban user during invite if inviter has sufficient permissions (#11256)
* Offer to unban user during invite if inviter has sufficient permissions

* Improve unban check in MultiInviter

* Improve coverage

* Update src/utils/MultiInviter.ts

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-07-14 13:26:02 +00:00
Michael Telatynski 86d3ec8154
Split join and goto slash commands, the latter shouldn't auto_join (#11259)
* Split join and goto slash commands, the latter shouldn't auto_join

* i18n

* Add tests

* Iterate

* Improve coverage
2023-07-14 11:20:59 +00:00
Richard van der Hoff e959eca354
Fix corrupt thread timeline for sending events (#11260)
Events which are still in the process of being sent should *not* be included
in the `EventTimeline`. Doing so means that we will attempt to render them
twice, which makes react explode.

Fixes https://github.com/vector-im/element-web/issues/25770
2023-07-14 10:59:55 +00:00
Michael Telatynski cb592dc709
Fix clicking MXID in timeline going to matrix.to (#11263)
* Fix clicking MXID in timeline going to matrix.to

* Add tests

* Increase coverage
2023-07-14 10:55:55 +00:00
Michael Telatynski 3a784c71e8
Deprecate camelCase config options (#11261) 2023-07-14 10:50:52 +00:00
Michael Telatynski a84349f969
Deprecate camelCase config options (#25800) 2023-07-14 11:16:41 +01:00
renovate[bot] 77c3a89cbc
Update all non-major dependencies (#11158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 20:08:12 +00:00
Michael Telatynski f5f31eb7d8
Fix jest/valid-expects lints (#11238) 2023-07-13 15:19:44 +00:00
Florian Duros d7d60a3255
Disable failing login with SSSS tests with rust crypto (#11258) 2023-07-13 15:07:38 +00:00
Germain f4e7e08425
Restoring optional ligatures by resetting letter-spacing (#11202)
* Restoring optional ligatures by resetting letter-spacing

* Revert "Restoring optional ligatures by resetting letter-spacing"

This reverts commit 6536265ce2c5a2ae81023cc26aaa3cc11e85703b.

* Restore ligatures with inter dynamic metrics

* lintfix
2023-07-13 14:17:55 +00:00
Michael Telatynski e6550a33b6
Allow emoji presentation selector to not break BigEmoji styling (#11253)
* Allow emoji presentation selector to not break BigEmoji styling

* Tweak regex to make sonar & lint happy
2023-07-13 14:08:18 +00:00
Richard van der Hoff 46c12a808f
Cypress test for QR code display (#11240) 2023-07-13 13:56:15 +00:00
Richard van der Hoff 2cfbd73cd3
Replace `getQRCodeBytes` with `generateQRCode` (#11241)
* Replace `getQRCodeBytes` with `generateQRCode`

* another test update

* remove obsolete snapshot
2023-07-13 13:55:55 +00:00
Germain 9077592bec
Make event highliht use primary content token (#11255) 2023-07-13 12:42:23 +00:00
Michael Telatynski b89b000f05
Update update-topics.yaml 2023-07-13 12:31:39 +01:00
Michael Telatynski 0e97a178e3
Fix regex not handling rc versions 2023-07-13 12:30:27 +01:00
Michael Telatynski 767c30f2ee
Update update-topics.yaml 2023-07-13 12:26:02 +01:00
Michael Telatynski fe3d7f3fa9
Update update-topics.yaml 2023-07-13 12:23:30 +01:00
Michael Telatynski 9856863b03
Update update-topics.yaml 2023-07-13 12:21:41 +01:00
Germain 06403d07f8
Fix event info events size and color (#11252) 2023-07-13 09:35:08 +00:00
renovate[bot] 231d3387e6
Update typescript-eslint monorepo to v5.61.0 (#25761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 09:21:37 +00:00
renovate[bot] d67db02eea
Update dependency stylelint-config-standard to v34 (#25765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 10:18:30 +01:00
Germain a5837597ff
Fix color mapping for blockquote border (#11251) 2023-07-13 09:17:53 +00:00
renovate[bot] d37702f6c2
Update dependency node to v18 (#11234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 09:15:17 +00:00
renovate[bot] 6508aca804
Update jest (#25760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 09:09:04 +00:00
renovate[bot] 30aff46e40
Update dependency @types/node to v16.18.38 (#25758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 08:53:29 +00:00
renovate[bot] f737d7dff0
Update typescript-eslint monorepo to v5.61.0 (#11233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 08:47:48 +00:00
alunturner f6ee109f9e
Integration work for rich text editor 2.3.1 (#11172)
* accompanying changes

* switch to set innerHTML

* bump rte to 2.3.1

* update types for dynamic import

* add comment

* Add comments to dynamic imports

* update comments
2023-07-13 07:26:33 +00:00
Germain 38d24f164a
Compound color pass (#11079)
* Integrate compound design tokens

The icons should not be included in this repo, and should live in the compound design token repo, but for simplicity sake at this phase of the integration they will be added here

* Pareto color pass on the light theme

* bugfixes in the light color pass

* Compound color pass dark theme

* Compound color pass high contrast

* Fix typo

* fix tooltip

* Fix PR feedback

* fix composer button mixin

* Normalise some of the auth page colors

* Update based on figma feedback

* lintfix

* regenerate theme index

* Fix cypress tests

Removed the CSS assertions in the room header as it overlaps with the Percy snapshot

* fix more e2e tests

* update colors based on feedback

* fix color pass

* Fix theme overrides

* Restore -transparent

* fix color mapping

* Final colour pass update

* Do not consume compound colors directly

* rethemedex

* Update pass

* Final tweaks

* a11y pass

* scope opacity to checkbox and not label

* Add missing customisations var for theming

* lintfix

* remove unwanted test
2023-07-12 17:46:49 +00:00
Kerry db52cdd02d
wait for audio tile to load more (#11242) 2023-07-12 16:03:57 +00:00
renovate[bot] 2ff966e802
Update babel monorepo (#11033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-12 15:25:56 +00:00
renovate[bot] da0b6580e5
Update babel monorepo (#25505)
* Update babel monorepo

* Add missing @babel/plugin-proposal-logical-assignment-operators dependency

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-12 14:59:32 +00:00
Michael Telatynski a4a70eb81b
Document `@media only percy` (#11244) 2023-07-12 14:57:01 +00:00
Michael Telatynski f1534fda79
Improve types (#11239) 2023-07-12 15:56:51 +01:00
Michael Telatynski 453a361017
Remove rageshake server from config.sample.json (#25772) 2023-07-12 13:11:49 +01:00
Michael Telatynski 44615b2b04
Strip emoji variation when searching emoji by emoji (#11221) 2023-07-12 07:26:13 +00:00
Michael Telatynski 5a701c418f
Update logging ignore list comment (#25769) 2023-07-11 23:39:16 +01:00
Kerry c5befa1ef8
Stabilize support for MSC3952: intentional mentions (#10967)
* enable feature_intentional_mentions with v1.7

* org.matrix.msc3952.mentions -> m.mentions

* update push rules test util

* only support stable version 1.7

* use stable values for msc3952 push rules

* use stable intentional mentions rule sin test models

* unstable feature in settings controller
2023-07-11 22:29:54 +00:00
Michael Telatynski abc559388e
Update update-topics.yaml 2023-07-11 16:29:28 +01:00
Richard van der Hoff 113b6301f8
Use cypress-terminal-report (#11226)
* Use cypress-terminal-report

This cypress plugin gives nice console logs about what is happening: I hope it
will help us debug mysteriously failing tests.

In its default config, it only logs for failing tests.

* another anti-morgan hack

* Disable collection of `console.debug`

* `ctr:info` is not real
2023-07-11 15:10:13 +00:00
RiotRobot 98f0735784 v1.11.36-rc.1 2023-07-11 16:01:18 +01:00
RiotRobot ea0edf75f7 Prepare changelog for v1.11.36-rc.1 2023-07-11 16:01:17 +01:00
RiotRobot 137f5c96d3 Upgrade matrix-react-sdk to 3.76.0-rc.1 2023-07-11 15:59:29 +01:00
RiotRobot f859db9054 Upgrade matrix-js-sdk to 27.0.0-rc.1 2023-07-11 15:58:50 +01:00
renovate[bot] 8bba3bb1a9
Update dependency @matrix-org/react-sdk-module-api to v1 (#11227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 14:33:28 +00:00
Florian Duros 21a1bdf7b7
Cypress: Add test to verify device after login (#11217)
* Run cypress test without `cryptoCallbacks`

* Add security phrase test

* Add security key test

* Fix type import

* Move new test in `verification.spec.ts`

* The nest tests work with the new crypto

* Fix import yupe
2023-07-11 14:18:46 +00:00
renovate[bot] 3b3f12fb97
Update dependency @matrix-org/react-sdk-module-api to v1 (#25754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 14:17:22 +00:00
Michael Telatynski a8f632ae19
Warn when demoting self via /op and /deop slash commands (#11214)
* Warn when demoting self via /op and /deop slash commands

* Iterate and DRY

* i18n

* Improve coverage

* Improve coverage

* Improve coverage

* Iterate
2023-07-11 12:53:33 +00:00