Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2019-11-01 | Omittable: get rid of value() | Kitsune Ral | |
Xcode 10 doesn't have it, and value() is not quite fitting mostly-exceptionless Quotient anyway. | |||
2019-11-01 | Derive Omittable<> from std::optional<> | Kitsune Ral | |
That breaks API all over the place but: 1. The fixes are trivial. 2. More of std:: is used instead of home-baking the same stuff. | |||
2019-10-02 | Fix Room::localAliases() | Black Hat | |
When homeserver's csapi is in a subdomain, e.g. matrix.example.org, the authority of api endpoint url differs from server name, example.org. This causes Room::localAliases() to fail. | |||
2019-10-01 | Room::getCurrentState() | Kitsune Ral | |
2019-09-24 | Room: cleanup | Kitsune Ral | |
2019-09-12 | Introduce HashQ<> and UnorderedMap<> | Kitsune Ral | |
Invading into std:: is frowned upon, even though legitimate from the C++ standard perspective. Given that it's possible to pass a hash object to unordered_map, it only takes an alias for std::unordered_map to avoid having to specialize std::hash. And besides, a generic compatibility bridge between qHash and std::hash has been long needed. std::hash<QString> in converters.h remains for now; it will be dropped separately when the API files get regenerated to use UnorderedMap. | |||
2019-08-29 | Merge pull request #348 from quotient-im/kitsune-better-basejob | Kitsune Ral | |
Better BaseJob | |||
2019-08-26 | Room::calculateDisplayname: use local aliases for room naming | Kitsune Ral | |
The Spec now allows it, even if with a disclaimer that it's subject for further removal. | |||
2019-08-20 | BaseJob/ConnectionData: connection-wide rate-limiting | Kitsune Ral | |
As before, completely transparent for clients, driven by 529 errors from the server (but cases of rate limiting are signalled by BaseJob::rateLimited). That brings changes to BaseJob API: timeouts now use int64_t and also can be handled in std::chrono terms; aboutToStart() -> aboutToSendRequest(); started() -> sentRequest(). Closes #292. | |||
2019-08-19 | Room::Private::doSendEvent: fix too early change in BaseJob signals | Kitsune Ral | |
That's a matter of another upcoming commit. | |||
2019-08-18 | room.cpp: applied clang-format with updated penalty values | Kitsune Ral | |
2019-08-18 | Room: use new logging categories | Kitsune Ral | |
2019-08-18 | Merge pull request #345 from rpallai/UnreadNotifsChange | Kitsune Ral | |
Update the cache for sure if unread counters were changed | |||
2019-08-18 | Room::decryptMessage: fix memory leaks and dangling pointers | Kitsune Ral | |
2019-08-17 | Update the cache for sure if unread counters were changed | Roland Pallai | |
In Quaternion, I was able to reproduce a process where `d->notificationCount` and `d->highlightCount` were changed in `Room::updateData()` meanwhile `roomChanges` indicated `NoChange` thus the cache became permanently inconsistent with running state. Without deep understanding of `roomChanges` logic, I've applied this straightforward change which made this phenomenon unreproducible. |