Commit Graph

1923 Commits (f7137b4cb464fa7c184ea97203b05cf4873e3a15)

Author SHA1 Message Date
alunturner 53415bfdfe
Allow image pasting in rich text mode in RTE (#11049)
* add comments to rough first solution

* allow eventRelation prop to pass to both composers

* use eventRelation in image paste

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

* extract error handling to function

* type the error handler

* add tests

* make behaviour mimic SendMessage

* add sad path tests

* refactor to use catch throughout

* update comments

* tidy up tests

* add special case and change function signature

* add comment

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

* Hold back typescript

---------

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

* Move to a more appropriate place

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

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

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

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

* Include all data that is shared in the permissions screen

* Update matrix-widget-api to version 1.4.0

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

* Fix type and test

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

---------

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

* Switch from cheerio to DOMParser

* strict

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

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

* Make prettier happy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-05-16 15:41:04 +00:00
renovate[bot] fe3d13439b
Update dependency eslint-plugin-unicorn to v47 (#10923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:22:38 +00:00
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
ElementRobot 2a3d776461 v3.73.0-rc.1 2023-05-16 14:08:02 +01: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 7287415ab9 Resetting package fields for development 2023-05-10 12:20:47 +01:00
RiotRobot f020235958 Merge branch 'master' into develop 2023-05-10 12:20:40 +01:00
RiotRobot 0e2f0009ce v3.72.0 2023-05-10 12:20:23 +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
RiotRobot 3de332b2cc v3.72.0-rc.2 2023-05-05 15:17:14 +01: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 23365ed023 v3.72.0-rc.1 2023-05-02 11:39:04 +01:00
RiotRobot a806c165c9 Upgrade matrix-js-sdk to 25.1.0-rc.1 2023-05-02 11:37:01 +01:00
Michael Telatynski f5d05f3284
Memoize field validation results (#10714)
* Memoize field validation results

* Make validation memoization opt-in
2023-04-27 11:34:02 +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 f859af4918 v3.71.1 2023-04-25 10:55:00 +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 d20b3f5e06 Resetting package fields for development 2023-04-25 10:16:30 +01:00