Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-05 | Clean up .well-known logic | Black Hat | |
2019-07-04 | Connection.cpp: Add .well-known parsing in resolveServer() | Black Hat | |
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 | .travis.yml: add "update: true" to homebrew config | Kitsune Ral | |
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 pull request #327 from vranki/bugfix/forget_rooms_really2 | Kitsune Ral | |
Ignore some errors on leaving rooms, add new error enum. Fixes #307 | |||
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-30 | CONTRIBUTING.md: officially embrace and recommend clang-format | Kitsune Ral | |
2019-06-30 | CMakeLists.txt: add clang-format invocation to update-api target | Kitsune Ral | |
...instead of using a separate update-format-api target. | |||
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-25 | Include olm via cmake (should work on Linux and MinGW) | Felix Rohrbach | |
2019-06-25 | .travis.yml: add "update: true" to homebrew config | Kitsune Ral | |
2019-06-25 | CMakeLists: replace list(TRANSFORM) with foreach/list(APPEND) | Kitsune Ral | |
list(TRANSFORM) is only available from CMake 3.12. | |||
2019-06-25 | CMakeLists: use REALPATH instead of PROGRAM to find gtad | Kitsune Ral | |
PROGRAM doesn't seem to work right with relative paths. | |||
2019-06-24 | csapi/*/**: clang-format contents of csapi subdirs as well | Kitsune Ral | |
2019-06-24 | CMakeLists.txt: Re-add parts of CSAPI that accidentally went missing | 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-23 | Use clang-format to autoformat generated API files | Kitsune Ral | |
2019-06-23 | .clang-format: Skip on CommentPragmas | Kitsune Ral | |
We do want doc-comments to be formatted as well. | |||
2019-06-22 | .clang-format: fine-tune penalties | Kitsune Ral | |
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-25 | Refer to SECURITY.md from the rest of documentation | Kitsune Ral | |
[skip ci] | |||
2019-05-25 | SECURITY.md: minor edits | Kitsune Ral | |
2019-05-25 | SECURITY.md | Kitsune Ral | |
Moved over text about vulnerabilities reporting and extended it with more details on supported versions and commitments. |