Commit Graph

38 Commits

Author SHA1 Message Date
Gergely Polonkai f7e2a647cf Port MatrixHTTPClient to C 2018-05-10 13:35:50 +02:00
Gergely Polonkai d98a426dc7 Add parameter descriptions to test-client’s parameters 2018-05-10 13:35:50 +02:00
Gergely Polonkai c44a8427c1 Port MatrixEventRoomMessage to C 2018-05-10 13:35:50 +02:00
Gergely Polonkai b48cc6b91b Port MatrixEventRoomMember to C 2018-05-10 13:35:50 +02:00
Gergely Polonkai cd38ec61fd Port MatrixEventPresence to C 2018-05-10 13:35:50 +02:00
Gergely Polonkai 457371b25b Fix call to g_mkdir_with_parents() in test-client
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
2016-03-21 15:37:49 +01:00
Gergely Polonkai 1d16628861 Start polling in test client upon a successful login
This was removed unintentionally two commits ago.

Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
2016-03-21 11:51:24 +01:00
Gergely Polonkai d9a032ac28 Make test client save its state and load it on startup
The save data goes to $XDG_CACHE_HOME/matrix-glib-sdk/base_url_sha1

Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
2016-03-21 10:39:16 +00:00
Gergely Polonkai 19323453a9 Add the skeleton of the message type framework 2016-03-10 19:10:10 +01:00
Gergely Polonkai c8c26a5398 Fix presence event reporting in test client 2016-03-08 14:28:44 +01:00
Gergely Polonkai f48eaf4c88 Fix Matrix.Event.RoomMember
It now complies with the Matrix spec.
2016-03-07 16:38:19 +01:00
Gergely Polonkai 70dfaff080 Move Event types to the Matrix.Event namespace 2016-03-07 16:38:19 +01:00
Gergely Polonkai 6356ead2b2 Add MatrixClient based test client 2016-03-04 14:35:00 +01:00
Gergely Polonkai f2362cffc2 Rename test-client to test-api-client
This is to avoid naming confusions.
2016-01-21 16:37:58 +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 08cfb118fd Redesign matrix_http_api_new() so it returns MatrixAPI
This is for easier work with the interface.
2016-01-21 07:59:13 +01:00
Gergely Polonkai 7ed72bffc1 Implement media_download 2016-01-15 13:13:38 +01:00
Gergely Polonkai 97a169959c Accept non-json content 2016-01-15 13:09:39 +01:00
Gergely Polonkai 441287a880 Implement get_user_presence 2016-01-15 12:56:20 +01:00
Gergely Polonkai 0b003dd612 Implement get_presence_list 2016-01-15 10:37:10 +01:00
Gergely Polonkai a037cb7aad Error fixes 2016-01-15 10:36:47 +01:00
Gergely Polonkai ea7d9aaec4 Implement join_room 2016-01-13 17:21:55 +01:00
Gergely Polonkai c4cb8bd204 Implement list_public_rooms 2016-01-13 17:21:55 +01:00
Gergely Polonkai 28b1662ad4 Fix: stop test-client from crashing if no homeserver is given 2016-01-13 08:21:00 +01:00
Gergely Polonkai 92944fe8ff Rework option parsing in test-client 2016-01-12 22:14:31 +01:00
Gergely Polonkai 579c5f071e Fix warnings in test-client.c 2016-01-12 21:14:20 +01:00
Gergely Polonkai 769f91cec6 Make use of MatrixHTTPAPI:validate-certificate
It is also included in the test client as acommand line option.
2016-01-12 18:07:24 +00:00
Gergely Polonkai 2a96aaa6af Implement event_stream 2016-01-12 17:11:21 +01:00
Gergely Polonkai c6f7c7dd56 Implement initial_sync 2016-01-12 17:11:15 +01:00
Gergely Polonkai 37b1742462 Add create-room call to test client 2016-01-12 14:10:25 +01:00
Gergely Polonkai 9e2d486b19 Start reimplementing HTTP API with the new interface 2016-01-11 17:40:54 +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 ded4fc04bd Add create room to test client 2016-01-05 16:25:20 +01:00
Gergely Polonkai 1834d8ada9 Make HTTP API to send the access token automatically 2016-01-05 16:20:19 +01:00
Gergely Polonkai 2dbc3ea316 Add response error handling to the HTTP API 2016-01-05 16:15:28 +01:00
Gergely Polonkai e15df6ea2e Add a GError parameter to MatrixAPICallback 2015-12-15 11:09:51 +01:00
Gergely Polonkai ad3a5dfd32 Remove unnecessary debug message 2015-12-15 10:16:14 +01:00
Gergely Polonkai 10b6296565 Create a test client 2015-12-15 10:08:12 +01:00