Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-22 | StateEventBase: force type to unknown if stateKey is not in JSON | Alexey Rusakov | |
2021-12-22 | Simplify the code around EventFactory<> | Alexey Rusakov | |
The former code assumed that EventFactory<> is just a class-level shell for a bunch of functions and a static data member that only exists to allow specialisations to occur for the whole group together. On top of that, setupFactory() and registerEventType() strived to protect this group from double registration coming from static variables in an anonymous namespace produced by REGISTER_EVENT_TYPE. The whole thing is now de-static-ed: resolving the factory now relies on class-static Event/RoomEvent/StateEventBase::factory variables instead of factory_t type aliases; and REGISTER_EVENT_TYPE produces non-static inline variables instead, obviating the need of registerEventType/setupFactory kludge. | |||
2021-12-21 | Don't chain RoomEvent to Event factory any more | Alexey Rusakov | |
Objects derived from Event are not room events (in the spec sense) and never occur in the same arrays as room events; therefore this chaining has always been superfluous. | |||
2021-12-17 | RoomMemberEvent: fix an off-by-one error | Alexey Rusakov | |
Also: extended quotest to cover member renames, not just user profile renames. | |||
2021-12-10 | Remove data from database when leaving room | Tobias Fella | |
2021-12-10 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-10 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-10 | Use individual databases for each connection | Tobias Fella | |
2021-12-10 | ifdef more things | Tobias Fella | |
2021-12-09 | Rename database | Tobias Fella | |
2021-12-09 | Ifdef all the things | Tobias Fella | |
2021-12-09 | Update lib/connection.cpp | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-08 | Update logging categories | Tobias Fella | |
2021-12-08 | Store encryptedevent in decrypted roomevents | Tobias Fella | |
2021-12-07 | Maintain list of undecrypted events to speed up decryption of old | Tobias Fella | |
messages | |||
2021-12-07 | Remove default constructor | 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 | |
2021-12-03 | Cleanup; drop an unused RoomAliasesEvent constructor | Alexey Rusakov | |
Also, RoomAliasesEvent is to be completely gone after 0.7. | |||
2021-12-02 | Cleanup on Sonar issues | Alexey Rusakov | |
2021-12-02 | Improve function_traits<>; split out from util.* | Alexey Rusakov | |
Quotient::function_traits<> did not support member functions in a proper way (i.e. the way std::invoke_result<> treats them, with the function's owning class represented as the first parameter). Now that I gained the skill and understanding in function_traits<> somewhat wicked machinery, I could properly support member functions. Overloads and generic lambdas are not supported but maybe we'll get to those one day. | |||
2021-12-02 | visit(Event, ...) -> switchOnType() | Alexey Rusakov | |
It has not much to do with the Visitor design pattern; also, std::visit() has different conventions on the order of parameters. | |||
2021-12-01 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-01 | More improvements | Tobias Fella | |
2021-12-01 | Apply even more suggestions | Tobias Fella | |
2021-12-01 | Apply more suggestions | Tobias Fella | |
2021-12-01 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-01 | Use UnorderedMap instead of std::map | Tobias Fella | |
2021-12-01 | Fix compilation | Carl Schwan | |
2021-12-01 | Add function to decrypt notifications | Tobias Fella | |
2021-12-01 | Move non-cache data to a non-cache location | Tobias Fella | |
2021-12-01 | Save olm account on shutdown | Tobias Fella | |
2021-12-01 | Various improvements and fixes | Tobias Fella | |
2021-12-01 | Try decrypting existing messages when a new key is added | Tobias Fella | |
2021-12-01 | Add mxc protocol to the networkaccessmanager | Tobias Fella | |
2021-12-01 | Handle encrypted file download through existing API | Tobias Fella | |
2021-12-01 | Implement download and decryption of encrypted files | Tobias Fella | |
2021-12-01 | Store pickling key in qtkeychain and pickle encrypted | Tobias Fella | |
2021-12-01 | Various fixes | Tobias Fella | |
2021-12-01 | Don't crash when ToDeviceEvent decryption fails | Tobias Fella | |
2021-12-01 | Implement (meg)olm key caching, megolm decrypting, EncryptedEvent | Tobias Fella | |
decryption, handling of encrypted redactions and replies | |||
2021-12-01 | Don't die on broken olm account | Carl Schwan | |
2021-12-01 | Fix olm error parsing | Tobias Fella | |
2021-12-01 | Add a function for decrypting E2EE files/images | Tobias Fella | |
2021-12-01 | Fix build without E2EE | Tobias Fella | |
2021-12-01 | Fix FTBFS | Tobias Fella | |
2021-12-01 | Emit needsSave when required | Tobias Fella | |