Commit Graph

2877 Commits

Author SHA1 Message Date
Krille-chan 26c1629e7e
Merge pull request #1650 from famedly/krille/fix-10-second-timeout-initial-sync
fix: Increase timeout for initial sync from 10 seconds to 2 minutes
2023-12-15 14:23:09 +01:00
Krille c443e79d29
fix: Increase timeout for initial sync from 10 seconds to 2 minutes
This fixes the response
timeout for the initial
sync and sets it to 2
minutes instead of 10
seconds. This should increase
the speed for the initial
sync especially for large
accounts. This change
also adds some
documentation in the
code about what
timeout does what.
2023-12-15 13:18:10 +01:00
Krille-chan f423c2f387
Merge pull request #1638 from famedly/krille/fix-can-send-default-messages
fix: canSendDefaultMessage ignores overwritten events
2023-12-15 12:26:18 +01:00
Krille fd1b4eed92
fix: canSendDefaultMessage ignores overwritten events
This refactors three methods
regarding powerlevels. It
makes them a little bit more
readable and removes
unnecessary checks. it
also changes the canSendDefaultMessage
method in a way that it also
checks the events map in the
powerlevels so that it returns
true if message events are
overwritten there. It also
improves the dart docs and
explains in more detail what it
does.
2023-12-15 12:05:05 +01:00
Nicolas Werner fcf37190e5
Merge pull request #1645 from famedly/karthi/cache-get-config
feat: cache getConfig request
2023-12-14 16:53:34 +01:00
Nicolas Werner e1b80a1f3f
Merge branch 'main' into karthi/cache-get-config 2023-12-14 16:33:50 +01:00
Krille-chan d8deaf866a
Merge pull request #1647 from famedly/krille/lazy-load-users-for-avatar-displayname
refactor: Make getDisplayname and calcAvatar of room async
2023-12-14 09:37:12 +01:00
Krille 9dc2f825a3
refactor: Add loadHeroUsers method
This makes it possible to await loading the
hero users to correctly
calculate displayname and
avatar.
2023-12-14 09:16:52 +01:00
td 53487a5d23
Merge pull request #1639 from famedly/krille/refactor-first-sync
refactor: Make possible to wait for first sync and await first sync before create megolm session
2023-12-13 22:37:21 +05:30
Krille 55bfc92ee0
refactor: Make possible to wait for first sync and await first sync before create megolm session 2023-12-13 14:02:53 +01:00
Karthikeyan S db0762ad3f
feat: cache getConfig request 2023-12-13 18:28:44 +05:30
Nicolas Werner 94313a0904
Merge pull request #1646 from famedly/krille/add-delete-database-method
refactor: Add delete database method
2023-12-12 13:20:48 +01:00
Krille eb869462aa
refactor: Add delete database method
This adds a delete database
method used for migration to
correctly delete the whole
legacy database instead just
empty it.
2023-12-12 12:57:23 +01:00
Krille-chan b3ec966238
Merge pull request #1644 from famedly/krille/refactor-copy-map
refactor: Remove duplicated copyMap method and fix type error
2023-12-11 12:03:05 +01:00
Krille c12e8f6dbe
build: Release 0.24.3 2023-12-11 11:44:46 +01:00
Krille c3c770bc33
refactor: Remove duplicated copyMap method and fix type error
dynamic.copy returned a type
error so I reverted the previous
change of the copyMap
method to an extension. Also
I found out that we have used
two copyMap methods in the
SDK which did exactly the same.
I deleted the old one and
changed the tests.
2023-12-11 10:29:06 +01:00
Krille-chan 0b29c3a034
Merge pull request #1643 from famedly/release/v0.24.2
build: Release 0.24.2
2023-12-11 09:16:03 +01:00
Krille 7f5d279ae1
build: Release 0.24.2 2023-12-11 09:01:15 +01:00
Krille-chan b2c4f3e8fa
Merge pull request #1641 from famedly/krille/copy-maps-correctly
fix: Copy all maps got from database
2023-12-11 08:59:42 +01:00
Krille 5e2623672c
fix: Copy all maps got from database
Unfortunately we need to copy
all maps. I took the opportunity
and abstracted the copy map
method to utils. I kept the
copyMap method as a
reference in HiveCollections
database to not require a
huge refactoring there as we
are going to ditch it anyway.
2023-12-11 08:32:06 +01:00
td 3739db175a
Merge pull request #1637 from famedly/krille/add-issue-tracker
docs: Add issue tracker to pub.dev
2023-12-07 18:16:55 +05:30
Krille b1b29be3a6
docs: Add issue tracker to pub.dev 2023-12-07 12:58:27 +01:00
Krille-chan 01cc90bd92
Merge pull request #1635 from famedly/release/v0.24.1
Release v0.24.1
2023-12-07 10:53:40 +01:00
Krille b547b7dfe0
build: Add changelog for v0.24.1 2023-12-07 10:24:42 +01:00
Krille-chan 67d0a20bf4
Merge pull request #1616 from famedly/krille/add-matrix-sdk-database
feat: Add native sqflite indexeddb database
2023-12-06 12:31:07 +01:00
Christian Pauly 6db019ae23
feat: Implement new Matrix Dart SDK Database
fix: Edit last event breaks db

