Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-16 | Update autotests/testolmutility.cpp | Alexey Rusakov | |
Co-authored-by: Tobias Fella <9750016+TobiasFella@users.noreply.github.com> | |||
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-05-16 | Simplify QOlmSession::matchesInboundSession*() | Alexey Rusakov | |
There's no particular use in letting `QOlmError` out, only to confirm that, well, `QOlmError` is just another form of no-match. | |||
2022-05-16 | Optimise #includes for QOlm* classes | Alexey Rusakov | |
2022-02-24 | Fix all tests | Tobias Fella | |
2022-02-24 | Fix test | Tobias Fella | |
2022-02-23 | Fix tests a bit | Tobias Fella | |
2022-02-18 | TestOlmAccount::claimKeys(): auth bob as bob, not as alice | Alexey Rusakov | |
2022-02-18 | testolmaccount.cpp: cleanup | Alexey Rusakov | |
2022-02-18 | TestOlmAccount: align homeserver address with that in run-tests.sh | Alexey Rusakov | |
It would probably be even better to pass the homeserver address in the environment but that's a bigger endeavour. Also: reformatted CREATE_CONNECTION macro. | |||
2022-02-18 | testgroupsession.*: fix TestOlmSession copy-pasta | Alexey Rusakov | |
2022-02-18 | run-tests.sh: use a trap for cleanup | Alexey Rusakov | |
This both is more reliable (GHA executes scripts in fail-fast mode) and ensures that the return value is that of ctest. | |||
2022-02-18 | Use QCoreApplication in autotests | Alexey Rusakov | |
QEventLoop refuses to work without an application object instance. | |||
2022-02-18 | CI: setup mock Synapse before running ctest | Alexey Rusakov | |
To use this in CI required extending/fixing autotests/run-tests.sh: it can now accept arguments that are further passed to ctest invocation, and it no more cd's to the build directory because build directories can be in all kinds of places, expecting the caller to pick the directory upfront. | |||
2022-02-17 | Don't create QApplications in tests | Tobias Fella | |
2022-02-16 | TestOlmUtility: fix building with Qt 5.12 | Alexey Rusakov | |
QKeyValueIterator::operator->() only arrived in Qt 5.15. | |||
2022-02-13 | Merge branch 'dev' | Alexey Rusakov | |
The result is FTBFS as yet; next commits will fix that, along with a few other things. | |||
2022-02-07 | Remove encryptionmanager and various fixes | Tobias Fella | |
2022-01-30 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2022-01-29 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2022-01-23 | Move away Omittable static tests to autotests/ | Alexey Rusakov | |
These are not required to build libQuotient, and omittable.cpp entirely consisted of them. | |||
2021-12-25 | Move run-tests.sh | Tobias Fella | |
2021-12-24 | Apply suggestions | Tobias Fella | |
2021-12-10 | Fix compilation of tests against older qt | Tobias Fella | |
2021-12-07 | Rename "crypto" -> "e2ee" | Tobias Fella | |
2021-12-06 | autotests/: don't instantiate QApplication | Alexey Rusakov | |
Those tests don't even need an event loop. | |||
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 | Remove outdated comment | Tobias Fella | |
2021-12-01 | Fix setting encrypted flag in rooms | Carl Schwan | |
2021-12-01 | Add a test (now failing) | Carl Schwan | |
2021-12-01 | Text: Add KeyChange test | Carl Schwan | |
2021-12-01 | Fix tests | Carl Schwan | |
2021-12-01 | test: Add QueryKey test (failing) | Carl Schwan | |
2021-12-01 | Finish writing TestOlmAccount::signatureValid | Carl Schwan | |
2021-12-01 | Fix everything | Carl Schwan | |
2021-12-01 | ssl | Carl Schwan | |
2021-12-01 | Apply suggestions from code review | Carl Schwan | |
Co-authored-by: Tobias Fella <9750016+TobiasFella@users.noreply.github.com> | |||
2021-12-01 | fix typo | Carl Schwan | |
2021-12-01 | Apply a few more comments | Carl Schwan | |
2021-12-01 | Fix signing keys | Carl Schwan | |
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 | 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 | Move files | Carl Schwan | |
2021-12-01 | Add encrypted file struct | Carl Schwan | |
2021-12-01 | Add device key test | Carl Schwan | |