Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-29 | Merge remote-tracking branch 'remotes/origin/master' into use-clang-format | Kitsune Ral | |
2019-06-26 | BaseJob::Status: fromHttpCode | 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-24 | csapi/*/**: clang-format contents of csapi subdirs as well | Kitsune Ral | |
2019-06-24 | Merge branch 'master' into clang-format | Kitsune Ral | |
# Conflicts: # CMakeLists.txt # lib/avatar.cpp # lib/connection.cpp # lib/connection.h # lib/connectiondata.cpp # lib/csapi/account-data.cpp # lib/csapi/account-data.h # lib/csapi/capabilities.cpp # lib/csapi/capabilities.h # lib/csapi/content-repo.cpp # lib/csapi/create_room.cpp # lib/csapi/filter.cpp # lib/csapi/joining.cpp # lib/csapi/keys.cpp # lib/csapi/list_joined_rooms.cpp # lib/csapi/notifications.cpp # lib/csapi/openid.cpp # lib/csapi/presence.cpp # lib/csapi/pushrules.cpp # lib/csapi/registration.cpp # lib/csapi/room_upgrades.cpp # lib/csapi/room_upgrades.h # lib/csapi/search.cpp # lib/csapi/users.cpp # lib/csapi/versions.cpp # lib/csapi/whoami.cpp # lib/csapi/{{base}}.cpp.mustache # lib/events/accountdataevents.h # lib/events/eventcontent.h # lib/events/roommemberevent.cpp # lib/events/stateevent.cpp # lib/jobs/basejob.cpp # lib/jobs/basejob.h # lib/networkaccessmanager.cpp # lib/networksettings.cpp # lib/room.cpp # lib/room.h # lib/settings.cpp # lib/settings.h # lib/syncdata.cpp # lib/user.cpp # lib/user.h # lib/util.cpp | |||
2019-06-23 | csapi/: Make Mustache files more readable | Kitsune Ral | |
Now that clang-format takes care of formatting, the template readability can be prioritised. | |||
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. | |||
2019-04-24 | BaseJob: fix a possible crash upon logout | Kitsune Ral | |
See https://github.com/QMatrixClient/Quaternion/issues/566 for details. | |||
2019-04-06 | Room::processStateEvent: be more careful with signals handling at user renames | Kitsune Ral | |
2019-04-06 | Clean up on clang-tidy/clazy analysis | Kitsune Ral | |
2019-04-03 | Room::postFile: initiate uploading the file even before adding a pending event | Kitsune Ral | |
This is to make sure a pending event with file transfer already placed. | |||
2019-04-03 | room.h: more doc-comments | Kitsune Ral | |
2019-03-31 | Room: track invited users; polish the room naming algorithm | Kitsune Ral | |
It's no more entirely along the spec lines but gives better results with or without lazy-loading, across a wide range of cases. Closes #310. | |||
2019-03-31 | Room::updateData(): recalculate room name only when state changes occur | Kitsune Ral | |
2019-03-31 | Room::refreshDisplayName() - for debugging purposes only | Kitsune Ral | |
Clients should not need to call this method explicitly. | |||
2019-03-31 | User::nameForRoom(): null hint is not a hint | Kitsune Ral | |
This caused the library to erroneously believe that users with no representation in other rooms have no display name even if that display name is provided for the given room. | |||
2019-03-30 | Connection: make sure to mark rooms supposed to be direct chats as such | Kitsune Ral | |
Closes #305. Relies on correct tracking of Invite membership from the previous commit. | |||
2019-03-30 | Room::processStateEvent, User: take the previous membership state from ↵ | Kitsune Ral | |
oldStateEvent memberJoinState() just happens to return the not-yet-updated state, making its use around state changes very sensitive to moving things around. The event's own prevContent is unsigned, therefore untrusted. | |||
2019-03-30 | Room::processRedaction(): avoid accidental creation of entries in ↵ | Kitsune Ral | |
currentState; cleanup | |||
2019-03-27 | Connection::domain() | Kitsune Ral | |