Commit graph

1019 commits

Author SHA1 Message Date
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
RiotRobot
480662f661 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2022-11-01 09:33:12 +00:00
RiotRobot
347c7c5ba9 Upgrade matrix-js-sdk to 21.0.1 2022-11-01 09:27:31 +00:00
RiotRobot
d273441596 Reset matrix-js-sdk back to develop branch 2022-10-25 17:42:54 +01:00
RiotRobot
dc43356868 Merge branch 'master' into develop 2022-10-25 17:42:40 +01:00
RiotRobot
7d6614463a Upgrade matrix-js-sdk to 21.0.0 2022-10-25 17:11:23 +01:00
RiotRobot
b3f12dc03d Upgrade matrix-js-sdk to 21.0.0-rc.2 2022-10-24 16:26:57 +01:00
Florian Duros
3aead6f944
Update @matrix.org/matrix-wysiwyg dependency 2022-10-24 15:25:03 +02:00
Andy Balaam
e0ab0ac5c9
Allow pressing Enter to send messages in new composer (#9451)
* Allow pressing Enter to send messages in new composer

* Cypress tests for composer send behaviour
2022-10-19 03:07:21 +00:00
RiotRobot
c8a5788bca Upgrade matrix-js-sdk to 21.0.0-rc.1 2022-10-18 14:08:43 +01:00
Travis Ralston
10a429c68d
Include a file-safe room name and ISO date in chat exports (#9440)
* conversation export named after room

* sanitization added for exported file name

* sanitization added for exported file name

* sanitization added for exported file name

* sanitization added for exported file name=>lint error fixed

* sanitization added for exported file name=>lint error fixed

* sanitization added for exported file name=>redundancy removed

* sanitization added for exported file name=>redundancy removed

* reverted to previous commit

* sanitization added for exported file name=>redundancy removed

* exported chat date iso formatted

* conversation export named after room

* conversation export named after room

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

* code refacto filename date format

* Add docs to fn

* Bring in a util library for sanitizing

* Extract file naming function and make consistent for all 3 types

Also use the library we dragged in

* Write tests & associated fixes

* Apply linters locally

* Include new date util in index

Co-authored-by: Sinharitik589 <sinharitik18112835@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: yaya-usman <yayaazeez222@gmail.com>
Co-authored-by: Sinharitik589 <67551927+Sinharitik589@users.noreply.github.com>
2022-10-17 19:54:10 -06:00
Florian Duros
3ecd67aa80
Merge branch 'develop' into feat/add-formating-buttons-to-wysiwyg 2022-10-14 09:44:32 +02:00
Michael Telatynski
a45a662c57
Enable Cypress retries to combat flakiness (#9413) 2022-10-13 19:11:30 +01:00
Florian Duros
ac8397aa0f
Fix test 2022-10-13 16:46:47 +02:00
Michael Telatynski
1800cb8c71
Remove unused packages and fix invariant violation on AsyncStore onNotReady (#9404)
* Remove traces of browser-request & mocha

* Remove unused matrix-react-test-utils

* Fix dispatcher invariant violation

* Add null-guard

* Improve types

* Fix null-guard

* Fix issue with authed users going directly to /#/login
2022-10-13 09:22:32 +01:00
Michael Telatynski
8b54be6f48
Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
RiotRobot
7c1c49540a Reset matrix-js-sdk back to develop branch 2022-10-11 13:56:23 +01:00
RiotRobot
08a4070666 Merge branch 'master' into develop 2022-10-11 13:56:09 +01:00
RiotRobot
2d64c21c90 Upgrade matrix-js-sdk to 20.1.0 2022-10-11 13:51:54 +01:00
Florian Duros
5bdac78fc7
Merge remote-tracking branch 'origin/develop' into feat/matrix-wysisyg-integration 2022-10-10 17:04:27 +02:00
Florian Duros
77005e2b7d
Update wysiwyg version 2022-10-10 16:55:20 +02:00
Florian Duros
200af78c2a
Use published matrix-wysisyg 2022-10-10 14:28:30 +02:00
Florian Duros
67aab08759
Update yarn.lock 2022-10-07 15:05:29 +02:00
Kerry
3e4f3152bc
Device manager - parse user agent for device information (#9352)
* record device client inforamtion events on app start

* matrix-client-information -> matrix_client_information

* fix types

* remove another unused export

* add docs link

* display device client information in device details

* update snapshots

* integration-ish test client information in metadata

* tests

* fix tests

* export helper

* DeviceClientInformation type

* Device manager - select all devices (#9330)

* add device selection that does nothing

* multi select and sign out of sessions

* test multiple selection

* fix type after rebase

* select all sessions

* rename type

* use ExtendedDevice type everywhere

* rename clientName to appName for less collision with UA parser

* fix bad find and replace

* rename ExtendedDeviceInfo to ExtendedDeviceAppInfo

* rename DeviceType comp to DeviceTypeIcon

* update tests for new required property deviceType

* add stubbed user agent parsing

* setup test cases

* detect device type correctly

* 80% working ua parser

* parse asera gents for device info

* combine clientName/Version into one field, remove debug from tests
2022-10-06 10:06:29 +02:00
RiotRobot
5619de03c4 Upgrade matrix-js-sdk to 20.1.0-rc.2 2022-10-05 13:27:37 +01:00
Florian Duros
bfb1638ff3
Add wysisyg composer (can only send message, enable behind a labs flag) 2022-10-05 12:01:41 +02:00
RiotRobot
bf56a315c2 Upgrade matrix-js-sdk to 20.1.0-rc.1 2022-10-04 14:05:33 +01:00
RiotRobot
1a0dbbf192 Reset matrix-js-sdk back to develop branch 2022-09-28 15:55:01 +01:00
RiotRobot
08563e9224 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2022-09-28 15:54:19 +01:00
RiotRobot
74b2e503ac Upgrade matrix-js-sdk to 20.0.0 2022-09-28 15:49:16 +01:00
RiotRobot
fff065d6af Reset matrix-js-sdk back to develop branch 2022-09-28 14:14:49 +01:00
RiotRobot
d3029b5967 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2022-09-28 14:13:01 +01:00
RiotRobot
fa7acf4dfd Upgrade matrix-js-sdk to 19.7.0 2022-09-28 14:09:31 +01:00
RiotRobot
c14191bfb6 Reset matrix-js-sdk back to develop branch 2022-09-27 17:13:26 +01:00
RiotRobot
c5c3ca061e Merge branch 'master' into develop 2022-09-27 17:13:12 +01:00
RiotRobot
b3596b5420 Upgrade matrix-js-sdk to 19.6.0 2022-09-27 16:55:45 +01:00
Michael Weimann
8e719d57a2
Add voice broadcast recording body (#9316)
* Add voice broadcast recording body

* Change icon element; update css variables

* Update Icon-test snapshots
2022-09-26 15:29:38 +02:00
Robin
d077ea1990
New group call experience: Room header call buttons (#9311)
* Make useEventEmitterState more efficient

By not invoking the initializing function on every render

* Make useWidgets more efficient

By not calling WidgetStore on every render

* Add new group call experience Labs flag

* Add viewingCall field to RoomViewStore state

Currently has no effect, but in the future this will signal to RoomView to show the call or call lobby.

* Add element_call.use_exclusively config flag

As documented in element-web, this will tell the app to use Element Call exclusively for calls, disabling Jitsi and legacy 1:1 calls.

* Make placeCall return a promise

So that the UI can know when placeCall completes

* Update start call buttons to new group call designs

Since RoomView doesn't do anything with viewingCall yet, these buttons won't have any effect when starting native group calls, but the logic is at least all there and ready to be hooked up.

* Allow calls to be detected if the new group call experience is enabled

* Test the RoomHeader changes

* Iterate code
2022-09-25 10:57:25 -04:00
RiotRobot
aafe4aa17d Upgrade allchange 2022-09-20 14:09:14 +01:00
RiotRobot
4cf3a60e97 Upgrade matrix-js-sdk to 19.6.0-rc.1 2022-09-20 14:04:35 +01:00
Dominik Henneke
0c22b15bba
Implement MSC3869: Read event relations with the Widget API (#9210)
* Add an action to read relations according to MSC3869

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

* Apply review comments

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

* Fix test

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

* Update matrix-widget-api to 1.1.1

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

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2022-09-14 10:18:51 -04:00
RiotRobot
f67b8d0d32 Reset matrix-js-sdk back to develop branch 2022-09-13 12:48:49 +01:00
RiotRobot
65a74c77aa Merge branch 'master' into develop 2022-09-13 12:48:35 +01:00
RiotRobot
a1ab983e91 Upgrade matrix-js-sdk to 19.5.0 2022-09-13 12:46:37 +01:00
Michael Telatynski
0ab476b828
Upgrade @types (#9261)
* Upgrade @types

* Make typescript happier
2022-09-12 11:58:05 +01:00
RiotRobot
17733b863f Upgrade matrix-js-sdk to 19.5.0-rc.4 2022-09-06 12:50:48 +01:00
Michael Weimann
ea0622a48e
Require @typescript-eslint/eslint-plugin >= 5.35.1 (#9233) 2022-09-02 11:24:56 +02:00
RiotRobot
d85d79d92b Reset matrix-js-sdk back to develop branch 2022-08-31 16:38:16 +01:00
RiotRobot
c89c02f4e0 Merge branch 'master' into develop
# Conflicts:
#	src/events/EventTileFactory.tsx
#	yarn.lock
2022-08-31 16:36:50 +01:00
RiotRobot
c88a4bfad9 Upgrade matrix-js-sdk to 19.4.0 2022-08-31 16:28:09 +01:00
t3chguy
094b8cd475 [create-pull-request] automated change 2022-08-23 10:14:09 +00:00
RiotRobot
8b36c6f3a0 Upgrade matrix-js-sdk to 19.4.0-rc.1 2022-08-23 10:57:56 +01:00
RiotRobot
fecc03289d Reset matrix-js-sdk back to develop branch 2022-08-16 15:44:18 +01:00
RiotRobot
5b2bafacc9 Merge branch 'master' into develop
# Conflicts:
#	package.json
2022-08-16 15:42:37 +01:00
RiotRobot
4fce604771 Upgrade matrix-js-sdk to 19.3.0 2022-08-16 15:35:10 +01:00
RiotRobot
5ccd473744 Upgrade matrix-js-sdk to 19.3.0-rc.2 2022-08-12 13:34:03 +01:00
Michael Telatynski
df016ff5f6
Upgrade deps (#9165) 2022-08-10 15:10:08 +00:00
Robin
103b60dfb5
Implement MSC3819: Allowing widgets to send/receive to-device messages (#8885)
* Implement MSC3819: Allowing widgets to send/receive to-device messages

* Don't change the room events and state events drivers

* Update to latest matrix-widget-api changes

* Support sending encrypted to-device messages

* Use queueToDevice for better reliability

* Update types for latest WidgetDriver changes

* Upgrade matrix-widget-api

* Add tests

* Test StopGapWidget

* Fix a potential memory leak
2022-08-10 08:57:56 -04:00
RiotRobot
2cae2be909 Upgrade matrix-js-sdk to 19.3.0-rc.1 2022-08-09 17:11:26 +01:00
Michael Telatynski
5fbeb20df8
Some small tidying up (#9149)
* Remove stale comment

* Fix typing

* Install katex type definitions
2022-08-09 11:55:49 +00:00
RiotRobot
ed3350c2ba Reset matrix-js-sdk back to develop branch 2022-08-03 09:14:46 +01:00
RiotRobot
dff1a1405d Merge branch 'master' into develop
# Conflicts:
#	CHANGELOG.md
#	package.json
2022-08-02 17:12:24 +01:00
RiotRobot
d5224d5a63 Upgrade matrix-js-sdk to 19.2.0 2022-08-02 17:03:59 +01:00
Michael Weimann
27ba1e57e6
Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
Michael Telatynski
d5db131eef
Spike AXE A11Y testing in Cypress (#9111)
* Spike AXE A11Y testing in Cypress

* Fix NewRoomIntro breaking html/aria list rules

* Fix HeaderButtons breaking aria role semantics rules

* missing type

* Switch left panel from aside to nav and include space panel

* Give the page a main heading of the room name when viewing a room

* Use header landmark on RoomHeader

* Improve aria attributes on composer when autocomplete is closed

* Fix aria-owns on RoomHeader

* Give Spinner an aria role

* Give server picker help button an aria label

* Improve auth aria attributes and semantics

* Improve heading semantics in use case selection screen

* Fix autocomplete attribute to be valid

* Fix heading semantics on login page

* Improve Cypress axe testing

* Add axe tests

* Stop synapse after the timeline tests

* Await spinners to fade before percy snapshotting timeline tests

* Improve naming of plugin

* Update snapshots

* Fix accidental heading change

* Fix double synapse stoppage

* Fix Cypress timeline avatar assertions to be DPI agnostic

* Fix aria attributes on date separators

* delint

* Update snapshots

* Revert style change

* Skip redundant call
2022-08-01 08:31:14 +01:00
Janne Mareike Koschinski
1e4c336fed
New User Onboarding Task List (#9083)
* Improve type of AccessibleButton to accurately represent available props
* Update analytics events
2022-07-29 11:43:29 +00:00
Michael Telatynski
e53fb60763
Revert "Reset matrix-js-sdk back to develop branch"
This reverts commit 35a6f4bb56.
2022-07-26 17:42:50 +01:00
RiotRobot
35a6f4bb56 Reset matrix-js-sdk back to develop branch 2022-07-26 17:39:10 +01:00
RiotRobot
da98e3d201 Upgrade matrix-js-sdk to 19.2.0-rc.1 2022-07-26 17:29:36 +01:00
RiotRobot
a08df49db1 Reset matrix-js-sdk back to develop branch 2022-07-26 16:36:36 +01:00
RiotRobot
b8073c4c38 Merge branch 'master' into develop 2022-07-26 16:34:33 +01:00
RiotRobot
6efe982550 Upgrade matrix-js-sdk to 19.1.0 2022-07-26 16:19:07 +01:00
Travis Ralston
0053f21286
Update lockfile per yarn's decision (#9074) 2022-07-19 07:58:04 +02:00
Michael Telatynski
42ff9d6dc8
Move Lazy Loading tests from Puppeteer to Cypress (#8982)
* Remove Puppeteer Lazy Loading tests

* Remove Puppeteer Lazy Loading tests

* Remove Puppeteer Lazy Loading tests

* Stash lazy loading cypress tests

* Stash lazy loading cypress tests

* Update cypress-real-events

* Stash offline-less test

* Add offline/online'ing
2022-07-18 13:16:44 +01:00
Michael Telatynski
01f4bb8c78
Rename PostCSS files to .pcss (#9013)
* Rename PostCSS files to `.pcss`

* Make Stylelint happy

* Delint

* Rename new files too

* delint

* Fix bad comment placement
2022-07-15 14:53:23 +01:00
ElementRobot
7b7181be18
Upgrade dependencies (#8749)
* [create-pull-request] automated change

* Remove conflicting HTMLStyleElement type improvement

* Pin postcss-hexrgba as 2.1.0 needs postcss 8

* Bump typescript version

* Add missing crypto stub

Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-13 17:11:19 +01:00
Janne Mareike Koschinski
f5f79158ed
Implement Use Case Selection screen (#8984)
* Introduce new splash page wrapper
* Introduce new use case selection screen
2022-07-13 15:43:44 +02:00
RiotRobot
78bda2b6da Upgrade matrix-js-sdk to 19.1.0-rc.1 2022-07-12 14:09:05 +01:00
Michael Telatynski
7fb48d24e4
Upgrade to Cypress 10 (#9008)
* Upgrade to Cypress 10

* Remove stale comment
2022-07-08 13:14:13 +01:00
Travis Ralston
7f5bb61a79
Support a module API surface for custom functionality (#8246)
* Early implementation of module API surface + functions for ILAG module

* Wire up dialog functions and ILAG-needed surface

* Ensure component renders for modules get overridden

* Respond to changes from module API interface

* Use a real module-api dependency

* Update for new Dialogs interface

* Add support for getConfigValue from module API

* Update the remainder of the module API interface

* Docs & cleanup

* Add some unit tests around module stuff

Needs end-to-end tests still.

* Appease early linters

* Break import cycles by not directly depending on Lifecycle

* Appease the linter

* Fix bad merge
2022-07-05 12:26:44 -06:00
RiotRobot
bdc05ec268 Reset matrix-js-sdk back to develop branch 2022-07-05 14:16:38 +01:00
RiotRobot
517494d619 Upgrade matrix-js-sdk to 19.0.0 2022-07-05 14:12:58 +01:00
RiotRobot
b0cea630a3 Upgrade matrix-js-sdk to 19.0.0-rc.1 2022-06-28 16:10:33 +01:00
Michael Telatynski
7f7ad10b04
Update matrix-web-i18n (#8914) 2022-06-28 14:15:51 +01:00
Michael Telatynski
d3fb6ff906
Move the user view tests from Puppeteer to Cypress (#8787)
* Move the user view tests from Puppeteer to Cypress

* Iterate snapshot test

* Actually import the new module

* Specify widths

* Update cypress & percy

* Try fix percy

* Finish cypress upgrade

* Tidy cypress.config.ts

* Revert "Tidy cypress.config.ts"

This reverts commit d913052cc4e12f836b99645bda81bbcf21d5f3c8.

* Revert "Finish cypress upgrade"

This reverts commit b5aba3b8a32edbc36549fbd8a27eb0de0390da2a.

* Revert "Update cypress & percy"

This reverts commit f846a364f81b23b173d9af67230aa074bd248cf6.

* delint

* Update percy
2022-06-08 22:12:56 +01:00
Michael Telatynski
8036985204
Update matrix-analytics-events to @matrix-org/analytics-events (#8778)
* Update matrix-analytics-events to @matrix-org/analytics-events

* Update install-deps.sh

* Update layered.sh

* Update BeaconMarker-test.tsx.snap

* Update BeaconStatus-test.tsx.snap
2022-06-07 20:08:36 +01:00
RiotRobot
5da187d520 Reset matrix-js-sdk back to develop branch 2022-06-07 12:13:34 +01:00
RiotRobot
d4647936c4 Merge branch 'master' into develop 2022-06-07 12:13:24 +01:00
RiotRobot
812ac75d9d Upgrade matrix-js-sdk to 18.1.0 2022-06-07 12:10:11 +01:00
Kerry
158e42f764
Unit test MessageActionBar (#8732)
* test most basic paths in messageactionbar

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tidy

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add rtl

* add code style note about using rtl

Signed-off-by: Kerry Archibald <kerrya@element.io>

* downgrade to rtl 12

* use rtl for MessageActionBar test

Signed-off-by: Kerry Archibald <kerrya@element.io>

* try mocking settingsstore for ci only failure

Signed-off-by: Kerry Archibald <kerrya@element.io>

* mock setValue too

Signed-off-by: Kerry Archibald <kerrya@element.io>

* uupdate lockfile

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-06-02 10:25:56 +02:00
RiotRobot
7ca3b6bb13 Upgrade matrix-js-sdk to 18.1.0-rc.1 2022-05-31 11:35:17 +01:00
Kerry
f742e3a17d
matrix-mock-request 2.0 (#8717) 2022-05-30 12:19:13 +00:00
Michael Telatynski
f3f14afbbf
Move spaces tests from Puppeteer to Cypress (#8645)
* Move spaces tests from Puppeteer to Cypress

* Add missing fixture

* Tweak synapsedocker to not double error on a docker failure

* Fix space hierarchy loading race condition

Fixes https://github.com/matrix-org/element-web-rageshakes/issues/10345

* Fix race condition when creating public space with url update code

* Try Electron once more due to perms issues around clipboard

* Try set browser permissions properly

* Try to enable clipboard another way

* Try electron again

* Try electron again again

* Switch to built-in cypress feature for file uploads

* Mock clipboard instead

* TMPDIR ftw?

* uid:gid pls

* Clipboard tests can now run on any browser due to mocking

* Test Enter as well as button for space creation

* Make the test actually work

* Update cypress/support/util.ts

Co-authored-by: Eric Eastwood <erice@element.io>

Co-authored-by: Eric Eastwood <erice@element.io>
2022-05-26 10:19:00 +01:00
RiotRobot
d214387c88 Reset matrix-js-sdk back to develop branch 2022-05-24 13:04:54 +01:00
RiotRobot
1ca34540e7 Merge branch 'master' into develop
# Conflicts:
#	yarn.lock
2022-05-24 13:03:34 +01:00
RiotRobot
076598ca85 Upgrade matrix-js-sdk to 18.0.0 2022-05-24 12:41:56 +01:00
RiotRobot
3c2e9c364a Upgrade matrix-js-sdk to 18.0.0-rc.2 2022-05-20 10:58:03 +01:00
t3chguy
bf1a19ab1a [create-pull-request] automated change 2022-05-17 19:03:57 +00:00
RiotRobot
a68032760e Upgrade matrix-js-sdk to 18.0.0-rc.1 2022-05-17 18:32:12 +01:00