Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-29 | Refactor creation of Megolm sessions in Room | Alexey Rusakov | |
Notably, replace a multi-level hash map with QMultiHash and factor out Room::P::createOlmSession(). | |||
2022-05-19 | Use list of 3-tuple instead of map | Tobias Fella | |
2022-05-18 | Make database independent of {Room, User, Connection} | Tobias Fella | |
2022-05-18 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2022-05-16 | Fix build failures | Tobias Fella | |
2022-05-16 | Add database migration | Tobias Fella | |
2022-05-16 | More work; Update olm pickle & timestamps in database; Remove TODOs | Tobias Fella | |
2022-05-16 | Keep log of where we send keys and send keys to new devices and users | Tobias Fella | |
2022-05-16 | Save and load outgoing megolm session | Tobias Fella | |
2022-05-16 | QOlmExpected and associated refactoring | Alexey Rusakov | |
As mentioned in the commit introducing `Expected`, `QOlmExpected` is simply an alias for `Expected<T, QOlmError>`. This simplifies quite a few function signatures in `QOlm*` classes and collapses unwieldy `std::holds_alternative<>`/`std::get<>` constructs into a neat contextual bool cast and an invocation of `operator*` or `value()`/`error()` accessors that don't need to specify the type. While refactoring the code, I found a couple of cases of mismatching `uint32_t` and `qint32_t` in return values; a couple of cases where `decrypt()` returns `QString` which is in fact `QByteArray` (e.g., in `QOlmSession::decrypt()`); there's a repetitive algorithm in `Connection::Private::sessionDecryptPrekey()` and `sessionDecryptGeneral()` | |||
2022-04-09 | Prepare for MSC 3700 | Tobias Fella | |
2022-04-09 | Check edKey when receiving an olm message | Tobias Fella | |
2022-03-09 | Update lib/database.cpp | Tobias Fella | |
Co-authored-by: Carl Schwan <carl@carlschwan.eu> | |||
2022-03-08 | Store time of last decrypted message for each olm session | Tobias Fella | |
Is required to correctly choose a session to use for sending messages | |||
2022-03-07 | Add datbase migration | Tobias Fella | |
2022-03-07 | Store the device's ed25519 in the database | Tobias Fella | |
2022-02-24 | Fix all tests | Tobias Fella | |
2022-02-12 | Replace QPair with std::pair | Tobias Fella | |
2022-01-30 | Port devices list to database | Tobias Fella | |
2021-12-22 | Another improvement | Tobias Fella | |
2021-12-22 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-10 | Remove data from database when leaving room | Tobias Fella | |
2021-12-10 | Use individual databases for each connection | Tobias Fella | |
2021-12-09 | Rename database | Tobias Fella | |
2021-12-08 | Update logging categories | Tobias Fella | |
2021-12-07 | snake_case table names | Tobias Fella | |
2021-12-07 | Fixes | Tobias Fella | |
2021-12-07 | id -> matrixId | Tobias Fella | |
2021-12-07 | Rename "crypto" -> "e2ee" | Tobias Fella | |
2021-12-07 | Port E2EE to database instead of JSON files | Tobias Fella | |