Commit Graph

3775 Commits

Author SHA1 Message Date
Krille-chan cebf0f6333
Merge pull request #2029 from famedly/krille/remove-unnecessary-template
chore: Remove unnecessary template
2025-03-07 12:35:13 +01:00
Krille 5c9d12fef0
chore: Remove unnecessary template 2025-03-07 12:31:36 +01:00
Krille-chan 095868fdca
Merge pull request #2043 from famedly/krille/export-event-localizations
chore: Export event localizations
2025-03-07 09:11:54 +01:00
Krille 297c4a6a25
chore: Export event localizations 2025-03-07 09:08:47 +01:00
Krille-chan f76210d99b
Merge pull request #2041 from famedly/krille/refactor-mark-unread
refactor: Make markUnread a noop if unread is already as intendend and throw exception if room membership is not join
2025-02-28 14:30:47 +01:00
Krille c194ddee66
refactor: Make markUnread a noop if unread is already as intendend and throw exception if room membership is not join 2025-02-28 11:24:46 +01:00
Krille-chan 352b3fa68b
Merge pull request #2023 from famedly/krille/make-sure-we-do-not-override-state-on-fetch-history
fix: Older state events overwrite newer ones on fetching history
2025-02-12 14:39:36 +01:00
Krille fdbe95ba75
fix: Older state events overwrite newer ones on fetching history 2025-02-11 15:57:33 +01:00
Krille-chan beef67bd02
Merge pull request #2008 from famedly/krille/make-clear-sdk-is-compatible-with-v1-spec
refactor: Add missing versions to supportedVersions and use warning instead of blocking
2025-02-11 09:49:02 +01:00
Krille bf37bf82a0
refactor: Add missing versions to supportedVersions and use warning instead of blocking 2025-02-11 09:46:32 +01:00
Krille-chan 2f1e423416
Merge pull request #2022 from famedly/krille/fix-linebreaks-in-html-messages-correctly
refactor: Improve linebreak logic for html messages
2025-02-11 09:46:02 +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
Karthikeyan S 41a9fbc76b
Merge pull request #2021 from famedly/release/v0.38.0
chore: release v0.38.0
2025-02-05 19:03:06 +05:30
Karthikeyan S 9ecd487327
chore: release v0.38.0 2025-02-05 18:58:21 +05:30
td a3d33eee65
Merge pull request #2018 from famedly/krille/make-share-keys-with-configurable
feat: (BREAKING) Make share keys with logic configurable
2025-02-05 14:24:09 +01:00
Krille a352809a01
feat: (BREAKING) Make share keys with logic configurable 2025-02-05 14:18:49 +01:00
Karthikeyan S 24a0cfb9a8
Merge pull request #1937 from TheOneWithTheBraid/braid/command-runner
feat: improve commands_extension
2025-02-04 16:30:36 +05:30
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-chan 51b10057f6
Merge pull request #2013 from famedly/krille/fix-megolm-sessions-invalid-after-restart
fix: Megolm sessions become invalid after restarting client
2025-02-04 10:15:36 +01:00
Krille 6cd40d3f91
fix: Megolm sessions become invalid after restarting client
This bug seems to be in the
sdk for 5 years already without
anyone noticing. The method
loadInboundGroupSession
seems to return the wrong
variable when loading the
session from the key. While
the outboundgroupsession
loading method relies on
an inbound group session, it
silently marks the outbound
group session as invalid on
every restart and creates a
new one. This means we never
reuse megolm sessions after
restarting the client.

