Commit graph

1948 commits

Author SHA1 Message Date
Richard van der Hoff
46c12a808f
Cypress test for QR code display (#11240) 2023-07-13 13:56:15 +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
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
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
Michael Telatynski
4207d182cd
Enable strictFunctionTypes (#11201) 2023-07-07 13:37:26 +01:00
ElementRobot
cf11b5f400 Reset matrix-js-sdk back to develop branch 2023-07-04 15:17:33 +01:00
ElementRobot
a89354b4a1 Resetting package fields for development 2023-07-04 15:17:05 +01:00
ElementRobot
948d5184b5 Merge branch 'master' into develop 2023-07-04 15:17:01 +01:00
ElementRobot
af683f06b5 v3.75.0 2023-07-04 15:16:51 +01:00
ElementRobot
1a902f4250 Upgrade matrix-js-sdk to 26.2.0 2023-07-04 15:11:14 +01:00
renovate[bot]
518c02a90e
Update all non-major dependencies (#11084)
* Update all non-major dependencies

* Hold back typescript & posthog-js

* Hold back posthog-js

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-28 14:55:40 +00:00
Johannes Marbach
bde51ae524
Update linkify to 4.1.1 (#11132)
* Update linkify to 4.1.1

Fixes: vector-im/element-web#23806

* Empty commit to nudge CI

* Remove obsolete `any` types

* Allow hyphens in domainpart

* Improve test name
2023-06-27 11:23:37 +00:00
ElementRobot
509cf255eb v3.75.0-rc.1 2023-06-27 12:03:58 +01:00
ElementRobot
a724c3da3e Upgrade matrix-js-sdk to 26.2.0-rc.1 2023-06-27 12:02:39 +01:00
renovate[bot]
0b77c060ea
Update emojibase monorepo to v15 (#11085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 13:40:20 +00:00
Florian Duros
b84a230d58
Cypress: Run setting up secure key backup should work test for both verified and unverified devices (#11119)
* Add `cypress-each` dev dependencies

* Run `setting up secure key backup should work` test for both verified and unverified device.
2023-06-20 15:27:18 +00:00
RiotRobot
f81115e57e Reset matrix-js-sdk back to develop branch 2023-06-20 10:20:09 +01:00
RiotRobot
41864bce4e Resetting package fields for development 2023-06-20 10:19:56 +01:00
RiotRobot
8cf1eb8cb6 Merge branch 'master' into develop 2023-06-20 10:19:49 +01:00
RiotRobot
21ab205f35 v3.74.0 2023-06-20 10:19:28 +01:00
RiotRobot
ef56fcf263 Upgrade matrix-js-sdk to 26.1.0 2023-06-20 10:18:01 +01:00
alunturner
fa31ed55d2
Update rich text editor dependency and associated changes (#11098)
* fix logic error

* update types

* extract message content to variable

* use the new messageContent property

* sort out mention types to make them a  map

* update getMentionAttributes to use AllowedMentionAttributes

* add plain text handling

* change type and handling for attributes when creating a mention in plain text

* tidy, add comment

* revert TS config change

* fix broken types in test

* update tests

* bump rte

* fix import and ts errors

* fix broken tests
2023-06-19 08:00:11 +00:00
Germain
4243847f4f
Integrate compound design tokens (#11091)
* 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

* lintfix

* Use correct SpyInstance import

* Using npm build of design tokens
2023-06-14 15:49:14 +00:00
RiotRobot
c534bde698 v3.74.0-rc1 2023-06-13 12:39:48 +01:00
RiotRobot
e30e7229c3 Upgrade matrix-js-sdk to 26.1.0-rc1 2023-06-13 12:32:59 +01:00
alunturner
53415bfdfe
Allow image pasting in rich text mode in RTE (#11049)
* add comments to rough first solution

* allow eventRelation prop to pass to both composers

* use eventRelation in image paste

* add image pasting to rich text mode of rich text editor

* extract error handling to function

* type the error handler

* add tests

* make behaviour mimic SendMessage

* add sad path tests

* refactor to use catch throughout

* update comments

* tidy up tests

* add special case and change function signature

* add comment

* bump rte to 2.2.2
2023-06-09 09:11:38 +00:00
RiotRobot
7a7e1fb43b Merge branch 'master' into develop 2023-06-09 09:42:59 +01:00
RiotRobot
da23fcea5e v3.73.1 2023-06-09 09:40:58 +01:00
RiotRobot
a0fbc766a3 Upgrade matrix-js-sdk to 26.0.1 2023-06-09 09:34:35 +01:00
renovate[bot]
b15b74c689
Update all non-major dependencies (#11032)
* Update all non-major dependencies

* Hold back typescript

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-08 07:41:15 +00:00
RiotRobot
fb8da4bdc5 v3.73.0 2023-06-06 14:25:56 +01:00
RiotRobot
56b7bdc486 Upgrade matrix-js-sdk to 26.0.0 2023-06-06 14:24:05 +01:00
RiotRobot
d0c1a8e69c Reset matrix-js-sdk back to develop branch 2023-06-06 14:26:37 +01:00
RiotRobot
c00a877514 Resetting package fields for development 2023-06-06 14:26:21 +01:00
RiotRobot
bf1dd36d67 Merge branch 'master' into develop 2023-06-06 14:26:15 +01:00
renovate[bot]
6a46061732
Update dependency axe-core to v4.7.2 (#11030)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-06 10:58:03 +00:00
Michael Telatynski
c47b587225
Switch from grapheme-splitter to graphemer (#11037) 2023-06-05 14:39:46 +00:00
ElementRobot
bcf5b9013e v3.73.0-rc.3 2023-06-01 17:00:20 +01:00
ElementRobot
40a66ec745 Upgrade matrix-js-sdk to 26.0.0-rc.1 2023-06-01 16:58:33 +01:00
ElementRobot
c494e3c049 Merge branch 'develop' into staging
# Conflicts:
#	package.json
#	src/components/views/settings/tabs/user/GeneralUserSettingsTab.tsx
2023-06-01 16:50:29 +01:00
Michael Telatynski
f4a265b2c7
Use grapheme-splitter instead of lodash for saving emoji from being ripped apart (#10976)
* Use grapheme-splitter instead of lodash for saving emoji from being ripped apart

* Move to a more appropriate place

* Add tests and improve types
2023-05-25 08:32:20 +00:00
Oliver Sand
a0c2676c38
Pass device id to widgets (#10209)
* Pass device id to widget

Implement the [comment in MSC 3819](https://github.com/matrix-org/matrix-spec-proposals/pull/3819#discussion_r1099833846) which requests passing a device id to a widget.

This is based on the previous work in the matrix-widget-api: https://github.com/matrix-org/matrix-widget-api/pull/78

Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>

* Include all data that is shared in the permissions screen

* Update matrix-widget-api to version 1.4.0

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Fix type and test

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

---------

Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
Co-authored-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-05-23 13:35:31 +00:00
Michael Telatynski
72d1bd910a
Switch from cheerio to DOMParser (#10929)
* Add tests around feature_latex_maths

* Switch from cheerio to DOMParser

* strict

* Iterate
2023-05-23 13:31:05 +00:00
renovate[bot]
151b0efe73
Update dependency posthog-js to v1.57.2 [SECURITY] (#10966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-05-23 13:06:54 +00:00
ElementRobot
f988a930d3 v3.73.0-rc.2 2023-05-19 16:55:51 +01:00
ElementRobot
3a27ecfb8b Upgrade matrix-js-sdk to 25.2.0-rc.5 2023-05-19 16:52:17 +01:00
Michael Telatynski
2da199c41d
Remove url npm dependency and use Web URL constructor (#10930) 2023-05-17 12:50:00 +01:00
renovate[bot]
c3687489dd
Update all non-major dependencies (#10922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 07:41:34 +00:00
renovate[bot]
6f1020bb92
Update dependency stylelint-config-standard to v33 (#10650)
* Update dependency stylelint-config-standard to v33

* stylelint allow consecutive-duplicates-with-different-values

* Make prettier happy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-05-16 15:41:04 +00:00
renovate[bot]
fe3d13439b
Update dependency eslint-plugin-unicorn to v47 (#10923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:22:38 +00:00