Commit graph

15059 commits

Author SHA1 Message Date
J. Ryan Stinnett
5ee9de04c3 Fix key backup status when missing device
We might not have the device in `sig.device`, so we have to check for it's
existence first. This fixes the "Unable to load key backup status" message that
is incorrectly triggering.

Fixes https://github.com/vector-im/riot-web/issues/9442
2019-04-12 16:23:54 +01:00
Bruno Windels
86a6037a12
Merge pull request #2906 from matrix-org/bwindels/toggleheaderbutton
Fix having to click the member list button twice to show it after having changed room.
2019-04-11 12:43:39 +00:00
Bruno Windels
483b7fc14d take buttons into account that are active over multiple phases when toggling 2019-04-11 13:31:21 +02:00
Bruno Windels
02792132e1 dont create functions in render 2019-04-11 13:22:47 +02:00
Andrew Morgan
2d411630ae
Merge pull request #2909 from matrix-org/anoa/punctuation
Add period to the end of the room upgrade notice
2019-04-11 11:12:05 +01:00
Andrew Morgan
b3946c7766 Add period to the end of upgrade notice 2019-04-11 10:55:53 +01:00
Travis Ralston
b8ffd0fca2
Merge pull request #2889 from matrix-org/anoa/one_space
Remove duplicate space in credits
2019-04-10 12:13:39 -06:00
Travis Ralston
6c8b93049d
Merge pull request #2905 from matrix-org/travis/upgrades/unsupported-version
Handle M_UNSUPPORTED_ROOM_VERSION in invites and room creation
2019-04-10 08:42:03 -06:00
Bruno Windels
49e96dc404 remove unused dispatcher import 2019-04-10 13:31:27 +02:00
Bruno Windels
6ca1a879c9 remove hacks, now that emitting show_right_panel is centralized 2019-04-10 13:22:31 +02:00
Bruno Windels
fe63b6b5bd setPhase can now open the panel, don't open it if closed on view_room 2019-04-10 13:21:42 +02:00
Bruno Windels
2b4b6feba2 call togglePhase from header buttons 2019-04-10 13:21:07 +02:00
Bruno Windels
5fb9276ef3 add togglePhase method, where we can show the panel if needed
without needing to resort to redispatching the original action
2019-04-10 13:20:03 +02:00
Bruno Windels
04710e6ca0
Merge pull request #2867 from matrix-org/bwindels/e2etests
Re-enable E2E tests
2019-04-10 08:28:49 +00:00
Travis Ralston
d755263e33 Handle M_UNSUPPORTED_ROOM_VERSION in invites and room creation
Fixes https://github.com/vector-im/riot-web/issues/8925
2019-04-09 19:03:38 -06:00
J. Ryan Stinnett
687b43f7b4
Merge pull request #2903 from jryans/rm-bottom-left-menu
Remove BottomLeftMenu and supporting bits
2019-04-09 19:09:07 +01:00
J. Ryan Stinnett
12f7d1715b Remove BottomLeftMenu and supporting bits
The `BottomLeftMenu` component is not used in the new design. This removes the
component and also any images and sub-components that were only used by it.
2019-04-09 17:38:32 +01:00
Bruno Windels
0592a1711a
Merge pull request #2439 from matrix-org/matthew/retina
Fix for retina thumbnails being massive
2019-04-09 16:14:25 +00:00
Travis Ralston
daaedb8291
Merge pull request #2894 from matrix-org/travis/breadcrumbs/ratelimit
Send breadcrumb updates only when they change
2019-04-09 09:58:04 -06:00
Bruno Windels
f5f89ee4e3 move package installation to docker image to avoid on every run 2019-04-09 17:56:03 +02:00
Travis Ralston
44e33ba5f1
Merge pull request #2892 from matrix-org/travis/breadcrumbs/scrolling
Add some tolerances to breadcrumb scrolling
2019-04-09 09:41:07 -06:00
Travis Ralston
43362bfb98 Explain why the breadcrumbs don't need persisting elsewhere 2019-04-09 09:40:49 -06:00
Bruno Windels
57092eeb4f add buildkite sections 2019-04-09 17:27:49 +02:00
J. Ryan Stinnett
a23900c29d
Merge pull request #2902 from jryans/auth-validation
Fix validation to avoid `undefined` class on fields
2019-04-09 16:25:24 +01:00
Bruno Windels
7dde322ce2 only need to invoke artifact tool once 2019-04-09 17:19:29 +02:00
Bruno Windels
64f123563b upload separate log files 2019-04-09 17:16:39 +02:00
J. Ryan Stinnett
f2da833ac9 Fix validation to avoid undefined class on fields
The class name handling for validation inadvertently added `undefined` as a
class when validation is not used. This rearranges the logic to avoid the issue.

