Commit Graph

123 Commits

Author SHA1 Message Date
Nicolas Werner 6313ecb7d4 Treat empty secrets as no secret 2021-01-25 15:28:35 +01:00
Michele Guerini Rocco 0e628290af
Write database to the DataLocation 2021-01-24 00:40:19 +01:00
Nicolas Werner 1c98426536 Fix tags 2021-01-22 03:18:36 +01:00
Nicolas Werner 5105d2cb96 Fix crash when persisting null relations 2021-01-19 14:21:04 +01:00
Nicolas Werner 2a19783f99 Fix timeline becoming corrupted on backfill
Fixes #273
2021-01-12 00:02:18 +01:00
Nicolas Werner 39f9b7d90a Handle matrix scheme
Link opening only works on Linux for now.

See https://github.com/matrix-org/matrix-doc/pull/2312
2021-01-10 22:41:56 +01:00
Nicolas Werner 3a41bb9fff Fix typing notifications flickering sometimes 2021-01-05 22:38:21 +01:00
Nicolas Werner 391b1b3285 Fix #359
Actually store the login details under the selected profile
2020-12-27 22:56:54 +01:00
Nicolas Werner 525b319a94 lint 2020-12-25 19:20:25 +01:00
DeepBlueV7.X ea5f6ca0f4
Merge pull request #358 from Nheko-Reborn/windows-fixes
Windows fixes
2020-12-25 05:59:18 +01:00
Nicolas Werner 904cafcd39 lint 2020-12-25 04:11:47 +01:00
Loren Burkholder af52ceb387 Remove unused variable 2020-12-24 21:16:46 -05:00
LorenDB 53f45bdb1c Switch profile code to a more flexible method
This introduces a new version of SingleApplication as well.
2020-12-24 21:16:46 -05:00
Nicolas Werner 01e38d12ed Fix some compiler warnings 2020-12-25 00:08:06 +00:00
Nicolas Werner 15d8eb2b8b Update deps for keychain 2020-12-18 03:53:57 +01:00
Nicolas Werner 7b46aa2a6e Store secrets in keychain 2020-12-16 22:10:09 +01:00
Nicolas Werner 65a4c85ed4 Don't sync db on every sync
This fixes some lag, when Nheko is running, which could affect Nheko and
even other applications by excessively calling fsync. This should be
fine, since all filesystems seem to guarantee order and in most cases,
the modified pages are still written. In the worst case we should only
lose the last /sync results or similar.
2020-12-13 01:29:35 +01:00
Nicolas Werner 2ce129e6b6 Properly share and rotate sessions on member and device changes 2020-11-30 01:54:53 +01:00
Nicolas Werner 2290ebcf78 Remove outbound session storage 2020-11-30 01:54:53 +01:00
Nicolas Werner c24f9a22a5 Load sessions lazily from db 2020-11-30 01:54:53 +01:00
Nicolas Werner 90cae987fd Bump max dbs 2020-11-26 00:19:09 +01:00
Nicolas Werner c31b9e2793 Fix race when reading members from db 2020-11-25 23:54:25 +01:00
Nicolas Werner 7cda502edd Add some db logging and clean up avatar urls a bit 2020-11-25 23:54:25 +01:00
Nicolas Werner bc93f24a22 Remove redundant user search suggestion code 2020-11-25 19:05:12 +01:00
Nicolas Werner 70f35de449 Don't pass around empty timeline 2020-10-28 13:06:28 +01:00
Nicolas Werner 12fff7408e Optimize build 2020-10-27 17:45:28 +01:00
Nicolas Werner 3d7bb22df4 Fix login 2020-10-24 18:07:14 +02:00
Nicolas Werner 4797b9fa96 Fix infinite pagination properly now. 2020-10-23 19:42:23 +02:00
Nicolas Werner 66445c507c Trade CPU usage for 30MB of members in RAM 2020-10-22 20:49:15 +02:00
Nicolas Werner aa9b453f81 Store timestamp with olm sessions 2020-10-20 13:46:05 +02:00
Nicolas Werner 62d0bdbb77 Fix small typo in robustness logic 2020-10-13 00:14:28 +02:00
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