Commit graph

44017 commits

Author SHA1 Message Date
Michael Weimann
dae13ac852
Merge branch 'develop' into weeman1337/prettier 2022-12-12 15:58:30 +01:00
Patrick Cloke
9de5654353
Check each thread for unread messages. (#9723)
Co-authored-by: Germain <germain@souquet.com>
Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
2022-12-12 14:34:05 +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
Florian Duros
dec72c7683
Use icon component instead of mask-image for formatting buttons (#9732)
Use icon component instead of mask-image for formatting buttons
2022-12-09 17:01:03 +01:00
Andy Balaam
5c99450ff5
Merge pull request #9731 from matrix-org/weeman1337/eslint-plugin-matrix-org-0-8-0
Update eslint-plugin-matrix-org to 0.8.0
2022-12-09 14:33:00 +00:00
Richard van der Hoff
c3aabafc12
Simplify checks for cross-signing setup (#9721)
When the user logs in, we need to know if we should prompt them to verify from
an existing device, which means figuring out if the user has set up
cross-signing keys.

Currently we do this by explicitly downloading the user's keys and then trying
to fetch the cross-signing key. This is trickier to implement with the
rust-sdk, so instead let's use the newly-added `userHasCrossSigningKeys` in the
js-sdk.
2022-12-09 14:14:06 +00:00
Michael Weimann
0277aea0cf
Update eslint-plugin-matrix-org to 0.8.0 2022-12-09 14:31:56 +01:00
Florian Duros
73986faa7d
Add inline code to rich text editor (#9720)
Add inline code to rich text editor
2022-12-09 14:06:15 +01:00
Florian Duros
65f9843576
Add emoji handling for plain text mode (#9727)
Add emoji handling for plain text mode
2022-12-09 11:38:14 +01:00
Kerry
888e69f39a
Device manage - handle sessions that don't support encryption (#9717)
* add handling for unverifiable sessions

* test

* update types for filtervariation

* strict fixes

* avoid setting up cross signing in device man tests
2022-12-08 21:52:00 +00:00
Kerry
6150b86421
Overlay virtual room call events into main timeline (#9626)
* super WIP POC for merging virtual room events into main timeline

* remove some debugs

* c

* add some todos

* remove hardcoded fake virtual user

* insert overlay events into main timeline without resorting main tl events

* remove more debugs

* add extra tick to roomview tests

* RoomView test case for virtual room

* test case for merged timeline

* make overlay event filter generic

* remove TODOs from LegacyCallEventGrouper

* tidy comments

* remove some newlines

* test timelinepanel room timeline event handling

* use newState.roomId

* fix strict errors in RoomView

* fix strict errors in TimelinePanel

* add type

* pr tweaks

* strict errors

* more strict fix

* strict error whackamole

* update ROomView tests to use rtl
2022-12-08 21:37:25 +00:00
Michael Weimann
1b6d753cfe
Add voice broadcast device selection tooltip (#9726) 2022-12-08 15:27:32 +01:00
Marco Bartelt
95ac957fa4
add-privileged-users-in-room (#9596) 2022-12-08 12:40:31 +01:00
Andy Balaam
982c83d2a8
Merge pull request #9661 from matrix-org/feat/emoji-picker-rich-text-mode
Add emoji handling for rich text mode
2022-12-08 11:22:47 +00:00
Andy Balaam
afc2c58239
Merge branch 'develop' into feat/emoji-picker-rich-text-mode 2022-12-08 10:40:15 +00:00
Andy Balaam
33dfa14b77
Merge pull request #9725 from andybalaam/andybalaam/unparallel-cypress
Stop Cypress running in parallel to avoid failures with non-matching environments
2022-12-08 10:39:28 +00:00
Andy Balaam
908f81fa26 Stop Cypress running in parallel to avoid failures with non-matching environments 2022-12-08 10:18:02 +00:00
Andy Balaam
0f17728aa1
Merge branch 'develop' into feat/emoji-picker-rich-text-mode 2022-12-08 09:39:30 +00:00
Florian Duros
7943f83858
Change formatting buttons behavior (#9715)
Change formatting buttons behaviour
2022-12-07 12:13:35 +01:00
Michael Weimann
254815cbcf
Tweak voice broadcast chunk decoding (#9713) 2022-12-07 10:37:30 +01:00
Florian Duros
4200c882e2
Merge branch 'develop' into feat/emoji-picker-rich-text-mode 2022-12-07 09:57:41 +01:00
Michael Telatynski
8ced72dba6
Remove unused Dockerfile (#9716) 2022-12-07 08:17:19 +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
bc001c2b88
Fix types 2022-12-06 16:45:25 +01: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
Florian Duros
27139ca68e
Add test for emoji 2022-12-06 16:38:25 +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
143a3b16b3 Prepare changelog for v3.62.0 2022-12-06 12:47:42 +00:00
RiotRobot
336b96acc3 Upgrade matrix-js-sdk to 22.0.0 2022-12-06 12:40:19 +00:00
Germain
3a501003e2
Add setting to hide bold notifications (#9705) 2022-12-06 09:59:17 +00:00
Michael Weimann
474f464e48
Voice broadcast indicator in room list (#9709) 2022-12-06 10:56:29 +01:00
Michael Weimann
89439d4f10
Further password reset flow enhancements (#9662) 2022-12-06 10:01:25 +01:00
Kerry
82ad8d5aa2
Snooze the bulk unverified sessions reminder on dismiss (#9706)
* test bulk unverified sessions toast behaviour

* unverified sessions toast text tweak

* only show bulk unverified sessions toast when current device is verified

* add Setting for BulkUnverifiedSessionsReminder

* add build config for BulkUnverifiedSessionsReminder

* add more assertions for show/hide toast, fix strict errors

* fix strict error

* add util methods for snoozing in local storage

* rename nag to reminder

* set and read snooze for toast

* test snooze

* remove debug

* strict fix

* remove unused code
2022-12-06 06:18:03 +00:00
Florian Duros
54e12d265b
Merge remote-tracking branch 'origin/develop' into feat/emoji-picker-rich-text-mode 2022-12-05 17:40:46 +01:00
Florian Duros
f5efa85882
Fix types and console.log 2022-12-05 17:40:33 +01:00
László Várady
75c2c1a572
Honor advanced audio processing settings when recording voice messages (#9610)
* VoiceRecordings: honor advanced audio processing settings

Audio processing settings introduced in #8759 is now taken into account
when recording a voice message.

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* VoiceRecordings: add higher-quality audio recording

When recording non-voice audio (e.g. music, FX), a different Opus encoder
application should be specified. It is also recommended to increase the
bitrate to 64-96 kb/s for musical use.

Note: the HQ mode is currently activated when noise suppression is
turned off. This is a very arbitrary condition.

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* RecorderWorklet: fix type mismatch

src/audio/VoiceRecording.ts:129:67 - Argument of type 'null' is not
assignable to parameter of type 'string | URL'.

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* VoiceRecording: test audio settings

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* Fix typos

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* VoiceRecording: refactor using destructuring assignment

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* VoiceRecording: add comments about constants and non-trivial conditions

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

Signed-off-by: László Várady <laszlo.varady@protonmail.com>
2022-12-05 11:19:50 -05:00
Robin
1f8fbc8197
Don't allow group calls to be unterminated (#9710)
If group calls can be unterminated, this makes it very difficult to determine the duration of past calls. This was also causing duplicate event tiles to be rendered if multiple people tried to terminate a call simultaneously.
2022-12-05 16:11:23 +00:00
Florian Duros
be3a66b0e6
Fix edition 2022-12-05 16:17:25 +01:00
ElementRobot
f3432e99c8
[Backport staging] Fix replies to emotes not showing as inline (#9708)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-05 13:14:58 +00:00
Michael Telatynski
8576601b7c
Fix replies to emotes not showing as inline (#9707) 2022-12-05 12:50:51 +00:00
Michael Telatynski
5f76528832
Improve MImageBody error handling (#9663)
* Improve MImageBody error handling

* Fix strict errors

* We can assert this as isAnimated would be false if no content.info.mimetype
2022-12-05 12:50:19 +00:00
Michael Kaye
7065c58174
Update cypress.yaml GHA to not refer to workflow name. (#9649) 2022-12-05 11:43:22 +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
Michael Weimann
f117548b38
Do not resume voice broadcasts on seek (#9686) 2022-12-05 09:43:47 +01:00