Mohammadreza Moradi
8d484dbe37
Merge pull request #1733 from famedly/krille/add-commands-ignore-users
...
feat: Add commands /ignore and /unignore
2024-03-15 11:01:23 +01:00
Krille
0ae71fa843
feat: Add commands /ignore and /unignore
2024-03-15 10:13:11 +01:00
Krille-chan
9826bbeb7b
Merge pull request #1732 from famedly/krille/offer-ensure-not-soft-logged-out
...
feat: Offers client.ensureNotSoftLoggedOut() to fix using client with stopped sync loop
2024-03-14 14:56:41 +01:00
Krille
3d09219269
feat: Offers client.ensureNotSoftLoggedOut() to fix using client with stopped sync loop
...
This also makes sure that
the access token is
refreshed when calling
client.getEventByPushNotification()
which is porbably the most
common case for a client
with a stopped sync loop
doing network requests.
2024-03-14 14:49:47 +01:00
td
15549119db
Merge pull request #1727 from famedly/td/throwOnMaxPDU
...
fix: throw EventTooLarge on exceeding max fed PDU
2024-03-14 02:31:09 +05:30
td
a60a0cad69
fix: throw EventTooLarge on exceeding max fed PDU
2024-03-14 01:18:10 +05:30
td
dabe2fc97f
Merge pull request #1728 from famedly/td/audioProcessing
...
chore: add noice/echo cancelling flags to getUserMedia
2024-03-11 10:53:56 +05:30
td
1e90fcee93
chore: add noice/echo cancelling flags to getUserMedia
2024-03-11 10:45:43 +05:30
Krille-chan
0fedbc3307
Merge pull request #1731 from famedly/release/v0.26.0
...
build: Bump version to 0.26.0
2024-03-08 11:47:53 +01:00
Krille
dec3ea00be
build: Bump version to 0.26.0
2024-03-08 11:11:39 +01:00
Krille-chan
fdee8ee845
Merge pull request #1720 from famedly/krille/allow-init-on-soft-logout
...
refactor: Allow calling init when in soft logout state
2024-03-08 11:03:49 +01:00
Krille
d049e667ee
refactor: BREAKING Allow calling init when in soft logout state and fix some bugs
...
This fixes several problems with current soft logout
handling, as it now stores the refresh token correct and
only refreshs it 1 minute in advance instead of 5
minutes.
2024-03-07 15:49:23 +01:00
td
2e1f21393a
Merge pull request #1729 from famedly/release/v0.25.13
...
build: Bump version to 0.25.13
2024-03-07 19:06:17 +05:30
Krille
6f905f7d3b
build: Bump version to 0.25.13
2024-03-07 08:51:38 +01:00
Nicolas Werner
beeff0a2c3
Merge pull request #1706 from Romain-Guillot/romainguillot/download-attachment-from-local-store-only
...
feat: add fromLocalStoreOnly to Event.downloadAndDecryptAttachment
2024-03-06 12:21:46 +01:00
Romain GUILLOT
22df8b39a8
feat: add fromLocalStoreOnly to Event.downloadAndDecryptAttachment
...
Signed-off-by: Romain GUILLOT <romain.guillot@arche-mc2.fr>
2024-03-06 12:13:07 +01:00
Krille-chan
2f95e41ee9
Merge pull request #1726 from famedly/nico/fix-state-handling-after-invite
...
fix state handling after invite
2024-03-05 09:01:31 +01:00
Nicolas Werner
cf4a2c7929
fix: some tests fail with the "fixed" membership fetch logic
...
We need to ensure the room summary and members are set to the expected
values, since otherwise these tests will try to fetch the current
members and then break our expectations.
2024-03-04 19:33:47 +01:00
Nicolas Werner
f6fa9df2c5
fix: archived room state store logic
...
This was implicitly relying to the timestamp of state events getting
compared in the setState function. Fix this by using the helper
functions already used for invite and join rooms.
2024-03-04 19:31:35 +01:00
Nicolas Werner
69fe7845a9
chore: Add regression test for invite->join state handling
...
This is a reduced test case which made me investigate the issue and is
fixed by the previous few commits.
2024-03-04 17:58:39 +01:00
Nicolas Werner
1bde841cb2
fix: properly fetch participants when transitioning from invite to join
...
We used to add app the member counts of invited users and joined users,
which would make us assume the participants list is complete. Which
would mean we always return the wrong state.
Additionally there is no need to rely on if we have a cached response.
Instead we always only check for completeness instead of possibly
returning stale responses just because we fetched the members once.
2024-03-04 17:55:29 +01:00
Nicolas Werner
582963ab91
fix: Do not compare timestamps when setting roomstate
...
We now handle state in the correct order in the sync handler. Using the
timestamp lead to false results when we still generated a default
timestamp of "now" for events, however even without that state events
can have an older timestamp like when accepting an invite on a server
with the clock behind by a minute and we should instead rely on the sync
handler giving us state in the right order.
2024-03-04 17:53:23 +01:00
Nicolas Werner
6f82e92f2c
fix: properly overwrite loaded state for partial loaded rooms
...
Otherwise invites, which get converted to normal rooms, might still have
old member events set in memory, that don't match the current state.
2024-03-04 17:52:06 +01:00
Nicolas Werner
5ffa99d994
fix: Do not assume a missing timestamp means "now"
...
This causes issues with state handling as we prefer the newer event. It
also has knock-on effects in other places. Instead set such events to
have an obviously invalid timestamp, which makes issues easier to
identify.
This may break invites showing a timestamp or the timestamps for just
sent events, if you rely on the timestamp getting set to "now".
2024-03-04 17:49:50 +01:00
Krille-chan
23bc6ef465
Merge pull request #1725 from famedly/release/v0.25.12
...
build: Bump version
2024-03-01 12:22:13 +01:00
Krille
d51151c08b
build: Bump version
2024-03-01 12:15:27 +01:00
Krille-chan
3000b5b7f1
Merge pull request #1708 from famedly/pat/archive-room-names
...
fix: Use name of other participant on archived rooms
2024-03-01 12:13:55 +01:00
Patrick Hettich
81f33951bb
Merge branch 'main' into pat/archive-room-names
2024-03-01 12:03:00 +01:00
Krille-chan
62377ac5f2
Merge pull request #1724 from famedly/krille/pass-refresh-token-uia-login
...
chore: pass refreshToken to uiaLogin
2024-02-29 14:25:58 +01:00
Krille
4b44af0eb8
chore: pass refreshToken to uiaLogin
2024-02-29 14:10:48 +01:00
Patrick Hettich
78c610ab92
Merge branch 'main' into pat/archive-room-names
2024-02-29 12:03:45 +01:00
Patrick Hettich
18ce3607c6
fix: removed prev_sender for empty chats
2024-02-29 11:57:32 +01:00
Krille-chan
47c210817d
Merge pull request #1722 from famedly/krille/refactor-dart-update
...
refactor: Deprecations after dart upgrade
2024-02-28 12:56:57 +01:00
Krille
1b93471d64
refactor: Deprecations after dart upgrade
2024-02-28 12:37:54 +01:00
Krille-chan
af2215e6ef
Merge pull request #1719 from famedly/release/v0.25.11
...
Release 0.25.11
2024-02-26 12:42:17 +01:00
Krille
2687381274
build: Bump version
2024-02-26 12:34:48 +01:00
Karthikeyan S
033fef7cd0
Merge pull request #1715 from famedly/karthi/add-versions-env
...
ci: add versions.env to unify flutter and dart versions
2024-02-23 19:26:21 +05:30
Karthikeyan S
9876d9c90f
ci: add versions.env to unify flutter and dart versions
2024-02-23 19:19:31 +05:30
Krille-chan
72b5a5e8e7
Merge pull request #1707 from famedly/krille/implement-refresh-access-token
...
feat: Implement handling soft logout
2024-02-23 13:13:50 +01:00
Krille
65c56f3630
feat: Store accesstokenExpiresIn and call softlogout 5 minutes before
2024-02-23 13:06:38 +01:00
Krille
38b1eb75e5
feat: Implement handling soft logout
2024-02-23 13:06:38 +01:00
Krille-chan
d7596923ad
Merge pull request #1712 from ggurdin/ggurdin/indexeddb-clear-fix
...
fix: convert boxNames to List in clear function when creating transaction
2024-02-23 13:00:29 +01:00
Gabby Gurdin
4a4eb53dad
fix: convert boxNames to List in clear function when creating transaction
2024-02-23 12:53:37 +01:00
Krille-chan
8987757a17
Merge pull request #1713 from famedly/release/v0.25.10
...
build: Bump version to 0.25.10
2024-02-23 08:11:53 +01:00
Karthikeyan S
a6479408e4
build: Bump version to 0.25.10
2024-02-23 12:11:36 +05:30
Krille-chan
b478342dcf
Merge pull request #1711 from famedly/karthi/create-room-history-visbility
...
feat: specify history_visibility when creating group chat
2024-02-22 10:59:17 +01:00
Karthikeyan S
b82d8bff0b
feat: specify history_visibility when creating group chat
2024-02-22 15:22:10 +05:30
Krille-chan
41e8997117
Merge pull request #1709 from famedly/krille/add-codeowners
...
chore: Add codeowners
2024-02-22 08:18:42 +01:00
Krille
8d95910086
chore: Add codeowners
2024-02-21 13:06:58 +01:00
Patrick Hettich
9b9e311010
fix: updated membership-leave for archived direct chats
2024-02-21 08:16:10 +01:00