Commit Graph

2907 Commits

Author SHA1 Message Date
Krille 40565464e0
fix: Delete in transaction on new store does not clear cache correctly 2024-01-02 10:01:33 +01:00
Krille-chan af9006a278
Merge pull request #1668 from famedly/release/v0.25.2
build: Bump version 0.25.2
2023-12-27 16:17:22 +01:00
Krille 5cd55e3ec7
build: Bump version 0.25.2 2023-12-27 16:02:51 +01:00
Krille-chan e4b2bec812
Merge pull request #1667 from famedly/krille/add-missing-copy-map
fix: Add missing copy map in matrix sdk database
2023-12-27 16:02:03 +01:00
Krille 43db98c7b6
fix: Add missing copy map in matrix sdk database 2023-12-27 15:45:44 +01:00
Krille-chan fe4ff1a1e2
Merge pull request #1666 from famedly/release/v0.25.1
build: Bump version to v0.25.1
2023-12-27 12:39:06 +01:00
Krille 16604f2803
build: Bump version to v0.25.1 2023-12-27 12:14:23 +01:00
Krille-chan 263baa6bf8
Merge pull request #1657 from famedly/krille/test-database-can-read-5-mb
ci: Test that database can write and read at least 5mb of data
2023-12-27 10:40:37 +01:00
Krille aa2b010155
ci: Test that database can write and read at least 5mb of data
This does not yet test on
Android but at least makes sure
that this problem does not
occur when using future
databases.
2023-12-27 10:33:27 +01:00
Krille-chan df035d873a
Merge pull request #1661 from famedly/krille/fetch-presence-database-only
feat: Make possible to fetch presence from database only
2023-12-27 10:33:03 +01:00
krille-chan b4607be5d0
feat: Make possible to fetch presence from database only 2023-12-27 10:22:54 +01:00
Krille-chan a10da10d61
Merge pull request #1663 from famedly/krille/fix-type-error-database
fix: typerror in removeEvent method from new database
2023-12-27 10:22:20 +01:00
Krille 6955969e36
fix: typerror in removeEvent method from new database 2023-12-27 09:44:54 +01:00
Karthikeyan S 4e76c6df4e
Merge pull request #1660 from famedly/krille/clear-room-account-data-on-clear-cache
fix: clearCache does not clear room account data
2023-12-27 13:19:55 +05:30
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