aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-25.travis.yml: add "update: true" to homebrew configKitsune Ral
2019-06-25CMakeLists: replace list(TRANSFORM) with foreach/list(APPEND)Kitsune Ral
list(TRANSFORM) is only available from CMake 3.12.
2019-06-25CMakeLists: use REALPATH instead of PROGRAM to find gtadKitsune Ral
PROGRAM doesn't seem to work right with relative paths.
2019-06-24csapi/*/**: clang-format contents of csapi subdirs as wellKitsune Ral
2019-06-24CMakeLists.txt: Re-add parts of CSAPI that accidentally went missingKitsune Ral
2019-06-24Merge branch 'master' into clang-formatKitsune 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-23csapi/: Make Mustache files more readableKitsune Ral
Now that clang-format takes care of formatting, the template readability can be prioritised.
2019-06-23Use clang-format to autoformat generated API filesKitsune Ral
2019-06-23.clang-format: Skip on CommentPragmasKitsune Ral
We do want doc-comments to be formatted as well.
2019-06-22.clang-format: fine-tune penaltiesKitsune Ral
2019-06-07Generated files in csapi/: switch from now-deprecated JsonParserError to ↵Kitsune Ral
IncorrectResponse
2019-06-07*.cpp.mustache: switch from now-deprecated JsonParseError to IncorrectResponseKitsune Ral
2019-06-07BaseJob::StatusCode: add Error-less synonyms; officially deprecate ↵Kitsune Ral
JsonParseError
2019-06-02lib/room.*: Spelling fixes in commentsKitsune Ral
[ci skip]
2019-05-25Refer to SECURITY.md from the rest of documentationKitsune Ral
[skip ci]
2019-05-25SECURITY.md: minor editsKitsune Ral
2019-05-25SECURITY.mdKitsune Ral
Moved over text about vulnerabilities reporting and extended it with more details on supported versions and commitments.
2019-05-20Connection: Fix a race condition in direct chats handling upon initial syncKitsune Ral
Closes #323.
2019-05-19Improve wording in a commentKitsune Ral
2019-05-19Update .clang-format as per the field experienceKitsune Ral
2019-05-19Connection: use QScopedPointer instead of unique_ptrKitsune 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-19Move a doc-comment to its placeKitsune Ral
2019-05-18Connection::onSyncSuccess(): fix using after move()Kitsune Ral
Also rewrite the account data piece with visit().
2019-05-18event.h: add doc-comments; deprecate ptrCast()Kitsune Ral
2019-05-17Drop unneeded #includeKitsune Ral
2019-05-17Minor code refactoringKitsune Ral
2019-05-14User::Private::makeHueF: Fix trying to use the moved valueKitsune Ral
2019-05-14Merge pull request #298 from a-andreyev/aa13q-fancy-colorsKitsune Ral
Provide a colour code for the user
2019-05-14Provide a colour code for the userAlexey Andreyev
Contributes to #296
2019-05-13sanitized(): add object replacement character (0xfffc) to the blacklistKitsune Ral
2019-05-13linkifyUrls(): be more conservative in parsing serverpartsKitsune Ral
Closes #321.
2019-05-13prettyPrint(): First linkify, than add more tagsKitsune 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-04Room::allHistoryLoadedKitsune Ral
2019-05-03Connection::stateCacheDirKitsune Ral
Same as stateCachePath but returns QDir.
2019-04-26Merge pull request #319 from QMatrixClient/user-ignored-qmlKitsune Ral
Make ignore-user related method Q_INVOKABLE.
2019-04-24Make ignore-user related method Q_INVOKABLE.Black Hat
2019-04-24Connection::logout: ignore ContentAccessErrorKitsune Ral
Closes #316.
2019-04-24BaseJob: preserve the calculated error code if JSON error code is unknownKitsune Ral
Resetting the code to IncorrectRequestError has been a part of the cause for the incorrect Quaternion behaviour on expired tokens.
2019-04-24BaseJob: fix a possible crash upon logoutKitsune Ral
See https://github.com/QMatrixClient/Quaternion/issues/566 for details.
2019-04-06.gitignore: ignore project files of Qt Creator pre-releases as wellKitsune Ral
2019-04-06CMakeLists.txt: use project() to set the versionKitsune Ral
2019-04-06Room::processStateEvent: be more careful with signals handling at user renamesKitsune Ral
2019-04-06Update README.md and CONTRIBUTING.md (attn: LGPL v3 coming)Kitsune Ral
[skip ci]
2019-04-06Clean up on clang-tidy/clazy analysisKitsune Ral
2019-04-03Room::postFile: initiate uploading the file even before adding a pending eventKitsune Ral
This is to make sure a pending event with file transfer already placed.
2019-04-03room.h: more doc-commentsKitsune Ral
2019-03-31CMakeLists.txt: slightly better version managementKitsune Ral
2019-03-31Room: track invited users; polish the room naming algorithmKitsune 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-31Room::updateData(): recalculate room name only when state changes occurKitsune Ral
2019-03-31Room::refreshDisplayName() - for debugging purposes onlyKitsune Ral
Clients should not need to call this method explicitly.