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
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
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
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
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
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
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
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
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
Bruno Windels
b7c353d0a6
persist and load collapsed rhs globally
2018-12-17 15:56:35 +01:00
Bruno Windels
f744374d1d
read collapsedRhs from props when mounting main split
2018-12-17 15:56:17 +01:00
Bruno Windels
a734fb9d35
dont set initial phase, show panel when collapsed
2018-12-17 15:55:26 +01:00
Bruno Windels
f7b6e9c6fc
name collapsedRhs consistently everywhere
2018-12-17 15:30:39 +01:00
Bruno Windels
65f9bc9754
remove expand button in room header
2018-12-17 15:23:46 +01:00
Bruno Windels
bbafd8c2d3
toggle right panel when clicking already active header button
2018-12-17 15:22:02 +01:00
Bruno Windels
e26fd6c27a
Merge pull request #2359 from matrix-org/bwindels/higherdensityroomlist
...
Redesign: make room tiles less high so more rooms fit on the screen
2018-12-17 14:09:45 +00:00
Bruno Windels
242b0c21ac
make avatar 24px and tile height 32px
2018-12-17 14:03:48 +01:00
Bruno Windels
532fb6ea78
update comment as well
2018-12-17 13:58:36 +01:00
Bruno Windels
4fffb55cc5
ignore any unknown tags
2018-12-17 13:52:32 +01:00
Bruno Windels
510cec1ebf
disabling setting theme without breaking the build
2018-12-17 12:49:38 +01:00
Bruno Windels
649910139a
disable setting theme completely
2018-12-17 12:27:42 +01:00
Slavi Pantaleev
d9f566cd13
Translated using Weblate (Bulgarian)
...
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/bg/
2018-12-17 01:21:24 +00:00
Travis Ralston
c706135c6e
Force use of dharma theme
2018-12-16 12:49:41 -07:00
Travis Ralston
7b0766a303
Apply 50% opacity to the checkmark when there is no status
2018-12-14 13:49:35 -07:00
Travis Ralston
7efd82f713
Disable password managers on the status form
2018-12-14 13:44:40 -07:00
Bruno Windels
3ea0fd1a2f
fix overflow indicators not being updated when searching
2018-12-14 17:06:51 +01:00
Bruno Windels
e4d2b6f2b7
fix resize handles being too thick on edge (hopefully)
2018-12-14 17:06:00 +01:00
Bruno Windels
7b6c863377
fix lint
2018-12-14 15:53:52 +01:00
random
379906cad8
Translated using Weblate (Italian)
...
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/it/
2018-12-14 11:12:18 +00:00
Kévin C
ef1ad6f4b6
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-14 08:25:05 +00:00
Szimszon
d958a4fc1f
Translated using Weblate (Hungarian)
...
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/hu/
2018-12-14 07:14:08 +00:00
Weblate
8004e1b23f
Merge remote-tracking branch 'origin/develop' into develop
2018-12-14 05:09:54 +00:00
Travis Ralston
7ed9559ad7
Merge pull request #2351 from matrix-org/travis/fix-username-requirements
...
Standardize errors about localpart structure
2018-12-13 22:09:49 -07:00
Travis Ralston
576bfedfb5
Remove global flag
...
Regular expression objects are stateful, and the global flag interferes badly with the expression. A valid call can cause it to act like a flip flop instead of a stateless test.
2018-12-13 22:00:06 -07:00
Jeff Huang
e61f7bca8e
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1404 of 1404 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-12-14 01:35:04 +00:00
Travis Ralston
8592e76e12
Standardize errors about localpart structure
...
Fixes https://github.com/vector-im/riot-web/issues/5833
This also includes changing some Jira references that aren't searchable anymore, and a thing to replace the spinner on the SetMxidDialog as per https://github.com/vector-im/riot-web/issues/5833#issuecomment-445323177
2018-12-13 16:45:30 -07:00
Weblate
6dd854996e
Merge remote-tracking branch 'origin/develop' into develop
2018-12-13 23:36:23 +00:00
Travis Ralston
49769a405d
Fix translation error on notification icon
...
Introduced by https://github.com/matrix-org/matrix-react-sdk/pull/2336
2018-12-13 16:12:56 -07:00
Weblate
31819ade2c
Merge remote-tracking branch 'origin/develop' into develop
2018-12-13 21:55:11 +00:00