Commit Graph

3286 Commits

Author SHA1 Message Date
Krille-chan 1f597a72f8
Merge pull request #1816 from famedly/krille/update-example
docs: Update example with matrixsdkdatabase
2024-05-27 15:22:48 +02:00
Krille ea98ca4c88
docs: Update example with matrixsdkdatabase 2024-05-27 15:16:41 +02:00
Nicolas Werner 265f889842
Merge pull request #1809 from famedly/nico/fix-history-request
fix: canRequestHistory doesn't reflect reality
2024-05-27 15:01:27 +02:00
Nicolas Werner 51dbb90436
fix: canRequestHistory doesn't reflect reality
canRequestHistory could become false, even though you didn't load all
events from the database yet. So you had to either rely on fetching
until the requestHistory method throws or rely on other workarounds.

This makes requestHistory not throw, when the prev_batch is null, but
also makes canRequestHistory return sane values (but might require an
extra request, that does nothing).
2024-05-27 14:55:11 +02:00
td 5a4b5741e4
Merge pull request #1828 from famedly/release/v0.29.8
chore: release v0.29.8
2024-05-23 15:59:47 +05:30
td 3534f4e25b
chore: release v0.29.8 2024-05-23 15:33:27 +05:30
td fd99b4dce6
Merge pull request #1827 from famedly/td/fcallspermlevels
fix: make sure room is postLoaded before starting calls
2024-05-23 14:58:26 +05:30
td 06728b4b75
fix: make sure room is postLoaded before starting calls
more logging
2024-05-23 14:10:20 +05:30
td 5cf4a884ec
Merge pull request #1825 from famedly/release/v0.29.7
chore: release v0.29.7
2024-05-22 23:05:17 +05:30
td 54c88646ed
chore: release v0.29.7 2024-05-22 22:58:16 +05:30
td 25437f8a18
fix: nonLocal join/left values 2024-05-22 22:55:41 +05:30
Nicolas Werner 6ce072fa4c
Merge pull request #1810 from famedly/krille/do-not-set-messages-as-state-events-anymore
fix: Do not set messages as state events anymore
2024-05-22 19:09:30 +02:00
td 79960d1be3
fix: Do not set messages as state events anymore
We had this as a workaround and forgot to remove it after the database migration to the new way how to store the last message.
2024-05-22 22:22:56 +05:30
td 763bb0ba00
Merge pull request #1824 from famedly/td/fireNewPifJoined
preShareKey improvements
2024-05-22 22:21:42 +05:30
td fd6c7a1016
feat: preShareKey using fetchOrCreateGroupCall
fix: only fire backend.onNewParticipant and backend.onLeftParticipant when it is not the local participant, this fixes the issue where onNewParticipant would get triggered when it detects a new call even though you were not in the call, as of now there is no code in those functions which needs to be triggered before you have joined the call so this should be fine

