Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-02 | style: apply .clang-format to all .cpp and .h files | Marc Deop | |
2019-02-26 | Room::avatarObject | Kitsune Ral | |
Closes #268. | |||
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 | 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 | 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-22 | Room::setAliases, Connection: roomByAlias, updateRoomAliases | 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-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 | 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. | |||
2019-02-15 | Add a FIXME upon the recent failure under Valgrind | Kitsune Ral | |
2019-02-15 | Room::baseStateLoaded | Kitsune Ral | |
Mirroring Connection::loadedRoomState but for each single room (will be used as a NOTIFY signal for one-time-set events). | |||
2019-01-13 | Connection: fix/workaround glitches on joining/leaving | Kitsune Ral | |
Closes #273, in particular. | |||
2019-01-13 | Room::Room: initialise display name | Kitsune Ral | |
So that the room has at least some display name before any events come to it. | |||
2019-01-13 | Fix Omittables accidentally becoming non-omitted when compared with ↵ | Kitsune Ral | |
non-Omittable values | |||
2019-01-05 | Room: findPendingEvent; fixes for postFile() | Kitsune Ral | |
2019-01-05 | Support file events in Room::retryMessage/discardMessage | Kitsune Ral | |
2019-01-05 | Room::postFile() and supplementary things in Room::Private | Kitsune Ral | |
2019-01-05 | Room::fileSource | Kitsune Ral | |
Also: const'ified other methods related to file urls. | |||
2019-01-05 | FileTransferInfo: new properties: isUpload and started | Kitsune Ral | |
Also: use constructors instead of list-based initialisation in FileTransferPrivateInfo to enable a case of "invalid/empty" FileTransferPrivateInfo with status == None. | |||
2018-12-16 | Room: messageSent(), better pendingEventAboutToAdd(), more doc-comments | Kitsune Ral | |
2018-12-16 | Room::getAllMembers: revert off-by-one "bugfix" | Kitsune Ral | |
It actually introduces an off-by-one error; the original code was correct. #qmatrixclient:matrix.org is used instead of #test:matrix.org to check lazy-loading (see https://github.com/matrix-org/synapse/issues/4300) | |||
2018-12-13 | Room::getAllMembers: fix off-by-one error | Kitsune Ral | |
2018-12-12 | Room::allMembersLoaded(); more doc-comments | Kitsune Ral | |
2018-12-11 | Make Room::setDisplayed() trigger loading all members | Kitsune Ral | |
Closes #253. | |||
2018-12-10 | Room::getPreviousContent: use early return | Kitsune Ral | |
...instead of the entire function body wrapped in an if block. | |||
2018-12-09 | Room: defer memberListChanged(); track room summary changes | Kitsune Ral | |
This concludes beta-version of lazy-loading support in libQMatrixClient (#253). | |||
2018-12-09 | Room: track more changes; fix cache smashing upon restart | Kitsune Ral | |
Commit fd52459 introduced a regression rendering the cache unusable after a client restart (an empty state overwrites whatever state was in the cache). This commit contains the fix, along with more room change tracking. | |||
2018-12-09 | MSC 688: MSC-compliant RoomSummary; update Room::calculateDisplayname() | Kitsune Ral | |
The members of the summary can be omitted in the payload; this change fixes calculation of the roomname from hero names passed in room summary. Also: RoomSummary can be dumped to QDebug now. | |||
2018-12-08 | Room summaries | Kitsune Ral | |
2018-11-23 | Room::setLastReadEvent: save room state when updating own read marker | Kitsune Ral | |
2018-11-23 | Room: track more Changes | Kitsune Ral | |
2018-11-23 | Room/Connection: don't save the just loaded room cache | Kitsune Ral | |
2018-11-22 | Save state cache per-room | Kitsune Ral | |
Closes #257. | |||
2018-11-22 | Room: Change enum, Changes flag set, and changed() signal | Kitsune Ral | |
This allows to batch updates into signals being emitted only once per sync. Also supercedes emitNamesChanged flag used in a few places. | |||
2018-11-20 | Make SyncData more self-contained and prepare for cache splitting | Kitsune Ral | |
SyncData now resides in its own pair of files and is capable to load either from file or from JSON. There is also (yet untested) capability to load rooms from files if a file name stands is the value for a given room id. This allows to store the master cache file separately from cache files for each room, massively easing the problem of bulky accounts that can overflow the poor capacity of Qt's JSON engine. | |||
2018-11-19 | Don't cache empty events; prepare for lazy-loading | Kitsune Ral | |
These two are intermingled in Room::addHistoricalMessageEvents because processing empty events found in a historical batch is no different from discovering (not lazy-loaded) members. | |||
2018-11-19 | Room: process new state events after applying redactions | Kitsune Ral | |
This was one more cause of #257 - the case when a redaction on a state event arrives in the same batch as the redacted event. | |||
2018-11-19 | Room: expose eventsHistoryJob as a Q_PROPERTY | Kitsune Ral | |