Commit Graph

1838 Commits (f37ae1e230793232fcec65ae2b3ce1f15c2a630a)

Author SHA1 Message Date
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 76f104c962 Resetting package fields for development 2023-01-31 10:57:24 +00:00
RiotRobot b7300594d5 Merge branch 'master' into develop 2023-01-31 10:57:16 +00:00
RiotRobot 1f3ad86106 v3.65.0 2023-01-31 10:56:58 +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
RiotRobot 403cc940f2 v3.65.0-rc.1 2023-01-24 11:29:47 +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 9e3de5129d v3.64.2 2023-01-20 12:40:54 +00:00
RiotRobot e3692ce2e4 v3.64.2 2023-01-20 12:34:04 +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 81d937cd68 Merge branch 'master' into develop 2023-01-18 21:57:18 +00:00
RiotRobot 8219e44596 v3.64.1 2023-01-18 21:57:02 +00:00
RiotRobot baa120fff3 Reset matrix-js-sdk back to develop branch 2023-01-18 13:49:03 +00:00
RiotRobot d8947d0168 Resetting package fields for development 2023-01-18 13:48:11 +00:00
RiotRobot 2f3bc6c818 Merge branch 'master' into develop 2023-01-18 13:48:04 +00:00
RiotRobot 57a003f76e v3.64.0 2023-01-18 13:47:40 +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 98049b503b v3.64.0-rc.4 2023-01-17 09:19:34 +00:00
RiotRobot 0728580224 Upgrade matrix-js-sdk to 23.1.0-rc.4 2023-01-17 09:17:40 +00:00
RiotRobot fa8b9d2451 v3.64.0-rc.3 2023-01-13 10:47:41 +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 91c0bb6ffc v3.64.0-rc.2 2023-01-12 13:46:43 +00:00
RiotRobot 00fe13ff43 Upgrade matrix-js-sdk to 23.1.0-rc.2 2023-01-12 13:41:59 +00:00
Andy Balaam 53a5a578d8 Bump analytics-events to 0.4.0 (allowing FavouriteMessages view) 2023-01-12 13:18:09 +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
RiotRobot f38b5f62e5 v3.64.0-rc.1 2023-01-11 13:46:59 +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
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
Travis Ralston 8778abc05c Fix lint errors post-release 2022-12-21 10:50:31 -07:00
RiotRobot 670fca01f9 Reset matrix-js-sdk back to develop branch 2022-12-21 17:18:16 +00:00
RiotRobot c0729ddcc1 Resetting package fields for development 2022-12-21 17:17:53 +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 cf36acaa41 v3.63.0 2022-12-21 17:15:53 +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
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
RiotRobot bf57a12ba4 v3.63.0-rc.2 2022-12-14 09:31:44 +00:00
RiotRobot 56865e5ea8 Update olm to fix types for release 2022-12-14 09:27:48 +00:00
RiotRobot e2f5252ad8 v3.63.0-rc.1 2022-12-14 09:03:11 +00:00
RiotRobot 003c7a7f1f Upgrade matrix-js-sdk to 23.0.0-rc.1 2022-12-14 08:54:07 +00:00
Michael Weimann 526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01: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
Michael Telatynski 851c1ef20c
Move @types deps into devDeps (#9671) 2022-12-06 23:09:05 +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 5e5a5642d2 Resetting package fields for development 2022-12-06 12:51:22 +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 df0eba7eab v3.62.0 2022-12-06 12:47:43 +00: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 cb2e1e92fd v3.62.0-rc.2 2022-12-02 16:32:12 +00:00
RiotRobot dae04a777e Upgrade matrix-js-sdk to 22.0.0-rc.2 2022-12-02 16:30:15 +00:00
Michael Telatynski 5d409560c7
Remove prop-types (#9672)
* Remove prop-types

* Remove unused dep rrweb-snapshot

* Revert "Remove unused dep rrweb-snapshot"

This reverts commit d0d076535f4190a6095fe7684124f50c2d3f137d.
2022-12-02 16:07:13 +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 1216580baf v3.62.0-rc.1 2022-11-29 15:41:19 +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
RiotRobot 6ea483324e Reset matrix-js-sdk back to develop branch 2022-11-22 11:40:05 +00:00
RiotRobot bbbc3bdd50 Resetting package fields for development 2022-11-22 11:39:52 +00:00
RiotRobot bda75eb946 Merge branch 'master' into develop 2022-11-22 11:39:48 +00:00
RiotRobot 5da57e8d3c v3.61.0 2022-11-22 11:39:30 +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
Florian Duros d5e076bc3d
Use react-testing-library instead of enzyme for useDebouncedCallback 2022-11-17 12:01:31 +01:00
RiotRobot 78870eab45 v3.61.0-rc.1 2022-11-15 18:04:25 +00: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