Bruno Windels
a54629276f
use getJoinedMemberCount() instead of getJoinedMembers().length as the latter doesnt take LL into account
2018-08-22 14:08:18 +02:00
Bruno Windels
860c6355f0
do self membership checks with getMyMembership elsewhere as well
2018-08-22 14:06:28 +02:00
Bruno Windels
c38b286e8e
falsy check is obsolete now
2018-08-22 12:28:00 +02:00
Bruno Windels
01a0260ac8
use getMyMembership instead of member
2018-08-22 10:33:13 +02:00
David Baker
94c7ae2bf5
Merge pull request #2098 from matrix-org/dbkr/destroy_widget
...
Destroy non-persistent widgets when switching room
2018-08-17 09:53:41 +01:00
David Baker
e3643bd74c
Lint
2018-08-17 09:42:23 +01:00
Bruno Windels
cead4096d8
Merge pull request #2118 from matrix-org/bwindels/feature_lazyloading
...
Lazy loading of room members
2018-08-16 18:14:55 +02:00
David Baker
8567ce585b
Factor out duplication of resource limit i18n
2018-08-16 13:31:17 +01:00
David Baker
7d690d98e3
Rename variable as it's now not just MAU
2018-08-16 10:35:27 +01:00
David Baker
9bde468e30
Shift to M_RESOURCE_LIMIT_EXCEEDED errors
...
With support for admin_contact and limit_type fields
For https://github.com/vector-im/riot-web/issues/7091
2018-08-15 17:03:54 +01:00
David Baker
c736ae7efb
Copyright
2018-08-14 16:53:34 +01:00
David Baker
f20920718a
Show room version number in room settings
...
Also change wording of the Room ID bit to match
Requires https://github.com/matrix-org/matrix-js-sdk/pull/689
For https://github.com/vector-im/riot-web/issues/7164
2018-08-14 14:28:30 +01:00
Bruno Windels
a86ca952b3
forgot to remove this
2018-08-14 09:38:43 +02:00
Bruno Windels
7dc92fe917
Avoid clearing e2e encryption keys, also avoid warning
2018-08-13 17:24:27 +02:00
Bruno Windels
84b74247e6
check if server supports lazy loading before enabling
2018-08-13 16:19:44 +02:00
David Baker
f7f62ba09d
Lint
2018-08-13 14:04:08 +01:00
David Baker
d84ecbe97c
s/m.server_notices/m.server_notice/
2018-08-13 13:53:38 +01:00
David Baker
05bf200a72
Don't crash if scrollbars updated before init
...
The initialisation here is done on a timer to allow the DOM
elements to be in place before it's run, so it's possible for an
update to happen ebfore the initialisation. Stop & bail out if
there is no this.stickies.
2018-08-13 13:49:22 +01:00
Bruno Windels
28292c3388
implement PR feedback, move LL dialog to UserSettings
2018-08-13 11:14:30 +02:00
Bruno Windels
a02e1aa2b2
add action/method to flush storage and reload the session
2018-08-09 18:41:18 +02:00
Bruno Windels
308a6b419e
allow a setting controller to validate and revert a change (asynchronously)
2018-08-09 16:56:02 +02:00
David Baker
16b7763c0e
s/limit/limit_type/
2018-08-07 17:22:12 +01:00
David Baker
6593ee09d1
Warning bar for MAU limit hit
...
Somewhat untested, sorry
2018-08-07 17:04:37 +01:00
Bruno Windels
1009bc43ae
call method on room now to LL members
2018-08-07 14:47:06 +02:00
David Baker
f44cc8e66e
Merge pull request #2112 from matrix-org/dbkr/recognise_server_notices_room
...
Recognise server notices room(s)
2018-08-07 09:52:25 +01:00
David Baker
879cf24a50
Merge pull request #2111 from matrix-org/dbkr/room_tags_spec_update
...
Update room tags behaviour to match spec more
2018-08-07 09:52:01 +01:00
Bruno Windels
07083e61b7
Merge pull request #2058 from matrix-org/t3chguy/hide_logout_warning_whilst_logging_out
...
while logging out ignore `Session.logged_out` as it is intentional
2018-08-07 10:31:29 +02:00
David Baker
b5ce1ac5e1
Recognise server notices room(s)
...
and put them in their own section at the bottom
2018-08-06 18:00:40 +01:00
David Baker
b2302af708
Update room tags behaviour to match spec more
...
Fix Riot's behaviour with room tags after my cleanup in
https://github.com/matrix-org/matrix-doc/pull/1457 . Although, reading
it again, it's not clear how you're supposed to tell the difference
between a reverse-dns tag name and a legacy freeform text tag
(contains a '.'?) - I've left it detecting these as freeform text
for now.
2018-08-06 16:58:54 +01:00
David Baker
ccdb5fa770
Don't show 'connection lost' bar on MAU error
...
We don't need both warning bars
Requires https://github.com/matrix-org/matrix-js-sdk/pull/680
2018-08-03 18:02:09 +01:00
David Baker
cd18744101
unused import
2018-08-03 16:10:50 +01:00
David Baker
9a2155f1ad
Oops, add file to right branch
2018-08-03 16:03:27 +01:00
David Baker
b5d2fa769c
Support MAU error on sync
...
For https://github.com/vector-im/riot-web/issues/7091
2018-08-03 14:54:52 +01:00
David Baker
bc1d359398
Merge pull request #2106 from matrix-org/dbkr/chairman_mau_pt_2_message_send
...
Support active user limit on message send
2018-08-03 13:14:18 +01:00
Bruno Windels
f1643f77ac
fix lint
2018-08-02 19:57:20 +02:00
David Baker
02019a58b3
Support active user limit on message send
...
For https://github.com/vector-im/riot-web/issues/7091
2018-08-02 17:09:04 +01:00
David Baker
bb9a3eb33d
Support MAU limit error on register too
2018-08-02 16:09:57 +01:00
Bruno Windels
e1843601be
support directional content in pill member fake
2018-08-02 17:09:18 +02:00
David Baker
cc58b06226
Support montly active user limit error on /login
...
The 'contact your service administrator' should be a link but we
don't have this info from the HS yet.
2018-08-02 14:25:17 +01:00
Bruno Windels
802efc7694
given the != join check, isInvite will never be true
...
Also, put comments in right order
2018-08-02 11:47:24 +02:00
Bruno Windels
b151956f7b
Use room method to help with DM detection with fallback to summary heroes/counts.
2018-08-02 11:42:19 +02:00
Bruno Windels
908de56c6d
replace getMember(myId).membership with getMyMembership
...
This works with rooms which haven't had their members
loaded yet.
2018-08-02 11:42:05 +02:00
David Baker
7875d37c8e
Destroy non-persistent widgets when switching room
2018-08-01 15:01:11 +01:00
David Baker
f4c073ad45
Nest ifs to avoid unnecessary work
2018-07-27 18:58:11 +01:00
David Baker
e059a08d7b
Make clicking on side panels close settings (mk 3)
...
Just do it by fixing the somewhat hacky logic to not break if the
target elements also have additional classes, like they do if the
toolbar is showing (I think it turns out this bug is only that it
doesn't work with the toolbar showing...)
Fixes https://github.com/vector-im/riot-web/issues/5658
2018-07-27 18:53:36 +01:00
David Baker
148308235d
Merge pull request #2092 from matrix-org/dbkr/reposition_jitsi
...
Fix persistent element location not updating
2018-07-27 14:51:29 +01:00
David Baker
1fe0f04986
Fix persistend element location not updating
...
As hopefully all explained in comment
2018-07-27 14:33:05 +01:00
David Baker
b6ebb0cc37
Merge pull request #2089 from matrix-org/t3chguy/slate_cont2
...
Slate Fixes 42?
2018-07-27 14:00:53 +01:00
Michael Telatynski
0174f67fe7
fix Devtools input autofocus && state traversal when len === 1 && key=""
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-07-26 18:20:09 +01:00
Michael Telatynski
f264075369
null-guard history properly
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-07-26 17:11:32 +01:00