Commit Graph

1517 Commits

Author SHA1 Message Date
Andy Balaam
6b73700b05
Merge pull request #11892 from matrix-org/andybalaam/bump-rich-text-editor-to-2-17-0
Bump matrix-wysiwyg to 2.17.0
2023-11-17 13:01:44 +00:00
R Midhun Suresh
085b39c7af
Use knapsack pro to speed up cypress tests (#11863)
* Install knapsack pro

* Use knapsack pro command

* Lint

* Use chrome

* Add test file pattern

* Use two different tokens for knapsack

* Use the correct secret

* Update lockfile

* Fix conflict

* Remove redundant options

* Add explaining comment

* Remove outdated variables and steps

* Update comment

* Fix conflict

* Use the chrome we setup earlier

* Add back percy config

* Set knapsack pro branch

* Use github_env to get browser path

* Add badge to readme

* Update .github/workflows/cypress.yaml

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Apply prettier

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-16 16:11:03 +00:00
Andy Balaam
32d1bb0498 Bump matrix-wysiwyg to 2.17.0 2023-11-16 13:54:55 +00:00
Michael Telatynski
39801b4c35
Remove unused dependencies and add transitive deps (#11850)
* Remove unused dependencies and add transitive deps

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

* Iterate

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

* prettier

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

* prettier

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-16 10:42:08 +00:00
renovate[bot]
43909ae44f
Update definitelyTyped (#11874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-16 09:07:58 +00:00
Germain
f96583e74a
Update RoomSummaryCard navigation links (#11812)
* Update RoomSummaryCard navigation links

* Fix tests

* remove unneeded test

* "@vector-im/compound-web": "0.8.0"

* Fix: search button no transition on hover

* Fix: disabled invite option is not reflected in UI

* test canInviteTo

* update snapshots for CW 0.8.1

* unit test inviteToRoom

* unit test tagRoom

* add member link to roomsummarycard when using legacy room header

* use onChange instead of onClick for ToggleMenuItem favourite room

* update selectors in cypress tests

* always show people menu item

* add hover style to close button

* add padding around room name

* prettier

---------

Co-authored-by: Kerry Archibald <kerrya@element.io>
2023-11-16 03:25:34 +00:00
renovate[bot]
e162814a15
Update matrix-org (#11818)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 23:21:43 +00:00
renovate[bot]
29bddc10d7
Update babel monorepo to v7.23.3 (#11873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-15 23:12:09 +00:00
renovate[bot]
735ba6fd90
Update linkify to v4.1.2 (#11877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-15 23:11:50 +00:00
renovate[bot]
282e0da0a9
Update all non-major dependencies (#11878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 22:48:49 +00:00
renovate[bot]
d4b191bd36
Update dependency @types/jest to v29.5.8 (#11876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 22:45:37 +00:00
RiotRobot
47d61b6aee Upgrade matrix-js-sdk to 30.1.0-rc.1 2023-11-14 15:56:23 +00:00
RiotRobot
48502720a5 Upgrade matrix-js-sdk to v30.1.0-rc.0 2023-11-14 14:39:46 +00:00
ElementRobot
6ee8349f7c Reset matrix-js-sdk back to develop branch 2023-11-13 09:53:28 +00:00
ElementRobot
c86e88d043 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2023-11-13 09:51:50 +00:00
ElementRobot
87276c54eb Upgrade matrix-js-sdk to 30.0.1 2023-11-13 09:46:31 +00:00
Charly Nguyen
47a4e4a52a
Adapt the rendering of extra icons in the room header (#11835)
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-11-09 11:23:30 +00:00
R Midhun Suresh
5023ed9e03
Remove sorry-cypress 2023-11-08 23:54:53 +05:30
renovate[bot]
b8f9ef7699
Update vector-im (#11816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Johannes Marbach <johannesm@element.io>
2023-11-08 07:33:34 +00:00
ElementRobot
5ae461989d Reset matrix-js-sdk back to develop branch 2023-11-07 15:16:21 +00:00
ElementRobot
0ba9b47227 Merge branch 'master' into develop 2023-11-07 15:16:01 +00:00
ElementRobot
be492060d9 Upgrade matrix-js-sdk to 30.0.0 2023-11-07 15:14:05 +00:00
Charly Nguyen
01e7e01153
Allow adding extra icons to the room header (#11799)
* Allow adding extra icons to the room header

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

---------

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-11-01 12:03:10 +00:00
renovate[bot]
501130d057
Update definitelyTyped (#11813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-01 09:04:47 +00:00
renovate[bot]
7826c62d28
Update all non-major dependencies (#11817)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-01 08:36:41 +00:00
renovate[bot]
6f40e09ddb
Update dependency eslint-plugin-unicorn to v49 (#11821)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 17:16:23 +00:00
renovate[bot]
7fd042d837
Update sentry-javascript monorepo to v7.76.0 (#11819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 17:14:55 +00:00
renovate[bot]
f89ae2cbf6
Update dependency @types/jest to v29.5.6 (#11814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 17:08:25 +00:00
renovate[bot]
9db0aa3bbf
Update babel monorepo (#11619)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 15:53:35 +00:00
ElementRobot
1b8b42f5cf Upgrade matrix-js-sdk to 30.0.0-rc.1 2023-10-31 14:45:58 +00:00
Hubert Chathi
c4852dd216
Use olm from default npm registry, since it's there now (#11807)
and bump to latest version
2023-10-27 21:37:02 +00:00
ElementRobot
6e24b4d221 Reset matrix-js-sdk back to develop branch 2023-10-24 15:35:55 +01:00
ElementRobot
beb54fbf19 Merge branch 'master' into develop 2023-10-24 15:35:15 +01:00
ElementRobot
ef7132523b Upgrade matrix-js-sdk to 29.1.0 2023-10-24 15:31:58 +01:00
Germain
f784a085fd
New right panel visual language (#11664)
* New right panel visual language

* Upgrade Compound

* Align old room header with right panel

* Rigth panel look and feel

* Fix linting and e2e tests

* Update snapshot

* Add test

* Lint

* Remove screenshot local script

* Update snapshots and UI based on feedback

* fix i18n key

* Update right panel visuals

* Fix tests

* lintfixes

* fix tests

* fix tests

* Add tests for search icon

* Fix invite dialog spec
2023-10-20 13:30:37 +00:00
renovate[bot]
5a961795bc
Update matrix-org (#11625)
* Update matrix-org

* Update analytics calls

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

* Hold back wysiwyg

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-19 08:02:24 +00:00
renovate[bot]
68392e2ce1
Update react-types (#11565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-19 08:56:37 +01:00
renovate[bot]
67452f5021
Update all non-major dependencies (#11618)
* Update all non-major dependencies

* Fix types

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

* highlight.js breaking change

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

* Hold back jest-sonar-reporter

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-18 16:18:13 +00:00
renovate[bot]
ea19aa17e1
Update dependency @testing-library/dom to v9 (#11768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 16:09:35 +00:00
renovate[bot]
3bf5bcbd2b
Update dependency emojibase-regex to v15.2.0 (#11767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 16:00:10 +00:00
renovate[bot]
49cfde82de
Update sentry-javascript monorepo to v7.74.0 (#11626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:20:56 +00:00
renovate[bot]
087ed6dbfc
Update definitelyTyped (#11620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-17 18:17:09 +01:00
renovate[bot]
aaa11323d4
Update dependency axe-core to v4.8.2 (#11622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:20:08 +00:00
renovate[bot]
2849f3c9ec
Update dependency @percy/cli to v1.27.3 (#11707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:20:03 +00:00
dependabot[bot]
00c7152ef5
Bump @babel/traverse from 7.22.15 to 7.23.2 (#11758)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 16:15:00 +01:00
ElementRobot
a00e27d6b2 Upgrade matrix-js-sdk to 29.1.0-rc.1 2023-10-17 15:12:23 +01:00
Michael Telatynski
fe3ad78a02
Show io.element.late_event in MessageTimestamp when known (#11733)
* Use Compound tooltips on MessageTimestamp to improve UX of date time discovery

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

* Show io.element.late_event in MessageTimestamp when known

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

* Update snapshot

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

* Avoid needing new Compound changes

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

* Update snapshot

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

* Update compound-web

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

* Update identifiers

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

* Add tests

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

* Fix types

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

* Switch to snapshots

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-14 12:25:36 +00:00
Michael Telatynski
a267b86fef
Fix some of the peer dependency unmet warnings (#11745)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-13 13:39:28 +00:00
renovate[bot]
3bd6dd9143
Update vector-im (#11621)
* Update vector-im

* Update snapshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-12 11:12:59 +00:00
dependabot[bot]
4115bae3e1
Bump postcss from 8.4.24 to 8.4.31 (#11714)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.24 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.24...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 07:30:37 +00:00
RiotRobot
217073b7f5 Reset matrix-js-sdk back to develop branch 2023-10-10 09:23:03 +01:00
RiotRobot
384e01481a Merge branch 'master' into develop 2023-10-10 09:22:45 +01:00
RiotRobot
2cf302ccf3 Upgrade matrix-js-sdk to 29.0.0 2023-10-10 09:18:08 +01:00
Michael Telatynski
9d1f10e4be
Update workflows around i18n to use Localazy (#11455)
* Remove prunei18n

* Update README

* Update matrix-web-i18n

* Iterate

* Add feature=filter_untranslated

* yarn.lock

* Update localazy.json

* Update package.json

* Update localazy.json

* Update matrix-web-i18n and update i18n:lint

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

* Iterate

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

* Iterate

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

* Remove stale workflow

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

* Localazy Download

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

* i18n

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

* Localazy Download

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-04 09:28:09 +00:00
RiotRobot
f0dff0b4ed Upgrade matrix-js-sdk to 29.0.0-rc.1 2023-10-03 11:46:07 +01:00
Michael Telatynski
632d8f4bc7
Update custom translations to support nested fields in structured JSON (#11685)
* Update matrix-web-i18n

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

* Fix custom translations for structured JSON nested fields

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

* Fix import

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

* Fix export

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

* Update @matrix-org/react-sdk-module-api

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

* Iterate

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

* Delint

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

* Iterate

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

* Update matrix-web-i18n

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

* Update matrix-web-i18n

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-02 10:44:25 +00:00
Andy Balaam
ea6cc0fde4 Downgrade Cypress to v12.
(On the understanding that v12 will continue to allow us to use
the sorry-cypress service for balancing test parallelisation.)

Reverts "Update dependency cypress to v13 (#11570)"
This reverts commit 35a6595080.
2023-10-02 10:11:31 +01:00
RiotRobot
695049729c Reset matrix-js-sdk back to develop branch 2023-09-29 11:14:46 +01:00
Michael Telatynski
e0f4b26512
Remove focus-visible polyfill (#11677)
* Remove focus-visible polyfill

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

* Update snapshots

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-28 11:52:26 +00:00
RiotRobot
259bef0fce Reset matrix-js-sdk back to develop branch 2023-09-26 13:05:19 +01:00
RiotRobot
0c6e56ca91 Merge branch 'master' into develop 2023-09-26 13:00:53 +01:00
RiotRobot
b3778f5beb Upgrade matrix-js-sdk to 28.2.0 2023-09-26 12:36:02 +01:00
Andy Balaam
50110ba253 Merge pull request #11634 from matrix-org/germain-gg/facepile-offset
Revert "Fix regression around FacePile with overflow (#11527)"

(cherry picked from commit 875fcb1a32)
2023-09-26 09:53:27 +01:00
Andy Balaam
875fcb1a32
Merge pull request #11634 from matrix-org/germain-gg/facepile-offset
Revert "Fix regression around FacePile with overflow (#11527)"
2023-09-26 09:49:37 +01:00
Michael Telatynski
24b10a87c0
Switch to sorry-cypress (#11668) 2023-09-26 07:17:14 +01:00
Michael Telatynski
f4d056fd38
Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
Germain
899cc53a3e upgrade snapshots 2023-09-22 09:35:36 +01:00
Germain
224f34c211
Merge branch 'develop' into germain-gg/facepile-offset 2023-09-22 08:46:37 +01:00
renovate[bot]
b379f8314f
Update jest (#11623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 00:18:31 +00:00
Dominik Henneke
60bed46014
Add an action to upload media files according to MSC4039 (#11311)
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-09-21 19:03:22 +00:00
Germain
bf1db5c9e5 upgrade compound web 2023-09-21 11:19:58 +01:00
Michael Telatynski
38315b5e2b
Switch from zxcvbn to @zxcvbn-ts (#11611)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-09-19 22:34:41 +01:00
RiotRobot
297e524074 Upgrade matrix-js-sdk to 28.2.0-rc.1 2023-09-19 12:41:50 +01:00
RiotRobot
da1daa1b18 Reset matrix-js-sdk back to develop branch 2023-09-13 12:02:40 +01:00
RiotRobot
2d5e486db6 Merge branch 'master' into develop 2023-09-13 12:01:35 +01:00
Michael Telatynski
4deb864322
Update Compound to fix Firefox-specific avatar regression (#11604) 2023-09-13 11:32:47 +01:00
ElementRobot
6f8f97ba35 Reset matrix-js-sdk back to develop branch 2023-09-12 17:04:51 +01:00
ElementRobot
6a4915ac98 Merge branch 'master' into develop
# Conflicts:
#	res/css/views/avatars/_BaseAvatar.pcss
2023-09-12 16:59:39 +01:00
ElementRobot
5cd6570a5d Upgrade matrix-js-sdk to 28.1.0 2023-09-12 16:56:34 +01:00
renovate[bot]
8837e5212a
Update dependency axe-core to v4.8.0 (#11585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 09:02:41 +00:00
renovate[bot]
d30c85772a
Update all non-major dependencies (#11383)
* Update all non-major dependencies

* Pin back eslint-plugin-deprecate

* Fix types

* typo

* Fix more typos

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 17:40:51 +00:00
dependabot[bot]
80109b4c99
Bump tough-cookie from 4.1.2 to 4.1.3 (#11583)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 16:57:48 +00:00
renovate[bot]
06b35cd2a2
Update jest (#11564)
* Update jest

* Fix tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 16:34:52 +00:00
renovate[bot]
35a6595080
Update dependency cypress to v13 (#11570)
* Update dependency cypress to v13

* Update cypress.config.ts

* Fix test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 15:07:39 +00:00
renovate[bot]
4a6a5055d1
Update babel monorepo (#11562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 08:59:16 +00:00
renovate[bot]
1f2e43a8b2
Update sentry-javascript monorepo to v7.66.0 (#11568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 08:53:58 +00:00
renovate[bot]
d19a0e0044
Update definitelyTyped (#11563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 07:43:27 +00:00
renovate[bot]
f4dc264508
Update dependency @percy/cli to v1.27.1 (#11567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 18:38:17 +00:00
ElementRobot
3c3438f000 Upgrade matrix-js-sdk to 28.1.0-rc.1 2023-09-05 16:56:48 +01:00
renovate[bot]
d34dc0c307
Update vector-im (#11526)
* Update vector-im

* Update snapshots of Compound Avatars

* Update snapshots of Compound Avatars

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-05 08:09:36 +00:00
Germain
d551469543
Room header UI updates (#11507)
* Fix performance issues with useRoomMembers

With the current implementation it would create a new function, with leading: true, rendering the whole throttling useless

* Add public room indicator

* Format room members count better

* Add public room test

* Add search to room summary card

* Update settings UI

* Update snapshot

* Remove default title attribute
2023-09-01 09:45:50 +00:00
dependabot[bot]
2bc129b848
Bump @adobe/css-tools from 4.2.0 to 4.3.1 (#11485)
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.2.0 to 4.3.1.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 07:17:41 +00:00
Johannes Marbach
e8e56f8164
Revert "Update react-types (#10762)" (#11476)
This reverts commit 133e973955.
2023-08-29 11:39:52 +00:00
RiotRobot
e73cda1b56 Reset matrix-js-sdk back to develop branch 2023-08-29 11:00:55 +01:00
RiotRobot
93524237a7 Merge branch 'master' into develop 2023-08-29 11:00:32 +01:00
RiotRobot
71a5df3014 Upgrade matrix-js-sdk to 28.0.0 2023-08-29 10:58:12 +01:00
renovate[bot]
133e973955
Update react-types (#10762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 19:06:37 +00:00
Germain
23897dff4f
Fix colour of avatar and colour matching with username (#11470)
* Use consistent colouring of username with avatar

* Upgrade Compound to fix Firefox issue

* Use the approapriate color shade for usernames

* Use the approapriate color shade for usernames

* Upgrade Compound

* Fix tests
2023-08-24 17:12:28 +00:00
renovate[bot]
2d2841930a
Update dependency babel-jest to v29.6.2 (#11410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-24 13:06:19 +00:00
Richard van der Hoff
839c0a720c
Lock out the first tab if Element is opened in a second tab. (#11425)
* Implement session lock dialogs

* Bump analytics-events package

* clean up resetJsDomAfterEach

* fix types

* update snapshot

* update i18n strings
2023-08-24 08:28:43 +00:00
renovate[bot]
0045b0d982
Update dependency @testing-library/jest-dom to v6 (#11462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 14:22:30 +00:00
renovate[bot]
b2fddd2776
Update sentry-javascript monorepo to v7.64.0 (#11461)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 14:20:46 +00:00
renovate[bot]
2478346c9f
Update definitelyTyped (#11460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 14:20:20 +00:00
Germain
3acc9059ab
Add Voice and Video call in room header (#11444)
* Add Voice and Video call in room header

* Add thread icon in room header

* Add room notification icon to room header

* Fix linting

* Add tests for buttons in room header

* Add JSDoc

* micro optimisations

* Fix call disabled when hanging up

* Fix disabled state change on members count update

* Exclude functional members from members count optionally

* i18n
2023-08-23 14:13:40 +00:00
RiotRobot
d2b287cb29 Upgrade matrix-js-sdk to 28.0.0-rc.1 2023-08-22 15:26:53 +01:00
Richard van der Hoff
d13b6e1b41
Add mechanism to check only one instance of the app is running (#11416)
* Add mechanism to check only one instance of the app is running

This isn't used yet, but will form part of the solution to
https://github.com/vector-im/element-web/issues/25157.

* disable instrumentation for SessionLock

* disable coverage reporting

* exclude SessionLock in sonar.properties

* Revert "disable coverage reporting"

This reverts commit 80c4336f76ec8e47e376b6744ef612a73299d14f.

* only disable session storage

* use pagehide instead of visibilitychange

* Add `checkSessionLockFree`

* Give up waiting for a lock immediately when someone else claims

* Update src/utils/SessionLock.ts
2023-08-22 14:10:47 +00:00
Michael Telatynski
d4571aef68
Consume @matrix-org/emojibase-bindings (#11433) 2023-08-21 20:06:40 +01:00
maheichyk
4e4016dffc
Bump module api from 2.0.0 to 2.1.0 (#11442)
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-08-21 17:09:37 +00:00
Dominik Henneke
5c43054bfe
Implement updated open dialog method of the Module API (#11395)
* Implement updated open dialog method

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

* Apply the review comments

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

* Add unit tests for the module system dialog

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

* Bump @matrix-org/react-sdk-module-api from 1.0.0 to 2.0.0

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

* Run prettier

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

* Apply review comments

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

---------

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-08-21 12:09:17 +00:00
Michael Telatynski
3a647229ad
Update matrix-web-i18n (#11436) 2023-08-21 11:36:17 +00:00
Michael Telatynski
d81f71f993
Load SAS Emoji translations from @matrix-org/spec (#11429)
* Remove last instance of componentWillMount

* Load SAS Emoji translations from @matrix-org/spec

* Fix import

* Test normalisation on both sides

* update comment for @richvdh

* Delint
2023-08-21 08:15:22 +00:00
renovate[bot]
4a91a29d8c
Update dependency eslint-config-prettier to v9 (#11389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 04:28:29 +00:00
Michael Telatynski
aee6247ad8
Switch to nested object pluralisation format for i18n files (#11412) 2023-08-16 20:08:54 +01:00
Richard van der Hoff
7a6d81c3b8
Update Jest to more recent release (#11409)
* Update Jest to more recent release

I want to use things like `jest.advanceTimersByTimeAsync`

* more jest updates

* add dep on types/prettier

* fix LegacyRoomHeader-test

* fix MatrixChat-test

* fix RoomView-test

* fix PollHistory-test

* update SidebarUserSettingsTab-test

* fix PipContainer-test

* fix UserOnboardingPage-test

* fix WidgetContextMenu-test.tsx

* Avoid `mockImplementation` for mock `matchMedia` impl

`mockImplementation` is (now) reset by `jest.resetAllMocks` and
`jest.restoreAllMocks`, which we don't really want here.

Fixes `theme-test`

* Move `mediaDevices` mock out of `setupManualMocks`

This doesn't work well in test suites with multiple tests, because the
`mockReturnValue` is reset for subsequent tests.

In any case, having it mocked out automagically is *magical*. Let's make it
opt-in.

* fix FormattingButtons-test.tsx

* fix DeviceListenerTest

* fix RoomTile-test
2023-08-16 10:20:48 +00:00
Michael Telatynski
0842559fb2
Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
ElementRobot
65b518dfe1 Reset matrix-js-sdk back to develop branch 2023-08-15 13:24:41 +01:00
ElementRobot
bba980cd8a Merge branch 'master' into develop 2023-08-15 13:24:27 +01:00
ElementRobot
50d1122823 Upgrade matrix-js-sdk to 27.2.0 2023-08-15 13:22:28 +01:00
Richard van der Hoff
f65c6726c9
Add a cypress test for SSO login (#11401)
* Allow `startHomeserver` to take an options object

... so that we can add more options

* Add a Cypress test for SSO login
2023-08-14 11:08:12 +00:00
renovate[bot]
fe907ed66a
Update dependency @percy/cli to v1.26.3 (#11386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 20:36:59 +00:00
renovate[bot]
445d9133c9
Update sentry-javascript monorepo to v7.61.1 (#11387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:36:44 +00:00
renovate[bot]
05ccfaafb5
Update babel monorepo to v7.22.10 (#11384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:34:34 +00:00
renovate[bot]
e71375710c
Update definitelyTyped (#11385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 14:33:39 +00:00
ElementRobot
9b84d32986 Upgrade matrix-js-sdk to 27.2.0-rc.1 2023-08-08 15:10:48 +01:00
RiotRobot
f0d58d25dc Reset matrix-js-sdk back to develop branch 2023-08-04 09:26:06 +01:00
Michael Telatynski
44f51fd1cb
Clear requiresClient and show pop-out if widget-api fails to ready (#11321)
* Clear requiresClient and show pop-out if widget-api fails to ready

* Upgrade matrix-widget-api
2023-08-03 10:14:15 +00:00
Germain
05b88d99ed
Upgrade compound-web@0.2.3 (#11357)
Because it did not work for production node environments before
2023-08-03 08:49:50 +00:00
Germain
d49581344e
Integrate @vector-im/compound-web (#11354)
* Create useRoomName hook

Mark RoomName component as deprecated

* Pass out-of-band data to relevant RoomHeader component

* Mark LegacyRoomHeader as deprecated

* Fix incorrect search&replace in _RoomHeader.pcss

* lintfix

* Mark room as optional in room topic hook

* Fix i18n

* Discard use of useCallback

* Change export of useRoomName

* fix ts issue

* lints

* Add room topic to room header

* lintfix

* lintfix & clamp to one line

* Revert optimisations to DecoratedRoomAvatar

* Add test for opening the room summary

* Make transition honour prefer-reduced-motion

* Integrate @vector-im/compound-web

* Use compound type styles

* Use latest version of @vector-im/compound-web

* Change component name

* Fallback when room is undefined

* fix snapshot
2023-08-02 13:03:04 +00:00
ElementRobot
9026996d9e Reset matrix-js-sdk back to develop branch 2023-08-01 12:40:16 +01:00
ElementRobot
7d72a011e3 Merge branch 'master' into develop 2023-08-01 12:39:45 +01:00
ElementRobot
eda8cd88eb Upgrade matrix-js-sdk to 27.1.0 2023-08-01 12:38:11 +01:00
Germain
c037b847da
Upgrade wysiwyg editor for ctrl+backspace windows fix (#11324)
* Upgrade wysiwyg editor for ctrl+backspace windows fix

* upgrade lockfile

* Fix after upgrading the wysiswyg package
2023-07-28 08:03:00 +00:00
dependabot[bot]
c26998967a
Bump word-wrap from 1.2.3 to 1.2.5 (#11334)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 13:03:01 +00:00
renovate[bot]
5405c22db1
Update all non-major dependencies (#11329)
* Update all non-major dependencies

* Add isLocation to ComposerEvent analytics events

* Remove cypress-each as it is incompatible with modern typescript

* Roll back eslint-plugin-deprecate

* Remove stale comment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-27 11:34:44 +00:00
renovate[bot]
b0317e6752
Update dependency eslint-plugin-unicorn to v48 (#11331)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:20:29 +00:00
renovate[bot]
4a172ce225
Update definitelyTyped (#11328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:19:11 +00:00
renovate[bot]
35740a6e6f
Update babel monorepo to v7.22.9 (#11327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:18:59 +00:00
renovate[bot]
9f0537527e
Update sentry-javascript monorepo to v7.60.0 (#11330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:18:43 +00:00
renovate[bot]
60043597ec
Update dependency stylelint-config-standard to v34 (#11236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:44:05 +00:00
ElementRobot
84ce5cbb59 Upgrade matrix-js-sdk to 27.1.0-rc.1 2023-07-27 09:38:15 +01:00
Michael Telatynski
5fbdbccdc6
Temporarily add missing @types imports (#11309)
* Add CI to typecheck without yarn link like in release process

* Temporarily add missing @types imports
2023-07-25 08:29:52 +00:00
RiotRobot
86bd66b7c3 Reset matrix-js-sdk back to develop branch 2023-07-18 13:34:50 +01:00
RiotRobot
5881df3f41 Merge branch 'master' into develop 2023-07-18 13:33:41 +01:00
RiotRobot
f0f1f0c1f5 Upgrade matrix-js-sdk to 27.0.0 2023-07-18 13:30:17 +01:00
renovate[bot]
69a441d5c7
Update dependency @percy/cli to v1.26.2 (#11231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 18:01:04 +00:00
renovate[bot]
31d32f5718
Update sentry-javascript monorepo to v7.58.0 (#11232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 18:00:49 +00:00
RiotRobot
fe947dca9e Upgrade matrix-js-sdk to 27.0.0-rc.2 2023-07-14 16:14:48 +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
Richard van der Hoff
46c12a808f
Cypress test for QR code display (#11240) 2023-07-13 13:56:15 +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
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
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
RiotRobot
dc679052c0 Upgrade matrix-js-sdk to 27.0.0-rc.1 2023-07-11 13:46:05 +01:00
dependabot[bot]
400c91b8fa
Bump semver from 5.7.1 to 5.7.2 (#11220)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:06:06 +00:00
dependabot[bot]
c47ebb9342
Bump stylelint from 15.9.0 to 15.10.1 (#11205)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.9.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.9.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 08:18:37 +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
948d5184b5 Merge branch 'master' into develop 2023-07-04 15:17:01 +01:00
ElementRobot
1a902f4250 Upgrade matrix-js-sdk to 26.2.0 2023-07-04 15:11:14 +01:00
renovate[bot]
ac9dd8307f
Update dependency @types/node to v16.18.36 (#11075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-28 15:17:40 +00: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
renovate[bot]
dddab6d54a
Update sentry-javascript monorepo to v7.56.0 (#11147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 14:53:48 +00:00
renovate[bot]
ff2f8692dd
Update dependency @percy/cli to v1.26.1 (#11146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 14:22:23 +00:00
renovate[bot]
3d886de5b0
Update typescript-eslint monorepo to v5.60.0 (#11148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 12:15:21 +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
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
8cf1eb8cb6 Merge branch 'master' into develop 2023-06-20 10:19:49 +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
e30e7229c3 Upgrade matrix-js-sdk to 26.1.0-rc1 2023-06-13 12:32:59 +01:00
renovate[bot]
a40d1ec670
Update definitelyTyped (#11065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-12 12:47:59 +00: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
72e6c10f0d Reset matrix-js-sdk back to develop branch 2023-06-09 09:45:28 +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
renovate[bot]
c42a7769e9
Update definitelyTyped (#11028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-06 11:09:24 +00:00
RiotRobot
d0c1a8e69c Reset matrix-js-sdk back to develop branch 2023-06-06 14:26:37 +01:00
RiotRobot
bf1dd36d67 Merge branch 'master' into develop 2023-06-06 14:26:15 +01:00
RiotRobot
56b7bdc486 Upgrade matrix-js-sdk to 26.0.0 2023-06-06 14:24:05 +01:00
renovate[bot]
9889907ad0
Update typescript-eslint monorepo to v5.59.7 (#11031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-06 11:07:15 +00:00
renovate[bot]
2513507538
Update dependency @percy/cli to v1.25.0 (#11029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-06 11:04:01 +00:00
renovate[bot]
e22d9b53d8
Update sentry-javascript monorepo to v7.53.1 (#11034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-06 11:01:42 +00: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
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
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
3a27ecfb8b Upgrade matrix-js-sdk to 25.2.0-rc.5 2023-05-19 16:52:17 +01:00
renovate[bot]
dcac340fdc
Update dependency @percy/cli to v1.24.1 (#10936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 08:31:25 +00:00
Michael Telatynski
2da199c41d
Remove url npm dependency and use Web URL constructor (#10930) 2023-05-17 12:50:00 +01:00
renovate[bot]
ae0fe051b0
Update definitelyTyped (#10926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 08:10:53 +00: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]
9d0960ed06
Update sentry-javascript monorepo to v7.51.2 (#10920)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:31:33 +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
renovate[bot]
57bcc5779f
Update typescript-eslint monorepo to v5.59.5 (#10921)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:22:24 +00:00
renovate[bot]
be769ff246
Update dependency axe-core to v4.7.1 (#10919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:11:01 +00:00
renovate[bot]
6e95e92b11
Update dependency @types/node to v16.18.30 (#10918)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:10:03 +00:00
ElementRobot
ad4788e186 Upgrade matrix-js-sdk to 25.2.0-rc.2 2023-05-16 14:06:07 +01:00
renovate[bot]
1c0785ce15
Update dependency axe-core to v4.7.0 (#10645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 14:00:23 +00:00
Robin
87e2274ae7
Enable pagination for overlay timelines (#10757)
* Update @types/jest to 29.2.6

This adds the correct types for the contexts field on mock objects, which I'll need shortly

* Enable pagination for overlay timelines
2023-05-12 16:27:41 +00:00
Michael Telatynski
15ed660975
Improve bundle size, dynamic imports & remove parse5 (#10865)
* Remove unused import

* Lazy load tar-js and pako for rageshakes

* Update cheerio imports

* Replace parse5 with DOMParser

* Remove stale comment
2023-05-12 11:13:08 +00:00
RiotRobot
a18e66c69b Reset matrix-js-sdk back to develop branch 2023-05-10 12:21:14 +01:00
RiotRobot
f020235958 Merge branch 'master' into develop 2023-05-10 12:20:40 +01:00
RiotRobot
5a2043b472 Upgrade matrix-js-sdk to 25.1.0 2023-05-10 12:14:51 +01:00
Michael Telatynski
52017f62e1
Conform more of the codebase to strictNullChecks (#10738) 2023-05-09 18:24:40 +01:00
renovate[bot]
81a23accd0
Update babel monorepo (#10761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 13:12:05 +00:00
renovate[bot]
631ac742aa
Update sentry-javascript monorepo to v7.51.0 (#10647)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 12:36:03 +00:00
renovate[bot]
e27c484059
Update typescript-eslint monorepo to v5.59.2 (#10763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 12:35:01 +00:00
renovate[bot]
ede2132560
Update dependency @percy/cli to v1.24.0 (#10764)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-05-02 21:39:58 +00:00
renovate[bot]
2f7514068a
Update dependency stylelint-scss to v5 (#10766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-05-02 21:22:09 +00:00
renovate[bot]
e7f5261eda
Update dependency memoize-one to v6 (#10765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 16:01:56 +00:00
RiotRobot
a806c165c9 Upgrade matrix-js-sdk to 25.1.0-rc.1 2023-05-02 11:37:01 +01:00
renovate[bot]
6e87802add
Update definitelyTyped (#10642)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 12:55:17 +00:00
renovate[bot]
9970ee6973
Update typescript-eslint monorepo to v5.59.0 (#10648)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 09:55:22 +00:00
Michael Telatynski
8783021e53
Fix Clock being read as an absolute time rather than duration (#10706)
* Fix Clock being read as an absolute time rather than duration

* Round durations and update snapshots
2023-04-25 17:10:46 +01:00
RiotRobot
621fdf1313 Reset matrix-js-sdk back to develop branch 2023-04-25 10:59:51 +01:00
RiotRobot
cd138b047c Merge branch 'master' into develop 2023-04-25 10:58:07 +01:00
RiotRobot
eeaada34aa Upgrade matrix-js-sdk to 25.0.0 2023-04-25 10:51:30 +01:00
RiotRobot
e263e2d152 Reset matrix-js-sdk back to develop branch 2023-04-25 10:17:34 +01:00
RiotRobot
18c15036b7 Merge branch 'master' into develop 2023-04-25 10:16:24 +01:00
renovate[bot]
aff3bd6e32
Update all non-major dependencies (#10644)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-19 03:29:21 +00:00
renovate[bot]
12cd87f497
Update dependency rimraf to v5 (#10649)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-19 03:24:18 +00:00
renovate[bot]
77a54619dc
Update dependency @types/react to v17.0.58 (#10643)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 15:17:22 +01:00
RiotRobot
4da4ed02a9 Upgrade matrix-js-sdk to 25.0.0-rc.1 2023-04-18 11:52:07 +01:00
Richard van der Hoff
3c4fa8b430
Improve output in github actions for jest tests (#10569) 2023-04-12 09:47:39 +00:00
renovate[bot]
86a2d78318
Lock file maintenance (#10557)
* Lock file maintenance

* Pin jest

* Pin back jest-canvas-mock

* Roll back jest

* Roll back jest

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-11 14:19:43 +00:00
RiotRobot
8a150252bf Reset matrix-js-sdk back to develop branch 2023-04-11 14:07:05 +01:00
RiotRobot
f9ab9fe8ce Merge branch 'master' into develop 2023-04-11 14:06:04 +01:00
RiotRobot
cd2ea18eee Upgrade matrix-js-sdk to 24.1.0 2023-04-11 14:03:56 +01:00
renovate[bot]
7321277ed8
Update all non-major dependencies (#10524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 14:39:40 +01:00
renovate[bot]
b586bfef1f
Update babel monorepo (#10525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 13:06:43 +00:00
renovate[bot]
0ea2ff85d0
Update dependency typescript to v5 (#10532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 13:17:50 +01:00
renovate[bot]
6c39aa29e2
Update typescript-eslint monorepo to v5.57.0 (#10530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 12:07:58 +01:00
renovate[bot]
f972e8bbea
Update dependency stylelint-config-standard to v32 (#10531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 12:06:59 +01:00
renovate[bot]
0bff11e238
Update dependency @percy/cli to v1.21.0 (#10528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 10:49:24 +00:00
renovate[bot]
7aaaa13daa
Update react-types (#10527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 09:37:29 +00:00
renovate[bot]
6c0f6109a0
Update sentry-javascript monorepo to v7.46.0 (#10529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:50:15 +00:00
renovate[bot]
990bb4c23e
Update definitelyTyped (#10526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 08:46:43 +00:00
alunturner
e03eac12c3
Add room and user avatars to rte (#10497)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:43:49 +00:00
RiotRobot
6e0dd01087 Upgrade matrix-js-sdk to 24.1.0-rc.1 2023-04-04 11:59:27 +01:00
alunturner
6f791d28c8
Add mentions as links to rte (#10463)
* adds autocomplete behaviour for mentions in rich text editor
* allows adding mentions as links
* adds tests
2023-03-31 14:14:55 +01:00
RiotRobot
17b456c7ee Reset matrix-js-sdk back to develop branch 2023-03-31 10:16:52 +01:00
Eric Eastwood
ff1468b6d3
Replace newTranslatableError with UserFriendlyError (#10440
* Introduce UserFriendlyError

* Replace newTranslatableError with UserFriendlyError

* Remove ITranslatableError

* Fix up some strict lints

* Document when we/why we can remove

* Update matrix-web-i18n

Includes changes to find `new UserFriendlyError`,
see https://github.com/matrix-org/matrix-web-i18n/pull/6

* Include room ID in error

* Translate fallback error

* Translate better

* Update i18n strings

* Better re-use

* Minor comment fixes
2023-03-31 08:30:43 +01:00
Michael Weimann
7cb90d0f78
Add Cypress Testing Library (#10446) 2023-03-29 08:47:05 +02:00
RiotRobot
f5115e047e Reset matrix-js-sdk back to develop branch 2023-03-28 14:33:05 +01:00
Janne Mareike Koschinski
63678603e0
Revert "Mentions as links rte (#10422)" (#10458)
This reverts commit 1af71089dd.
2023-03-27 12:57:05 +02:00
alunturner
1af71089dd
Mentions as links rte (#10422)
* bumps the RTE dependency to introduce user/room mention handling
* adds autocomplete behaviour to allow users to insert user and room mentions as links
* sets up tests for the autocomplete behaviour
2023-03-24 17:07:24 +00:00
Dominik Henneke
ef68650594
Implement MSC3973: Search users in the user directory with the Widget API (#10269)
* Add an action to search for users in the user directory according to MSC3973

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

* Fix linter errors

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

* Update the matrix-widget-api package to version 1.3.0

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

* Improve the test

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

---------

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-03-21 11:38:41 +00:00
Robin
aee4aeb90c
Update matrix-widget-api (#10409) 2023-03-21 10:25:17 +00:00
renovate[bot]
28f217b035
Update all non-major dependencies (#10315)
* Update all non-major dependencies

* downgrade axe due to test failures

* ci: force rerun

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
2023-03-20 13:21:06 +01:00
Michael Telatynski
9c816bb720
Conform more code to strictNullChecks (#10383
* Update matrix-widget-api

* Conform more code to `strictNullChecks`

* Iterate
2023-03-16 10:35:17 +00:00
RiotRobot
c6b6480bb7 Reset matrix-js-sdk back to develop branch 2023-03-15 12:50:19 +00:00
RiotRobot
158111803e Merge branch 'master' into develop 2023-03-15 12:49:57 +00:00
RiotRobot
9721bf4be5 Upgrade matrix-js-sdk to 23.5.0 2023-03-15 12:46:02 +00:00
renovate[bot]
4c6f8ad122
Update sentry-javascript monorepo to v7.40.0 (#10214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 19:36:41 +01:00
renovate[bot]
78c8c3ff28
Update typescript-eslint monorepo to v5.54.0 (#10316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 17:56:00 +00:00
renovate[bot]
b811b65b17
Update dependency eslint-plugin-unicorn to v46 (#10317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 16:48:34 +00:00
Michael Telatynski
bee4759208
Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
Michael Telatynski
2631b63d13
Remove deprecated stylelint rules which are handled by prettier (#10325) 2023-03-08 14:18:26 +00:00
renovate[bot]
9ee3c657fc
Remove unused glob dependency (#10318)
* Update dependency glob to v9

* Update dependency glob to v9

* Remove unused dependency

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-03-08 09:50:10 +00:00
renovate[bot]
d2c6c2dc19
Update dependency @percy/cli to v1.20.2 (#10310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 16:48:06 +00:00
renovate[bot]
bc7957c163
Update definitelyTyped (#10309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 16:13:32 +00:00
renovate[bot]
2c97cb4054
Update dependency @types/react-beautiful-dnd to v13.1.3 (#9760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 13:34:09 +00:00
RiotRobot
ca26449ccc Upgrade matrix-js-sdk to 23.5.0-rc.1 2023-03-07 11:27:16 +00:00
renovate[bot]
307df9d2c3
Update all non-major dependencies (#9766)
* Update all non-major dependencies

* Prettier

* Revert axe-core

* Revert axe-core

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-03-06 17:21:09 +00:00
Michael Telatynski
bda54a8b20
Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
renovate[bot]
1c2571bf89
Update dependency @percy/cli to v1.20.0 (#10213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-03-02 17:02:47 +00:00
Michael Weimann
5398db21ad
Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
renovate[bot]
87c2c56043
Update dependency stylelint-config-standard to v30 (#10245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 10:38:17 +00:00
Michael Telatynski
976345c835
Downgrade matrix-events-sdk, update yarn.lock, remove stub package (#10262)
* Update yarn.lock, remove stub package, fix peer deps

* iterate

* Iterate

* Resolutions

* Apply resolution for @types/react

* Fix more types

* Fix strict types

* Unbreak jest
2023-03-01 09:12:14 +00:00
RiotRobot
5a3d9d682f Reset matrix-js-sdk back to develop branch 2023-02-28 11:05:47 +00:00
renovate[bot]
6de8d85f7e
Update dependency eslint-plugin-matrix-org to v1 (#10222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-28 08:44:14 +00:00
renovate[bot]
57ed89e460
Update babel monorepo (#10233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-28 08:02:11 +00:00
renovate[bot]
24b8bcac88
Update dependency stylelint to v15 (#10242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-27 10:12:42 +00:00
renovate[bot]
a3defa6cf7
Update dependency rimraf to v4 (#10234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-27 10:31:10 +13:00
maheichyk
7b77f76486
Widget permissions customizations using module api (#10121)
* Using module api to customize widget permissions

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

* Revert type export and use ComponentProps instead.

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

---------

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-02-23 14:53:44 +00:00
renovate[bot]
e6fe7b7ea8
Update dependency matrix-events-sdk to v2 (#10225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 09:19:20 +00:00
renovate[bot]
e4552111c0
Update typescript-eslint monorepo to v5.52.0 (#10215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 12:29:09 +01:00
Michael Telatynski
c29e5f18ff
Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
Andy Balaam
03e4b96037 Bump santize-html to 2.8.0 2023-02-22 09:52:18 +00:00
renovate[bot]
7e5122b379
Update dependency @types/sanitize-html to v2.8.0 (#10103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 16:10:48 +00:00
Andy Balaam
d3771f8a9f
Bump @types/node to 18.18.12 (#10136) 2023-02-17 16:12:53 +00:00
Andy Balaam
4a1789e48a
Bump @types/katex to 0.16.0 (#10135)
Co-authored-by: Germain <germains@element.io>
2023-02-17 16:12:31 +00:00
alunturner
18c9b2bed2
Hide indent button in rte (#10149)
* add conditional rendering for indent and unindent buttons
* bump rte to 1.1.1
2023-02-14 11:07:36 +00:00
RiotRobot
49e0228fa0 Reset matrix-js-sdk back to develop branch 2023-02-14 10:32:02 +00:00
RiotRobot
a55a53362a Merge branch 'master' into develop 2023-02-14 10:31:42 +00:00
RiotRobot
6fd5c1e655 Upgrade matrix-js-sdk to 23.3.0 2023-02-14 10:27:44 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny (#9940)
* Stash noImplicitAny work

* Stash

* Fix imports

* Iterate

* Fix tests

* Delint

* Fix tests
2023-02-13 11:39:16 +00:00
renovate[bot]
f83492235e
chore(deps): update babel monorepo (#10102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-10 11:47:38 +01:00
renovate[bot]
072003d9fd
chore(deps): update dependency @types/fs-extra to v11 (#10117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 17:24:17 +01:00
renovate[bot]
f5fb5c9446
chore(deps): update typescript-eslint monorepo to v5.50.0 (#10116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 17:23:55 +01:00
renovate[bot]
cb67457860
Update dependency @percy/cli to v1.18.0 (#10105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 21:38:10 +00:00
RiotRobot
3a460f3c1d Upgrade matrix-js-sdk to 23.3.0-rc.1 2023-02-07 12:07:29 +00:00
Michael Telatynski
35d222bac6
Add @typescript-eslint/no-base-to-string (#10091) 2023-02-07 10:08:10 +00:00
Michael Telatynski
2bde31dcff
Switch to linkify-react for element Linkification as it handles React subtrees without exploding (#10060
* Switch to linkify-react instead of our faulty implementation

Fixes a series of soft crashes where errors include "The node to be removed is not a child of this node."

* Improve types

* Fix types

* Update snapshots

* Add test

* Fix test
2023-02-03 08:59:21 +00:00
Florian Duros
918f151384
Add indentation increasing/decreasing to RTE (#10034)
Add indent and unindent actions to RTE
2023-01-31 18:13:24 +01:00
RiotRobot
e2af97c4de Reset matrix-js-sdk back to develop branch 2023-01-31 10:57:35 +00:00
RiotRobot
b7300594d5 Merge branch 'master' into develop 2023-01-31 10:57:16 +00:00
RiotRobot
e80a85bbc2 Upgrade matrix-js-sdk to 23.2.0 2023-01-31 10:54:24 +00:00
alunturner
39f5fc034f
Paragraph integration for rich text editor (#10008)
* integrates paragraph refactor in rich text editor
* minor CSS changes to accomodate this
* bumps rich text editor version to 0.22.0
2023-01-31 09:45:34 +00:00
Andy Balaam
a69b805156 Revert "Update sentry-javascript monorepo to v7.32.1 (#9896)"
This update caused "Cannot redeclare block-scoped variable '__DEBUG_BUILD__' " error

This reverts commit b3586cf194.
2023-01-27 12:17:53 +00:00
renovate[bot]
b3586cf194
Update sentry-javascript monorepo to v7.32.1 (#9896)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 10:57:46 +00:00
renovate[bot]
441ad40e55
Update dependency ua-parser-js to v1.0.33 [SECURITY] (#9982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 12:33:44 +00:00
RiotRobot
45fc0c05ca Upgrade matrix-js-sdk to 23.2.0-rc.1 2023-01-24 11:27:41 +00:00
RiotRobot
7919c69bf7 Merge branch 'develop' into staging 2023-01-24 11:08:34 +00:00
RiotRobot
97831d528a Reset matrix-js-sdk back to develop branch 2023-01-20 12:43:40 +00:00
RiotRobot
325cca670c Upgrade matrix-js-sdk to 23.1.1 2023-01-20 12:30:52 +00:00
alunturner
9dbc5f3773
Add quotes to rich text editor (#9932)
* bump rich text editor to 0.20.0
* add new svg for the button
* show the button
* make the composer display look like the timeline display
2023-01-20 10:55:46 +00:00
RiotRobot
576d103159 Reset matrix-js-sdk back to develop branch 2023-01-18 21:57:43 +00:00
RiotRobot
baa120fff3 Reset matrix-js-sdk back to develop branch 2023-01-18 13:49:03 +00:00
RiotRobot
2f3bc6c818 Merge branch 'master' into develop 2023-01-18 13:48:04 +00:00
RiotRobot
46a024e831 Upgrade matrix-js-sdk to 23.1.0 2023-01-18 13:44:32 +00:00
Florian Duros
e4a9684d76
Fix cypress RTE flaky test (#9920)
* Update @matrix-org/matrix-wysiwyg to 0.19.0
* Press {enter} to send message
2023-01-18 10:09:25 +01:00
RiotRobot
0728580224 Upgrade matrix-js-sdk to 23.1.0-rc.4 2023-01-17 09:17:40 +00:00
renovate[bot]
fdcfa92c37
Update dependency @percy/cli to v1.17.0 (#9916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 09:07:46 +00:00
RiotRobot
9e84a9b4e4 Upgrade matrix-js-sdk to 23.1.0-rc.3 2023-01-13 10:46:15 +00:00
renovate[bot]
4afe4a10a0
Update dependency cypress to v12 2023-01-12 14:47:58 +00:00
RiotRobot
00fe13ff43 Upgrade matrix-js-sdk to 23.1.0-rc.2 2023-01-12 13:41:59 +00:00
Andy Balaam
4c5396f0fa Update yarn.lock 2023-01-12 13:31:17 +00:00
renovate[bot]
7df462baf0
Update typescript-eslint monorepo to v5.48.0 (#9897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 22:36:05 +00:00
Florian Duros
837115ece3
Fix unexpected composer growing (#9889)
* Stop the enter event propagation when a message is sent to avoid the composer to grow.
* Update @matrix-org/matrix-wysiwyg to 0.16.0
2023-01-11 17:56:01 +00:00
renovate[bot]
07ae843709
Update babel monorepo (#9893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 16:45:28 +00:00
renovate[bot]
c18a2ef452
Update dependency @types/jest to v29.2.5 (#9891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 16:39:23 +00:00
RiotRobot
d9b7978e95 Upgrade matrix-js-sdk to 23.1.0-rc.1 2023-01-11 13:38:58 +00:00
Florian Duros
a691e634b0
Add edit and remove actions to link in RTE (#9864)
Add edit and remove actions to link in RTE
2023-01-11 10:10:55 +00:00
dependabot[bot]
33ec83e6e0
Bump json5 from 1.0.1 to 1.0.2
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 16:12:39 +00:00
alunturner
432ce3ca31
Improve switching between rich and plain editing modes (#9776)
* allows switching between modes that retains formatting
* updates rich text composer dependency to 0.13.0 (@matrix-org/matrix-wysiwyg)
* improves handling of enter keypresses when ctrlEnterTosend setting is true in plain text editor
* changes the message event content when using the new editor
* adds tests for the changes to the plain text editor
2023-01-04 12:57:09 +00:00
Florian Duros
fe0273b1a6
Add link creation to rich text editor (#9775)
Add link creation to RTE
2022-12-23 11:34:15 +00:00
RiotRobot
670fca01f9 Reset matrix-js-sdk back to develop branch 2022-12-21 17:18:16 +00:00
RiotRobot
fe835b3d2e Merge branch 'master' into develop
# Conflicts:
#	test/Rooms-test.ts
#	test/components/views/rooms/wysiwyg_composer/EditWysiwygComposer-test.tsx
2022-12-21 17:17:36 +00:00
RiotRobot
e5978bbd50 Upgrade matrix-js-sdk to 23.0.0 2022-12-21 17:13:25 +00:00
renovate[bot]
af3715821b
Update dependency maplibre-gl to v2 (#9699)
* Update dependency maplibre-gl to v2

* update types and mocks for maplibre 2.0

* prettier + strict fix

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry Archibald <kerrya@element.io>
2022-12-18 23:17:15 +00:00
renovate[bot]
bfaced2172
Update typescript-eslint monorepo to v5.46.1 (#9769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:19:18 +00:00
Michael Kaye
b728b27435
Report cypress test results into testrail. (#9685)
* Reduce cypress size/scope

* Emit cypress reports in junit-compatible format.

* Clean implementation of upload

* Append a warning if not all tests that testrail knows of are run.

* Only run testrail if on develop (like percy).

* Re-enable full test run.

* Update cypress.config.ts

* Ensure SUITE_ID is passed.

* Fix quoting on SUITE_ID, add environment

* Update .github/workflows/cypress.yaml

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* re-add mocha-junit-reporter (was dropped in the merge)

* Prettifier on newly created file.

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-15 12:04:03 +00:00
renovate[bot]
e857fe06ac
Update dependency @types/jest to v29.2.4 (#9756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 22:52:54 +00:00
renovate[bot]
16e92a4d8c
Update definitelyTyped (#9757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 15:50:45 +00:00
RiotRobot
56865e5ea8 Update olm to fix types for release 2022-12-14 09:27:48 +00:00
RiotRobot
003c7a7f1f Upgrade matrix-js-sdk to 23.0.0-rc.1 2022-12-14 08:54:07 +00:00
Michael Weimann
1cac306093
Add prettier 2022-12-12 12:20:54 +01:00
Michael Weimann
0277aea0cf
Update eslint-plugin-matrix-org to 0.8.0 2022-12-09 14:31:56 +01:00
Florian Duros
4200c882e2
Merge branch 'develop' into feat/emoji-picker-rich-text-mode 2022-12-07 09:57:41 +01:00
renovate[bot]
c3809d3afa
Update all non-major dependencies (#9674)
* Typescript updates

* Update @types/node

* Fix more types

* Update all non-major dependencies

* Remove spurious cast

* Remove unused dependency rrweb-snapshot

* Update all non-major dependencies

* Iterate PR

* Update yarn.lock

* Remove stale dev dep

* Resolve

* Pin back axe-core for now, it is a bit too strict

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 00:36:23 +00:00
Florian Duros
1bd560d350
Merge remote-tracking branch 'origin/develop' into feat/emoji-picker-rich-text-mode 2022-12-06 16:38:46 +01:00
RiotRobot
9914b0bafd Reset matrix-js-sdk back to develop branch 2022-12-06 12:52:58 +00:00
RiotRobot
36410185af Merge branch 'master' into develop
# Conflicts:
#	test/voice-broadcast/utils/startNewVoiceBroadcastRecording-test.ts
#	yarn.lock
2022-12-06 12:50:44 +00:00
Florian Duros
29f9ccfb63
Update matrix-wysiwyg dependency 2022-12-06 13:49:26 +01:00
RiotRobot
336b96acc3 Upgrade matrix-js-sdk to 22.0.0 2022-12-06 12:40:19 +00:00
renovate[bot]
556d32c4a8
Update sentry-javascript monorepo to v7 (major) (#9702)
* Update sentry-javascript monorepo to v7

* Update sentry-javascript monorepo to v7

* Update integration naming as per docs

* Update sentry-javascript monorepo to v7

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-05 11:18:50 +00:00
RiotRobot
dae04a777e Upgrade matrix-js-sdk to 22.0.0-rc.2 2022-12-02 16:30:15 +00:00
Andy Balaam
be2a696e6d
Merge pull request #9644 from andybalaam/bump-matrix-wysiwyg-to-0.8.0
Bump matrix-wysiwyg version to 0.8.0
2022-12-02 13:53:29 +00:00
renovate[bot]
c8877727a5
Update dependency html-entities to v2 (#9697)
* Update dependency html-entities to v2

* Update dependency html-entities to v2

* Update imports

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-02 11:10:54 +00:00
renovate[bot]
eca1eb1390
Update dependency stylelint-config-standard to v29 (#9700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-02 10:30:19 +00:00
renovate[bot]
8996bf0a7f
Update dependency filesize to v10 (#9695)
* Update dependency filesize to v10

* Update dependency filesize to v10

* Fix imports

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-01 23:55:24 +00:00
renovate[bot]
7a683dd17a
Update dependency flux to v4 (#9696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 23:36:25 +00:00
renovate[bot]
0d4f30f888
Update dependency cypress to v11 (#9690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 20:54:00 +00:00
renovate[bot]
718475b7c6
Update dependency eslint-plugin-unicorn to v45 (#9691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 20:33:22 +00:00
renovate[bot]
b5ece995d2
Update dependency blob-polyfill to v7 (#9688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 16:19:04 +00:00
Andy Balaam
b51b4a994d
Merge branch 'develop' into bump-matrix-wysiwyg-to-0.8.0 2022-12-01 10:03:49 +00:00
renovate[bot]
2bd909b53a
Update dependency babel-jest to v29 (#9683)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 09:36:39 +00:00
renovate[bot]
3930457b71
Update dependency @types/pako to v2 (#9682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 09:35:09 +00:00
renovate[bot]
6fe64e0c68
Update emojibase monorepo (#9680)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 08:56:15 +00:00
renovate[bot]
d52004c4f3
Update dependency glob to v8 (#9679)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 08:54:29 +00:00
renovate[bot]
dece2810a7
Update dependency fs-extra to v11 (#9676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:45:19 +00:00
renovate[bot]
22db6fb99a
Update dependency @types/css-font-loading-module to ^0.0.7 (#9673)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-01 07:45:03 +00:00
ElementRobot
5cbb748843
Upgrade dependencies (#9249)
* [create-pull-request] automated change

* Delint

* Hold @types/react* back

* Pin axe-core until we fix a11y issues

Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-11-30 15:18:10 +00:00
Andy Balaam
ec4e9c89ae
Merge branch 'develop' into bump-matrix-wysiwyg-to-0.8.0 2022-11-30 11:43:28 +00:00
Michael Telatynski
d258402186
Typescript updates (#9658)
* Typescript updates

* Update @types/node

* Fix more types
2022-11-30 11:32:56 +00:00
Andy Balaam
90f87874a7
Merge branch 'develop' into bump-matrix-wysiwyg-to-0.8.0 2022-11-30 09:29:47 +00:00
Michael Telatynski
dd91250111
Pin @types/react* packages (#9651)
* Update package.json

* Update yarn.lock
2022-11-30 09:28:38 +00:00
RiotRobot
fd509c1fcf Upgrade matrix-js-sdk to 22.0.0-rc.1 2022-11-29 15:39:38 +00:00
Andy Balaam
2aef624133 Bump matrix-wysiwyg version to 0.8.0 2022-11-29 12:10:42 +00:00
Michael Weimann
ad190b1dcc
Update @typescript-eslint/parser (#9621) 2022-11-25 14:00:35 +00:00
RiotRobot
6ea483324e Reset matrix-js-sdk back to develop branch 2022-11-22 11:40:05 +00:00
RiotRobot
bda75eb946 Merge branch 'master' into develop 2022-11-22 11:39:48 +00:00
RiotRobot
72113ed941 Upgrade matrix-js-sdk to 21.2.0 2022-11-22 11:31:21 +00:00
Michael Telatynski
8c0d202df4
Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis (#9600)
* Enable tsc alwaysStrict

* Enable tsc strictBindCallApply

* Enable tsc noImplicitThis

* Add d.ts

* Improve types

* Add ?

* Increase coverage

* Improve coverage
2022-11-21 11:24:59 +00:00
dependabot[bot]
2a290903ee
Bump loader-utils from 2.0.3 to 2.0.4 (#9593)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 15:09:19 +00:00
Florian Duros
d5e076bc3d
Use react-testing-library instead of enzyme for useDebouncedCallback 2022-11-17 12:01:31 +01:00
RiotRobot
37febc4512 Upgrade matrix-js-sdk to 21.2.0-rc.1 2022-11-15 17:54:44 +00:00
Florian Duros
45d53d3404
Update @matrix-org/matrix-wysiwyg dependency 2022-11-14 14:12:09 +01:00
Michael Telatynski
962e8e0b23
Differentiate download and decryption errors when showing images (#9562) 2022-11-10 09:27:20 +00:00
Michael Telatynski
985119dcfe
Update matrix-events-sdk to 0.0.1 and develop ref to matrix-js-sdk (#9557) 2022-11-08 17:30:45 +00:00
dependabot[bot]
50b7230769
Bump loader-utils from 2.0.2 to 2.0.3 (#9554)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 15:46:22 +00:00
RiotRobot
37636abbbe Reset matrix-js-sdk back to develop branch 2022-11-08 14:52:02 +00:00
RiotRobot
6c556cb88c Merge branch 'master' into develop
# Conflicts:
#	package.json
2022-11-08 14:50:24 +00:00
RiotRobot
5c1687ea9d Upgrade matrix-js-sdk to 21.1.0 2022-11-08 14:37:30 +00:00
Michael Telatynski
04bc8fb71c
Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
Michael Telatynski
28ecdc0cb4
Send layout analytics as WebLayout (#9482) 2022-11-04 09:10:37 +00:00
Michael Telatynski
a347525781
Update to @casualbot/jest-sonar-reporter (#9538) 2022-11-03 16:55:28 +00:00
Michael Telatynski
c79f45e5e6
Add eslint rule unicorn/no-instanceof-array (#9527) 2022-11-02 14:54:28 +00:00
RiotRobot
8b41167490 Upgrade matrix-js-sdk to 21.1.0-rc.1 2022-11-01 14:42:50 +00:00
RiotRobot
253129e6f2 Reset matrix-js-sdk back to develop branch 2022-11-01 09:33:51 +00:00