Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-24 | Fix clang-tidy/clazy warnings | Kitsune Ral | |
2020-12-03 | Room: fix breakage in internal member map | Kitsune Ral | |
The change in 39830496 led to prev_content becoming a fallback not only for displaying user names but also for storing them in the internal member map, which is really not what was intended. | |||
2020-11-19 | Fix Q_ASSERT failure on sending messages | Kitsune Ral | |
Changes in e81117fb exposed a flaw in EncryptionEvent causing assertion failure when this event is default-initialised (i.e. no encryption). | |||
2020-11-15 | Room: add power level events to redaction rules | Kitsune Ral | |
2020-11-15 | Room::P::getCurrentState<>(): bypass the factory chain | Kitsune Ral | |
This is to optimize a rather hot path creating stub events (for member events in bigger rooms, in particular) when the event type is known. Version 0.7 will have a completely different code based on event content rather than event that will obviate stubs creation but 0.6.x can benefit from it. | |||
2020-11-09 | Room: be more robust in Release mode | Kitsune Ral | |
...in one particular case, when trying to add a user to a room it's already a member of. | |||
2020-09-04 | More fixing of clazy warnings | Kitsune Ral | |
2020-09-03 | Address clazy warnings | Kitsune Ral | |
2020-08-22 | Cleanup and some extra comments | Kitsune Ral | |
2020-08-04 | User: optimise names/avatars storing and updating | Kitsune Ral | |
The current mechanism relied on a complicated and fragile machinery around setNameForRoom() and setAvatarForRoom() that maintained the "most used" entity for a given user along with "other" ones. Given that per-room avatars are pretty rare in Matrix, it's also been inefficient as commit c69f100e shows. The new mechanism stores the "default" (as per user profile) name and avatar and maintains a singleton map of avatar objects across all users. Per-user profile only (normally) exists for the local user so there's yet another inefficiency - this will be fixed in 0.7 by introducing a special class for a user profile. | |||
2020-08-04 | Room: various minor tweaks and fixes | Kitsune Ral | |
2020-07-24 | Room: send read receipts in a background request | Kitsune Ral | |
Sending them in the foreground causes Quaternion to throw scary messages when read receipts don't go through while that's actually not a big deal. Also, network traffic deprioritisation. | |||
2020-07-23 | Room::P::isEventNotable(): edits are not notable | Kitsune Ral | |
Edits are (normally) applied to some other event up the timeline, therefore not displayed. Having [1] in unread counts while seeing nothing in the timeline is quite confusing. | |||
2020-06-20 | Room: PostReadMarkersJob should be in background | Kitsune Ral | |
...meaning - errors from it should not throw up at a user, who has no clue (they still should go to logs for investigation). | |||
2020-06-19 | Fix FTBFS and warnings with E2EE switched on | Kitsune Ral | |
2020-06-10 | Room: fix messageSent() being emitted too early | Kitsune Ral | |
Closes #406. | |||
2020-06-05 | Avoid Qt 5.15 deprecation warning | Kitsune Ral | |
operator+() is no more wanted with iterators on associative containers. | |||
2020-05-31 | room.cpp: clean away unused variables | Kitsune Ral | |
2020-04-14 | Room: emit updatedEvent() on un-reaction | Kitsune Ral | |
2020-04-12 | Room::safeMemberName() | Kitsune Ral | |
Pulled from Quaternion code. | |||
2020-04-12 | Room::canSwitchVersions(): refactor and make Q_INVOKABLE | Kitsune Ral | |
2020-04-07 | Room::addNewMessageEvents: fix an assertion failure on empty sender | Kitsune Ral | |
When a message is redacted it has no sender. If it happens to be in the bulkhead, Quotient tries to promote a read marker over it and fails on being unable to resolve the author. | |||
2020-03-26 | Refactoring around Connection::onSyncSuccess() | Kitsune Ral | |
The method grew large and a bit unwieldy over the years. | |||
2020-03-26 | Room::aliases(): don't add canonical alias if it's empty | Kitsune Ral | |
Fixes #394. | |||
2020-03-21 | Merge pull request #383 from ram-nad/msc2432-fix | Kitsune Ral | |
fixing msc2432 | |||
2020-03-21 | Update aliases code lib/room.cpp | Ram Nad | |
Co-Authored-By: Kitsune Ral <Kitsune-Ral@users.sf.net> | |||
2020-03-20 | emit nameChanged() on AliasesChange | Ram Nad | |
2020-03-20 | dont use this | Ram Nad | |
2020-03-20 | added altAliases() | Ram Nad | |
2020-03-20 | made suggested changes | Ram Nad | |
2020-03-17 | MSC1849 compatible edited messages (#373) | Roland Pallai | |
* Make handling of edited messages MSC1849 compatible Server side aggregation replaces `content` with `new_content` in edited messages. The same must be done at client side on incremental updates to keep timeline consistent. As server side aggregations is in use by default from Synapse 1.2.0 this patch fixes a real issue. | |||
2020-03-12 | E2EE: Make building E2EE optional. Contributes to #369 | Alexey Andreev | |
Signed-off-by: Alexey Andreev <aa13q@ya.ru> | |||
2020-03-08 | fixing msc2432 | Ram Nad | |
2020-02-25 | Room: fix merge regression | Alexey Andreyev | |
Signed-off-by: Alexey Andreev <aa13q@ya.ru> | |||
2020-02-25 | E2EE: implement megolm inbound session decrypt for room | Alexey Andreyev | |
Signed-off-by: Alexey Andreev <aa13q@ya.ru> | |||
2020-02-25 | E2EE: add connection session decrypt, handle to-device and ↵ | Alexey Andreyev | |
device_one_time_keys_count Signed-off-by: Alexey Andreev <aa13q@ya.ru> | |||
2020-01-12 | Use parsed RoomPowerLevelsEvent in room upgrading | Black Hat | |
2019-12-28 | isEditing(): fix a bug in replacing events | Black Hat | |
2019-12-13 | Room: make downloaded file name building more robust | Kitsune Ral | |
Specifically, handle colons and long file names gracefully. Closes #366. | |||
2019-12-13 | Room::postFile(): minor refactoring | Kitsune Ral | |
2019-12-12 | Room::downloadFile: minor cleanup | Kitsune Ral | |
2019-12-12 | Room::fileNameToDownload(): fix a typo in a check on Windows | Kitsune Ral | |
As a result of the typo, the extension was never attached to returned file names if there was none originally. | |||
2019-12-11 | Pass action scope to Room::setTags | Kitsune Ral | |
The tags can now be applied not only to the current room but also propagated to its predecessors and successors. | |||
2019-12-09 | Room::predecessor() and Room::successor() | Kitsune Ral | |
2019-12-09 | Code cleanup | Kitsune Ral | |
2019-12-09 | Initialise read marker if none is found in the whole timeline | Kitsune Ral | |
Closes #361. | |||
2019-12-09 | Merge branch 'kitsune-look-further-for-redactions' | Kitsune Ral | |
2019-12-08 | Room::addNewMessageEvents: search the whole sync batch for events to | Kitsune Ral | |
redact It seems that sometimes redactions may precede the unredacted events within the same sync batch. | |||
2019-12-06 | MSC1954: Remove prev_content from the essential keys list | Alexey Andreyev | |
Fixes #318 | |||
2019-11-10 | makeRedacted: fix code formatting | Kitsune Ral | |