Commit graph

30484 commits

Author SHA1 Message Date
Šimon Brandner
064afab239
Use LEVELS_ACCOUNT_SETTINGS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-15 16:06:38 +01:00
Šimon Brandner
65ef4f2f22
Removed the commented out code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-15 16:05:14 +01:00
Šimon Brandner
f2d236d429
Use LayoutPropType
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-05 08:17:30 +01:00
Šimon Brandner
20193ad7fe
Added LayoutPropType
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-05 08:16:06 +01:00
Šimon Brandner
dea1faecfe
Added license
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-04 18:15:15 +01:00
Šimon Brandner
554c18cabd
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-26 13:36:47 +01:00
Šimon Brandner
7efbd50e31
Handle migration from useIRCLayout to layout
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-26 13:30:34 +01:00
Šimon Brandner
972c947049
More generic layout setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-23 10:35:35 +01:00
Šimon Brandner
c69cc550ea
Added layout enum
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-23 07:48:14 +01:00
Šimon Brandner
0c09158f2a
Comment out unused code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-22 08:41:39 +01:00
Travis Ralston
f52405de38
Merge pull request #5557 from matrix-org/travis/fix-widget-resizing
Give a bigger target area to AppsDrawer vertical resizer
2021-01-21 07:17:29 -07:00
J. Ryan Stinnett
14556de3d5
Merge pull request #5493 from SimonBrandner/fix-left-panel-alignment
Fix minimized left panel avatar alignment
2021-01-21 13:37:36 +00:00
Travis Ralston
c7c055dd98 Give a bigger target area to AppsDrawer vertical resizer
The existing target was too hard to hit, which annoyed users. This change makes it the same sort of surface area as the horizontal resizers, as requested by design to fix the problem in the short term.
2021-01-20 15:05:18 -07:00
J. Ryan Stinnett
3115c4f3f3 Show only preview buttons in directory for guest users
This aligns the room directory with the rest of Element Web so that it does not
allow guest users to join rooms. Instead, we show preview buttons (even when the
preview might not actually happen).

