Commit Graph

618 Commits

Author SHA1 Message Date
td 6c17e3cfdf
feat: reactions for voip calls
Co-authored-by: Karthikeyan S <karthikeyan.s@famedly.com>
Co-authored-by: Yash Garg <me@yashgarg.dev>
2025-10-02 16:27:50 +02:00
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
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 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 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
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 3129f7cb47
fix: (BREAKING) Can not logout and login again with same Client object 2025-07-14 14:53:04 +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 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
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 c618baae70
refactor: (BREAKING) Make database required 2025-05-16 08:28:08 +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 35b352e8c1
feat: Support fallback for threads in Event.getReplyEvent() 2025-05-09 07:29:47 +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
Karthikeyan S 3e29240e30
chore: prev_batch update after a limited timeline follow-up 2025-05-06 16:03:13 +05:30
td 4721adde22
fix: make sure prev_batch is updated after a limited timeline 2025-05-06 11:26:15 +02:00
td 7e41b01176
fix: make sure to keep track of aggregated events after requesting history or future 2025-04-30 17:43:55 +02:00
Yash-Garg 2738451ff6
fix: handling of existing calls in `onCallInvite` 2025-04-23 22:10:03 +05:30
Mohammad Reza Moradi defe47a198
fix: deleting last message is edited 2025-04-10 11:49:35 +02:00
krille-chan 1f93193190
fix: Trim plaintext after removeMarkdown 2025-03-29 08:38:21 +01:00
Karthikeyan S 0fc96018a6
chore: upgrade webrtc_interface to v1.2.2+hotfix.1 2025-03-26 15:47:08 +05:30
Karthikeyan S 77ec2e0604
feat: ensure direct chats have only 2 members before sending verification requests 2025-03-21 15:54:18 +05:30
Karthikeyan S a3aede19e8
fix: set prev_batch first time from sync response correctly 2025-03-19 17:09:28 +05:30
Karthikeyan S 7899f598a2
feat: export timeline events 2025-03-18 22:48:59 +05:30
td f4c6c8d203
fix: set prev_batch when seen in sync 2025-03-17 19:13:48 +01:00
Krille fdbe95ba75
fix: Older state events overwrite newer ones on fetching history 2025-02-11 15:57:33 +01:00
Krille e4f41fddeb
fix: WebRTC videoValue missing 2025-02-10 10:03:58 +01:00
Krille 2d3bfa64a7
refactor: Improve linebreak logic for html messages 2025-02-10 09:17:57 +01:00
Krille a352809a01
feat: (BREAKING) Make share keys with logic configurable 2025-02-05 14:18:49 +01:00
The one with the braid 86fa1f9203
feat: BREAKING improve command_extension
- unify behavior of all message sending related command
- add a StringBuffer as stdout-like output buffer for commands
- create a typedef for the command function signature
- create a common exception type for command execution
- enable commands to run on Client-level rather than Room-level
- BREAKING: Client.addCommand signature now takes an optional StringBuffer as second parameter
2025-02-04 16:19:57 +05:30
Krille 1484e6770f
chore: Add tests for converting event types 2025-01-14 12:49:15 +01:00
Krille 3f04532ffe
refactor: Remove BasicRoomEvent type
We actually never use the
roomId of this type and the
matrix spec has changed in
a way that the roomId is
never sent there actually. So
it was super easy to just
replace all BasicRoomEvent
with BasicEvent. The roomId
became nullable anyway.
2025-01-09 11:05:01 +01:00
Krille 50ac4b55b2
fix: No roomId in BasicRoomEvent stores roomaccountdata silently wrong 2025-01-08 15:03:35 +01:00
Krille bc328aab5c
refactor: Use Event instead of EventUpdate for storing in db 2025-01-07 14:56:04 +01:00
Krille e7065afe31
refactor: Do not use eventupdate type for verification requests 2025-01-07 12:36:49 +01:00
Karthikeyan S 05ee4031bf
chore: BREAKING rename timeCreated to latestEventReceivedTime in Room 2024-12-31 22:16:31 +05:30
Krille 2c42c12e72
refactor: Handle Room Account Data outside of Room Event Updates
This also makes sure that
room account data does not
get unnecessarily serialized
and deserialized before
storing it in the database.
For this it changes the
code flow at multiple
places.
2024-12-31 10:58:09 +01:00
Krille 135face535
refactor: (BREAKING) Remove deprecated Hive Database 2024-12-31 09:00:47 +01:00