Commit graph

2185 commits

Author SHA1 Message Date
Joseph Donofry
991fa4ac98
Change redaction color that accidentally got committed 2020-05-07 22:22:41 -04:00
Joseph Donofry
5b9611dcd3
Merge branch 'master' into reactions 2020-05-07 22:21:06 -04:00
Joseph Donofry
cc92161339
Fix redaction color change that accidentally got committed 2020-05-07 22:20:25 -04:00
Joseph Donofry
a1661f7006
merge master into reactions 2020-05-07 20:53:24 -04:00
DeepBlueV7.X
7beaf868ef
Merge pull request #192 from Nheko-Reborn/reactions
Reactions
2020-05-08 00:13:24 +02:00
Nicolas Werner
a942ae9b93 Fix messages being immediately read again 2020-05-06 19:21:31 +02:00
Nicolas Werner
0b1d3a40f4 Remove unused binding name 2020-05-06 13:45:38 +02:00
Nicolas Werner
e48dfd15fe Add shortcuts to select/deselect reply targets 2020-05-06 13:33:13 +02:00
Nicolas Werner
e5a5a66716 Fix reaction redaction for real this time 2020-05-06 12:52:13 +02:00
Nicolas Werner
ff54ce9334 Fix rooms with a lot of reactions not paginating correctly 2020-05-06 11:37:40 +02:00
Nicolas Werner
e045e3eb1c Show displayname on reactions 2020-05-06 11:28:24 +02:00
Nicolas Werner
8348a6c35d Fix reaction count 2020-05-06 11:15:45 +02:00
Nicolas Werner
a1951056da Reaction and Button layout fixes 2020-05-06 03:40:24 +02:00
Nicolas Werner
e55a09906f Misc color fixes 2020-05-05 23:43:43 +02:00
Nicolas Werner
ca5490074a Fix scroll to replied to message (somewhat) 2020-05-05 23:43:28 +02:00
Nicolas Werner
692c6119b4 Fix joined rooms dropping to the bottom at first 2020-05-05 19:08:59 +02:00
Nicolas Werner
db24f174b1 Fix jumpy room list, when sort order is ambiguous 2020-05-05 19:08:59 +02:00
Nicolas Werner
846ff33ed8 Position reaction emoji and text on the same baseline 2020-05-04 13:41:18 +02:00
Nicolas Werner
54013e4a00 Basic, broken reaction display 2020-05-04 13:14:54 +02:00
Nicolas Werner
a9aed09d35 Add placeholder for reactions 2020-05-04 00:59:05 +02:00
Nicolas Werner
a8b22e49c3 Fix self counting as read message 2020-05-04 00:57:40 +02:00
Nicolas Werner
0c73c74574 Speed up initial load a bit 2020-05-04 00:57:40 +02:00
DeepBlueV7.X
ccd55c70df
Merge pull request #189 from Nheko-Reborn/db-migrations
Db migrations
2020-05-03 01:56:06 +02:00
Nicolas Werner
d6685e8d61 Add delete pending_receipts migration 2020-05-02 17:24:45 +02:00
Nicolas Werner
dad2de7ba2 Add support for db migrations 2020-05-02 16:44:50 +02:00
DeepBlueV7.X
38417a374d
Merge pull request #184 from shocklateboy92/features/backlog-progress
Add visual indication that data is being fetched
2020-05-01 10:19:32 +02:00
Lasath Fernando
166ed0674d Run linter 2020-04-30 22:40:27 -07:00
Nicolas Werner
9750241e73 Old Qt doesn't have .get... 2020-05-01 00:38:07 +02:00
DeepBlueV7.X
00c4d2629a
Merge pull request #188 from Nheko-Reborn/optimize-cpu-usage
Optimize cpu usage
2020-05-01 00:21:13 +02:00
Nicolas Werner
641a883bfd Optimize RoomList sorting
Keep the almost sorted list around and sort by the raw timestamp value
instead of doing the expensive toMSecSinceEpoch conversion.
2020-04-30 23:59:17 +02:00
Nicolas Werner
e6fcccc8bd Don't store pending receipts in cache
We don't get notified for every message. Sometimes we only get a read
receipt for the newest message, which means old read receipts accumulate
in the database. This least to some considerable CPU overhead, when
checking if the timeline should be notified for new read receipts.
Instead just always notify, since that has far less overhead in the
worst case and doesn't need complicated cache cleanup.

The old pending_receipts db is not removed for now. It should still have
minimal storage overhead and we don't have a good mechanism for cache
format upgrades atm.
2020-04-30 22:42:56 +02:00
Nicolas Werner
2997155f56 Fix spacing of typing notifications 2020-04-30 22:02:41 +02:00
Nicolas Werner
0716bbafff Strip reply fallback from plain text body 2020-04-30 00:04:30 +02:00
Lasath Fernando
21b33363ce Make pagination spinner inline 2020-04-29 13:52:39 -07:00
Lasath Fernando
1f9d3024b1 Add visual indication that data is being fetched
This turns `paginationInProgress` field of `TimelineModel` into a `Q_PROPERTY`, so the Ui can bind to it.
For the moment, I'm showing the same spinner as we do during initial sync. It's not ideal, on the count of being giant and in the middle but it's better than nothing. We can make it more subtle later.
2020-04-29 13:52:39 -07:00
DeepBlueV7.X
19ec8d261d
Merge pull request #183 from shocklateboy92/features/smooth-scroll
Improve scrolling in timeline view
2020-04-29 22:15:53 +02:00
Nicolas Werner
3226d1787c Fix some smaller coloring issues 2020-04-29 21:41:46 +02:00
Nicolas Werner
bb66254c58 Make notifications a bit easier to read 2020-04-29 20:49:57 +02:00
Nicolas Werner
27350cf51e Fix high CPU usage on high dpi screens
Fixes #180
2020-04-29 20:23:00 +02:00
Lasath Fernando
c5d373e8f1 Address CR comments 2020-04-29 02:14:43 -07:00
Lasath Fernando
5c57de070e Remove commented out code; fix padding for Pill 2020-04-28 01:10:54 -07:00
Lasath Fernando
84c5ff0bcb Fix binding loops for height 2020-04-28 00:38:13 -07:00
Lasath Fernando
1555dc2296 Shamelessly steal ScrollHelper.qml from spectral
I mean, we're both GPL so... :P
2020-04-28 00:29:51 -07:00
Nicolas Werner
17c657a170 Send correct orientation for exif rotated images 2020-04-26 11:41:30 +02:00
Nicolas Werner
dbb13dfad6 Update Changelog 2020-04-26 11:32:43 +02:00
Nicolas Werner
d6386546b3 Only prune old messages every 500 syncs 2020-04-26 11:29:05 +02:00
Nicolas Werner
28adc9dc9b Respect exif rotation of images
Sometimes thumbnails still have the wrong dimensions, as they are scaled
to fit inside a rectange of the reported size in the image. Not sure,
who is wrong there, the media repo or we.
2020-04-26 11:26:51 +02:00
Nicolas Werner
d94ac86816 Fix double percent encoding of invites 2020-04-24 16:19:11 +02:00
Joseph Donofry
a5d5ea1881
Fix URL in appdata.xml 2020-04-23 21:32:01 -04:00
Joseph Donofry
14ce840649 Update changelog 2020-04-23 19:26:26 -04:00