Travis Ralston and GitHub
ee9e1a72cb
Merge pull request #5838 from matrix-org/travis/add-acl-pl
...
Give server ACLs a name in 'roles & permissions' tab
2021-04-12 14:13:30 -06:00
Travis Ralston and GitHub
8aa4b1a760
Merge pull request #5834 from matrix-org/travis/sponsored/security-disable-ui
...
Add ability to hide post-login encryption setup with customisation point
2021-04-09 08:04:06 -06:00
Travis Ralston and GitHub
cc7982cfca
Merge pull request #5827 from SimonBrandner/show-drop-only-file
...
Show drop file UI only if dragging a file
2021-04-09 00:05:44 -06:00
Travis Ralston and GitHub
3c25979520
Merge pull request #5824 from robintown/ignore-punctuation
...
Ignore punctuation when filtering rooms
2021-04-08 20:10:08 -06:00
Travis Ralston
073c05543c
Give server ACLs a name in 'roles & permissions' tab
...
The default power levels event includes them, so this helps avoid them showing up as "Send m.room.server_acl events".
2021-04-08 19:20:08 -06:00
Travis Ralston
28d12016b7
Convert to using EventType enum
2021-04-08 19:18:30 -06:00
Travis Ralston
1e551585c0
Fix copy/paste fail
2021-04-08 09:33:39 -06:00
Travis Ralston
d89bbe2167
Move check to MatrixChat
2021-04-08 09:20:14 -06:00
Travis Ralston
4ef3d176d9
Add ability to hide post-login encryption setup with customisation point
...
This is primarily intended for alternative setup UI or where the customisations end up configuring encryption some other way. If used without respecting the warnings in the docs, the user could end up at a blank page - use with caution, and only as directed.
2021-04-07 19:16:29 -06:00
Travis Ralston and GitHub
6e6a26f86a
Merge pull request #5710 from SimonBrandner/resizable-call-view
...
Resizable CallView
2021-04-07 11:02:46 -06:00
Travis Ralston and GitHub
65e21734e3
Merge pull request #5829 from fkrull/fix-no-avatar-invitations
...
Fix viewing invitations when the inviter has no avatar set
2021-04-06 06:08:49 -06:00
Travis Ralston and GitHub
b0af163002
Merge pull request #5825 from matrix-org/travis/spaces/room-list
...
Restabilize room list ordering with prefiltering on spaces/communities
2021-04-06 05:47:21 -06:00
Travis Ralston and GitHub
4d72af7916
Merge pull request #5744 from panoschal/forgot-password-validation
...
Require strong password in forgot password form
2021-04-05 00:46:47 -06:00
Travis Ralston
479df8ac5f
Clarify docs
2021-04-02 19:35:10 -06:00
af443c4cff
Update docs/room-list-store.md
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com >
2021-04-02 19:33:16 -06:00
Travis Ralston
343ce3b502
Make log spam more quiet
2021-04-01 00:02:05 -06:00
Travis Ralston
a0049f956d
Patch over legacy Groups test
2021-03-31 23:51:17 -06:00
Travis Ralston
746856ed10
Appease the linter
2021-03-31 23:40:25 -06:00
Travis Ralston
70db749430
Restabilize room list ordering with prefiltering on spaces/communities
...
Fixes https://github.com/vector-im/element-web/issues/16799
This change replaces the "relative priority" system for filters with a kind model. The kind is used to differentiate and optimize when/where a filter condition is applied, resulting in a more stable ordering of the room list. The included documentation describes what this means in detail.
This also introduces a way to inhibit updates being emitted from the Algorithm class given what we're doing to the poor thing will cause it to do a bunch of recalculation. Inhibiting the update and implicitly applying it (as part of our updateFn.mark()/trigger steps) results in much better performance.
This has been tested on my own account with both communities and spaces of varying complexity: it feels faster, though the measurements appear to be within an error tolerance of each other (read: there's no performance impact of this).
2021-03-31 23:36:36 -06:00
Travis Ralston and GitHub
2ab304189d
Merge pull request #5816 from aaronraimist/redact-re-request
...
Prevent Re-request encryption keys from appearing under redacted messages
2021-03-31 18:23:47 -06:00
Travis Ralston and GitHub
b68fabb44b
Merge pull request #5801 from matrix-org/travis/voice-messages/waveform
...
Show waveform and timer in voice messages
2021-03-30 12:16:19 -06:00
Travis Ralston
b15412056e
It helps to use the right function
2021-03-30 12:08:11 -06:00
Travis Ralston
60326e359a
Clarify comment
2021-03-30 12:01:35 -06:00
Travis Ralston
54412878a1
Merge branch 'develop' into travis/voice-messages/waveform
2021-03-29 22:59:51 -06:00
Travis Ralston
9c2d44805d
Revert "Avoid use of deprecated APIs, instead using an AudioWorklet"
...
This reverts commit 5c685dcf35 .
2021-03-29 22:57:59 -06:00
Travis Ralston
9998f18d67
Stop React complaining about componentShouldUpdate()
2021-03-29 21:59:45 -06:00
Travis Ralston
5c685dcf35
Avoid use of deprecated APIs, instead using an AudioWorklet
...
A bit annoying that it is async, but it'll do.
2021-03-29 21:59:31 -06:00
Travis Ralston
e523ce6036
Fix float operations to make a little more sense.
2021-03-29 21:25:06 -06:00
Travis Ralston and GitHub
dfd65516c2
Merge pull request #5802 from matrix-org/travis/voice-messages/sampling
...
Don't specify sample rates for voice messages
2021-03-29 11:44:30 -06:00
Travis Ralston and GitHub
f6b119cb71
Merge pull request #5809 from matrix-org/travis/sso-rel
...
[RELEASE] Fix crash on login when using social login
2021-03-26 08:52:20 -06:00
Travis Ralston
1426a4b168
Fix crash on login when using social login
...
We weren't passing a matrix client through, and the peg wasn't set at this point. Just need to thread it through to the media endpoints.
Fixes https://github.com/vector-im/element-web/issues/16765
2021-03-26 08:46:41 -06:00
Travis Ralston and GitHub
e48dbef054
Merge pull request #5804 from matrix-org/travis/uploads-fix
...
Fix upload bar not populating when starting uploads
2021-03-26 08:08:21 -06:00
Travis Ralston and GitHub
22b7081475
Merge pull request #5803 from matrix-org/travis/s-sso-login-crash
...
Fix crash on login when using social login
2021-03-26 08:06:34 -06:00
Travis Ralston and GitHub
264e24fc35
Merge pull request #5791 from thermaq/patch-1
...
Fix password change popup message
2021-03-26 00:07:50 -06:00
Travis Ralston
5d9b36afc1
Fix tests
2021-03-25 23:47:41 -06:00
Travis Ralston
60e05d2e8c
Revert back to using sdk.getComponent()
2021-03-25 23:41:35 -06:00
Travis Ralston
550fba49f7
Appease the eternal linter
2021-03-25 23:37:23 -06:00
Travis Ralston
92ee1ad3cc
Convert AccessSecretStorageDialog to TypeScript
...
This is to make upcoming changes a bit easier to do.
2021-03-25 23:34:45 -06:00
Travis Ralston
76a05eddfa
Fix upload bar not populating when starting uploads
...
Fixes https://github.com/vector-im/element-web/issues/16713
See diff for more information
2021-03-25 22:29:21 -06:00
Travis Ralston
8bc2356fd0
Fix crash on login when using social login
...
We weren't passing a matrix client through, and the peg wasn't set at this point. Just need to thread it through to the media endpoints.
Fixes https://github.com/vector-im/element-web/issues/16765
2021-03-25 22:22:43 -06:00
Travis Ralston and GitHub
318db15e35
Merge pull request #5790 from panoschal/fix/view-source-bug
...
View Source: make Event ID go below Event ID
2021-03-25 19:11:26 -06:00
Travis Ralston and GitHub
8a33f8cfc6
Merge pull request #5800 from robintown/fix-line-numbers
...
Fix line numbers when missing trailing newline
2021-03-25 19:04:23 -06:00
Travis Ralston
e31ad0e174
Don't specify sample rates for voice messages
...
Turns out the browser doesn't actually resample for us, instead opting to explode in sadness.
We'll leave the resampling to the opus encoder.
Fixes https://github.com/vector-im/element-web/issues/16775
2021-03-25 18:24:58 -06:00
Travis Ralston
a848febd3d
Definitely didn't copy/paste these
2021-03-25 17:45:00 -06:00
Travis Ralston
101679f647
Adjust some settings
2021-03-25 17:30:44 -06:00
Travis Ralston
1419ac6b69
Hook up a clock and implement proper design
2021-03-25 17:12:26 -06:00
Travis Ralston
449e028bbd
Actually use a waveform instead of the frequency data
2021-03-24 23:31:02 -06:00
Travis Ralston
8ddd14e252
Early concept for rendering the frequency waveform
2021-03-24 22:17:45 -06:00
Travis Ralston and GitHub
da7d31aeb6
Merge pull request #5686 from robintown/reply-commands
...
Support replying with a message command
2021-03-24 09:56:56 -06:00
Travis Ralston and GitHub
8587ec888b
Merge pull request #5769 from matrix-org/travis/voice-messages/exp
...
Labs feature: Early implementation of voice messages
2021-03-24 09:56:34 -06:00
Travis Ralston and GitHub
78b1f6c0b1
Merge pull request #5784 from matrix-org/travis/sr-groups
...
Track next event [tile] over group boundaries
2021-03-23 18:27:53 -06:00
Travis Ralston
d929d48391
Clean up promises
2021-03-23 18:26:43 -06:00
Travis Ralston
c9938ff704
Adjust settings/docs for encoder
2021-03-23 18:24:40 -06:00
Travis Ralston
b7e653268b
Rename function
2021-03-23 18:19:14 -06:00
Travis Ralston
2f2bb9456f
Reduce code duplication
2021-03-23 18:17:41 -06:00
Travis Ralston and GitHub
fe71106b1b
Merge pull request #5780 from DantrazTrev/Discovery
...
Fixing the minor UI issues in the email discovery
2021-03-22 23:11:19 -06:00
Travis Ralston
edcd7c4426
Merge branch 'develop' into Discovery
2021-03-22 23:04:41 -06:00
Travis Ralston
fa54ca615a
Appease the linter
2021-03-22 21:41:13 -06:00
Travis Ralston
026aa6f88d
Track next event [tile] over group boundaries
...
Fixes https://github.com/vector-im/element-web/issues/16745
2021-03-22 21:39:07 -06:00
Travis Ralston
090cf28af4
Appease the linter
2021-03-22 19:36:58 -06:00
Travis Ralston
e352ed1908
Run audio through the Web Audio API instead
...
This leads to more reliable frequency/timing information, and involves a whole lot less decoding.
We still maintain ongoing encoded frames to avoid having to do one giant encode at the end, as that could take long enough to be disruptive.
2021-03-22 19:32:37 -06:00
Travis Ralston and GitHub
2f8ed0bffc
Merge pull request #5781 from matrix-org/t3chguy/fix/16739
...
Fix redaction event list summaries breaking sender profiles
2021-03-22 15:52:36 -06:00
Travis Ralston and GitHub
427f649be6
Merge pull request #5778 from tawfiek/dilog-btns
...
Make buttons in verify dialog respect the system font
2021-03-21 20:28:33 -06:00
Travis Ralston
207ba11da1
Tweak a bunch of settings
2021-03-19 17:08:01 -06:00
Travis Ralston and GitHub
3caf07be87
Merge pull request #5658 from matrix-org/travis/welcome-login
...
Add an optional config option to make the welcome page the login page
2021-03-19 09:12:35 -06:00
Travis Ralston and GitHub
6ce0c17455
Merge pull request #5774 from matrix-org/travis/js-sdk-imports
...
Convert a bunch more js-sdk imports to absolute paths
2021-03-19 07:23:45 -06:00
Travis Ralston and GitHub
1f5c090ed2
Merge pull request #5775 from matrix-org/travis/fix-archive
...
Remove forgotten rooms from the room list once forgotten
2021-03-19 07:23:18 -06:00
Travis Ralston and GitHub
3bd186e2d2
Merge pull request #5772 from SimonBrandner/fix-timeline-jumps
...
Fix weird timeline jumps
2021-03-18 23:51:52 -06:00
Travis Ralston
1d43c8b791
Remove forgotten rooms from the room list once forgotten
...
Fixes https://github.com/vector-im/element-web/issues/15559
This isn't exactly perfect as an implementation: if the user refreshes immediately after forgetting then there is a good chance the room re-appears because of the sync accumulator. At the very least this change makes it so in *most* cases the room goes away, which is probably good enough until https://github.com/vector-im/element-web/issues/14038 can be implemented properly.
2021-03-18 23:28:59 -06:00
Travis Ralston
c2cc086217
Import the js-sdk at the index so the request object gets set
...
Now that all the imports are replaced, we need to set up the js-sdk somewhere. Might as well do it in the index of the react-sdk where callers will be relying on those skin functions.
2021-03-18 21:24:02 -06:00
Travis Ralston
be8ee1a576
Appease the linter
2021-03-18 21:05:51 -06:00
Travis Ralston
1d9d0cd7be
Convert a bunch more js-sdk imports to absolute paths
...
Turns out a lot of the typescript warnings about improper warnings were correct. TypeScript appears to be pulling in two copies of the js-sdk when we do this, which can lead to type conflicts (or worse: the wrong code entirely). We fix this at the webpack level by explicitly importing from `src`, but some alternative build structures have broken tests because of this - jest ends up pulling in the "wrong" js-sdk, breaking things.
2021-03-18 20:50:34 -06:00
Travis Ralston and GitHub
e4b7a307ba
Merge pull request #5773 from matrix-org/travis/h/reg-type
...
Replace type declaration in Registration.tsx
2021-03-18 14:58:44 -06:00
Travis Ralston
720ac9d837
Replace type declaration in Registration.tsx
2021-03-18 14:45:14 -06:00
Travis Ralston and GitHub
b69d9e8c33
Merge pull request #5767 from matrix-org/travis/no-persist-logs
...
Add possibility to delay rageshake persistence in app startup
2021-03-18 07:55:31 -06:00
Travis Ralston
0f09eb3214
Add more notes
2021-03-17 00:12:03 -06:00
Travis Ralston
c7b72bc4c4
Appease the linter
2021-03-16 23:57:27 -06:00
Travis Ralston
69f90ee97e
Label labs flag as in development
2021-03-16 23:55:07 -06:00
Travis Ralston
51dca8d13d
Fix positioning of stop square
2021-03-16 23:54:33 -06:00
Travis Ralston
6c566cd382
Remove debugging
2021-03-16 23:50:03 -06:00
Travis Ralston
f0d5edbc37
Render voice messages as audio messages for now
2021-03-16 23:48:47 -06:00
Travis Ralston
1dc2427128
Remove test function
2021-03-16 23:44:39 -06:00
Travis Ralston
9aa5348c7f
Show a stop button to stop the recording
2021-03-16 23:43:59 -06:00
Travis Ralston
dafa8786a1
Fix comments
2021-03-16 23:43:22 -06:00
Travis Ralston
b5d32d92f3
Wire up a simple record button
2021-03-16 22:58:44 -06:00
Travis Ralston
be2e30df0d
Add an early voice recorder utility class
2021-03-16 22:58:44 -06:00
Travis Ralston
097c2d8be0
Add labs flag for voice messages
2021-03-16 22:58:44 -06:00
Travis Ralston and GitHub
e223235999
Merge pull request #5766 from matrix-org/travis/block-bugs
...
Work around more cases where a rageshake server might not be present
2021-03-16 18:10:55 -06:00
Travis Ralston
c285b79a8d
Add possibility to delay rageshake persistence in app startup
...
Even if the app takes a moment to set up persistence, this will still capture any logs before persistence happened.
2021-03-16 14:19:49 -06:00
Travis Ralston
451a3aaa3f
Work around more cases where a rageshake server might not be present
...
We already do this for a number of other places (slash commands, help section of settings, etc) - these places appear to have been missed, though.
2021-03-16 13:50:43 -06:00
Travis Ralston and GitHub
0e0ccfea88
Merge pull request #5756 from SimonBrandner/hangup-all-on-logout
...
Hangup all calls on logout
2021-03-15 21:10:13 -06:00
Travis Ralston and GitHub
78f7711dfd
Merge pull request #5757 from matrix-org/travis/cleanup-login
...
Remove now-unused assets and CSS from CompleteSecurity step
2021-03-15 16:27:53 -06:00
Travis Ralston
4811154f25
Remove now-unused assets and CSS from CompleteSecurity step
2021-03-12 15:24:16 -07:00
Travis Ralston
9b6d9b3bf1
years are difficult
2021-03-12 15:02:39 -07:00
Travis Ralston
75cfd9a8f5
Redirect to login properly
2021-03-12 15:01:05 -07:00
Travis Ralston
c8d7b0e1b9
Collapse copyright
2021-03-12 14:56:47 -07:00
Travis Ralston
25485edb3f
Merge branch 'develop' into travis/welcome-login
2021-03-12 14:55:40 -07:00
Travis Ralston and GitHub
d3541b78eb
Merge pull request #5714 from matrix-org/travis/media-customization
...
Support a media handling customisation endpoint
2021-03-12 11:01:59 -07:00
Travis Ralston and GitHub
7c8c85161d
Merge pull request #5748 from SimonBrandner/compat-for-non-rich-text-clients
...
Show room alias in plain/formatted body
2021-03-11 11:29:26 -07:00
Travis Ralston
6ab235f10c
Fix tests for new call path
...
We have to mock `fetch` for the caching of the download icon, and then mock out all the function calls used by components to feed a Media object.
2021-03-11 09:42:55 -07:00