Fixes https://github.com/vector-im/riot-web/issues/9345
2019-04-09 16:10:36 +01:00
Travis Ralston
12a9416741
Merge pull request #2895 from matrix-org/travis/return-client
Always return a client from onRegistered
2019-04-09 09:06:33 -06:00
Travis Ralston
35a20143ba
Merge pull request #2897 from matrix-org/travis/upgrades/touchups
Fix room upgrade warnings popping up in upgraded rooms
2019-04-09 09:06:17 -06:00
David Baker
40bb6465fa
Merge pull request #2901 from matrix-org/dbkr/fix_style_linting
Fix style lint errors & enable on CI
2019-04-09 15:29:13 +01:00
Bruno Windels
6a4a443c26 attempt at uploading logs as artefacts 2019-04-09 16:20:33 +02:00
David Baker
ee19ecad82 Merge remote-tracking branch 'origin/develop' into dbkr/fix_style_linting 2019-04-09 15:19:24 +01:00
David Baker
5542e305fd
Merge pull request #2900 from matrix-org/dbkr/stylelint
Add stylelint
2019-04-09 15:18:52 +01:00
David Baker
3727d85487 Add stylelint to CIs 2019-04-09 15:08:04 +01:00
David Baker
04b69116ee Fix tedious CSS stuff with stylelint --fix 2019-04-09 15:05:39 +01:00
David Baker
eb6f3f6008 Fix up some CSS things stylelint was complaining about
And also disable a load of rules that feel like they're probably
causing more headaches than they fix.
2019-04-09 15:03:13 +01:00
David Baker
564a9838b0 It's null, not "off" 2019-04-09 14:30:51 +01:00
David Baker
232521b30d Use js for the config file
Lest we spend an eternity being scalded about dangling commas
2019-04-09 14:20:17 +01:00
Bruno Windels
5802a1d9eb also show test logs 2019-04-09 15:11:33 +02:00
David Baker
7b87229e29 Add stylelint
Not added to the CI / default linting phases yet as, predictably
enough, it's very unhappy with our CSS. Just added one rule which is
that our CSS is indented with 4 spaces (the default being 2).
2019-04-09 14:05:53 +01:00
David Baker
e2da80c92c
Merge pull request #2899 from matrix-org/dbkr/sometimes_your_own_signature_is_invalid
Key backup: Handle case where your onw sig is invalid
2019-04-09 14:00:18 +01:00
David Baker
0f1ebf8095 Factor out this device check & reorder conditionals 2019-04-09 13:47:25 +01:00
Bruno Windels
309d2ead8f dump server log after running tests 2019-04-09 14:39:31 +02:00
David Baker
7c1943ef4e Key backup: Handle case where your onw sig is invalid
Sometimes life is just like that
2019-04-09 13:22:35 +01:00
Bruno Windels
774314badd prevent png chunk parsing and image loading racing with each other 2019-04-09 12:32:44 +02:00
Bruno Windels
ea71970299 name fn to camel case 2019-04-09 12:18:06 +02:00
Bruno Windels
15ba24f7fb Merge branch 'develop' into matthew/retina 2019-04-09 10:55:05 +02:00
David Baker
babed3e5ee
Merge pull request #2891 from matrix-org/dbkr/simplify_settings_dialog_css
Simplify settings dialog CSS
2019-04-09 09:21:21 +01:00
David Baker
c2571ceda3
Merge pull request #2893 from matrix-org/dbkr/fix_cancel_e2e_upload
Fix upload cancel in e2e rooms
2019-04-09 09:21:00 +01:00
Travis Ralston
4beecb50c9 Fix room upgrade warnings popping up in upgraded rooms
Rooms which are already upgraded shouldn't be asked to upgrade. Additionally, this fixes a bug where the room upgrade dialog would stay open even after upgrading the room.
2019-04-08 15:39:36 -06:00