aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-03-29quotest: minor cleanupKitsune Ral
2020-03-29Fix building tests with installed Quotient in E2EE configurationKitsune Ral
2020-03-28CMakeLists.txt: don't EXCLUDE_FROM_ALL if QtOlm is in-treeKitsune Ral
2020-03-27Fix FTBFS with Quotient_ENABLE_E2EEKitsune Ral
2020-03-27QuotientConfig.cmake: fix another typoKitsune Ral
2020-03-27.travis.yml: fix a typoKitsune Ral
2020-03-26Travis CI: build with and without E2EEKitsune Ral
2020-03-26Fix building tests without E2EEKitsune Ral
2020-03-26Refactoring around Connection::onSyncSuccess()Kitsune Ral
2020-03-26AliasesEventContent::toJson(): optimise generated JSONKitsune Ral
2020-03-26Room::aliases(): don't add canonical alias if it's emptyKitsune Ral
2020-03-24Connection: fix a deprecation warningKitsune Ral
2020-03-23Expose aliases() and altAliases() as propertiesBlack Hat
2020-03-21Merge pull request #383 from ram-nad/msc2432-fixKitsune Ral
2020-03-21Update aliases code lib/room.cppRam Nad
2020-03-20Merge branch 'msc2432-fix' of github.com:ram-nad/libQuotient into msc2432-fixRam Nad
2020-03-20emit nameChanged() on AliasesChangeRam Nad
2020-03-20Make rvalue constructor explicit Update lib/events/roomcanonicalaliasevent.hRam Nad
2020-03-20Make constructor explicit lib/events/roomcanonicalaliasevent.hRam Nad
2020-03-20dont use thisRam Nad
2020-03-20added altAliases()Ram Nad
2020-03-20Merge pull request #389 from quotient-im/kitsune-login-flowsKitsune Ral
2020-03-20adding header in qmakeRam Nad
2020-03-20made suggested changesRam Nad
2020-03-20Add warranty in lib/events/roomcanonicalaliasevent.hRam Nad
2020-03-19Merge pull request #376 from rpallai/editing-fixesKitsune Ral
2020-03-18SsoSession and Connection::prepareForSso()Kitsune Ral
2020-03-17Use constantRoland Pallai
2020-03-17MSC1849 compatible edited messages (#373)Roland Pallai
2020-03-15Connection: loginWithToken(); connectWithToken() -> assumeIdentity()Kitsune Ral
2020-03-14Connection: minor cleanupKitsune Ral
2020-03-13Connection: support getting the list of login flowsKitsune Ral
2020-03-13Merge pull request #346 from quotient-im/aa13q-e2ee-encrypted-msgKitsune Ral
2020-03-12E2EE: Make building E2EE optional. Contributes to #369Alexey Andreev
2020-03-09Merge pull request #320 from krkk/roommemberevent-typesKitsune Ral
2020-03-08fixing msc2432Ram Nad
2020-02-25Room: fix merge regressionAlexey Andreyev
2020-02-25E2EE: implement megolm inbound session decrypt for roomAlexey Andreyev
2020-02-25E2EE: add connection session decrypt, handle to-device and device_one_time_ke...Alexey Andreyev
2020-02-25E2EE: fix olm session decrypt, move to EncryptionManagerAlexey Andreyev
2020-02-25E2EE: EncryptedEvent constructor debug messageAlexey Andreyev
2020-02-25E2EE: implement SyncData::deviceOneTimeKeysCountAlexey Andreyev
2020-02-25E2EE: introduce RoomKeyEventAlexey Andreyev
2020-02-25E2EE: Fix EncryptionManager initialization placeAlexey Andreyev
2020-02-22RoomMemberEvent: add isRejectedInvite(), isBan(), and isUnban()Karol Kosek
2020-02-20Merge pull request #379 from quotient-im/aa13q-quotest-readmeAlexey Andreyev
2020-02-18[quotest] Refactor Cmake files with variable project nameAlexey Andreev
2020-02-18[quotest] Update README.mdAlexey Andreev
2020-02-12Merge pull request #378 from ram-nad/travis-fixKitsune Ral
2020-02-12trying qmake fixRam Nad
> QStringLiteral("GetPushRulesJob"), QStringLiteral("/_matrix/client/r0") % "/pushrules") { addExpectedKey("global"); } QUrl GetPushRuleJob::makeRequestUrl(QUrl baseUrl, const QString& scope, const QString& kind, const QString& ruleId) { return BaseJob::makeRequestUrl(std::move(baseUrl), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId); } GetPushRuleJob::GetPushRuleJob(const QString& scope, const QString& kind, const QString& ruleId) : BaseJob(HttpVerb::Get, QStringLiteral("GetPushRuleJob"), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId) {} QUrl DeletePushRuleJob::makeRequestUrl(QUrl baseUrl, const QString& scope, const QString& kind, const QString& ruleId) { return BaseJob::makeRequestUrl(std::move(baseUrl), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId); } DeletePushRuleJob::DeletePushRuleJob(const QString& scope, const QString& kind, const QString& ruleId) : BaseJob(HttpVerb::Delete, QStringLiteral("DeletePushRuleJob"), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId) {} auto queryToSetPushRule(const QString& before, const QString& after) { BaseJob::Query _q; addParam<IfNotEmpty>(_q, QStringLiteral("before"), before); addParam<IfNotEmpty>(_q, QStringLiteral("after"), after); return _q; } SetPushRuleJob::SetPushRuleJob(const QString& scope, const QString& kind, const QString& ruleId, const QVector<QVariant>& actions, const QString& before, const QString& after, const QVector<PushCondition>& conditions, const QString& pattern) : BaseJob(HttpVerb::Put, QStringLiteral("SetPushRuleJob"), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId, queryToSetPushRule(before, after)) { QJsonObject _data; addParam<>(_data, QStringLiteral("actions"), actions); addParam<IfNotEmpty>(_data, QStringLiteral("conditions"), conditions); addParam<IfNotEmpty>(_data, QStringLiteral("pattern"), pattern); setRequestData(std::move(_data)); } QUrl IsPushRuleEnabledJob::makeRequestUrl(QUrl baseUrl, const QString& scope, const QString& kind, const QString& ruleId) { return BaseJob::makeRequestUrl(std::move(baseUrl), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId % "/enabled"); } IsPushRuleEnabledJob::IsPushRuleEnabledJob(const QString& scope, const QString& kind, const QString& ruleId) : BaseJob(HttpVerb::Get, QStringLiteral("IsPushRuleEnabledJob"), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId % "/enabled") { addExpectedKey("enabled"); } SetPushRuleEnabledJob::SetPushRuleEnabledJob(const QString& scope, const QString& kind, const QString& ruleId, bool enabled) : BaseJob(HttpVerb::Put, QStringLiteral("SetPushRuleEnabledJob"), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId % "/enabled") { QJsonObject _data; addParam<>(_data, QStringLiteral("enabled"), enabled); setRequestData(std::move(_data)); } QUrl GetPushRuleActionsJob::makeRequestUrl(QUrl baseUrl, const QString& scope, const QString& kind, const QString& ruleId) { return BaseJob::makeRequestUrl(std::move(baseUrl), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId % "/actions"); } GetPushRuleActionsJob::GetPushRuleActionsJob(const QString& scope, const QString& kind, const QString& ruleId) : BaseJob(HttpVerb::Get, QStringLiteral("GetPushRuleActionsJob"), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId % "/actions") { addExpectedKey("actions"); } SetPushRuleActionsJob::SetPushRuleActionsJob(const QString& scope, const QString& kind, const QString& ruleId, const QVector<QVariant>& actions) : BaseJob(HttpVerb::Put, QStringLiteral("SetPushRuleActionsJob"), QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/" % kind % "/" % ruleId % "/actions") { QJsonObject _data; addParam<>(_data, QStringLiteral("actions"), actions); setRequestData(std::move(_data)); }