Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-04 | New home for the generated code - lib/csapi | Kitsune Ral | |
2018-05-04 | gtad.yaml: Cleanup | Kitsune Ral | |
2018-05-04 | gtad.yaml: Even more concise type stubbing | Kitsune Ral | |
With most recent GTAD. | |||
2018-05-04 | Connection, jobs/generated: Use QStringList instead of QVector<QString> | Kitsune Ral | |
QStringList's API is richer, after all. | |||
2018-05-04 | gtad.yaml: Use QStringList instead of QVector<QString> | Kitsune Ral | |
QStringList's API is richer, after all. | |||
2018-05-04 | jobs/generated: code ordering, more comments | Kitsune Ral | |
2018-05-04 | gtad.yaml: Support maps of events | Kitsune Ral | |
Use std::unordered_map<> (now supported by GTAD and converters.h) for that. | |||
2018-05-04 | {{base}}.h.mustache: better code ordering, more comments | Kitsune Ral | |
2018-05-04 | SendToDeviceJob: use a map-of-maps for messages instead of an opaque QJsonObject | Kitsune Ral | |
2018-05-04 | gtad.yaml: Support OpenAPI value maps (aka additionalProperties) | Kitsune Ral | |
This is useful for things like tags map in m.tags event, or the map-of-maps-of-messages in SendToDeviceJob (coming in the next commit). Requires GTAD 0.4.9 or later. | |||
2018-05-04 | Preempt job/setroomstatejob.* with jobs/generated/room_state.* | Kitsune Ral | |
The template part (not exposed in the auto-generated class) goes to Room::Private::requestSetState(). Also, Room::setMemberState() to interface with User class. | |||
2018-05-04 | EvT::TypeId: Use a member function instead of a variable | Kitsune Ral | |
The latter one causes linkage errors when used from a template method (but not from a template class, puzzlingly). | |||
2018-05-03 | gtad.yaml: Update regexes to match string parts | Kitsune Ral | |
According to KitsuneRal/gtad#31. | |||
2018-05-03 | Preempt jobs/joinroomjob.* with jobs/generated/joining.* | Kitsune Ral | |
Enables responding to third-party invites. | |||
2018-05-03 | jobs/generated: Drop unused code | Kitsune Ral | |
2018-05-03 | GetRoomEventsJob (replaces RoomMessagesJob) + refactoring | Kitsune Ral | |
1. Updates in this commit (see further) allow to generate and build GetRoomEventsJob from message_pagination.yaml; this job completely preempts RoomMessagesJob. 2. EventsBatch<> is no more a thing; there's EventsArray<> to replace it but it's loaded from a JSON array rather than an event batch (a JSON array inside another JSON object). SyncJob that used it extensively has been moved to "conventional" containers (Events, RoomEvents and the newly introduced StateEvents). RoomMessagesJob that also used EventsBatch<> is decommissioned (see above). 3. RoomEventsRange is now an alias for Range<RoomEvents>, defined in util.h (otherwise almost the same). 4. Connection::getMessages() is no more. Use Room::getPreviousContent() and Connection::callApi<GetRooMEventsJob>() instead. 5. Moving things around in Room, since SyncJob now supplies state events in more specific StateEvents, rather than RoomEvents. | |||
2018-05-03 | GTAD: Use QMatrixClient::Event-derived classes in generated jobs + Mustache ↵ | Kitsune Ral | |
cleanup This should make generated jobs buildable across the whole CS API (sync.yaml is disabled as the manual implementation is still considerably better). | |||
2018-05-01 | Merge branch 'master' into kitsune-gtad | Kitsune Ral | |
2018-05-01 | jobs/generated: use std::move in baseURL; type updates from the API files | Kitsune Ral | |
The type updates are a matter of pending PR to matrix-doc yet. | |||
2018-05-01 | gtad.yaml: Use EventPtr for Notifications.Event; add variant type to the map | Kitsune Ral | |
Variants are not yet supported but just in case, let's have the line, it's very obvious. | |||
2018-05-01 | GetNotificationsJob: don't alias EventPtr with Event | Kitsune Ral | |
It's useless and misleading. | |||
2018-05-01 | jobs/generated: use std::move in baseURL; type updates from the API files | Kitsune Ral | |
The type updates are a matter of pending PR to matrix-doc yet. | |||
2018-05-01 | Mustache: more C++ tidying and empty lines removal | Kitsune Ral | |
2018-05-01 | jobs/generated: GetNotificationsJob | Kitsune Ral | |
2018-04-30 | jobs/generated: GetNotificationsJob | Kitsune Ral | |
2018-04-30 | jobs/generated: cleanup C++ | Kitsune Ral | |
2018-04-30 | gtad.yaml: Migrate to GTAD 0.5 config format | Kitsune Ral | |
2018-04-30 | jobs/generated: cleanup C++ | Kitsune Ral | |
2018-04-30 | Mustache templates: cleanup C++ | Kitsune Ral | |
2018-04-29 | Merge branch 'master' into kitsune-gtad | Kitsune Ral | |
2018-04-25 | BaseJob::doCheckReply: catch non-HTTP errors too | Kitsune Ral | |
2018-04-25 | BaseJob: rewrite error detection using genuine HTTP codes | Kitsune Ral | |
Qt Network error codes don't represent well some cases. Closes #200. | |||
2018-04-14 | jobs/generated: Overload toJson() instead of operator QJsonObject()/QJsonValue() | Kitsune Ral | |
It slightly reduces the header interface and shortcuts the actual call chain (not that it had any performance implications, just easier reasoning). | |||
2018-04-14 | Mustache templates: Overload toJson() instead of operator ↵ | Kitsune Ral | |
QJsonObject()/QJsonValue() It slightly reduces the header interface and shortcuts the actual call chain (not that it had any performance implications, just easier reasoning). | |||
2018-04-14 | Mustache: {{#producesNonJson?}} -> {{#producesNotJson?}} | Kitsune Ral | |
According to the most recent changes in GTAD. | |||
2018-04-13 | Merge branch 'master' into kitsune-gtad | Kitsune Ral | |
2018-04-02 | BaseJob: set the status upon headers arrival | Kitsune Ral | |
So that DownloadFileJob could figure if it should save the incoming payload to the file or it's the JSON details about the error. | |||
2018-04-01 | BaseJob: use QDebugStateSaver | Kitsune Ral | |
...instead of copying the whole QDebug object. | |||
2018-03-31 | Merge branch 'kitsune-install-target' | Kitsune Ral | |
Closes #113. | |||
2018-03-31 | Move source files to a separate folder | Kitsune Ral | |
It's been long overdue to separate them from the rest of the stuff (docs etc.). Also, this allows installing to a directory within the checked out git tree (say, ./install/, similar to ./build/). |