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