aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-08-02Merge branch 'master' into use-clang-formatKitsune Ral
2019-08-01Merge branch 'master' into kitsune-relationsKitsune Ral
Unified *Key -> *KeyL identifiers in roommessageevent.cpp along the way.
2019-07-31Merge pull request #335 from quotient-im/aa13q-e2ee-encrypted-msgKitsune Ral
E2EE: introduce EncryptedEvent
2019-07-31Room::postReaction()Kitsune Ral
2019-07-31Support for receiving m.reaction eventsKitsune Ral
* struct EventRelation; class ReactionEvent; Room::relatedEvents() * Reaction events are processed in both history and sync batches * Redacting a reaction removes it from the list of related events * QMCTest::sendReaction()
2019-07-31Initial support for edited messages (receive only)Kitsune Ral
2019-07-31converters.h: fallback to intrusive toJson() for JsonObjectConverter; ↵Kitsune Ral
general improvements Single-argument fromJson<Omittable<T>>() now works as well.
2019-07-31converters.h: more comments; documented addParam<>()Kitsune Ral
[skip ci]
2019-07-27E2EE: introduce EncryptedEventAlexey Andreyev
2019-07-14E2EE: provide a shared header with encryption standard key namesAlexey Andreyev
2019-07-12Minor polishKitsune Ral
2019-07-10Merge pull request #330 from quotient-im/bhat-wellknownKitsune Ral
.well-known support
2019-07-09Add more checks according to the specBlack Hat
2019-07-09Merge branch 'master' into use-clang-formatKitsune Ral
2019-07-09Move serverPart() to the public APIKitsune Ral
Also: Connection::resolveServer() now only accepts MXIDs, not domains.
2019-07-08E2EE: fix EncryptionManager algorithm namesAlexey Andreyev
2019-07-08Merge pull request #332 from quotient-im/aa13q-e2ee-pickleKitsune Ral
E2EE: add new account and identity keys generation logic
2019-07-08Room: Set roomId and sender on pending eventsKitsune Ral
Also: refactoring to streamline state events submission.
2019-07-08RoomEvent::setRoomId()/setSender()Kitsune Ral
2019-07-08E2EE: fix uploadIdentityKeys signatures generationAlexey Andreyev
2019-07-08E2EE: add new account generation logicAlexey Andreyev
2019-07-07Logging categories: libqmatrixclient.* -> quotient.*Kitsune Ral
2019-07-06EncryptionEvent: Adjust upon merge from masterKitsune Ral
2019-07-06Merge branch 'master' into e2ee-enc-mngKitsune Ral
2019-07-06Fix building with ClangKitsune Ral
2019-07-06Be stricter on usage of stateKeyKitsune Ral
A few places in the library dealt with state events without any notion of state_key inside events, including StateEvent[Base] and relevant functions in Room. A number of workarounds have been made; e.g., Room::setMemberState() accepted userId as a separate parameter, ignoring the state key inside the RoomMemberEvent already passed to it, and Room::setLocalAliases() had a bug in the initial version where the function still tried to pass aliases in an event with an empty state key. This commit fixes this shortcoming: StateEventBase now gets stateKey as one more parameter, Room::Private::getCurrentState() respects stateKey and returns properly constructed stub events, and Room::setMemberState() gives way to a more generic Room::setState() that works uniformly with whatever state event you pass to it.
2019-07-06loadStateEvent()Kitsune Ral
2019-07-06Convenience: StateKeyKey, StateKeyKeyL, basicStateEventJson()Kitsune Ral
2019-07-06Fix clazy warningsKitsune Ral
2019-07-06Room::setLocalAliases: now actually working (with a caveat)Kitsune Ral
The caveat is that the library doesn't support .well-known yet, therefore will work not fully correctly (in particular - won't correctly set aliases) with servers that have serverpart different from the homeserver hostname used to connect to it.
2019-07-06Connection::serverPart: replace auto with QString because of QStringBuilderKitsune Ral
See https://github.com/KDE/clazy/blob/master/docs/checks/README-auto-unexpected-qstringbuilder.md Closes #613.
2019-07-05Clean up .well-known logicBlack Hat
2019-07-04Connection.cpp: Add .well-known parsing in resolveServer()Black Hat
2019-07-04Change libQtOlm location. Fix .travis.yml and .appveyor.ymlAlexey Andreyev
2019-07-04Upload one-time keys. Issue #88Alexey Andreyev
2019-07-04Upload device public keys. Issue #87Alexey Andreyev
2019-07-04Add EncryptionManager class. Add AccountSettings::encryptionAccountPickle logic.Alexey Andreyev
2019-07-04Update libQtOlmAlexey Andreyev
2019-07-04Add full EncryptionEvent to room logic. Issue #95Alexey Andreyev
2019-07-04Add libQtOlmAlexey Andreyev
2019-07-04Connection::token() is no moreKitsune Ral
Use Connection::accessToken() instead.
2019-07-03Room/Connection: make room aliases work properlyKitsune Ral
Closes #301.
2019-07-02linkifyUrls: support matrix: scheme and relative URLsKitsune Ral
2019-07-01Merge branch 'master' into forget-rooms-reallyKitsune Ral
2019-07-01Handle M_UNKNOWN as The Spec says; factor out BaseJob::parseError()Kitsune Ral
2019-06-29Merge remote-tracking branch 'remotes/origin/master' into use-clang-formatKitsune Ral
2019-06-26BaseJob::Status: fromHttpCodeKitsune Ral
2019-06-25Merge pull request #322 from a-andreyev/aa13q-fancy-colorsKitsune Ral
Move out the logic of the hue calculation to utils
2019-06-25Introduce EncryptionEvent classKitsune Ral
This allows to detect if a room has been encrypted (no room state, just an event as of yet). Closes #84.
2019-06-24csapi/*/**: clang-format contents of csapi subdirs as wellKitsune Ral