Commit Graph

2893 Commits

Author SHA1 Message Date
Krille 4c8d7c959c
fix: clearCache does not clear room account data 2023-12-22 13:45:38 +01:00
Krille-chan 131425730c
Merge pull request #1658 from famedly/release/v0.24.4
build: Release v0.24.4
2023-12-21 09:41:45 +01:00
Krille fc91dfa496
build: Release v0.25.0 2023-12-21 09:33:05 +01:00
td 067a61ed18
Merge pull request #1584 from famedly/td/fixAwaitSecrets
fix: validate account_data values instead of checking them in syncUpdates
2023-12-20 21:18:26 +05:30
td dc411c9b14
fix: validate account_data values instead of checking them in syncUpdates 2023-12-20 21:10:31 +05:30
td 6b66451d70
Merge pull request #1655 from famedly/td/throwMoreThreads
chore: throw more threads at dart test
2023-12-20 19:13:53 +05:30
td c052dc5025
chore: throw more threads at dart test 2023-12-20 18:53:49 +05:30
Krille-chan 5d892a8007
Merge pull request #1653 from famedly/krille/do-not-miss-event-updates-timeline
refactor: Connect timeline to event updates earlier
2023-12-20 13:44:14 +01:00
Krille 39527c9033
refactor: Connect timeline to event updates earlier
This creates the timeline object
earlier in the Room.getTimeline() method.
This results to that the
Timeline object already starts
to listen on the event stream
while the getTimeline() method
requests users from the database
and tries to decrypt room
events. I assume that this
causes the problem that
on timeline creation new
events get lost because they
come in, while getTimeline() is
not yet completed but the
onEvent stream is not yet
connected at the same time.
2023-12-20 13:29:35 +01:00
Krille-chan 5a22037cec
Merge pull request #1654 from famedly/td/callTests
feat: add tests for calls
2023-12-20 08:04:45 +01:00
td b6d5ce02c4
feat: add tests for calls 2023-12-19 21:55:30 +05:30
td e1d4af80ae
Merge pull request #1649 from famedly/td/callsLifetime
fix: ignore calls with age older than lifetime
2023-12-18 23:20:49 +05:30
td 6a2f31de39
fix: ignore calls with age older than lifetime
feat: add barebones WebRTCDelegateMock
2023-12-18 21:28:26 +05:30
td 520dfdbe3e
fix: check negotiate party and call ids
chore: making some call naming schemes better
2023-12-15 21:39:06 +05:30
Krille-chan 0bb1e3bef9
Merge pull request #1651 from famedly/krille/test-all-databases
ci: Test all databases in unit tests
2023-12-15 14:38:54 +01:00
Krille d8ec1601a3
ci: Test all databases in unit tests 2023-12-15 14:24:00 +01:00
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