Jonas Platte
770a67678c
Move RemoteEventTimelineItem into its own module
2023-03-01 16:45:43 +01:00
Jonas Platte
1452a2124f
Move LocalEventTimelineItem into its own module
2023-03-01 16:45:43 +01:00
Jonas Platte
daa3b80870
Re-export and document LocalEventTimelineItem, RemoteEventTimelineItem
2023-03-01 16:45:43 +01:00
Ivan Enderlin
ccd9ad7b49
chore(bindings): Simplify the code.
...
Rust is a beautiful language. Let's use all the great constructions it gives to
us to write pretty code.
2023-03-01 16:42:47 +01:00
Ivan Enderlin
4212980f32
chore(bindings): Remove a From<JoinHandle> for TaskHandle impl.
...
This implementation is never used.
2023-03-01 16:42:09 +01:00
Ivan Enderlin
9b1c5079e6
chore: cargo fmt.
2023-03-01 15:58:22 +01:00
Ivan Enderlin
a341caa773
chore(sdk): Continue the move from view to list in Sliding Sync.
2023-03-01 15:46:40 +01:00
Ivan Enderlin
b4bf544676
test: Continue the move from view to list in Sliding Sync.
2023-03-01 15:43:59 +01:00
Ivan Enderlin
bfb55d782f
chore(sdk): Clean up rooms_ops.
2023-03-01 15:38:15 +01:00
Ivan Enderlin
3bad2a84ad
chore(sdk): Remove SlidingSyncListRequestGenerator::live_request.
2023-03-01 15:17:53 +01:00
Ivan Enderlin
866c91ffbc
chore(sdk): Simplify code of Sliding Sync request generator.
2023-03-01 15:17:31 +01:00
Ivan Enderlin
c03ba55f24
chore(sdk): Rename InnerSlidingSyncListRequestGenerator to GeneratorKind.
2023-03-01 15:04:37 +01:00
Ivan Enderlin
1f5c4feafc
chore(sdk): Extract Sliding Sync request generators into their own module.
2023-03-01 15:01:02 +01:00
Ivan Enderlin
6d2055449d
chore(bindings): Continue to rename view to list in Sliding Sync.
2023-03-01 14:51:34 +01:00
Ivan Enderlin
f5cc6feccd
chore(sdk): Split the list.rs module into list/mod.rs and list/builder.rs.
2023-03-01 14:43:58 +01:00
Ivan Enderlin
c5d5deba8e
chore: Continue the renaming from view to list for Sliding Sync.
2023-03-01 14:39:09 +01:00
Ivan Enderlin
d829fd3376
chore(bindings): Continue the renaming from view to list for Sliding Sync.
2023-03-01 14:38:43 +01:00
Ivan Enderlin
50a248c18b
chore(sdk): Continue the renaming from view to list for Sliding Sync.
2023-03-01 14:38:26 +01:00
Ivan Enderlin
c366eadf33
chore(sdk): Rename variables, clean up code, improve documentation…
2023-03-01 14:35:46 +01:00
Jonas Platte
318ede131d
refactor(indexeddb): Use IndexeddbStateStoreError in StateStore impl
2023-03-01 14:30:13 +01:00
Jonas Platte
146db59370
refactor(base): Add an Error type to StateStore trait
2023-03-01 14:30:13 +01:00
Ivan Enderlin
97dd68e7fc
fix(sdk): Deal with missing data in Sliding Sync's responses
...
fix(sdk): Deal with missing data in Sliding Sync's responses
2023-03-01 14:24:24 +01:00
Ivan Enderlin
4e4c745032
chore(sdk): Update all mentions to view as list in SlidingSyncList.
2023-03-01 14:20:44 +01:00
Ivan Enderlin
f03767318f
chore(sdk): Update all mentions to view as list in SlidingSync and SlidingSyncBuilder.
2023-03-01 14:18:40 +01:00
Ivan Enderlin
cf83112bf0
chore(sdk): Move FrozenSlidingSyncList lower in the file.
2023-03-01 13:58:55 +01:00
Ivan Enderlin
575eea4701
fix(sdk): Deal with missing data in Sliding Sync's responses.
...
The Sliding Sync server might not send some parts of the response, because they
were sent before and the server wants to save bandwidth. So let's update values
only when they exist.
2023-03-01 12:19:30 +01:00
Ivan Enderlin
5377bb7ecf
fix(sdk): Rename SlidingSyncView to SlidingSyncList.
...
The specification describes “list”, not “view”. Consistency is important, so
let's rename this type!
2023-03-01 12:09:34 +01:00
Ivan Enderlin
629b74e4f5
chore(sdk): Rename the sliding_sync::view module to …::list.
2023-03-01 11:56:01 +01:00
Ivan Enderlin
9475bb4d53
chore(indexeddb): Update version of uuid
...
chore(indexeddb): Update version of `uuid`
2023-03-01 09:09:15 +01:00
Ivan Enderlin
452588a18e
chore(indexeddb): Update version of uuid.
2023-03-01 08:26:28 +01:00
Stefan Ceriu
ff5dedbb07
fix(sliding_sync): Prevent PagingFullSync and GrowingFullSync from going over the total room count
2023-02-28 18:32:11 +01:00
valere
6539dc3060
quick typo
2023-02-28 17:53:54 +01:00
valere
7b8608e4c5
refactor(withheld) better type for no_olm
2023-02-28 17:38:37 +01:00
Stefan Ceriu
5c3972938e
chore: Add platform versions for swift CI tests
2023-02-28 15:06:23 +01:00
Jonas Platte
b936d3e32d
chore: Remove workaround for clippy bug that was fixed
2023-02-28 12:36:08 +01:00
Kévin Commaille
da8d74ccc1
feat(sdk): Keep track of events read receipts in the timeline API
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-02-28 09:44:35 +01:00
Kévin Commaille
6aad2a661d
refactor(sdk): Rename ProfileProvider to RoomDataProvider
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-02-28 09:44:35 +01:00
Kévin Commaille
3139204f4b
fix(examples): Don't use the sled store if the session is not persisted
...
Running the same example twice
borks encryption.
Instead point to an example that shows how to do it.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-02-28 09:20:53 +01:00
Kévin Commaille
1684dbe0a1
feat(examples): Add example to persist a session
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-02-28 09:20:53 +01:00
Doug
9531dc195a
fix(bindings): Fix double quotes when replying to a reply.
2023-02-27 18:23:49 +01:00
Sam Wedgwood
abab6dcf0f
docs(crypto): Fix typo
...
Signed-off-by: Sam Wedgwood <sam@wedgwood.dev >
2023-02-27 15:39:01 +00:00
Ivan Enderlin
d699161981
chore(sdk): Code reorganization of the sliding_sync module + doc improvement
...
chore(sdk): Code reorganization of the `sliding_sync` module + doc improvement
2023-02-27 15:27:08 +01:00
Ivan Enderlin
927c44bec3
doc(sdk): Fix doctests + remove mentions to futures-signals.
2023-02-27 15:08:13 +01:00
Ivan Enderlin
96248248ca
chore(sdk): Move UpdateSummary at the bottom of the module.
2023-02-27 13:56:04 +01:00
Ivan Enderlin
b7b86fa95b
fix(sdk): Few fixes and cleans up of SlidingSync itself
...
fix+chore(sdk): Few fixes and cleans up of `SlidingSync` itself
2023-02-27 13:50:48 +01:00
Ivan Enderlin
4f7186a840
chore(sdk): Simplify the implementation of RoomListEntry.
2023-02-27 13:49:34 +01:00
Ivan Enderlin
9b062fa782
chore(sdk): Move RoomListEntry into the sliding_sync::view module.
2023-02-27 13:43:40 +01:00
Ivan Enderlin
4d8c3172a4
chore(sdk): Extract Error into its own module.
2023-02-27 13:42:01 +01:00
Ivan Enderlin
b1c9ea9aa3
chore(sdk): Move SlidingSyncMode into the sliding_sync::view module.
2023-02-27 13:38:54 +01:00
Ivan Enderlin
49eee14665
chore(sdk): Move SlidingSyncState into the sliding_sync::view module.
2023-02-27 13:38:09 +01:00