Germain Souquet
ac93cc514f
Prevent layout trashing when resizing the window
2021-05-25 10:28:20 +01:00
Travis Ralston
ec7c1ab9f0
Revert "Try putting room list handling behind a lock"
2021-05-18 15:40:09 -06:00
Travis Ralston
01491f4cba
Merge pull request #6024 from matrix-org/travis/roomlist-corruption
...
Try putting room list handling behind a lock
2021-05-14 11:06:19 -06:00
Travis Ralston
336904cef8
Apply suggestions from code review
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-05-14 11:05:49 -06:00
Travis Ralston
df7b598ca7
Improve visible waveform for voice messages
...
This tries to prioritize actual voice to decide the waveform, and clamps noise to zero to ensure the waveform doesn't have a perceptually noisy base.
In theory this better matches the overall voice message content.
2021-05-13 22:20:08 -06:00
Michael Telatynski
dd04b479a1
Wrap decodeURIComponent in try-catch to protect against malformed URIs
2021-05-13 10:20:27 +01:00
Travis Ralston
9beb2b8d78
Try putting room list handling behind a lock
...
Some of the logs relating to room list corruption appear to be badly timed race conditions so we'll try to linearize them here.
2021-05-12 21:15:17 -06:00
Travis Ralston
d8e3458c55
Merge remote-tracking branch 'origin/develop' into travis/voicemessages/resample2
2021-05-11 10:15:37 -06:00
J. Ryan Stinnett
45acf70b00
Merge pull request #5981 from matrix-org/jryans/upload-preview-mimetype
...
Adjust MIME type of upload confirmation if needed
2021-05-10 10:21:35 +01:00
Travis Ralston
389e0b8e8e
wrong const
2021-05-07 21:11:31 -06:00
Travis Ralston
90798c2c8e
copy/paste will end me one day
2021-05-07 21:09:10 -06:00
Travis Ralston
b007ea81b2
Rescale and smooth playback waveform to better match expectation
2021-05-07 21:06:07 -06:00
J. Ryan Stinnett
6e0c7611c3
Extract blob-safe MIME types
2021-05-06 13:53:27 +01:00
Michael Telatynski
650933096a
Iterate Spaces admin UX around room management
2021-05-05 17:25:29 +01:00
Travis Ralston
5dbe882c77
Don't recurse on arrayFastResample
...
Fixes https://github.com/vector-im/element-web/issues/17136
2021-05-03 15:20:29 -06: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
Travis Ralston
f0f875d1e2
Merge branch 'develop' into handle-encoded-urls
2021-04-28 09:53:16 -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
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
Travis Ralston
32e3ce3dea
Handle basic state machine of recordings
2021-04-27 15:02:15 -06:00
Šimon Brandner
46bfbbadf9
Enable indent rule and fix indent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 17:23:27 +02:00
J. Ryan Stinnett
b8203043be
Add types to Permalinks
2021-04-27 12:11:23 +01:00
J. Ryan Stinnett
bca45a1ad4
Add types to Timer
2021-04-27 12:02:20 +01:00
J. Ryan Stinnett
417f662ea7
Remove redundant parameter initialisers
2021-04-26 17:12:31 +01:00
J. Ryan Stinnett
cddcedcce2
Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts
2021-04-26 15:57:28 +01:00
J. Ryan Stinnett
82caac16c8
Add types for StorageManager functions
2021-04-26 15:30:34 +01:00
J. Ryan Stinnett
889289d464
Tweak Timer constructor
2021-04-26 15:01:05 +01:00
J. Ryan Stinnett
b8a915bb76
Tweak private / underscores for fields and methods
2021-04-26 14:02:53 +01:00
Travis Ralston
82119ad595
Merge branch 'develop' into travis/error-states
2021-04-23 15:53:37 -06:00
Travis Ralston
09af2a8891
Merge pull request #5910 from matrix-org/travis/tests/array-obj-utils
...
Add unit tests for various collection-based utility functions
2021-04-23 11:21:12 -06:00
J. Ryan Stinnett
2344ddd164
Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts
2021-04-23 17:19:52 +01:00
J. Ryan Stinnett
d7e6f4b4b5
Add basic types
2021-04-23 17:05:50 +01:00
J. Ryan Stinnett
31a28b1a9e
Update extensions for some files with types
...
This migrates one bucket of files using some amount of Flow typing to mark them
as TypeScript instead. The remaining type errors are fixed in subsequent
commits.
2021-04-23 16:05:30 +01:00
David Baker
dc3d05bc88
Test for asserted identity
...
This is out first CallHandler test(!) Switches react-sdk to use
createCall on the client object so we can stub this out in the test.
Add a bunch more stubs to the test client.
There's more stuff in this test that has scope to be used more
widely, like waiting for a certain dispatch and mocking out rooms
with particular sets of users in them: we could consider moving these
out to test utils if we wanted.
2021-04-23 14:39:39 +01:00
J. Ryan Stinnett
c09d4f4a78
Merge pull request #5904 from SimonBrandner/normalize-wheel
...
Add a WheelEvent normalization function
2021-04-23 12:59:37 +01:00
Travis Ralston
0d4218ee35
Add enum utility tests
2021-04-22 20:37:19 -06:00
Travis Ralston
a3e846685d
Add array utility tests (and support upsampling in resample)
...
See contained diff.
The upsampling is important for Voice Messages, but is being done here because it's easier to add all the tests at once.
This also introduces a new Object utility - that will be tested on its own commit.
2021-04-22 20:08:45 -06:00
Šimon Brandner
ad53b0e2e2
Add normalizeWheelEvent()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-22 14:56:12 +02:00
Jaiwanth
f2d0a56c1f
Handle encoded matrix urls
...
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-22 16:54:51 +05:30
Travis Ralston
91b3688feb
Redesign "failed to send messages" status bar
2021-04-21 16:24:17 -06:00
Travis Ralston
61730f2f88
Populate waveform data on voice message event
2021-04-19 23:05:53 -06:00
Travis Ralston
20586e52bc
Update src/utils/Singleflight.ts to support English
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-04-19 10:13:22 -06:00
Travis Ralston
d23f66bb47
Update documentation
2021-04-16 10:11:04 -06:00
Travis Ralston
22233a8745
Add a concept of a singleflight to avoid repeated calls to stop/ending
...
This makes it easier to keep track of which pieces the client will have already dispatched or been executed, reducing the amount of class members needed.
Critically, this makes it so the 'stop' button (which is currently a send button) actually works even after the automatic stop has happened.
UI is still pending for stopping recording early. This is not covered by this change.
2021-04-14 21:59:50 -06:00
Travis Ralston
54412878a1
Merge branch 'develop' into travis/voice-messages/waveform
2021-03-29 22:59:51 -06:00
Michael Telatynski
9fb653e522
Fix room space invite button for public spaces
2021-03-26 11:43:01 +00:00
Germain Souquet
510f08e9f1
Update failed invites copy
2021-03-25 10:11:52 +00:00
Travis Ralston
8ddd14e252
Early concept for rendering the frequency waveform
2021-03-24 22:17:45 -06:00
Germain Souquet
d836ca19d8
remove references to disused RIOT.USER_NOT_FOUND error code
2021-03-24 08:58:08 +00:00