Commit Graph

2096 Commits

Author SHA1 Message Date
Christian Kußowski fe94df97db
refactor: Upgrade to vodozemac cryptoutils 2025-09-30 10:07:19 +02:00
Christian Kußowski 9549270423
chore: Revert on upload progress
This is not working as expected.
As far as I can see there is no
way to do this with the http
package for now. Only way would
be to switch to dio. Not sure
if we want to do this.
2025-09-29 14:58:40 +02:00
Christian Kußowski 8735ecd378
feat: Add onProgress for upload and download methods 2025-09-29 11:56:15 +02:00
Christian Kußowski 68f2fb9ddb
feat: Leave DM rooms and invite when ignoring a user 2025-09-29 09:40:51 +02:00
Karthikeyan S 6b73fc6354
refactor: migrate to web and js_interop pkgs 2025-09-26 14:08:01 +02:00
Christian Kußowski 98dd75d822
feat: Set m.mention field when sending text event 2025-09-17 13:35:30 +02:00
Christian Kußowski 77fb2b29e7
feat: Implement get mentions from event content 2025-09-17 13:35:30 +02:00
Christian Kußowski bc8164a487
refactor: Return a better default for lastEventReceivedTime 2025-09-17 11:56:53 +02:00
Christian Kußowski 8a4eda5201
feat: Auto refresh last event after limited timeline
This adds a new behavior
on sync that the app
automatically fetches the
last event from server
after we receive a
limited timeline and the
lastEvent has not
changed.
2025-09-17 11:56:53 +02:00
Christian Kußowski 42196795f1
feat: Add deleteDeviceDisplayName() method to matrix API 2025-09-17 10:16:58 +02:00
td 9b0e9b7c56
fix: (BREAKING CHANGE) remove only your device call membership if room is not msc3757 2025-09-16 10:52:22 +02:00
Christian Kußowski d3497cac68
fix: Set unread notification count only if not null in sync
Fixes an edge case in the sdk
which sets the unread
notification count wrongly to 0 on room fake sync.
2025-09-12 15:28:31 +02:00
td cc6ca5518f
fix: scheduled event list init 2025-09-09 16:55:12 +02:00
td 2489682f1b
refactor: (BREAKING CHANGE) you can now get the matrix eventId from CallMembership(s) 2025-09-09 15:41:15 +02:00
Christian Kußowski 0994fcfe8b
chore: Clarify room.setAvatar docs 2025-09-09 14:59:27 +02:00
td 19df680dee
feat: (BREAKING CHANGE) delayed and device owned state events support for group calls
feat: allow setting keyring size

feat: allow setting custom call timeout values, you will have to pass the voip class to a bunch of existing call related methods though

