Commit graph

2172 commits

Author SHA1 Message Date
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
7c34675359 Resetting package fields for development 2023-08-01 12:39:49 +01:00
ElementRobot
7d72a011e3 Merge branch 'master' into develop 2023-08-01 12:39:45 +01:00
ElementRobot
dcd8f9a16f v3.77.0 2023-08-01 12:39:36 +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
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]
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
bccefd4d86 v3.77.0-rc.1 2023-07-27 09:39:46 +01: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
Kerry
0b0d77cbcc
OIDC: Persist details in session storage, create store (#11302)
* utils to persist clientId and issuer after oidc authentication

* add dep oidc-client-ts

* persist issuer and clientId after successful oidc auth

* add OidcClientStore

* comments and tidy

* format
2023-07-20 21:30:19 +00:00
RiotRobot
86bd66b7c3 Reset matrix-js-sdk back to develop branch 2023-07-18 13:34:50 +01:00
RiotRobot
c268560b32 Resetting package fields for development 2023-07-18 13:33:48 +01:00
RiotRobot
5881df3f41 Merge branch 'master' into develop 2023-07-18 13:33:41 +01:00
RiotRobot
35c7df19af v3.76.0 2023-07-18 13:33:23 +01:00
RiotRobot
f0f1f0c1f5 Upgrade matrix-js-sdk to 27.0.0 2023-07-18 13:30:17 +01:00
Michael Telatynski
8f000384fe
Replace sinon fake timers with jest timers (#11275) 2023-07-17 12:29:51 +00:00
RiotRobot
d8dcfc96cc v3.76.0-rc.2 2023-07-14 16:16:19 +01:00
RiotRobot
fe947dca9e Upgrade matrix-js-sdk to 27.0.0-rc.2 2023-07-14 16:14:48 +01:00
Richard van der Hoff
46c12a808f
Cypress test for QR code display (#11240) 2023-07-13 13:56:15 +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
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
a67427e6ca v3.76.0-rc.1 2023-07-11 13:47:54 +01:00
RiotRobot
dc679052c0 Upgrade matrix-js-sdk to 27.0.0-rc.1 2023-07-11 13:46:05 +01: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
a89354b4a1 Resetting package fields for development 2023-07-04 15:17:05 +01:00
ElementRobot
948d5184b5 Merge branch 'master' into develop 2023-07-04 15:17:01 +01:00
ElementRobot
af683f06b5 v3.75.0 2023-07-04 15:16:51 +01:00
ElementRobot
1a902f4250 Upgrade matrix-js-sdk to 26.2.0 2023-07-04 15:11:14 +01: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
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
509cf255eb v3.75.0-rc.1 2023-06-27 12:03:58 +01: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
41864bce4e Resetting package fields for development 2023-06-20 10:19:56 +01:00
RiotRobot
8cf1eb8cb6 Merge branch 'master' into develop 2023-06-20 10:19:49 +01:00
RiotRobot
21ab205f35 v3.74.0 2023-06-20 10:19:28 +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
c534bde698 v3.74.0-rc1 2023-06-13 12:39:48 +01:00
RiotRobot
e30e7229c3 Upgrade matrix-js-sdk to 26.1.0-rc1 2023-06-13 12:32:59 +01: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
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
RiotRobot
18c15036b7 Merge branch 'master' into develop 2023-04-25 10:16:24 +01:00
RiotRobot
3992c97fe2 v3.71.0 2023-04-25 10:16:10 +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
8a6cf115e1 v3.71.0-rc.1 2023-04-18 11:53:59 +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
8e9cd74dbc Resetting package fields for development 2023-04-11 14:06:11 +01:00
RiotRobot
f9ab9fe8ce Merge branch 'master' into develop 2023-04-11 14:06:04 +01:00
RiotRobot
52f5d8c2d1 v3.70.0 2023-04-11 14:05:47 +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]
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]
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]
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]
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
15840e8a95 v3.70.0-rc.1 2023-04-04 12:01:40 +01: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
0904f6a1bb Merge branch 'master' into develop 2023-03-31 10:11:09 +01:00
RiotRobot
af3e57f9e1 v3.69.1 2023-03-31 09:57:42 +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
0475e7107f Merge branch 'master' into develop 2023-03-28 14:30:52 +01:00
RiotRobot
500a543662 v3.69.0 2023-03-28 14:23:32 +01:00
RiotRobot
0d8a1eb850 Upgrade matrix-js-sdk to 24.0.0 2023-03-28 14:21:30 +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
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
f4abc9095d Resetting package fields for development 2023-03-15 12:50:03 +00:00
RiotRobot
158111803e Merge branch 'master' into develop 2023-03-15 12:49:57 +00:00
RiotRobot
2d1d1fb585 v3.68.0 2023-03-15 12:49:41 +00:00
RiotRobot
9721bf4be5 Upgrade matrix-js-sdk to 23.5.0 2023-03-15 12:46:02 +00:00
RiotRobot
a1558e6577 v3.68.0-rc.3 2023-03-14 11:36:20 +00:00
RiotRobot
52420aa082 v3.68.0-rc.2 2023-03-10 15:05:15 +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]
bc7957c163
Update definitelyTyped (#10309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 16:13:32 +00:00
RiotRobot
ad28d123b2 v3.68.0-rc.1 2023-03-07 11:31:35 +00:00
RiotRobot
ca26449ccc Upgrade matrix-js-sdk to 23.5.0-rc.1 2023-03-07 11:27:16 +00:00
RiotRobot
47b5ff55cc Merge branch 'develop' into staging 2023-03-07 11:12:54 +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
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
82a4a1a930 Resetting package fields for development 2023-02-28 11:00:55 +00:00
RiotRobot
b85964ad46 v3.67.0 2023-02-28 11:00:23 +00:00
RiotRobot
c57803a459 v3.67.0-rc.2 2023-02-28 11:00:00 +00:00
RiotRobot
607393c347 v3.67.0-rc.1 2023-02-28 10:59:17 +00:00
RiotRobot
ae8311faab v3.67.0 2023-02-28 10:46:31 +00:00
RiotRobot
9c822daef5 Upgrade matrix-js-sdk to 23.4.0 2023-02-28 10:41:38 +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]
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
RiotRobot
d72bba5736 v3.67.0-rc.2 2023-02-22 11:17:47 +00:00
RiotRobot
a48fce0de2 Upgrade matrix-js-sdk to 23.4.0-rc.2 2023-02-22 11:13:25 +00:00
RiotRobot
9d6ad99bfc Merge branch 'develop' into staging 2023-02-22 10:59:22 +00: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
RiotRobot
f8e60100ed v3.67.0-rc.1 2023-02-21 13:08:01 +00:00
RiotRobot
f4efe3c1a8 Upgrade matrix-js-sdk to 23.4.0-rc.1 2023-02-21 13:05:19 +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
ae6658a362 Resetting package fields for development 2023-02-14 10:31:49 +00:00
RiotRobot
a55a53362a Merge branch 'master' into develop 2023-02-14 10:31:42 +00:00
RiotRobot
45cce24219 v3.66.0 2023-02-14 10:31:23 +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]
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
RiotRobot
a7b8282238 v3.66.0-rc.1 2023-02-07 12:11:59 +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
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