Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
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-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-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 | Room::displayName: fix NOTIFY signal for Q_PROPERTY | Kitsune Ral | |
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 | 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-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 | Room::avatarObject | Kitsune Ral | |
Closes #268. | |||
2019-02-26 | Linkify Matrix identifiers | Kitsune Ral | |
This is a crude interim implementation until we get new fancy Matrix URIs. | |||
2019-02-26 | prettyPrint(): only linkify http(s), ftp, mailto, magnet links | Kitsune Ral | |
Closes #278. | |||
2019-02-26 | Room: avoid dangling pointers, even if not dereferenced | Kitsune Ral | |
Closes #288; fixes one more case similar to #286. Also: disconnect file transfer signals correctly in Room::postFile. | |||
2019-02-26 | Merge pull request #287 from a-andreyev/aa13q-fix-5.6-build-qhash | Kitsune Ral | |
Fix Qt<5.7 build for std::hash<StateEventKey> | |||
2019-02-26 | Room::addNewMessageEvents: fix possible use of an invalid iterator | Kitsune Ral | |
Closes #286. | |||
2019-02-25 | Have a build-wide macro for compilers that don't handle init-lists right | Kitsune Ral | |
WORKAROUND_EXTENDED_INITIALIZER_LIST -> BROKEN_INITIALIZER_LISTS is available from util.h now. | |||
2019-02-25 | RoomMessageEvent: support m.in_reply_to (not spec-compliant yet); optimise ↵ | Kitsune Ral | |
away TextContent when not needed 1. The spec says "if you support rich replies you MUST support fallbacks" - this commit only adds dealing with event JSON but not with textual fallbacks. 2. TextContent is only created if there's something on top of plain body (an HTML body or a reply). | |||
2019-02-25 | Room::postHtmlMessage: default message type to m.text | Kitsune Ral | |
postHtmlText becomes just a synonym for 2-arg postHtmlMessage (hopefully at least this doesn't confuse QML that is generally terrible at resolving overloads). | |||
2019-02-25 | makeRedacted: update the list of preserved parts | Kitsune Ral | |
Closes #256. | |||
2019-02-24 | Fix Qt<5.7 build for std::hash<StateEventKey> | Alexey Andreyev | |
2019-02-24 | Merge branch 'kitsune-aliases-map' | Kitsune Ral | |
2019-02-23 | Remove the 'pretty' SupportedRoomVersion vector debug operator | Alexander Akulich | |
This way we conform with Qt standard debug output and do not rely on a Qt private API. This also fixes compilation for Qt < 5.7. | |||
2019-02-22 | Room::setAliases, Connection: roomByAlias, updateRoomAliases | Kitsune Ral | |
2019-02-22 | Merge remote-tracking branch 'remotes/origin/kitsune-simpler-simple-content' | Kitsune Ral | |
2019-02-20 | BaseJob: M_UNSUPPORTED_ROOM_VERSION & M_INCOMPATIBLE_ROOM_VERSION | Kitsune Ral | |
2019-02-19 | Room::downloadFile: construct the temporary filename more carefully | Kitsune Ral | |
Closes #279. | |||
2019-02-18 | Room: fix building with MSVC | Kitsune Ral | |
2019-02-17 | Room: add isUnstable(); unstableVersion() -> stabilityUpdated() | Kitsune Ral | |
2019-02-17 | Room: emit room, not id in upgraded(); add upgradeFailed() | Kitsune Ral | |
2019-02-17 | Connection: loadingCapabilities(); sort availableRoomVersions | Kitsune Ral | |
2019-02-16 | Room::version(): Fallback an empty version to "1" | Kitsune Ral | |
2019-02-16 | Room::canSwitchVersions() | Kitsune Ral | |
2019-02-16 | Room::checkVersion(): check power levels | Kitsune Ral | |
This is a flimsy implementation without proper RoomPowerLevelEvent definition, just to enable upgrades without causing noise to each and every user of a room on an unstable version. | |||
2019-02-16 | Room::switchVersion() | Kitsune Ral | |
Closes #236. | |||
2019-02-15 | Fix FTBFS | Kitsune Ral | |
2019-02-15 | Use Changes enum properly | Kitsune Ral | |
Don't use distinct items for each type of event; only for repeated/ combinable ones. | |||
2019-02-15 | Room::checkVersion() and Room::unstableVersion() | Kitsune Ral | |
Initial (sans power levels checking) implementation of the check that room should be upgraded. Closes most of #236. | |||
2019-02-15 | Room::upgraded() | Kitsune Ral | |
A signal emitted when the room receives a tombstone event from the server. | |||
2019-02-15 | Disallow sending events to rooms that have been upgraded | Kitsune Ral | |
This concludes the mandatory part of #235. | |||
2019-02-15 | Room: version(), predecessorId(), successorId() | Kitsune Ral | |
Use RoomCreateEvent and RoomTombstoneEvent in the backend, covering most of #235. |