summary refs log tree commit diff
path: root/src/Cache.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow creating new packsNicolas Werner2021-08-061-1/+1
|
* Basic sticker pack editorNicolas Werner2021-08-061-1/+1
|
* Add option to only send encrypted messages to verified devicesNicolas Werner2021-08-011-4/+45
| | | | fixes #636
* Ensure the encrypted rooms db is always createdNicolas Werner2021-07-311-4/+5
|
* Fix crash when storing secretsNicolas Werner2021-07-251-22/+23
| | | | | | | Nested QEventLoops are scary. Ultimately we shouldn't use them, but I have no better solution right now. fixes #656
* Add menu to enable or disable stickers globallyNicolas Werner2021-07-231-11/+22
|
* Fix unused state key when iterating room stickersNicolas Werner2021-07-191-1/+1
|
* Move sticker parsing and enable room stickersNicolas Werner2021-07-191-3/+65
|
* Basic sticker supportNicolas Werner2021-07-191-0/+7
|
* Share historical keysNicolas Werner2021-07-171-0/+24
| | | | | We share all keys with our devices and ones created by us to other users.
* Store megolm session data in separate databaseNicolas Werner2021-07-171-30/+72
|
* Try to fix crash in setCurrentIndexNicolas Werner2021-07-131-17/+24
| | | | fixes #607
* Fix lintNicolas Werner2021-07-101-10/+6
|
* Remove db bottleneck by caching ro txn for 100 requestsNicolas Werner2021-07-101-85/+106
|
* Fix a few embarrassing bugs with device list updatesNicolas Werner2021-07-061-8/+14
|
* Remove dead code to calculate last messageNicolas Werner2021-07-011-92/+0
|
* Add a basic 'Space page'Nicolas Werner2021-06-251-0/+7
|
* Allow filtering by spaceNicolas Werner2021-06-251-11/+25
|
* Show some spaces in the community sidebarNicolas Werner2021-06-251-80/+241
|
* Allow editing unsent messagesAlexander Bantyev2021-06-181-0/+21
| | | | | | | | | | As of 0db4d71ec2483c7ac5a7b536737fee8fc53a76d7 (Prevent edits of unsent messages), messages that are edits of (or replies to) unsent messages were not allowed. This change was made because otherwise the edits were discarded due to use of txnid rather than mxid in the "m.relates_to" object. Remove this restriction and fix the issue by replacing txnid with mxid in all related events when the message is sent (and we obtain mxid from the server).
* Don't read avatarUrl from local profile, if no global avatar is setNicolas Werner2021-06-121-1/+2
|
* Render community itemsNicolas Werner2021-06-111-0/+4
|
* Reenable invitesNicolas Werner2021-05-241-7/+43
|
* Fix device list not showing up and UserProfile blocking the windowNicolas Werner2021-05-221-17/+15
|
* Basic header and footer of room listNicolas Werner2021-05-151-7/+24
|
* Add TOFU (Trust On First Use) mode to encryptionNicolas Werner2021-05-071-21/+69
|
* Show verification status next to messagesNicolas Werner2021-05-071-5/+16
|
* Fix keys not being reshared to the same devices, that already got them, if ↵Nicolas Werner2021-04-201-1/+1
| | | | the message got lost
* Fix a a session with a higher minimum index being able to overwrite an older oneNicolas Werner2021-04-201-0/+12
|
* Prevent warning on empty user requestsNicolas Werner2021-04-181-0/+3
|
* Store state events with state keysNicolas Werner2021-04-131-5/+8
|
* Fix a weird edge case with persisted empty event idsNicolas Werner2021-04-081-8/+11
| | | | No idea, how that happened and where it came from
* Clean up notification code a bitNicolas Werner2021-03-171-160/+1
|
* Store all state eventsNicolas Werner2021-03-151-0/+20
|
* Rotate session keys properlyNicolas Werner2021-03-151-0/+32
|
* Fix a few db access crashesNicolas Werner2021-03-121-0/+6
|
* Merge pull request #505 from Nheko-Reborn/license-headersDeepBlueV7.X2021-03-051-16/+4
|\ | | | | License headers
| * Update license headersNicolas Werner2021-03-051-16/+4
| |
* | Fix lintingJoseph Donofry2021-03-041-17/+17
| |
* | Properly format matrix errors in spdlog statementsJoseph Donofry2021-03-041-1/+1
|/
* Add comment to mark db keys as suchNicolas Werner2021-03-031-0/+1
|
* Update to new lmdbxx versionNicolas Werner2021-03-031-469/+340
|
* Fix unaligned readsNicolas Werner2021-02-251-16/+30
|
* Use fully read marker and fix stuck read marker with editsNicolas Werner2021-02-101-18/+19
|
* Fix stuck notifications because of editsNicolas Werner2021-02-101-0/+90
| | | | | Does not fix the read status yet, for that we need to compare read receipts for all events after the last visible event.
* Render editsNicolas Werner2021-02-091-0/+30
|
* Switch to new relations formatNicolas Werner2021-02-091-41/+31
|
* Reload the timeline after key importNicolas Werner2021-01-251-0/+1
|
* Treat empty secrets as no secretNicolas Werner2021-01-251-0/+4
|
* Write database to the DataLocationrnhmjoj2021-01-241-1/+23
|
* Fix tagsNicolas Werner2021-01-221-16/+16
|
* Fix crash when persisting null relationsNicolas Werner2021-01-191-12/+21
|
* Fix timeline becoming corrupted on backfillNicolas Werner2021-01-121-6/+9
| | | | Fixes #273
* Handle matrix schemeNicolas Werner2021-01-101-0/+28
| | | | | | Link opening only works on Linux for now. See https://github.com/matrix-org/matrix-doc/pull/2312
* Fix typing notifications flickering sometimesNicolas Werner2021-01-051-26/+51
|
* Fix #359Nicolas Werner2020-12-271-8/+8
| | | | Actually store the login details under the selected profile
* lintNicolas Werner2020-12-251-15/+18
|
* Merge pull request #358 from Nheko-Reborn/windows-fixesDeepBlueV7.X2020-12-251-15/+19
|\ | | | | Windows fixes
| * lintNicolas Werner2020-12-251-8/+12
| |
| * Fix some compiler warningsNicolas Werner2020-12-251-12/+12
| |
* | Remove unused variableLoren Burkholder2020-12-241-1/+0
| |
* | Switch profile code to a more flexible methodLorenDB2020-12-241-16/+27
|/ | | | This introduces a new version of SingleApplication as well.
* Update deps for keychainNicolas Werner2020-12-181-0/+4
|
* Store secrets in keychainNicolas Werner2020-12-161-1/+93
|
* Don't sync db on every syncNicolas Werner2020-12-131-1/+1
| | | | | | | | 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.
* Properly share and rotate sessions on member and device changesNicolas Werner2020-11-301-8/+79
|
* Remove outbound session storageNicolas Werner2020-11-301-76/+33
|
* Load sessions lazily from dbNicolas Werner2020-11-301-24/+32
|
* Bump max dbsNicolas Werner2020-11-261-1/+1
|
* Fix race when reading members from dbNicolas Werner2020-11-251-5/+22
|
* Add some db logging and clean up avatar urls a bitNicolas Werner2020-11-251-13/+12
|
* Remove redundant user search suggestion codeNicolas Werner2020-11-251-42/+0
|
* Don't pass around empty timelineNicolas Werner2020-10-281-8/+8
|
* Optimize buildNicolas Werner2020-10-271-0/+40
|
* 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