feat: also debounce join key rotation
2025-09-09 14:33:01 +02:00
huluwa d325e58a2c
Merge branch 'main' into huluwa-dev/fix-avatar-error-on-windows 2025-09-03 19:52:22 +09:30
Eric Lin f98f93c1ed
fix: fix the issue that user avatar can not be loaded on windows
chore: resort imports
2025-09-03 19:51:45 +09:30
Christian Kußowski 7d0a4dc3bc
refactor: Make signableJson type safe with type safe class 2025-08-22 14:06:54 +02:00
Christian Kußowski a6fc1a004d
refactor: Remove dynamic in cross signing code 2025-08-22 13:32:49 +02:00
Christian Kußowski b32f0f28ba
refactor: Sync for unknown room in push helper and catch timeout exceptions 2025-08-19 10:49:55 +02:00
Christian Kußowski e0ff0b8698
refactor: Allow room ids to not have a domain 2025-08-07 09:51:20 +02:00
Christian Kußowski 0e7e9a9634
refactor: Allow room ids to not have a domain 2025-08-07 09:51:20 +02:00
td bc3d2bbd6d
fix: reuse a deviceId if available 2025-08-01 21:23:46 +02:00
Christian Kußowski 282ac54c7b
refactor: Restrict canKick canBan and canRedact to joined users 2025-07-17 10:18:05 +02:00
Christian Kußowski d3071ec531
refactor: Restrict canRequestHistory to joined or archived rooms 2025-07-17 09:51:50 +02:00
Christian Kußowski 48f59f378d
refactor: Restrict canChangeStateEvent, canInvite and canSendEvent to joined users 2025-07-17 09:51:49 +02:00
Christian Kußowski 3129f7cb47
fix: (BREAKING) Can not logout and login again with same Client object 2025-07-14 14:53:04 +02:00
Christian Kußowski b94677240b
refactor: Clean up new dart version lints 2025-06-22 17:02:01 +02:00
Christian Kußowski 92f5427e0a
fix: exportDump and importDump and add unit tests 2025-06-16 11:19:08 +02:00
Christian Kußowski a5d1e72bdf
fix: user.canKick should be true for knocking users as well 2025-06-16 09:56:40 +02:00
Christian Kußowski 6df0fb5d06
refactor: Remove olm dependency 2025-06-10 08:34:49 +02:00
Christian Kußowski 5fdcbf8006
refactor: Migrate olm account to vodozemac 2025-06-08 10:18:15 +02:00
Christian Kußowski 98fcd683a6
refactor: Migrate megolm to vodozemac 2025-06-08 10:18:15 +02:00
Christian Kußowski 31a32b0145
feat: Migrate to vodozemac 2025-06-08 10:18:15 +02:00
Krille-chan 6cf6171b35
refactor: disable benchmarks by global boolean (#2104)
Benchmarks are flooding the logs. We should disable them by default and allow having low debug level at the same time.
2025-06-06 17:15:13 +05:30
Christian Kußowski ba38b1f97f
refactor: Do not store room update for leave rooms not cached anyway
This adds a check before the storeRoomUpdate() call
if the room is actually known. This has the effect
that the call of forgetRoom() is skipped.

The reason for this is an edge case in the database
implementation when calling getAllKeys(). This
somehow can corrupt the keys-cache and lead to
some problems. I wasn't able to fix this problem
yet so this refactoring is more a good-enough
workaround for now to not trigger it on an
initial sync. I plan to fix it with a different
approach which completely removes the keys-cache
in the future.

However this change leads to some problems in the
tests as they already rely on this edge case.
2025-06-02 10:08:19 +02:00
Christian Kußowski bac29d959d
fix: no user feedback if client.getConfig() takes some time
When sending a file in an environment with bad internet
where Client.getConfig() takes some
seconds, the user does not get
any feedback at all.
This change now makes sure that
the user always sees the pending
event in the timeline before anything
else is done in the room.sendFileEvent method.
2025-06-01 18:01:21 +02:00
The one with the braid ee51dfcca6
fix: fallback on homeserver is userID null
Signed-off-by: The one with the braid <info@braid.business>
2025-05-20 10:06:27 +02:00
Christian Kußowski c618baae70
refactor: (BREAKING) Make database required 2025-05-16 08:28:08 +02:00
Christian Kußowski 65f1b68f97
feat: Add logout command 2025-05-13 13:38:19 +02:00
Christian Kußowski e94ef4ab82
fix: Correct filename when downloading thumbnail 2025-05-13 10:26:22 +02:00
Christian Kußowski c6ff6ebc76
fix: Add missing copy json in updateInboundGroupdSessionAllowedAtIndex method 2025-05-13 10:04:53 +02:00
krille-chan f3bb654ac2
feat: Switch to github flavor markdown to render checkboxes
Also fixes a bug where a room pill was not rendered as link.
2025-05-10 15:45:31 +02:00
Krille 4ee0fb021c
feat: Add localization for voice message type 2025-05-09 12:33:09 +02:00
Krille 35b352e8c1
feat: Support fallback for threads in Event.getReplyEvent() 2025-05-09 07:29:47 +02:00
krille-chan fc79d7142b
fix: Fetch well-known from domain from userId, not from homeserver domain 2025-05-08 18:55:05 +02:00
Karthikeyan S a6999255d6
fix: incorrect Event status update in constructor 2025-05-08 19:18:17 +05:30
Krille 5ec745915e
refactor: (BREAKING) Remove hive database and hive dependencies 2025-05-08 14:29:52 +02:00
Krille 05f03e00d9
refactor: Remove unused event status roomState 2025-05-08 09:17:10 +02:00