aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-22Switched to GTAD 0.7-preKitsune Ral
{{>}} instead of {{#@filePartial}}, library macros begin with _ instead of @, mustache/definitions split - see the GTAD commit log.
2018-07-22gtad.yaml: cleanupKitsune Ral
2018-07-22Merge pull request #223 from encombhat/masterKitsune Ral
Expose Room::addTag() and Room::removeTag() to QML
2018-07-22Change order data type.Black Hat
2018-07-22csapi: Minor cleanup in #includes, part 2Kitsune Ral
2018-07-22csapi: Minor cleanup in #includesKitsune Ral
2018-07-22qmake: use object_parallel_to_sourceKitsune Ral
2018-07-21csapi: add definitions/auth_data.* and optimise out trivial files with the ↵Kitsune Ral
latest GTAD
2018-07-21Overload Room:addTag.Black Hat
2018-07-21Mark Room::addTag() and Room::removeTag() as Q_INVOKABLE.Black Hat
2018-07-21csapi: Fix indentaton of data structures inside job classesKitsune Ral
2018-07-20csapi: Rename entities in application-service/Kitsune Ral
The actual change is in API definition files, this is just regeneration.
2018-07-19ConnectionData: use std::move()Kitsune Ral
2018-07-19Connection::stateChanged() signalKitsune Ral
Also: as of the previous commit, we officially bump API version to 0.4
2018-07-19qmake/CMake: Add lib/application-service/definitions/*Kitsune Ral
2018-07-18csapi: third_party_lookup.* and its dependencies in application-service/Kitsune Ral
As per the latest API definitions.
2018-07-18csapi: Doxy-comments thanks to the latest GTADKitsune Ral
2018-07-16Connection::uploadFile(): Fix a missing negationKitsune Ral
...leading to uploadFile() being never even functional - the code really needs tests. Closes #221.
2018-07-16Fix a clazy warningKitsune Ral
2018-07-11Room: (optionally) keep redaction events in the timelineKitsune Ral
If KEEP_REDACTIONS_IN_TIMELINE is defined, the library adds redaction events to the timeline as well. If not, the legacy behaviour is used: redaction events themselves are dropped from the timeline and only stored as parts of redacted events. Closes #220. Closes #196 (requires KEEP_REDACTIONS_IN_TIMELINE for that).
2018-07-11converters.h: overload addTo() for QStringList to fix FTBFS with the new csapiKitsune Ral
2018-07-11csapi: Update to the latest API definitionsKitsune Ral
Presence requires authentication; GetConfigJob; GetLoginFlowsJob; serverName parameter in JoinRoomJob.
2018-07-11Introduce DISABLE_EVENTTYPE flagKitsune Ral
If defined (value doesn't matter), it will suppress generation of deprecated EventType constants. Not defined by default, as of 0.4.
2018-07-11EventFactory::make() should return nullptr in case of failureKitsune Ral
Otherwise factory chaining doesn't work right (an unknown event returned by a chained factory is treated as successful parsing).
2018-07-11Add missing #includesKitsune Ral
2018-07-11event.h: protect from readding factory methodsKitsune Ral
2018-07-11Room::isRedaction: disallow empty pointersKitsune Ral
They should not come anywhere around Room.
2018-07-11EventTypeRegistry::getMatrixType(): move implementation to .cppKitsune Ral
2018-07-10Room::postHtmlMessage() - a facility method to send HTML messagesKitsune Ral
2018-07-09Add a missing #includeKitsune Ral
2018-07-09Room: Revert from visit() to a combination of ifs and eventCastsKitsune Ral
Easier to read, and also easier compiler diagnostics if things go wrong. Still using visit() for state events processing though - it maintains that all lambdas return some value.
2018-07-09Fix legacy EventType values being incorrectly initialisedKitsune Ral
Static storage initialisation fiasco, as it is...
2018-07-08Revert perfect forwarding support in OmittableKitsune Ral
Turned out to work in unexpected ways when an Omittable<> gets copied.
2018-07-08Use constexpr functions instead of variablesKitsune Ral
MSVC struggles with template variables...
2018-07-08visit<>(): drop the overload for pointer-like objectsKitsune Ral
It confuses compilers and adds a mostly unneeded null check; it's dead easy to just dereference a pointer before passing it to visit<>().
2018-07-08visit<>(): support catch-all visitors on the tailKitsune Ral
2018-07-08eventCast(): generalize to smart pointersKitsune Ral
2018-07-08Omittable: support perfect forwardingKitsune Ral
2018-07-08TimelineItem::viewAs(): fix a typoKitsune Ral
2018-07-08TimelineItem: get(); validating viewAs<>()Kitsune Ral
Having get() allows to work with TimelineItem as a smart pointer.
2018-07-08eventCast<>()Kitsune Ral
2018-07-08Generalize weakPtrCast<>()Kitsune Ral
2018-07-08Move Omittable<> to util.hKitsune Ral
2018-07-07visit<>(): Add an overload accepting a default valueKitsune Ral
2018-07-07Remove [[gnu::const]] from linkifyUrls()Kitsune Ral
It's not a pure function by any account. Closes #377. Also: minor tweaks in util.cpp
2018-07-07Reinstate EventTypeRegistry, keeping EventTypeTraits<> aroundKitsune Ral
You can now get a (much more readable) Matrix type (event_mtype_t) for the internal event type code (event_type_t) using EventTypeRegistry::getMatrixType().
2018-07-07util.h: DISABLE_MOVE macroKitsune Ral
2018-07-04Add more #includes missingKitsune Ral
2018-07-04Support ignoring usersKitsune Ral
Closes #215.
2018-07-04lib/csapi: Updated from the latest API definitionsKitsune Ral