Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-22 | Switched to GTAD 0.7-pre | Kitsune Ral | |
{{>}} instead of {{#@filePartial}}, library macros begin with _ instead of @, mustache/definitions split - see the GTAD commit log. | |||
2018-07-22 | gtad.yaml: cleanup | Kitsune Ral | |
2018-07-21 | csapi: add definitions/auth_data.* and optimise out trivial files with the ↵ | Kitsune Ral | |
latest GTAD | |||
2018-07-11 | csapi: Update to the latest API definitions | Kitsune Ral | |
Presence requires authentication; GetConfigJob; GetLoginFlowsJob; serverName parameter in JoinRoomJob. | |||
2018-07-04 | Break down event.* into smaller files | Kitsune Ral | |
We now have event.*, roomevent.*, stateevent.* and eventloader.h. If you only use event leaf-classes (such as RoomMemberEvent) you shouldn't notice anything. | |||
2018-06-16 | csapi: Use {{>cjoin}} instead of {{>join,}}; fix a typo breaking update-api | Kitsune Ral | |
2018-06-11 | gtad.yaml: More concise list joining | Kitsune Ral | |
2018-06-08 | csapi: Fix boolean query parameters incorrectly passed | Kitsune Ral | |
2018-06-08 | csapi: Added registration and account management jobs | Kitsune Ral | |
Regrettably had to cut corners and use QJsonObject for auth_data.yaml because GTAD 0.6 doesn't properly deal with a combination of properties and additionalProperties in the API description. | |||
2018-06-08 | gtad.yaml: Update to the released GTAD 0.6 | Kitsune Ral | |
variant types now use comma (,) as a delimiter instead of | (because regexes). Also: moved around the `schema` section to be closer to `$ref`. | |||
2018-06-03 | csapi: No need to explicitly #include <QtCore/QStringList> | Kitsune Ral | |
2018-06-03 | csapi: GetTurnServerJob | Kitsune Ral | |
2018-06-03 | csapi + converters: Support variant types (using QVariant) | Kitsune Ral | |
This mandated some rearrangement of toJson() overloads and FromJson<> specializations for QVariant* types - instead of variant_converters.h they are now in converters.cpp. | |||
2018-06-03 | gtad.yaml: Fixes around defaultValue | Kitsune Ral | |
1. defaultValue now preempts Omittable<> 2. Fixed the problem when defaultValue was provided but initializer was empty (a case for int's, bool's etc.) | |||
2018-06-03 | gtad.yaml: Fallback to QJsonArray no more needed | Kitsune Ral | |
...with the latest GTAD | |||
2018-06-03 | gtad.yaml: Make sure to pass avoidCopy to ref'ed types | Kitsune Ral | |
2018-06-02 | csapi: Fix adding omittables to a query string | Kitsune Ral | |
2018-06-02 | GTAD: drop question marks and "true" from attributes | Kitsune Ral | |
They lead to an (incorrect) assumption that those attributes are actual binary flags rather than just flags (there's no such thing as avoidCopy=false, avoidCopy should be absent instead). | |||
2018-06-02 | csapi: Use Omittable<> container instead of intrusive 'omitted' field | Kitsune Ral | |
Also: use the latest feature of GTAD, +set/+on, to make gtad.yaml more compact. | |||
2018-05-26 | lib/csapi/: Don't send parameters that were omitted | Kitsune Ral | |
This is important because payloads that include omitted parameters may be malformed. Closes #208 (an example of such malformed payload). | |||
2018-05-06 | lib/csapi/*.mustache: Optimise #includes, eliminate some blank lines | Kitsune Ral | |
2018-05-04 | New home for the generated code - lib/csapi | Kitsune Ral | |