summary refs log tree commit diff
path: root/src/Cache.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Make clazy happyNicolas Werner2023-11-021-2/+2
* Use sha256 to encode the database name instead of just hex encoding itNicolas Werner2023-11-021-14/+39
* Spaces are now boldNicolas Werner2023-11-011-0/+1
* Cleanup headers a bit moreNicolas Werner2023-10-311-12/+18
* A few more small speedupsNicolas Werner2023-10-311-61/+5
* Speed up compilation a bitNicolas Werner2023-10-311-3/+242
* fix room name calculation with 3 membersNicolas Werner2023-10-281-2/+17
* Fix lintingNicolas Werner2023-10-251-5/+6
* Properly close cursors before commit and db deletionNicolas Werner2023-10-251-0/+2
* Fix double free on commit database migrationmips64-el2023-10-251-1/+3
* Migrate olm sessions to be stored in one database instead of thousandsNicolas Werner2023-10-231-16/+89
* Add a way to compact the databaseNicolas Werner2023-10-211-5/+95
* Qt6.6 compatibilityNicolas Werner2023-10-131-1/+1
* Fix a few more bugs where a limited timeline could cause a hanging paginationNicolas Werner2023-07-091-2/+15
* Fix pagination in rooms with a full batch of redactionsNicolas Werner2023-07-091-4/+21
* Add an early out cache for event expirationNicolas Werner2023-07-061-1/+38
* Fix build against fmt10Nicolas Werner2023-06-281-1/+1
* Add inviter to the invite reasonNicolas Werner2023-06-101-2/+13
* Fix a few more clazy warningsNicolas Werner2023-06-081-1/+3
* Fix qtkeychain includeNicolas Werner2023-06-081-1/+1
* Fix QChar rangeNicolas Werner2023-06-081-2/+1
* Make Nheko compile on Qt6Nicolas Werner2023-06-081-13/+2
* Delete unused msg db functionNicolas Werner2023-05-061-56/+1
* Sort rooms in completer by 'activity' and make tombstoned rooms italicNicolas Werner2023-05-061-6/+38
* Adapt to the new inherited variantNicolas Werner2023-04-111-28/+22
* Improve state event redactionNicolas Werner2023-03-261-3/+23
* All around me are empty spacesNicolas Werner2023-03-201-6/+16
* Reduce db writes a bitNicolas Werner2023-03-191-7/+32
* Don't try to load emotes from space parents we are not inNicolas Werner2023-03-191-2/+9
* Speed up writes of events with statekeys to state dbNicolas Werner2023-03-141-1/+59
* Show rooms you share with someoneNicolas Werner2023-02-241-0/+30
* Reenable the nosync options for the databaseNicolas Werner2023-02-231-1/+6
* Get rid of year in license headersNicolas Werner2023-02-211-4/+1
* More template bloat reductionNicolas Werner2023-02-201-7/+4
* Remove a few more unused symbolsNicolas Werner2023-02-191-20/+20
* Optimize user model construction by 2.5xNicolas Werner2023-01-311-5/+11
* Speedup quick switcherNicolas Werner2023-01-071-2/+33
* Fix crash in migrations during secrets deletionNicolas Werner2023-01-071-16/+46
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-021-0/+1
* Fix state reset commandNicolas Werner2022-12-271-1/+7
* Show invite reason in the UI (hidden by default)Nicolas Werner2022-12-271-1/+28
* Fix sending confettiNicolas Werner2022-12-161-1/+1
* Try to fix clang-tidyNicolas Werner2022-11-061-1/+2
* Store secrets (apart from the pickle key) in the databaseNicolas Werner2022-11-061-45/+82
* Prompt before deleting the databaseNicolas Werner2022-11-061-1/+2
* Continue fetching past messages when searchingNicolas Werner2022-11-031-46/+52
* The hybris of committing a line without lintingNicolas Werner2022-11-011-2/+2
* Optimize fetching olm session from the dbNicolas Werner2022-11-011-25/+28
* Speedup sending encrypted messages after metasync was reenabledNicolas Werner2022-11-011-0/+23
* Turn metasync and sync back on for the database to account for bad filesystemsNicolas Werner2022-10-281-1/+4
* Enable -WconversionNicolas Werner2022-10-261-3/+3
* VoIP v1 implementation (#1161)Rohit Sutradhar2022-10-141-0/+17
* Evaluate push rules locallyNicolas Werner2022-10-131-126/+0
* Reduce windows ci warningsNicolas Werner2022-10-011-2/+3
* Basic threading supportNicolas Werner2022-09-301-25/+1
* Line to indicate first unread message (#1147)Hiers2022-09-111-8/+71
* Fix crash on empty private read receipts being receivedNicolas Werner2022-09-061-4/+5
* Implement space stickers & emojiNicolas Werner2022-09-011-10/+33
* Fix invalid userids on profile requestsNicolas Werner2022-08-301-0/+14
* Fix crash when device has no keys to verifyNicolas Werner2022-08-131-0/+8
* Make code compile with hidden friendsNicolas Werner2022-07-291-7/+7
* Merge pull request #1121 from MayeulC/32bitDeepBlueV7.X2022-07-201-3/+10
|\
| * fixup! Better handle 32-bit platforms by limitting database sizeMayeul Cantan2022-07-201-4/+5
| * Better handle 32-bit platforms by limitting database sizeMayeul Cantan2022-07-191-3/+9
* | Fix crash when creating link to room previewNicolas Werner2022-07-191-39/+50
|/
* Updated call event namespaces to voipr0hit052022-07-151-3/+3
* Fix crash on empty user cache storedNicolas Werner2022-07-011-3/+7
* Fix bad timestamps being stored for room infosNicolas Werner2022-06-281-1/+4
* Fix timestamps after loadingNicolas Werner2022-06-261-2/+31
* Request full online keybackup when turning it onNicolas Werner2022-06-191-3/+41
* Remove a few more headersNicolas Werner2022-06-181-4/+5
* Skip migration if sender_key is not a string or presentNicolas Werner2022-06-181-1/+3
* Get rid of 'using json = nlohmann::json'Nicolas Werner2022-06-171-144/+152
* Fix compilation without implicit nlohmann conversionsNicolas Werner2022-06-171-52/+62
* Remove redundant alias functionNicolas Werner2022-06-171-25/+0
* Speedup startup by caching last message timestampNicolas Werner2022-06-151-16/+72
* Update hidden read receipts MSCNicolas Werner2022-06-141-8/+20
* Fix cursor not being closed before txn was committedJoseph Donofry2022-04-141-0/+1
* Fix accidental shadowingNicolas Werner2022-04-131-1/+1
* Store notification counts across restartsNicolas Werner2022-04-131-7/+16
* Fix typo in key exportNicolas Werner2022-04-081-1/+2
* Fix a few issues with receiving to_device messages in initial syncNicolas Werner2022-04-081-6/+14
* Remove sender key from megolm session indexNicolas Werner2022-04-081-9/+72
* Fix crash on missing pack descriptionNicolas Werner2022-03-251-2/+4
* Fix editing pending messagesNicolas Werner2022-02-271-0/+22
* Hidden events: Refactor slightly for reusabilityNicolas Werner2022-02-121-15/+41
* Add /reset-state commandNicolas Werner2022-02-051-0/+38
* Fix secrets not loading after registrationNicolas Werner2022-01-291-0/+2
* Initial qml root windowNicolas Werner2022-01-261-1/+1
* fixed a typo in Cache.cppAyushi Bisht2022-01-171-1/+1
* Fix presence db creation on servers without presenceNicolas Werner2022-01-031-9/+8
* Possibly fix crash on accepting invitesNicolas Werner2022-01-031-24/+28
* Update year in copyright notice to shut up lint jobNicolas Werner2022-01-011-0/+1
* Update translationsNicolas Werner2022-01-011-1/+1
* Update presence dynamically and reduce allocationsNicolas Werner2021-12-301-42/+10
* Reserve size of some containers we are fillingNicolas Werner2021-12-291-6/+6
* Reduce allocations using QStringLiteralNicolas Werner2021-12-291-10/+10
* Add clazy to CINicolas Werner2021-12-291-12/+10
* Cleanup remaining clazy issuesNicolas Werner2021-12-281-8/+8
* Merge pull request #855 from rnhmjoj/masterDeepBlueV7.X2021-12-281-7/+43
|\
| * Make nheko usable without a secret storage servicernhmjoj2021-12-271-7/+43
* | more cleanupsNicolas Werner2021-12-281-9/+10
* | Some qt6 prepNicolas Werner2021-12-281-1/+1
* | Fix inclusion condition for overriden pack typesNicolas Werner2021-12-271-1/+1
* | Add an ugly custom emote completer using ~Nicolas Werner2021-12-271-16/+18
|/
* Set notification categoryNicolas Werner2021-12-191-0/+2
* Fix a few clang tidy warningsNicolas Werner2021-12-061-6/+2
* Only mark as direct, if invite was directNicolas Werner2021-11-211-2/+6
* Disallow displaynames with only spaces or control charactersNicolas Werner2021-11-141-5/+12
* Improve fetching of device keys after loginNicolas Werner2021-11-081-2/+4
* Move away from using an event loop to access secretsNicolas Werner2021-11-071-140/+173
* Fix crash when clearing empty timelineNicolas Werner2021-11-061-3/+5
* Update translationsNicolas Werner2021-11-031-5/+5
* Fix crash on logoutNicolas Werner2021-11-011-23/+25
* Prompt user when there are unverified devicesNicolas Werner2021-11-011-6/+4
* Fix calculating hidden space childrenNicolas Werner2021-10-201-1/+14
* Move voip and encryption stuff into their own directoriesNicolas Werner2021-10-171-1/+1
* Support bootstrapping crosssigningNicolas Werner2021-10-091-0/+12
* Added support for refreshing the device list, marking current device with a c...Thulinma2021-10-061-0/+10
* Change indentation to 4 spacesNicolas Werner2021-09-181-3275/+3149
* Merge pull request #416 from LorenDB/jdenticonDeepBlueV7.X2021-09-131-0/+46
|\
| * Streamline getting other user id from invited direct chatLoren Burkholder2021-09-111-12/+4
| * Fix invites crashing the whole appLoren Burkholder2021-09-111-0/+54
* | Keep identities for users cachedNicolas Werner2021-09-131-8/+0
|/
* Fix duplicate check possibly leaving large gaps if initial state was not in t...Nicolas Werner2021-09-061-2/+2
* Fixed duplicate messages appearing in timeline if server sent themThulinma2021-09-051-23/+36
* Make error case with unverified master key more descriptiveNicolas Werner2021-09-031-7/+13
* Fix session always being rotated if 'verified only' is activeNicolas Werner2021-08-311-2/+4
* Remove useless ;Nicolas Werner2021-08-311-1/+1
* Stop encrypting all sessions with secretNicolas Werner2021-08-311-20/+45
* Require a working secrets storageNicolas Werner2021-08-311-2/+28
* Useless captureNicolas Werner2021-08-221-1/+1
* Even if you just change the log level, ensure that this compiles before pushi...Nicolas Werner2021-08-221-1/+1
* Add db migration that clears the cacheNicolas Werner2021-08-221-9/+47
* Allow downloading keys from key backupNicolas Werner2021-08-171-0/+47
* Fix shadowingNicolas Werner2021-08-141-3/+2
* Request keys when opening a room for the first timeNicolas Werner2021-08-141-11/+26
* Ensure device signatures always get verified on device updateNicolas Werner2021-08-141-1/+36
* Show verification status in memberlistNicolas Werner2021-08-131-2/+0
* Show if there are unverified devices in a roomNicolas Werner2021-08-131-65/+161
* Fix potential crash when trying to read room info too earlyNicolas Werner2021-08-111-16/+22
* Enable insecure fallback for secret storageNicolas Werner2021-08-081-1/+8
* Breaking: Change secret names and fix bug when storing secretsNicolas Werner2021-08-081-20/+36
* Protect against replay attacksNicolas Werner2021-08-071-1/+5
* 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
* Ensure the encrypted rooms db is always createdNicolas Werner2021-07-311-4/+5
* Fix crash when storing secretsNicolas Werner2021-07-251-22/+23
* 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
* Store megolm session data in separate databaseNicolas Werner2021-07-171-30/+72
* Try to fix crash in setCurrentIndexNicolas Werner2021-07-131-17/+24
* 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
* 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 th...Nicolas Werner2021-04-201-1/+1
* 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
* 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
|\
| * 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
* 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
* Handle matrix schemeNicolas Werner2021-01-101-0/+28
* Fix typing notifications flickering sometimesNicolas Werner2021-01-051-26/+51
* Fix #359Nicolas Werner2020-12-271-8/+8
* lintNicolas Werner2020-12-251-15/+18
* Merge pull request #358 from Nheko-Reborn/windows-fixesDeepBlueV7.X2020-12-251-15/+19
|\
| * 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
|/
* 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
* 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 if...Joseph Donofry2020-10-091-7/+48
* 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
* | 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
| * 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
| |\
| | * 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