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
Krille
5ac6c940a9
refactor: Update rooms by event not event update
2025-01-07 12:36:49 +01:00
Krille
e7065afe31
refactor: Do not use eventupdate type for verification requests
2025-01-07 12:36:49 +01:00
Karthikeyan S
f2e2ee8daf
Merge pull request #1961 from famedly/karthi/cache-clear-matrix-sdk-db
...
fix: clear cache when clearing DB in MatrixSdkDatabase
2025-01-07 16:39:48 +05:30
Karthikeyan S
83003c86c7
fix: clear cache when clearing DB in MatrixSdkDatabase
2025-01-07 16:36:37 +05:30
Krille-chan
c87e2eeff2
Merge pull request #1993 from famedly/krille/fix-coverage-timeout
...
chore: Trigger coverage timeout
2025-01-06 13:38:28 +01:00
Krille
9c470c22d9
fix: Coverage CI job is timing out
2025-01-06 12:53:41 +01:00
Krille-chan
5b376756db
Merge pull request #1990 from famedly/karthi/latestEventReceivedTime
...
chore: BREAKING rename timeCreated to latestEventReceivedTime in Room
2025-01-02 09:18:19 +01:00
Karthikeyan S
05ee4031bf
chore: BREAKING rename timeCreated to latestEventReceivedTime in Room
2024-12-31 22:16:31 +05:30
Krille-chan
0caec7ca17
Merge pull request #1989 from famedly/krille/follow-up-store-utd-events
...
chore: Follow up store unable to decrypt information correctly
2024-12-31 13:40:41 +01:00
Krille
632ecbed7e
chore: Follow up store unable to decrypt information correctly
2024-12-31 13:36:11 +01:00
Karthikeyan S
d89c8a3b54
Merge pull request #1988 from famedly/krille/handle-room-account-data-outside-of-handle-room-events
...
refactor: Handle Room Account Data outside of Room Event Updates
2024-12-31 15:41: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-chan
4c7bdb71cb
Merge pull request #1987 from famedly/krille/remove-deprecated-hive-database
...
refactor: Remove deprecated Hive Database
2024-12-31 09:05:44 +01:00
Krille
135face535
refactor: (BREAKING) Remove deprecated Hive Database
2024-12-31 09:00:47 +01:00
Karthikeyan S
cb9350fa8e
Merge pull request #1986 from famedly/krille/load-room-account-data-on-get-single-room
...
fix: Also load room account data in getSingleRoom()
2024-12-30 21:39:50 +05:30
Krille
ce0dfc77ff
fix: Also load room account data in getSingleRoom()
2024-12-30 12:49:14 +01:00
Karthikeyan S
5e1ff13821
Merge pull request #1985 from famedly/krille/unnecessary-json-serialize-account-data
...
refactor: Do not unnecessarily serialize and deserialize json for every account data object
2024-12-30 16:34:51 +05:30