summary refs log tree commit diff
path: root/src/Cache.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix loginNicolas Werner2020-10-241-1/+1
|
* Fix infinite pagination properly now.Nicolas Werner2020-10-231-1/+12
|
* Trade CPU usage for 30MB of members in RAMNicolas Werner2020-10-221-95/+20
|
* Store timestamp with olm sessionsNicolas Werner2020-10-201-7/+138
|
* Fix small typo in robustness logicNicolas Werner2020-10-131-1/+1
|
* Add some try...catch logic around read-only databases so nheko won't crash ↵Joseph Donofry2020-10-091-7/+48
| | | | if the db doesn't exist
* Fix unused variable warnings on old compilersNicolas Werner2020-10-081-3/+12
|
* Implement signature upload for own master keyNicolas Werner2020-10-081-0/+1
|
* Calculate verification status from cross-signing sigs and update dynamicallyNicolas Werner2020-10-081-32/+146
|
* Don't fail on missing key for a device and /rotate-megolm-session commandNicolas Werner2020-10-031-0/+24
|
* Fix fetching inexistent batch tokensNicolas Werner2020-10-021-2/+5
|
* Clean up verification and key cache a bitNicolas Werner2020-10-021-111/+220
|
* Merge remote-tracking branch 'origin/master' into cross-signingNicolas Werner2020-09-241-30/+91
|\
| * Actually use room account dataNicolas Werner2020-09-161-1/+1
| |
| * Save account data and allow hiding events via account dataNicolas Werner2020-09-081-30/+91
| |
* | Simplify outbound session setupNicolas Werner2020-09-201-18/+20
| | | | | | | | Don't send inbound session to self and claim and send all keys at once.
* | Split qml part of Device VerificationCH Chethan Reddy2020-09-141-20/+18
| |
* | Fix Wrong Emojis Issue in Room VerificationChethan2k12020-09-041-18/+20
| |
* | Merge remote-tracking branch 'upstream/master' into device-verificationCH Chethan Reddy2020-08-301-15/+145
|\|
| * Add some log messages, that migrations are in progressNicolas Werner2020-08-251-0/+2
| |
| * Speedup db a bit, but loose some crash resiliencyNicolas Werner2020-08-251-1/+4
| | | | | | | | | | The loss in durability shouldn't matter, if we can just receive the same events again after a restart
| * Hide CallCandidates again in new storeNicolas Werner2020-08-171-2/+30
| |
| * Merge remote-tracking branch 'origin/master' into new-event-storeNicolas Werner2020-08-171-1/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CMakeLists.txt io.github.NhekoReborn.Nheko.json src/Cache.cpp src/timeline/TimelineModel.cpp src/timeline/TimelineModel.h src/timeline/TimelineViewManager.cpp
| | * Support voice callstrilene2020-07-101-0/+3
| | |
| * | Add /clear-timeline commandNicolas Werner2020-08-091-11/+107
| | |
* | | Cache FixCH Chethan Reddy2020-08-241-20/+26
| | |
* | | Adding Room Key Verification StuffCH Chethan Reddy2020-07-301-1/+1
| | |
* | | Updating keys of outdated encrypted usersCH Chethan Reddy2020-07-301-10/+46
| | |
* | | Some issue with UserProfileCH Chethan Reddy2020-07-301-16/+16
| | |
* | | [WIP] Add Caching for usersCH Chethan Reddy2020-07-301-0/+138
|/ /
* | Fix double free by closing cursor at the right timeNicolas Werner2020-07-301-26/+33
| |
* | Fix migration (hopefully)Nicolas Werner2020-07-261-3/+50
| |
* | Return to redacted messages instead of just storing the redactionNicolas Werner2020-07-251-21/+39
| |
* | Fix room joinsNicolas Werner2020-07-201-2/+10
| |
* | Fix reaction displayNicolas Werner2020-07-191-0/+35
| |
* | Close cursor we don't need and where we overwrite the contentsNicolas Werner2020-07-181-8/+11
| |
* | Reenable sending messagesNicolas Werner2020-07-181-6/+134
| |
* | Readd pagination and fix redactionsNicolas Werner2020-07-131-50/+127
| |
* | Fetch missing eventsNicolas Werner2020-07-101-0/+11
| |
* | WIP: Event Store split outNicolas Werner2020-07-091-10/+123
| |
* | Add relations and order without hidden events to dbNicolas Werner2020-07-081-47/+72
| |
* | Fetch event from db and use string_view where possibleNicolas Werner2020-07-061-29/+54
| |
* | Use new timeline cache structureNicolas Werner2020-07-051-103/+143
| |
* | Persist event orderNicolas Werner2020-07-041-0/+20
| |
* | Store events in room specific dbNicolas Werner2020-07-031-10/+20
|/
* Show presence and set custom status messagesNicolas Werner2020-06-081-0/+72
|
* Remove some redundant functionsNicolas Werner2020-05-301-6/+8
|
* Tag rooms via context menuNicolas Werner2020-05-181-3/+3
|
* Translation updatesNicolas Werner2020-05-101-1/+1
|
* Fix messages being immediately read againNicolas Werner2020-05-061-3/+9
|
* Fix joined rooms dropping to the bottom at firstNicolas Werner2020-05-051-5/+22
|
* Fix self counting as read messageNicolas Werner2020-05-041-2/+5
|
* Add delete pending_receipts migrationNicolas Werner2020-05-021-1/+42
|
* Add support for db migrationsNicolas Werner2020-05-021-12/+24
|
* Don't store pending receipts in cacheNicolas Werner2020-04-301-140/+7
| | | | | | | | | | | | | 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.
* Clear notifications when event is readNicolas Werner2020-04-111-2/+8
|
* Try to fix avatars not updating after deletionNicolas Werner2020-03-221-1/+2
|
* total + first member shows as one too many room membersAdasauce2020-03-021-1/+1
| | | | | i was confused when a room with me and two friends showed as "user1" and 3 others.
* Fix encrypted messages being pinned to the bottom after read marker fixNicolas Werner2020-02-281-1/+2
|
* Fix stuck unread messages by storing state events in the dbNicolas Werner2020-02-241-12/+37
| | | | | | This may increase the db size by a factor of 1000 in the worst case and it will need some fixes, when we decide to not show some events in the timeline, but it should work for now.
* Improve read status handling in room listNicolas Werner2020-02-231-0/+3
| | | | | | | Only consider the room as unread, if there is a message in the room and only consider message and sticker events as messages. fixes #65
* Reset user colors on theme change (in qml timeline)Nicolas Werner2020-02-201-51/+0
|
* Fix integer overflow of cachesize on windowsDeepBlueV7.X2020-02-051-1/+1
|
* Remove even more headersNicolas Werner2020-01-311-0/+1
|
* Remove metatypes from headersNicolas Werner2020-01-311-6/+5
|
* Try to lower map sizeDeepBlueV7.X2020-01-171-1/+1
| | | | Maybe this fixes the 1mb map size in my windows test environment?
* Fix transitive dependencies on iostreamNicolas Werner2019-12-231-2/+2
|
* Reduce Cache.h includes further via one forward declarationNicolas Werner2019-12-151-2/+0
|
* Reduce overhead of Cache.hNicolas Werner2019-12-151-33/+528
|
* Increase max cache size and remove const from lmdb constantsNicolas Werner2019-12-141-5/+4
| | | | fixes compilation issues with last released lmdb++
* Reduce some include of Cache.h since it needs 11s on averageNicolas Werner2019-12-141-3/+98
|
* Update to c++17Nicolas Werner2019-12-141-16/+14
|
* Try to reduce memory usage by reusing avatar pixmapsNicolas Werner2019-08-261-4/+1
|
* Fix SIGNAL SLOT issue on mtx typesJoseph Donofry2019-08-191-0/+1
|
* Fix build issues w/ clangJoseph Donofry2019-08-191-2/+0
|
* Fix issues with caching and loading of mentions.Joseph Donofry2019-08-121-13/+18
| | | | | | | Mentions are now loaded from the cache instead of directly from the web request. Mentions are also properly saved to the cache now (instead of as empty strings). Still lots of tweaks left on this feature.
* Fix linting issues w/ the last commitJoseph Donofry2019-08-091-2/+2
|
* Cache User MentionsJoseph Donofry2019-08-091-8/+58
| | | | | | | | | Cache user mentions when they are retrieved from the server. This logic currently isn't being utilized by the UI. Additionally, the app should use a 'since' value to only get mentions newer than those stored in the DB, to avoid excessive web requests. This will be implemented in a future commit.
* Fix linting issuesJoseph Donofry2019-08-061-5/+1
|
* Cache user mentionsJoseph Donofry2019-08-051-0/+55
|
* Fix some linting issuesJoseph Donofry2019-07-041-6/+7
|
* Show room version in settingsNicolas Werner2019-07-041-0/+64
|
* Attempt to fix issue #19 by increasing the lmdb max_dbs setting.Andrew Johnson2019-02-161-2/+2
|
* Update user colors to use Cache vs Utilsredsky172019-01-261-0/+29
| | | | | | | User colors are now stored in cache. This is consistent with other similar variables. I think there's a bug right now where it doesn't properly refresh colors for the TimeLineItem when the theme is changed.
* Display tags as sorting items in the community panel (#401)Victor Berger2018-09-281-0/+52
|
* Require login when the cache format changes (regression on #444)Konstantinos Sideris2018-09-211-2/+2
|
* Bump cache version due to incompatible changesKonstantinos Sideris2018-09-161-1/+1
|
* Ignore sessions that cannot be parsedKonstantinos Sideris2018-09-161-1/+8
|
* Implement import/export of megolm session keys (#358)Konstantinos Sideris2018-09-151-7/+49
|
* Mark unread rooms as such in the room listKonstantinos Sideris2018-09-131-4/+51
| | | | fixes #313
* Merge matrix-structs into the client libKonstantinos Sideris2018-09-011-5/+5
|
* Increase LMDB's map size (#413)Konstantinos Sideris2018-08-291-1/+1
|
* Add method to delete old messages periodicallyKonstantinos Sideris2018-08-251-2/+66
| | | | fixes #413
* Reject key requests for users that are not members of the roomKonstantinos Sideris2018-07-221-0/+13
|
* Fix variable shadowing on clangKonstantinos Sideris2018-07-181-3/+3
|
* Mark own read messages with a double checkmark (#377)Konstantinos Sideris2018-07-171-0/+111
|
* Move all files under src/Konstantinos Sideris2018-07-171-0/+1785