100 Commits
Author SHA1 Message Date
Travis RalstonandGitHub 1e3c145018 Merge pull request #27905 from element-hq/travis/docker-win
dos2unix more Docker scripts
2024-08-07 14:29:04 +00:00
Travis RalstonandGitHub 6efd8a4642 Merge pull request #27891 from element-hq/travis/global-sw
Switch from `self` to `global` for service worker
2024-08-02 14:20:41 +00:00
Travis RalstonandGitHub dd685934a3 Merge pull request #27758 from element-hq/travis/add-serviceworker-debug
Add debugging for service worker version check
2024-07-16 20:25:00 +00:00
Travis RalstonandGitHub 39bdcafbe2 Merge pull request #27675 from element-hq/travis/authed-media-ipc
Add Electron IPC APIs for authenticated media
2024-07-10 13:41:40 +00:00
Travis RalstonandGitHub e151d9ab53 Merge pull request #27558 from element-hq/travis/stable-msc3916
Use stable endpoints for MSC3916
2024-06-13 16:32:18 +00:00
Travis RalstonandGitHub c8686b69bd Update changelog 2022-08-31 11:30:35 -06:00
Travis RalstonandGitHub 709e6e78d2 Revert "Use styled mxids in member list (#6328)" (#8107)
This reverts commit 5d28e0533d.
2022-03-21 19:58:38 -06:00
Travis RalstonandGitHub aba61fa390 Revert "Support refresh tokens (#7802)"
This reverts commit 839593412c.
2022-02-16 12:32:38 -07:00
Travis RalstonandGitHub 5ac4702ae3 Fix widget-api lockfile reference to avoid dependency conflicts (#19546)
This affects release builds only, for some reason.
2021-11-01 11:56:42 -06:00
Travis RalstonandGitHub 85b489b3a7 Artificially set a VERSION environment variable during build steps (#19518)
Fixes https://github.com/vector-im/element-web/issues/19485

The variable should be set when it needs to by CI, but in every other environment it's not important. Simply setting it to *something* makes EnvironmentPlugin happy. We print a warning just in case people expect it to be set, and use a clear value in case the environment variable doesn't get properly set.
2021-10-27 08:16:04 -06:00
Travis RalstonandGitHub 004e8edcb2 Deprecate sso_immediate_redirect and add welcome-page only option (#19437)
* Deprecate `sso_immediate_redirect` and add welcome-page only option

The old `sso_immediate_redirect` option is kept in code for backwards compatibility, but is replaced by `sso_redirect_options.immediate`, where a new `on_welcome_page` option is also introduced to only target entry points to the app. 

The path matching is a bit brittle, but still ideal in the sense of not showing UI while the app realizes it needs to redirect.

The new welcome page-only option is fully intended to avoid breaking permalinks and such while still redirecting when needed. In future, other options might be added here to further tune the experience.

* Add note about guests
2021-10-21 08:35:05 -06:00
Travis RalstonandGitHub c1ca4a0920 Update allchange (#19453) 2021-10-19 23:31:32 +01:00
Travis RalstonandGitHub 0af82dbbbd Update allchange (#273) 2021-10-19 18:21:33 +01:00
Travis RalstonandGitHub ef470a1207 Merge pull request #19368 from vector-im/travis/labs/polls
Add labs docs for polls feature
2021-10-13 11:28:46 -06:00
Travis RalstonandGitHub 4a24775fd9 Merge pull request #19165 from SimonBrandner/task/usercontent-ts
Convert `/src/usercontent` to TS
2021-09-25 23:23:36 -06:00
Travis RalstonandGitHub a103a2ceaa Revert "Show updated relation reply from edited message (#6809)"
This reverts commit eaab8e1570.
2021-09-15 14:34:28 -06:00
Travis RalstonandGitHub 72e4197db8 Merge pull request #19038 from vector-im/travis/be-better
Encourage false positives of the error dialog to result in tickets
2021-09-15 11:44:54 -06:00
Travis RalstonandGitHub c16c473dbf Merge pull request #261 from yu-re-ka/feature/fix-enable-features
Only set `enable-features` if the user hasn't
2021-09-06 22:36:26 -06:00
Travis RalstonandGitHub 329292eb9b Revert "Revert "Create narrow mode for Composer"" 2021-09-06 22:11:35 -06:00
Travis RalstonandGitHub 945181fe39 Revert "Create narrow mode for Composer" 2021-09-06 22:08:50 -06:00
Travis RalstonandGitHub adc8efc691 Merge pull request #18872 from psrpinto/labs-doc-layout-switcher
Document missing features in labs.md
2021-09-02 22:08:46 -06:00
Travis RalstonandGitHub b73e2fc27d Merge pull request #18864 from vector-im/travis/w-api-update
Update matrix-widget-api dependency
2021-09-01 14:51:52 -06:00
Travis RalstonandGitHub e3cb55ce82 Update scripts/fetchdep.sh 2021-09-01 14:43:37 -06:00
Travis RalstonandGitHub d5d7fe64f5 Merge pull request #18774 from vector-im/travis/i-hate-the-error-dialog-that-gets-in-my-way-and-still-doesnt-take-focus-so-i-break-things-in-devtools
Disable HMR error page by default
2021-08-25 10:05:34 -06:00
Travis RalstonandGitHub 24a076a202 Merge pull request #18665 from psrpinto/fix/theme-hot-reload
Fix isues with CSS hot-reload
2021-08-24 09:55:23 -06:00
Travis RalstonandGitHub fac01903e7 Merge pull request #18494 from zane-schaffer/patch-1
Fix dead link in contribution.md
2021-08-11 14:03:07 -06:00
Travis RalstonandGitHub 6a8f69243f Update CONTRIBUTING.md 2021-08-11 13:56:15 -06:00
Travis RalstonandGitHub 5470c074d9 Merge pull request #18418 from SimonBrandner/feature/hidden-rrs
[Labs] Document hidden read receipts
2021-08-06 09:27:18 -06:00
Travis RalstonandGitHub 7a2b60f276 Merge pull request #18395 from vector-im/travis/voice-messages/worklet
Properly handle react-sdk's recorder worklet
2021-08-04 15:31:37 -06:00
Travis RalstonandGitHub 63cefd4540 Merge pull request #245 from vector-im/dependabot/npm_and_yarn/tar-6.1.2
Bump tar from 6.1.0 to 6.1.2
2021-08-03 15:50:43 -06:00
Travis RalstonandGitHub 95a5a83868 Merge pull request #18166 from vector-im/travis/voice-messages/delabs
Remove voice messages labs flag docs
2021-08-02 02:02:48 -06:00
Travis RalstonandGitHub e0c9a6cc8e Merge pull request #18187 from vector-im/travis/voice-messages/code-cleanup-1
Update webpack path for new voice message worker location
2021-07-23 09:09:20 -06:00
Travis RalstonandGitHub 81da85dac4 Merge pull request #18102 from libexus/translations_guide
Add the Matrix Space to the translations guide
2021-07-20 08:40:04 -06:00
Travis RalstonandGitHub 0bf78cd531 Merge pull request #17772 from aaronraimist/libera
Add libera.chat to default room directory
2021-06-25 00:23:07 -06:00
Travis RalstonandGitHub 0c1f0d5df6 Merge pull request #17478 from vector-im/dependabot/npm_and_yarn/dns-packet-1.3.4
Bump dns-packet from 1.3.1 to 1.3.4
2021-06-24 07:26:36 -06:00
Travis RalstonandGitHub bc98ae8f05 Merge pull request #17747 from vector-im/travis/fix-wapi-202106
Update matrix-widget-api to fix build issues
2021-06-23 11:31:42 -06:00
Travis RalstonandGitHub f28a37aba5 Merge pull request #17742 from vector-im/jaywink/tiny-whitespace-fix
Fix whitespace in Dockerfile
2021-06-23 08:00:03 -06:00
Travis RalstonandGitHub f61370505b Merge pull request #203 from dogancelik/numpad-zoom
Add numpad accelerators for zooming
2021-06-22 19:42:49 -06:00
Travis RalstonandGitHub 02d0999b18 Merge pull request #201 from aaronraimist/invalid-config
Add warning dialog when custom config.json is invalid
2021-06-22 14:16:24 -06:00
Travis RalstonandGitHub 9344adb2d2 Revert "Partially restore immutable event objects at the rendering layer" 2021-06-19 13:38:19 -06:00
Travis RalstonandGitHub ec7c1ab9f0 Revert "Try putting room list handling behind a lock" 2021-05-18 15:40:09 -06:00
Travis RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub e716e484a6 Merge pull request #16989 from SimonBrandner/https
Add `yarn start:https`
2021-05-13 20:16:11 -06:00
Travis RalstonandGitHub e38d27f64e Merge pull request #5915 from aaronraimist/initialisation
Typo: initilisation -> initialisation
2021-05-13 20:15:08 -06:00
Travis RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 9842bcde50 Merge pull request #6010 from ndarilek/develop
Catch another instance of unlabeled avatars.
2021-05-11 21:44:15 -06:00
Travis RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 3b1193c1e6 Merge pull request #17204 from vector-im/travis/voicemessages/indev
Remove "in development" flag from voice messages labs documentation
2021-05-11 10:12:50 -06:00
Travis RalstonandGitHub c00abd6add Merge pull request #17193 from vector-im/travis/voicemessages/safari
Add required webpack+jest config to load Safari support modules
2021-05-11 10:12:36 -06:00
Travis RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 392cde719c Merge pull request #5940 from DantrazTrev/err
Fix the two todays problem
2021-05-10 20:15:06 -06:00
Travis RalstonandGitHub 122565b3ac Update src/components/views/rooms/EditMessageComposer.js 2021-05-10 20:03:20 -06:00
Travis RalstonandGitHub 379d19e2e0 Lint 2021-05-10 19:56:30 -06:00
Travis RalstonandGitHub c2ae6c279b Merge pull request #5991 from robintown/forbid-encryption-redaction
Forbid redaction of encryption events
2021-05-07 19:19:55 -06:00
Travis RalstonandGitHub cd127c51ae Merge pull request #17194 from vector-im/travis/dev1
Disable host checking on the webpack dev server
2021-05-07 08:02:04 -06:00
Travis RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 7cfec9255e Merge pull request #17190 from vector-im/dependabot/npm_and_yarn/ua-parser-js-0.7.24
Bump ua-parser-js from 0.7.23 to 0.7.24
2021-05-06 19:12:50 -06:00
Travis RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub b90c845fcb Revert "Fixes the two Todays problem in Redaction" 2021-04-28 10:07:22 -06:00
Travis RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub 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 RalstonandGitHub e53b3b6634 Merge pull request #5917 from DantrazTrev/Redact
Fixes the two Todays problem in Redaction
2021-04-28 09:51:43 -06:00
Travis RalstonandGitHub 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 RalstonandGitHub 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