Commit Graph

  • fff3abf985 bae: More room creation tests. Damir Jelić 2020-05-13 16:25:42 +02:00
  • f803c5be6d Merge branch 'fail-fast-travis' Damir Jelić 2020-05-13 15:58:32 +02:00
  • e32af74be5 base: Add some initial test for room creation. Damir Jelić 2020-05-13 15:57:09 +02:00
  • 0d12a5571f matrix-sdk: VERSION isn't used for the wasm target stoically 2020-05-13 15:02:28 +02:00
  • c5a0803068 travis: fail-fast for wasm target stoically 2020-05-13 14:48:36 +02:00
  • 51f0a487ce base: Remove the stale rooms from the hashmaps. Damir Jelić 2020-05-13 13:23:16 +02:00
  • dc56063c67 base: Move the user tracking logic to the correct place. Damir Jelić 2020-05-13 13:10:21 +02:00
  • 5b1188a38b matrix-sdk: Add more strict lints. Damir Jelić 2020-05-13 12:47:24 +02:00
  • a8f94e2329 base: Add some missing debug implementations and add more strict lints. Damir Jelić 2020-05-13 12:34:46 +02:00
  • 8a401d23e2 base: Always store the new sync token, even if nothing changed in the rooms. Damir Jelić 2020-05-13 12:27:16 +02:00
  • 993dc8264a base: Return early if we get a duplicate sync response. Damir Jelić 2020-05-13 12:26:07 +02:00
  • 676633eec1 base: Rename the state store file since it's a specific implementation of it. Damir Jelić 2020-05-13 10:58:30 +02:00
  • e9b48b73d4 base: Move the AllRooms out of the state_store file. Damir Jelić 2020-05-13 10:50:58 +02:00
  • f1d12ff1f3 matrix-sdk: Remove all mentions of the AsyncClient. Damir Jelić 2020-05-13 10:06:08 +02:00
  • 66620ab99a base: Use the locks from our common crate. Damir Jelić 2020-05-13 10:03:41 +02:00
  • 9b38033cec Merge branch 'store-room' Damir Jelić 2020-05-13 09:23:01 +02:00
  • b35bea00f7 bump ruma-events@0.21.0 to 0.21.1 fixes MessageEvent (de)ser bug Devin R 2020-05-12 18:12:58 -04:00
  • 21bf631f47 Merge branch 'master' into store-room Devin R 2020-05-12 18:08:51 -04:00
  • 1241fd718e base: Only disable sleep in WASM but still continue stoically 2020-05-12 15:56:27 +02:00
  • aa42951f15 matrix-sdk: Switch to upstream crates stoically 2020-05-12 15:47:37 +02:00
  • 890dbdaa39 examples: Rename to wasm_command_bot and add note about encryption stoically 2020-05-12 15:42:50 +02:00
  • e84a3e417c matrix-sdk: Add missing newlines at the end of some files. Damir Jelić 2020-05-12 14:55:44 +02:00
  • 0bb1be94e2 examples: Modify the wasm example to be similar to the command bot. Damir Jelić 2020-05-12 14:30:33 +02:00
  • 2a411bf5df matrix-sdk: Use the instant crate so Instant works on wasm as well. Damir Jelić 2020-05-12 14:28:01 +02:00
  • 19b8a1686d client: Disable the sleeps on the wasm target for now. Damir Jelić 2020-05-12 14:23:57 +02:00
  • ef6104bc53 matrix-sdk: Support compiling to wasm32-unknown-unknown stoically 2020-05-08 16:12:21 +02:00
  • 2c45513b97 remove tarpaulin skip attr Devin R 2020-05-11 17:38:18 -04:00
  • 21712d0930 state_store: load/store each room type (invite, join, left), add type for returning 3 room maps Devin R 2020-05-11 15:32:58 -04:00
  • 22c4a1f2e7 Merge branch 'master' of https://github.com/matrix-org/matrix-rust-sdk into store-room Devin R 2020-05-11 14:17:31 -04:00
  • 0d0d8fca2d client: add store_room_state method Devin R 2020-05-09 07:33:57 -04:00
  • b6c0d4e3bb base: Rename the Client to BaseClient. Damir Jelić 2020-05-11 10:43:21 +02:00
  • 9d09d19101 matrix-sdk: Rename the AsyncClient to just Client. Damir Jelić 2020-05-08 14:02:49 +02:00
  • 4e0bef064f matrix-sdk: More cleanup in the deps. Damir Jelić 2020-05-08 13:54:46 +02:00
  • 8a7aefac3b matrix-sdk: Split out the error types in our base and matrix-sdk crates. Damir Jelić 2020-05-08 12:39:36 +02:00
  • 9461f08906 base: Rename the base client file. Damir Jelić 2020-05-08 11:49:25 +02:00
  • db26ae9027 matrix-sdk: Rename the async client file. Damir Jelić 2020-05-08 11:40:33 +02:00
  • 720e45509a matrix-sdk: Move all the async client tests into the async client file. Damir Jelić 2020-05-08 11:27:33 +02:00
  • ef6458c9cd matrix-sdk: Fix the feature flags for real this time. Damir Jelić 2020-05-08 11:07:08 +02:00
  • f5ec1f93ed matrix-sdk: Remove some unused deps now that we have stuff split out. Damir Jelić 2020-05-08 10:18:29 +02:00
  • e57ae2c4ef matrix-sdk: Fix the feature flags. Damir Jelić 2020-05-08 10:13:47 +02:00
  • 1e8ab74058 matrix-sdk: Use the EventBuilder in the async client tests. Damir Jelić 2020-05-08 09:57:42 +02:00
  • 207fac2b49 matrix-sdk: Move the EventBuilder into a separate crate so it can be reused. Damir Jelić 2020-05-08 09:49:55 +02:00
  • d32172f74e base_client: todo about room hashmaps Devin R 2020-05-07 15:24:55 -04:00
  • 4f96ac96e2 async_client: add tests for all current endpoints, event emitter typeing/receipt events, set unread notifications Devin R 2020-05-07 15:21:06 -04:00
  • 14580bc383 matrix_sdk: Fix most of the tests now that we have the big split. Damir Jelić 2020-05-07 16:22:18 +02:00
  • 30f8ccd2de matrix-sdk: Move the bulk of the sdk into a separate base crate. Damir Jelić 2020-05-07 14:57:38 +02:00
  • 06707bd95e Merge branch 'master' into invite-leave-sync Devin R 2020-05-07 07:18:13 -04:00
  • 35afd65705 base/async_client: remove deadcode, remove get room name methods from AsyncClient Devin R 2020-05-07 07:09:22 -04:00
  • a4f5a93880 base: Move some test that use the async client out of the base. Damir Jelić 2020-05-07 12:51:53 +02:00
  • 8a4cca3a85 Merge branch 'more-endpoints' Damir Jelić 2020-05-07 11:01:24 +02:00
  • b97e67c404 Merge branch 'messages' Damir Jelić 2020-05-07 10:17:14 +02:00
  • 6cbdbdcd2f matrix-sdk: Rename the types subproject to matrix-sdk-common. Damir Jelić 2020-05-07 08:51:59 +02:00
  • 9939efe0e8 message: feature flag message queue storage in Room struct Devin R 2020-05-06 21:17:21 -04:00
  • fa4a99504e room: receive AnyStrippedStateEvent and handle within Room struct Devin R 2020-05-06 20:46:06 -04:00
  • 7b2ffd1f25 Merge branch 'master' into invite-leave-sync Devin R 2020-05-06 20:35:15 -04:00
  • 8afac39611 async_client/event_emitter: use RoomState to differentiate joined, invited and left rooms when emitting Devin R 2020-05-06 19:45:27 -04:00
  • e9d6e28e13 matrix-sdk: Remove some unused deps. Damir Jelić 2020-05-06 17:06:24 +02:00
  • d8b9dc8519 base: Don't expose the client fields publicly. Damir Jelić 2020-05-06 15:55:18 +02:00
  • 1639f0fdd8 async_client: Remove the lock around the base client. Damir Jelić 2020-05-06 15:36:55 +02:00
  • 02013ac286 base: Move the state store behind a lock. Damir Jelić 2020-05-06 15:20:20 +02:00
  • 6e9e817597 crypto: Use next() instead of nth(0). Damir Jelić 2020-05-06 15:00:16 +02:00
  • 3d03f77dba base: Lock the event emitter option. Damir Jelić 2020-05-06 14:47:58 +02:00
  • 522a8435d0 async_client: add tests for enpoints, fix docs Devin R 2020-05-06 08:36:28 -04:00
  • 3a30d53437 base_client: Move the session behind a lock. Damir Jelić 2020-05-06 14:27:53 +02:00
  • 967544bab9 base_client: Make the base client a bit more threadsafe. Damir Jelić 2020-05-06 13:57:58 +02:00
  • c90eb6a938 message: resolve reviews, deserialization can fail, update for ruma removed PartialEq Devin R 2020-05-06 06:58:42 -04:00
  • f13189d154 Merge branch 'master' into messages Devin R 2020-05-06 06:53:42 -04:00
  • e0400bd4e6 event_emitter: romove events for another PR Devin R 2020-05-06 06:27:27 -04:00
  • 7c7aaee22e async_client/event_emitter: add tests for invited and left rooms Devin R 2020-05-06 06:23:34 -04:00
  • 39e59792d2 crypto: Remove the session key in room key events again. Damir Jelić 2020-05-06 12:15:15 +02:00
  • e0477fa053 types: Use the released version of ruma-client-api. Damir Jelić 2020-05-06 09:38:31 +02:00
  • 0e538a7c67 event_emitter/async_client: receive and emit events for invited and left rooms Devin R 2020-05-05 16:13:14 -04:00
  • 5ce62c9b6c async_client: rebase master onto more-endpoints, fix clippy warning Devin R 2020-05-05 13:21:02 -04:00
  • d8883a11c1 async_client: add endpoints for typing and read notice, ban user and forget room Devin R 2020-05-05 08:33:31 -04:00
  • 7b6e030823 matrix-sdk: Fix the last Ruma incompatibilities. Damir Jelić 2020-05-05 15:29:25 +02:00
  • bd2d6b0fac message: push message when queue isn't full, don't insert dup Devin R 2020-05-05 07:04:39 -04:00
  • bfa9c0fda9 Merge branch 'master' of https://github.com/matrix-org/matrix-rust-sdk into messages Devin R 2020-05-05 06:57:37 -04:00
  • a54fec7ac5 base: Fix another instance of missing PartialEq support. Damir Jelić 2020-05-04 14:22:10 +02:00
  • 940332d414 crypto: Disable the failing tests now that the crypto is non-functional. Damir Jelić 2020-05-04 14:21:48 +02:00
  • fed3c80466 crypto: Fix the tests now that events don't implement PartialEq. Damir Jelić 2020-05-04 14:15:55 +02:00
  • 86dc1ce3ca crypto: Disable the creation of encrypted event content for now. Damir Jelić 2020-05-04 14:12:42 +02:00
  • 704d8bc0ed crypto: The algorithm specific contents don't take an algorithm anymore. Damir Jelić 2020-05-04 14:11:06 +02:00
  • 60cc939fdd matrix-sdk: Update our deps and re-implement PartialEq for the ClientState. Damir Jelić 2020-05-04 14:06:34 +02:00
  • addb455d16 crypto: Add all the missing docs and deny missing docs from now on. Damir Jelić 2020-04-30 17:10:12 +02:00
  • 5dc0842f49 crypto: Implmement device deletion for the sqlite store. Damir Jelić 2020-04-30 14:33:41 +02:00
  • e109e01a28 crypto: More lint fixes. Damir Jelić 2020-04-30 14:29:58 +02:00
  • 3bcce962e3 matirx_sdk: Fix a bunch of clippy warnings. Damir Jelić 2020-04-30 14:07:49 +02:00
  • fc0d4a7d35 crypto: Rework our errors making them more specific. Damir Jelić 2020-04-30 13:16:10 +02:00
  • 2c4b6919ef message: only push message when timestamp is larger than last msg in queue Devin R 2020-04-30 06:57:25 -04:00
  • 9788233771 room/message: make docs more clear, deserialize to MessageEvent over RoomEvent Devin R 2020-04-30 06:28:36 -04:00
  • 5de32c025f crypto: Allow session to be saved in a batched way. Damir Jelić 2020-04-30 12:08:38 +02:00
  • d4b2fd0e1a Merge branch 'master' into messages Devin R 2020-04-30 06:02:31 -04:00
  • e33fd098bc crypto: Make the save device method of the store accept a slice of devices. Damir Jelić 2020-04-30 11:51:20 +02:00
  • 157dc86b61 matrix_sdk: Style fix for a docstring. Damir Jelić 2020-04-30 10:14:18 +02:00
  • 9386b500a8 message: keep MessageQueue sorted by origin_server_ts Devin R 2020-04-29 19:28:58 -04:00
  • 178c6c06f8 Merge branch 'state-reviews' into messages Devin R 2020-04-29 15:49:36 -04:00
  • 376381b1a7 state_store: remove device_id and user_id from ClientState Devin R 2020-04-29 15:42:20 -04:00
  • 955f6248cf async_client: fix clippy warning Devin R 2020-04-29 08:10:53 -04:00
  • 5b17e57c4e room/messages: add message de/ser to Room Devin R 2020-04-29 07:58:31 -04:00
  • ef560fd545 state_store: load_client takes a sessions obj, docs, copyright, move state store into base client Devin R 2020-04-29 07:00:14 -04:00