Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-31 | CMakeLists.txt: bump the version to 0.5.1 | 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-30 | 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-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-29 | Room::processRedaction(): avoid accidental creation of entries in | Kitsune Ral | |
currentState; cleanup | |||
2019-03-27 | qmc-example: add a couple homeserver data sanity checks | Kitsune Ral | |
2019-03-27 | Connection::domain() | Kitsune Ral | |
2019-03-27 | qmc-example: add a couple homeserver data sanity checks | Kitsune Ral | |
2019-03-27 | Connection::domain() | Kitsune Ral | |
2019-03-26 | Room::switchVersion(): refuse to switch a version if a tombstone is already ↵ | Kitsune Ral | |
there Closes #306. | |||
2019-03-26 | Room::canSwitchVersions(): return false on tombstoned rooms | Kitsune Ral | |
A softer take on #306. | |||
2019-03-26 | Room::canSwitchVersions(): return false on tombstoned rooms | Kitsune Ral | |
A softer take on #306. | |||
2019-03-24 | Expose linkifyUrls() into library API for future use | Kitsune Ral | |
2019-03-24 | User: strip RLO/LRO markers on renaming as well | Kitsune Ral | |
Continuation of work on #545. | |||
2019-03-24 | RoomMemberEvent: sanitize user display names | Kitsune Ral | |
MemberEventContent::displayName() will strip away Unicode text direction override characters. Direct access to JSON can still provide "raw" data. | |||
2019-03-24 | linkifyUrls(): fix linkification of emails containing "www." | Kitsune Ral | |
Closes #303. | |||
2019-03-24 | linkifyUrls(): fix linkification of emails containing "www." | Kitsune Ral | |
Closes #303. | |||
2019-03-23 | Room::downloadFile(): Tighten URL validations | Kitsune Ral | |
Check the URL before passing over to Connection::downloadFile(), not only the file name. | |||
2019-03-23 | Update to the latest CS API definitions | Kitsune Ral | |
No breaking changes; GetAccountDataJob/GetAccountDataPerRoomJob added. | |||
2019-03-23 | Room::downloadFile(): Tighten URL validations | Kitsune Ral | |
Check the URL before passing over to Connection::downloadFile(), not only the file name. | |||
2019-03-23 | Update to the latest CS API definitions | Kitsune Ral | |
No breaking changes; GetAccountDataJob/GetAccountDataPerRoomJob added. | |||
2019-03-21 | sanitized(): revert to only dropping Unicode RLO/LRO markers (no HTML escaping) | Kitsune Ral | |
Because user display names (in particular) can be used in non-HTML context. Clients should take care about HTML escaping where appropriate. | |||
2019-03-21 | Room::displayName: fix NOTIFY signal for Q_PROPERTY | Kitsune Ral | |
2019-03-21 | Room::displayName: fix NOTIFY signal for Q_PROPERTY | Kitsune Ral | |
2019-03-17 | prettyPrint: do not apply sanitized() | Kitsune Ral | |
Only display names should be sanitized; messages are only HTML-escaped. | |||
2019-03-17 | User: strip RLO/LRO markers on renaming as well | Kitsune Ral | |
Continuation of work on #545. | |||
2019-03-17 | RoomMemberEvent: sanitize user display names | Kitsune Ral | |
MemberEventContent::displayName() will strip away Unicode text direction override characters. Direct access to JSON can still provide "raw" data. | |||
2019-03-14 | Fix read receipts and redactions on v3 rooms | Kitsune Ral | |
Previously slashes in eventIds (that come plenty in v3 due to base64 encoding) were not properly encoded - they are now. | |||
2019-03-14 | Fix read receipts and redactions on v3 rooms | Kitsune Ral | |
Previously slashes in eventIds (that come plenty in v3 due to base64 encoding) were not properly encoded - they are now. | |||
2019-03-13 | Bump API_VERSION to 0.6 | Kitsune Ral | |
2019-03-13 | Room: make notificationCount, highlightCount Q_PROPERTYs | Kitsune Ral | |
Closes #299. Due to restrictions for the NOTIFY signal notificationCountChanged and highlightCountChanged no more carry Room* as a parameter, breaking back-compatibility. | |||
2019-03-12 | Make Room::prettyPrint Q_INVOKABLE | Kitsune Ral | |
So that it can be called from QML code | |||
2019-03-10 | Room::checkVersion(): be tolerant to already upgraded rooms | Kitsune Ral | |
2019-03-02 | style: apply .clang-format to all .cpp and .h files | Marc Deop | |
2019-03-02 | fixup! fixup! chore: add .clang-format | Marc Deop | |
2019-03-01 | fixup! chore: add .clang-format | Marc Deop | |
2019-03-01 | chore: add .clang-format | Marc Deop | |
2019-02-27 | Refresh CONTRIBUTING.md | Kitsune Ral | |
2019-02-27 | qmc-example: use Connection::syncLoop | Kitsune Ral | |
2019-02-27 | Connection::stopSync: undo the sync loop | Kitsune Ral | |
2019-02-27 | BaseJob::abandon() fixes | Kitsune Ral | |
1. It should work with non-started jobs now (Closes #289). 2. It should allow clients to still handle `finished()` instead of cutting them off right before emitting the signal. | |||
2019-02-26 | README.md: use dash instead of tilde in pre-releases | Kitsune Ral | |
[skip ci] | |||
2019-02-26 | README.md: update versioning convention for pre-releases | Kitsune Ral | |
2019-02-26 | Room::avatarObject | Kitsune Ral | |
Closes #268. |