Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-17 | Room::processStateEvent: process banning correctly | Kitsune Ral | |
Closes #258. | |||
2018-11-17 | StateEventBase::replacedState() | Kitsune Ral | |
Brings event id of the state event that was in effect before this one arrived. This key is not specced but it's used in the wild since forever. | |||
2018-11-17 | User::isIgnored() | Kitsune Ral | |
2018-11-14 | Room: fix incorrect handling of state event redactions | Kitsune Ral | |
Also: use Matrix type instead of internal type id in StateEventKey (Because internal type id maps to the library type system which will not discern between Unknown events and therefore will mix together events of different types in Room::Private::baseState/currentState. The Room code is updated accordingly (bonus: more asserts there).) Closes #255. | |||
2018-11-14 | DEFINE_SIMPLE_STATE_EVENT: Add default constructor | Kitsune Ral | |
...that creates an "empty" event, i.e. an event with content initialised by a default constructor (not all content types support this but those for simple events do). | |||
2018-11-14 | Room: historyEdge(), syncEdge, Private::timelineBase() | Kitsune Ral | |
Also: make moveEventsToTimeline() always put historical events from position -1 rather than 0 so that Private::baseState could always correspond to the before-0 position. | |||
2018-11-14 | Improvements in comments | Kitsune Ral | |
- registerEventType(): comment the cryptic _ variable - Room::postEvent: document the return value - Room::Private: upgrade comments to doc-comments - even though in Private, they still are helpful to show hints in IDEs. - General cleanup | |||
2018-11-14 | Room: ensure proper error signalling on event sending failures | Kitsune Ral | |
2018-11-05 | isEchoEvent: check the pending event for ids, not the synced one | Kitsune Ral | |
Synced events always have their event ids, so checking those for event id renders most of the function useless (and returns an incorrect result). Closes #248. | |||
2018-11-04 | profilerMinNsecs(): Fix a misnomer - it's PROFILER_LOG_USECS now - and ↵ | Kitsune Ral | |
document it | |||
2018-11-04 | Profiler logging fixes and improvements | Kitsune Ral | |
2018-11-04 | Room: store state events in a unified way | Kitsune Ral | |
Closes #194. | |||
2018-11-04 | StateEventKey and std::hash<StateEventKey> to arrange state events in hashmaps | Kitsune Ral | |
2018-11-04 | StateEvent::dumpTo: add state_key to the logline | Kitsune Ral | |
2018-11-04 | Support dumping Events to QDebug | Kitsune Ral | |
2018-11-04 | DEFINE_SIMPLE_STATE_EVENT: fix construction from an rvalue QJsonObject | Kitsune Ral | |
2018-11-04 | DEFINE_SIMPLE_STATE_EVENT: fix value_type mistakenly dubbed as content_type | Kitsune Ral | |
2018-11-03 | MediaThumbnailJob: minor code polishing | Kitsune Ral | |
2018-11-03 | User::displayname(): avoid calling nameForRoom twice | Kitsune Ral | |
nameForRoom() is O(n) in this context (n - number of names of a given user). | |||
2018-10-29 | Connection::joinRoom: allow to specify intermediate servers | Kitsune Ral | |
Closes #127. | |||
2018-10-26 | Use tr() for plurals | Kitsune Ral | |
2018-10-12 | Room::addTag: use float instead of Omittable<float> | Kitsune Ral | |
No-order is already modelled with the other overload, and Omittable<> breaks interfacing with QML. | |||
2018-10-11 | Merge pull request #250 from krombel/enable_http2_and_pipelining | Kitsune Ral | |
add http2 and pipelining for all Jobs | |||
2018-10-10 | add http2 and pipelining for all Jobs | Krombel | |
2018-10-05 | Room: fix a blunder leading to accessing data after move | Kitsune Ral | |
2018-10-04 | events.h: #ifndef DISABLE_EVENTTYPE -> #ifdef ENABLE_EVENTTYPE_ALIAS | Kitsune Ral | |
This turns off the legacy EventType namespace with event type aliases (EventType::RoomMessageEvent etc.). To still use it, pass - DENABLE_EVENTTYPE_ALIAS to the compiler. | |||
2018-10-04 | Modernise and fix code dealing with call events | Kitsune Ral | |
Call events no more store deserialised values; instead they deserialise values on the fly, same as all other events. They are no more treated as state events (The Spec doesn't define them as state events in the first place). A common base class, CallEventBase, is introduced that defines data pieces common to all call events (call id and version). | |||
2018-09-30 | Avatar: fixes and optimisations | Kitsune Ral | |
Closes #249. | |||
2018-09-30 | Room: Unify tags both when getting and setting | Kitsune Ral | |
2018-09-30 | Room: use csapi/tags.h; fix tagsChanged() double-emission | Kitsune Ral | |
Instead of overwriting the entire set of tags even on single-tag operations, SetRoomTagJob and DeleteRoomTagJob are used now. (Room::setTags() still uses SetRoomAccountDataJob). | |||
2018-09-30 | toJson(TagRecord): don't dump order if there's none | Kitsune Ral | |
2018-09-29 | Merge pull request #247 from QMatrixClient/avatar-cache | Kitsune Ral | |
WIP: Add avatar caching. | |||
2018-09-29 | Merge branch 'cs-api-0.4.0' | Kitsune Ral | |
2018-09-29 | Support CS API 0.4.0 | Kitsune Ral | |
Numerous changes in CS (and now also AS) API, including compatibility-breaking ones - see the diff for details. | |||
2018-09-29 | Prepare for CS API 0.4.0 | Kitsune Ral | |
This commit consists of two parts: upgrading the API infrastructure and trivial but sweeping update to the generated files. 1. The API infrastructure (converters.h, *.mustache and some other non-generated files) now can deal with top-level JSON arrays and response inlining; better supports property maps; and gets some formatting fixes in generated code. 2. Generated files now use QJsonValue instead of QJsonObject as a default type to (un)marshall Matrix API data structures, to match the change in the infrastructure above This commit is still using the old Matrix API definitions, before CS API 0.4.0. Getting to CS API 0.4.0 will come next. | |||
2018-09-25 | Room::addTag: fix the QML-friendly overload's parameter | Kitsune Ral | |
TagRecord::order_type is float now, not QString. | |||
2018-09-23 | Coding improvements. | Black Hat | |
Change _localFile initializer. Move avatar into <cache>/avatar. Remove redundant codes. Change _localFile to QString. Code deduplication. | |||
2018-09-21 | Add avatar caching. | Black Hat | |
2018-09-17 | Merge pull request #244 from delijati/master | Kitsune Ral | |
Updated voip pull request #110 | |||
2018-09-17 | return false in processStateEvent; make processCall private | Josip Delic | |
2018-09-17 | remove tunrnserver | Josip Delic | |
2018-09-17 | remove tunrnserver | Josip Delic | |
2018-09-17 | Merge pull request #243 from QMatrixClient/default-avatar | Kitsune Ral | |
Remove default avatar. | |||
2018-09-16 | Merge remote-tracking branch 'upstream/master' | Josip Delic | |
2018-09-16 | Remove default avatar. | Black Hat | |
2018-09-16 | Introduce Room::displaynameAboutToChange() | Kitsune Ral | |
2018-09-16 | BaseJob::rawData: only add "truncated" when actually truncated | Kitsune Ral | |
2018-09-16 | Connection: make factories a bit more customisable | Kitsune Ral | |
2018-09-16 | Use the right header file for QImage | Kitsune Ral | |
2018-09-13 | Merge pull request #242 from encombhat/pkg-config | Kitsune Ral | |
Add QMatrixClient.pc.in |