Commit Graph

32763 Commits (54e139a6adc7604411f041912ec5b97fb4903dba)

Author SHA1 Message Date
Jaiwanth 54e139a6ad Generate previews when the room tile is maximised 2021-05-03 23:17:10 +05:30
Jaiwanth cf9edb1884 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into room-preview-spaces 2021-05-03 21:53:54 +05:30
Michael Telatynski 8dbcc85249
Merge pull request #5944 from matrix-org/t3chguy/fix/17043
Inhibit sending RR when context switching to a room
2021-04-30 15:13:18 +01:00
Michael Telatynski 39ccecab03
Merge pull request #5950 from matrix-org/t3chguy/fix/17117
Prevent room list keyboard handling from landing focus on hidden nodes
2021-04-30 12:55:27 +01:00
Michael Telatynski 0008ef7ab1
Merge pull request #5942 from matrix-org/t3chguy/fix/16998
Make the text filter search all spaces instead of just the selected one
2021-04-30 12:53:38 +01:00
Michael Telatynski 43410835a3 Prevent room list keyboard handling from landing focus on hidden nodes 2021-04-30 11:53:56 +01:00
J. Ryan Stinnett 83035b6b6a
Merge pull request #5931 from SimonBrandner/fix-indent
Enable indent rule and fix indent
2021-04-30 11:51:22 +01:00
Šimon Brandner 2e62b18617
Revert some changes to avoid re-translation
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-30 12:30:14 +02:00
Germain 19cfd577f4
Merge pull request #5946 from jaiwanth-v/restrict-reactions 2021-04-30 09:14:55 +01:00
Jaiwanth f766f985e4 Change cursor to not-allowed 2021-04-30 08:25:58 +05:30
Hubert Chathi 11ee3c752f
Merge pull request #5939 from rda0/disallow-inline-diplay-maths
Disallow inline display maths
2021-04-29 15:16:46 -04:00
Šimon Brandner c6bd2c7d67
Fix some more formatting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-29 20:18:26 +02:00
Šimon Brandner 5913203dc6
Merge branch 'develop' into fix-indent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-29 20:08:14 +02:00
Šimon Brandner 232b87a3b4
Improve formatting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-29 19:57:02 +02:00
Jaiwanth 70204d6111 Prevent peeking members from reacting
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-29 22:41:57 +05:30
Jaiwanth d2de115b2f Generate room preview even when minimized
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-29 21:37:44 +05:30
Michael Telatynski 73abe51fb9 actually use the new state 2021-04-29 16:46:21 +01:00
Michael Telatynski 62198601d2 Tweak room list filter placeholder and results copy for spaces 2021-04-29 16:40:08 +01:00
Michael Telatynski e390c3c732 Inhibit sending RR when context switching to a room 2021-04-29 09:37:21 +01:00
Michael Telatynski efb9b71900 Make the text filter search all spaces instead of just the selected one 2021-04-28 23:18:42 +01:00
Michael Telatynski d203e8f129
Merge pull request #5923 from matrix-org/t3chguy/fix/16628
Space creation prompt user to add existing rooms for "Just Me" spaces
2021-04-28 23:03:00 +01:00
Michael Telatynski 9f8955fb6c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/16628
 Conflicts:
	src/components/views/dialogs/AddExistingToSpaceDialog.tsx
