Travis Ralston and GitHub
709e6e78d2
Revert "Use styled mxids in member list ( #6328 )" ( #8107 )
...
This reverts commit 5d28e0533d .
2022-03-21 19:58:38 -06:00
Travis Ralston and GitHub
aba61fa390
Revert "Support refresh tokens ( #7802 )"
...
This reverts commit 839593412c .
2022-02-16 12:32:38 -07:00
Travis Ralston and GitHub
a103a2ceaa
Revert "Show updated relation reply from edited message ( #6809 )"
...
This reverts commit eaab8e1570 .
2021-09-15 14:34:28 -06:00
Travis Ralston and GitHub
329292eb9b
Revert "Revert "Create narrow mode for Composer""
2021-09-06 22:11:35 -06:00
Travis Ralston and GitHub
945181fe39
Revert "Create narrow mode for Composer"
2021-09-06 22:08:50 -06:00
Travis Ralston and GitHub
e3cb55ce82
Update scripts/fetchdep.sh
2021-09-01 14:43:37 -06:00
Travis Ralston and GitHub
9344adb2d2
Revert "Partially restore immutable event objects at the rendering layer"
2021-06-19 13:38:19 -06:00
Travis Ralston and GitHub
ec7c1ab9f0
Revert "Try putting room list handling behind a lock"
2021-05-18 15:40:09 -06:00
Travis Ralston and GitHub
4929e3f3ed
Merge pull request #6023 from matrix-org/travis/msc2873
...
Add support for MSC2873: Client information for Widgets
2021-05-17 16:36:00 -06:00
Travis Ralston and GitHub
3308368ac6
Merge pull request #5960 from matrix-org/travis/msc2876
...
Support UI for MSC2762: Widgets reading events from rooms
2021-05-17 16:26:53 -06:00
Travis Ralston and GitHub
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
336904cef8
Apply suggestions from code review
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2021-05-14 11:05:49 -06:00
Travis Ralston and GitHub
55eddae096
Merge pull request #6035 from matrix-org/travis/voicemessages/playback-time
...
Improve progress bar progression for smaller voice messages
2021-05-14 10:17:35 -06:00
Travis Ralston and GitHub
6df079a5bd
Merge pull request #6033 from matrix-org/travis/rel-imageview
...
Add missing 'rel' to image view download button
2021-05-14 08:12:11 -06:00
Travis Ralston and GitHub
8066e5402c
Merge pull request #6034 from matrix-org/travis/voicemessages/waveform-noise
...
Improve visible waveform for voice messages
2021-05-14 08:12:01 -06:00
Travis Ralston and GitHub
1aa09cf0ae
Merge pull request #6032 from jaiwanth-v/swap-rotate-buttons
...
Swap rotation buttons in the image viewer
2021-05-13 21:11:32 -06:00
Travis Ralston and GitHub
e38d27f64e
Merge pull request #5915 from aaronraimist/initialisation
...
Typo: initilisation -> initialisation
2021-05-13 20:15:08 -06:00
Travis Ralston and GitHub
2d2c0d54c0
Merge pull request #6001 from jaiwanth-v/save-edited-state-messages
...
Save edited state of a message when switching rooms
2021-05-13 20:06:31 -06:00
Travis Ralston and GitHub
7bd1a2b87f
Merge pull request #5972 from SimonBrandner/fix/17164/remember-collapsed-state
...
Persistent space collapsed states
2021-05-11 23:23:48 -06:00
Travis Ralston and GitHub
9842bcde50
Merge pull request #6010 from ndarilek/develop
...
Catch another instance of unlabeled avatars.
2021-05-11 21:44:15 -06:00
Travis Ralston and GitHub
352937de11
Merge pull request #5996 from matrix-org/travis/voicemessages/resample2
...
Rescale and smooth voice message playback waveform to better match expectation
2021-05-11 10:28:33 -06:00
Travis Ralston and GitHub
b1d5dc1194
Merge pull request #5993 from matrix-org/travis/voicemessages/scale
...
Scale voice message clock with user's font size
2021-05-11 10:25:36 -06:00
Travis Ralston and GitHub
8d5b2d63dd
Merge pull request #5995 from matrix-org/travis/voicemessages/indev
...
Remove "in development" flag from voice messages
2021-05-11 10:13:42 -06:00
Travis Ralston and GitHub
d1cfde6f12
Merge pull request #5989 from matrix-org/travis/voicemessages/safari
...
Support voice messages on Safari
2021-05-11 10:12:31 -06:00
Travis Ralston and GitHub
7ac12d14af
Merge pull request #5865 from jaiwanth-v/edit-slashcommands
...
Add slash commands support to edit message composer
2021-05-10 20:16:44 -06:00
Travis Ralston and GitHub
392cde719c
Merge pull request #5940 from DantrazTrev/err
...
Fix the two todays problem
2021-05-10 20:15:06 -06:00
Travis Ralston and GitHub
122565b3ac
Update src/components/views/rooms/EditMessageComposer.js
2021-05-10 20:03:20 -06:00
Travis Ralston and GitHub
379d19e2e0
Lint
2021-05-10 19:56:30 -06:00
Travis Ralston and GitHub
c2ae6c279b
Merge pull request #5991 from robintown/forbid-encryption-redaction
...
Forbid redaction of encryption events
2021-05-07 19:19:55 -06:00
Travis Ralston and GitHub
04d566e247
Merge pull request #5988 from matrix-org/travis/voicemessages/glitch-1
...
Fix voice message playback being squished up against send button
2021-05-07 08:00:45 -06:00
Travis Ralston and GitHub
b5c25498c8
Merge pull request #5986 from matrix-org/dependabot/npm_and_yarn/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21
2021-05-06 19:14:50 -06:00
Travis Ralston and GitHub
340b6bb224
Merge pull request #5987 from matrix-org/dependabot/npm_and_yarn/test/end-to-end-tests/lodash-4.17.21
...
Bump lodash from 4.17.19 to 4.17.21 in /test/end-to-end-tests
2021-05-06 19:14:41 -06:00
Travis Ralston and GitHub
03ad901453
Merge pull request #5984 from matrix-org/dependabot/npm_and_yarn/ua-parser-js-0.7.28
...
Bump ua-parser-js from 0.7.23 to 0.7.28
2021-05-06 19:13:01 -06:00
Travis Ralston and GitHub
d531e3d59f
Merge pull request #5971 from matrix-org/travis/files/visual
...
Update visual style of plain files in the timeline
2021-05-06 10:57:22 -06:00
Travis Ralston and GitHub
3e1265b9bb
Merge pull request #5970 from matrix-org/travis/voicemessages/colors
...
Update colours and sizing for voice messages
2021-05-05 11:09:18 -06:00
Travis Ralston and GitHub
feac025f6f
Merge pull request #5955 from matrix-org/travis/voicemessages/timeline
...
Early rendering for voice messages in the timeline
2021-05-04 09:06:49 -06:00
Travis Ralston and GitHub
34c735e4d9
Merge pull request #5956 from matrix-org/travis/voicemessages/waveform2
...
Calculate the real waveform in the Playback class for voice messages
2021-05-04 09:04:08 -06:00
Travis Ralston and GitHub
9b7665433f
Merge pull request #5957 from matrix-org/travis/voicemessages/resample
...
Don't recurse on arrayFastResample
2021-05-04 09:04:01 -06:00
Travis Ralston and GitHub
2ddc07ed21
Merge pull request #5958 from matrix-org/travis/voicemessages/dark
...
Support a dark theme for voice messages
2021-05-04 09:03:53 -06:00
Travis Ralston and GitHub
704edfc05b
Merge pull request #5959 from matrix-org/travis/voicemessages/permissions
...
Handle no/blocked microphones in voice messages
2021-05-04 09:03:38 -06:00
Travis Ralston and GitHub
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 and GitHub
b90c845fcb
Revert "Fixes the two Todays problem in Redaction"
2021-04-28 10:07:22 -06:00
Travis Ralston and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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
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
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
Travis Ralston
c1bb0bb0b8
Add a delete button
2021-04-27 15:02:15 -06:00
Travis Ralston
30e120284d
Add simple play/pause controls
2021-04-27 15:02:15 -06:00
Travis Ralston
e079f64a16
Adjust pixel dimensions
2021-04-27 15:02:15 -06:00
Travis Ralston
32e3ce3dea
Handle basic state machine of recordings
2021-04-27 15:02:15 -06:00
Travis Ralston and GitHub
afd53d8b53
Merge pull request #5930 from matrix-org/travis/error-view-fix
...
Handle possible edge case with getting stuck in "unsent messages" bar
2021-04-27 11:17:33 -06:00
Travis Ralston
b9bd83ad41
Handle possible edge case with getting stuck in "unsent messages" bar
...
Just in case we're not cleaning up the isResending state properly, here's a catch all.
Unrelated to https://github.com/vector-im/element-web/issues/17078 (this code doesn't affect the js-sdk error the author is seeing)
2021-04-27 08:58:18 -06:00
Travis Ralston and GitHub
ddb8947c15
Merge pull request #5897 from matrix-org/travis/error-states
...
Improve message error states
2021-04-26 08:16:26 -06:00
Travis Ralston
49f5f89351
Give a bit of opacity to the divider colour
2021-04-23 16:04:53 -06:00
Travis Ralston
82119ad595
Merge branch 'develop' into travis/error-states
2021-04-23 15:53:37 -06:00
Travis Ralston and GitHub
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
Travis Ralston
2c459c4828
Move utility tests to the right place
2021-04-22 20:37:19 -06:00
Travis Ralston
374f51452e
Add set utility tests
2021-04-22 20:37:19 -06:00
Travis Ralston
27af3291ed
Add number utility tests
2021-04-22 20:37:19 -06:00
Travis Ralston
6124a8319b
Add iterable utility tests
...
Unsurprisingly, it's a copy/paste of the array tests
2021-04-22 20:37:19 -06:00
Travis Ralston
0d4218ee35
Add enum utility tests
2021-04-22 20:37:19 -06:00
Travis Ralston
21cae1502a
Add map utility tests
2021-04-22 20:37:19 -06:00
Travis Ralston
772ff4e257
Add object 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
Travis Ralston and GitHub
06726d38fe
Merge pull request #5888 from matrix-org/travis/voice/event_type
...
Expand upon voice message event & include overall waveform
2021-04-22 14:41:59 -06:00
Travis Ralston
14809dfda7
Misc cleanup
2021-04-22 08:22:31 -06:00
Travis Ralston
a53696ff5e
Fix tests
2021-04-21 16:53:29 -06:00
Travis Ralston
4be9c51dad
Move all the RED_EXCLAMATION badges to a single definition
2021-04-21 16:43:25 -06:00
Travis Ralston
9227618b42
Show indicator in Room List for unsent events
2021-04-21 16:36:06 -06:00
Travis Ralston
cc095c85bf
Dark theme support
2021-04-21 16:24:17 -06:00
Travis Ralston
c5dd6b4dfb
Update action bar to incorporate sending states
...
This moves most of them out of the context menu.
2021-04-21 16:24:17 -06:00
Travis Ralston
91b3688feb
Redesign "failed to send messages" status bar
2021-04-21 16:24:17 -06:00
b519d85127
Update src/voice/RecorderWorklet.ts to use sanity
...
Co-authored-by: Germain <germain@souquet.com >
2021-04-20 09:32:12 -06:00
Travis Ralston
4f75e2944c
Appease the linter
2021-04-19 23:11:41 -06:00
Travis Ralston
61730f2f88
Populate waveform data on voice message event
2021-04-19 23:05:53 -06:00
Travis Ralston
7d9562137e
Replace deprecated processor with a worklet
2021-04-19 21:54:08 -06:00
Travis Ralston
6f794cca9b
Fill in some metadata for the sent event
2021-04-19 21:01:48 -06:00
Travis Ralston and GitHub
01fc88f88a
Merge pull request #5871 from matrix-org/travis/voice/countdown
...
Limit voice recording length
2021-04-19 10:30:38 -06:00
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
f955f33071
Merge branch 'develop' into travis/voice/countdown
2021-04-16 10:00:11 -06:00
Travis Ralston and GitHub
a821ece128
Merge pull request #5869 from matrix-org/travis/voice/pulse-2
...
Pulse animation for voice messages recording state
2021-04-16 09:41:33 -06:00
Travis Ralston and GitHub
7878e1cd57
Merge pull request #5870 from matrix-org/travis/voice/disable-composer
...
Properly disable composer access when recording a voice message
2021-04-16 07:36:53 -06:00
Travis Ralston
3e24d6f8ac
Change animation speed
2021-04-15 10:49:39 -06:00
Travis Ralston
f0d1e7c565
Document the lamp effect
2021-04-15 10:04:15 -06:00
Travis Ralston
6b3ac20d76
Cleanup
2021-04-15 09:53:15 -06:00
Travis Ralston and GitHub
bf70666f9b
Merge pull request #5873 from matrix-org/travis/dnd
...
Labs: Add quick/cheap "do not disturb" flag
2021-04-15 08:38:17 -06:00