chore: also improve participants join leave tracking logic
2024-05-22 22:15:00 +05:30
td f98a947181
Merge pull request #1823 from famedly/td/preShareKeyFunc
feat: hide _makeNewSenderKey and expose a new preShareKey function
2024-05-22 20:06:27 +05:30
td 48043ec753
feat: hide _makeNewSenderKey and expose a new preShareKey function
also bumps version
2024-05-22 19:06:33 +05:30
td 69c12b1220
Merge pull request #1822 from famedly/release/v0.29.5
chore: release v0.29.5
2024-05-22 18:51:33 +05:30
td 60f22fff00
chore: release v0.29.5 2024-05-22 18:38:00 +05:30
Nicolas Werner 8c33ce3a12
Merge pull request #1821 from famedly/td/makeKeyPublic
feat: make voip key generator public
2024-05-22 15:05:47 +02:00
td d313cbb18e
feat: make voip key generator public
with this you can now send the key before joining the call to the participants, make sure to call onMemberStateChanged first to ensure groupCall.participants is populated
2024-05-22 18:19:18 +05:30
Krille-chan 162a4f31f3
Merge pull request #1818 from famedly/release/v0.29.3
build: Release v0.29.3
2024-05-21 14:16:57 +02:00
Krille 26f0ea92e7
build: Release v0.29.4 2024-05-21 13:31:18 +02:00
Krille 99d1fb54e2
build: Release v0.29.3 2024-05-21 13:30:42 +02:00
Krille-chan 57625d0275
Merge pull request #1819 from famedly/krille/create-missing-object-box
fix: Hotfix create missing objectbox
2024-05-21 13:30:31 +02:00
Krille f3e631b2eb
fix: Hotfix create missing objectbox 2024-05-21 13:07:36 +02:00
td f66e14671b
Merge pull request #1817 from famedly/td/fixUserJoinErrro
fix: minor perm issue typo while setting famedly call member event
2024-05-21 15:59:48 +05:30
td b5fb43af51
chore: add MatrixSDKVoipException and some more logging 2024-05-21 15:47:19 +05:30
td 39a8b8ce89
chore: throw exception if you cannot send famedly call member event 2024-05-21 15:07:44 +05:30
td d10befcac5
fix: allow famedly calls for everyone before choosing an existing one 2024-05-21 15:04:25 +05:30
td d4566d7512
fix: minor perm issue typo while setting famedly call member event 2024-05-21 15:02:30 +05:30
Krille-chan 290cac25fc
Merge pull request #1815 from famedly/krille/make-request-timeout-configurable
refactor: Make network request timeout
2024-05-21 09:16:01 +02:00
Krille 4d60c8f023
refactor: Make network request timeout
configurable
2024-05-21 08:30:34 +02:00
krille-chan c5e6a89f05
refactor: Combine sendMessageTimeoutSeconds and sendTimelineEventTimeout
Those timeouts were basically the same
and both had the same default value
1 minute. I guess it was just a
mistake to duplicate this.
2024-05-20 16:57:55 +02:00
Krille-chan fe637e1627
Merge pull request #1804 from famedly/karthi/max-pdu-size-check
perf: check event size in bytes without encoding twice
2024-05-20 16:46:39 +02:00
Karthikeyan S 29e554337c
perf: check event size in bytes without encoding twice 2024-05-20 16:40:15 +02:00
td f9fe6b17a9
Merge pull request #1814 from famedly/krille/store-upload-inbound-sessions-in-que
refactor: Store not uploaded group sessions in its own database queue
2024-05-20 18:40:39 +05:30
krille-chan 97d544ba85
refactor: Store not uploaded group sessions in its own database queue
This should highly increase the
performance as right now for every sync
ALL inbound group sessions are loaded
from the database and checked if
they need an upload. So if a user
has 10k stored sessions locally, this
would probably let the whole application
lag a lot. This stores the sessions which
need upload in a different table now,
similar how we do this with the to
device queue
2024-05-20 11:28:08 +02:00
Krille-chan 7d6bd1ab9d
Merge pull request #1805 from famedly/karthi/update-event-error
fix: update event status to error on EventTooLarge
2024-05-16 16:03:16 +02:00
Karthikeyan S eef3fd1dfc
fix: update event status to error on EventTooLarge 2024-05-16 19:12:25 +05:30
td b50bab6b29
Merge pull request #1806 from famedly/krille/make-client-fields-read-only
refactor: Make client members read only
2024-05-16 14:43:38 +05:30
Krille 93bf30f376
refactor: Make client members read only 2024-05-16 07:23:30 +02:00
Krille-chan 9217231527
Merge pull request #1802 from famedly/release/v0.29.2
build: release v0.29.2
2024-05-14 15:16:44 +02:00
Krille db5aedc8f5
build: release v0.29.2 2024-05-14 14:07:23 +02:00
Krille-chan 476d86b425
Merge pull request #1755 from famedly/krille/custom-refresh-token-lifetime
feat: Implement unpublished MSC custom refresh token lifetime
2024-05-14 10:49:17 +02:00
Krille 5a79aa9536
refactor: make sure ensureNotSoftLoggedOut does not run multiple times 2024-05-14 10:40:32 +02:00
Krille 3f8a4c8189
feat: Implement unpublished MSC custom refresh token lifetime 2024-05-14 10:40:32 +02:00
Krille-chan 5ecff08bf4
Merge pull request #1801 from famedly/krille/fix-get-logged-out-by-sync-filter-request
fix: ensureNotSoftLoggedOut must be called before network reqeust in syncFilter check
2024-05-14 10:39:25 +02:00
Krille 039c214e7a
fix: ensureNotSoftLoggedOut must be called before network reqeust in syncFilter check 2024-05-14 10:13:45 +02:00
td 85a85211b8
Merge pull request #1800 from famedly/td/fixIceRestart
fix: ice restart mechanism
2024-05-13 22:16:44 +05:30