Commit graph

12979 commits

Author SHA1 Message Date
Besnik Bleta
0cc272e770 Translated using Weblate (Albanian)
Currently translated at 99.6% (1635 of 1641 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-06-04 12:50:29 +00:00
David Baker
e1fa53e5d4 Remove unused errorText prop
Login is only used from MatrixChat and that doesn't specify it
2019-06-04 13:30:36 +01:00
Bruno Windels
a11deffe5e only show "can't redact" dialog when not a network error
as the redaction is queued now and might be sent later
2019-06-04 13:32:14 +02:00
J. Ryan Stinnett
e5abb2e089 Add more read receipt comments 2019-06-04 11:12:52 +01:00
Weblate
3458dd4ff6 Merge branch 'origin/develop' into Weblate. 2019-06-03 23:45:21 +00:00
Stanislav Lukeš
e53d05dc26 Translated using Weblate (Czech)
Currently translated at 99.9% (1640 of 1641 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-06-03 23:45:20 +00:00
Will Hunt
d752389cfd
Renove SettingsStore 2019-06-03 23:31:28 +01:00
Weblate
ec56de09b2 Merge branch 'origin/develop' into Weblate. 2019-06-03 20:31:47 +00:00
Nathan Follens
5b8b462ed7 Translated using Weblate (West Flemish)
Currently translated at 100.0% (1634 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/vls/
2019-06-03 20:31:47 +00:00
Nathan Follens
d41fcacf9e Translated using Weblate (Dutch)
Currently translated at 99.9% (1633 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-06-03 20:31:43 +00:00
Travis Ralston
635b1ff612
Merge pull request #2928 from Half-Shot/hs/custom-notif-sounds
Custom notification sounds for rooms
2019-06-03 14:31:38 -06:00
Will Hunt
721607b696
Remove whitespace 2019-06-03 21:19:58 +01:00
Will Hunt
673a8fcb9d
Update src/Notifier.js
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2019-06-03 21:19:17 +01:00
J. Ryan Stinnett
96b213e7cb Advance read receipts into trailing events without tiles
This changes read receipt sending logic to allow it advance further into events
without tiles (such as edits or reactions) that may exist after the last
displayed event.

By allowing the read receipt to advance past such events, this also marks as
read any related notifications. For example, edits trigger notifications by
default since they are `m.room.message` events, and with this change, such edit
notifications can finally be marked read.

Part of https://github.com/vector-im/riot-web/issues/9745
2019-06-03 18:25:35 +01:00
Weblate
49574352fa Merge branch 'origin/develop' into Weblate. 2019-06-03 16:48:07 +00:00
J. Ryan Stinnett
42c8a9b5f9
Merge pull request #3054 from matrix-org/jryans/unread-room-coomments
Fix comments in unread room tracking
2019-06-03 17:48:03 +01:00
Weblate
456c416a33 Merge branch 'origin/develop' into Weblate. 2019-06-03 16:44:00 +00:00
Nathan Follens
0064e42e89 Translated using Weblate (West Flemish)
Currently translated at 100.0% (1634 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/vls/
2019-06-03 16:44:00 +00:00
Nathan Follens
b5ed2ff75c Translated using Weblate (Dutch)
Currently translated at 99.9% (1633 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-06-03 16:43:57 +00:00
J. Ryan Stinnett
b13f6b8c52
Merge pull request #3057 from matrix-org/jryans/show-hidden-replacements
Allow source tile handler for replacements
2019-06-03 17:43:53 +01:00
Will Hunt
300095f50f Remove labs flag for custom notif sounds 2019-06-03 17:35:15 +01:00
J. Ryan Stinnett
b309ebf99d Allow source tile handler for replacements
If the debugging mode of showing hidden events in the timeline is enabled, we
should also show replacements using the same view source tile as we do for
reactions. This allows easy debugging of replacement event data and also makes
the edit event look visually distinct from regular messages.

Fixes https://github.com/vector-im/riot-web/issues/9937
2019-06-03 16:29:20 +01:00
Weblate
d97437c9ba Merge branch 'origin/develop' into Weblate. 2019-06-03 15:14:50 +00:00
Nathan Follens
496d67473c Translated using Weblate (West Flemish)
Currently translated at 99.9% (1633 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/vls/
2019-06-03 15:14:50 +00:00
Walter
30f3ffcb82 Translated using Weblate (Russian)
Currently translated at 98.2% (1605 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-06-03 15:14:46 +00:00
Nathan Follens
5d26f8e38e Translated using Weblate (Dutch)
Currently translated at 99.9% (1633 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-06-03 15:14:45 +00:00
J. Ryan Stinnett
4cea2f0af1 Ensure we always have receipts for users we've seen
This adds additional receipt storage to so that we can handle cases where the
receipts and events lists get out of sync. If we ever find a user who previously
had a receipt but momentarily no longer does, we recover their previous receipt
and go with that until we hear something new.

Part of https://github.com/vector-im/riot-web/issues/9745
2019-06-03 15:05:03 +01:00
J. Ryan Stinnett
f8eb449dd7 Show read receipts for hidden events on last shown event
This changes how we determine read receipts for the entire message panel. We now
calculate read receipts for all events up front, which makes it easier to handle
hidden events by moving their read receipts up to the last shown event for
display purposes.

Part of https://github.com/vector-im/riot-web/issues/9745
2019-06-03 15:05:03 +01:00
J. Ryan Stinnett
91e86d2b02 Fix linting in MessagePanel 2019-06-03 15:03:59 +01:00
J. Ryan Stinnett
1a37055fc3 Fix comments in unread room tracking
A few comments mention read marker where they really mean read receipt.
2019-06-03 15:01:28 +01:00
Weblate
5d42eee9f9 Merge branch 'origin/develop' into Weblate. 2019-06-03 13:10:56 +00:00
Weblate
c75ff5cc55 Merge branch 'origin/develop' into Weblate. 2019-06-03 13:10:54 +00:00
Nathan Follens
677a5e9db0 Translated using Weblate (West Flemish)
Currently translated at 100.0% (1634 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/vls/
2019-06-03 13:10:54 +00:00
Travis Ralston
ad84144543
Merge pull request #3053 from matrix-org/travis/bc-labs
Convert breadcrumbs from labs to real setting
2019-06-03 07:10:51 -06:00
Travis Ralston
78a0488317
Merge pull request #3052 from matrix-org/travis/bc-debounce-notifs
Add local echo on badges in breadcrumbs
2019-06-03 07:10:13 -06:00
random
564525771c Translated using Weblate (Italian)
Currently translated at 99.9% (1632 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-06-03 13:09:42 +00:00
Nathan Follens
7de1a44d9b Translated using Weblate (Dutch)
Currently translated at 100.0% (1634 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-06-03 13:09:42 +00:00
Travis Ralston
8daef3f1e4
Merge pull request #3051 from matrix-org/travis/bc-sidescroller
Counteract smooth scrolling on breadcrumbs
2019-06-03 07:09:36 -06:00
Nathan Follens
455b40f28d Added translation using Weblate (West Flemish) 2019-06-03 10:21:19 +00:00
Weblate
d8dbcdf3d5 Merge branch 'origin/develop' into Weblate. 2019-06-03 09:01:49 +00:00
Jeff Huang
75d909f7ca Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1634 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-06-03 09:01:49 +00:00
ferhad.necef
4bf99f9651 Translated using Weblate (Azerbaijani)
Currently translated at 21.7% (354 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/az/
2019-06-03 09:01:49 +00:00
Besnik Bleta
d8bf13ae0e Translated using Weblate (Albanian)
Currently translated at 99.7% (1629 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-06-03 09:01:47 +00:00
Travis Ralston
a71b4f5b4c Appease the linter 2019-06-03 00:17:08 -06:00
Travis Ralston
7f0282a2e8 Convert breadcrumbs from labs to real setting
Fixes https://github.com/vector-im/riot-web/issues/9391
2019-06-03 00:15:33 -06:00
Travis Ralston
dd42e87c3c Add local echo on badges in breadcrumbs
Fixes https://github.com/vector-im/riot-web/issues/9890
2019-06-03 00:07:32 -06:00
Travis Ralston
8c414a9333 Counteract smooth scrolling on breadcrumbs
Smooth scrolling browsers (Firefox) use the relative area to determine how much scroll to apply. Because breadcrumbs are short vertically, the scroll amount is minimal (3 units) in the Y direction. On browsers which don't smooth scroll the units are usually much higher (100 in Chrome on Win 10). Users seem to expect the scrolling to be quicker due to the horizontal space on breadcrumbs, so we add a bit more power to their scroll when it looks small.

Fixes https://github.com/vector-im/riot-web/issues/9394
2019-06-02 23:59:02 -06:00
Matthew Hodgson
16ca31bf90 lint 2019-06-02 04:47:23 +01:00
Matthew Hodgson
caa950f625 add SBIX fallback twemoji font 2019-06-02 04:24:36 +01:00
Marco Cafolla
ad29829af9 Added translation using Weblate (Scots) 2019-06-02 00:23:47 +00:00
Weblate
3276945d4d Merge branch 'origin/develop' into Weblate. 2019-06-01 18:11:26 +00:00
Karol Kosek
c2fc681769 Translated using Weblate (Polish)
Currently translated at 74.5% (1217 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-06-01 18:11:26 +00:00
Travis Ralston
ecc0552e89 ToUpper the country code 2019-06-01 09:12:09 -06:00
Travis Ralston
c12ef8829c Remove debugging 2019-05-31 21:26:22 -06:00
Travis Ralston
3f646f13dd Add option to change the default country code
Fixes https://github.com/vector-im/riot-web/issues/9926
2019-05-31 21:25:13 -06:00
Weblate
79e647f79b Merge branch 'origin/develop' into Weblate. 2019-05-31 17:03:45 +00:00
Travis Ralston
1c41629376
Merge pull request #3043 from matrix-org/travis/check-login-for-config
Accept JSX into the GenericErrorPage and expose local session vars
2019-05-31 11:03:41 -06:00
Weblate
7a26100a2e Merge branch 'origin/develop' into Weblate. 2019-05-31 15:27:49 +00:00
Walter
98ab573b9a Translated using Weblate (Russian)
Currently translated at 97.1% (1586 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-05-31 15:27:49 +00:00
Travis Ralston
16a46be00f Cache shouldLoadBackupStatus in state 2019-05-31 09:20:13 -06:00
Travis Ralston
1c84abae44 Fix logout dialog for low bandwidth 2019-05-31 09:14:49 -06:00
Weblate
ed397a0542 Merge branch 'origin/develop' into Weblate. 2019-05-31 13:17:43 +00:00
Walter
7d3d6a763c Translated using Weblate (Russian)
Currently translated at 94.7% (1547 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-05-31 13:17:43 +00:00
Nathan Follens
061d72e286 Translated using Weblate (German)
Currently translated at 87.9% (1437 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-05-31 13:17:40 +00:00
Kévin C
da459c4f67 Translated using Weblate (French)
Currently translated at 100.0% (1634 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-05-31 13:17:40 +00:00
Nathan Follens
f68833c9ac Translated using Weblate (Dutch)
Currently translated at 99.9% (1633 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-05-31 13:17:39 +00:00
Bruno Windels
716719187d only capture enter if something was selected in completions 2019-05-31 15:05:09 +02:00
Will Hunt
96c20ea536 Add missing keys to notif sound setting 2019-05-31 11:40:23 +01:00
Will Hunt
9369e964fa Merge remote-tracking branch 'upstream/develop' into hs/custom-notif-sounds 2019-05-31 10:44:30 +01:00
Weblate
76a8265415 Merge branch 'origin/develop' into Weblate. 2019-05-31 09:21:48 +00:00
Bruno Windels
2d8c523642
Merge pull request #3040 from matrix-org/bwindels/editor-remaining-md
Fix: better HTML > MD conversion for editing, including lists and quotes
2019-05-31 09:21:43 +00:00
Szimszon
b9785ca025 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1634 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-05-31 09:17:31 +00:00
Bruno Windels
78fbea307c less escaping for backticks 2019-05-31 11:06:15 +02:00
Weblate
b3aa3f685f Merge branch 'origin/develop' into Weblate. 2019-05-31 08:57:09 +00:00
J. Ryan Stinnett
6ab136bd9a
Merge pull request #2598 from matrix-org/matthew/low_bandwidth
port over low_bandwidth mode to develop
2019-05-31 09:57:04 +01:00
Weblate
04655d3309 Merge branch 'origin/develop' into Weblate. 2019-05-31 08:44:12 +00:00
Karol Kosek
0fdcbbaa4f Translated using Weblate (Polish)
Currently translated at 73.9% (1207 of 1633 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-05-31 08:44:12 +00:00
Tirifto
da6a7d1048 Translated using Weblate (Esperanto)
Currently translated at 81.6% (1332 of 1633 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-05-31 08:44:11 +00:00
Nathan Follens
04252737b8 Translated using Weblate (Dutch)
Currently translated at 100.0% (1633 of 1633 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-05-31 08:44:11 +00:00
Jeff Huang
a3a75a9a7f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1633 of 1633 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-05-31 08:44:11 +00:00
Bruno Windels
eb8dd52437
Merge pull request #3029 from matrix-org/bwindels/pill-n-newlines
Fix: maintain caret at current line when position is on newline part
2019-05-31 08:44:02 +00:00
Travis Ralston
af86cdfe9a Disable avatars in desktop notifs when in LB mode 2019-05-30 20:02:25 -06:00
Travis Ralston
a935e26ee3 Add flag to config to always show labs settings 2019-05-30 19:57:37 -06:00
Travis Ralston
0d47222132 Add LB setting to new user settings
Put under labs out of concern for https://github.com/vector-im/riot-meta/issues/66
2019-05-30 19:57:17 -06:00
Travis Ralston
d81804e0fe Merge branch 'develop' into matthew/low_bandwidth 2019-05-30 19:42:09 -06:00
J. A. Durieux
e6850ccfc3 Translated using Weblate (Dutch)
Currently translated at 100.0% (1633 of 1633 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-05-30 21:08:15 +00:00
Weblate
4589493167 Merge branch 'origin/develop' into Weblate. 2019-05-30 10:01:16 +00:00
IevgenVovk
bc13aff5fe Translated using Weblate (Ukrainian)
Currently translated at 31.3% (511 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2019-05-30 10:01:16 +00:00
Walter
aaa75479b0 Translated using Weblate (German)
Currently translated at 88.0% (1438 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-05-30 10:01:16 +00:00
Stanislav Lukeš
0418aee922 Translated using Weblate (Czech)
Currently translated at 99.9% (1633 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-05-30 10:01:15 +00:00
Travis Ralston
5c85f4609e Accept JSX into the GenericErrorPage and expose local session vars 2019-05-29 12:09:04 -06:00
J. Ryan Stinnett
1e3e9f4f87 Remove username on HS input label
Removes redundant HS name on the username input that duplicates the header above
it.

Fixes https://github.com/vector-im/riot-web/issues/9884
2019-05-29 17:48:16 +01:00
Walter
35ea9fd8f4 Translated using Weblate (Russian)
Currently translated at 90.3% (1475 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-05-29 15:03:58 +00:00
Bruno Windels
686045b46a rewrite HTML>MD conversion,handle (nested) block elements&quotes better
Re-use walkDOMDepthFirst we already had for turning the editor into
a string, which also allows us to detect when leaving a node better,
which is needed to decide how block elements create newline parts
is more centralized and robust manner, more in line with
how html works (consecutive block elements break the line)
instead of hacky special casing from before.

Also, to support every line of MD generated
within a BLOCKQUOTE, the parts an element creates are returned
and then centrally prepended with "> ", instead of passing in
the parts array and doing it in every parse... function.
2019-05-29 14:46:15 +02:00
Bruno Windels
b0d87e7e47 allow enterNodeCallback to decide whether to decend into a node 2019-05-29 14:27:36 +02:00
Weblate
de41c14bf8 Merge branch 'origin/develop' into Weblate. 2019-05-29 11:57:01 +00:00
Bruno Windels
3793361240 always log on return false 2019-05-29 13:24:46 +02:00
Bruno Windels
26a5bb0dcb exclude chrome in ua from safari version check for colr support 2019-05-29 13:05:59 +02:00
Weblate
c3b4d9bdf5 Merge branch 'origin/develop' into Weblate. 2019-05-29 10:25:51 +00:00
Bruno Windels
f61e771f7a
Merge pull request #3034 from matrix-org/bwindels/colr-check-race
fix COLR font check being racy
2019-05-29 10:25:47 +00:00