Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-28 | Settings classes: unify on QUO_ macro prefix | Alexey Rusakov | |
At some point macros were prepended with QTNT (pronounced "cute-n't", "Quotient" with vowels dropped) but that didn't go very far. Having forgotten about this, I introduced QUO prefix in a few places. Being initial letters of "Quotient", QUO feels more understandable (and coincidentally is a well-known Latin word); so let's unify on this. | |||
2021-12-28 | Convert struct LoginFlows to namespace | Alexey Rusakov | |
Because that's what it really is. | |||
2021-12-27 | Merge branch 'dev' into pinned | arawaaa | |
2021-12-27 | EventFactory: remove default constructor | Alexey Rusakov | |
This is a leftover from deferred `name` initialisation that wasn't needed in the end. | |||
2021-12-27 | EventItem::setUserData: use std::move | Alexey Rusakov | |
Fixes a clang-tidy warning. | |||
2021-12-27 | Key* strings: drop 'static'; add 'constexpr' where ok | Alexey Rusakov | |
2021-12-27 | Connection: Simplify room/user factory code | Alexey Rusakov | |
There's no need to return lambdas where pointers to specialised function templates would work just fine. | |||
2021-12-26 | Merge #528: Make canChangePassword available from QML | Alexey Rusakov | |
2021-12-25 | Make canChangePassword available from QML | Carl Schwan | |
2021-12-25 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-25 | Remove assert | Tobias Fella | |
2021-12-25 | Update lib/e2ee/qolmoutboundsession.h | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-25 | Update lib/e2ee/qolmoutboundsession.h | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-25 | Don't save olm account ón shutdown | Tobias Fella | |
It causes the program to crash for some reason | |||
2021-12-25 | Remove irrelevant include | Tobias Fella | |
2021-12-25 | Remove unneeded code | Tobias Fella | |
2021-12-25 | Apply suggestions | Tobias Fella | |
2021-12-25 | Update lib/e2ee/qolmoutboundsession.cpp | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-24 | Apply suggestions | Tobias Fella | |
2021-12-24 | Prune empty/ish call*event.cpp files | Alexey Rusakov | |
2021-12-24 | Cache deviceslist to binary when possible | Tobias Fella | |
2021-12-24 | Fix reading unencrypted images | 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-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> |