summary refs log tree commit diff
path: root/src/Cache.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a way to compact the databaseNicolas Werner2023-10-211-0/+3
| | | | Can also be used to fix some corruption.
* Get rid of year in license headersNicolas Werner2023-02-211-4/+1
| | | | | | See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-021-0/+1
|
* Evaluate push rules locallyNicolas Werner2022-10-131-7/+0
|
* Line to indicate first unread message (#1147)Hiers2022-09-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update year in copyright notice to shut up lint jobNicolas Werner2022-01-011-0/+1
|
* Update presence dynamically and reduce allocationsNicolas Werner2021-12-301-4/+2
|
* Streamline getting other user id from invited direct chatLoren Burkholder2021-09-111-4/+3
|
* Fix invites crashing the whole appLoren Burkholder2021-09-111-0/+4
|
* Share historical keysNicolas Werner2021-07-171-0/+2
| | | | | 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-3/+4
|
* Show some spaces in the community sidebarNicolas Werner2021-06-251-6/+0
|
* Reenable invitesNicolas Werner2021-05-241-1/+1
|
* Only show actions, when you have permissions to do themNicolas Werner2021-05-021-1/+1
|
* Clean up notification code a bitNicolas Werner2021-03-171-22/+0
|
* Update license headersNicolas Werner2021-03-051-16/+4
|
* Fix stuck notifications because of editsNicolas Werner2021-02-101-0/+6
| | | | | Does not fix the read status yet, for that we need to compare read receipts for all events after the last visible event.
* Store secrets in keychainNicolas Werner2020-12-161-0/+5
|
* Properly share and rotate sessions on member and device changesNicolas Werner2020-11-301-1/+2
|
* Remove outbound session storageNicolas Werner2020-11-301-4/+3
|
* Load sessions lazily from dbNicolas Werner2020-11-301-1/+1
|
* Add some db logging and clean up avatar urls a bitNicolas Werner2020-11-251-1/+1
|
* Remove redundant user search suggestion codeNicolas Werner2020-11-251-2/+0
|
* Optimize buildNicolas Werner2020-10-271-20/+8
|
* Trade CPU usage for 30MB of members in RAMNicolas Werner2020-10-221-13/+0
|
* Store timestamp with olm sessionsNicolas Werner2020-10-201-1/+5
|
* Calculate verification status from cross-signing sigs and update dynamicallyNicolas Werner2020-10-081-5/+3
|
* Don't fail on missing key for a device and /rotate-megolm-session commandNicolas Werner2020-10-031-0/+2
|
* Clean up verification and key cache a bitNicolas Werner2020-10-021-17/+13
|
* Updating keys of outdated encrypted usersCH Chethan Reddy2020-07-301-0/+3
|
* Some issue with UserProfileCH Chethan Reddy2020-07-301-2/+2
|
* [WIP] Add Caching for usersCH Chethan Reddy2020-07-301-0/+17
|
* Show presence and set custom status messagesNicolas Werner2020-06-081-0/+6
|
* Add support for db migrationsNicolas Werner2020-05-021-2/+7
|
* Don't store pending receipts in cacheNicolas Werner2020-04-301-15/+0
| | | | | | | | | | | | | 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.
* Reset user colors on theme change (in qml timeline)Nicolas Werner2020-02-201-9/+0
|
* Remove metatypes from headersNicolas Werner2020-01-311-1/+1
|
* Fix include of lmdb++ with hunterNicolas Werner2020-01-261-0/+4
|
* Reduce overhead of Cache.hNicolas Werner2019-12-151-480/+264
|
* Reduce some include of Cache.h since it needs 11s on averageNicolas Werner2019-12-141-213/+5
|
* Update to c++17Nicolas Werner2019-12-141-43/+42
|
* fixup bad room list translation commitNicolas Werner2019-11-231-1/+0
|
* Try to reduce memory usage by reusing avatar pixmapsNicolas Werner2019-08-261-1/+0
|
* Fix SIGNAL SLOT issue on mtx typesJoseph Donofry2019-08-191-0/+1
|
* Fix issues with caching and loading of mentions.Joseph Donofry2019-08-121-1/+1
| | | | | | | 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-1/+1
|
* Cache User MentionsJoseph Donofry2019-08-091-7/+13
| | | | | | | | | 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-1/+2
|
* Cache user mentionsJoseph Donofry2019-08-051-0/+12
|
* Show room version in settingsNicolas Werner2019-07-041-32/+8
|
* Fix linting issueredsky172019-02-251-1/+1
|
* Nlohmann build updatesredsky172019-02-241-1/+1
|
* Update user colors to use Cache vs Utilsredsky172019-01-261-0/+6
| | | | | | | 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/+13
|
* Implement import/export of megolm session keys (#358)Konstantinos Sideris2018-09-151-4/+20
|
* Mark unread rooms as such in the room listKonstantinos Sideris2018-09-131-1/+8
| | | | fixes #313
* Merge matrix-structs into the client libKonstantinos Sideris2018-09-011-25/+25
|
* Add method to delete old messages periodicallyKonstantinos Sideris2018-08-251-0/+6
| | | | fixes #413
* Reject key requests for users that are not members of the roomKonstantinos Sideris2018-07-221-0/+3
|
* Mark own read messages with a double checkmark (#377)Konstantinos Sideris2018-07-171-0/+20
|
* Move all files under src/Konstantinos Sideris2018-07-171-0/+661