Commit graph

913 commits

Author SHA1 Message Date
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