Commit Graph

15818 Commits (ba37a55a6c36d5ef47e3c6b6ec00753b1e8659c8)

Author SHA1 Message Date
J. Ryan Stinnett ba37a55a6c Install latest JS SDK when linting
Since React SDK's linting rules depend on JS SDK, we should use the latest
changes when linting as well in case there's been a recent rule change.
2019-06-04 16:40:45 +01:00
J. Ryan Stinnett 4956dcf45e
Merge pull request #3056 from matrix-org/jryans/read-receipts-relations-review
Ensure we always show read receipts even with hidden events
2019-06-04 16:24:05 +01:00
J. Ryan Stinnett 8e811fc78e Use the existing room object
For some reason, we were getting the room object for every event during read
receipt processing, even though it has been passed in as a prop already.
2019-06-04 16:01:02 +01:00
J. Ryan Stinnett 06547ef5b3 Cache hidden events setting
Settings is too expensive to query in a hot code path, so this caches the value
on the MessagePanel component instead.
2019-06-04 16:01:02 +01:00
J. Ryan Stinnett bea845a80d
Merge pull request #3059 from matrix-org/jryans/read-receipts-relations-send-review
Advance read receipts into trailing events without tiles
2019-06-04 14:35:14 +01:00
David Baker 1618813652
Merge pull request #3061 from matrix-org/dbkr/remove_unused_errortext_prop
Remove unused errorText prop
2019-06-04 13:50:24 +01: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
J. Ryan Stinnett e5abb2e089 Add more read receipt comments 2019-06-04 11:12:52 +01:00
Travis Ralston a6995ae10a
Merge pull request #3060 from matrix-org/hs/remove-settingsstore
Renove SettingsStore reference in RoomSettingsDialog
2019-06-03 17:45:16 -06:00
Will Hunt d752389cfd
Renove SettingsStore 2019-06-03 23:31:28 +01: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
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
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
J. Ryan Stinnett 12684c396c
Merge pull request #3055 from matrix-org/jryans/message-panel-linting
Fix linting in MessagePanel
2019-06-03 16:14:41 +01: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
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
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
Matthew Hodgson 1515f8de17
Merge pull request #3050 from matrix-org/matthew/sbix
add sbix fallback twemoji font (and bump to emoji 12)
2019-06-03 10:01:39 +01: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 f9d40940e8 upgrade to twemoji 12.0.4 2019-06-02 06:09:03 +01:00
Matthew Hodgson e8d8eee67b fix ligatures fully 2019-06-02 05:36:59 +01:00
Matthew Hodgson 16ca31bf90 lint 2019-06-02 04:47:23 +01:00
Matthew Hodgson 1abd3db40c add extra ligatures 2019-06-02 04:46:00 +01:00
Matthew Hodgson caa950f625 add SBIX fallback twemoji font 2019-06-02 04:24:36 +01:00
Travis Ralston 7a4d69f037
Merge pull request #3049 from matrix-org/travis/default-country-code
Add option to change the default country code
2019-06-01 12:11:21 -06: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
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
Travis Ralston f512f51f54
Merge pull request #3048 from matrix-org/travis/fix-lowbandwidth-logout
Don't try and low encryption info when signing out in low bandwidth mode
2019-05-31 09:27:43 -06: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
Bruno Windels 2f98d0edb7
Merge pull request #3047 from matrix-org/bwindels/autocomplete-enter-fix
only capture enter if something was selected in completions
2019-05-31 13:17:35 +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
RiotRobot 512c9b2ac8 Merge branch 'master' into develop 2019-05-31 11:26:49 +01:00
RiotRobot 21c8a64ce1 v1.2.1 2019-05-31 11:26:02 +01:00
RiotRobot 667232ded7 Prepare changelog for v1.2.1 2019-05-31 11:26:02 +01:00