Joseph Donofry
31c6857f19
Add some try...catch logic around read-only databases so nheko won't crash if the db doesn't exist
2020-10-09 12:32:21 -04:00
Nicolas Werner
56ba7de501
Fix unused variable warnings on old compilers
2020-10-08 18:49:35 +02:00
Nicolas Werner
cd43147b77
Implement signature upload for own master key
2020-10-08 16:17:38 +02:00
Nicolas Werner
7b6fab3373
Calculate verification status from cross-signing sigs and update dynamically
2020-10-08 00:20:12 +02:00
Nicolas Werner
2a79cd2b6b
Don't fail on missing key for a device and /rotate-megolm-session command
2020-10-03 18:38:28 +02:00
Nicolas Werner
600df6d2ec
Fix fetching inexistent batch tokens
2020-10-02 16:39:20 +02:00
Nicolas Werner
94690ebd4c
Clean up verification and key cache a bit
2020-10-02 01:14:42 +02:00
Nicolas Werner
4802c34009
Merge remote-tracking branch 'origin/master' into cross-signing
2020-09-24 21:36:43 +02:00
Nicolas Werner
54db9c89ed
Simplify outbound session setup
...
Don't send inbound session to self and claim and send all keys at once.
2020-09-20 23:07:02 +02:00
Nicolas Werner
c5f93efcd3
Actually use room account data
2020-09-16 23:49:17 +02:00
CH Chethan Reddy
8eb74daf76
Split qml part of Device Verification
2020-09-14 17:27:49 +05:30
Nicolas Werner
c4e4938d35
Save account data and allow hiding events via account data
2020-09-08 16:21:55 +02:00
Chethan2k1
e8eeb480d5
Fix Wrong Emojis Issue in Room Verification
2020-09-04 12:02:24 +05:30
CH Chethan Reddy
b174bd9380
Merge remote-tracking branch 'upstream/master' into device-verification
2020-08-30 22:27:14 +05:30
Nicolas Werner
3df4bde032
Add some log messages, that migrations are in progress
2020-08-25 23:12:01 +02:00
Nicolas Werner
9f79b85579
Speedup db a bit, but loose some crash resiliency
...
The loss in durability shouldn't matter, if we can just receive the same
events again after a restart
2020-08-25 23:05:31 +02:00
CH Chethan Reddy
1d299951b6
Cache Fix
2020-08-24 13:58:00 +05:30
Nicolas Werner
7f7108161e
Hide CallCandidates again in new store
2020-08-17 23:30:36 +02:00
Nicolas Werner
de7ec4d2b3
Merge remote-tracking branch 'origin/master' into new-event-store
...
Conflicts:
CMakeLists.txt
io.github.NhekoReborn.Nheko.json
src/Cache.cpp
src/timeline/TimelineModel.cpp
src/timeline/TimelineModel.h
src/timeline/TimelineViewManager.cpp
2020-08-17 20:40:33 +02:00
Nicolas Werner
14a0aac748
Add /clear-timeline command
2020-08-09 23:36:47 +02:00
CH Chethan Reddy
1fcd768f88
Adding Room Key Verification Stuff
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
a2979c2df1
Updating keys of outdated encrypted users
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ac1fbbb69f
Some issue with UserProfile
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
6fae36abc4
[WIP] Add Caching for users
2020-07-30 22:10:27 +05:30
Nicolas Werner
7f3d97517f
Fix double free by closing cursor at the right time
2020-07-30 18:13:19 +02:00
Nicolas Werner
720bb164f7
Fix migration (hopefully)
2020-07-26 19:04:36 +02:00
Nicolas Werner
b294430fe5
Return to redacted messages instead of just storing the redaction
2020-07-25 19:38:27 +02:00
Nicolas Werner
f23d733cff
Fix room joins
2020-07-20 18:25:22 +02:00
Nicolas Werner
6f2bc908ba
Fix reaction display
2020-07-19 12:22:54 +02:00
Nicolas Werner
d467568a65
Close cursor we don't need and where we overwrite the contents
2020-07-18 22:59:03 +02:00
Nicolas Werner
56ea89aa11
Reenable sending messages
2020-07-18 17:43:49 +02:00
Nicolas Werner
9ae7d0dce3
Readd pagination and fix redactions
2020-07-13 00:08:58 +02:00
trilene
7a206441c8
Support voice calls
2020-07-10 19:19:48 -04:00
Nicolas Werner
3421728898
Fetch missing events
2020-07-10 01:37:55 +02:00
Nicolas Werner
530c531c4b
WIP: Event Store split out
2020-07-09 23:15:22 +02:00
Nicolas Werner
0da1a6d5fc
Add relations and order without hidden events to db
2020-07-08 02:02:14 +02:00
Nicolas Werner
82eff09062
Fetch event from db and use string_view where possible
2020-07-06 03:43:14 +02:00
Nicolas Werner
c79205c26a
Use new timeline cache structure
2020-07-05 05:31:15 +02:00
Nicolas Werner
79a29953dd
Persist event order
2020-07-04 02:09:12 +02:00
Nicolas Werner
233b3c06ce
Store events in room specific db
2020-07-03 02:40:48 +02:00
Nicolas Werner
96f4169be9
Show presence and set custom status messages
2020-06-08 01:59:05 +02:00
Nicolas Werner
9eddcfc42f
Remove some redundant functions
2020-05-30 16:38:11 +02:00
Nicolas Werner
7de1fc62e8
Tag rooms via context menu
2020-05-18 04:23:36 +02:00
Nicolas Werner
000ab4853a
Translation updates
2020-05-10 01:38:40 +02:00
Nicolas Werner
a942ae9b93
Fix messages being immediately read again
2020-05-06 19:21:31 +02:00
Nicolas Werner
692c6119b4
Fix joined rooms dropping to the bottom at first
2020-05-05 19:08:59 +02:00
Nicolas Werner
a8b22e49c3
Fix self counting as read message
2020-05-04 00:57:40 +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
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