Fixing this will probably reduce
the amount of megolm sessions
used in a conversation by a lot
which could improve the
performance and make the
key backup more reliable.
2025-02-04 10:12:58 +01:00
Krille-chan 0874488110
Merge pull request #2017 from famedly/krille/refactor-set-from-to-toset
refactor: Use .toSet() instead of Set.from()
2025-02-04 09:42:46 +01:00
Krille 86038f8c94
refactor: Use .toSet() instead of Set.from()
When using Set.from() then
it becomes a Set of
dynamics which disables the
Type checking.
By just changing this to
.toSet() it keeps the type.
2025-02-04 09:40:18 +01:00
Krille-chan ac77f0e0bb
Merge pull request #2015 from famedly/krille/fix-push-notification-fromjson-tojson-fails
fix: PushNotification fromJson - toJson fails
2025-02-04 09:26:26 +01:00
Krille eb9bd0620f
fix: PushNotification fromJson - toJson fails 2025-02-04 09:23:31 +01:00
Krille-chan 3353518cad
Merge pull request #2016 from famedly/krille/make-convert-linebreaks-optional
refactor: Make converting linebreaks in markdowntohtml optional
2025-02-03 12:05:21 +01:00
Krille 776e941b6e
refactor: Make converting linebreaks in markdowntohtml optional
Element actually does not do
this and use the linebreaks
inside of their <p> tags. It
works for our new html
rendering as well which is
already in FluffyChat.
2025-02-03 11:48:10 +01:00
Karthikeyan S 0960e350db
Merge pull request #2010 from TheOneWithTheBraid/braid/hero-user-direct-chat
fix: priorize direct chat MXIDs over empty hero user list
2025-02-01 19:23:27 +05:30
The one with the braid 4edae55852
fix: priorize direct chat users over empty hero user list
Signed-off-by: The one with the braid <info@braid.business>
2025-02-01 13:34:15 +01:00
rmoradi88 af9919786a
Merge pull request #2006 from famedly/release/0-37-0
build: Bump changelog
2025-01-27 12:08:09 +03:30
Krille 39d06f6659
build: Bump changelog 2025-01-27 09:13:48 +01:00
Karthikeyan S e0c1c7bb0f
Merge pull request #2003 from famedly/krille/add-timeout-to-all-jobs
build: Add timeouts to all ci jobs
2025-01-20 14:36:00 +05:30
Krille 958119a7ef
build: Add timeouts to all ci jobs 2025-01-20 10:01:34 +01:00
rmoradi88 cc9e046aa2
Merge pull request #2002 from famedly/krille/tests-for-event-convert
chore: Add tests for converting event types
2025-01-20 12:29:52 +03:30
Krille 1484e6770f
chore: Add tests for converting event types 2025-01-14 12:49:15 +01:00
Krille-chan a069589c77
Merge pull request #2001 from famedly/krille/add-missing-redacts-key-when-transforming-event
fix: Add missing redacts parameter when transforming to Event type
2025-01-14 10:16:48 +01:00
Krille 83f993a2ff
fix: Add missing redacts parameter when transforming to Event type 2025-01-14 10:12:22 +01:00
td 02988de6ee
Merge pull request #1981 from famedly/td/specv1.13
chore: (BREAKING CHANGE) spec v1.13 autogen
2025-01-13 09:29:55 +01:00
td 020438f698
chore: (BREAKING CHANGE) spec v1.13 autogen 2025-01-13 09:26:59 +01:00
Krille-chan 928f6ba96f
Merge pull request #1999 from famedly/krille/remove-basic-room-event
refactor: Remove BasicRoomEvent type
2025-01-09 12:14:59 +01:00
Krille 3642ff60a8
chore: Add missing sqlite dependencies 2025-01-09 12:10:48 +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
td 8d7b4dd9c0
Merge pull request #1998 from famedly/karthi/transactionId
chore: add transactionId getter to Event class
2025-01-08 20:23:14 +01:00
Karthikeyan S 64030693c9
chore: add transactionId getter to Event class 2025-01-08 23:07:32 +05:30
Krille-chan a6ee302d64
Merge pull request #1997 from famedly/krille/room-id-null-in-basic-room-event
fix: No roomId in BasicRoomEvent stores roomaccountdata silently wrong
2025-01-08 15:50:32 +01:00
Krille 50ac4b55b2
fix: No roomId in BasicRoomEvent stores roomaccountdata silently wrong 2025-01-08 15:03:35 +01:00
Karthikeyan S 32e051c439
Merge pull request #1996 from famedly/krille/refactor-push-notification-object
refactor: Push Notification helper class make all fields optional and migrate dynamics to Object?
2025-01-08 14:39:52 +05:30
Krille 2e8bae85c8
refactor: (BREAKING) Push Notification helper class make all fields optional and migrate dynamics to Object? 2025-01-08 09:43:09 +01:00
Krille-chan b23ad952a4
Merge pull request #1992 from famedly/krille/remove-event-update-type
refactor: Use Event instead of EventUpdate for storing in db
2025-01-08 09:06:37 +01:00
Krille bc328aab5c
refactor: Use Event instead of EventUpdate for storing in db 2025-01-07 14:56:04 +01:00