Commit Graph

  • 765487dd9f Fix comment style. Denis Kasak 2020-06-15 17:05:10 +02:00
  • 03e53e991b Hoist prev_content to top-level in both timeline and state events. Denis Kasak 2020-06-15 17:04:10 +02:00
  • c3373f796b Merge branch 'export-base-error' Damir Jelić 2020-06-15 09:47:51 +02:00
  • 311e41ee0d matrix-sdk: Fix the author field in the cargo files. Damir Jelić 2020-06-15 09:47:13 +02:00
  • f8b5fceeb1 matrix-sdk: Export matrix-sdk-base Error type as BaseError Devin R 2020-06-14 20:00:41 -04:00
  • 97b1bb6004 Must not take our user into account when calculating room name. Denis Kasak 2020-06-10 22:45:08 +02:00
  • 331cb02266 Split joined/invited users and handle removing users. Denis Kasak 2020-06-10 18:12:27 +02:00
  • 7751605e37 Nix RoomMember::update_member and tracking membership. Denis Kasak 2020-06-10 16:36:51 +02:00
  • a0eaa9c364 Implement RoomMember::unique_name. Denis Kasak 2020-06-10 14:44:41 +02:00
  • 241d456a81 Add RoomMember::name. Denis Kasak 2020-06-10 14:39:12 +02:00
  • 3e5b6bb460 Style fixes. Denis Kasak 2020-06-10 12:04:58 +02:00
  • 5868c72662 Small refactor so we don't duplicate user_id creation. Denis Kasak 2020-06-10 12:01:01 +02:00
  • 4c184a30a2 Add doc comment to RoomName::calculate_name. Denis Kasak 2020-06-10 00:28:56 +02:00
  • e4977d1d2a Refactor member_display_name. Denis Kasak 2020-06-09 23:02:01 +02:00
  • ac069152b9 Retrieve user id from RoomMember instead of reconstructing. Denis Kasak 2020-06-09 22:19:51 +02:00
  • 82827542b7 fixup: explicit type annotations Denis Kasak 2020-06-09 19:31:01 +02:00
  • 20a8e8e49b Fix comment styling. Denis Kasak 2020-06-09 19:24:00 +02:00
  • 098cc1f9f8 Add explicit type annotation. Denis Kasak 2020-06-09 19:08:14 +02:00
  • a3c46c6144 Run cargo fmt. Denis Kasak 2020-06-09 16:41:26 +02:00
  • f35fbdf8b0 Merge branch 'register' Damir Jelić 2020-06-09 16:30:01 +02:00
  • 442464add6 matrix-sdk: Implement sending of Http DELETE requests. Damir Jelić 2020-06-09 16:29:17 +02:00
  • abe40dff11 matrix_sdk: Remove code duplication in our send methods. Damir Jelić 2020-06-09 16:28:24 +02:00
  • b93eb0e318 Make Room::member_display_name return MXID as fallback. Denis Kasak 2020-06-09 16:11:41 +02:00
  • e6b67e5fa7 Add short explanation to Room::member_display_name. Denis Kasak 2020-06-09 15:35:43 +02:00
  • 22ba253103 Use "disambiguated" instead of "resolved" display name in the doc comment. Denis Kasak 2020-06-09 15:29:37 +02:00
  • a9fd63fd4b Fix display name disambiguation so it passes the test. Denis Kasak 2020-06-09 15:17:38 +02:00
  • 60a43439e5 Properly test for display name disambiguation. Denis Kasak 2020-06-09 15:17:21 +02:00
  • b6d7939685 matrix-sdk: Vary sync token with each EventBuilder::build_sync_response call. Denis Kasak 2020-06-09 15:10:41 +02:00
  • 4df0a839aa Fix Markdown in doc comment. Denis Kasak 2020-06-09 11:34:16 +02:00
  • e3cb3566bf Rename display_names -> disambiguated_display_names. Denis Kasak 2020-06-09 11:10:09 +02:00
  • 9f34615869 Add first test for display names Valentin Brandl 2020-05-14 17:09:30 +02:00
  • 05503b28b7 Only add name duplicates to the display name map Valentin Brandl 2020-05-14 17:09:18 +02:00
  • 49e913865d Fix failing test Valentin Brandl 2020-05-14 15:05:06 +02:00
  • 4675a72e6b Rename accessor for display name Valentin Brandl 2020-05-14 14:53:11 +02:00
  • d5f66631c1 Implement display name resolving Valentin Brandl 2020-05-13 16:18:07 +02:00
  • 81baca2f92 base_client: emit typing events and test using EventEmitter Devin R 2020-06-06 17:00:29 -04:00
  • 6e5870bd2b crypto: Simplify the max keys calculation for one-time key uploads. Damir Jelić 2020-06-04 17:36:33 +02:00
  • 6df1f12b45 async_client: add docs/test for register_user, send_uiaa and RegistrationBuilder Devin R 2020-06-02 14:57:56 -04:00
  • 5abac19b72 request_builder/async_client: add register endpoint and RegistrationBuilder for making the request Devin R 2020-06-02 07:55:24 -04:00
  • 62e959a94d Merge branch 'expose-send' Damir Jelić 2020-06-02 11:20:47 +02:00
  • 54871f2af9 matrix-sdk: Make the example for the send method comiple. Damir Jelić 2020-06-02 11:15:04 +02:00
  • 6a323525b5 Add example to the Client::send() doccomment Marcel 2020-05-28 16:59:30 +02:00
  • 1d00f79675 Run cargo fmt for the get_profiles example Marcel 2020-05-28 16:47:04 +02:00
  • 7201749280 Add small example on how to use Client::send Marcel 2020-05-28 16:32:28 +02:00
  • 5175cd8ddb crypto: Remove some unnecessary mem::replace calls. Damir Jelić 2020-06-02 10:36:51 +02:00
  • 21b33f4e61 Merge branch 'doc-fix' Damir Jelić 2020-06-02 10:31:09 +02:00
  • 9f34b371be Merge branch 'unify-ee-methods' Damir Jelić 2020-06-02 10:30:20 +02:00
  • 587614cdd7 Merge branch 'unrecognized' Damir Jelić 2020-06-02 10:28:57 +02:00
  • db38bf1276 event_emitter: use enum to represent custom events and raw json Devin R 2020-06-01 17:02:12 -04:00
  • 761071dac5 base_client: fix doc grammer and consistency, group request methods together Devin R 2020-06-01 07:50:45 -04:00
  • 8f017e7b27 event-emitter: rename on_account_data_* -> on_non_room_* Devin R 2020-06-01 07:13:57 -04:00
  • b1864887aa matrix-sdk: enable messages feature by default Devin R 2020-06-01 06:45:38 -04:00
  • 9cb86596d8 add support for custom events and unrecognized by ruma events, test new code Devin R 2020-05-29 17:36:58 -04:00
  • 8ee6c3bdc8 matrix-sdk: Don't require Send for the sync callback. Damir Jelić 2020-05-29 09:29:53 +02:00
  • 16f4021800 common: Depend on the git version of futures-locks again. Damir Jelić 2020-05-26 22:21:03 +02:00
  • fd3dc50ebe test: Add a copy of the test data to the test crate. 0.1.0 Damir Jelić 2020-05-26 21:30:15 +02:00
  • 5ff7658f30 matrix-sdk-test: Specify a version for the test macros. Damir Jelić 2020-05-26 19:59:40 +02:00
  • efc80449c4 matrix-sdk-common: Depend on a version of futures-locks. Damir Jelić 2020-05-26 19:33:36 +02:00
  • 5637cdd133 matrix-sdk: Add a bunch of readmes to the crates. Damir Jelić 2020-05-26 19:33:13 +02:00
  • 6c3863f096 base: Don't unwrap when creating the olm machine. Damir Jelić 2020-05-25 14:58:06 +02:00
  • 3b5c9d3c75 Merge branch 'prev-content' Damir Jelić 2020-05-25 14:31:19 +02:00
  • f3e04b5a74 Merge branch 'read-marker' Damir Jelić 2020-05-25 14:23:58 +02:00
  • 8869da0a38 Merge branch 'msg-tests' Damir Jelić 2020-05-25 14:22:15 +02:00
  • ba66ee214f matrix-sdk: Move most of the configuration to the base client. Damir Jelić 2020-05-25 14:21:04 +02:00
  • 621b1b08e4 async_client: read_marker/receipt doc fixes Devin R 2020-05-25 07:46:50 -04:00
  • b24b4b7423 messages: enable this feature by default Devin R 2020-05-25 07:37:49 -04:00
  • 7edb42b75c matrix-sdk: Use futures-timer's wasm-bindgen feature stoically 2020-05-24 16:05:02 +02:00
  • 1ba2f584cb add the messages feature to dev-deps so the tests are run Devin R 2020-05-23 08:14:29 -04:00
  • a6303d041b async_client: add test for read_marker endpoint Devin R 2020-05-23 06:38:55 -04:00
  • ac4698f0d6 base_client: only swap prev_content if outer is None Devin R 2020-05-22 21:29:51 -04:00
  • f31357c4e1 async_client: read_marker endpoint, fix read_receipt docs Devin R 2020-05-22 18:05:12 -04:00
  • 86a01a0ca6 Merge branch 'master' into prev-content Devin R 2020-05-22 17:17:27 -04:00
  • 2f6bebdd1a base_client: replace event if prev_content deserialized from unsigned Devin R 2020-05-22 17:12:58 -04:00
  • b8a9e05ebb examples: Fix the wasm bot example. Damir Jelić 2020-05-22 16:19:30 +02:00
  • ea5f7f1d19 matrix-sdk: Don't require the the session at client creation time. Damir Jelić 2020-05-22 15:23:58 +02:00
  • cffa2990b6 Merge branch 'swap-roomstate' Damir Jelić 2020-05-22 10:09:47 +02:00
  • 6e83f7ffa1 base: Rename the method to remove room state. Damir Jelić 2020-05-22 09:54:42 +02:00
  • 5c7ea17eef state_store: only remove room state file don't bother moving the file Devin R 2020-05-21 18:38:25 -04:00
  • 20de6f6aea base_client: prev_content deserialization TODO for if/when to mutate the event Devin R 2020-05-21 10:27:29 -04:00
  • eedf4e72d1 base_client: if unsigned field contains prev_content pull out and add to MemberEvent Devin R 2020-05-21 10:16:04 -04:00
  • 6ecf46abf7 crypto: Mark tracked users as changed if a sync tells us so. Damir Jelić 2020-05-21 14:30:42 +02:00
  • 53876ea6e8 Make Client::send a public method, add a short doccomment Emi Simpson 2020-05-20 14:24:35 -04:00
  • 8489be590a state_store: clippy TODO question Devin R 2020-05-18 16:37:28 -04:00
  • 0f6caec93d state_store: move room file when room state changes, test room_state_change method, doc edits Devin R 2020-05-18 16:26:27 -04:00
  • 1d9fccdc9f crypto: Move the users for key query map into the store. Damir Jelić 2020-05-15 15:33:30 +02:00
  • e51e89d9d5 matrix-sdk: Re-enable joins by id or alias. Damir Jelić 2020-05-15 12:32:36 +02:00
  • 458923d313 crypto: Add a method to mark a tracked user as dirt/changed. Damir Jelić 2020-05-14 17:26:51 +02:00
  • b2e48d8eae sqlite: Store the tracked users in the database. Damir Jelić 2020-05-14 17:25:46 +02:00
  • 8c6c34e01a matrix-sdk: Don't require coverage for some debug implementations. Damir Jelić 2020-05-14 15:26:22 +02:00
  • 77973f15ba base: Disable a test that requires SystemTime under wasm. Damir Jelić 2020-05-14 15:12:14 +02:00
  • 4972104f72 base: Make an unreadable numeric literal readable. Damir Jelić 2020-05-14 14:52:32 +02:00
  • e3c16a3aa0 base: Don't use random event ids, they don't work under wasm. Damir Jelić 2020-05-14 14:50:20 +02:00
  • 269a01e480 matrix-sdk: Remove some unused imports. Damir Jelić 2020-05-14 14:39:39 +02:00
  • b1de56478d matrix-sdk: Disable for now joins by roomid or alias. Damir Jelić 2020-05-14 14:30:29 +02:00
  • 9884c0bb7a base: The session sharing test only works if encryption is enabled. Damir Jelić 2020-05-14 14:01:16 +02:00
  • 96cf90e47c base: Store the whole encryption info for the room. Damir Jelić 2020-05-14 13:58:09 +02:00
  • c0ff782ea3 base: Remove an aditional looping through the joined state events. Damir Jelić 2020-05-14 13:00:47 +02:00
  • c9d38cdedb base: Expire group sessions if the member list changes. Damir Jelić 2020-05-14 12:59:36 +02:00
  • ecbd801c70 crypto: Invalidate group sessions if they fail to be shared. Damir Jelić 2020-05-14 11:55:12 +02:00
  • 77a8f1b1bc base: Test the invited room creation. Damir Jelić 2020-05-14 10:57:21 +02:00