Bruno Windels
c920dd2e8a
check top of node instead of bottom, since coming in from last
...
as we're approaching from the last node, if we're scrolled up,
the first node we encounter would be below the bottom of the viewport
change the logic to stop at the first node that has its top
above the viewport bottom.
When completely scrolled up, this was causing nodes way below
the viewport to be selected as the reference for the pixelOffset,
and when pagination came in, it would immediately try to apply
the big negative pixelOffset, scrolling to a negative scrollTop,
thus going to the top again, and triggering another pagination,
entering in an infinite pagination loop until you scrolled down.
2019-02-26 16:26:24 +01:00
Bruno Windels
ba5f16358f
fall back to InteractionObserver for detecting timeline resizes
...
this is not nearly as smooth as using ResizeObserver, as the
callback rate is a lot lower, but seems to be quite a bit better
than what we have right now, without the 7% cpu hog that
the requestAnimationFrame polling fallback has.
2019-02-26 10:49:03 +01:00
Bruno Windels
8bb8ec141e
clear min-height on timeline resets and other occasions where we load it
2019-02-26 10:49:03 +01:00
Bruno Windels
32f055bec2
clarify why we need this
2019-02-26 10:49:03 +01:00
Bruno Windels
db7203ed71
make sure the min-height doesn't get cleared by checkScroll
2019-02-26 10:49:03 +01:00
Bruno Windels
3823642863
some cleanup
2019-02-26 10:49:03 +01:00
Bruno Windels
41ae618d0e
only clear min-height on scroll & adding items (componentDidUpdate)
...
before we would clear it as soon as you were 1px away from
the bottom of the timeline, which would still create jumping as
the whitespace would around 36px. To play it safe, we only clear it
after moving 200px from the bottom.
Also include "local echo" scroll events, caused by setting scrollTop
2019-02-26 10:49:03 +01:00
Bruno Windels
03784e586c
replace getBoundingClientRect() with offset/scrollTop & clientHeight
...
as they are an order of magnitude faster in most browsers,
getBoundingClientRect() tends to cause relayout.
2019-02-26 10:49:03 +01:00
Bruno Windels
ecb074862e
remove fix for old chrome bug
2019-02-26 10:49:03 +01:00
Bruno Windels
b3e6cbfddd
restore scroll state when timeline resizes using ResizeObserver
...
(only where supported, polyfill doesn't give good results)
2019-02-26 10:49:03 +01:00
Bruno Windels
68ba14909b
Merge pull request #2671 from matrix-org/bwindels/permalinkperf
...
Improve permalink performance
2019-02-26 10:48:20 +01:00
Bruno Windels
4d95af705d
fix lint
2019-02-26 10:26:33 +01:00
Travis Ralston
18b27a72d8
Merge pull request #2692 from matrix-org/t3chguy/room_context_menu_settings
...
Settings button in Room Context Menu
2019-02-25 20:28:38 -07:00
Travis Ralston
28805da9f6
Merge pull request #2689 from matrix-org/t3chguy/roomnick
...
add roomnick SlashCommand
2019-02-25 20:28:13 -07:00
Michael Telatynski
7029695224
make it i18n friendly
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-25 23:26:24 +00:00
Michael Telatynski
8d149575ea
Merge branches 'develop' and 't3chguy/room_context_menu_settings' of github.com:matrix-org/matrix-react-sdk into t3chguy/room_context_menu_settings
2019-02-25 23:12:06 +00:00
Michael Telatynski
d4b6ce6932
Apply PR feedback, don't change room to go to its settings
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-25 23:08:51 +00:00
Michael Telatynski
dd9077f1e4
Merge branches 'develop' and 't3chguy/pretty_Devtools' of github.com:matrix-org/matrix-react-sdk into t3chguy/pretty_Devtools
2019-02-25 22:39:37 +00:00
Michael Telatynski
56d58f8600
make better use of space
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-25 22:38:33 +00:00
Michael Telatynski
fd2acb18f3
Merge branches 'develop' and 't3chguy/roomnick' of github.com:matrix-org/matrix-react-sdk into t3chguy/roomnick
2019-02-25 22:24:45 +00:00
Michael Telatynski
175938f5a0
set membership in case we don't get the ev
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-25 22:15:50 +00:00
Michael Telatynski
5bdd61111d
Fix textareas
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-25 22:12:06 +00:00
Travis Ralston
3d152da822
Support custom tags in the new algorithm
2019-02-25 13:39:08 -07:00
Travis Ralston
e083d50e31
Merge branch 'develop' into travis/fix-invites
2019-02-25 12:41:19 -07:00
Travis Ralston
1aef157d2a
Fix variable reference
2019-02-25 11:52:45 -07:00
Travis Ralston
24099de2a4
Merge branch 'develop' into travis/settings-cleanup-1
2019-02-25 10:56:43 -07:00
Travis Ralston
e0a5eeca75
Merge pull request #2686 from matrix-org/travis/old-room-sorting
...
Support the old room sorting algorithm and SettingsStore watchers
2019-02-25 10:51:10 -07:00
Bruno Windels
77f979ed6d
also pass permalinkCreator here
2019-02-25 18:43:08 +01:00
Bruno Windels
a7db42c6cf
use nesting instead of short-circuited && operator
2019-02-25 18:43:08 +01:00
Bruno Windels
b8c6bed906
adjust permalink code for tombstone message
2019-02-25 18:43:08 +01:00
Bruno Windels
fb672ffb28
change handling of event permalinks in replies
2019-02-25 18:43:08 +01:00
Bruno Windels
31dda34e6b
use new permalink class in share dialog & context menu
2019-02-25 18:43:08 +01:00
Bruno Windels
f7ea9cfeb2
rename all instances of permalinkCreator
2019-02-25 18:43:08 +01:00
Bruno Windels
be3d12721c
check room exists
2019-02-25 18:43:08 +01:00
Bruno Windels
fe71c17bb7
keep previous >= pl limit
2019-02-25 18:43:08 +01:00
Bruno Windels
63504fcc17
dont assume there are powerlevels set
2019-02-25 18:43:08 +01:00
Bruno Windels
f97ea37717
permalink is one word
2019-02-25 18:43:08 +01:00
Bruno Windels
db5a2138ea
this is dead code actually, can go
2019-02-25 18:43:08 +01:00
Bruno Windels
ed4960f1c5
nicer formatting
2019-02-25 18:43:08 +01:00
Bruno Windels
b9c3919dc1
calculate highest pl from load!
2019-02-25 18:43:08 +01:00
Bruno Windels
35809dc7d5
also update highest power level when acls come in
2019-02-25 18:43:08 +01:00
Bruno Windels
12f55391db
observe powerlevels from state event, less handlers this way
2019-02-25 18:43:08 +01:00
Bruno Windels
29be28919d
create permalink creator in roomview and pass it on to the event tiles
2019-02-25 18:43:08 +01:00
Bruno Windels
8d929add18
delegate to class when needing a roomId permalink
2019-02-25 18:43:08 +01:00
Bruno Windels
d4c6198fa3
update copyright
2019-02-25 18:43:08 +01:00
Bruno Windels
d3f0b609f5
use URL instead of creating new a element
2019-02-25 18:43:08 +01:00
Bruno Windels
c2791b9470
refactor pickServerCandidates into statefull class
...
so we don't need to iterate over all members for every permalink
2019-02-25 18:43:08 +01:00
Travis Ralston
5bf9f721c8
Port minimize to tray to new settings tab (post-merge)
...
Brings in b02b371250
2019-02-25 09:43:39 -07:00
Travis Ralston
4801b25f77
Merge remote-tracking branch 'origin/develop' into travis/settings-cleanup-1
2019-02-25 09:40:50 -07:00
Travis Ralston
addc7e519b
Merge pull request #2699 from matrix-org/travis/fix-bug-in-notifications
...
Fix NPE relating to toggling notifications
2019-02-25 07:31:59 -07:00
Travis Ralston
8049d5c2b2
Merge pull request #2684 from matrix-org/travis/fix-e2e-menu-item
...
Only set e2e info callback if the event is encrypted
2019-02-25 07:31:17 -07:00
Tim Stahel
2f50aca7ce
Translated using Weblate (Swedish)
...
Currently translated at 73.4% (1134 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-02-25 10:54:21 +00:00
Travis Ralston
5f760fbf4a
Change the room list algo to eagerly delete and carefully insert
...
Previously it made some complicated assumptions about the contexts it was called in (it generally assumed it just had to shuffle rooms between tags and didn't really handle new rooms very well).
The algorithm now eagerly tries to drop rooms from tags and carefully inserts them. The actual insertion logic is mostly untouched: the only part changed is how it handles failure to insert into tag. It shouldn't be possible for this algorithm to completely skip a room unless the tag is empty, so we special case that.
There are several TODO comments to be addressed here. Namely, it doesn't handle manually ordered tags (favourites, custom, etc) and doesn't check if tags are even enabled. Changes in this area are waiting for https://github.com/matrix-org/matrix-react-sdk/pull/2686 to land to take advantage of monitoring the settings flag for tags.
2019-02-24 19:45:23 -07:00
Travis Ralston
1c10b3050d
Revert "Add some logging for riot-web#7838"
...
This reverts commit f5ff580e35
.
2019-02-24 18:05:40 -07:00
Travis Ralston
c12bea06c8
Merge pull request #2698 from matrix-org/t3chguy/room_member_filter_clear
...
Add abilities to clear Filter room members input
2019-02-24 18:00:02 -07:00
Travis Ralston
2b9b07c29d
Merge pull request #2696 from matrix-org/t3chguy/pretty_view_source
...
make ViewSource less awkward
2019-02-24 17:55:07 -07:00
Travis Ralston
acbd3fb748
Merge pull request #2695 from matrix-org/t3chguy/guest_share_community
...
Fix share community for guests
2019-02-24 17:52:05 -07:00
Travis Ralston
6cc534e503
Fix NPE relating to toggling notifications
...
The fallthrough for `notifier_enabled` caused a NPE on `payload.error`, so this moves the fallthrough to where it is intended and sanity checks `payload.error` for next time.
2019-02-24 17:45:03 -07:00
Travis Ralston
896a8c1c1d
Merge pull request #2693 from matrix-org/t3chguy/search_toggle
...
Toggle Search using Room Header button
2019-02-24 17:41:23 -07:00
Travis Ralston
8ca1c96df4
Merge pull request #2691 from matrix-org/t3chguy/user_typing_memberinfo
...
view user on click typing tile
2019-02-24 17:38:25 -07:00
Travis Ralston
c261879ba7
Merge pull request #2690 from matrix-org/t3chguy/share_permalink
...
Change Share Message to Share Permalink if !m.room.message||redacted
2019-02-24 17:37:25 -07:00
Travis Ralston
f0353dbc3f
Merge pull request #2688 from matrix-org/t3chguy/minimize_tray
...
Allow configuration of whether closing window closes or minimizes to tray
2019-02-24 17:33:26 -07:00
Matthew Hodgson
ef3b729ff4
s/google.com/recaptcha.net/ as per https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
2019-02-24 23:35:08 +00:00
Michael Telatynski
ee47e0f72e
pass through className
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 04:44:38 +00:00
Michael Telatynski
5052039b36
Re-use SearchBox from filter rooms for filter room members
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 04:42:04 +00:00
Michael Telatynski
dbf540074d
replace text Inputs in Devtools with Field bcuz prettier
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 04:28:42 +00:00
Michael Telatynski
7b88d5d21c
make ViewSource less awkward
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 03:43:44 +00:00
Michael Telatynski
e6bf9fe9bf
Fix share community for guests
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 03:25:02 +00:00
Michael Telatynski
e12e2c4a3d
tidy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 02:57:13 +00:00
Michael Telatynski
ac17e22556
Toggle Search using Room Header button
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 02:56:27 +00:00
Michael Telatynski
393fd26a42
Settings button in Room Context Menu
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 02:42:41 +00:00
Michael Telatynski
c99b4bda32
view user on click typing tile
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 02:30:45 +00:00
Michael Telatynski
f2624beca4
Change Share Message to Share Permalink if !m.room.message||redacted
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 02:03:20 +00:00
Michael Telatynski
4472c66b96
delint s'more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 01:38:31 +00:00
Michael Telatynski
f16b9d76f4
add roomnick SlashCommand
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 01:36:47 +00:00
Michael Telatynski
45e9dbe49d
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 01:20:49 +00:00
Michael Telatynski
b02b371250
Allow configuration of whether closing window closes or minimizes to tray
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 01:06:53 +00:00
Travis Ralston
e31179224e
Export the defaults for SdkConfig
2019-02-22 20:47:06 -07:00
Travis Ralston
b0cc69bca9
Add an option to sort the room list by recents first
...
Fixes https://github.com/vector-im/riot-web/issues/8892
2019-02-22 17:09:07 -07:00
Travis Ralston
7ea4008daa
Implement support for watching for changes in settings
...
This implements a dream of one day being able to listen for changes in a settings to react to them, regardless of which device actually changed the setting. The use case for this kind of thing is extremely limited, but when it is needed it should be more than powerful enough.
2019-02-22 17:09:07 -07:00
Travis Ralston
014e4a2ccf
Remove DragDropContext from FlairSettings
...
This also fixes a technical bug where one could drag a community from the settings to the LLP
2019-02-22 11:33:03 -07:00
Travis Ralston
bd54a401bc
Sort settings tabs into a logical structure
...
Fixes https://github.com/vector-im/riot-web/issues/8864
2019-02-22 11:33:03 -07:00
Travis Ralston
20cd198784
Only set e2e info callback if the event is encrypted
...
Fixes https://github.com/vector-im/riot-web/issues/8551
2019-02-22 10:31:14 -07:00
J. Ryan Stinnett
150c941340
Merge pull request #2682 from jryans/simplify-composer-state-change
...
Remove duplicated conversion from `enableRichText`
2019-02-22 16:57:37 +00:00
J. Ryan Stinnett
f99c35c5d9
Merge pull request #2683 from jryans/phase-for-server-type
...
Use correct initial phase for server type
2019-02-22 16:56:50 +00:00
Travis Ralston
d6f89f422b
Merge pull request #2679 from matrix-org/travis/settings/field-editable-list
...
Fix AliasSettings and RelatedGroups UX
2019-02-22 09:40:34 -07:00
J. Ryan Stinnett
c45ca58689
Merge pull request #2677 from jryans/composer-input
...
Add `onClick` to Markdown buttons
2019-02-22 16:19:22 +00:00
J. Ryan Stinnett
ec35423a0d
Use correct initial phase for server type
...
The initial phase of registration can differ by the default server type. In
particular, the Matrix.org HS type wants to skip to the registration form.
Fixes https://github.com/vector-im/riot-web/issues/8862
2019-02-22 16:16:08 +00:00
J. Ryan Stinnett
f5c477bbc8
Remove duplicated conversion from enableRichText
...
`enableRichText` would convert the editor state between rich and md versions
explicitly, but then it would also call `createEditorState`, which can do the
same thing.
This removes the duplication, and also supplies the right arguments to
`createEditorState` so it can do its work correctly.
2019-02-22 15:48:44 +00:00
Travis Ralston
a02508023b
Merge pull request #2678 from matrix-org/travis/fix-email-config
...
Fix toggle for email notifications
2019-02-22 08:22:43 -07:00
J. Ryan Stinnett
ccd4dee0d2
Isolate rich text notifications from other input changes
...
The step that would notify parent components of rich text state changes was
stirred into the input's change handler, which leads to race which the parent is
sometimes notified of the old rich text state instead of the new.
Here we avoid this complication by using a separate path for sending the rich
text state when we know we have updated it correctly.
2019-02-22 15:18:24 +00:00
J. Ryan Stinnett
3e6199c0f7
Change Markdown buttons to onClick
...
`AccessibleButton` expects click handlers, which we can use here, as long we
make some additional changes to avoid race processing the new state (see
subsequent patch).
Fixes https://github.com/vector-im/riot-web/issues/8866
2019-02-22 15:18:06 +00:00
Bruno Windels
ec6c104e51
Merge pull request #2681 from matrix-org/travis/unbreak-new-rooms
...
Fix categorization of favourites and new rooms
2019-02-22 11:34:16 +01:00
J. Ryan Stinnett
ca5c7b03d3
Merge pull request #2675 from jryans/default-hs-to-form
...
Skip server details on registration with a default HS
2019-02-22 10:19:53 +00:00
J. Ryan Stinnett
b6682c0469
Merge pull request #2673 from jryans/username-label
...
Clarify what the username error refers to
2019-02-22 10:17:58 +00:00
Travis Ralston
e7b3cbfdf4
Fix categorization of favourites and new rooms
...
New rooms (joined, invited, created, etc) were being ignored because they matched the check as soon as the iterator hit a non-recents section. This fixes the check to ensure there's a positive ID on the room being in the tag (or not, in the case of new rooms) before lying to the rest of the function.
Additionally, a fix for favourites has been included to stop the list expanding to fill the void - turns out it was inserting the room twice into the list, and this was breaking the tile rendering. The room sublist would allocate space for the tile, but React would prevent the tile from showing up because of duplicate keys.
Fixes https://github.com/vector-im/riot-web/issues/8868
Fixes https://github.com/vector-im/riot-web/issues/8857 correctly
2019-02-21 19:21:32 -07:00
Jaroslav
b3d2c895f1
Translated using Weblate (Ukrainian)
...
Currently translated at 33.8% (522 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2019-02-22 02:07:46 +00:00
Alexander Terczka
892802e9cc
RoomDirectory Dropdown should use roomDirectory.servers
...
The sample config.json in riot-web has "roomDirectory.servers" and not "servers".
Are other systems than riot-web use "servers" without "roomDirectory" ? Then this would break these.
2019-02-22 02:40:01 +01:00
Travis Ralston
75a2593523
More misc linter cleanup
2019-02-21 18:18:12 -07:00
Travis Ralston
9795161f40
Misc linter cleanup
2019-02-21 17:53:29 -07:00
Travis Ralston
1e6594ceba
Disable removal of items if the user doesn't have permission
2019-02-21 17:15:25 -07:00
Travis Ralston
003d0eb0bf
Show changes to related groups (flair) in the timeline
2019-02-21 17:03:15 -07:00
Travis Ralston
96eeab23af
Convert RelatedGroupSettings to a class component
2019-02-21 16:48:54 -07:00
Travis Ralston
10daa35263
Make related groups direct manipulation
2019-02-21 16:40:12 -07:00
Travis Ralston
58b9a0675e
Disable main address dropdown when lacking permissions
...
Instead of rendering it as a span with no label.
2019-02-21 16:38:10 -07:00
Travis Ralston
2990cf41e7
Remove old "click to save" functionality from AliasSettings
2019-02-21 16:27:49 -07:00
Travis Ralston
750c9202cc
Make the canonical alias direct manipulation
2019-02-21 16:11:26 -07:00
Travis Ralston
278e48cfc9
Make removing aliases direct manipulation
2019-02-21 15:22:08 -07:00
Travis Ralston
5d2f17c49a
Make adding aliases direct manipulation
2019-02-21 15:22:08 -07:00
Travis Ralston
2903a0e712
Rework EditableItemList to support mxField
...
Also improves upon the general UX to be a bit friendlier for direct manipulation things.
2019-02-21 15:22:08 -07:00
Travis Ralston
23dd3573f8
Fix SdkConfig import in Notifications
...
Fixes an issue discovered after fixing the toggle - The SdkConfig in onEnableEmailNotificationsChange ends up being undefined if the import is left as-is.
2019-02-21 15:18:54 -07:00
Travis Ralston
ee8a027b4c
Fix toggle for email notifications
...
The function doesn't receive an event, it receives a boolean.
Fixes https://github.com/vector-im/riot-web/issues/8837
2019-02-21 15:18:11 -07:00
J. Ryan Stinnett
fe141412b6
Skip server details on registration with a default HS
...
If Riot has been configured with a `default_hs_url` (or `default_server_name`,
which then sets a default HS URL), then skip the server details on registration
by default.
Fixes https://github.com/vector-im/riot-web/issues/8840
2019-02-21 18:11:23 +00:00
Travis Ralston
d662dccfba
Fix favourites losing rooms and sorting weirdly
...
By not flagging the room as inserted, we end up sorting it.
Fixes https://github.com/vector-im/riot-web/issues/8857
2019-02-21 09:17:35 -07:00
Travis Ralston
ade9ee3c18
Merge pull request #2634 from matrix-org/travis/better-room-sorting
...
"Breadcrumb" room sorting algorithm
2019-02-21 08:46:17 -07:00
Bruno Windels
ab9bf4c0e0
Merge pull request #2666 from matrix-org/bwindels/userview
...
Bring back user view
2019-02-21 16:05:03 +01:00
J. Ryan Stinnett
b74107116b
Clarify what the username error refers to
...
Fixes https://github.com/vector-im/riot-web/issues/8839
2019-02-21 15:01:09 +00:00
J. Ryan Stinnett
86a375c7da
Report validity state of all registration fields on any change
...
This passes the validity state of all fields to the consumer of
`RegistrationForm` via the `onValdiationChange` callback, instead of just the
most recent error.
In addition, we notify the consumer for any validation change, whether success
or failure. This allows old validation messages to be properly cleared. It also
allows the consumer to be aware of multiple validation errors and display the
next one after you have fixed the first.
Fixes https://github.com/vector-im/riot-web/issues/8769
2019-02-21 14:44:39 +00:00
J. Ryan Stinnett
acae2e9976
Wait until password confirm is non-empty
...
If password confirm is empty on blur, there's no reason to try validating it.
The user may just be tabbing through fields.
2019-02-21 14:44:32 +00:00
J. Ryan Stinnett
27abd7d507
Update validation order to match field order
...
Validation is meant to run in reverse order of the fields (so that the last
message emitted is for the first invalid field).
2019-02-21 11:35:55 +00:00
J. Ryan Stinnett
8b66b6bdb3
Relabel custom HS link on registration from 'Edit' to 'Change'
...
Fixes https://github.com/vector-im/riot-web/issues/8853
2019-02-21 11:03:50 +00:00
J. Ryan Stinnett
1671466c46
Regenerate strings
2019-02-21 11:02:58 +00:00
Silke
ee04ffa5dc
Translated using Weblate (Dutch)
...
Currently translated at 70.1% (1083 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-02-21 10:49:08 +00:00
Joachim Nielandt
2369986e10
Translated using Weblate (Dutch)
...
Currently translated at 70.1% (1083 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-02-21 10:48:55 +00:00
Thomas Wouters
f3ca0f2d32
Translated using Weblate (Dutch)
...
Currently translated at 70.1% (1083 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-02-21 10:48:10 +00:00
Silke
0722eba2bb
Translated using Weblate (Dutch)
...
Currently translated at 69.9% (1079 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-02-21 10:45:46 +00:00
J. Ryan Stinnett
16b9688303
Merge pull request #2669 from matrix-org/jryans/default-server-name
...
Restores support for `default_server_name` which discovers URLs via `.well-known`
2019-02-21 10:38:15 +00:00
Bruno Windels
d9b8b0f988
fix indentation
2019-02-21 10:51:09 +01:00
hectorfdezlopez
5b39698cec
Translated using Weblate (Spanish)
...
Currently translated at 89.5% (1381 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-02-20 18:36:22 +00:00
J. Ryan Stinnett
42bb3c4f40
Prevent default for forgot password link
...
The forgot password link should prevent default to avoid changing the URL's hash
state.
2019-02-20 17:33:59 +00:00
J. Ryan Stinnett
d220dd49ef
Clarify that the account is a Matrix account
...
Now that auth flows can show a server name like `example.com` which might
delegate the HS to some other server, it could be confusing to see text like
"Sign in to example.com", especially if `example.com` runs an identity service,
uses SSO, has its own account system, or other things like this.
To clarify that we mean Matrix accounts, all auth flows are updated to talk in
terms of "<verb> your Matrix account on <server>".
Fixes part of
https://github.com/vector-im/riot-web/issues/8763#issuecomment-464823909 .
2019-02-20 17:33:59 +00:00
J. Ryan Stinnett
5433feb4d4
Display default server name in forgot password
...
If a default server name is set and the current HS URL is the default HS URL,
we'll display that name in the "your account" text on the forgot password form.
This can be a bit more user friendly, especially when the HS is delegated to
somewhere such as Modular, since you'll then see "example.com" instead of
"example.modular.im", which you have no direct relationship with as a user.
This is the key bit of https://github.com/vector-im/riot-web/issues/8763 for
forgot password.
2019-02-20 17:33:59 +00:00
J. Ryan Stinnett
f4b7180087
Display default server name in login
...
If a default server name is set and the current HS URL is the default HS URL,
we'll display that name in the "sign in to" text on the login form.
This can be a bit more user friendly, especially when the HS is delegated to
somewhere such as Modular, since you'll then see "example.com" instead of
"example.modular.im", which you have no direct relationship with as a user.
This is the key bit of https://github.com/vector-im/riot-web/issues/8763 for
login.
2019-02-20 17:33:59 +00:00
J. Ryan Stinnett
a29a8185fc
Merge pull request #2667 from jryans/trim-changelog
...
Only show the first line of each commit in changelog dialog
2019-02-20 13:05:14 +00:00
Bruno Windels
6455334bd0
Merge pull request #2658 from matrix-org/bwindels/moarcachebustin
...
Cache-bust languages.json with file-loader
2019-02-20 13:34:42 +01:00
J. Ryan Stinnett
d68b7c29e2
Only show the first line of each commit in changelog dialog
...
Multi-line commits aren't actually formatted correctly, and most likely the
first line is enough of a summary anyway, so this change trims to the first
line. The commits are linked, so you can click through if you want more detail.
Fixes https://github.com/vector-im/riot-web/issues/8285
2019-02-20 12:20:48 +00:00
J. Ryan Stinnett
91f56a4447
Display default server name in registration
...
If a default server name is set and the current HS URL is the default HS URL,
we'll display that name in the "your account" text on the registration form.
This can be a bit more user friendly, especially when the HS is delegated to
somewhere such as Modular, since you'll then see "example.com" instead of
"example.modular.im", which you have no direct relationship with as a user.
This is the key bit of https://github.com/vector-im/riot-web/issues/8763 for
registration.
2019-02-20 12:17:51 +00:00
Bruno Windels
23bcbc50e3
show dialog when failing to load profile info
2019-02-20 12:52:29 +01:00
Bruno Windels
f11505a9de
bring back user page
...
Adds a UserView that contains a MainSplit with an empty div
and a RightPanel, preset to the given member.
UserView fetches the profile and creates a fake member, which
it passed on to the RightPanel.
this doesn't use the view_user action on purpose, to avoid any
interference of the UserView when trying to view a room member.
2019-02-20 12:45:55 +01:00
J. Ryan Stinnett
b846ac5800
Rework ServerTypeSelector
to only emit changes after initial setup
...
`ServerTypeSelector` would call its `onChange` prop both at construction
(because it computed the default selected type and consumers might want to know)
as well as on actual user change. This ended up complicating consumer code, as
they want to differentiate between initial state and changes made by the user.
To simplify things, `ServerTypeSelector` now exports a function to compute the
server type from HS URL, which can be useful for setting its initially selected
type. The consumer now provides that type via a prop, and `onChange` is now only
called for actual user changes, simplifying the logic in `Registration` which
uses `ServerTypeSelector`.
In addition, some usages of `customHsUrl` vs. `defaultHsUrl` in `Registration`
are simplified to be `customHsUrl` only (since it already includes a fallback to
the default URL in `MatrixChat`).
2019-02-20 11:23:51 +00:00
J. Ryan Stinnett
9292a46db0
Update comment about Modular server type selection
...
Modular now sets `disable_custom_urls`, so the server type selector is not shown
for Modular-hosted Riot.
2019-02-20 10:24:03 +00:00
Bruno Windels
44bedb2084
fix unit tests without breaking the build
2019-02-20 09:36:18 +01:00
Andrew Chronister
250341ec4d
Miscellaneous style issues
2019-02-19 21:46:17 -08:00
Andrew Chronister
12c1e82f11
s/var/let
2019-02-19 21:45:16 -08:00
Travis Ralston
64103b7af4
More micro optimizations to make the hot paths faster
2019-02-19 15:15:39 -07:00
Travis Ralston
561d1f37ec
Stick a couple micro optimizations into the setRoomCategory hot path
2019-02-19 14:56:56 -07:00
Travis Ralston
7b732ceb43
Merge branch 'develop' into travis/better-room-sorting
2019-02-19 14:35:14 -07:00
Tomas Batalla
b90e33b81b
Fix off by one error for username colors
...
The hash result would only have a range of 0..7, but the css of color variants is 1..8
2019-02-19 10:52:59 -08:00
J. Ryan Stinnett
6b46057283
Merge pull request #2663 from jryans/enable-captcha-desktop
...
Allow captchas on Riot desktop builds
2019-02-19 18:20:15 +00:00
J. Ryan Stinnett
cba3897944
Merge pull request #2661 from jryans/captcha-stuck
...
Show link to login even during UI auth
2019-02-19 18:17:51 +00:00
J. Ryan Stinnett
edf10dbdde
Merge pull request #2659 from jryans/dark-theme-more-2
...
Dark theme follow ups round 2
2019-02-19 17:51:29 +00:00
Jiri Grönroos
69d0b5a2e0
Translated using Weblate (Finnish)
...
Currently translated at 77.6% (1198 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-02-19 13:59:24 +00:00
J. Ryan Stinnett
1cde4abe6a
Improve text layout above captcha
2019-02-19 13:59:15 +00:00
J. Ryan Stinnett
3c156218da
Allow captchas on Riot desktop builds
2019-02-19 13:57:31 +00:00
J. Ryan Stinnett
198dee9abd
Rename default theme to light theme
2019-02-19 13:27:35 +00:00
J. Ryan Stinnett
4c83d898bd
Show link to login even during UI auth
...
This gives users an escape hatch in case something goes wrong with the UI auth
step, and they'd like to go somewhere else in the auth process.
2019-02-19 13:13:21 +00:00
Krombel
a38481175d
Translated using Weblate (German)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-19 10:06:33 +00:00
Travis Ralston
424de00109
Merge pull request #2648 from matrix-org/travis/fix-room-settings
...
Add a bit of safety around reading events for room settings
2019-02-18 21:34:45 -07:00
Andrew Chronister
32f96788f1
Add to en_US i18n
2019-02-18 15:46:54 -08:00
chr
788e40f076
Add /shrug command
...
Certain popular web-based chat systems support a `/shrug` command which
appends the ¯\\_(ツ)_/¯ text emoticon (kaomoji) to a message. I've often
found myself wishing Riot had something similar, so I decided to add it
myself. (If Riot ever gets a user-extensible /-command system, this will
probably no longer be necessary. But since it doesn't have that, here I
am). Doesn't support markdown / rich text messages because I didn't want
to dig that far into Riot/the SDKs for my first PR; if someone else
would like to add that, by all means.
Signed-off-by: Andrew Chronister <chr@chronal.net>
2019-02-18 15:38:24 -08:00
J. Ryan Stinnett
5fb990eb5f
Convert Markdown button to SVG mask
...
This makes it easier to theme via CSS, which helps with the dark theme.
2019-02-18 18:26:52 +00:00
Kévin C
5de4952d11
Translated using Weblate (French)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-18 16:29:28 +00:00
J. Ryan Stinnett
09ed795c79
Allow theming member info minimise button
2019-02-18 16:02:10 +00:00
Bruno Windels
33858c8aff
move this path to webpack config file
...
otherwise react-sdk wouldn't be able to build anymore
without riot-web in a specific location
2019-02-18 16:26:04 +01:00
Bruno Windels
f240efb36d
get cache-busted url for languages.json through file-loader requiring it
2019-02-18 16:13:24 +01:00
Tiffany Thuy Kim Nguyen
2424efda5d
Translated using Weblate (Spanish)
...
Currently translated at 89.4% (1380 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-02-18 07:03:05 +00:00
hectorfdezlopez
b46f660d06
Translated using Weblate (Spanish)
...
Currently translated at 89.4% (1380 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-02-18 01:26:36 +00:00
Osoitz
1465714bf4
Translated using Weblate (Basque)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-02-17 13:20:41 +00:00
Samu Voutilainen
0daa69f0f8
Translated using Weblate (Finnish)
...
Currently translated at 67.8% (1047 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-02-17 11:53:50 +00:00
sblondon
1a59379322
Translated using Weblate (French)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-16 08:00:00 +00:00
Travis Ralston
cb15bc968c
Remove excessive dispatch binding
2019-02-15 23:41:48 -07:00
Travis Ralston
53fa59f5a4
Remove old debugging code
...
The algorithm is correctly applied when these are removed.
2019-02-15 23:40:23 -07:00
Travis Ralston
da4d1cfed4
Merge branch 'develop' into travis/better-room-sorting
2019-02-15 23:32:15 -07:00
Aaron Raimist
1e01f1b52a
Fix typo "Scisors" -> "Scissors"
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-02-15 11:26:14 -06:00
Krombel
aa867de071
Translated using Weblate (German)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-15 14:55:16 +00:00
Christian González
1fb882bb08
Translated using Weblate (German)
...
Currently translated at 99.8% (1541 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
https://www.duden.de/rechtschreibung/benachrichtigen
2019-02-15 14:54:30 +00:00
Christian González
e74c1a89e8
Translated using Weblate (German)
...
Currently translated at 99.8% (1541 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-15 14:28:03 +00:00
Krombel
d61520c828
Translated using Weblate (German)
...
Currently translated at 99.8% (1541 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-15 14:23:28 +00:00
Lieblinger
1d966166aa
Translated using Weblate (German)
...
Currently translated at 95.0% (1466 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-15 13:43:17 +00:00
Bruno Windels
05ddee6a6b
remove dead code
2019-02-15 13:07:33 +01:00
Bruno Windels
c39c0e4834
fix for the ... button not being aligned for group invite tiles
2019-02-15 13:07:33 +01:00
Bruno Windels
dedaf0f5a2
disable lazy list rendering if extraTiles are provided
2019-02-15 13:07:33 +01:00
Kévin C
559e72d92b
Translated using Weblate (French)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-15 11:16:39 +00:00
pebles
12b5fa4a8d
Translated using Weblate (Spanish)
...
Currently translated at 77.9% (1202 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-02-15 11:05:02 +00:00
Krombel
b382ff0346
Translated using Weblate (German)
...
Currently translated at 93.7% (1447 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-15 10:37:05 +00:00
Szimszon
7f41c2b072
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-02-15 07:20:38 +00:00
Jeff Huang
59c347aedb
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-02-15 02:05:12 +00:00
Kévin C
eca40f55ee
Translated using Weblate (French)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-14 21:57:22 +00:00
Travis Ralston
f46df2ddd9
Add a bit of safety around reading events for room settings
...
Fixes https://github.com/vector-im/riot-web/issues/8530 and maybe https://github.com/vector-im/riot-web/issues/8641
2019-02-14 11:09:37 -07:00
Slavi Pantaleev
bc51d6ee1d
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-02-14 17:11:14 +00:00
Weblate
8b1506c0cb
Merge remote-tracking branch 'origin/develop' into develop
2019-02-14 16:41:06 +00:00
J. Ryan Stinnett
df5f0601aa
Merge pull request #2641 from matrix-org/dbkr/remove_welcome_from_topleft
...
Remove 'welcome' from top-left menu
2019-02-14 16:40:39 +00:00
Weblate
e208ac0939
Merge remote-tracking branch 'origin/develop' into develop
2019-02-14 16:39:13 +00:00
Samu Voutilainen
54f069fb29
Translated using Weblate (Finnish)
...
Currently translated at 61.3% (946 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-02-14 16:39:07 +00:00
Slavi Pantaleev
8220bb0428
Translated using Weblate (Bulgarian)
...
Currently translated at 99.9% (1542 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-02-14 16:39:07 +00:00
Travis Ralston
5c41e1f8df
Turn on pin unread rooms for everyone
2019-02-14 09:33:46 -07:00
J. Ryan Stinnett
ce68ff1214
Merge pull request #2640 from jryans/help-buoy
...
Update help buoy text and issue links
2019-02-14 16:17:34 +00:00
David Baker
93350c43a5
Put back this bind - it's an unrelated fix
2019-02-14 16:07:44 +00:00
Travis Ralston
37d1191c72
Add credit for cover photo usage
...
Fixes https://github.com/vector-im/riot-web/issues/8374
2019-02-14 09:04:15 -07:00
David Baker
7845a63506
Remove 'welcome' from top-left menu
...
Tjis is quite confusing as the welcome page is designed for when
you're not logged in, ie. has a sign-in button. There's also no way
to get back into the app so it really looks like it's logged you
out.
Reverts 116367fd69
2019-02-14 15:53:52 +00:00
J. Ryan Stinnett
2a3b05a321
Update help buoy text and issue links
2019-02-14 15:52:13 +00:00
Bruno Windels
abf96fd420
Merge pull request #2638 from matrix-org/bwindels/typingnotifswhitespacefix2
...
Fix excessive timeline whitespace
2019-02-14 16:38:20 +01:00
Bruno Windels
9e260ad96b
make sure we're at the bottom, although that seems to always be the case in this branch?
2019-02-14 16:19:58 +01:00
Bruno Windels
790e752b7a
clear min-height on scroll
2019-02-14 16:11:38 +01:00
David Baker
690f3ede12
Merge pull request #2637 from matrix-org/dbkr/remove_white_screen_of_welcome
...
Remove the white screen of welcome
2019-02-14 13:46:44 +00:00
David Baker
b242d03f7f
lint
2019-02-14 12:52:38 +00:00
David Baker
e5e355ed2d
Remove the white screen of welcome
...
If there's no home page configured, view the first room.
2019-02-14 12:35:09 +00:00
Bruno Windels
107eb974d4
always rerender
...
as not all state that goes into rendering comes from state or props,
we shouldn't be blocking rendering at all
This might rerender a few times more, but it shouldn't be worse
than what was there before the redesigned roomlist.
2019-02-14 13:30:03 +01:00
Szimszon
d9fdd3a127
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-02-14 12:07:03 +00:00
Kévin C
e88b114725
Translated using Weblate (French)
...
Currently translated at 100.0% (1543 of 1543 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-14 11:15:32 +00:00
Weblate
1271120d32
Merge remote-tracking branch 'origin/develop' into develop
2019-02-14 09:32:51 +00:00
Markel @wakutiteo
1c2d9d7222
Translated using Weblate (Spanish)
...
Currently translated at 73.6% (1138 of 1546 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-02-14 09:32:47 +00:00
tleydxdy
4c29a8422d
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 76.3% (1181 of 1546 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2019-02-14 09:32:46 +00:00
Travis Ralston
45a415f8bf
Protection around lack of room for tests
2019-02-13 20:16:47 -07:00
Travis Ralston
a2a13636ed
Don't blow up when rooms have no timelines
2019-02-13 20:02:18 -07:00
Travis Ralston
0c7e0a264b
Inline documentation
2019-02-13 19:49:28 -07:00
Travis Ralston
b08ab6cd12
Fix boundary math calculations
2019-02-13 19:35:01 -07:00
Travis Ralston
c0b63f986f
Implement a cache on _tsOfNewestEvent: ~75% improvement
2019-02-13 19:16:11 -07:00
Travis Ralston
52f48f7422
Order by timestamp within the categorized room lists
...
When we load the page, all encrypted events arrive well after we've generated our initial grouping which can cause them to jump to the top of their categories wrongly. For direct chats, this meant that people who don't have a lot of unread messages would see ancient rooms bubbling to the top for no reason after the page has loaded.
We still have to track when the last category change was (ie: when we switched from red -> grey) so that when the category doesn't exist in the list we can insert the room at the right place (the start of the last category when we switch beyond the order expected).
2019-02-13 18:19:18 -07:00
Travis Ralston
821b34b487
React to read receipt changes from ourselves
...
When a room is read on another device, it should be re-sorted
2019-02-13 17:03:27 -07:00
Travis Ralston
2eb80f793c
Try to handle direct chats and tag changes
...
This is a very blunt approach in that it ignores the sticky room.
2019-02-13 14:22:00 -07:00
Travis Ralston
b741b76797
Handle joins/leaves safely
2019-02-13 14:08:19 -07:00
Travis Ralston
9175655c16
Remove old pin unread options
...
They are not forced on, and do nothing.
2019-02-13 13:13:40 -07:00
Travis Ralston
b6c1b50fd9
Early support for improved room algorithm
...
This changes the approach from regenerating every time there's a change to incrementally fixing the room lists. Additionally, this forces the pin options on for people and implements the sticky room behaviour.
Known bugs include newly joined rooms, invites, etc not sorting correctly.
2019-02-13 13:01:03 -07:00
Bruno Windels
a720de81c1
Merge pull request #2632 from matrix-org/bwindels/searchthrottle
...
use throttle as its more responsive
2019-02-13 20:37:13 +01:00
Bruno Windels
47c14021b3
use throttle as its more responsive
2019-02-13 20:32:50 +01:00
Bruno Windels
5aa08a0f02
Merge pull request #2631 from matrix-org/bwindels/roomlistfilterfix
...
update range when items size changes
2019-02-13 20:29:40 +01:00
David Baker
0ad9d71935
Merge pull request #2630 from matrix-org/dbkr/fix_register_email_link
...
Fix registration after clicking email link
2019-02-13 19:25:15 +00:00
Bruno Windels
a1a82e48d9
update range when items size changes
2019-02-13 20:21:17 +01:00
David Baker
c3ca2b4d46
add comment
2019-02-13 19:06:44 +00:00
J. Ryan Stinnett
5b64543159
Typo
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-02-13 19:05:17 +00:00
David Baker
e439d36805
Merge pull request #2626 from matrix-org/dbkr/recheck_key_backup
...
Re-check key backup status when settings opened
2019-02-13 18:19:39 +00:00
David Baker
0f4092dcbc
Fix registration after clicking email link
...
We weren't correctly jumping into the appropriate bit of the registration
flow when coming in from an email link.
* If we have client secret / sessionId, go straight to registration phase
* Don't reset server URLs when the server type component tells us its
initial value
* Confusingly, pass the custom server URL as 'default server URL' to
the custom server type, as this is what we want the inital section
to be based on.
Fixes https://github.com/vector-im/riot-web/issues/8490
2019-02-13 18:12:34 +00:00
Bruno Windels
90667d8061
Merge pull request #2629 from matrix-org/bwindels/lazyroomtilerendering
...
Improve room list rendering performance
2019-02-13 18:55:47 +01:00
Bruno Windels
e51f279f36
dont assume there items is an array
2019-02-13 18:49:09 +01:00
J. Ryan Stinnett
694a59afb7
Merge pull request #2628 from jryans/adjust-top-left-menu
...
Adjust top left menu items
2019-02-13 17:38:08 +00:00
Bruno Windels
42409691b3
try to not trigger rerenders in LazyRenderList
...
by not creating new arrays
2019-02-13 18:36:46 +01:00
Bruno Windels
39632428d0
remove throttling after improving LazyRenderList perf
2019-02-13 18:36:19 +01:00
Bruno Windels
60d0ed4c01
make LazyRenderList stateful for better performance
...
it only rerenders when visible range it would render based on the
props gets OVERFLOW_MARGIN(5) items from the current renderRange
2019-02-13 18:33:57 +01:00
Besnik Bleta
5e714ab14a
Translated using Weblate (Albanian)
...
Currently translated at 99.6% (1540 of 1546 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-02-13 16:53:37 +00:00
J. Ryan Stinnett
116367fd69
Add welcome to top left menu for all
2019-02-13 16:13:32 +00:00
Bruno Windels
9c371111b7
Merge branch 'develop' into bwindels/lazyroomtilerendering
2019-02-13 17:13:23 +01:00
J. Ryan Stinnett
22789ada94
Add sign in to top left menu for guests
2019-02-13 16:01:13 +00:00
David Baker
d2b4dfce30
Re-check key backup status when settings opened
...
Fixes https://github.com/vector-im/riot-web/issues/8524
Requires https://github.com/matrix-org/matrix-js-sdk/pull/840
2019-02-13 15:40:44 +00:00
David Baker
737b85c8f0
Merge pull request #2623 from matrix-org/dbkr/fix_force_turn_flag
...
Security: Force TURN setting was inverted
2019-02-13 15:24:14 +00:00
Matthew Hodgson
4028d775ba
remove unicode percentages
2019-02-13 14:36:08 +00:00
Bruno Windels
84163bed11
wrap roomtiles in LazyRenderList to improve perf for big accounts
2019-02-13 14:51:09 +01:00
Bruno Windels
0de2161a0d
create LazyRenderList component to trim list to visible part
2019-02-13 14:50:43 +01:00
Bruno Windels
3ce2309ae2
get scrolltop and scrollevent out of autohide/indicator scrollbar
2019-02-13 14:49:14 +01:00
Matthew Hodgson
3eb5c71b75
rename 'Close Account' back to 'Deactivate Account'.
...
the word close on a red button makes you feel like you're going to close the
settings dialog, not terminate your account...
2019-02-13 12:24:04 +00:00
Slavi Pantaleev
c1521d9b2d
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1546 of 1546 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-02-13 12:00:14 +00:00
David Baker
26287067fc
Security: Force TURN setting was inverted
...
In making the settings more positive, we flipped 'disable peer to
peer' but didn't change the caption, so the setting was inverted
from what it was labelled as.
Also, forcing p2p isn't the inverse of forcing turn.
Change the setting to be 'allow p2p' and the label to match.
2019-02-13 11:51:32 +00:00
J. Ryan Stinnett
b0d08b9a25
Rename dharma theme to light theme
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
6c954dadc8
Allow theming message composer buttons
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
e1edd56643
Allow theming group header buttons
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
3cba5edd6f
Allow theming right panel header buttons
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
8652a094f3
Allow theming room header buttons
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
fb7913580e
Theme setting needs to update local state
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
19e94b9e32
Allow storing the theme settting again
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
f5e56708d5
Re-enable dynamic theme changes
2019-02-13 10:44:01 +00:00
J. Ryan Stinnett
204d6e2c3d
Enable theme setting
2019-02-13 10:44:01 +00:00
J. Ryan Stinnett
e401b8f77a
Make default and dark the only theme options
2019-02-13 10:44:01 +00:00
J. Ryan Stinnett
df2f520d72
Fix up any unsupported themes when read from settings
2019-02-13 10:44:01 +00:00
J. Ryan Stinnett
215995de88
Resume reading default theme from config
2019-02-13 10:44:01 +00:00
Kévin C
e728bc1485
Translated using Weblate (French)
...
Currently translated at 100.0% (1546 of 1546 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-13 10:35:52 +00:00
Szimszon
42659464af
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1546 of 1546 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-02-13 10:31:07 +00:00
Bruno Windels
de8cd88418
Merge pull request #2621 from matrix-org/bwindels/tabsdivider
...
Add divider between tabs and regular buttons in room header
2019-02-13 11:00:52 +01:00
Weblate
e3f4891489
Merge remote-tracking branch 'origin/develop' into develop
2019-02-13 09:40:29 +00:00
csybr
2c46075f05
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 70.8% (1090 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2019-02-13 09:40:25 +00:00
Daniel Løvbrøtte Olsen
d3665f2e8f
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 14.9% (230 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2019-02-13 09:40:25 +00:00
Tulir Asokan
f60dd3b905
Translated using Weblate (Finnish)
...
Currently translated at 61.5% (948 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-02-13 09:40:24 +00:00
Osoitz
77ac346bbc
Translated using Weblate (Basque)
...
Currently translated at 93.7% (1443 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-02-13 09:40:24 +00:00
J. Ryan Stinnett
d9bb5991b5
Merge pull request #2609 from matrix-org/anoa/comms_hide
...
Change taking a community off the left-left panel less scary
2019-02-13 09:30:18 +00:00
Bruno Windels
875f792728
Merge pull request #2620 from matrix-org/bwindels/e2eiconsanddialog
...
Fixes and styling related to e2e icons and dialogs
2019-02-13 09:18:58 +01:00
Bruno Windels
12b6383831
Merge pull request #2618 from matrix-org/bwindels/fixstickers
...
Fix: stickers layout
2019-02-13 09:17:21 +01:00
Bruno Windels
5047d15a3b
Merge pull request #2615 from matrix-org/bwindels/breadcrumbs
...
Labs feature: recent room breadcrumbs
2019-02-13 09:16:40 +01:00
Bruno Windels
240dc3c1cc
Merge pull request #2612 from matrix-org/bwindels/roomlistlag
...
Fix: roomlist reordering lags
2019-02-13 09:15:46 +01:00
Samu Voutilainen
b8025a87b9
Translated using Weblate (Finnish)
...
Currently translated at 61.5% (947 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-02-13 07:12:37 +00:00
Tulir Asokan
0878ee86d1
Translated using Weblate (Finnish)
...
Currently translated at 61.4% (946 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-02-13 07:10:33 +00:00
Samu Voutilainen
548aa6a007
Translated using Weblate (Finnish)
...
Currently translated at 61.3% (944 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-02-13 07:07:31 +00:00
David Baker
785b4d649f
Merge pull request #2617 from matrix-org/dbkr/e2e_change_all_the_strings
...
Change text in e2e UX to new copy
2019-02-12 20:38:58 +00:00
David Baker
2eaba22d63
Better passphase confirm text
2019-02-12 20:14:43 +00:00
Andrew Morgan
d6acfea696
Update i18n
2019-02-12 19:37:39 +00:00
Bruno Windels
ccaa017980
add divider between tabs and regular buttons in room header
2019-02-12 20:05:01 +01:00
Bruno Windels
bfdf1251e8
only wrap e2e icon in button if there is a click handler
2019-02-12 19:59:31 +01:00
Bruno Windels
5e298dc58d
only show member e2e icon in encrypted rooms
2019-02-12 19:42:17 +01:00
Bruno Windels
158e949165
add context menu option to show "event e2e info dialog"
2019-02-12 19:10:42 +01:00
David Baker
dbd2f3daa2
Use sub for substitution variable name
2019-02-12 18:08:16 +00:00
David Baker
2c5da21adb
KeyBackupPanel fixes
...
* Separate out the emoji from the translateable string
* Put back the delete button if you're not using the backup,
otherwise you're stuck unable to use key backup at all if you
lost your recovery secret and the device you set it up on.
2019-02-12 18:06:36 +00:00
Bruno Windels
08272bc75e
make e2e icons clickable again
2019-02-12 18:58:02 +01:00
David Baker
6c1ed57b70
flag todo
2019-02-12 17:53:00 +00:00
Bruno Windels
2f345401c4
show unknown devices dialog when clicking e2e warning in room header
2019-02-12 18:43:28 +01:00
Bruno Windels
3b10b8042a
restyle unknown devices dialog
2019-02-12 18:34:35 +01:00
Bruno Windels
7d2c6fbd0b
update e2e icons when membership changes
2019-02-12 18:34:22 +01:00
David Baker
e41fc55cca
Add warnings about trusted computers
2019-02-12 16:34:06 +00:00
David Baker
3a0b8cb169
Lint
2019-02-12 16:03:46 +00:00
David Baker
9ec00f8d9b
Change text in e2e UX to new copy
2019-02-12 16:01:38 +00:00
Bruno Windels
f189ff54a8
hide delete & cancel button on stickers are they weren't visible before
2019-02-12 17:01:05 +01:00
Bruno Windels
b467bfdced
mention it only shows up after refresh (actually rerender)
2019-02-12 12:49:22 +01:00
Bruno Windels
229d905835
copyright
2019-02-12 12:21:40 +01:00
Bruno Windels
2315e4bfb4
add animation when adding a room
2019-02-12 12:16:56 +01:00
David Baker
c2247cdc67
Merge pull request #2613 from matrix-org/dbkr/sas_profile
...
Add display name / avatar to incoming sas dialog
2019-02-12 10:48:49 +00:00
David Baker
b7fe1f9509
Merge pull request #2614 from matrix-org/dbkr/restore_on_new_backup_warning
...
Restore backup on new recovery method dialog
2019-02-12 10:47:17 +00:00
Bruno Windels
03c491416e
put breadcrumbs behind feature flag
2019-02-12 11:41:24 +01:00
Bruno Windels
735c9d1121
hide breadcrumbs when collapsed
2019-02-12 11:31:50 +01:00
Bruno Windels
5efd92f3ec
make rooms come in from left rather than the right
2019-02-12 11:26:46 +01:00
Bruno Windels
aaea40a93d
add breadcrumbs component
2019-02-12 11:04:25 +01:00
J. Ryan Stinnett
fbc1779b21
Merge pull request #2611 from matrix-org/jryans/welcome-page-cleanup
...
Welcome page cleanup
2019-02-12 09:18:21 +00:00
J. Ryan Stinnett
44e34d9074
Explain roomId workaround
2019-02-12 08:59:38 +00:00
David Baker
6aef9fcc75
Restore backup on new recovery method dialog
...
Rather than verifying
2019-02-11 16:41:06 +00:00
Bruno Windels
7c72fddf80
Merge branch 'develop' into bwindels/roomlistlag
2019-02-11 17:06:16 +01:00
David Baker
99ae63c021
Add display name / avatar to incoming sas dialog
...
Fetch the other user's profile & display it on an incoming verification
request
2019-02-11 15:57:34 +00:00
Bruno Windels
ab6535b135
lint
2019-02-11 16:27:29 +01:00
Bruno Windels
fbc0bbfb6f
clear hover flag after 1000ms of not moving the mouse
...
as a fix for #8184
2019-02-11 16:17:15 +01:00
Bruno Windels
d069f4a89a
not the cause of the bug, but this seems wrong
2019-02-11 15:41:32 +01:00
Bruno Windels
b6aa72da55
update RoomTile notificationCount through props so updates are consistent
2019-02-11 15:40:17 +01:00
J. Ryan Stinnett
9d3ba2b3d9
Guard against invalid room object on join
2019-02-11 14:33:19 +00:00
J. Ryan Stinnett
4101d4e9de
Always change to LOGGED_IN view to show a room
2019-02-11 14:19:05 +00:00
Andrew Morgan
d66dbf9be7
Change taking a community off the left-left panel less scary
...
With the current wording, I half-think clicking this button might remove me from the community!
IMO 'Hide' sounds more like it's just going to disappear from the panel, but I can add it back at some point.
2019-02-11 13:38:47 +00:00
J. Ryan Stinnett
477d5ac0dc
View welcome behind modals when not showing logged in view
2019-02-11 13:31:27 +00:00
David Baker
ba597c65eb
lint
2019-02-11 13:09:50 +00:00
J. Ryan Stinnett
97aa0b52fa
Avoid room directory error without a client
2019-02-11 12:27:10 +00:00
David Baker
1cf0a6a049
Add legacy verification button on wait
...
Add a way to bail out of interactive verification from the screen
where you're waiting for the other person to accept.
2019-02-11 12:08:10 +00:00
Weblate
2f8bc270d3
Merge remote-tracking branch 'origin/develop' into develop
2019-02-11 10:26:04 +00:00
Valex
3484976cfa
Translated using Weblate (Russian)
...
Currently translated at 89.0% (1371 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
оборот 'и о программе' плохо читается. Следует явно отделить один пункт от другого, как в оригинале.
2019-02-11 10:25:59 +00:00
Karol Kosek
8126802ba2
Translated using Weblate (Polish)
...
Currently translated at 76.7% (1181 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-02-11 10:25:59 +00:00
Daniel Løvbrøtte Olsen
b3e4163544
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 70.6% (1087 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2019-02-11 10:25:59 +00:00
Daniel Løvbrøtte Olsen
ac0eb8b62c
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 14.1% (217 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2019-02-11 10:25:59 +00:00
Luca Corbatto
65b6295968
Translated using Weblate (German)
...
Currently translated at 94.9% (1462 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-11 10:25:59 +00:00
Jeff Huang
50a69e7364
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1539 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-02-11 10:25:58 +00:00
Slavi Pantaleev
568bb3888d
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1539 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-02-11 10:25:58 +00:00
Krombel
d0a8dc5d4c
Translated using Weblate (German)
...
Currently translated at 93.1% (1433 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-10 20:38:16 +00:00
Kévin C
eb46ca213b
Translated using Weblate (French)
...
Currently translated at 100.0% (1539 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-10 15:18:10 +00:00
Brendan Abolivier
717780ce60
Translated using Weblate (French)
...
Currently translated at 92.9% (1431 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-10 14:46:28 +00:00
Besnik Bleta
f8b7c47b34
Translated using Weblate (Albanian)
...
Currently translated at 99.6% (1533 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-02-09 16:21:31 +00:00
Besnik Bleta
f0022a15f2
Translated using Weblate (Albanian)
...
Currently translated at 98.1% (1510 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-02-09 16:08:38 +00:00
Szimszon
f0b28f8a7e
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1539 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-02-09 12:33:17 +00:00
sergio
4c5b580048
Translated using Weblate (Russian)
...
Currently translated at 89.0% (1371 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-02-09 11:45:13 +00:00
Slavi Pantaleev
fa96a1aba9
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1539 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-02-09 10:17:53 +00:00
Jeff Huang
783e6fa540
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1539 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-02-09 02:33:36 +00:00
J. Ryan Stinnett
5977859dd9
Call isGuest correctly
2019-02-08 18:28:39 +00:00
David Baker
3c42cafa0b
Translated using Weblate (English (United States))
...
Currently translated at 49.7% (766 of 1539 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2019-02-08 17:58:29 +00:00
Weblate
f28885ff88
Merge remote-tracking branch 'origin/develop' into develop
2019-02-08 17:50:37 +00:00
Albin Stjerna
4eebdfcb2e
Translated using Weblate (Swedish)
...
Currently translated at 79.5% (1207 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-02-08 17:50:37 +00:00
sergio
52da87ce8e
Translated using Weblate (Russian)
...
Currently translated at 90.9% (1380 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-02-08 17:50:36 +00:00
Karol Kosek
bf781c1b48
Translated using Weblate (Polish)
...
Currently translated at 82.3% (1249 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-02-08 17:50:36 +00:00
Krombel
3be60884c9
Translated using Weblate (German)
...
Currently translated at 93.9% (1425 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-02-08 17:50:36 +00:00
Slavi Pantaleev
a078d1752c
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1517 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-02-08 17:50:35 +00:00
David Baker
742af81224
Merge pull request #2594 from matrix-org/dbkr/dont_verify_restore
...
Prompt to restore backup rather than verify
2019-02-08 17:49:04 +00:00
David Baker
09bf8099e0
Merge pull request #2599 from matrix-org/dbkr/unlabs_keybackup_sas
...
Remove key backup & sas from labs
2019-02-08 17:41:54 +00:00
David Baker
a00c803f8d
Merge pull request #2600 from jryans/update-avatar-colors
...
Update avatar colors
2019-02-08 17:41:39 +00:00
Bruno Windels
7f630b2b46
Merge pull request #2601 from matrix-org/bwindels/fixstartdm
...
Fix: typeerror when creating DM
2019-02-08 17:39:29 +00:00
Bruno Windels
8fdb94911c
header doesn't have a room yet while joining
2019-02-08 17:35:49 +00:00
J. Ryan Stinnett
69af0b82c8
Update avatar colors
2019-02-08 17:34:01 +00:00
David Baker
d74d5f1e27
Fix unused imports
2019-02-08 17:30:14 +00:00
David Baker
cedefcfb33
re-run i18n
2019-02-08 17:24:15 +00:00
Travis Ralston
e06a68501a
Typo
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-02-08 17:23:18 +00:00
David Baker
f99c56fedb
Merge pull request #2597 from matrix-org/jryans/add-welcome-page
...
SDK support for welcome page
2019-02-08 17:17:22 +00:00
David Baker
043f1ab3f0
Remove key backup & sas from labs
2019-02-08 16:58:09 +00:00
David Baker
2cd25e0077
Merge pull request #2596 from matrix-org/dbkr/emoji_sas
...
Change SAS to decimal / emoji
2019-02-08 16:46:43 +00:00
Bruno Windels
6f9aa9c9b9
Merge branch 'develop' into bwindels/roomlistlag
2019-02-08 16:38:57 +00:00
David Baker
9b4a6cf442
Make prettier
2019-02-08 16:27:25 +00:00
Travis Ralston
8cdfdd2e24
Merge branch 'develop' into travis/render-join-rules
2019-02-08 09:24:07 -07:00
Travis Ralston
85cfd48744
join rules -> join rule
2019-02-08 09:15:12 -07:00
Travis Ralston
78ea531a87
Merge pull request #2590 from matrix-org/travis/settings/fix-directory-publish
...
Ensure toggle switches listen to property changes
2019-02-08 08:00:47 -07:00
Travis Ralston
47b79c0cf6
Merge pull request #2593 from matrix-org/travis/settings/local-echo
...
Local echo on room access settings
2019-02-08 07:58:51 -07:00
David Baker
ae16cc36aa
Change SAS to decimal / emoji
...
Requires https://github.com/matrix-org/matrix-js-sdk/pull/837
2019-02-08 14:57:36 +00:00
J. Ryan Stinnett
705c3248d4
Tweak embedded pages config name
2019-02-08 13:55:23 +00:00
J. Ryan Stinnett
7a15bb65c4
Tweak page URL defaulting
2019-02-08 13:53:17 +00:00
J. Ryan Stinnett
5ab3c8b823
Add top left home menu item when home page configured
2019-02-08 13:48:51 +00:00
J. Ryan Stinnett
5701bf89de
Direct some flows to the welcome page
2019-02-08 12:12:43 +00:00
Bruno Windels
3c5fb61350
Merge branch 'develop' into bwindels/customtags-featureflag
2019-02-08 12:12:43 +00:00
Bruno Windels
2eff03ba78
fix whitespace
2019-02-08 12:03:58 +00:00
Bruno Windels
00a1ca503c
Merge pull request #2588 from matrix-org/bwindels/removellfeatureflag
...
remove ll feature flag, it's time!
2019-02-08 12:02:58 +00:00
David Baker
ac98da4a8a
Prompt to restore backup rather than verify
...
Direct the user to restore the backup in order to both get the keys
out of the backup and start putting them in.
Also hide the advanced key backup stuff in a diclosure.
2019-02-08 11:51:22 +00:00
J. Ryan Stinnett
7238c713d7
Add language selector to bottom of welcome
2019-02-08 11:39:30 +00:00
David Baker
abcbd46fe1
Merge pull request #2583 from matrix-org/dbkr/trust_on_decrypt
...
Trust on decrypt
2019-02-08 11:36:53 +00:00
J. Ryan Stinnett
1cf311da10
Place welcome content directly on glass
2019-02-08 11:26:47 +00:00
David Baker
e805df7b4c
Use fewer brs
2019-02-08 10:46:38 +00:00
David Baker
d1e2418b75
Use error constant from the class
2019-02-08 10:43:39 +00:00
Bruno Windels
748040268a
remove unused imports
2019-02-08 09:59:24 +00:00
Bruno Windels
2bcb54e749
remove strings from removed code
2019-02-08 09:29:11 +00:00
Travis Ralston
f66c92b1fd
Local echo on room access settings
...
Includes a fix for the aliases warning appearing at the wrong time.
Fixes https://github.com/vector-im/riot-web/issues/8406
Fixes https://github.com/vector-im/riot-web/issues/8434
2019-02-07 14:01:34 -07:00
Travis Ralston
5d4406cbab
Render join rules and guest access changes in the timeline
...
Fixes https://github.com/vector-im/riot-web/issues/8435
2019-02-07 12:14:58 -07:00
Travis Ralston
89a8422320
Ensure toggle switches listen to property changes
...
They do local echo on changes to avoid jumping back and forth while requests are ongoing, however some areas modify the checked state after the toggle has mounted.
Fixes https://github.com/vector-im/riot-web/issues/8432
2019-02-07 11:54:13 -07:00
Bruno Windels
cf7e1f9d88
remove import as well
2019-02-07 18:47:08 +00:00
Bruno Windels
8c32f88c1c
remove homeserver ll check on toggling lab setting
2019-02-07 18:45:00 +00:00
Bruno Windels
ac4ab11985
remove ll feature flag, it's time!
2019-02-07 18:24:07 +00:00
Bruno Windels
e8533beafb
guard custom tags with feature flag
2019-02-07 18:07:30 +00:00
J. Ryan Stinnett
c587dcab92
Use separate config settings for each page
2019-02-07 17:16:02 +00:00
J. Ryan Stinnett
7cc38f9d96
Remove a few more references to home
2019-02-07 17:09:16 +00:00
David Baker
3a924d05b5
Remove click-to-verify from SAS
...
The click-each-pair to verify was hard to discover, so remove it
2019-02-07 17:01:55 +00:00
Bruno Windels
d2dd1bae13
run search after you've stopped typing for 200ms instead of every 500ms
2019-02-07 16:31:57 +00:00
J. Ryan Stinnett
b7c92ce3ff
Abort embedded page load for null URL
2019-02-07 16:31:44 +00:00
J. Ryan Stinnett
843f86fc1c
Add separate welcome view
2019-02-07 16:25:09 +00:00
Bruno Windels
f34855573e
replace ratelimitedfunc with lodash impl
2019-02-07 16:24:26 +00:00
Bruno Windels
b50bfa1eda
Merge pull request #2585 from matrix-org/bwindels/throttlecustomtags
...
Fix: throttle custom tags updating in LLP
2019-02-07 16:15:57 +00:00
Bruno Windels
c0b9d99385
only import throttle fn
2019-02-07 16:03:12 +00:00
Bruno Windels
35d9c02ecd
throttle custom tags updating in LLP
2019-02-07 15:28:22 +00:00
Travis Ralston
3e70212ec8
Merge pull request #2580 from matrix-org/travis/settings/fix-pl
...
Actually change power levels when they are changed
2019-02-07 08:13:35 -07:00
Bruno Windels
80731a9de4
Merge pull request #2584 from matrix-org/bwindels/fixrelogincustomtags
...
Fix: logging in again breaks CustomRoomTagStore
2019-02-07 15:07:49 +00:00
Bruno Windels
d2ac434545
no need to update tags when app is booting, wait till sync
2019-02-07 14:41:39 +00:00
Bruno Windels
64bb6d2b1f
dont remove tags prop from state on logout as we assume its always there
2019-02-07 14:41:19 +00:00
David Baker
f79b777dd4
Trust on decrypt
...
Add support for trust-on-decrypt (API change, recognise flag on
isKeyBackupTrusted). Catch rejection on wrong passphrase / recovery
key. Fix remembering whether we are restoring with key or passphrase.
Requires https://github.com/matrix-org/matrix-js-sdk/pull/836
2019-02-07 14:39:47 +00:00
David Baker
594bd86a0c
Merge pull request #2582 from matrix-org/bwindels/fixnotifbadgeclickandcursor
...
Fix: click on notif badge
2019-02-07 14:12:00 +00:00
David Baker
b7fd1336de
Merge pull request #2532 from boeserwolf/boeserwolf/get-set-topic
...
Extend slash command '/topic' to display the room topic
2019-02-07 13:45:59 +00:00
Bruno Windels
252a61379c
its list, not lists
2019-02-07 13:40:29 +00:00
Bastian
179f9a1943
Use default options from sanitizeHtmlParams for sanitizeHtml()
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-07 14:33:19 +01:00
Bruno Windels
8eb1f15ed4
do more explicit check
2019-02-07 12:18:52 +00:00
Bruno Windels
62cdf40a39
dont assume a user has joined all the rooms in a community
2019-02-07 12:11:16 +00:00
Bruno Windels
87ddb8a453
Merge pull request #2575 from matrix-org/bwindels/customtags
...
Bring back custom tags, also badges on communities
2019-02-07 11:37:17 +00:00
Bruno Windels
52aab2be98
preserve outer this with arrow function
2019-02-07 11:12:34 +00:00
J. Ryan Stinnett
73de56d72d
Generalize HomePage into EmbeddedPage
2019-02-07 11:12:28 +00:00
J. Ryan Stinnett
2fde67787c
Update code style in HomePage
2019-02-07 10:49:59 +00:00
Bruno Windels
7b23fa7a4f
implement PR feedback
2019-02-07 10:49:23 +00:00
J. Ryan Stinnett
0bb3843726
Remove unused iframeSrc from HomePage
2019-02-07 10:23:38 +00:00
Jeff Huang
ebaea4fbb2
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1517 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-02-07 10:09:04 +00:00
J. Ryan Stinnett
30395f064d
Merge pull request #2578 from jryans/auth-reset-password
...
Style reset password to match design
2019-02-07 10:05:11 +00:00
J. Ryan Stinnett
d03f4875f3
Update style for forgot password copy, add full stops
2019-02-07 09:57:31 +00:00
J. Ryan Stinnett
8b2f2c7d5c
Remove unneeded refs from reset password
2019-02-07 09:44:28 +00:00
J. Ryan Stinnett
e1b7af39dc
Basic validation of HS URL for reset password
2019-02-07 09:36:43 +00:00
David Baker
f517928d76
Merge pull request #2577 from matrix-org/dbkr/backup_dont_fail_if_no_keys
...
Key Backup: Don't fail if no keys
2019-02-07 09:30:28 +00:00
Travis Ralston
2e852da72e
Actually change power levels when they are changed
2019-02-06 15:06:15 -07:00
Bastian
951f0fc816
Fix error if topicEvents is undefined
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-06 20:10:56 +01:00
Bastian
aa0ae88076
Replace QuestionDialog with InfoDialog
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-06 19:43:59 +01:00
Bastian
d77f10e085
Reformat
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-06 19:37:23 +01:00
Bastian
7428e97910
Clean up InfoButton
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-06 19:35:48 +01:00
J. Ryan Stinnett
2b7ecd3de7
Go to forgot phase on error
2019-02-06 18:32:28 +00:00
J. Ryan Stinnett
9f9f0d4168
Move server details to a separate phase of forgot password
2019-02-06 18:30:07 +00:00
Bastian
4dcbb6fc0f
Update copyright
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-06 19:27:53 +01:00
J. Ryan Stinnett
7680667334
Avoid controlled component error with empty strings
2019-02-06 18:26:44 +00:00
J. Ryan Stinnett
0e543a362e
Move errors to top of reset password
2019-02-06 18:10:06 +00:00
Travis Ralston
04f2375273
Add issue references to things
2019-02-06 11:06:02 -07:00
David Baker
ce565f109a
Key Backup: Don't fail if no keys
...
Only fail if there were any keys in the backup (which does mean
that the backup will always succeed if there aren't any keys which
could also be misleading, but is probably not as bad and can probably
be fixed with Trust on Decrypt).
Also cheekily fix the error message so it talks about passphrases
if you used a passphrase and recovery keys if you used a recovery key.
2019-02-06 18:03:47 +00:00
Travis Ralston
e13149ed2c
regen i18n due to merge
2019-02-06 11:02:56 -07:00
Travis Ralston
b2c161c7c1
Merge branch 'develop' into travis/settings/delete-the-old
2019-02-06 11:02:21 -07:00
J. Ryan Stinnett
3afc455f3c
Extract each phase to a separate function
2019-02-06 18:00:58 +00:00
Bruno Windels
d501ce0553
increase debouncing of filtering because its quite laggy atm
2019-02-06 17:25:56 +00:00
J. Ryan Stinnett
a61de03a88
Remove left over TODO
2019-02-06 16:32:22 +00:00
J. Ryan Stinnett
b20f1d1240
Convert forgot password to phases like the other flows
2019-02-06 16:30:53 +00:00
J. Ryan Stinnett
8aff6b2e45
Add your account header to reset password
2019-02-06 16:14:21 +00:00
J. Ryan Stinnett
8e12c4a3b8
Normalize URL naming for reset password
2019-02-06 15:58:31 +00:00
J. Ryan Stinnett
8c6dc002f3
Add new footer text to reset password
2019-02-06 15:46:25 +00:00
J. Ryan Stinnett
5d0798ed24
Tweak field labels on reset password
2019-02-06 15:16:54 +00:00
J. Ryan Stinnett
ccf7e75c95
Group fields into rows on reset password
2019-02-06 15:10:16 +00:00
Bruno Windels
547c8cb206
render badge on community
2019-02-06 14:31:43 +00:00
Bruno Windels
a222ee33df
calculate badges for communities in TagOrderStore
2019-02-06 14:29:40 +00:00
Bruno Windels
1a1f8bdf82
fix wrong way of unregistering from store
2019-02-06 14:24:17 +00:00
Bruno Windels
0ab6ab639e
render badge on custom tag in LLP
2019-02-06 11:21:50 +00:00
Bruno Windels
77db3ca883
calculate badge count for tags as well
2019-02-06 11:02:12 +00:00
Bruno Windels
7b367e267b
move sublist badge aggregation code to RoomNotifs to reuse for tags/comm
2019-02-06 10:51:29 +00:00
Bruno Windels
137ff984c7
rather unsophisticated attempt at trimming common prefixes for avatar
2019-02-05 19:12:34 +00:00
Bruno Windels
604020dd59
add selectable custom tags below tag panel
2019-02-05 17:39:02 +00:00
Bruno Windels
414fffba3f
only show selected custom tags in room list
2019-02-05 17:38:36 +00:00
Bruno Windels
579309c2e3
store for custom tags to share state between tag panel & room list
2019-02-05 17:37:25 +00:00
Bruno Windels
bdc7936130
move help & communities button out of tag panel
...
so we can shove the custom tag buttons between them
in the next commit
2019-02-05 17:36:33 +00:00
Bruno Windels
3265fe394d
don't filter out custom tags anymore
2019-02-05 17:35:05 +00:00
J. Ryan Stinnett
6549ae1ce5
Remove unused props from login
2019-02-05 16:11:32 +00:00
J. Ryan Stinnett
02a20fa668
Tweak login wording to match design
2019-02-05 15:36:00 +00:00
J. Ryan Stinnett
dbe14c5527
Enable phases for login, but start on the login phase by default
2019-02-05 14:43:29 +00:00
J. Ryan Stinnett
4e152f82e7
Remove server types from login
2019-02-05 14:30:45 +00:00
David Baker
74d460b4ca
Merge pull request #2571 from jryans/auth-disable-custom-urls
...
Ensure we show registration form when custom URLs are disabled
2019-02-05 10:54:52 +00:00
David Baker
8598c4f9a0
Merge pull request #2568 from matrix-org/bwindels/fixcollapsesearchterm
...
Fix: search term disappears when collapsing and expanding left panel
2019-02-05 10:45:07 +00:00
David Baker
4dd8febf1d
Merge pull request #2567 from matrix-org/bwindels/fixjumpdownwhitespace
...
Fix: 'jump to bottom' creates big amounts of whitespace at the bottom
2019-02-05 10:38:24 +00:00
J. Ryan Stinnett
a73e3dcd4c
Remove unused props from registration
2019-02-05 07:11:29 +00:00
J. Ryan Stinnett
5432b09478
Default to registration phase when custom URLs disabled
2019-02-05 05:25:13 +00:00
Travis Ralston
eac50aa800
Remove old user and room settings
...
This takes out the old user and room settings, replacing the paths with the new dialog editions. The labs setting has been removed in order to support this change.
In addition to removing the old components outright, some older components which were only used by the settings pages have been removed. The exception is the ColorSettings component as it has a high chance of sticking around in the future.
Styles that were shared by the settings components have been broken out to dedicated sections, making it easier to remove the old styles entirely.
Some stability testing of the app has been performed to ensure the app still works, however given the scope of this change there is a possibility of some broken functionality.
2019-02-04 13:40:21 -07:00
Bruno Windels
a6d7f6a4c7
remove unused variable
2019-02-04 18:52:10 +00:00
Bruno Windels
bdc3e1173d
preserve SearchBox searchTerm state when collapsing
2019-02-04 18:51:41 +00:00
Bruno Windels
f029aad9fa
rename to getLayout
2019-02-04 18:38:31 +00:00
Bruno Windels
3d393b654b
clear min-height on ScrollPanel::componentDidUpdate to catch all cases
2019-02-04 18:27:22 +00:00
Bruno Windels
d30ff13c18
pass the layout to the resizer as a lamba to avoid having the wrong layout when filtering
2019-02-04 15:09:44 +00:00
Besnik Bleta
f48eb3512c
Translated using Weblate (Albanian)
...
Currently translated at 99.5% (1510 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-02-02 18:07:43 +00:00
Bruno Windels
a6914274b0
Merge pull request #2565 from matrix-org/bwindels/widgetmakeover
...
Redesign: widget makeover
2019-02-02 07:30:45 +00:00
Bruno Windels
6d2e582083
fix lint
2019-02-02 07:46:52 +01:00
Bruno Windels
7ccc694eea
minimal theming on app permission in widget
2019-02-01 23:24:56 +01:00
Bruno Windels
e2ce12f5c1
wip
2019-02-01 23:15:14 +01:00
Travis Ralston
8307af6871
Merge pull request #2563 from matrix-org/travis/remove-e2e-beta-dialog
...
Remove warning about encryption being beta
2019-02-01 15:12:25 -07:00
Bruno Windels
45e982ac13
Merge pull request #2557 from matrix-org/bwindels/e2eicons
...
Add e2e icon to room header/composer/member info, more ...
2019-02-01 22:02:28 +00:00
Travis Ralston
7088a3ebc4
Remove unused import
2019-02-01 15:00:44 -07:00
Travis Ralston
016bd028ba
Remove warning about encryption being beta
2019-02-01 14:56:29 -07:00
J. Ryan Stinnett
68ec63d25e
Merge pull request #2562 from jryans/rm-guest-bar
...
Remove guest warning bar
2019-02-01 15:46:43 -06:00
J. Ryan Stinnett
88fc2fb47a
Annotate guest state as class on home page
2019-02-01 15:33:05 -06:00
J. Ryan Stinnett
3bfd603dab
Remove guest warning bar
2019-02-01 15:28:16 -06:00
Travis Ralston
7ff59c80aa
Merge pull request #2555 from matrix-org/bwindels/fixroomsettingssave
...
Fix exception while saving room settings
2019-02-01 11:30:29 -07:00
Travis Ralston
37fe22409f
Merge pull request #2559 from matrix-org/travis/settings/disable-old
...
Disable old settings, making tabbed settings the default
2019-02-01 11:18:43 -07:00
Bruno Windels
987b119731
also update e2e icon once the room becomes encrypted
2019-02-01 19:14:11 +01:00
Bruno Windels
ea8de6fe07
add translations
2019-02-01 19:13:17 +01:00
Travis Ralston
2a9149668c
thisfea -> this
...
idk what I was doing
2019-02-01 11:00:06 -07:00
Bruno Windels
62f59f8cef
Merge pull request #2558 from matrix-org/bwindels/fixunknowndialog
...
fix UnknownDeviceDialog layout
2019-02-01 17:56:03 +00:00
Besnik Bleta
65c88e8162
Translated using Weblate (Albanian)
...
Currently translated at 99.5% (1510 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-02-01 17:51:19 +00:00
Travis Ralston
728748c9cd
Disable old settings, making tabbed settings the default
...
This is intentionally not removing the labs flag or other supporting structures of the old settings to make a revert as easy as possible in the event that needs to happen. All of the cruft left behind (TempTab, temp styles, labs flag, old components, etc) will be removed in the very near future.
2019-02-01 10:29:13 -07:00
Bruno Windels
571c059f0d
fix layout
2019-02-01 18:15:19 +01:00
Bruno Windels
9134548558
update room status bar warning icon
2019-02-01 17:52:57 +01:00
Bruno Windels
e55dbfc6fe
don't show e2e icon in unencrypted rooms upon loading the room
2019-02-01 17:52:27 +01:00
Bruno Windels
ce5e56aaac
update icons in member info device section
2019-02-01 17:32:46 +01:00
Bruno Windels
21fe266394
add icon to member info to indicate all devices of a user are trusted
2019-02-01 17:08:09 +01:00
Travis Ralston
dca194f5e1
Merge pull request #2553 from matrix-org/travis/settings/fixes-3
...
Misc fixes to settings
2019-02-01 09:02:49 -07:00
Bruno Windels
88ad780b6b
update message e2e icons
...
also remove encrypted icon as header/composer already indicate encryption
2019-02-01 16:43:12 +01:00
J. Ryan Stinnett
22178f2d7c
Merge pull request #2548 from jryans/auth-reg-disabled
...
Add error message when registration is disabled
2019-02-01 08:59:44 -06:00
J. Ryan Stinnett
4ed13e897a
Hide registration fields that aren't used by any flow
2019-02-01 08:35:04 -06:00
J. Ryan Stinnett
ba50ef8445
Clarify required auth stages
2019-02-01 08:33:47 -06:00
J. Ryan Stinnett
e414fe434c
Add full stop
2019-02-01 08:32:47 -06:00
J. Ryan Stinnett
918d4490c7
Add more detail to error message
2019-02-01 08:31:54 -06:00
J. Ryan Stinnett
fb39ba1ffc
Merge pull request #2547 from jryans/auth-well-known-state
...
Ensure correct server URLs with .well-known and server type
2019-02-01 08:28:33 -06:00
J. Ryan Stinnett
e6b6133c7a
Merge pull request #2552 from jryans/spell-homeserver
...
Spell homeserver correctly
2019-02-01 08:26:17 -06:00
J. Ryan Stinnett
ab5c5c1261
Merge pull request #2546 from jryans/auth-focus-username
...
Auto-focus username on registration
2019-02-01 08:24:27 -06:00
Bruno Windels
2596a0ffc2
linting
2019-02-01 14:35:25 +01:00
Bruno Windels
8abb7ebc65
monitor device verification in RoomView and update e2eStatus
2019-02-01 14:35:03 +01:00
Bruno Windels
09c3391dd8
replace existing icon in composer with the new one
2019-02-01 13:40:42 +01:00
Bruno Windels
0cdf3d0898
add icon to room header
2019-02-01 13:40:19 +01:00
Bruno Windels
f2928c184d
create warning/verified icon to use in header/composer/member info
2019-02-01 13:39:56 +01:00
Bruno Windels
3c3aa9197c
UrlPreviewSettings doesnt have a saveSettings method anymore, which I think is intentional
2019-02-01 11:24:52 +01:00
Travis Ralston
b4fd0c3fbf
Add room directory publish button
...
This was previously missed in the tab's layout.
2019-01-31 22:06:15 -07:00
Travis Ralston
0c0db4ecc7
Copy over disablement of media streams after permissions requested
...
Fixes https://github.com/vector-im/riot-web/issues/8340
2019-01-31 21:48:44 -07:00
Travis Ralston
a1f1dde9a4
Remove flair from general user settings tab
...
Fixes https://github.com/vector-im/riot-web/issues/8327
2019-01-31 21:45:29 -07:00
Travis Ralston
7bbc302975
Merge pull request #2549 from matrix-org/travis/settings/fixes-2
...
Fixed settings dialog header; Adjust padding on dialog
2019-01-31 21:41:09 -07:00
Travis Ralston
0ecaa2eb8f
Merge pull request #2314 from aaronraimist/empty-url-empty-lightbox
...
Fix empty lightbox when there is no avatarUrl
2019-01-31 21:40:35 -07:00
J. Ryan Stinnett
68ae72f855
Spell homeserver correctly
2019-01-31 18:52:39 -06:00
J. Ryan Stinnett
6905e3e54c
Fix typo on registration
2019-01-31 18:15:18 -06:00
Travis Ralston
4036e52c24
Fixed settings dialog header; Adjust padding on dialog
...
Some recent changes to dialogs changed how this works and altered the look of the settings dialogs. This fixes that and makes it so that the header and content scroll independently.
Fixes https://github.com/vector-im/riot-web/issues/8329
Fixes https://github.com/vector-im/riot-web/issues/8328
2019-01-31 15:52:22 -07:00
J. Ryan Stinnett
bc4a603672
Add error message when registration is disabled
2019-01-31 16:02:42 -06:00
Bastian
23971b3d0d
Refactor to use HtmlUtils for linkifying and sanitizing
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-31 22:36:08 +01:00
Bastian
9cd13a8893
Add HtmlUtils.linkifyString()
...
Add HtmlUtils.linkifyElement()
Add HtmlUtils.linkifyAndSanitize()
Refactor module imports
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-31 22:26:24 +01:00
J. Ryan Stinnett
f58055c778
Skip .well-known discovery for free server type
2019-01-31 12:01:58 -06:00
J. Ryan Stinnett
6597db6328
Simplify login server URL state
2019-01-31 12:01:17 -06:00
Bastian
3e2bcd1d3c
Update i18n
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-31 18:02:08 +01:00
Bastian
8273662500
Replace QuestionDialog with InfoDialog
...
Display a default message if no room topic is present
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-31 18:00:37 +01:00
Bastian
f245fa6a52
Add InfoDialog
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-31 17:57:57 +01:00
J. Ryan Stinnett
81880c01d3
Auto-focus username on registration
2019-01-31 10:47:29 -06:00
Weblate
1990a4d39f
Merge remote-tracking branch 'origin/develop' into develop
2019-01-31 16:37:18 +00:00
J. Ryan Stinnett
346f73bb1d
Remove dead code tweaking server URLs on blur
2019-01-31 10:06:35 -06:00
J. Ryan Stinnett
c560fd32c4
Allow empty user / pass on blur, check on submit
2019-01-31 10:06:35 -06:00
J. Ryan Stinnett
e3f3a94980
Remove shake animation from auth field errors
2019-01-31 10:06:35 -06:00
J. Ryan Stinnett
2f006939f2
Use mx_AuthBody prefix for consistency
2019-01-31 10:06:35 -06:00
J. Ryan Stinnett
9a17181f2c
Use event value for username blur
2019-01-31 10:05:39 -06:00
J. Ryan Stinnett
eafd7e12d0
Validate login phone number on blur
2019-01-31 10:05:39 -06:00
J. Ryan Stinnett
cfe19d710b
Avoid hsName for auth headers which can be outdated
...
`hsName` uses only the default HS, so that can easily be outdated if the HS URL
is customized.
2019-01-31 10:05:39 -06:00
J. Ryan Stinnett
f5e3b90fc3
Clear out discovery errors on each try
2019-01-31 10:05:39 -06:00
J. Ryan Stinnett
36d162cb25
Validate server URLs on blur instead of change
2019-01-31 10:05:39 -06:00
Kévin C
19995a180f
Translated using Weblate (French)
...
Currently translated at 100.0% (1517 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-01-31 15:27:48 +00:00
Bastian
c18f980e54
Translated using Weblate (German)
...
Currently translated at 93.6% (1420 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-01-31 14:41:49 +00:00
Brendan Abolivier
3efe47a614
Translated using Weblate (French)
...
Currently translated at 96.6% (1466 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-01-31 14:41:49 +00:00
Weblate
800cdfc20a
Merge remote-tracking branch 'origin/develop' into develop
2019-01-31 12:02:06 +00:00
Bruno Windels
73b16dd526
Merge pull request #2541 from matrix-org/bwindels/allowlhsexpandwithnarrowviewport
...
Allow expanding the left panel manually when in narrow mode
2019-01-31 12:01:58 +00:00
Weblate
085a107e41
Merge remote-tracking branch 'origin/develop' into develop
2019-01-31 12:01:13 +00:00
Bruno Windels
60f28266ae
Merge pull request #2538 from matrix-org/bwindels/community-redesign-cleanup
...
Redesign: community page cleanup
2019-01-31 12:01:08 +00:00
Weblate
15188149ab
Merge remote-tracking branch 'origin/develop' into develop
2019-01-31 12:00:56 +00:00
Jeff Huang
ac19556a88
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 91.8% (1393 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-01-31 12:00:55 +00:00
Bruno Windels
31ae35771d
Merge pull request #2536 from matrix-org/bwindels/disable-ilag
...
Redesign: Disable ILAG
2019-01-31 12:00:50 +00:00
Bastian
022dd14b55
Merge branch 'develop' into boeserwolf/get-set-topic
2019-01-31 10:57:51 +01:00
Bruno Windels
0450f43267
clarify how lhs collapsed state is stored
2019-01-31 10:19:05 +01:00
Bruno Windels
3251a055c2
allow LoggedInView to override collapseLhs
...
by updating prop through the dispatcher instead of
having it's own state that is OR'ed in.
before the state couldn't override the prop and you couldn't
expand the left panel anymore when MatrixChat
decided your viewport was too narrow
2019-01-31 10:18:54 +01:00
Weblate
b89ac2bfe4
Merge remote-tracking branch 'origin/develop' into develop
2019-01-31 09:05:03 +00:00
Karol Kosek
fc63b94dd7
Translated using Weblate (Polish)
...
Currently translated at 82.0% (1244 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-01-31 09:05:03 +00:00
Bastian
ff5c6c84b9
Translated using Weblate (German)
...
Currently translated at 92.2% (1399 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-01-31 09:05:02 +00:00
Kévin C
f383299ed8
Translated using Weblate (French)
...
Currently translated at 96.5% (1465 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-01-31 09:05:02 +00:00
Jeff Huang
4608cb8904
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 89.9% (1364 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-01-31 09:05:02 +00:00
tleydxdy
efa1c14efd
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 81.6% (1239 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2019-01-31 09:05:02 +00:00
Matthew Hodgson
1465db3760
Merge pull request #2540 from jryans/field-select
...
Use custom appearance and arrow for field selects
2019-01-31 10:04:57 +01:00
Slavi Pantaleev
d1e0e0d3dc
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1517 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-01-31 07:53:57 +00:00
J. Ryan Stinnett
d6f55a508c
Use custom appearance and arrow for select fields
2019-01-30 16:40:53 -06:00
J. Ryan Stinnett
de46e6aa0d
Use dropdown-arrow for all toggle arrows
2019-01-30 16:39:07 -06:00
Szimszon
cc2883cfce
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1517 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-01-30 20:13:16 +00:00
Bruno Windels
d8226b3486
fix lint
2019-01-30 18:53:15 +01:00
Bruno Windels
af9d572545
more lint fixing
2019-01-30 18:30:01 +01:00
Besnik Bleta
a04bcb8d73
Translated using Weblate (Albanian)
...
Currently translated at 99.5% (1510 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-01-30 17:15:58 +00:00
Besnik Bleta
9c7eb49b83
Translated using Weblate (Albanian)
...
Currently translated at 99.4% (1509 of 1517 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-01-30 17:07:41 +00:00
Weblate
1ee9144b57
Merge remote-tracking branch 'origin/develop' into develop
2019-01-30 16:37:38 +00:00
Kenneth Larsson
7740ad4027
Translated using Weblate (Swedish)
...
Currently translated at 79.4% (1206 of 1518 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-01-30 16:37:38 +00:00
Daniel Løvbrøtte Olsen
7ab07204b8
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 7.1% (109 of 1518 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2019-01-30 16:37:37 +00:00
Szimszon
482b7488ac
Translated using Weblate (Hungarian)
...
Currently translated at 94.9% (1441 of 1518 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-01-30 16:37:37 +00:00
Bastian
31d80f027f
Translated using Weblate (German)
...
Currently translated at 90.9% (1381 of 1518 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-01-30 16:37:37 +00:00
Kévin C
06f3d747d6
Translated using Weblate (French)
...
Currently translated at 93.8% (1425 of 1518 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-01-30 16:37:37 +00:00
Jeff Huang
cba55ea8d9
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 89.1% (1354 of 1518 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-01-30 16:37:36 +00:00
Bastian
b96a4a4092
Fix typo
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-30 17:27:53 +01:00
Bruno Windels
b90ca50e1d
comment out unused function to appease linter
2019-01-30 17:08:34 +01:00
Bruno Windels
405cc5cc24
show avatars for members & rooms in group like we do in room right panel
...
also apply padding with hacky :not selector to exclude full-width avatar
2019-01-30 16:59:28 +01:00
Bruno Windels
be0de104ff
make group header as tall as top left menu/room header
2019-01-30 16:24:02 +01:00
Krombel
6fab829502
Translated using Weblate (German)
...
Currently translated at 89.7% (1362 of 1518 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-01-30 15:04:14 +00:00
Bruno Windels
5ac0e6ba07
replace join_room by view_room as deferred action, as join_room doens't change the page type in matrixchat
2019-01-30 15:45:42 +01:00
Bruno Windels
a0d44003e4
disable ilag
2019-01-30 15:03:11 +01:00
Bastian
135af401f7
Merge branch 'develop' into boeserwolf/get-set-topic
2019-01-30 14:21:58 +01:00
Weblate
4a9583f312
Merge remote-tracking branch 'origin/develop' into develop
2019-01-30 12:49:43 +00:00
Marek Ľach
bfe9d11ecf
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2019-01-30 12:49:43 +00:00
Karol Kosek
307f168829
Translated using Weblate (Polish)
...
Currently translated at 91.6% (1308 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-01-30 12:49:43 +00:00
Sotiris Papatheodorou
14b77db593
Translated using Weblate (Greek)
...
Currently translated at 58.6% (837 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/el/
2019-01-30 12:49:42 +00:00
Jordi Mallach
274c406e58
Translated using Weblate (Catalan)
...
Currently translated at 72.8% (1039 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2019-01-30 12:49:42 +00:00
Bruno Windels
3cfd851522
Merge pull request #2531 from matrix-org/bwindels/fixphonedropdown
...
fix dropdown style when input is shown
2019-01-30 11:45:02 +00:00
Bruno Windels
4d2a93eaaf
Merge pull request #2527 from jryans/auth-registration
...
Style registration flow
2019-01-30 11:27:45 +00:00
Bastian
5f90321d0f
Update i18n
2019-01-30 12:19:14 +01:00
Bastian
bc6d13e768
Extend slash command '/topic' to display the room topic
...
If no <topic> is provided, the command will display a modal dialog containing
the sanitized and linkified room topic. This is just adding some juice to make
reading long room topics more convenient.
2019-01-30 12:18:54 +01:00
Bruno Windels
85b998d851
fix dropdown style when input is shown
2019-01-30 11:42:50 +01:00
Bruno Windels
6aca7e4515
Merge pull request #2522 from matrix-org/bwindels/memberpanel-tiny-makeover
...
Redesign: small member info panel makeover
2019-01-30 10:01:33 +00:00
Travis Ralston
190b763c5d
Render the home page when viewing the directory
...
The only time this happens is if someone goes to #/directory without previously visiting a page (ie: fresh landing).
2019-01-29 23:25:07 -07:00
Travis Ralston
bdf2bb5601
Merge pull request #2526 from matrix-org/travis/settings/fixes-1
...
Round 1 of misc fixes for settings
2019-01-29 22:59:07 -07:00
Travis Ralston
a2a49c1981
Regen i18n due to merge
2019-01-29 22:16:20 -07:00
Travis Ralston
f86e224db6
Merge branch 'experimental' into travis/rsettings/tab/security
2019-01-29 22:15:55 -07:00
Travis Ralston
da95bf9c08
Regen i18n due to merge
2019-01-29 21:50:13 -07:00
Travis Ralston
cd54442add
Merge branch 'experimental' into travis/rsettings/tab/advanced
2019-01-29 21:49:00 -07:00
Travis Ralston
b3bb3aff84
Remove spurious void
2019-01-29 21:46:51 -07:00
Travis Ralston
4d0a246629
Put a little padding between section headings
2019-01-29 19:28:30 -07:00
Travis Ralston
f050323f98
Inherit font size from other elements for push notifications table
2019-01-29 19:18:13 -07:00
Travis Ralston
0591c3a2bb
Change Riot Bot button text and make it a block element
...
Fixes https://github.com/vector-im/riot-web/issues/8265
2019-01-29 19:07:02 -07:00
Travis Ralston
e7ed4c13f5
Appease the linter
...
I should really just get something that does this for me prior to opening a PR
2019-01-29 18:28:44 -07:00
Travis Ralston
2fe7f6fe1c
Implement the Advanced tab of new room settings
2019-01-29 18:23:01 -07:00
J. Ryan Stinnett
f05ddcacf0
Add footer text to registration form
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
61a3ddb4e3
Adjust registration field labels
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
01d28bc137
Squeeze country dropdowns to match design
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
92394ba601
Change country dropdown to be smaller with arrow on right
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
daee5f0325
Reorganize registration inputs
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
379b940bfa
Add server details edit link to registration
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
160cc4e156
Wire up server details next button
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
1f78b59a0e
Add create your account header
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
3f4001f1fe
Correct stale name in props
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
23fc4417e8
Wire up server type selector, similar to login flow
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
ad76451655
Use render prefix for JSX methods in Login
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
2f87d0c8cb
Error on top to match login
2019-01-29 17:38:28 -06:00
Travis Ralston
78314ef284
Take out unfederated warning
...
This is moving to the Advanced tab
2019-01-29 16:10:24 -07:00
Travis Ralston
93ce342d63
Appease the linter
2019-01-29 16:05:47 -07:00
Travis Ralston
0af419633f
Implement the Roles & Permissions tab of new room settings
...
This is largely copy/paste from the current room settings
2019-01-29 15:54:51 -07:00
Aaron Raimist
52ebba9d3e
Disable clicking on room icon in a better way
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-01-29 16:07:41 -06:00
Travis Ralston
76c31f01f1
Appease the linter
2019-01-29 14:37:21 -07:00
Travis Ralston
a2f516c461
Implement the Security & Privacy tab of new room settings
2019-01-29 14:31:07 -07:00
Aaron Raimist
53947bee35
Fix empty lightbox when there is no avatarUrl
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-01-29 14:59:20 -06:00
Bruno Windels
7d6f551841
small makeover of member info panel
...
this removes the style sharing between the verify buttons in the memberinfo panel and
and the encrypted event dialog because the diverge too much now.
2019-01-29 21:14:16 +01:00
Bruno Windels
0cce912cf6
Merge pull request #2519 from matrix-org/bwindels/roomdirectory-makeover
...
Redesign: room directory makeover
2019-01-29 19:21:42 +00:00
Travis Ralston
a16eb30cbc
Merge pull request #2518 from matrix-org/travis/rver-cap-support
...
Iterate upon the room upgrade warning bar
2019-01-29 11:29:17 -07:00
Bruno Windels
855dbd7d2b
Merge branch 'experimental' into bwindels/roomdirectory-makeover
2019-01-29 18:33:03 +01:00
Bruno Windels
15a74cac15
Merge branch 'experimental' into bwindels/redesign-smallfixes
2019-01-29 18:30:08 +01:00
Bruno Windels
bcd4a53d44
run i18n
2019-01-29 18:27:05 +01:00
Bruno Windels
9ba592b2c6
run i18n
2019-01-29 18:25:47 +01:00
Bruno Windels
6dc042287e
dont allow whitespace in room sub lists while resizing
2019-01-29 17:21:14 +01:00
Travis Ralston
ad276c1fda
Merge branch 'experimental' into travis/rsettings/tab/general
2019-01-29 09:11:21 -07:00
Bruno Windels
6ffc5e093d
add icons to top left menu options
2019-01-29 16:56:07 +01:00
Bruno Windels
57b2f691ed
fix lint - bis
2019-01-29 16:30:10 +01:00
Bruno Windels
2db0a9c005
show Guest instead of random username when in guest mode
2019-01-29 16:29:30 +01:00
Bruno Windels
495f264ad5
prevent badge jumping when hovering over sublist
...
this was caused by the layout growing wider than it could,
hence the overflow event being triggered.
The overflow event is only supported in FF and we fire the
manual check often enough that the overflow gradient still
reliably (dis)appears when needed.
2019-01-29 16:20:39 +01:00
Bruno Windels
818061d53b
show invite count in invite sublist header
2019-01-29 16:20:25 +01:00
Bruno Windels
7c0f463c91
fix lint
2019-01-29 15:40:19 +01:00
Bruno Windels
9f1b4ac4cc
room directory makeover
2019-01-29 15:34:58 +01:00
Bruno Windels
012e358147
Merge pull request #2515 from matrix-org/bwindels/roomlistjslayout-bisbis
...
Redesign: switch layout when filtering room sublists
2019-01-29 09:32:32 +00:00
Bruno Windels
529c48d1b0
avoid whitespace and expand all matching section when filtering
2019-01-29 10:01:55 +01:00
Bruno Windels
cc2b6f9524
Merge pull request #2470 from matrix-org/bwindels/css-scrollbars
...
Make native scrollbars prettier
2019-01-29 08:20:21 +00:00
J. Ryan Stinnett
20bf683df8
Merge pull request #2517 from jryans/auth-server-type-selector
...
Add server type selector and style login flow
2019-01-28 22:11:14 -06:00
J. Ryan Stinnett
7da5a55c7e
Add space to CustomServerDialog, format like riot-web variant
2019-01-28 21:51:05 -06:00
J. Ryan Stinnett
b0292929ba
Update code style for ServerConfig components
2019-01-28 21:44:41 -06:00
Travis Ralston
d34390d230
Merge pull request #2512 from matrix-org/travis/usettings/tab/flair
...
Implement flair tab in user settings
2019-01-28 20:37:22 -07:00
Travis Ralston
5948f9bc43
Appease the linter
2019-01-28 18:57:11 -07:00
Travis Ralston
f8de4ba2b0
Iterate upon the room upgrade warning bar
...
This lessens the warning for unstable-but-not-official versions while still communicating that the version is unstable. In the future, we may want to make this state dismissable.
2019-01-28 17:21:33 -07:00
J. Ryan Stinnett
c84198afd1
Disable phases for now
2019-01-28 17:49:24 -06:00
J. Ryan Stinnett
34e2979f98
Add Modular server config screen
2019-01-28 17:32:56 -06:00
J. Ryan Stinnett
c914db53ca
Remove unused component ref
2019-01-28 16:52:10 -06:00
J. Ryan Stinnett
d96e814a92
Add link to edit server details
2019-01-28 16:13:19 -06:00
J. Ryan Stinnett
8e9fc8a8e7
Make existing fields full width
2019-01-28 15:29:36 -06:00
Travis Ralston
9513837e97
Appease the linter
2019-01-28 13:59:09 -07:00
J. Ryan Stinnett
398ded4a91
Switch to two phase login
2019-01-28 14:58:21 -06:00
Travis Ralston
8205cc04e4
Regenerate i18n
2019-01-28 13:54:56 -07:00
Travis Ralston
fd6d34c2de
Default the topic to an empty string otherwise React gets mad
2019-01-28 13:54:56 -07:00
Travis Ralston
db34666583
Implement leave room button and URL preview settings
2019-01-28 13:54:56 -07:00
Travis Ralston
87e6652b2a
Flair settings for rooms
2019-01-28 13:54:56 -07:00
Travis Ralston
3021464e89
Move RoomProfileSettings to the right place
2019-01-28 13:54:56 -07:00
Travis Ralston
ea1d6a0146
Minor styling and avatar bug fixing
2019-01-28 13:54:56 -07:00
Travis Ralston
9a524c49b1
Early support for alias modification in room settings
2019-01-28 13:54:56 -07:00
Travis Ralston
243feb9b13
Early tab structure and profile changes (name/avatar/topic)
2019-01-28 13:54:56 -07:00
Travis Ralston
b7d0dd4408
Rename GeneralSettingsTab to GeneralUserSettingsTab
2019-01-28 13:54:56 -07:00
Bruno Windels
8d1e105b50
add option for whitespace behaviour and handle height
2019-01-28 18:02:36 +01:00
Bruno Windels
88f25dec4d
don't over-constraint layout while resizing
...
adapting the approach taken in the prototype
2019-01-28 17:52:46 +01:00
Travis Ralston
6683a9989a
Merge pull request #2504 from matrix-org/travis/settings/positive
...
Be more positive with setting labels
2019-01-28 09:00:52 -07:00
David Baker
2d61a2508d
Merge pull request #2514 from matrix-org/bwindels/roomlistjslayout-bis
...
Redesign: new roomlist layout fixes
2019-01-28 15:53:28 +00:00
Bruno Windels
b0bb4eb5ab
better naming
2019-01-28 16:30:34 +01:00
Bruno Windels
d833174d68
floor default section height
2019-01-28 16:29:34 +01:00
Travis Ralston
a1e3887a74
Merge branch 'experimental' into travis/settings/positive
2019-01-28 08:25:40 -07:00
Bruno Windels
6e55ebdab7
better naming for anchor
2019-01-28 16:10:50 +01:00
Bruno Windels
dab1f30ab4
remove obsolete logging and comments
2019-01-28 16:08:38 +01:00
Bruno Windels
87720bac2e
add comments to fields
2019-01-28 16:03:08 +01:00
Bruno Windels
d56f77debe
ignore updates that don't change anything
2019-01-28 16:02:56 +01:00
Bruno Windels
14485b60be
assign default height after assigning new sections
...
also apply it to sections with value null
2019-01-28 16:00:28 +01:00
Bruno Windels
55e0838c82
Merge pull request #2507 from matrix-org/bwindels/roomlistjslayout
...
Redesign: new layout algorithm for room sublists.
2019-01-28 14:55:31 +00:00
J. Ryan Stinnett
abe6fd2f60
Rework ServerConfig
to approach design
...
The public server search box is left out for now, so this restyles the existing
custom server inputs to more closely approximate the design.
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
3a698ef4fa
Clean up Custom Server Help dialog
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
b1f698586e
Style SSO login like a button
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
306380d647
Update HS / IS URLs when changing server types
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
7934a2950c
Add 'Your account' header
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
e5e0b34958
Fix indentation
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
cd280ca79f
Username is one word
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
73aeb26a79
Remove dead code for empty matrixIdText
in PasswordLogin
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
350c24c503
Initial wiring of server type selector
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
fa4ad21e0a
Remove dead code for !withToggleButton
in ServerConfig
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
0bee324e48
Add server type selector component
2019-01-28 08:52:20 -06:00
Bruno Windels
eaf212dd89
fix lint - bis bis
2019-01-28 15:28:56 +01:00
Bruno Windels
f103e60d1d
fix lint - bis
2019-01-28 15:22:05 +01:00
Bruno Windels
d08216e857
fix lint
2019-01-28 14:56:14 +01:00
Bruno Windels
bfb1031a6b
unify heights stored by id and index, to avoid them getting out of sync
...
effectively get rid of _originalHeights and calculate the array
from the dictionary when needed
2019-01-28 14:52:40 +01:00
Bruno Windels
0a5e8e6cfe
WIP on persisting height across collapse/expand
2019-01-28 14:35:04 +01:00
David Baker
b4f02844a8
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-28 09:36:39 +00:00
J. Ryan Stinnett
d1b78e5b08
Fix unmount TypeError in DeviceVerifyButtons
2019-01-25 17:54:11 -06:00
J. Ryan Stinnett
a07ba49641
Merge pull request #2511 from matrix-org/jryans/rm-team-server
...
Remove support for team servers
2019-01-25 16:48:24 -06:00
Travis Ralston
e2ba1cc0d6
Remove unused import
2019-01-25 15:46:38 -07:00
Travis Ralston
57e45e7e7c
Proof of concept for a flair tab in user settings
2019-01-25 15:35:32 -07:00
J. Ryan Stinnett
20b7debcaf
Remove support for team servers
2019-01-25 16:13:30 -06:00
Travis Ralston
535d42684f
Initial structure for new room settings
2019-01-25 13:09:44 -07:00
David Baker
2061ce2dbf
Merge pull request #2509 from matrix-org/dbkr/logout_warning_wording
...
Tweak wording on logout warning
2019-01-25 18:25:37 +00:00
David Baker
47c2ca3384
Tweak wording on logout warning
...
I further tweaked the wording from Tom's in the bug report to
put passphrases first since they are supposed to be the norm
(and the correct term is "recovery passphrase").
Fixes https://github.com/vector-im/riot-web/issues/8214
2019-01-25 18:01:40 +00:00
David Baker
de9b964490
Fix NPE in RoomRecoveryReminder
...
Also fix a bug introduced in
https://github.com/matrix-org/matrix-react-sdk/pull/2506
where I failed to set the button caption in one case.
Fixes https://github.com/vector-im/riot-web/issues/8216
2019-01-25 17:49:02 +00:00
Bruno Windels
2d2f9712b5
update layout on window resize
2019-01-25 18:48:25 +01:00
Bruno Windels
cb9ebf8b8b
rerender roomlist when banner gets shown/hidden, to update the layout
2019-01-25 18:47:57 +01:00
Bruno Windels
8ffeee6a98
add matthews new resize algo
2019-01-25 18:47:34 +01:00
David Baker
7aa779c160
Remove outdated paragraph promising better verification
2019-01-25 17:31:46 +00:00
J. Ryan Stinnett
939f8b5591
Fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:59 +00:00
J. Ryan Stinnett
e3cd50da1f
Fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:47 +00:00
J. Ryan Stinnett
44a5ee3e44
Add fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:22 +00:00
David Baker
1b5be8603c
Merge pull request #2506 from matrix-org/dbkr/room_recovery_reminder_verifydevice
...
New text/caption for key backup by verifying device
2019-01-25 17:13:09 +00:00
Travis Ralston
e1bc1eee43
Appease the linter
2019-01-25 09:30:13 -07:00
David Baker
f6bbfd7e0d
New text/caption for key backup by verifying device
...
https://github.com/vector-im/riot-web/issues/8072
2019-01-25 16:25:15 +00:00
Travis Ralston
fb36f7abef
Fix imports and quotes
2019-01-25 09:18:00 -07:00
Travis Ralston
3e69be5139
Regenerate i18n due to conflicts
2019-01-25 09:12:45 -07:00
Travis Ralston
f7f23e4dea
Merge branch 'experimental' into travis/usettings/tab/security
2019-01-25 09:12:07 -07:00
Travis Ralston
d136c33a87
Invert setting values in a common place
2019-01-25 09:04:56 -07:00
Travis Ralston
7a2cc3a242
Merge pull request #2503 from matrix-org/travis/settings/placeholders
...
Default a Field's placeholder to the label
2019-01-25 07:51:07 -07:00
Travis Ralston
3301c35f7d
Merge pull request #2501 from matrix-org/travis/settings/dialog-size
...
Have the settings dialog be fixed in size
2019-01-25 07:46:36 -07:00
Travis Ralston
cb6f415a05
Be more positive with setting labels
...
Fixes https://github.com/vector-im/riot-web/issues/6435
This is done through an on-the-fly inverter for the settings. All the settings changed are boolean values, so this should be more than safe to just let happen throughout the SettingsStore. Typically a change like this would be done in the individual handlers (similar to how setting names are remapped to different properties or even different storage locations on the fly), however doing that for this many settings would be a huge nightmare and involve changing *all* the layers. By putting a global "invert this" flag on the setting, we can get away with doing the inversion as the last possible step during a read (or write).
To speed up calculations of the default values, we cache all the inverted values into a lookup table similar to how we represent the defaults already. Without this, the DefaultHandler would need to iterate the setting list and invert the values, slowing things down over time. We invert the value up front so we can keep the generic inversion logic without checking the level ahead of time. It is fully intended that a default value represents the new setting name, not the legacy name.
This commit also includes a debugger for settings because it was hard to visualize what the SettingsStore was doing during development. Some added information is included as it may be helpful for when someone has a problem with their settings and we need to debug it. Typically the debugger would be run in conjunction with `mxSendRageshake`: `mxSettingsStore.debugSetting('showJoinLeaves') && mxSendRageshake('Debugging showJoinLeaves setting')`.
2019-01-24 20:57:40 -07:00
Travis Ralston
d819095a76
Default a Field's placeholder to the label
...
Fixes https://github.com/vector-im/riot-web/issues/8250
This keeps all fields in line with the design without them having to defining it twice. The option is kept in the first place as some fields might want to override the placeholder to be longer than the label or something.
2019-01-24 19:36:23 -07:00
Travis Ralston
5dc75e2d3c
Have the settings dialog be fixed in size
...
This also brings out some classes that aren't solely applicable to the user settings and will be applicable to the room settings as well.
2019-01-24 19:12:09 -07:00
Travis Ralston
1f10cda5e4
Implement the "Help & About" tab of new user settings
2019-01-24 17:10:35 -07:00
Travis Ralston
b0a8cbf75f
Implement the "Security & Privacy" tab of new user settings
2019-01-24 15:47:04 -07:00
Travis Ralston
c5deeeaceb
Merge pull request #2498 from matrix-org/travis/usettings/tab/voice
...
Implement the "Voice & Video" tab of new user settings
2019-01-24 14:59:32 -07:00
Travis Ralston
87cea5ef09
Fix sizings and margins
2019-01-24 14:41:00 -07:00
Travis Ralston
3e09cd1d2e
Appease the linter
2019-01-24 13:43:16 -07:00
Travis Ralston
a4e0796bfe
Swap out the media permissions text for a paragraph element
...
The sizing ratio looks way off when the text is just subtext.
2019-01-24 13:37:20 -07:00
Travis Ralston
27ee6625ee
Implement the "Voice & Video" tab of new user settings
2019-01-24 13:33:22 -07:00
Travis Ralston
67ba728457
Add widget screenshots to the Labs section
...
This is a normal setting and not a real labs setting, however the design calls for it to be here.
2019-01-24 12:38:48 -07:00
Travis Ralston
13e36bcead
Merge pull request #2495 from matrix-org/travis/usettings/tab/preferences
...
Implement the "Preferences" tab on new user settings
2019-01-24 12:05:25 -07:00
David Baker
8c412b85ee
Merge pull request #2496 from matrix-org/dbkr/target_blank
...
Add target="_blank" to links that don't have it
2019-01-24 18:15:18 +00:00
Travis Ralston
5479a4dac5
Implement the "Preferences" tab on new user settings
2019-01-24 10:32:29 -07:00
David Baker
ade43c4e5b
Lint
2019-01-24 17:19:04 +00:00
Bruno Windels
4eb2555fc1
initial support for collapsing
2019-01-24 18:18:10 +01:00
Travis Ralston
98eb95b5bd
Regenerate i18n
2019-01-24 10:12:25 -07:00
Travis Ralston
a9243cf851
Appease the linter
2019-01-24 10:12:25 -07:00
Travis Ralston
06a9ab3a70
Styling to match the other tabs a bit closer
...
Introduces a new component to reduce code duplication
2019-01-24 10:12:25 -07:00
Travis Ralston
d267f232bc
Embed existing notifications settings into the tab
2019-01-24 10:12:25 -07:00
David Baker
4bcb9f12d4
Add target="_blank" to links that don't have it
...
This is now more of a problem in the Electron app because of
https://github.com/electron/electron/issues/8841 but is still
annoying in the webapp if you're taken away from your chat client.
Exception is the SSO link, as commented (issue filed at
https://github.com/vector-im/riot-web/issues/8247 ).
Fixes https://github.com/vector-im/riot-web/issues/8226
2019-01-24 16:19:18 +00:00
Travis Ralston
7249247c7e
Regenerate i18n
2019-01-24 08:52:45 -07:00
Travis Ralston
1251f607ef
Add missing import
2019-01-24 08:52:45 -07:00
Travis Ralston
d2684638b4
Actually include the lazy loading function
2019-01-24 08:52:45 -07:00
Travis Ralston
f1c1caac62
Implement labs tab in new user settings
2019-01-24 08:52:45 -07:00
Travis Ralston
2a9f6186d7
Merge pull request #2491 from matrix-org/travis/usettings/tab/general
...
Implement the "General" tab of new user settings
2019-01-24 08:51:11 -07:00
Bruno Windels
636955daef
use offsetHeight for consistency with sizer
2019-01-24 16:45:26 +01:00
Bruno Windels
b230e65e74
prevent height doubling when resizing
...
caused by mixing up absolute height with incremental height
2019-01-24 16:44:36 +01:00
Bruno Windels
067a861f80
integrate layout/distributor with RoomList
2019-01-24 15:43:49 +01:00
Bruno Windels
1092244bbf
more fixes for updates/resizing
2019-01-24 15:43:23 +01:00
random
607f8f24cb
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-01-24 11:31:31 +00:00
J. Ryan Stinnett
7b5500b9e8
Merge pull request #2493 from jryans/auth-lint
...
Appease linter in auth related files
2019-01-23 19:04:54 -06:00
J. Ryan Stinnett
41c79a93c0
Merge pull request #2489 from jryans/auth-text-and-links
...
Update text and links in authentication flows
2019-01-23 18:40:55 -06:00
J. Ryan Stinnett
319369d1be
Fix remaining warnings for enabled files
2019-01-23 18:38:49 -06:00
J. Ryan Stinnett
9470424bcb
Enable linting for all auth related files
2019-01-23 18:32:36 -06:00
J. Ryan Stinnett
dccc9dc42f
Fix linting error
2019-01-23 18:11:34 -06:00
Travis Ralston
6f947ab6d9
Appease the linter
2019-01-23 16:09:58 -07:00
Travis Ralston
7fb0cd6c42
Bring over the deactivate account button
2019-01-23 15:56:58 -07:00
Travis Ralston
3f897468a6
Add a ToggleSwitch and use it for SettingsFlag
...
Also bring in the compact timeline option.
Without minor CSS changes, the old user settings are completely unusable with this change. As such, minimal effort has been put in to have it be useful. Similarly, the changes drop the use of radio groups and the old theme selector was the only one that used it. See the comments for more details on how/why this was mitigated the way it was.
2019-01-23 15:50:41 -07:00
J. Ryan Stinnett
9f5f552be1
Move LanguageSelector to views
...
It's too simple to be called a structure.
2019-01-23 16:14:03 -06:00
J. Ryan Stinnett
f4bbfc4aeb
Remove unneeded style from forgot password
2019-01-23 15:50:44 -06:00
J. Ryan Stinnett
df76a312c2
Add header text to forgot password
2019-01-23 15:50:44 -06:00
J. Ryan Stinnett
8241f09b12
Update registration header text
2019-01-23 15:50:44 -06:00
J. Ryan Stinnett
f069833ad9
Update text to change auth flows
2019-01-23 15:50:44 -06:00
J. Ryan Stinnett
9b3d674a92
Rename links for changing auth flow
2019-01-23 15:50:44 -06:00
J. Ryan Stinnett
e0e873d0a8
Remove create account from forgot password
2019-01-23 15:50:44 -06:00
J. Ryan Stinnett
e396954a20
Update forgot password link text and style
2019-01-23 15:50:44 -06:00
J. Ryan Stinnett
2f89af4fa0
Update login header text
2019-01-23 15:50:44 -06:00
Travis Ralston
97666d39bc
Bring in theme and language options
2019-01-23 14:43:45 -07:00
Travis Ralston
d55d145223
Bring over phone number management
2019-01-23 14:16:18 -07:00
David Baker
6e35a7f3d9
Re-do npm run i18n because things got weird
2019-01-23 17:41:15 +00:00
David Baker
6a90625d36
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-23 17:32:18 +00:00
Bruno Windels
5bddf62d54
WIP to port prototype code
2019-01-23 18:30:51 +01:00
Travis Ralston
4a819d319e
Early de-linting
2019-01-23 09:41:07 -07:00
Travis Ralston
875c0f94d3
Include a ref so that get/set value works again
2019-01-23 09:29:44 -07:00
Travis Ralston
aa7afe819f
Bring over email address management
2019-01-23 09:28:53 -07:00
Travis Ralston
fa1ce61a06
Move profile settings to a dedicated component
...
The tab component is getting a bit hard to navigate
2019-01-23 09:28:53 -07:00
Travis Ralston
19de6694ca
Bring in the change password section
...
This also changes the layout slightly in the user settings, but nothing detrimental.
2019-01-23 09:28:53 -07:00
Travis Ralston
677b3ca7b5
Bring flair into the new settings
...
Makes the flair options in old settings look broken (cosmetic issues), but it's fine because we're ripping that out in due time.
2019-01-23 09:27:04 -07:00
Travis Ralston
f643d7a143
Finish the box for displayname/avatar changes
2019-01-23 09:27:04 -07:00
Travis Ralston
de81c8d768
Template out remaining sections
2019-01-23 09:27:04 -07:00
J. Ryan Stinnett
05254f0e82
Tweak language selector to match design
2019-01-23 10:18:06 -06:00
J. Ryan Stinnett
f9793fa567
Extract language selector styles
2019-01-23 10:18:06 -06:00
J. Ryan Stinnett
36ebd91f07
Move language selector to auth header
2019-01-23 10:18:06 -06:00
David Baker
6d7e88a84a
Fix desktop captcha check
...
Change gnarly hardcoded protocol to detect running in the electron app
Fixes https://github.com/vector-im/riot-web/issues/8236
2019-01-23 15:06:49 +00:00
Travis Ralston
94b1d739fb
Merge pull request #2476 from matrix-org/travis/modal-tab-settings
...
Basic structure for tabbed user settings
2019-01-23 07:52:44 -07:00
David Baker
e558d2719e
Merge pull request #2471 from matrix-org/dbkr/keep_going
...
Token encouragement if zxcvbn gives no feedback
2019-01-23 14:50:35 +00:00
Bruno Windels
45c4ca3183
Merge pull request #2481 from matrix-org/bwindels/showroomsandpeoplewhenempty
...
Fix: show rooms and people section when empty while filtering
2019-01-23 09:39:17 +00:00
J. Ryan Stinnett
0f3ee9c786
Extract auth header logo to new component
...
This will allow `riot-web` to replace only the logo, rather than the whole
header.
2019-01-22 22:41:10 -06:00
Travis Ralston
b83227c035
Merge pull request #2484 from matrix-org/travis/select-field
...
Support selects on Field
2019-01-22 20:13:06 -07:00
Travis Ralston
2b3c8c4450
Correctly form a select/input element
2019-01-22 20:03:59 -07:00
J. Ryan Stinnett
575cd1e37b
Add modal look to authentication flows
...
This changes the auth screens to use the modal-like style of the redesign.
This does not attempt to style the actual body content of each screen. Instead,
it covers the header area with logo, footer links, and overall modal container
only.
2019-01-22 20:44:49 -06:00
Travis Ralston
f0e8182ff3
Support selects on Field
...
Luckily, the styling is copy/paste capable.
2019-01-22 19:25:09 -07:00
Travis Ralston
5ef9015133
Add labs flag for tabbed settings
2019-01-22 10:28:33 -07:00
Bruno Windels
2234a691c6
Merge pull request #2480 from matrix-org/bwindels/typingnotifsmallfix
...
Fix: apparently room can be null here
2019-01-22 17:04:00 +00:00
Travis Ralston
0deb210fd8
Collapse DOM around tab label icon
2019-01-22 09:54:35 -07:00
Bruno Windels
7d4165802c
show rooms and people section when empty while filtering
2019-01-22 17:54:04 +01:00
Bruno Windels
d803005d1c
Merge pull request #2478 from matrix-org/bwindels/jumptobottommakeover
...
Redesign: pull jump to bottom button out of room status bar
2019-01-22 16:39:54 +00:00
Bruno Windels
1373b2f5e2
apparently room can be null here
2019-01-22 17:34:48 +01:00
Bruno Windels
7301d6a3c3
set default size of 350px for left panel
2019-01-22 16:40:11 +01:00
Bruno Windels
85b55847e1
missing semicolon
2019-01-22 14:52:22 +01:00
Bruno Windels
689df1b506
copyright
2019-01-22 14:51:11 +01:00
Bruno Windels
e5de33ab77
hide RoomStatusBar when not needed again
...
as it will be shown a lot less now, having the layout
jump up and down won't be so much of a problem.
2019-01-22 14:50:31 +01:00
Bruno Windels
14592b5b57
use JumpToBottomButton in RoomView
2019-01-22 14:50:16 +01:00
Bruno Windels
de4cda4572
remove unread messages and jump to bottom from RoomStatusBar
2019-01-22 14:50:06 +01:00
Bruno Windels
5dd5f4f1dc
add JumpToBottomButtom component
2019-01-22 14:49:04 +01:00
Weblate
ff2814f327
Merge remote-tracking branch 'origin/develop' into develop
2019-01-22 11:28:20 +00:00
Peter Vágner
367cda20b1
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2019-01-22 11:28:20 +00:00
Paulo Miranda
3d9f937a6f
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-01-22 11:28:20 +00:00
Yusuke Watanabe
dcbc8e103c
Translated using Weblate (Japanese)
...
Currently translated at 90.8% (1296 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-01-22 11:28:19 +00:00
Marco
510c7c2d9f
Translated using Weblate (German)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-01-22 11:28:19 +00:00
Osoitz
67568222ef
Translated using Weblate (Basque)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-01-22 11:28:18 +00:00
David Baker
c1860575c5
Merge branch 'master' into develop
2019-01-22 11:28:04 +00:00
Bruno Windels
3c8bd3fc78
Merge pull request #2456 from matrix-org/bwindels/extendtypingbartiming
...
Avoid "jumpiness" with inline typing indicator
2019-01-22 11:04:25 +00:00
Bruno Windels
f83411ea0b
whitespace
2019-01-22 11:46:02 +01:00
Bruno Windels
0e0128c297
if instead of short-circuit and for readability
2019-01-22 11:37:18 +01:00
Bruno Windels
5d45d5dfac
formatting
2019-01-22 11:37:09 +01:00
Travis Ralston
881353037e
forgot .length somehow
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-22 10:34:54 +00:00
David Baker
9f5244fa8b
Deduplicate <div> tag
2019-01-22 10:16:31 +00:00
David Baker
ba1aa2037d
Merge remote-tracking branch 'origin/experimental' into dbkr/delint_compatpage_loggedinview
2019-01-22 10:13:27 +00:00
Travis Ralston
feed17d9ac
Minor code style fix
2019-01-21 20:55:40 -07:00
Travis Ralston
a488304410
Appease the linter
...
Appease the linter round 2
Appease the linter round 3
Appease the linter round 4
Appease the linter round 5
2019-01-21 18:41:49 -07:00
J. Ryan Stinnett
1d01ac398c
Rename mx_Login_box
to mx_AuthPage_modal
and fold into AuthPage
2019-01-21 19:11:43 -06:00
J. Ryan Stinnett
3bd765f63f
Rename LoginPage, Header, Footer views to Auth*
2019-01-21 19:11:43 -06:00
J. Ryan Stinnett
c7354f483b
Rename LoginBox to AuthButtons
...
This component displays login and register buttons. It's currently used in the
composer when viewing a room as a guest.
The name is confusing because the login flow uses are very similarly named
`mx_Login_box` as a wrapping around forms, which is totally different than these
buttons.
Additionally, the components is moved to `views/auth` since it is very simple
and auth related.
2019-01-21 19:11:43 -06:00
Travis Ralston
15a56fa90b
Improve the profile section a bit and add a highlight to the temp tab
2019-01-21 17:27:43 -07:00
Travis Ralston
a8ec40a8b0
Add a temporary tab for visiting the old settings
...
For debugging purposes
2019-01-21 16:51:43 -07:00
Travis Ralston
f1e44757f0
Very early work on the "General" tab
2019-01-21 16:51:43 -07:00
Travis Ralston
22435bf8d2
Make the dialog look more like a new dialog
2019-01-21 16:51:43 -07:00
Travis Ralston
a7e3d7df28
Make the tabs look like the design
2019-01-21 16:51:43 -07:00
Travis Ralston
15709040e7
Make tabs be their own panels
2019-01-21 16:51:43 -07:00
Travis Ralston
5adfc09237
Bring in TabbedView nearly verbatim from prior work
...
Sourced from https://github.com/matrix-org/matrix-react-sdk/pull/1644 and related PRs.
2019-01-21 16:51:43 -07:00
Travis Ralston
0e42c0892e
Early modalization of UserSettings
...
Basically just shove it into a modal and call it good.
2019-01-21 16:51:43 -07:00
J. Ryan Stinnett
29be3ee4b5
Rename login directory to auth
2019-01-21 17:45:55 -06:00
Osoitz
c3adf4d397
Translated using Weblate (Basque)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-01-21 21:04:36 +00:00
J. Ryan Stinnett
cd8c74a7c4
Rebuild strings
2019-01-21 15:03:55 -06:00
J. Ryan Stinnett
e714b2aed2
Remove Status theme-specific hacks
2019-01-21 13:59:22 -06:00
David Baker
bd011de1e5
De-lint CompatabilityPage & LoggedInView
...
and remove from errorfiles
2019-01-21 19:32:57 +00:00
David Baker
ce41228000
Token encouragement if zxcvbn gives no feedback
...
zxcvbn is hardcoded to give no suggedtions if the score is greater
than 2, but our threshold is 4, so give some generic feedback.
Fixes https://github.com/vector-im/riot-web/issues/7860
2019-01-21 19:20:11 +00:00
David Baker
eecc37038a
Merge pull request #2469 from matrix-org/dbkr/warn_on_wrong_recovery_key
...
Error if no sessions decrypted
2019-01-21 19:18:33 +00:00
David Baker
31889ecfad
Lint
2019-01-21 19:07:44 +00:00
Bruno Windels
5aff76b49d
use css scrollbar styles to make native scrollbars prettier
2019-01-21 19:06:49 +01:00
David Baker
e42b0a9972
Make error string less redundant
2019-01-21 18:02:09 +00:00
Slavi Pantaleev
bed765728a
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-01-21 17:58:06 +00:00
David Baker
1a9c3f1ac7
Make error string less technical
2019-01-21 17:41:55 +00:00
David Baker
0a2b79b62d
Error if no sessions decrypted
...
Tell the user if they entered the wrong recovery key
Fixes https://github.com/vector-im/riot-web/issues/8143
2019-01-21 16:51:30 +00:00
Bruno Windels
86357fde51
sort combined typing users by name so order is stable
2019-01-21 17:49:46 +01:00
Bruno Windels
25aa58f29f
increase/clear min-height on timeline on new message(s)
...
depending on whether the typing bar is visible
2019-01-21 17:35:40 +01:00
Bruno Windels
018f3d2a5c
use box-sizing: border-box to make clientHeight === actual height
2019-01-21 17:30:02 +01:00
David Baker
250c7e0c4e
Merge pull request #2466 from matrix-org/dbkr/fix_direct_chat_button
...
Fix settings direct chat
2019-01-21 16:28:02 +00:00
David Baker
4248a20885
Fix settings direct chat
...
We were expecting this function to return a string user ID, but it
returned a user object
Make it return a user ID and add jsdoc to say what it returns.
Fixes https://github.com/vector-im/riot-web/issues/8180
2019-01-21 16:05:24 +00:00
David Baker
7e0f60505e
Fix settings direct chat
...
We were expecting this function to return a string user ID, but it
returned a user object
Make it return a user ID and add jsdoc to say what it returns.
Fixes https://github.com/vector-im/riot-web/issues/8180
2019-01-21 16:02:25 +00:00
Jeff Huang
813ab4358f
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-01-21 13:09:03 +00:00
David Baker
4c381c32ee
Show verify button when we have a device to verify
...
rather than when we don't
2019-01-21 11:34:13 +00:00
Matthew Hodgson
8511bc27cc
only request thumbs on retina if the original image is too big to be used as a thumbnail
2019-01-20 15:35:16 +00:00
Travis Ralston
36ffbef010
Tweak comment about field ID
...
Co-Authored-By: jryans <jryans@gmail.com>
2019-01-19 22:29:57 -06:00
J. Ryan Stinnett
efd5405267
Add a form field component for the redesign
...
The label moves into the border on focus and after being filled. A valid color
is applied to the label and input border. Other states like invalid can be added
later as needed.
Adapted from @ara4n's experiment into a React component with a CSS only
approach.
2019-01-19 22:13:53 -06:00
David Baker
60a8d560d1
Undo abortive first attempt at factoring out
2019-01-19 11:54:01 +00:00
J. Ryan Stinnett
7c9509ceb8
Merge pull request #2460 from matrix-org/jryans/versioned-img-urls
...
Load fonts and images via source-relative URLs and requires
2019-01-18 14:27:55 -06:00
David Baker
630a6a479b
Lint
2019-01-18 18:43:40 +00:00
David Baker
970880737e
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-18 18:33:11 +00:00
David Baker
4f2f2f4f4e
Move common UI bits out to separate components
2019-01-18 18:24:38 +00:00
Bruno Windels
c9d5c4903b
set min-height of messagelist to current height when showing typing bar
...
this ensures the timeline never shrinks, and avoids jumpiness when
typing bar disappears again.
2019-01-18 18:53:54 +01:00
David Baker
ec2d51cbbb
SAS verification screen matching design
2019-01-18 16:56:49 +00:00
David Baker
4b68ca141c
Merge pull request #2455 from matrix-org/dbkr/key_backup_status_unknown_device
...
Say when backup is signed by unknown device
2019-01-18 10:58:26 +00:00
Marco
fd2b3b9fb8
Translated using Weblate (German)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-01-18 10:23:25 +00:00
David Baker
622d7427f7
Merge pull request #2458 from matrix-org/travis/upgrade-command
...
Add an /upgraderoom command to make upgrading easier for development
2019-01-18 10:00:53 +00:00
J. Ryan Stinnett
20e296b20e
Convert image URLs in React to require
calls
...
This allows Webpack to insert the proper image URL after builds steps like
adding a hash and so on. The path you supply to `require` is relative to the JS
source file, just like any other would be.
2019-01-17 22:06:49 -06:00
J. Ryan Stinnett
989227d435
Fix line length lint warnings
...
I am about to run some code replacements that might make lines too long, so with
this change I know we're starting from 0 line length warnings.
2019-01-17 22:06:49 -06:00
Travis Ralston
7f6ce69c3e
Merge branch 'experimental' into travis/develop2
2019-01-17 16:03:45 -07:00
Travis Ralston
9b6ef8af72
Add an /upgraderoom command to make upgrading easier for development
2019-01-17 15:59:05 -07:00
Bruno Windels
2920deaefe
better naming
2019-01-17 18:52:22 +01:00
Bruno Windels
146e651dae
add comments
2019-01-17 18:52:14 +01:00
Bruno Windels
1db6f1b652
remove logging
2019-01-17 18:32:46 +01:00
Bruno Windels
d787d3d821
clear typing bar when receiving event from user
2019-01-17 18:26:11 +01:00
David Baker
b551d2f43a
Say when backup is signed by unknown device
...
rather than say it isn't signed by any devices
https://github.com/vector-im/riot-web/issues/8142
Requires https://github.com/matrix-org/matrix-js-sdk/pull/826
2019-01-17 16:45:00 +00:00
Bruno Windels
7df8951efa
wait to hide typing bar until event arrives or 5s timeout
2019-01-17 16:30:55 +01:00
Peter Vágner
2899d7d3c4
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2019-01-17 14:20:26 +00:00
Bruno Windels
89b576936b
Merge pull request #2448 from matrix-org/bwindels/searchmakeover
...
Redesign: search makeover
2019-01-17 12:12:26 +00:00
Besnik Bleta
506ee39a09
Translated using Weblate (Albanian)
...
Currently translated at 99.2% (1417 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-01-17 10:17:09 +00:00
Bruno Windels
a7d21ebb8e
re-apply Timer linting fixes that happened in the tiled ui PR
2019-01-17 10:44:12 +01:00
Bruno Windels
8c30d05eb8
Revert "Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental"
...
This reverts commit ece5cb1fcc
, reversing
changes made to 64a3d2521c
.
2019-01-17 10:29:37 +01:00
Szimszon
7d9f84c873
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-01-16 19:19:44 +00:00
Kévin C
e199d5384e
Translated using Weblate (French)
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-01-16 19:07:37 +00:00
Paulo Miranda
2e8368ce0b
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1427 of 1427 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-01-16 16:32:22 +00:00
J. Ryan Stinnett
859f2a8646
Show spinner while waiting on status message to commit
...
It can take some time to actually set the status message and see it play back as
a committed event. This adds a spinner for immediate feedback so it's clear
that something is happening.
Fixes https://github.com/vector-im/riot-web/issues/8135 .
2019-01-16 09:33:39 -06:00
Weblate
d627660aaf
Merge remote-tracking branch 'origin/develop' into develop
2019-01-16 15:31:19 +00:00
David Baker
55889d5491
Change wording of 'invite anyway' setting
...
https://github.com/vector-im/riot-web/issues/7922
2019-01-16 15:07:30 +00:00
Weblate
fa943aa114
Merge remote-tracking branch 'origin/develop' into develop
2019-01-16 14:01:21 +00:00
Peter Vágner
11f1b71cc6
Translated using Weblate (Slovak)
...
Currently translated at 95.2% (1357 of 1425 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2019-01-16 14:01:20 +00:00
Moo
7551f3102a
Translated using Weblate (Lithuanian)
...
Currently translated at 69.4% (990 of 1425 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-01-16 14:01:20 +00:00
Besnik Bleta
6dcee227a9
Translated using Weblate (Albanian)
...
Currently translated at 98.9% (1410 of 1425 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-01-16 14:01:19 +00:00
David Baker
4da4e0c37a
Iminimal lint-fixes to make develop CI build
2019-01-16 13:57:18 +00:00
Bruno Windels
622b11fd91
remove commented out code from shifting things around
2019-01-16 13:04:49 +01:00
Bruno Windels
0229453482
Merge pull request #2440 from matrix-org/bwindels/smarterresizer
...
Improve room sublist resizing
2019-01-16 10:55:53 +00:00
Bruno Windels
313bbaaeaa
remove obsolete comments
2019-01-16 11:33:41 +01:00
Travis Ralston
fed256cbaa
Update src/resizer/distributors/roomsublist.js
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-16 10:29:30 +00:00
Travis Ralston
98aa657052
Update src/resizer/distributors/collapse.js
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-16 10:29:22 +00:00
Travis Ralston
2bd65e14b7
Update src/resizer/distributors/fixed.js
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-16 10:29:15 +00:00
Travis Ralston
a5424f32a5
Update src/resizer/item.js
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-16 10:29:05 +00:00
Bruno Windels
899ee265e3
Merge branch 'experimental' into bwindels/searchmakeover
2019-01-16 11:17:38 +01:00
Bruno Windels
8d16ac1d31
make room name header smaller
2019-01-16 11:14:05 +01:00
Bruno Windels
cbe3afaa1f
resubmit query when switching between "This Room" / "All Rooms"
2019-01-16 11:13:35 +01:00
Kévin C
0dd8519491
Translated using Weblate (French)
...
Currently translated at 100.0% (1425 of 1425 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-01-16 10:06:42 +00:00
Jeff Huang
e2f3ff37b8
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1425 of 1425 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-01-16 06:17:25 +00:00
Travis Ralston
28b8ccfdb1
Merge pull request #2445 from matrix-org/develop
...
Develop->Experimental
2019-01-15 14:35:53 -07:00
Weblate
e547645dc8
Merge remote-tracking branch 'origin/develop' into develop
2019-01-15 19:02:03 +00:00
Travis Ralston
66a6f9d322
Merge pull request #2438 from Half-Shot/hs/trim-back-lines
...
Limit line length in the room directory
2019-01-15 12:01:58 -07:00
Szimszon
0c33c47764
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1425 of 1425 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-01-15 18:46:00 +00:00
David Baker
1d2538a7bc
First working version of SAS
2019-01-15 18:08:13 +00:00
Bruno Windels
c07470be7b
show a spinner while searching
2019-01-15 18:45:56 +01:00
Travis Ralston
731e05cc5d
Merge pull request #2444 from matrix-org/develop
...
Develop->Experimental
2019-01-15 10:39:34 -07:00
Paulo Miranda
db5eb87f57
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1425 of 1425 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-01-15 17:35:43 +00:00
Weblate
8d63dbc71b
Merge remote-tracking branch 'origin/develop' into develop
2019-01-15 17:25:04 +00:00
Paulo Miranda
9c2bdba9d3
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-01-15 17:25:04 +00:00
Karol Kosek
eebb75ba77
Translated using Weblate (Polish)
...
Currently translated at 92.1% (1307 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-01-15 17:25:03 +00:00
Moo
a3d8bfc260
Translated using Weblate (Lithuanian)
...
Currently translated at 64.1% (909 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-01-15 17:25:03 +00:00
Dominik Kosić
0b37797d22
Translated using Weblate (Croatian)
...
Currently translated at 0.4% (7 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hr/
2019-01-15 17:25:02 +00:00
RainSlide
d2de542838
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.7% (1301 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2019-01-15 17:25:02 +00:00
J. Ryan Stinnett
4b13774585
Revert to avatar only when custom status disabled
...
This returns to the previous behavior of avatar only without a button when the
custom status feature is disabled so that you don't get pointer cursor for
something that does nothing when clicked.
The avatar ring spacing is kept consistent with and without the feature enabled
by using a different class in CSS.
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
632bbde598
Remove usused setting value from CustomStatusController
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
d8de607edc
Update RoomTile on status change
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
77cee8e67e
Update MemberTile on status change
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
443198c180
Fix lints in MemberTile.js
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
233288475e
Use status events for avatar ring
...
Similar to changes in `StatusMessageContextMenu`, this changes to using the new
status message event emitted in js-sdk to simplify state handling for the avatar
ring when a status is present.
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
5b88b64950
Rework custom status context menu
...
This updates the custom status context menu to match the latest comps. A single
button is used for setting / clearing, depending on what is appropriate.
The state logic is also changed to depend on events and storage from js-sdk for
the committed status message. This makes it easy to distinguish the value being
edited from what's currently committed.
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
fc3055f541
Tweak custom status menu size and placement
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
eae1e4c9aa
Tweak custom status avatar ring
...
Adjusts the appearance of the avatar ring to match the latest comps.
In addition, we now always render the surrounding button element, which
simplifies styling since the same size is now occupied both with and without the
feature.
This improves alignment between text in the composer and text in the message
history (https://github.com/vector-im/riot-web/issues/8111 ).
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
c76b273fae
Update RoomTiles on custom status change
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
e08c70b820
Prune unsupported setting RoomSubList.showEmpty
...
The code reading this setting was previously removed in #2229 .
2019-01-15 10:54:29 -06:00
Travis Ralston
6f62158f94
Fix setting label for unknown invites
...
Fixes https://github.com/vector-im/riot-web/issues/8126
2019-01-15 09:52:06 -07:00
Bruno Windels
77a62b9174
style search bar
2019-01-15 16:20:04 +01:00
Matthew Hodgson
ef78036a72
fix vector-im/riot-web#8105
2019-01-15 14:40:58 +00:00
Bruno Windels
3c7bed97ac
size all items to rendered height when starting drag operation
...
before, we'd only normalize the sublists that had already been
sized manually. As non-sized items still have flex-basis: auto,
they would claim all the space, and mixing sized and unsized items
would be badly broken.
Now, on the first click, all items are sized to their rendered size
which means they won't flex anymore, but at least the resizing works
this way
Another downside is that when resizing while a sublist is
collapsed, it's reverted to 100px and if a size had been set before,
it's forgotten. No way around this with this approach I'm afraid.
2019-01-15 12:56:48 +01:00
Bruno Windels
aa90e9591a
fix min & max size for empty sublists
2019-01-15 12:56:33 +01:00
Bruno Windels
1bbf1502ec
Merge branch 'experimental' into bwindels/smarterresizer
2019-01-15 10:23:50 +01:00
Travis Ralston
177d9f245a
Merge pull request #2441 from matrix-org/develop
...
Merge develop -> experimental
2019-01-14 14:45:20 -07:00
Bruno Windels
7e395f0fb6
cleanup - part II
...
reshuffle file structure to make more sense
2019-01-14 20:33:33 +01:00
Bruno Windels
9ecb23ce71
cleanup
...
- move some methods to ResizeItem subclass
- allow distributor to instanciate sizer and resizeitem it needs
through static factory methods, instead of passing in another ctor
a distributor can only function with the right item and sizer anyways.
- use consistent import/export style
- remove obsolete code
2019-01-14 20:24:54 +01:00
Matthew Hodgson
577c411a39
experimental fix for https://github.com/vector-im/riot-web/issues/2985
...
needs server to support 1600x1200 thumbnails for retina large ones.
ideally need to cap maximum thumbnail size to 800x600 rather than expand to arbitrary widths.
need to check that luke's funky timeline code doesn't get confused between naturalWidth and infoWidth etc.
also need to consider whether to encode a resolution metric in the event rather than lying about resolution.
2019-01-14 17:10:22 +00:00
Will Hunt
cb5ad8d6f9
Limit the length of topics and names in the RoomDirectory
2019-01-13 14:47:08 +00:00
Krombel
2edea5abfa
Translated using Weblate (German)
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-01-12 02:46:45 +00:00
Travis Ralston
a05c0f9214
Rephrase everything to be "invite anyways" rather than "retry"
...
Also handle profile errors better
2019-01-11 15:46:03 -07:00
David Baker
2a20d9d67e
Merge pull request #2435 from matrix-org/dbkr/dialog_trusted_new_backup
...
Different dialog for new trusted backup
2019-01-11 18:55:17 +00:00
David Baker
c650ace0c0
This shouldn't be required
2019-01-11 18:39:16 +00:00
Bruno Windels
136dd4a556
stop resize operation when cursor leaves viewport
...
as mouseup can't be detected outside of viewport
2019-01-11 18:20:34 +01:00
Bruno Windels
a413f358f7
normalize sizes when starting drag operation
2019-01-11 17:17:58 +01:00
Bruno Windels
9456fc040d
fix typo
2019-01-11 16:10:35 +01:00
David Baker
77efa0881e
Gah, onjects
2019-01-11 14:09:29 +00:00
David Baker
fe4778b28b
De-lint a few more files
...
& remove them from the ignored list
2019-01-11 13:54:11 +00:00
David Baker
5c9d41d96b
Lint
2019-01-11 13:42:40 +00:00
David Baker
d87d00e4ae
Different dialog for new trusted backup
...
Split the 'new recovery method' into two cases: one where the new
recovery method isn't trusted and you need to verify the device, and
another where it is and the client is using it (where it's more of
an FYI).
https://github.com/vector-im/riot-web/issues/8069
2019-01-11 13:15:09 +00:00
David Baker
e0bc0494fa
Merge pull request #2433 from matrix-org/travis/rver/7992
...
Recalculate the visible rooms when rooms are upgraded
2019-01-11 10:37:32 +00:00
David Baker
93cf281ff9
Merge pull request #2432 from matrix-org/travis/rver/7998
...
Navigate to the upgraded room's create event where possible
2019-01-11 10:35:30 +00:00
David Baker
531822394d
Merge pull request #2429 from matrix-org/travis/rver/8076
...
Don't show rooms with tombstones in the address picker
2019-01-11 10:33:53 +00:00
David Baker
14fe43f74c
Merge pull request #2427 from jryans/recovery-method-removed
...
Add separate dialog for recovery method removed
2019-01-11 10:27:17 +00:00
Travis Ralston
c351ee3d30
Appease the linter
2019-01-10 21:54:07 -07:00
Travis Ralston
5333114d7b
Give a route for retrying invites for users which may not exist
...
Fixes https://github.com/vector-im/riot-web/issues/7922
This supports the current style of errors (M_NOT_FOUND) as well as the errors presented by MSC1797: https://github.com/matrix-org/matrix-doc/pull/1797
2019-01-10 21:43:21 -07:00
Travis Ralston
33eef6f5ac
Merge pull request #2428 from matrix-org/travis/rver/7991
...
Set which servers to try and join upgraded rooms through
2019-01-10 16:28:11 -07:00
Travis Ralston
a9aede9be7
Merge pull request #2430 from matrix-org/travis/rver/7997
...
Render a tile for tombstone events
2019-01-10 15:44:51 -07:00
Travis Ralston
7d4b6add2c
Recalculate the visible rooms when rooms are upgraded
...
We also do this when they are created just in case we missed the tombstone event.
Fixes https://github.com/vector-im/riot-web/issues/7992
2019-01-10 15:43:22 -07:00
Travis Ralston
b09219fe33
Navigate to the upgraded room's create event where possible
...
Fixes https://github.com/vector-im/riot-web/issues/7998
2019-01-10 15:29:12 -07:00
Travis Ralston
a5fceefc63
Regenerate en_EN.json to sort entries
2019-01-10 15:17:20 -07:00
Travis Ralston
e24d3cd671
Render a tile for tombstone events
...
Fixes https://github.com/vector-im/riot-web/issues/7997
This isn't super elegant, but it also provides some amount of utility for people. As users might leave the old room, it might be useful to see when exactly a room was upgraded. We should fix the underlying cause for infinite back pagination though.
2019-01-10 15:15:45 -07:00
Travis Ralston
18ba5f6f19
Don't show rooms with tombstones in the address picker
...
Fixes https://github.com/vector-im/riot-web/issues/8076
2019-01-10 14:44:19 -07:00
Travis Ralston
cec9c908fc
Set which servers to try and join upgraded rooms through
...
Fixes https://github.com/vector-im/riot-web/issues/7991
2019-01-10 14:33:46 -07:00
J. Ryan Stinnett
35af3fc6f7
Add separate dialog for recovery method removed
...
The "New Recovery Method" dialog would show if either the recovery method had
been changed or removed, but the dialog text didn't make much sense for the
removed case.
This adds a separate dialog customized for the removed case.
Fixes https://github.com/vector-im/riot-web/issues/8046 .
2019-01-10 15:18:57 -06:00
David Baker
e9226cdff8
Merge pull request #2426 from matrix-org/dbkr/backup_passphrase_debounce
...
Key backup: Debounce passphrase feedback
2019-01-10 18:34:08 +00:00
David Baker
a691c0492a
Merge pull request #2425 from matrix-org/dbkr/createbackup_niggles_2
...
Set backup niggles: 2
2019-01-10 18:34:01 +00:00
David Baker
fc346b2766
Merge pull request #2423 from matrix-org/dbkr/lint_messagecomposerinput
...
Fix lint errors in MessageComposerInput
2019-01-10 18:33:52 +00:00
David Baker
b7252a0db9
Rephrase comment to make more sense
2019-01-10 18:13:04 +00:00
David Baker
2bd4579d0b
Merge pull request #2424 from matrix-org/dbkr/createbackup_niggles_1
...
Set backup niggles: 1
2019-01-10 18:11:08 +00:00
Bruno Windels
92b9a8cc1f
persist cleared size sublists
2019-01-10 18:40:26 +01:00
Erik Johnston
cbf9ff6aee
Merge branch 'experimental' of github.com:matrix-org/matrix-react-sdk into erikj/state_counters
2019-01-10 16:56:47 +00:00
Erik Johnston
fa6b33d629
Only update component state when feature is enabled
2019-01-10 16:54:08 +00:00
David Baker
bd5e0d1821
My favourite typo :(
2019-01-10 15:19:56 +00:00
David Baker
e50f15ac15
Key backup: Debounce passphrase feedback
...
https://github.com/vector-im/riot-web/issues/8066
2019-01-10 15:17:39 +00:00
David Baker
1d209c5064
Set backup niggles: 2
...
Don't tell the user their pasphrase doesn't match if it's correct
so far
2019-01-10 14:12:43 +00:00
David Baker
3752a21fb1
Create set backup niggles: 1
...
* Clear the password score when hitting 'back'
* autoFocus password input
2019-01-10 13:49:40 +00:00
Bruno Windels
a130c44803
try clear next item size when resizing so there is always one unsized item
2019-01-10 14:12:05 +01:00
Bruno Windels
68afadd83b
try flex-basis for resizing
2019-01-10 14:03:17 +01:00
David Baker
9903c61a21
Fix lint errors in MessageComposerInput
...
and remove from ignored files
Missed a load of the async arrows functions when changing them because
they were in the ignored files, so trying to chip away at this.
A lot of these were unused imports / variables. Probably the only
interesting one was a 'this' in a non-member function which I've moved
to be a member function.
2019-01-10 09:41:26 +00:00
David Baker
3555b02f34
Merge remote-tracking branch 'origin/experimental' into dbkr/fix_recovery_reminder_cancel
2019-01-10 09:39:57 +00:00
David Baker
c45ffb6733
Merge pull request #2422 from matrix-org/dbkr/eslint_async_space
...
Add spaces back to async arrow functions
2019-01-10 09:35:58 +00:00
David Baker
b9719abbc2
Oops, missed some asyncs
2019-01-09 19:36:34 +00:00
David Baker
f269b5fbbc
Fix spaceless async in ignored files too
2019-01-09 19:14:30 +00:00
David Baker
8e4d8ccca7
Add spaces back to async arrow functions
...
As per https://github.com/matrix-org/matrix-js-sdk/pull/821
Requires https://github.com/matrix-org/matrix-js-sdk/pull/821
2019-01-09 18:10:35 +00:00
J. Ryan Stinnett
365a7273d8
Move initial key backup to background
...
Since the initial key backup can take several minutes for some users, this moves
the upload step to the background. The create key backup flow now only marks
all sessions for backup synchronously, with the actual backup happening later.
The key backup panel in Settings gains a new row to show a summary of upload
status. Users are directed there if they wish to know if the backup is done.
The text in various related dialogs has also been tweaked to fit the new flow.
2019-01-09 12:04:17 -06:00
J. Ryan Stinnett
731f9ee7df
Display key backup upload progress in Settings
...
This adds a summary of the keys currently waiting for backup, which may be
useful for following a large upload as it progresses.
2019-01-09 12:04:17 -06:00
J. Ryan Stinnett
7dbc970347
Mark KeyBackupPanel as a pure component
...
KeyBackupPanel depends only on its own state and its children are pure, so it
can be pure as well. This avoids some unnecessary re-renders.
2019-01-09 12:04:17 -06:00
J. Ryan Stinnett
2bfe6e7500
Fix React nesting error in create key backup
2019-01-09 12:04:17 -06:00
J. Ryan Stinnett
91a7c146e4
Fix lint warning in create key backup
2019-01-09 12:04:17 -06:00
Bruno Windels
ece5cb1fcc
Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental
...
Tiled room UI
2019-01-09 17:25:08 +00:00
David Baker
7381879e3a
Fix a few things with cancelling recovery reminder
...
* Put a cancel button on the first page of the create key backup
dialog
* Move settings logic into the room reminder: I know this is moving
logic *into* a view but RoomView is quite heavyweight as it is.
* Give the recovery reminder an explicit 'onDontAskAgainSet' rather
than onFinished which was getting called with false when the last
screen of the dialog was closed with the cancel 'x' rather than
the 'close' button.
https://github.com/vector-im/riot-web/issues/8066
2019-01-09 16:27:41 +00:00
Bruno Windels
51376c5c07
draft room sub list item api
2019-01-09 15:53:04 +01:00
Bruno Windels
b82e19b1f7
size header explicitly for content size
...
otherwise it just grows with max-height
2019-01-09 15:45:47 +01:00
Bruno Windels
254427461d
fix PR feedback
2019-01-09 12:48:13 +01:00
Silvano
d1c3afa513
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-01-09 11:31:09 +00:00
J. Ryan Stinnett
1fcafdab30
Allow New Recovery Dialog to be cancelled
...
Fixes part of https://github.com/vector-im/riot-web/issues/8048 .
2019-01-09 04:08:12 -06:00
Bruno Windels
0803ea9158
support collapsed items
2019-01-08 18:17:34 +01:00
Bruno Windels
8352d8c6bd
not sure we need this, but adding the padding in _offset container
2019-01-08 18:17:00 +01:00
Bruno Windels
b4197059a0
change min size to exactly one room tile + header
2019-01-08 18:16:09 +01:00
Bruno Windels
4bd6ce8e2c
WIP2 for making smart resizer work, sort of works now but shows big scrollbar
2019-01-08 16:47:47 +01:00
J. Ryan Stinnett
02a83a7c2b
Use per-message string substitutions in key backup panel
...
Including unused substitutions triggers console logs, so change the key backup
panel to only substitute what's actually used in each message.
Fixes https://github.com/vector-im/riot-web/issues/8047 .
2019-01-08 09:31:33 -06:00
Paulo Miranda
e538f381a5
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-01-08 15:05:47 +00:00
Bruno Windels
5eba8210b8
Merge branch 'experimental' into bwindels/smarterresizer
2019-01-08 14:38:46 +01:00
Bruno Windels
9e67dbf008
change icon
2019-01-08 14:35:26 +01:00
Bruno Windels
52c5610660
update copy
2019-01-08 14:35:06 +01:00
Erik Johnston
07c2010cce
Use state rather than forceUpdate
2019-01-08 11:14:31 +00:00
Bruno Windels
56726ba8e5
fix lint
2019-01-08 12:10:42 +01:00
Bruno Windels
7227049c2a
add right panel toggle button to room header when in grid
2019-01-08 12:05:39 +01:00
Bruno Windels
c9272c48e0
undo unneeded changes
2019-01-08 12:05:06 +01:00
Travis Ralston
66cd8475b5
Don't reset cached room list values when they are falsey
...
`unread` and `unread-muted` store booleans in the cache, and can easily be `false`. Without this patch, both of those cached types would be cleared from the object where a later call to `getRoomState` would try and re-populate them. `getRoomState` is supposed to use the cache where possible to avoid making the more expensive calls required to calculate those booleans.
On my account in a test environment, this brings the `generateRoomLists` execution time down from ~250ms to just ~30ms.
This still does not solve the whole issue, but should solve the more common case of performance woes for people.
2019-01-07 17:46:32 -07:00
J. Ryan Stinnett
bf87547f88
Remove unexpected underline from pills
...
Fixes vector-im/riot-web#8031 .
2019-01-07 09:56:40 -06:00
Bruno Windels
c6952ba5b6
fix some more lint warnings, as limit is 16 now
2019-01-07 16:56:35 +01:00
Bruno Windels
aedc220b62
fix (some) lint warnings
2019-01-07 16:33:23 +01:00
Bruno Windels
c2f6fc381c
add feature flag for grid view
2019-01-07 16:13:35 +01:00
Heitor
0de3e18f01
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 91.2% (1294 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-01-07 15:06:58 +00:00
Bruno Windels
8fa7ec0fac
fix lint
2019-01-07 16:03:24 +01:00
Bruno Windels
81c48f07c7
clear width of right panel container when collapsed in grid view
2019-01-07 15:20:39 +01:00
Bruno Windels
b63bd5ea54
allow right panel to be hidden (although container is still visible)
2019-01-07 14:59:00 +01:00
Erik Johnston
4c204e88be
Add feature flag for counters
2019-01-07 13:52:13 +00:00
Erik Johnston
712241d710
Add simple state counters to room heading
2019-01-07 13:52:13 +00:00
Bruno Windels
290dc9d8fb
Merge branch 'experimental' into bwindels/roomgridview-experimental
2019-01-07 14:17:57 +01:00
David Baker
8fbb0607ff
Re-write as full class component
...
So we can re-use the functions we pass to props
2019-01-07 12:09:19 +00:00
David Baker
522dddbd13
Lint
2019-01-07 10:13:02 +00:00
David Baker
47f303dc9d
Make logout warning nag about key backups
...
https://github.com/vector-im/riot-web/issues/7805
2019-01-07 10:08:57 +00:00
Paulo Miranda
8dbe87f09b
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 90.2% (1280 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-01-06 12:06:38 +00:00
Osoitz
aab7b541a1
Translated using Weblate (Basque)
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-01-06 09:12:37 +00:00
J. Ryan Stinnett
5419b4279b
Simplify create key backup maze
...
The download / copy actions to store the new recovery key now send you forward
(the most likely case) with a Back button in case you wanted to also do the
other storing type.
2019-01-04 17:14:10 -06:00
J. Ryan Stinnett
e6b6b463ce
Merge pull request #2401 from christopherjmedlin/name-command
...
Add slash command for changing room name
2019-01-04 14:22:40 -06:00
Christopher Medlin
e102000e58
Change to 'roomname' instead of 'name'.
2019-01-04 11:29:51 -08:00
Jeff Huang
b045fe7950
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-01-04 13:21:29 +00:00
Travis Ralston
5a2113e1a9
Fix a comparison bug in ordering the MemberList
2019-01-03 21:56:19 -07:00
Travis Ralston
77dfba8a22
Add unit tests for MemberList
...
Particularly the ordering of the tiles.
2019-01-03 21:55:52 -07:00
Travis Ralston
cc8fa7911b
Merge remote-tracking branch 'origin/experimental' into travis/fix-memberlist-order
2019-01-03 20:01:28 -07:00
J. Ryan Stinnett
920911c0a1
Room list fixes for custom status
2019-01-03 18:49:15 -06:00
Christopher Medlin
c89b6e1e27
Add slash command for changing room name
...
Signed-off-by: Christopher Medlin <christopherjmedlin@protonmail.com>
2019-01-03 15:42:17 -08:00
Travis Ralston
502288d4cc
Merge branch 'travis/room-list-hover' into travis/re-apply-exp-changes
2019-01-03 16:28:05 -07:00
Travis Ralston
1481dcf9d7
Don't re-sort the room list if the user is hovering over it
...
Fixes vector-im/riot-web#5624
2019-01-03 16:27:59 -07:00
Travis Ralston
643dd5ca47
Add a comment explaining the reason for setting the LOGGED_IN view
2019-01-03 16:26:09 -07:00
Travis Ralston
d8f6a7c684
Add missing stopPropagation
2019-01-03 16:26:01 -07:00
Travis Ralston
2e5b3ec0f1
Use the safer way to set the logged in view state
2019-01-03 16:25:55 -07:00
Travis Ralston
8f5e825cd5
Fix browser navigation not working between /home, /login, /register, etc
...
All of the anchors were pointed at `#` which, when clicked, would trigger a hash change in the browser. This change races the change made by the screen handling where the screen handling ends up losing. Because the hash is then tracked as empty rather than `#/login` (for example), the state machine considers future changes as no-ops and doesn't do anything with them.
By using `preventDefault` and `stopPropagation` on the anchor click events, we prevent the browser from automatically going to an empty hash, which then means the screen handling isn't racing the browser, and the hash change state machine doesn't no-op.
After applying that fix, going between pages worked great unless you were going from /login to /home. This is because the MatrixChat state machine was now out of sync (a `view` of `LOGIN` but a `page` of `HomePage` - an invalid state). All we have to do here is ensure the right view is used when navigating to the homepage.
Fixes https://github.com/vector-im/riot-web/issues/4061
Note: the concerns in 4061 about logging out upon entering the view appear to have been solved. Navigating to the login page doesn't obliterate your session, at least in my testing.
2019-01-03 16:25:51 -07:00
Travis Ralston
01eacfa26a
Regenerate en_EN.json
2019-01-03 16:02:36 -07:00
Travis Ralston
8017f0a4a1
Merge remote-tracking branch 'origin/experimental' into travis/develop-for-real
2019-01-03 16:00:23 -07:00
Travis Ralston
6447a60e1f
Revert "Merge pull request #2336 from matrix-org/travis/notif-button"
...
This reverts commit 96300b45b7
.
2019-01-03 15:44:07 -07:00
David Baker
f928be6f59
Revert "Merge pull request #2395 from matrix-org/dbkr/merge_develop_experimental"
...
This reverts commit ad47144355
.
2019-01-03 15:37:03 -07:00
Travis Ralston
d111fe27bb
Revert "Merge pull request #2396 from matrix-org/travis/room-list-hover"
...
This reverts commit 5098b28672
.
2019-01-03 15:36:56 -07:00
Travis Ralston
0978687c65
Revert "Merge pull request #2383 from matrix-org/travis/back-button"
...
This reverts commit 78592286bd
.
2019-01-03 15:36:51 -07:00
Travis Ralston
78592286bd
Merge pull request #2383 from matrix-org/travis/back-button
...
Fix browser navigation not working between /home, /login, /register, etc
2019-01-03 14:37:04 -07:00
Travis Ralston
e5192811a1
Add a comment explaining the reason for setting the LOGGED_IN view
2019-01-03 14:23:27 -07:00
Travis Ralston
4c264b87fa
Add missing stopPropagation
2019-01-03 14:23:26 -07:00
Travis Ralston
7904b91b58
Use the safer way to set the logged in view state
2019-01-03 14:23:26 -07:00
Travis Ralston
223a49d81f
Don't re-sort the room list if the user is hovering over it
...
Fixes vector-im/riot-web#5624
2019-01-03 13:57:20 -07:00
Travis Ralston
95844ebf9d
Comment out debugging statements
...
They are useful to have around, but not to have enabled all the time.
2019-01-03 12:15:27 -07:00
Travis Ralston
63a7b86eac
Flatten and simplify the memberlist sorting algorithm
...
The previous algorithm had a bug where it was getting stuck on the power level comparison, leaving the memberlist incorrectly ordered. The new algorithm uses less branching to try and walk through the different cases instead. Additionally, the steps used to determine the order have changed slightly to better represent an active member list.
This commit also includes changes to try and re-sort the member list more often during presence changes. Events are not always emitted, however. This may be a js-sdk bug but appears to happen prior to these changes as well.
Fixes https://github.com/vector-im/riot-web/issues/6953
2019-01-03 12:15:19 -07:00
Travis Ralston
35c9dce241
Fix browser navigation not working between /home, /login, /register, etc
...
All of the anchors were pointed at `#` which, when clicked, would trigger a hash change in the browser. This change races the change made by the screen handling where the screen handling ends up losing. Because the hash is then tracked as empty rather than `#/login` (for example), the state machine considers future changes as no-ops and doesn't do anything with them.
By using `preventDefault` and `stopPropagation` on the anchor click events, we prevent the browser from automatically going to an empty hash, which then means the screen handling isn't racing the browser, and the hash change state machine doesn't no-op.
After applying that fix, going between pages worked great unless you were going from /login to /home. This is because the MatrixChat state machine was now out of sync (a `view` of `LOGIN` but a `page` of `HomePage` - an invalid state). All we have to do here is ensure the right view is used when navigating to the homepage.
Fixes https://github.com/vector-im/riot-web/issues/4061
Note: the concerns in 4061 about logging out upon entering the view appear to have been solved. Navigating to the login page doesn't obliterate your session, at least in my testing.
2019-01-03 12:13:41 -07:00
David Baker
982e037822
Fix merge
2019-01-03 18:05:38 +00:00
David Baker
7d161de35b
Partial merge of develop to experimental
...
Does not include #2336 as the file has been moved out from underneath it:
will do this separately
2019-01-03 15:02:58 +00:00
Szimszon
255688546c
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-01-03 11:51:57 +00:00
Kévin C
ea7b7797a7
Translated using Weblate (French)
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-01-03 10:57:29 +00:00
Besnik Bleta
451743c459
Translated using Weblate (Albanian)
...
Currently translated at 99.2% (1408 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-01-03 10:48:02 +00:00
Weblate
90622b58b1
Merge remote-tracking branch 'origin/develop' into develop
2019-01-03 10:27:40 +00:00
David Baker
c11d0bdf0c
Merge pull request #2394 from jryans/key-backup-unverified-creator
...
Show in-room reminder when key backup creating device unverified
2019-01-03 10:27:35 +00:00
Weblate
5c3d11dddc
Merge remote-tracking branch 'origin/develop' into develop
2019-01-02 22:35:55 +00:00
Silvano
8e9fcbefff
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-01-02 22:35:55 +00:00
Jeff Huang
1d5b3df5f1
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-01-02 22:35:54 +00:00
J. Ryan Stinnett
758e867208
Merge pull request #2389 from christopherjmedlin/consistent-flair-ordering
...
Consistent flair ordering.
2019-01-02 16:35:50 -06:00
J. Ryan Stinnett
402f58225f
Show in-room reminder when key backup creating device unverified
...
If the current device hasn't verified the device that created the account's
current key backup version, then the current device is won't use the key backup.
This change adjusts an existing in-room reminder to do the right thing for this
case by allowing the user to verify the device that created the key backup.
Fixes vector-im/riot-web#7902 .
2019-01-02 15:36:40 -06:00
Osoitz
3f6bd1f94b
Translated using Weblate (Basque)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-12-30 12:03:39 +00:00
Weblate
fb29eff011
Merge remote-tracking branch 'origin/develop' into develop
2018-12-29 02:16:13 +00:00
Karol Kosek
fbded08050
Translated using Weblate (Polish)
...
Currently translated at 92.0% (1304 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-29 02:16:13 +00:00
Szimszon
2340798fcf
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-29 02:16:12 +00:00
Osoitz
d4aab3dc81
Translated using Weblate (Basque)
...
Currently translated at 99.5% (1410 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-12-29 02:16:11 +00:00
Travis Ralston
1b8a8e9552
Merge pull request #2385 from matrix-org/travis/7838-logging
...
Add some logging for riot-web#7838
2018-12-28 19:16:07 -07:00
Christopher Medlin
384320e29f
Consistently order flairs based on room configuration.
2018-12-24 14:46:36 -08:00
Weblate
9d175f9a05
Merge remote-tracking branch 'origin/develop' into develop
2018-12-24 09:43:08 +00:00
Karol Kosek
09dc0f2a3a
Translated using Weblate (Polish)
...
Currently translated at 92.0% (1304 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-24 09:43:08 +00:00
Besnik Bleta
095f43c896
Translated using Weblate (Albanian)
...
Currently translated at 99.2% (1407 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-24 09:43:06 +00:00
Travis Ralston
f5ff580e35
Add some logging for riot-web#7838
...
See https://github.com/vector-im/riot-web/issues/7838
2018-12-21 14:51:05 -07:00
Richard van der Hoff
9c781417ff
Merge remote-tracking branch 'origin/develop' into rav/well_known_in_login_response
2018-12-21 16:52:02 +00:00
random
cb7ba63494
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-12-21 14:14:03 +00:00
Slavi Pantaleev
0ea8eec304
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-12-21 11:43:03 +00:00
Richard van der Hoff
991104d156
Handle well-known data in the login response
...
... as per [MSC1730](https://github.com/matrix-org/matrix-doc/pull/1730 ).
2018-12-21 09:51:03 +00:00
J. Ryan Stinnett
097d6fdede
Update room filter focus handling to avoid infinite loop
...
The classes on the search box input were changed without updating the focusing
loop in the room filter which used one of these classes as a boundary condition.
This led to a case that could loop forever.
Regressed by #2267 .
Fixes vector-im/riot-web#7926 .
2018-12-20 23:09:28 +00:00
Kévin C
5c1072e569
Translated using Weblate (French)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-12-20 08:55:20 +00:00
Jeff Huang
8a45dea261
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-12-20 03:41:57 +00:00
Bruno Windels
d558ea1dbf
WIP
2018-12-19 23:51:19 +01:00
Szimszon
ce7485854e
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-19 18:31:08 +00:00
Weblate
fab257798c
Merge remote-tracking branch 'origin/develop' into develop
2018-12-19 18:11:21 +00:00
Travis Ralston
2e1e536d5c
Merge pull request #2347 from matrix-org/travis/custom-status
...
Custom status messages
2018-12-19 11:11:15 -07:00
Weblate
6db4e32f19
Merge remote-tracking branch 'origin/develop' into develop
2018-12-19 18:10:26 +00:00
J. Ryan Stinnett
fd94dc686f
Handle errors when fetching commits for changelog
...
It's possible to get errors when fetching commits (for example, if the rate
limit is exceeded), so this will handle the error case and display it instead of
an infinite spinner.
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-19 18:10:21 +00:00
Weblate
694093c775
Merge remote-tracking branch 'origin/develop' into develop
2018-12-19 17:46:44 +00:00
J. Ryan Stinnett
37256d2976
Use primary styling on download / clipboard key actions
...
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-19 17:46:37 +00:00
J. Ryan Stinnett
24f0123ded
Convert pass phrase entry to flexbox
...
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-19 17:46:37 +00:00
J. Ryan Stinnett
a597ad10b0
Add a few more zxcvbn strings
...
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-19 17:46:37 +00:00
J. Ryan Stinnett
9c4ff4048a
Convert show recovery key to flexbox
...
This allows the buttons to fit on a single line and flows a bit better at low
widths.
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-19 17:46:37 +00:00
Travis Ralston
a1347add95
Merge branch 'develop' into travis/custom-status
2018-12-19 10:33:34 -07:00
Travis Ralston
45f05092ed
Add a comment to describe why we're not using the property we should be
2018-12-19 10:21:43 -07:00
Jeff Huang
b9793af90c
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1411 of 1411 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-12-19 13:40:52 +00:00
Bruno Windels
b3a12867a6
remove extra blank lines
2018-12-19 12:56:08 +01:00
Bruno Windels
b826b0d998
Add redesign feedback dialog + button in tag panel
2018-12-19 12:27:05 +01:00
Weblate
7c0cfa6f5f
Merge remote-tracking branch 'origin/develop' into develop
2018-12-19 09:48:11 +00:00
Akarshan Biswas
73e20ebf9f
Translated using Weblate (Hindi)
...
Currently translated at 36.8% (520 of 1411 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hi/
2018-12-19 09:48:10 +00:00
David Baker
1ca91370f3
Merge pull request #2372 from matrix-org/dbkr/electron_sandbox
...
React-sdk changes to support sandboxed electron
2018-12-19 09:48:05 +00:00
Kévin C
8c36e725c4
Translated using Weblate (French)
...
Currently translated at 100.0% (1411 of 1411 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-12-19 09:16:55 +00:00
Travis Ralston
04c9fff6ce
Add a feature flag for custom status messages
2018-12-18 15:11:08 -07:00
Travis Ralston
d20a934642
Appease the linter
2018-12-18 11:04:16 -07:00
David Baker
3a8b9ab850
unused import
2018-12-18 17:57:23 +00:00
Travis Ralston
ef60a34180
Clean up and follow code style
2018-12-18 10:53:37 -07:00
David Baker
37b3644fd9
React-sdk changes to support sandboxed electron
2018-12-18 17:40:30 +00:00
Bruno Windels
1d43712a8f
Merge branch 'experimental' into nadonomy/icons
2018-12-18 18:22:24 +01:00
Besnik Bleta
618ed725c8
Translated using Weblate (Albanian)
...
Currently translated at 99.2% (1401 of 1411 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-18 17:01:41 +00:00
Nad Chishtie
074c96cd3e
First pass of normalising icons.
2018-12-18 16:48:20 +00:00
Bruno Windels
8df139bfab
Merge pull request #2369 from matrix-org/bwindels/rhsdefaultsize
...
Redesign: give right panel default width
2018-12-18 16:20:51 +00:00
Bruno Windels
23f24a987c
Merge pull request #2367 from matrix-org/bwindels/selectqueryonclick
...
Redesign: select search query on focus
2018-12-18 16:19:24 +00:00
Bruno Windels
5e2ee883aa
Merge pull request #2366 from matrix-org/bwindels/fixrhscollapse
...
Redesign: fix remaining right panel collapse issues.
2018-12-18 16:19:02 +00:00
Bruno Windels
fd5ad56886
give right panel default width of 350px
2018-12-18 17:12:32 +01:00
Bruno Windels
dd6dd7a4fc
select search query on focus
2018-12-18 16:37:37 +01:00
Bruno Windels
4b788fcb7e
fix lint
2018-12-18 16:29:31 +01:00
Bruno Windels
c0ab74d5f1
reemit view_right_panel_phase when showing rhs, so right tab is active
2018-12-18 16:27:17 +01:00
Weblate
cc980014b7
Merge remote-tracking branch 'origin/develop' into develop
2018-12-18 14:57:52 +00:00
Travis Ralston
66f5d0612c
Merge pull request #2363 from matrix-org/travis/fix-group-view
...
Make sure to grab the InlineSpinner object
2018-12-18 07:57:46 -07:00
Bruno Windels
92c598dbcf
remove group header expand right panel button
2018-12-18 15:38:15 +01:00
Bruno Windels
dafc54c434
don't highlight room header buttons when right panel is collapsed
2018-12-18 15:36:54 +01:00
Bruno Windels
a10f0a3267
don't open right panel when switching room again
...
a view_right_panel_phase is dispatched by RoomHeaderButtons
on view_room, which was triggering this to show the panel again.
Check the fromHeader flag just like when hiding the panel so
only room header buttons can hide or show the right panel
2018-12-18 15:33:45 +01:00
Bruno Windels
2cb817ae26
remove dead code (collapse button was removed)
2018-12-18 15:33:28 +01:00
Bruno Windels
acba36c975
Merge pull request #2364 from matrix-org/bwindels/fixresizepersistenceandscrollindicator-again
...
Redesign: left panel fixes
2018-12-18 14:23:38 +00:00
Bruno Windels
31c13adaba
cleanup: do initialization in componentDidMount instead of render
2018-12-18 15:10:57 +01:00
Bruno Windels
2cda6d8f35
fix empty comment line
2018-12-18 15:06:56 +01:00
Bruno Windels
279521cab4
add id to props for completeness
2018-12-18 14:31:38 +01:00
Bruno Windels
e67d9c6d4f
forward checkOverflow to AutoHideScrollbar, fix over/underflow detection
...
the overflow/underflow events are not always reliable in nooverlay
browsers (FF), so forward the checkOverflow call we need anyway
for the scroll indicator gradients to see if we need to do the
margin trick for the on-hover scrollbar we use in nooverlay browsers.
this fixes on hover jumping in a subroomlist
2018-12-18 14:29:42 +01:00
Bruno Windels
3ddc8baed1
fix resizing sometimes not working (and selecting text)
...
Last friday a child <div> was added inside the ResizeHandle component,
which made the parentElement/classList checks fail on the event.target
here. This would only fail (and select all the text) when dragging exactly on
the grey line (the div), not the transparent margin around it.
use closest to make sure we have the root element of the handle.
2018-12-18 14:27:10 +01:00
Bruno Windels
cdcb3c1a55
check overflow and restore sizes in more places inside RoomList:
...
check overflow on mount
restore size on query change (in case a sublist appeared)
check overflow when updating rooms
avoid duplicating for restoring size and checking overflow
2018-12-18 14:26:33 +01:00
Szimszon
98afb9399f
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1411 of 1411 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-18 10:34:46 +00:00
Weblate
f00af760ec
Merge remote-tracking branch 'origin/develop' into develop
2018-12-18 10:20:19 +00:00
J. Ryan Stinnett
acc2e98355
Add New Recovery Method dialog
...
Adds a New Recovery Method dialog which is shown when key backup fails because
of a version mismatch / version not found error.
The set up button in the dialog currently only marks a device as verified (via a
verification prompt) instead of the eventual restore and cross-sign flow, since
those pieces don't exist yet.
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-18 10:20:12 +00:00
J. Ryan Stinnett
2b14f2af5c
Clean up when new key backup version fails to backup
...
If creating a new key backup version succeeds but backing up to it fails, delete
the version to avoid surprises. In addition, this converts the creation of a new
key backup to async / await style.
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-18 10:20:12 +00:00
Bruno Windels
b359a2edee
call header clicked callback after rerendering, so resizer has DOM nodes
2018-12-18 10:56:00 +01:00
Bruno Windels
0676c1b8ad
Merge pull request #2361 from matrix-org/bwindels/collapserhs
...
Redesign: allow to hide the right panel when clicking already active button & persist
2018-12-18 09:46:30 +00:00
Bruno Windels
f6727c5724
add collapsedRhs to propTypes
2018-12-18 10:34:26 +01:00
Travis Ralston
c6da61f1de
Make sure to grab the InlineSpinner object
2018-12-17 18:47:33 -07:00
Weblate
96d218dcb3
Merge remote-tracking branch 'origin/develop' into develop
2018-12-18 00:43:44 +00:00
Karol Kosek
e0b03872a0
Translated using Weblate (Polish)
...
Currently translated at 92.7% (1303 of 1405 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-18 00:43:43 +00:00
Kévin C
c34d14436e
Translated using Weblate (French)
...
Currently translated at 100.0% (1405 of 1405 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-12-18 00:43:43 +00:00
Besnik Bleta
71a4adf47d
Translated using Weblate (Albanian)
...
Currently translated at 99.2% (1395 of 1405 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-18 00:43:41 +00:00
Willem Mulder
d304c35b38
Allow widgets to autoplay media
...
This is useful for e.g. webcam streams in widgets.
Signed-off-by: Willem Mulder <willemmaster@hotmail.com>
2018-12-18 00:43:37 +00:00