Commit Graph

52 Commits

Author SHA1 Message Date
4132035bcd Create setter for MatrixAPI.user_id and MatrixAPI.homeserver 2018-03-12 07:59:54 +01:00
c8bc5e7d6b Remove the refresh_token
It was removed from the spec, and from HS implementations for a while.
2018-03-12 07:59:54 +01:00
623de1e432 Port MatrixAPI to C 2018-03-12 07:59:53 +01:00
d5833c4cee Rework MatrixAPI in Vala 2016-03-04 14:00:06 +01:00
530ed8cb8d Add the MATRIX_API_CALLBACK cast macro 2016-01-30 10:02:00 +01:00
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
f51a4ba63c Rename MatrixAPIPusher to MatrixPusher 2016-01-25 16:30:39 +01:00
45b071365d Rename MatrixAPI3PidCredential to Matrix3PidCredential 2016-01-25 16:22:17 +01:00
8f5877a2f0 Rename MatrixAPIFilter to MatrixFilter 2016-01-25 16:11:32 +01:00
e163e73f2c Rename enum types from MatrixAPI* to Matrix* 2016-01-25 16:11:31 +01:00
fbb24e3acc Rename matrix-api-types.[ch] to matrix-types.[ch] 2016-01-25 16:11:22 +01:00
3993bb112c Add MatrixAPI.abort_pending definition 2016-01-22 16:01:26 +01:00
7d5b516005 Move invite_user_3pid() to direct MatrixAPI3PidCredential use 2016-01-21 15:37:04 +01:00
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
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
2dfdb754f3 Fix add_room_tag prototype and vfunc 2016-01-16 15:28:09 +01:00
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
0369b387c1 Remove const constraint from set_account_data’s content 2016-01-16 14:37:57 +01:00
5b1ea70b48 Update register_account() according to specification 2016-01-16 14:35:51 +01:00
13c8707dbf Update MatrixAPI with the versions API call 2016-01-15 19:23:51 +01:00
668c782df7 Remove const constraint from send_room_event’s content 2016-01-15 17:09:05 +01:00
11bd9002af Remove const constraint from send_message_event’s content 2016-01-15 16:51:09 +01:00
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
3e464e7318 Rename modify_pusher update_pusher
It reflects the functionality better.
2016-01-15 14:43:27 +01:00
84c0eb569d Remove const constraint from media_upload’s content 2016-01-15 13:58:01 +01:00
97a169959c Accept non-json content 2016-01-15 13:09:39 +01:00
a037cb7aad Error fixes 2016-01-15 10:36:47 +01:00
2b06e8d1ef Reorganize MatrixAPI vtable members
Just for readability and to follow conventions.
2016-01-13 17:21:56 +01:00
ea7d9aaec4 Implement join_room 2016-01-13 17:21:55 +01:00
2fdaea2119 Documentation fixes 2016-01-12 14:10:24 +01:00
4847f73668 Move enumerations to matrix-api-types.[ch] 2016-01-11 17:42:53 +01:00
4aa99ea19b Make MatrixAPIStateEvent a boxed type 2016-01-11 17:42:53 +01:00
edbc6222e3 Make MatrixAPIPusher a boxed type 2016-01-11 17:42:52 +01:00
127c1b4b61 Move MatrixAPIError to matrix-api-types.[ch] 2016-01-11 17:42:52 +01:00
ad8e202367 Make MatrixAPI3PidCredential a boxed type 2016-01-11 17:42:51 +01:00
72f317a941 Make MatrixAPIFilter a boxed type 2016-01-11 17:42:50 +01:00
512020a0ea Move MatrixAPIEventFormat enum to matrix-api-types.h 2016-01-11 17:42:49 +01:00
90a360ecd6 Make MatrixAPIRoomFilter a boxed type 2016-01-11 17:42:49 +01:00
e11dbc503d Merge MatrixAPIEventFilter and MatrixAPIPresenceFilter into a boxed type 2016-01-11 17:42:48 +01:00
95a6112a2a Add MatrixAPI:homeserver property 2016-01-11 17:42:47 +01:00
f6fa56e7b0 Add MatrixAPI:user-id property 2016-01-11 17:42:47 +01:00
8f2a8e23a7 Add the refresh-token property 2016-01-11 17:42:04 +01:00
503ff71f3c Start redefining MatrixAPI methods based on the Matrix.org API 2016-01-11 17:40:49 +01:00
2dbc3ea316 Add response error handling to the HTTP API 2016-01-05 16:15:28 +01:00
9552136059 Add our own error quark 2016-01-05 15:32:44 +01:00
e15df6ea2e Add a GError parameter to MatrixAPICallback 2015-12-15 11:09:51 +01:00
9f763865db Documentation fix 2015-12-15 09:36:41 +01:00
e9baaaf60f Add missing matrix_api_get_type() prototype 2015-12-14 20:34:31 +01:00
51d8fd6d6b Remove txn_id parameters from the base Matrix API
It will be set internally and won’t be exposed to the public (yet).
2015-12-14 15:59:35 +01:00
b6c4c8f26d Move MatrixAPI to an interface 2015-12-11 14:15:42 +01:00