Commit Graph

56 Commits

Author SHA1 Message Date
Gergely Polonkai 18b7aeb1e4 Add API method for /notifications 2018-05-10 14:04:47 +02:00
Gergely Polonkai db912dd701 Add API method for /joined_rooms 2018-05-10 14:04:47 +02:00
Gergely Polonkai 1be76ea025 Add API method for email based account registration 2018-05-10 14:04:47 +02:00
Gergely Polonkai ceb8b8c3d2 Add API method for /account/whoami 2018-05-10 14:04:47 +02:00
Gergely Polonkai bd6599a693 Create setter for MatrixAPI.user_id and MatrixAPI.homeserver 2018-05-10 14:04:47 +02:00
Gergely Polonkai b6dc8a6b62 Remove the refresh_token
It was removed from the spec, and from HS implementations for a while.
2018-05-10 14:04:47 +02:00
Gergely Polonkai b495cdc66a Port MatrixAPI to C 2018-05-10 13:35:50 +02:00
Gergely Polonkai d5833c4cee Rework MatrixAPI in Vala 2016-03-04 14:00:06 +01:00
Gergely Polonkai 530ed8cb8d Add the MATRIX_API_CALLBACK cast macro 2016-01-30 10:02:00 +01:00
Gergely Polonkai 2f366ee30d Add the MATRIX_API_CALLBACK_PROTO convenience macro
It can ease creating API callback function headers.
2016-01-29 17:49:28 +01:00
Gergely Polonkai f51a4ba63c Rename MatrixAPIPusher to MatrixPusher 2016-01-25 16:30:39 +01:00
Gergely Polonkai 45b071365d Rename MatrixAPI3PidCredential to Matrix3PidCredential 2016-01-25 16:22:17 +01:00
Gergely Polonkai 8f5877a2f0 Rename MatrixAPIFilter to MatrixFilter 2016-01-25 16:11:32 +01:00
Gergely Polonkai e163e73f2c Rename enum types from MatrixAPI* to Matrix* 2016-01-25 16:11:31 +01:00
Gergely Polonkai fbb24e3acc Rename matrix-api-types.[ch] to matrix-types.[ch] 2016-01-25 16:11:22 +01:00
Gergely Polonkai 3993bb112c Add MatrixAPI.abort_pending definition 2016-01-22 16:01:26 +01:00
Gergely Polonkai 7d5b516005 Move invite_user_3pid() to direct MatrixAPI3PidCredential use 2016-01-21 15:37:04 +01:00
Gergely Polonkai 3e93e9e77d Add 3rd party credential invite possibility to create_room()
This is to comply with Matrix API r0.0.1
2016-01-21 15:36:23 +01:00
Gergely Polonkai cbfb0fbe72 Change login’s type param to login_type
It is for not to clash with some languages (like Python).
2016-01-21 15:24:53 +01:00
Gergely Polonkai 2dfdb754f3 Fix add_room_tag prototype and vfunc 2016-01-16 15:28:09 +01:00
Gergely Polonkai 8ce974e195 Change set_account_data’s type param to event_type
It is for not to clash with some languages (like Python)
2016-01-16 15:08:08 +01:00
Gergely Polonkai 0369b387c1 Remove `const` constraint from set_account_data’s content 2016-01-16 14:37:57 +01:00
Gergely Polonkai 5b1ea70b48 Update register_account() according to specification 2016-01-16 14:35:51 +01:00
Gergely Polonkai 13c8707dbf Update MatrixAPI with the versions API call 2016-01-15 19:23:51 +01:00
Gergely Polonkai 668c782df7 Remove `const` constraint from send_room_event’s content 2016-01-15 17:09:05 +01:00
Gergely Polonkai 11bd9002af Remove `const` constraint from send_message_event’s content 2016-01-15 16:51:09 +01:00
Gergely Polonkai 68833931e0 Change send_event_recepit_type’s type param to receipt_type
It is for not to clash with some languages (like Python).
2016-01-15 16:38:39 +01:00
Gergely Polonkai 3e464e7318 Rename modify_pusher update_pusher
It reflects the functionality better.
2016-01-15 14:43:27 +01:00
Gergely Polonkai 84c0eb569d Remove `const` constraint from media_upload’s content 2016-01-15 13:58:01 +01:00
Gergely Polonkai 97a169959c Accept non-json content 2016-01-15 13:09:39 +01:00
Gergely Polonkai a037cb7aad Error fixes 2016-01-15 10:36:47 +01:00
Gergely Polonkai 2b06e8d1ef Reorganize MatrixAPI vtable members
Just for readability and to follow conventions.
2016-01-13 17:21:56 +01:00
Gergely Polonkai ea7d9aaec4 Implement join_room 2016-01-13 17:21:55 +01:00
Gergely Polonkai 2fdaea2119 Documentation fixes 2016-01-12 14:10:24 +01:00
Gergely Polonkai 4847f73668 Move enumerations to matrix-api-types.[ch] 2016-01-11 17:42:53 +01:00
Gergely Polonkai 4aa99ea19b Make MatrixAPIStateEvent a boxed type 2016-01-11 17:42:53 +01:00
Gergely Polonkai edbc6222e3 Make MatrixAPIPusher a boxed type 2016-01-11 17:42:52 +01:00
Gergely Polonkai 127c1b4b61 Move MatrixAPIError to matrix-api-types.[ch] 2016-01-11 17:42:52 +01:00
Gergely Polonkai ad8e202367 Make MatrixAPI3PidCredential a boxed type 2016-01-11 17:42:51 +01:00
Gergely Polonkai 72f317a941 Make MatrixAPIFilter a boxed type 2016-01-11 17:42:50 +01:00
Gergely Polonkai 512020a0ea Move MatrixAPIEventFormat enum to matrix-api-types.h 2016-01-11 17:42:49 +01:00
Gergely Polonkai 90a360ecd6 Make MatrixAPIRoomFilter a boxed type 2016-01-11 17:42:49 +01:00
Gergely Polonkai e11dbc503d Merge MatrixAPIEventFilter and MatrixAPIPresenceFilter into a boxed type 2016-01-11 17:42:48 +01:00
Gergely Polonkai 95a6112a2a Add MatrixAPI:homeserver property 2016-01-11 17:42:47 +01:00
Gergely Polonkai f6fa56e7b0 Add MatrixAPI:user-id property 2016-01-11 17:42:47 +01:00
Gergely Polonkai 8f2a8e23a7 Add the refresh-token property 2016-01-11 17:42:04 +01:00
Gergely Polonkai 503ff71f3c Start redefining MatrixAPI methods based on the Matrix.org API 2016-01-11 17:40:49 +01:00
Gergely Polonkai 2dbc3ea316 Add response error handling to the HTTP API 2016-01-05 16:15:28 +01:00
Gergely Polonkai 9552136059 Add our own error quark 2016-01-05 15:32:44 +01:00
Gergely Polonkai e15df6ea2e Add a GError parameter to MatrixAPICallback 2015-12-15 11:09:51 +01:00