Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-30 | Use C++14 [[deprecated]] attribute instead of doc-comment | Kitsune Ral | |
Testing the waters in one place to start with. | |||
2018-06-24 | converters.h: Support QSet<> | Kitsune Ral | |
Also: toJson<optional> is no more (was #if 0'd anyway). | |||
2018-06-16 | CMakeLists.txt: Don't build API files list if not needed | Kitsune Ral | |
2018-06-16 | Connection::doInDirectChat: "direct chat with self" feature | Kitsune Ral | |
Essentially - create/switch to the room with you as the only member instead of getting the first room where you happen to be flagged as a direct chat user (which is pretty unpredictable even if stable from the user point of view). | |||
2018-06-16 | Connection::createRoom: avoid inviting yourself to the created room | Kitsune Ral | |
2018-06-16 | Connection::doInDirectChat: be more careful with cleanup | Kitsune Ral | |
d->directChats was cleaned up while it was iterated upon, obviously leading to Undefined Behaviour. Closes #214. | |||
2018-06-16 | converters.h: Make it still compile with Qt older than 5.6 | Kitsune Ral | |
Some folks are still on Ubuntu vivid :( | |||
2018-06-16 | csapi: Use {{>cjoin}} instead of {{>join,}}; fix a typo breaking update-api | Kitsune Ral | |
2018-06-11 | Event::toJson(): Return an empty object instead of UB | Kitsune Ral | |
2018-06-11 | gtad.yaml: More concise list joining | Kitsune Ral | |
2018-06-11 | Update CONTRIBUTING.md | Kitsune Ral | |
[skip ci] | |||
2018-06-11 | Update README.md | Kitsune Ral | |
[skip ci] | |||
2018-06-11 | BaseJob: Drop 'error' from methods that work in normal job state too | Kitsune Ral | |
2018-06-11 | Connection: InFore/Background -> Fore/BackgroundRequest | Kitsune Ral | |
2018-06-09 | converters.h: drop unneeded template<> line | Kitsune Ral | |
2018-06-09 | csapi: Now really fix passing query parameters | Kitsune Ral | |
Also: GetContentThumbnailJob (again) requires width and height. | |||
2018-06-08 | csapi: Fix boolean query parameters incorrectly passed | Kitsune Ral | |
2018-06-08 | SyncJob: Support receiving to_device and presence events | Kitsune Ral | |
2018-06-08 | csapi: add jobs for keys management | Kitsune Ral | |
This concludes the Great Income of Jobs to libQMatrixClient - all CS API calls are now covered with job classes, yay! | |||
2018-06-08 | csapi: add jobs for device management | Kitsune Ral | |
Same as for account management jobs, auth objects are modeled as generic QJsonObjects for now. | |||
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 | csapi: add jobs from rooms.yaml | Kitsune Ral | |
Getting a single event (/events), getting the full room state as well as with a specific type/key (/state), getting the list of room members (/members and /joined_members). | |||
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-08 | csapi: added sync filter definitions and jobs | Kitsune Ral | |
2018-06-04 | CMakeLists: Fix build breakage if MATRIX_DOC_PATH is relative | Kitsune Ral | |
I should've guessed it at the previous commit, I know. | |||
2018-06-04 | CMakeLists: fix build breakage if GTAD path is relative | Kitsune Ral | |
2018-06-04 | Make libQMatrixClient buildable outside of Quaternion | Kitsune Ral | |
2018-06-04 | converters.*: Fixes | Kitsune Ral | |
Qualify functions properly; add converters.* to libqmatrixclient.pri | |||
2018-06-03 | csapi: jobs to setup push-rules | Kitsune Ral | |
2018-06-03 | csapi: PeekEventsJob, ReportContentJob, presence jobs | Kitsune Ral | |
2018-06-03 | csapi: No need to explicitly #include <QtCore/QStringList> | Kitsune Ral | |
2018-06-03 | csapi: GetTurnServerJob | Kitsune Ral | |
2018-06-03 | csapi/content-repo.*: jobs return results in data() instead of content() now | Kitsune Ral | |
Because GTAD has been updated to use a different default name for returned properties. | |||
2018-06-03 | csapi/notifications.*: Use QVariant instead of QJsonObject | Kitsune Ral | |
Thanks to the latest GTAD. QJsonObject wasn't quite correct there. | |||
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 | csapi: Updated to the most recent API definitions | Kitsune Ral | |
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 | BaseJob: fix error handling for M_CONSENT_NOT_GIVEN | Kitsune Ral | |
2018-06-02 | More reliable test state tracking; join/leave tests | Kitsune Ral | |
1. Instead of a single numeric semaphore, tests are first added to the `running` list and then transferred to `succeeded` or `failed`, depending on the outcome. 2. The test flow now starts with joining the test room and finishes with leaving it. Closes #209. | |||
2018-06-02 | Connection::loadedRoomState() signal | Kitsune Ral | |
Closes #211. | |||
2018-06-02 | Room::dropDuplicateEvents(): use a reference instead of a pointer | Kitsune Ral | |
There's no case for a nullptr in that function, and I'm fine to use non-const ref parameters. | |||
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 | Typo fix | Kitsune Ral | |
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-06-02 | addToJson(): Omit unneeded defaulting of ValT to void | Kitsune Ral | |
2018-05-30 | BaseJob::setStatus: Don't try to remove access token if it's empty | Kitsune Ral | |
Closes #210. | |||
2018-05-29 | BaseJob: Treat M_CONSENT_NOT_GIVEN separately from other content access errors | Kitsune Ral | |
Closes #207. |