Commit Graph

3209 Commits

Author SHA1 Message Date
Krille-chan 50d222cc19
Merge pull request #1688 from famedly/krille/zone-transaction-mixins
fix: Transactions on web by doing them in the same way as on io
2024-01-22 15:13:07 +01:00
krille-chan 48ba7556b2
fix: Transactions on web by doing them in the same way as on io
This refactors the transaction
workaround with
"zone transactions" and
abstracts them in a mixin. Then
it just uses this mixin in the
HiveDatabase and the
sqflite_box and also applies
them on indexedDB to
fix transactions on web.
2024-01-22 15:04:29 +01:00
Krille-chan 0d69e37389
Merge pull request #1689 from famedly/krille/delete-in-transactions-idb
fix: Correctly null cache in transactions for indexeddb
2024-01-22 15:00:50 +01:00
Krille 534a2a4ff1
fix: Correctly null cache in transactions for indexeddb
This is similar to the bug
in the sqflite but now for
the indexeddb.
2024-01-22 14:53:42 +01:00
Krille-chan 925bc6096f
Merge pull request #1687 from famedly/krille/slightly-improve-get-timeline-senders
refactor: Improve getTimeline senders
2024-01-22 13:09:26 +01:00
krille-chan eef79aad2b
refactor: Improve getTimeline senders
This creates a set before
requesting users from the
database. This prevents
doing the same check for
the same user multiple
times and also prevents
concurrent modifications
of the event list.
2024-01-22 13:02:43 +01:00
Krille-chan 6dfd18ca47
Merge pull request #1685 from famedly/krille/add-missing-key-verification-localizations
feat: Add missing localizations for key verification messages
2024-01-22 12:56:30 +01:00
Krille 4906ae02cf
feat: Add missing localizations for key verification messages 2024-01-22 12:49:27 +01:00
Krille-chan a50946d775
Merge pull request #1682 from famedly/krille/use-max-number-otk-from-olm
refactor: Use maxnumberofotk from olm instead hardcode 100
2024-01-22 12:48:56 +01:00
Krille 544888fe33
refactor: Use maxnumberofotk from olm instead hardcode 100 2024-01-15 13:56:54 +01:00
Krille-chan f61bab3e7d
Merge pull request #1680 from famedly/release/v0.25.5
build: Bump version to 0.25.5
2024-01-13 17:02:49 +01:00
Krille d1b8070376
build: Bump version to 0.25.5 2024-01-13 16:55:25 +01:00
Nicolas Werner 3f69170fb9
Merge pull request #1678 from famedly/krille/list-type-error
fix: Another type error when combining lists
2024-01-13 16:48:17 +01:00
Krille 2afd7040a7
fix: Another type error when combining lists 2024-01-12 16:24:00 +01:00
Karthikeyan S af5445aa79
Merge pull request #149 from famedly/release/v1.17.3
build: Update changelog and readme for 1.7.3
2024-01-09 17:25:25 +05:30
Krille 67aebfaf4d
build: Update changelog and readme for 1.7.3 2024-01-09 12:53:44 +01:00
Krille-chan 0e92f8693f
Merge pull request #146 from famedly/reza/oidc-login-flow
Update Readme and Pubspec
2024-01-09 12:52:28 +01:00
Krille-chan a7537462a4
Merge pull request #1677 from famedly/release/v0.25.4
build: Bump version to 0.25.4
2024-01-05 15:33:09 +01:00
Krille 05d8bff33d
build: Bump version to 0.25.4 2024-01-05 15:21:13 +01:00
Krille-chan 025d8c043b
Merge pull request #1670 from famedly/krille/throw-client-init-exception
refactor: Throw client init exception on client init fail
2024-01-05 09:58:10 +01:00
krille-chan a9508d8941
refactor: Throw client init exception on client init fail
This changes the behavior
when client init fails. It
no longer calls logout and does
only clear local data while
returning all available
information in a new
exception type so that the
SDK consumer can decide
to logout or try again to init
with these information. This
should make it much more rare
that users loose their sessions.
2024-01-05 09:46:38 +01:00
Krille-chan 872e565de1
Merge pull request #1675 from famedly/krille/combine-lists-type-error
fix: Type error when combining dynamic lists
2024-01-04 09:03:00 +01:00
Krille 245cf59205
fix: Type error when combining dynamic lists 2024-01-04 08:30:00 +01:00
Krille-chan dbedaf9d79
Merge pull request #1672 from famedly/release/v0.25.3
build: Release 0.25.3
2024-01-02 10:46:37 +01:00
Krille 57d564ab7e
build: Release 0.25.3 2024-01-02 10:39:26 +01:00
Krille-chan dd31ede2a1
Merge pull request #1671 from famedly/krille/fix-delete-in-transactions
fix: Delete in transaction on new store does not clear cache correctly
2024-01-02 10:19:17 +01:00
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
Mohammad Reza Moradi c57c75bc1a
chore: update readme and pubspec 2023-12-27 12:17:32 +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