summary refs log tree commit diff
path: root/src/Cache_p.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make a few headers forward declarationsNicolas Werner2024-03-161-3/+5
|
* Cleanup headers a bit moreNicolas Werner2023-10-311-3/+3
|
* Speed up compilation a bitNicolas Werner2023-10-311-186/+35
|
* Migrate olm sessions to be stored in one database instead of thousandsNicolas Werner2023-10-231-10/+1
|
* Add a way to compact the databaseNicolas Werner2023-10-211-5/+0
| | | | Can also be used to fix some corruption.
* Add an early out cache for event expirationNicolas Werner2023-07-061-0/+9
|
* Add inviter to the invite reasonNicolas Werner2023-06-101-1/+12
| | | | fixes #622
* Delete unused msg db functionNicolas Werner2023-05-061-12/+0
|
* Sort rooms in completer by 'activity' and make tombstoned rooms italicNicolas Werner2023-05-061-0/+2
|
* Adapt to the new inherited variantNicolas Werner2023-04-111-5/+5
|
* Improve state event redactionNicolas Werner2023-03-261-5/+16
|
* Speed up writes of events with statekeys to state dbNicolas Werner2023-03-141-26/+28
|
* Fix bug that prevented storing member events in the same database as the restNicolas Werner2023-02-251-14/+22
|
* Show rooms you share with someoneNicolas Werner2023-02-241-0/+1
|
* Get rid of year in license headersNicolas Werner2023-02-211-5/+1
| | | | | | See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
* Speedup quick switcherNicolas Werner2023-01-071-0/+3
|
* Fix crash in migrations during secrets deletionNicolas Werner2023-01-071-1/+2
| | | | | | We need to block the migrations returning until the migrations are done. Fixes #1258
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-021-0/+1
|
* Revert storing members in statesdb for nowNicolas Werner2022-12-271-2/+4
|
* Fix state reset commandNicolas Werner2022-12-271-1/+3
|
* Show invite reason in the UI (hidden by default)Nicolas Werner2022-12-271-3/+5
|
* Store secrets (apart from the pickle key) in the databaseNicolas Werner2022-11-061-5/+9
|
* Speedup sending encrypted messages after metasync was reenabledNicolas Werner2022-11-011-0/+2
| | | | | | Calling fsync everytime we save to the db is slow, which is actually fairly noticeable in some larger E2EE rooms. Speed that up slightly by batching the olm session persisting.
* Evaluate push rules locallyNicolas Werner2022-10-131-19/+0
|
* Mark classes as final where possibleNicolas Werner2022-10-101-1/+1
|
* Reduce windows ci warningsNicolas Werner2022-10-011-2/+2
|
* Basic threading supportNicolas Werner2022-09-301-2/+1
|
* Line to indicate first unread message (#1147)Hiers2022-09-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix timestamps after loadingNicolas Werner2022-06-261-0/+1
|
* Remove a few more headersNicolas Werner2022-06-181-4/+5
|
* Get rid of 'using json = nlohmann::json'Nicolas Werner2022-06-171-16/+19
|
* Remove redundant alias functionNicolas Werner2022-06-171-1/+0
|
* Fix a few issues with receiving to_device messages in initial syncNicolas Werner2022-04-081-0/+1
|
* Fix editing pending messagesNicolas Werner2022-02-271-0/+1
|
* Add /reset-state commandNicolas Werner2022-02-051-0/+1
|
* Show widgets as linksNicolas Werner2022-02-041-7/+7
|
* Fix presence db creation on servers without presenceNicolas Werner2022-01-031-2/+1
| | | | fixes #873
* Update year in copyright notice to shut up lint jobNicolas Werner2022-01-011-0/+1
|
* Update presence dynamically and reduce allocationsNicolas Werner2021-12-301-2/+1
|
* Hide me underneath the space treeNicolas Werner2021-12-011-0/+6
|
* Make clang-format <13 and clang-format >=13 behave the sameNicolas Werner2021-11-221-35/+30
| | | | | I think old clang-format is just buggy in those cases, so we should reenable those blocks, once everyone has 13 or up.
* Return nullopt for state events in rooms we are not inNicolas Werner2021-11-211-27/+27
|
* Fix parsing some exotic image packsNicolas Werner2021-11-091-2/+7
|
* Move away from using an event loop to access secretsNicolas Werner2021-11-071-0/+5
| | | | | | | | Fixes messages in room flickering and being stuck fixes #760 relates to #770 relates to #789
* Prompt user when there are unverified devicesNicolas Werner2021-11-011-1/+1
|
* Support bootstrapping crosssigningNicolas Werner2021-10-091-0/+1
| | | | | Showing the bootstrap state and showing there are unverified devices is still missing.
* Added support for refreshing the device list, marking current device with a ↵Thulinma2021-10-061-0/+1
| | | | checkmark instead of a lock
* Change indentation to 4 spacesNicolas Werner2021-09-181-661/+625
|
* Remove unused prototypeNicolas Werner2021-09-131-3/+0
|
* Merge pull request #416 from LorenDB/jdenticonDeepBlueV7.X2021-09-131-1/+7
|\ | | | | Add jdenticon support
| * Streamline getting other user id from invited direct chatLoren Burkholder2021-09-111-3/+3
| |
| * Fix invites crashing the whole appLoren Burkholder2021-09-111-1/+7
| |
* | Keep identities for users cachedNicolas Werner2021-09-131-3/+0
|/ | | | | There is not really a reason to stop tracking them, just because the server says so. We might still want to show a users profile, etc.
* Stop encrypting all sessions with secretNicolas Werner2021-08-311-3/+7
|
* Add db migration that clears the cacheNicolas Werner2021-08-221-1/+0
| | | | | This fixes spaces or stickers not showing up for old databases as well as the wrong format of the state_keys db.
* Allow downloading keys from key backupNicolas Werner2021-08-171-0/+4
|
* Show if there are unverified devices in a roomNicolas Werner2021-08-131-2/+6
| | | | | Also fixes some issues where nested transactions will poison the verification cache.
* Fix trying to delete unsupported eventsNicolas Werner2021-08-081-18/+19
|
* Basic sticker pack editorNicolas Werner2021-08-061-12/+22
|
* Add option to only send encrypted messages to verified devicesNicolas Werner2021-08-011-1/+2
| | | | fixes #636
* Ensure the encrypted rooms db is always createdNicolas Werner2021-07-311-0/+2
|
* Fix crash when storing secretsNicolas Werner2021-07-251-3/+3
| | | | | | | 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-1/+8
|
* Move sticker parsing and enable room stickersNicolas Werner2021-07-191-6/+2
|
* Basic sticker supportNicolas Werner2021-07-191-0/+6
|
* Share historical keysNicolas Werner2021-07-171-0/+1
| | | | | 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/+5
|
* Remove dead code to calculate last messageNicolas Werner2021-07-011-1/+0
|
* Add a basic 'Space page'Nicolas Werner2021-06-251-0/+1
|
* Allow filtering by spaceNicolas Werner2021-06-251-3/+9
|
* Show some spaces in the community sidebarNicolas Werner2021-06-251-11/+61
|
* Allow editing unsent messagesAlexander Bantyev2021-06-181-0/+3
| | | | | | | | | | 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).
* Reenable invitesNicolas Werner2021-05-241-1/+2
|
* Basic header and footer of room listNicolas Werner2021-05-151-0/+3
|
* Only show actions, when you have permissions to do themNicolas Werner2021-05-021-1/+10
|
* Use one CompletionProxy for everything including EmojiPickerNicolas Werner2021-04-181-0/+44
|
* Store state events with state keysNicolas Werner2021-04-131-4/+39
|
* Merge pull request #475 from LorenDB/htmlFormattedNotifsDeepBlueV7.X2021-03-181-10/+0
|\ | | | | Better notifications
| * Clean up notification code a bitNicolas Werner2021-03-171-10/+0
| |
* | Prevent EventType::Unsupported type events to be saved in db, avoiding ↵Anjani Kumar2021-03-181-1/+1
|/ | | | exceptions
* Store all state eventsNicolas Werner2021-03-151-50/+17
|
* Rotate session keys properlyNicolas Werner2021-03-151-0/+2
|
* Update license headersNicolas Werner2021-03-051-17/+5
|
* Update to new lmdbxx versionNicolas Werner2021-03-031-22/+13
|
* Fix stuck notifications because of editsNicolas Werner2021-02-101-0/+5
| | | | | 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/+2
|
* Handle matrix schemeNicolas Werner2021-01-101-0/+1
| | | | | | Link opening only works on Linux for now. See https://github.com/matrix-org/matrix-doc/pull/2312
* Store secrets in keychainNicolas Werner2020-12-161-0/+5
|
* Properly share and rotate sessions on member and device changesNicolas Werner2020-11-301-1/+4
|
* Remove outbound session storageNicolas Werner2020-11-301-4/+2
|
* Load sessions lazily from dbNicolas Werner2020-11-301-1/+2
|
* Add some db logging and clean up avatar urls a bitNicolas Werner2020-11-251-4/+1
|
* Remove redundant user search suggestion codeNicolas Werner2020-11-251-3/+0
|
* Don't pass around empty timelineNicolas Werner2020-10-281-2/+1
|
* Optimize buildNicolas Werner2020-10-271-1/+6
|
* Trade CPU usage for 30MB of members in RAMNicolas Werner2020-10-221-31/+5
|
* Store timestamp with olm sessionsNicolas Werner2020-10-201-2/+6
|
* Calculate verification status from cross-signing sigs and update dynamicallyNicolas Werner2020-10-081-4/+7
|
* Don't fail on missing key for a device and /rotate-megolm-session commandNicolas Werner2020-10-031-0/+1
|
* Clean up verification and key cache a bitNicolas Werner2020-10-021-13/+21
|
* Merge remote-tracking branch 'origin/master' into cross-signingNicolas Werner2020-09-241-0/+14
|\
| * Save account data and allow hiding events via account dataNicolas Werner2020-09-081-0/+14
| |
* | Merge remote-tracking branch 'upstream/master' into device-verificationCH Chethan Reddy2020-08-301-0/+3
|\|
| * Add /clear-timeline commandNicolas Werner2020-08-091-0/+3
| |
* | Cache FixCH Chethan Reddy2020-08-241-0/+2
| |
* | Updating keys of outdated encrypted usersCH Chethan Reddy2020-07-301-2/+3
| |
* | Some issue with UserProfileCH Chethan Reddy2020-07-301-2/+2
| |
* | [WIP] Add Caching for usersCH Chethan Reddy2020-07-301-0/+19
|/
* Fix reaction displayNicolas Werner2020-07-191-0/+3
|
* Reenable sending messagesNicolas Werner2020-07-181-0/+18
|
* Readd pagination and fix redactionsNicolas Werner2020-07-131-6/+9
|
* Fetch missing eventsNicolas Werner2020-07-101-0/+3
|
* WIP: Event Store split outNicolas Werner2020-07-091-15/+24
|
* Add relations and order without hidden events to dbNicolas Werner2020-07-081-0/+18
|
* Fetch event from db and use string_view where possibleNicolas Werner2020-07-061-0/+4
|
* Use new timeline cache structureNicolas Werner2020-07-051-13/+11
|
* Persist event orderNicolas Werner2020-07-041-0/+6
|
* Store events in room specific dbNicolas Werner2020-07-031-0/+5
|
* Show presence and set custom status messagesNicolas Werner2020-06-081-0/+13
|
* Add support for db migrationsNicolas Werner2020-05-021-1/+2
|
* Don't store pending receipts in cacheNicolas Werner2020-04-301-12/+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.
* Clear notifications when event is readNicolas Werner2020-04-111-0/+1
|
* Fix stuck unread messages by storing state events in the dbNicolas Werner2020-02-241-0/+1
| | | | | | 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.
* Reset user colors on theme change (in qml timeline)Nicolas Werner2020-02-201-6/+0
|
* Remove even more headersNicolas Werner2020-01-311-3/+0
|
* Remove metatypes from headersNicolas Werner2020-01-311-3/+3
|
* Fix include of lmdb++ with hunterNicolas Werner2020-01-261-0/+4
|
* Reduce overhead of Cache.hNicolas Werner2019-12-151-0/+494