Commit Graph

29706 Commits (3b9a1d90afcccc63a9587ff86e11951ea8ec9b39)

Author SHA1 Message Date
Travis Ralston 3b9a1d90af
Merge pull request #5459 from matrix-org/travis/pinned-fixes
Add sanity checking around widget pinning
2020-12-01 13:40:09 -07:00
Travis Ralston 5df6932051 Add various amounts of sanity checking for widget pinning
This should also help https://github.com/vector-im/element-web/issues/15705 by either implicitly fixing the problem, causing chaos as described in the issue, or by forcing a crash to identify the problem more easily.
2020-12-01 13:19:51 -07:00
Travis Ralston bd1de8d45b Require a room ID for WidgetStore's pinned widget contracts
This should alleviate https://github.com/vector-im/element-web/issues/15705 from happening, though the cause is still unknown.

Requiring a room ID is safe for this because only room widgets can be pinned, and widget IDs are not globally unique which means from a logical standpoint the contract still makes sense here.
2020-12-01 13:05:48 -07:00
Travis Ralston 2d74bb0dcc
Merge pull request #5457 from CodingAnonymous/patch-1
Update i18n for Appearance User Settings
2020-11-30 13:43:01 -07:00
Travis Ralston 9b6f93da5f Update i18n 2020-11-30 13:42:29 -07:00
anonym b1b0e93d5e
Update i18n for Appearance User Settings
The variable has to be added to the i18n files as well (I don't know how to do that)
2020-11-30 21:33:52 +01:00
David Baker 9f42d3e549
Merge pull request #5455 from matrix-org/dbkr/answered_elsewhere
Only show 'answered elsewhere' if we tried to answer too
2020-11-30 16:20:35 +00:00
David Baker 3a3775b523 Only show 'answered elsewhere' if we tried to answer too
and don't play the hangup tone

Fixes https://github.com/vector-im/element-web/issues/15735
2020-11-30 15:17:20 +00:00
Michael Telatynski d4ed4a135c
Merge pull request #5442 from RinkiyaKeDad/avatar-fix
Fixed Avatar for 3PID invites
2020-11-30 09:49:05 +00:00
David Baker bb1d52919a
Merge pull request #5449 from matrix-org/dbkr/user_media_error
Slightly better error if we can't capture user media
2020-11-27 14:41:06 +00:00
David Baker 4f35bc0865 Merge remote-tracking branch 'origin/develop' into dbkr/user_media_error 2020-11-27 14:29:22 +00:00
Travis Ralston f4979065e4
Merge pull request #5445 from matrix-org/travis/hide-rooms
Make it possible in-code to hide rooms from the room list
2020-11-27 07:07:18 -07:00
Travis Ralston ced68a6fbc
Merge pull request #5447 from matrix-org/travis/fix-stickerpicker
Fix the stickerpicker
2020-11-27 07:06:35 -07:00
David Baker 9a5f2c85cd i18n 2020-11-27 14:04:27 +00:00
David Baker 522c2d9dc7
Typo
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2020-11-27 14:03:52 +00:00
Michael Telatynski e5047e7f83
Merge pull request #5436 from SimonBrandner/feature-change-password-validation
Add live password validation to change password dialog
2020-11-27 14:01:15 +00:00
Šimon Brandner eb64e5b2af Merge branch 'develop' into feature-change-password-validation 2020-11-27 14:46:08 +01:00
David Baker 65ab0ee665 Slightly better error if we can't capture user media
Fixes https://github.com/vector-im/element-web/issues/15837
2020-11-27 12:53:09 +00:00
J. Ryan Stinnett 826466179a
Merge pull request #5244 from akissinger/katex
LaTeX rendering in element-web using KaTeX
2020-11-27 11:55:26 +00:00
J. Ryan Stinnett e64b6b07c9
Merge pull request #5448 from matrix-org/jryans/lifecycle-customisations
Add lifecycle customisation point after logout
2020-11-27 11:45:48 +00:00
J. Ryan Stinnett 25cc4b89b8 Add lifecycle customisation point after logout
This will help specific deployments that need to do something custom here such
as redirect the user or call some API after Element has logged out and cleared
storage.
2020-11-27 11:23:01 +00:00
J. Ryan Stinnett 86b2cd1f82 Use typeof in customisations to avoid repeating 2020-11-27 11:11:11 +00:00
Michael Telatynski edd5bf5842
Merge pull request #5421 from matrix-org/t3chguy/fix/15700
Simplify UserMenu for Guests as they can't use most of the options
2020-11-27 10:57:54 +00:00
Michael Telatynski 00b1cd01eb Update copy 2020-11-27 09:44:04 +00:00
Arsh Sharma cb3b8b6c77 fix(EventTile): updated comment 2020-11-27 14:13:42 +05:30
Travis Ralston f2bc3db8fd Fix visual gap of sticker picker at bottom
Fixes https://github.com/vector-im/element-web/issues/15690
2020-11-26 15:09:44 -07:00
Travis Ralston 80f1df6d95 Don't needlessly persist user widgets
Fixes https://github.com/vector-im/element-web/issues/15842

We don't have a concept of a stickerpicker staying on screen, so don't make it a thing yet.
2020-11-26 15:09:08 -07:00
Aleks Kissinger 79baea9c4a fixed indent 2020-11-26 17:54:11 +00:00
Aleks Kissinger 494ae3e421 parse html for latex rendering inside settings block 2020-11-26 17:45:11 +00:00
Aleks Kissinger 7013483dad UK spelling maths 2020-11-26 17:26:42 +00:00
Aleks Kissinger dacef10fa6 reverted US translation 2020-11-26 16:22:10 +00:00
Šimon Brandner acd148d807 Remove nonsense lines 2020-11-26 16:58:34 +01:00
Travis Ralston c2c328e23c Appease the linter 2020-11-26 08:06:48 -07:00
Travis Ralston b9c57f47b0 Remove example 2020-11-26 08:01:38 -07:00
Travis Ralston 6066645207
Merge pull request #5444 from matrix-org/travis/modal-widget-fixes
Fix known issues with modal widgets
2020-11-26 08:00:10 -07:00
Travis Ralston 24f3ecb69a
Merge branch 'develop' into travis/modal-widget-fixes 2020-11-26 08:00:02 -07:00
Travis Ralston 32b7e795f7
Merge pull request #5443 from matrix-org/travis/fix-permissions
Fix existing widgets not having approved capabilities for their function
2020-11-26 07:00:23 -07:00
Arsh Sharma 8386e50240 fix(EventTile): commited suggestions 2020-11-26 17:18:11 +05:30
Travis Ralston 80b93e0843 Mute all updates from rooms that are invisible 2020-11-25 20:03:58 -07:00
Travis Ralston b9af446c1b Make it possible in-code to hide rooms from the room list
Fixes https://github.com/vector-im/element-web/issues/15745

This was surprisingly easy given the number of errors I remember last time, but here it is. This also includes an over-engineered VisibilityProvider with the intention that it'll get used in the future for things like Spaces and other X as Rooms stuff.
2020-11-25 19:42:57 -07:00
Travis Ralston c2cb791f7d Appease the linter 2020-11-25 18:58:30 -07:00
Travis Ralston fc820c4b1a Construct modal widgets in the same way we do any other widget
Fixes https://github.com/vector-im/element-web/issues/15800
2020-11-25 18:51:27 -07:00
Travis Ralston 51f6205258 Fix modal buttons not being disabled by disabling them
Looks like this was just a missed block of code, but also the important bit.

Fixes https://github.com/vector-im/element-web/issues/15801
2020-11-25 18:48:18 -07:00
Travis Ralston 5da27aed94 Replace the concept of a Widget Security Key with an OIDC state
The security key naming/practice was misguided, so let's call it what it is (a settings key) and abstract away the complexity to a new store.

Fixes https://github.com/vector-im/element-web/issues/15820 while we're here.
2020-11-25 18:39:11 -07:00
Travis Ralston c91dc55bc1 Make modal widgets static to avoid being destroyed
Fixes https://github.com/vector-im/element-web/issues/15818
2020-11-25 18:35:00 -07:00
Travis Ralston 3780afff7d Fix existing widgets not having approved capabilities for their function
Fixes https://github.com/vector-im/element-web/issues/15827

This also fixes sticker pickers.
2020-11-25 14:40:01 -07:00
Arsh Sharma 5e239690da fix(EventTile): made revisions 2020-11-25 12:46:14 +05:30
Travis Ralston 1db130b8f0
Merge pull request #5440 from matrix-org/travis/openid2
Use the WidgetDriver to run OIDC requests
2020-11-24 09:44:27 -07:00
Travis Ralston 67a0f1ef4c Update widget API 2020-11-24 09:43:21 -07:00
Travis Ralston 4543789a74
Merge pull request #5439 from matrix-org/travis/caps2
Add a customisation point for widget permissions and fix amnesia issues
2020-11-24 09:37:38 -07:00