2021-04-28 22:49:36 +01:00
Sven Mäder bbce1ac704 Disallow inline display maths 2021-04-28 19:39:38 +02:00
J. Ryan Stinnett 4554124771
Merge pull request #5937 from matrix-org/jryans/coverage
Add test coverage collection script
2021-04-28 17:34:05 +01:00
J. Ryan Stinnett e0bcccd600 Ignore possible coverage output 2021-04-28 17:17:43 +01:00
Michael Telatynski 08e0f15006
Merge pull request #5936 from matrix-org/t3chguy/fix/17084
Fix joining room using via servers regression
2021-04-28 17:09:22 +01:00
Travis Ralston c6c56e0c03
Merge pull request #5938 from matrix-org/revert-5917-Redact
Revert "Fixes the two Todays problem in Redaction"
2021-04-28 10:08:03 -06:00
Travis Ralston b90c845fcb
Revert "Fixes the two Todays problem in Redaction" 2021-04-28 10:07:22 -06:00
Travis Ralston ec4ac05684
Merge pull request #5903 from jaiwanth-v/handle-encoded-urls
Handle encoded matrix URLs
2021-04-28 09:56:07 -06:00
Travis Ralston f0f875d1e2 Merge branch 'develop' into handle-encoded-urls 2021-04-28 09:53:16 -06:00
Travis Ralston 3890bec8ad
Merge pull request #5860 from samhh/always-render-ignored-users
Render ignored users setting regardless of if there are any
2021-04-28 09:51:57 -06:00
Travis Ralston 14f1388522
Merge pull request #5830 from SimonBrandner/fix-trailing-colon
Fix inserting trailing colon after mention/pill
2021-04-28 09:51:50 -06:00
Travis Ralston e53b3b6634
Merge pull request #5917 from DantrazTrev/Redact
Fixes the two Todays problem in Redaction
2021-04-28 09:51:43 -06:00
Travis Ralston baef98253e
Merge pull request #5920 from aaronraimist/page-up-down
Fix page up/down scrolling only half a page
2021-04-28 09:51:36 -06:00
Travis Ralston 8d8525cdeb
Merge pull request #5935 from matrix-org/travis/voice/control-bar
Voice messages: Composer controls
2021-04-28 09:38:28 -06:00
Travis Ralston 6764b8d645 Change symbol names 2021-04-28 09:29:31 -06:00
Travis Ralston d4acd0e41c Remove excess IState 2021-04-28 09:28:46 -06:00
J. Ryan Stinnett 69f797eda4 Add test coverage collection script
This makes it clear to how collect basic test coverage when desired.
2021-04-28 14:17:57 +01:00
David Baker c95c1aeffd
Merge pull request #5886 from matrix-org/dbkr/asserted_identity
Support MSC3086 asserted identity
2021-04-28 09:47:40 +01:00
Michael Telatynski 27731ac25b tidy 2021-04-28 09:07:02 +01:00
Michael Telatynski 5966fade0b Fix joining room using via servers regression 2021-04-28 09:04:02 +01:00
Travis Ralston 8fca32d651 Clean up imports from refactoring 2021-04-27 23:48:07 -06:00
Travis Ralston 8213c48b7f Fix first waveform bar highlighting in playback at 0% 2021-04-27 23:34:26 -06:00
Travis Ralston f0ff2fc38d Ensure we capture an absolute maximum amount of audio samples
We say the limit is 2 minutes, not 1m59s, so let's give the user that last frame.
2021-04-27 23:30:54 -06:00
Travis Ralston 617d74f9cd Treat 119.68 seconds as 1:59 instead of 1:60 2021-04-27 23:07:45 -06:00
Travis Ralston c2bcdae8a9 Switch global var to the store for easier debugging 2021-04-27 23:04:49 -06:00
Travis Ralston c4d85c457b Add progress effect to playback waveform 2021-04-27 22:59:16 -06:00
Ayush PS e2ce699130 Fixed linting warnings in MessagePanel.js 2021-04-28 10:02:20 +05:30
Travis Ralston c2d37af1cb Move playback to its own set of classes
This all started with a bug where the clock wouldn't update appropriately, and ended with a whole refactoring to support later playback in the timeline.

Playback and recording instances are now independent, and this applies to the <Playback* /> components as well. Instead of those playback components taking a recording, they take a playback instance which has all the information the components need.

The clock was incredibly difficult to do because of the audio context's time tracking and the source's inability to say where it is at in the buffer/in time. This means we have to track when we started playing the clip so we can capture the audio context's current time, which may be a few seconds by the first time the user hits play. We also track stops so we know when to reset that flag.

Waveform calculations have also been moved into the base component, deduplicating the math a bit.
2021-04-27 22:23:57 -06:00
Travis Ralston 5e646f861c Wire up the send button for voice messages
This fixes a bug where we couldn't upload voice messages because the audio buffer was being read, therefore changing the position of the cursor. When this happened, the upload function would claim that the buffer was empty and could not be read.
2021-04-27 18:59:10 -06:00