717dc1184b
Add a integration test that checks if backups get automatically created
Damir Jelić
2024-02-07 16:53:31 +01:00
99e0593f90
Catch the error if we fail to automatically enable backups
Damir Jelić
2024-02-07 16:51:10 +01:00
f6f6cfd844
Indexeddb: Avoid long and suspendable calls for encryption/serialization during the indexeddb transaction (#2966)
Valere
2024-02-08 09:22:28 +01:00
d905dcc476
doc(sdk): Fix a typo
Ivan Enderlin
2024-02-08 09:00:41 +01:00
790fe5f6db
doc(sdk): Fix a typo.
Ivan Enderlin
2024-02-08 08:36:00 +01:00
f2652ee9f2
Merge pull request #3066 from matrix-org/doug/room-power-levels
Ivan Enderlin
2024-02-07 16:03:10 +01:00
de9adc8d3d
indexeddb: Use utility functions to create indices
Andy Balaam
2024-02-05 15:16:04 +00:00
51704fa093
indexeddb: Move add_nonunique_index method up to the main module
Andy Balaam
2024-02-05 15:12:06 +00:00
0e91c085f9
indexeddb: Clear the inbound_group_sessions2 store during migration
Andy Balaam
2024-02-05 15:00:02 +00:00
49630fdd9f
indexeddb: Comments explaining the migration methods and modules
Andy Balaam
2024-02-05 14:57:28 +00:00
a1f1992d7e
indexeddb: Extract db_version function
Andy Balaam
2024-02-05 14:42:07 +00:00
d64a5e4dcc
indexeddb: Move v0 to c5 migration into own module
Andy Balaam
2024-02-05 14:40:05 +00:00
f0c97d94b2
indexeddb: Re-use do_schema_upgrade for v0 to v5
Andy Balaam
2024-02-05 14:30:00 +00:00
5d0c6a608a
indexeddb: Simplify v5 to v7 migration code
Andy Balaam
2024-02-05 14:22:18 +00:00
3dbfdcddf4
indexeddb: Move v7 to v8 migration into separate module
Andy Balaam
2024-02-05 14:15:53 +00:00
e9b11408bb
indexeddb: Move InboundGroupSessionIndexedDbObject2 into v7 module
Andy Balaam
2024-02-05 13:51:14 +00:00
d26b8cca1c
indexeddb: Move v5 to v7 code into a separate module
Andy Balaam
2024-02-05 13:43:58 +00:00
6c5400896a
indexeddb: prepare_data_for_v7 creates its own DB
Andy Balaam
2024-02-05 12:13:57 +00:00
8b7ebece49
indexeddb: Use do_schema_upgrade for v8
Andy Balaam
2024-02-02 17:11:11 +00:00
4def306eb8
indexeddb: use do_schema_upgrade for v6 migration
Andy Balaam
2024-02-02 15:50:39 +00:00
3d4db7e220
indexeddb: Move do_schema_upgrade into migrations to be re-used
Andy Balaam
2024-02-02 15:42:18 +00:00
6fe98c3f43
indexeddb: Split v6 migration out because it is part of v5_to_v7
Andy Balaam
2024-02-02 15:35:34 +00:00
375c6c33c6
indexeddb: Move old_keys into its own file
Andy Balaam
2024-02-02 15:05:40 +00:00
edf23dbd2e
indexeddb: move v8_to_v10 migration into its own file
Andy Balaam
2024-02-02 15:01:03 +00:00
8d87e32f8b
indexeddb: Create a migrations directory
Andy Balaam
2024-02-02 14:57:03 +00:00
2f6d0450a7
xtask: Simplify the code used to build targets for Swift.
Doug
2024-02-05 15:50:46 +00:00
e07ed14d20
xtask: Add supported swift targets and iterate through them when building.
Doug
2024-02-05 15:15:16 +00:00
ae97772909
feat(sdk,ui): Remove SlidingSyncRoom::latest_event
Ivan Enderlin
2024-02-05 12:57:07 +01:00
8975e6ab5d
Merge pull request #3076 from matrix-org/stefan/mark_unread
Ivan Enderlin
2024-02-05 12:40:52 +01:00
32aa784c5f
Merge pull request #3094 from matrix-org/andybalaam/fix-incorrect-url
Andy Balaam
2024-02-05 11:30:51 +00:00
56e155300c
doc: Fix an incorrect URL about Indexed DB
Andy Balaam
2024-02-05 11:06:58 +00:00
df61037ac5
fix(base,sdk): Fix imports.
Ivan Enderlin
2024-02-05 11:29:53 +01:00
471b470c01
Change where unstable-msc2867 is enabled, try to fix CI tests
Stefan Ceriu
2024-02-01 09:58:53 +02:00
56d9f9d9a8
Add support for MSC2867 - Manually marking rooms as unread - also fixes how room account data is processed and adds tests for both when rooms and extensions are present or just extensions
Stefan Ceriu
2024-01-19 12:47:00 +02:00
6e685e2e09
Merge pull request #3062 from zecakeh/ambiguity-changes
Ivan Enderlin
2024-02-05 11:53:10 +01:00
ad5c1202b5
feat(sdk,ui): Remove SlidingSyncRoom::latest_event.
Ivan Enderlin
2024-02-05 11:09:14 +01:00
87a07d9ee3
feat(sdk): Remove SlidingSyncRoomInner::inner
Ivan Enderlin
2024-02-05 09:27:44 +01:00
b9ef5d6270
Merge pull request #3090 from matrix-org/andybalaam/indexeddb-clear-store-before-delete
Andy Balaam
2024-02-02 14:50:01 +00:00
fa26499a39
Showcase how to use an event handler context in the custom events example
Damir Jelić
2024-02-02 14:33:19 +01:00
916e85f79e
indexeddb: Clear the object store before deleting it
Andy Balaam
2024-02-02 14:03:10 +00:00
f2b61eb5e2
chore: Remove ununsed imports.
Ivan Enderlin
2024-02-02 08:42:06 +01:00
40e006658c
ffi: add missing variants to ffi::event::MessageLikeEventType and use it in the timeline filter types
Benjamin Bouvier
2024-02-01 13:37:23 +01:00
ac2fce8220
ffi: move two event type enums over to matrix-sdk-ffi/event.rs
Benjamin Bouvier
2024-02-01 13:32:37 +01:00
296d613138
ffi: sort event type enums in alphabetical order
Benjamin Bouvier
2024-02-01 13:31:44 +01:00
43bed281b1
feat: Replace SlidingSyncRoom::inner by SlidingSyncRoom::prev_batch.
Ivan Enderlin
2024-02-01 17:07:33 +01:00
b951d0d785
feat(sdk,base,ui,ffi): Continue to remove dead code in SlidingSyncRoom
Ivan Enderlin
2024-02-01 17:20:36 +01:00
a802b733f8
feat(sdk): Remove the SlidingSyncRoom::name method.
Ivan Enderlin
2024-02-01 15:26:25 +01:00
6acd68cf00
feat(sdk): Remove the SlidingSyncRoom::is_dm method.
Ivan Enderlin
2024-02-01 15:20:56 +01:00
75365a7774
feat(sdk): Remove the SlidingSyncRoom::is_initial_response method.
Ivan Enderlin
2024-02-01 15:13:03 +01:00
61a5f1b3cf
feat(sdk): Remove the SlidingSyncRoom::required_state method
Ivan Enderlin
2024-02-01 14:47:48 +01:00
44e438b21b
feat(sdk): Remove the SlidingSyncRoom::required_state method.
Ivan Enderlin
2024-02-01 12:30:03 +01:00
7b49283394
feat(sdk,ui,ffi): Remove SlidingSyncRoom::has_unread_notifications and ::unread_notifications
Ivan Enderlin
2024-02-01 14:07:22 +01:00
e0384494b6
sdk: use a Mutex instead of a RwLock for the sync lock
Benjamin Bouvier
2024-02-01 13:29:34 +01:00
cc236e39d5
typing : filter the current user id
ganfra
2024-02-01 12:54:10 +01:00
c4d5657162
chore: Remove unused imports.
Ivan Enderlin
2024-02-01 12:26:44 +01:00
59f9f43f15
Merge branch 'main' into fga/room_typing_notifications
ganfra
2024-02-01 12:18:26 +01:00
261eb99614
feat(ffi): Remove room_list::Room::has_unread_notifications and ::unread_notifications.
Ivan Enderlin
2024-02-01 11:57:11 +01:00
5ae638047e
feat(ui): Remove room_list::Room::has_unread_notifications and ::unread_notifications.
Ivan Enderlin
2024-02-01 11:54:48 +01:00