Commit Graph

2954 Commits

Author SHA1 Message Date
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
Krille-chan c6e8b16647
Merge pull request #1609 from famedly/krille/linebreaks-markdown
fix: Do only convert linebreaks to br tags in p blocks
2023-11-22 12:19:56 +01:00
Krille 029b648f26
fix: Do only convert linebreaks to br tags in p blocks
This changes the behavior
of the markdown method to
only convert linebreaks inside
of p blocks. I found no better
solution yet for the problem
as otherwise also lists
will have linebreaks between
the list items. Unfortunately
the default linebreak syntax
seems not to fulfill our needs.
2023-11-22 11:02:17 +01:00
Krille-chan 966951dfeb
Merge pull request #1619 from famedly/nico/no-memory-of-this
fix: in memory database is not actually in memory
2023-11-22 07:36:12 +01:00
Nicolas Werner 642bb7e62a
fix: in memory database is not actually in memory
Since we can't pass the fake filesystem to hive, instead we just store
the database in a temporary directory.
2023-11-21 14:30:34 +01:00
Nicolas Werner ee14fb7116
Merge pull request #1597 from famedly/nico/stricter-lints
stricter lints
2023-11-17 14:44:00 +01:00
Nicolas Werner c44cfaf03e
docs: Document and group our linter rules 2023-11-17 14:24:59 +01:00
Nicolas Werner f72d298a0b
fix: database tests group can't be async 2023-11-17 13:05:14 +01:00
Nicolas Werner 9a39a78a86
chore: enable remaining easy lints 2023-11-17 12:59:27 +01:00
Nicolas Werner 8b8a647cf9
chore: enable discarded_futures lint
BREAKING CHANGE: This changes the runInRoot method to not return a
future. As a user, if you need the result of an async computation passed
to runInRoot, please await it directly. Also the KeyVerification start
and a few call methods now return a future.
2023-11-17 12:59:27 +01:00
Nicolas Werner 5dc3adadfc
chore: enable avoid_bool_literals_in_conditional_expressions 2023-11-17 12:59:27 +01:00
Nicolas Werner a0970b7fcb
chore: don't manually enable default rules 2023-11-17 12:59:20 +01:00
Nicolas Werner b06167b8a4
Merge pull request #1600 from famedly/krille/better-syncloop-error
fix: catch correct exception type for connection problems
2023-11-17 00:07:45 +01:00
Nicolas Werner e03826b1bb
Merge branch 'main' into krille/better-syncloop-error 2023-11-16 22:21:59 +01:00
Nicolas Werner 76b216c319
Merge pull request #1608 from famedly/krille/store-presences
feat: Store presences in  database
2023-11-16 22:21:34 +01:00
Nicolas Werner 0b3542730d
Merge branch 'main' into krille/store-presences 2023-11-16 21:36:13 +01:00
Nicolas Werner 499096068c
Merge pull request #1611 from famedly/krille/fix-set-presence-load-archive
fix: Set presence when loading archive
2023-11-16 21:36:01 +01:00
Nicolas Werner 4b36c2f529
Merge branch 'main' into krille/fix-set-presence-load-archive 2023-11-16 21:19:20 +01:00
td 03d038c831
Merge pull request #1612 from famedly/karthi/release-0-22-7
build: release 0.22.7
2023-11-16 15:18:17 +05:30
Karthikeyan S 7f32428091
build: release 0.22.7 2023-11-16 14:08:19 +05:30
Krille d1bbf57b6f
fix: Set presence when loading archive 2023-11-15 14:18:48 +01:00
td 7324064f22
Merge pull request #1610 from famedly/reza/crash-calls
Hangup on call crash
2023-11-15 16:24:36 +05:30
Mohammad Reza Moradi d5447c62f7
fix: hangup on call crash 2023-11-15 08:49:35 +01:00
Krille 8cc863b1a3
feat: Store presences in database 2023-11-15 06:59:58 +01:00