Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-01 | More test but still failing in signing/signature verification | Carl Schwan | |
2021-12-01 | Add more test and use macro to remove duplicated code | Carl Schwan | |
2021-12-01 | Key verification | Carl Schwan | |
2021-12-01 | More tests | Carl Schwan | |
2021-12-01 | More porting to new API | Carl Schwan | |
2021-12-01 | Fix test | Carl Schwan | |
2021-12-01 | E2EE: initial port to internal olm wrapper | Alexey Andreyev | |
Remove qtolm git module. Update CMakeLists.txt. Rename olm to crypto subdir to prevent disambiguation. Rename internal files accordingly. Comment out not ported E2EE API usage. | |||
2021-12-01 | Remove duplicated file | Carl Schwan | |
2021-12-01 | Move files | Carl Schwan | |
2021-12-01 | Add encrypted file struct | Carl Schwan | |
2021-12-01 | Fix CI | Carl Schwan | |
2021-12-01 | Add device key test | Carl Schwan | |
2021-12-01 | Disable olm test when disabling encryption | Carl Schwan | |
2021-12-01 | Implement session sorting | Carl Schwan | |
2021-12-01 | Add QOlmSession::decrypt | Carl Schwan | |
2021-12-01 | Add more test and methods in session handling | Carl Schwan | |
2021-12-01 | Add first session test and it fails :( | Carl Schwan | |
2021-12-01 | Start adding test for session stuff | Carl Schwan | |
2021-12-01 | Add hehlper functions | Carl Schwan | |
2021-12-01 | Add missing reinterpret_cast for session data | Alexey Andreyev | |
2021-12-01 | E2EE: Introduce session (WiP) | Alexey Andreyev | |
2021-12-01 | Improve API | Carl Schwan | |
2021-12-01 | Add group session decrypt/encrypt test and fix bug found by it | Carl Schwan | |
2021-12-01 | Depends on OpenSSL for crypo rand | Carl Schwan | |
2021-12-01 | Update test | Carl Schwan | |
2021-12-01 | Make it work | Carl Schwan | |
2021-12-01 | Fix documentation typos | Carl Schwan | |
Co-authored-by: Tobias Fella <9750016+TobiasFella@users.noreply.github.com> | |||
2021-12-01 | ifdef everything | Carl Schwan | |
2021-12-01 | Implement outboundsession | Carl Schwan | |
2021-12-01 | Implement Inboundsession | Carl Schwan | |
2021-12-01 | Start inboundsession wrapper | Carl Schwan | |
2021-12-01 | Add destructor | Carl Schwan | |
2021-12-01 | Add tests | Carl Schwan | |
2021-12-01 | Start implementing Qt olm binding | Carl Schwan | |
2021-11-28 | Simplify converters.* | Alexey Rusakov | |
There was a lot of excess redirection in fromJson() and toJson() with most of JsonConverter<> specialisations being unnecessary boilerplate. These have been replaced by overloads for toJson() and explicit specialisations for fromJson() wherever possible without breaking the conversion logic. | |||
2021-11-28 | CMakeLists: drop obsolete -W from the warnings list | Alexey Rusakov | |
Turns out it's been deprecated by -Wextra since before Quotient existed. | |||
2021-11-28 | Comment on const return types in event.h | Alexey Rusakov | |
Proper linters recognise that the returned types are not primitive, while people might still be confused a bit. | |||
2021-11-28 | Don't std::move when the callee doesn't support it | Alexey Rusakov | |
In both fixed cases the callee accepts a const reference, which makes std::move() useless. Static analyzers apparently missed them because the cases are inside a macro. | |||
2021-11-28 | One more small thing to actually fix CI breakage | Alexey Rusakov | |
It's might look weird; but without making fromJson() a specialisation it becomes an overload next to an implicit specialisation of the template function defined just above, and then loses to that specialisation because it (also) has the perfect match. (would be great if the compiler shaded the implicit specialisation in such cases - alas it's not how the standard works.) | |||
2021-11-28 | Fix CI breakage caused by the previous commit | Alexey Rusakov | |
2021-11-28 | Event::unsignedPart() | Alexey Rusakov | |
Similar to contentPart() - apparently there are enough places across the code that would benefit from it. | |||
2021-11-27 | basicEventJson(): dismiss with the template | Alexey Rusakov | |
Given that QJsonObject only accepts QStrings in the list constructor, the template is useless cruft. | |||
2021-11-27 | Code cleanup | Alexey Rusakov | |
2021-11-27 | Event::content() -> contentPart() | Alexey Rusakov | |
There's a clash between Event::content() (a template function) and RoomMessageEvent::content() (plain member). Out of these two, the name more fits to the RME's member function - strictly speaking, Event::content() retrieves a part of content, and so is renamed. In addition, contentPart() defaults to QJsonValue now, which is pretty intuitive (the function returns values from a JSON object) and allows to implement more elaborate logic such as if (const auto v = contentPart<>("key"_ls); v.isObject()) { // foo } else if (v.isString()) { // bar } else { // boo } | |||
2021-11-27 | Add SonarCloud analysis to CI | Alexey Rusakov | |
2021-11-27 | Delete ISSUE_TEMPLATE.md | Alexey Rusakov | |
New issue templates reside under .github/ | |||
2021-11-27 | Add issue templates | Alexey Rusakov | |
2021-11-27 | Merge pull request #518 from Smittyvb/room-stateEvents | Alexey Rusakov | |
2021-11-26 | Add Room::{stateEventsOfType,currentState} | Smitty | |
This is useful for implementing Spaces support, where all events of type `m.space.child` are needed, and we don't know their state keys in advance. | |||
2021-11-26 | Fix crashing on invalid member and encryption events | Alexey Rusakov | |
The problem is in Room::processStateEvent(): after potentially-inserting-nullptr into currentState, pre-check failure (that may occur on member and trigger events for now) leaves that nullptr in the hash map. Basically anything that uses currentState (e.g., Room::toJson) assumes that currentState has no nullptrs - which leads to either an assertion failure, or nullptr dereferencing. The fix removes the nullptr placeholder if the pre-checks failed. |