Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-06 | EncryptionEvent: Adjust upon merge from master | Kitsune Ral | |
2019-07-06 | Merge branch 'master' into e2ee-enc-mng | Kitsune Ral | |
2019-07-06 | Fix building with Clang | Kitsune Ral | |
2019-07-06 | Be stricter on usage of stateKey | Kitsune 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-06 | loadStateEvent() | Kitsune Ral | |
2019-07-06 | Convenience: StateKeyKey, StateKeyKeyL, basicStateEventJson() | Kitsune Ral | |
2019-07-06 | Fix clazy warnings | Kitsune Ral | |
2019-07-06 | Room::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-06 | Connection::serverPart: replace auto with QString because of QStringBuilder | Kitsune Ral | |
See https://github.com/KDE/clazy/blob/master/docs/checks/README-auto-unexpected-qstringbuilder.md Closes #613. | |||
2019-07-04 | Change libQtOlm location. Fix .travis.yml and .appveyor.yml | Alexey Andreyev | |
2019-07-04 | Upload one-time keys. Issue #88 | Alexey Andreyev | |
2019-07-04 | Upload device public keys. Issue #87 | Alexey Andreyev | |
2019-07-04 | Add EncryptionManager class. Add AccountSettings::encryptionAccountPickle logic. | Alexey Andreyev | |
2019-07-04 | Update libQtOlm | Alexey Andreyev | |
2019-07-04 | Add full EncryptionEvent to room logic. Issue #95 | Alexey Andreyev | |
2019-07-04 | Add libQtOlm | Alexey Andreyev | |
2019-07-04 | Connection::token() is no more | Kitsune Ral | |
Use Connection::accessToken() instead. | |||
2019-07-03 | Room/Connection: make room aliases work properly | Kitsune Ral | |
Closes #301. | |||
2019-07-02 | linkifyUrls: support matrix: scheme and relative URLs | Kitsune Ral | |
2019-07-01 | Merge branch 'master' into forget-rooms-really | Kitsune Ral | |
2019-07-01 | Handle M_UNKNOWN as The Spec says; factor out BaseJob::parseError() | Kitsune Ral | |
2019-06-25 | Merge pull request #322 from a-andreyev/aa13q-fancy-colors | Kitsune Ral | |
Move out the logic of the hue calculation to utils | |||
2019-06-25 | Introduce EncryptionEvent class | Kitsune Ral | |
This allows to detect if a room has been encrypted (no room state, just an event as of yet). Closes #84. | |||
2019-06-11 | Comment change as requested | Ville Ranki | |
Co-Authored-By: Kitsune Ral <Kitsune-Ral@users.sf.net> | |||
2019-06-11 | Remove unnecessary error checks in lib/connection.cpp | Ville Ranki | |
Co-Authored-By: Kitsune Ral <Kitsune-Ral@users.sf.net> | |||
2019-06-07 | Generated files in csapi/: switch from now-deprecated JsonParserError to ↵ | Kitsune Ral | |
IncorrectResponse | |||
2019-06-07 | *.cpp.mustache: switch from now-deprecated JsonParseError to IncorrectResponse | Kitsune Ral | |
2019-06-07 | BaseJob::StatusCode: add Error-less synonyms; officially deprecate ↵ | Kitsune Ral | |
JsonParseError | |||
2019-06-02 | lib/room.*: Spelling fixes in comments | Kitsune Ral | |
[ci skip] | |||
2019-05-31 | Ignore some errors on leaving rooms, add new error enum. Fixes #307 | Ville Ranki | |
2019-05-23 | Move out the logic of the hue calculation to utils | Alexey Andreyev | |
2019-05-20 | Connection: Fix a race condition in direct chats handling upon initial sync | Kitsune Ral | |
Closes #323. | |||
2019-05-19 | Improve wording in a comment | Kitsune Ral | |
2019-05-19 | Connection: use QScopedPointer instead of unique_ptr | Kitsune Ral | |
While theoretically less robust (no equivalent of make_unique), QScopedPointer is navigable in Qt Creator debug views, unlike unique_ptr. Of course this will eventually be fixed; but given that inability to create an owning pointer object means sure abnormal termination of our code shortly afterwards, having make_unique in this particular case doesn't help in any way at all; so unique_ptr has zero advantages over QScopedPointer in this setting. | |||
2019-05-19 | Move a doc-comment to its place | Kitsune Ral | |
2019-05-18 | Connection::onSyncSuccess(): fix using after move() | Kitsune Ral | |
Also rewrite the account data piece with visit(). | |||
2019-05-18 | event.h: add doc-comments; deprecate ptrCast() | Kitsune Ral | |
2019-05-17 | Drop unneeded #include | Kitsune Ral | |
2019-05-17 | Minor code refactoring | Kitsune Ral | |
2019-05-14 | User::Private::makeHueF: Fix trying to use the moved value | Kitsune Ral | |
2019-05-14 | Merge pull request #298 from a-andreyev/aa13q-fancy-colors | Kitsune Ral | |
Provide a colour code for the user | |||
2019-05-14 | Provide a colour code for the user | Alexey Andreyev | |
Contributes to #296 | |||
2019-05-13 | sanitized(): add object replacement character (0xfffc) to the blacklist | Kitsune Ral | |
2019-05-13 | linkifyUrls(): be more conservative in parsing serverparts | Kitsune Ral | |
Closes #321. | |||
2019-05-13 | prettyPrint(): First linkify, than add more tags | Kitsune Ral | |
Otherwise the linkification gets confused by HTML tags being already there and doesn't linkify what has to be linkified if that occurs at the beginning of the message. | |||
2019-05-04 | Room::allHistoryLoaded | Kitsune Ral | |
2019-05-03 | Connection::stateCacheDir | Kitsune Ral | |
Same as stateCachePath but returns QDir. | |||
2019-04-24 | Make ignore-user related method Q_INVOKABLE. | Black Hat | |
2019-04-24 | Connection::logout: ignore ContentAccessError | Kitsune Ral | |
Closes #316. | |||
2019-04-24 | BaseJob: preserve the calculated error code if JSON error code is unknown | Kitsune Ral | |
Resetting the code to IncorrectRequestError has been a part of the cause for the incorrect Quaternion behaviour on expired tokens. |