Commit Graph

2898 Commits

Author SHA1 Message Date
Mohammadreza Moradi 38b9e773f5
Merge pull request #1704 from famedly/td/forgiveNotKill
fix: ignore expired calls rather than killing them
2024-02-14 11:51:53 +03:30
td aa77812e8e
fix: ignore expired calls rather than killing them 2024-02-14 03:27:09 +05:30
Mohammadreza Moradi e542e91622
Merge pull request #1703 from famedly/td/fixSyncGlareTerminator
fix: group calls terminator having sync glares
2024-02-13 15:11:10 +01:00
td c2a2e419cb
fix: group calls terminator having sync glares
this will be removed with the new calls, we should ignore expired calls rather than cleaning up unless you have complete ownership of the event
2024-02-13 11:34:28 +01:00
Krille-chan 231399fe16
Merge pull request #1702 from famedly/release/v0.25.8
build: Bump changelog to v0.25.8
2024-01-31 14:07:13 +01:00
Krille af0d316044
build: Bump changelog to v0.25.8 2024-01-31 14:00:39 +01:00
Krille-chan 5256602946
Merge pull request #1700 from famedly/krille/display-call-events-as-last-events-by-default
chore: Use some call events as last events
2024-01-31 13:59:48 +01:00
Krille bef9a79f82
chore: Use some call events as last events 2024-01-31 13:48:19 +01:00
Krille-chan 8d31ee3351
Merge pull request #1701 from TheOneWithTheBraid/braid/encryption-helper-nested-void
fix: nested void function in encryption helper
2024-01-31 13:36:12 +01:00
The one with the braid 5dc95dea3f
fix: nested void function in encryption helper
- remove the accidentally nested void in the ffiInit implementation

Signed-off-by: The one with the braid <info@braid.business>
2024-01-31 13:29:46 +01:00
Krille-chan 4250ad5bed
Merge pull request #1699 from famedly/release/v0-25-7
build: Bump version and add changelog
2024-01-29 15:18:53 +01:00
Krille 50096bfdf8
build: Bump version and add changelog 2024-01-29 14:57:51 +01:00
Mohammadreza Moradi 0f50119932
Merge pull request #1698 from famedly/krille/skip-invalid-keys
fix: Skip invalid keys which got corrupted in database
2024-01-26 11:01:21 +01:00
Krille d94e6d2ac8
fix: Skip invalid keys which got corrupted in database 2024-01-26 09:41:55 +01:00
Krille-chan 566f960b92
Merge pull request #1676 from TheOneWithTheBraid/braid/sqflite-encryption-helper
feat: add SQfLite encryption helper
2024-01-24 10:51:03 +01:00
The one with the braid 1adbac31ae
feat: add SQfLite encryption helper
This patch introduces a helper class for SQfLite encryption related operations.

Most matrix clients will encrypt their sqlite database at rest. Since
this is a quite fragmented task using the Flutter sqlite ecosystem, this
helper aims to simplify some more complex operations.

It in particular helps with the following tasks :

- loading the correct shared objects / dynamic libraries for sqlcipher
- check whether a database is encrypted
- migrate an unencrypted SQLite database to SQLCipher
- apply the cipher to a database while opening it and ensure it loads

This code is not exactly matrix related, though presumably any matrix
client will use parts of it.

Possible regressions :

- `package:sqlite3` became a direct dependency. As of now it already was a
  transitive dependency of the SDK itself.

Signed-off-by: The one with the braid <info@braid.business>
2024-01-24 10:43:46 +01:00
Krille-chan 78976f2a11
Merge pull request #1690 from famedly/krille/release-0-25-6
build: Bump version and add changelog
2024-01-22 15:21:05 +01:00
Krille 33c74d30bc
build: Bump version and add changelog 2024-01-22 15:14:21 +01:00
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
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
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