feat: Add native sqflite indexeddb database

feat: Split up preload and nonpreload room state boxes
2023-12-06 12:11:47 +01:00
Krille-chan 562363c263
Merge pull request #1633 from famedly/krille/do-not-hide-matrix-exceptions-in-sync
fix: Do not hide matrix exceptions in sync
2023-12-06 11:04:52 +01:00
Krille 0b1281358f
fix: Do not hide matrix exceptions in sync 2023-12-05 09:04:51 +01:00
td 03ade5583f
Merge pull request #1630 from famedly/karthi/handle-getusermedia-exception
fix: set cid before initWithInvite to properly end call on getUserMedia exception
2023-12-04 18:49:02 +05:30
Karthikeyan S 0811b8911b
fix: set cid before initWithInvite to handle getUserMedia exception correctly 2023-12-04 17:41:16 +05:30
Krille-chan c24b329146
Merge pull request #1629 from famedly/release/0.23.1
build: Release v0.23.1
2023-11-29 13:37:03 +01:00
Krille 3d78ab97ca
build: Release v0.24.0 2023-11-29 13:15:46 +01:00
Karthikeyan S 48d61b76d4
Merge pull request #1615 from famedly/karthi/handle-call-on-multiple-devices
handle call when multiple devices are involved for one account
2023-11-29 13:05:39 +05:30
Karthikeyan S f4b0a629c7
chore: add null check for remotePartyId before ignoring reject/hangup 2023-11-29 12:32:57 +05:30
Karthikeyan S 6b9be63a4d
fix: ignore reject/hangup events for a live call from a different device 2023-11-29 12:32:57 +05:30
Nicolas Werner d35872b4ad
Merge pull request #1614 from famedly/nico/dehydrated-devices-v2
feat: Update dehydrated devices implementation to current MSC
2023-11-28 12:08:42 +01:00
Nicolas Werner 52a5485f7a
fix: don't delete the dehydrated device before we are sure the keys got saved 2023-11-28 11:02:43 +01:00
Nicolas Werner 2fca08725d
feat: Update dehydrated devices implementation to current MSC
BREAKING CHANGE: This replaces the old dehydrated devices
implementation, since there is no way to query what is supported easily
and supporting both would be complicated.

fixes https://github.com/famedly/matrix-dart-sdk/issues/1579
2023-11-28 11:02:35 +01:00
Krille-chan 4f9581709b
Merge pull request #1620 from famedly/krille/add-new-encrypted-event-to-aggregated-events
fix: Delayed encrypted event in timeline not added to aggregated events
2023-11-28 07:59:22 +01:00
Krille 8e9bcc2d36
fix: Delayed encrypted event in timeline not added to aggregated events 2023-11-27 16:12:45 +01:00
Krille-chan e318d60e7a
Merge pull request #1628 from famedly/krille/store-fetched-presence-in-db
refactor: Store fetched presence in db and deprecate own cache
2023-11-27 16:07:46 +01:00
Krille 06669cbcac
refactor: Store fetched presence in db and deprecate own cache 2023-11-27 15:48:21 +01:00
Nicolas Werner 109711df4b
Merge pull request #1627 from famedly/release/v0.23.0
chore: bump version to 0.23.0
2023-11-27 12:48:33 +01:00
Nicolas Werner 129be2e86b
chore: bump version to 0.23.0 2023-11-27 12:28:27 +01:00
Krille-chan ce1727ec52
Merge pull request #1626 from famedly/krille/sync-connection-exception
refactor: Add SyncConnectionException to syncloop
2023-11-27 10:22:54 +01:00
Krille 193f404885
refactor: Add SyncConnectionException to syncloop 2023-11-27 09:11:57 +01:00
Krille-chan f1e0268944
Merge pull request #1623 from famedly/nico/fix-key-backup
fix: key uploads only running once
2023-11-27 09:04:48 +01:00
Nicolas Werner 25f4353ab0
fix: key uploads only running once
There were several issues here. Key uploads in general failed, because
the await caused a Future<dynamic> to be returned, which failed type
checking.

But also we never unset our future, which was used for the online key
backup uploads, which meant we would very quickly stop uploading any
keys at all.
2023-11-24 17:42:57 +01:00
Krille-chan 9019dfd566
Merge pull request #1618 from famedly/krille/add-raw-command
feat: Add sendRaw command
2023-11-22 15:50:02 +01:00
Krille 82b885dee0
feat: Add sendRaw command 2023-11-22 15:35:29 +01:00