aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-08ConnectionData: stop the timer on destructionKitsune Ral
...to prevent from trying to send requests after closing the connection.
2019-12-08Remove extraneous qualificationKitsune Ral
2019-12-06MSC1954: Remove prev_content from the essential keys listAlexey Andreyev
Fixes #318
2019-12-05Merge pull request #363 from quotient-im/aa13q-room-highlightingKitsune Ral
Fix room highlighting for names with hashtag
2019-11-30Fix room highlighting for names with hashtagAlexey Andreyev
Fixes #359
2019-11-19BaseJob: Don't send accessToken if not needed; send again on 401Kitsune Ral
The first part closes #358; the second part is a workaround for non-standard cases when endpoints without security by the spec turn out to be secured (in particular, the case of authenticating media servers).
2019-11-19Add LGTM badgeKitsune Ral
2019-11-10CleanupKitsune Ral
2019-11-10makeRedacted: fix code formattingKitsune Ral
2019-11-02Add LGTM supportKitsune Ral
See https://lgtm.com
2019-11-02Compatibility with Qt 5.14Kitsune Ral
2019-11-01Merge branch 'kitsune-std-optional2'Kitsune Ral
2019-11-01Omittable: Add direct-list-initialising operator=; documentKitsune Ral
See the change in connection.cpp for the example of usage. Also: removed static_asserts: the first one is provided by std::optional, and the second one is only relevant to edit().
2019-11-01Reinstate Omittable<>::omitted (deprecated)Kitsune Ral
To ease on back-compatibility.
2019-11-01Merge branch 'kitsune-std-optional'Kitsune Ral
2019-11-01Omittable: get rid of value()Kitsune Ral
Xcode 10 doesn't have it, and value() is not quite fitting mostly-exceptionless Quotient anyway.
2019-11-01Derive Omittable<> from std::optional<>Kitsune Ral
That breaks API all over the place but: 1. The fixes are trivial. 2. More of std:: is used instead of home-baking the same stuff.
2019-10-23Remove the old source fileKitsune Ral
2019-10-22Merge branch 'kitsune-quotest3'Kitsune Ral
2019-10-21Quotest: more work on test invocationKitsune Ral
Tests should be private slots, not public slots; and they are invoked through a QueuedConnection so that both sync and async tests could be processed uniformly with clear code.
2019-10-21Quotest: use clog instead of coutKitsune Ral
Because cout is not synchronised with stderr and the library's debug printing is not aligned with that from quotest. qDebug()/qWarn() would probably be even better, for consistency; but require switching from std::string to QString.
2019-10-21Quotest: derive TestManager from QCoreApplicationKitsune Ral
Also: joining the test room didn't survive being a test in its own right and has been reverted to be a part of setupAndRun().
2019-10-21Connection: record sync timeout; suspend sync before logoutKitsune Ral
This is mostly internal but clients may see fewer spurious sync failures upon logging out.
2019-10-21Connection: make syncLoop() reentrantKitsune Ral
...in the sense that you can call it twice and expect the second invocation to be gracefully ignored rather than two loops conflicting with each other.
2019-10-21Merge branch 'kitsune-update-docs'Kitsune Ral
2019-10-21Merge branch 'kitsune-quotest2'Kitsune Ral
2019-10-21ConnectionData: fix read-after-free in clearing the job queueKitsune Ral
2019-10-21tests/CMakeLists.txt: QMC -> Quotient; add Qt5::Test to depsKitsune Ral
2019-10-20Update documentation regarding C++17 support levelKitsune Ral
[skip ci]
2019-10-20Quotest: factor out tests into TestSuite; rework sync testsKitsune Ral
Synchronous tests now use QSignalSpy instead of connecting to the signal just before its emission.
2019-10-20Qualify types in signals and Q_INVOKABLEsKitsune Ral
Because https://doc.qt.io/qt-5/moc.html#limitations . For direct connections that doesn't matter but it very much does for queued ones. Along with this DirectChatsMap and IgnoredUsersList have been moved from Connection:: to Quotient::.
2019-10-18TestManager::setTopic: add debug loggingKitsune Ral
2019-10-18qmc-example -> quotest, QMCTest -> TestManagerKitsune Ral
Also: some bits of refactoring in the test code to make it more extensible. Closes #352.
2019-10-17Connection::joinRoom: make sure the room object is created early enoughKitsune Ral
All direct slots connected to finished() will run before success() is even emitted; so create the room object in the earliest slot connected to finished(), rather than to success().
2019-10-15Merge branch 'kitsune-travis-tweaks'Kitsune Ral
2019-10-14Use aliases instead of env variablesKitsune Ral
They are a tad cleaner.
2019-10-14.travis.yml: A few smaller improvementsKitsune Ral
2019-10-13Merge branch 'ci-refactoring'Kitsune Ral
2019-10-13Update Valgrind suppressionsKitsune Ral
2019-10-13Travis CI: Build olm as a dynamic objectKitsune Ral
2019-10-13Travis CI: Use built rather than installed olmKitsune Ral
...until the patch to fix olm CMake installation is accepted upstream.
2019-10-13CI: use env variables to group common CMake (and other) valuesKitsune Ral
For AppVeyor, skip olm installation as we don't intend to check dynamic linkage.
2019-10-11.travis.yml: factor out common partsKitsune Ral
2019-10-02Fix Room::localAliases()Black Hat
When homeserver's csapi is in a subdomain, e.g. matrix.example.org, the authority of api endpoint url differs from server name, example.org. This causes Room::localAliases() to fail.
2019-10-02BaseJob::Private: experiment with [[nodiscard]]Kitsune Ral
2019-10-02More fixes for Apple not having deduction guides in stdlibKitsune Ral
2019-10-02wrap_in_function()Kitsune Ral
Because Apple stdlib doesn't have std::function deduction guides.
2019-10-01Merge pull request #356 from m-rey/patch-1Black Hat
Fix openSUSE misspelling
2019-10-01Fix openSUSE misspellingMartin Rey
Fix #355 The correct spelling of openSUSE can be checked on https://en.opensuse.org/Portal:Distribution
2019-09-30Merge pull request #342 from quotient-im/bhat-libqtolm-updateBlack Hat
Update libQtOlm