Fixes https://github.com/vector-im/element-web/issues/16213
2021-01-19 17:59:30 +00:00
J. Ryan Stinnett
016140670b Fix let binding in reskindex.js 2021-01-19 17:58:17 +00:00
J. Ryan Stinnett
4cfd6e53aa
Merge pull request #5556 from matrix-org/jryans/fix-tmp-reskindex
Ensure component index has been written before renaming
2021-01-19 15:19:25 +00:00
J. Ryan Stinnett
4e5f25206a Ensure component index has been written before renaming
This ensures we correctly wait for `component-index.js.tmp` to be written to
disk before trying to rename into place. This fixes an issue where stray temp
files were being strewn about the repos after renaming failures.
2021-01-19 14:45:03 +00:00
J. Ryan Stinnett
0e137bd0f6 Fix code style 2021-01-19 14:42:10 +00:00
J. Ryan Stinnett
a22049a679 Use const / let instead of var 2021-01-19 14:38:36 +00:00
Michael Telatynski
7b882c6393
Merge pull request #5552 from 2580ayush2580/ayush25801
Fixed continue button while selecting home-server
2021-01-18 17:24:00 +00:00
Ayush Kumar
530a242aae Fixed continue button while selecting home server 2021-01-18 21:41:10 +05:30
Travis Ralston
83fb698bbc
Merge pull request #5527 from matrix-org/travis/widget-nav
Wire up MSC2931 widget navigation
2021-01-18 09:09:32 -07:00
RiotRobot
6c8e6096da Reset matrix-js-sdk back to develop branch 2021-01-18 15:16:31 +00:00
RiotRobot
5455b90c98 Resetting package fields for development 2021-01-18 15:16:18 +00:00
RiotRobot
82d90b2567 Merge branch 'master' into develop 2021-01-18 15:16:17 +00:00
RiotRobot
5a54bb0e7f v3.12.0 2021-01-18 15:14:53 +00:00
RiotRobot
5cf6d57883 Prepare changelog for v3.12.0 2021-01-18 15:14:52 +00:00
RiotRobot
c4570cdaee Upgrade matrix-js-sdk to 9.5.0 2021-01-18 15:09:22 +00:00
RiotRobot
9d75a796d8 Merge branch 'release-v3.12.0' of github.com:matrix-org/matrix-react-sdk into release-v3.12.0 2021-01-18 14:58:52 +00:00
Will Hunt
117d8843c4
Merge pull request #5454 from matrix-org/hs/bridge-info-v2
Various fixes for Bridge Info page (MSC2346)
2021-01-18 13:19:15 +00:00
Will Hunt
e9d2daab8f fix strings 2021-01-18 13:09:39 +00:00
Will Hunt
74b5febb9c oops strings 2021-01-18 11:38:49 +00:00
Will Hunt
d71b2cf04f Merge remote-tracking branch 'origin/develop' into hs/bridge-info-v2 2021-01-18 11:36:46 +00:00
Will Hunt
461c0733d9 Revert strings 2021-01-18 11:36:35 +00:00
J. Ryan Stinnett
1c5a234b93
Merge pull request #5547 from matrix-org/jryans/listener-overload
Use room-specific listeners for message preview and community prototype
2021-01-18 10:57:56 +00:00
Travis Ralston
f6a328a55b Update widget api 2021-01-16 23:34:16 -07:00
Travis Ralston
ea61c979f9 Try a different string 2021-01-16 23:29:27 -07:00
Travis Ralston
bebcabcde4 Merge branch 'develop' into travis/widget-nav 2021-01-16 23:28:11 -07:00
J. Ryan Stinnett
462e0889f0 Fix lint 2021-01-15 14:46:38 +00:00
J. Ryan Stinnett
8a341446aa Use room-specific listeners for community prototype
Similar to message previews, this changes another area to use room-specific
listeners for better performance and avoiding warnings.
2021-01-15 14:34:56 +00:00
J. Ryan Stinnett
729356394e Use room-specific listeners for message previews
This should be a bit faster (since we now only notify one tile instead of all
for each update). It also resolves the max listener warning.

Fixes https://github.com/vector-im/element-web/issues/15121
2021-01-15 14:21:21 +00:00
J. Ryan Stinnett
48a3154ab6
Merge pull request #5546 from matrix-org/jryans/react-warnings
Fix some misc. React warnings when viewing timeline
2021-01-15 13:55:04 +00:00
J. Ryan Stinnett
80f3e14faf Move LoggedInView subscriptions to after mounted
This avoids a React warning about trying to call `setState` before the component
is mounted.
2021-01-15 13:20:49 +00:00
J. Ryan Stinnett
e90009772d Fix React warnings about missing key for edited messages
This uses a fragment instead of an array to avoid the need for key attributes.
2021-01-15 13:20:49 +00:00
J. Ryan Stinnett
266162fa32
Merge pull request #5544 from matrix-org/jryans/guest-allow-widget
Use device storage for allowed widgets if account data not supported
2021-01-14 17:50:47 +00:00
J. Ryan Stinnett
97a551c04a Fix test 2021-01-14 17:39:58 +00:00
J. Ryan Stinnett
6d932e1352 Fix lint errors 2021-01-14 17:38:06 +00:00
J. Ryan Stinnett
accbe78d9a Add null path 2021-01-14 17:37:18 +00:00
J. Ryan Stinnett
658a8dfa99 Use device storage for allowed widgets if account data not supported
With guest accounts, account data is not available, so we use device storage to
hold allowed widgets as a good enough place.

Fixes https://github.com/vector-im/element-web/issues/16145
2021-01-14 17:30:25 +00:00
J. Ryan Stinnett
cb66f7493b Skip account settings for guest users
Homeservers don't allow this currently, so we should use something else instead
for such cases.
2021-01-14 15:58:27 +00:00