summaryrefslogtreecommitdiffstats
path: root/src/Cache.h
AgeCommit message (Collapse)Author
2023-10-31Cleanup headers a bit moreNicolas Werner
2023-10-21Add a way to compact the databaseNicolas Werner
Can also be used to fix some corruption.
2023-02-21Get rid of year in license headersNicolas Werner
See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
2023-01-02A whole new year full of excitement and possibilities!Nicolas Werner
2022-10-13Evaluate push rules locallyNicolas Werner
2022-09-11Line to indicate first unread message (#1147)Hiers
* First draft of unread line feature. * Minor visual fix. * Removed unnecessary ternary operator. * Extended unread line functionality to work on minimised window or focusing another window. * Fix for unread line not showing when last read message is hidden. * Minor performance improvement. Fix for misbehaving event2order DB at application start. * Fix for possible performance issues when user has joined a large number of rooms. * Fix for breaking macos and clazy builds. * Changed on windows focus function to refresh unread line if room is unread. * Unread line is removed when user sends a message. * Linting. * Fixed unread line to work in standalone room windows. * Switch isRoomUnread for index 0. * Merged try/catch blocks. * Fix for crash on opening a room invite. * Call fullyReadEventId function when used instead of storing it and passing it through. * Function that was meant to sync the unread line was relying on an async function, oops. * Linting again. * More linting... * Minor changes.
2022-01-01Update year in copyright notice to shut up lint jobNicolas Werner
2021-12-30Update presence dynamically and reduce allocationsNicolas Werner
2021-09-11Streamline getting other user id from invited direct chatLoren Burkholder
2021-09-11Fix invites crashing the whole appLoren Burkholder
2021-07-17Share historical keysNicolas Werner
We share all keys with our devices and ones created by us to other users.
2021-07-17Store megolm session data in separate databaseNicolas Werner
2021-06-25Show some spaces in the community sidebarNicolas Werner
2021-05-24Reenable invitesNicolas Werner
2021-05-02Only show actions, when you have permissions to do themNicolas Werner
2021-03-17Clean up notification code a bitNicolas Werner
2021-03-05Update license headersNicolas Werner
2021-02-10Fix stuck notifications because of editsNicolas Werner
Does not fix the read status yet, for that we need to compare read receipts for all events after the last visible event.
2020-12-16Store secrets in keychainNicolas Werner
2020-11-30Properly share and rotate sessions on member and device changesNicolas Werner
2020-11-30Remove outbound session storageNicolas Werner
2020-11-30Load sessions lazily from dbNicolas Werner
2020-11-25Add some db logging and clean up avatar urls a bitNicolas Werner
2020-11-25Remove redundant user search suggestion codeNicolas Werner
2020-10-27Optimize buildNicolas Werner
2020-10-22Trade CPU usage for 30MB of members in RAMNicolas Werner
2020-10-20Store timestamp with olm sessionsNicolas Werner
2020-10-08Calculate verification status from cross-signing sigs and update dynamicallyNicolas Werner
2020-10-03Don't fail on missing key for a device and /rotate-megolm-session commandNicolas Werner
2020-10-02Clean up verification and key cache a bitNicolas Werner
2020-07-30Updating keys of outdated encrypted usersCH Chethan Reddy
2020-07-30Some issue with UserProfileCH Chethan Reddy
2020-07-30[WIP] Add Caching for usersCH Chethan Reddy
2020-06-08Show presence and set custom status messagesNicolas Werner
2020-05-02Add support for db migrationsNicolas Werner
2020-04-30Don't store pending receipts in cacheNicolas Werner
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-02-20Reset user colors on theme change (in qml timeline)Nicolas Werner
2020-01-31Remove metatypes from headersNicolas Werner
2020-01-26Fix include of lmdb++ with hunterNicolas Werner
2019-12-15Reduce overhead of Cache.hNicolas Werner
2019-12-14Reduce some include of Cache.h since it needs 11s on averageNicolas Werner
2019-12-14Update to c++17Nicolas Werner
2019-11-23fixup bad room list translation commitNicolas Werner
2019-08-26Try to reduce memory usage by reusing avatar pixmapsNicolas Werner
2019-08-19Fix SIGNAL SLOT issue on mtx typesJoseph Donofry
2019-08-12Fix issues with caching and loading of mentions.Joseph Donofry
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.
2019-08-09Fix linting issues w/ the last commitJoseph Donofry
2019-08-09Cache User MentionsJoseph Donofry
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.
2019-08-06Fix linting issuesJoseph Donofry
2019-08-05Cache user mentionsJoseph Donofry