Commit Graph

3775 Commits

Author SHA1 Message Date
Krille a771f1e3bf
fix: Call logout on soft logout fail
If we fail to handle the
soft logout, we should call
the logout endpoint to
delete the device from
the server instead of just
clear the client.
2024-07-31 12:53:29 +02:00
td 9819b05e30
Merge pull request #1852 from famedly/td/resetLastEventOnCancelSend
fix: update last event properly on cancel send
2024-07-31 14:42:30 +05:30
td 4eb18f670f
fix: update last event properly on cancel send
also stores status in db
2024-07-31 14:36:25 +05:30
td 1cb3dd1b59
chore: add info about tests to readme 2024-07-31 14:13:30 +05:30
td 28758be915
chore: increase log level to verbose in tests 2024-07-31 14:13:14 +05:30
Karthikeyan S 0ec9de5d37
Merge pull request #1891 from famedly/release/v0.31.0
build: Release v0.31.0
2024-07-29 09:59:42 +05:30
Karthikeyan S 731ffb4450
build: Release v0.31.0 2024-07-28 16:01:37 +05:30
Karthikeyan S d5c4d03e94
Merge pull request #1887 from famedly/karthi/fix-gh-release-ci
ci: create release job fix
2024-07-28 15:51:39 +05:30
Karthikeyan S ac79627f4b
ci: create release job fix 2024-07-28 15:44:28 +05:30
td be43ddae14
Merge pull request #1886 from famedly/td/deleteOverride
fix: also delete db on logout
2024-07-26 22:25:53 +05:30
td 22694a81d8
fix: also delete db on logout
we already cleared it out, but to change the db enc pw on the app we need to delete it completely first
2024-07-26 22:19:02 +05:30
Krille-chan 87ce08d394
Merge pull request #1888 from famedly/krille/add-m-federate-support
feat: Add support for isFederate option for rooms
2024-07-26 14:23:38 +02:00
Krille b962e8288b
feat: Add support for isFederate option for rooms 2024-07-26 13:45:13 +02:00
td c464032855
Merge pull request #1857 from famedly/td/mainThreadReceipts
fix: add main thread receipts to event.receipts getter
2024-07-23 20:47:16 +05:30
td 4c60e04c05
fix: add main thread receipts to event.receipts getter 2024-07-23 20:30:07 +05:30
Krille-chan 805ee24d93
Merge pull request #1883 from famedly/krille/refactor-profile-caching-in-database
refactor: Cache profiles in database and refactor API
2024-07-23 10:37:30 +02:00
Krille e7802bd20b
fix: Synapse CI job failing because invite state not completely synced 2024-07-23 10:30:40 +02:00
Krille cabf357cf7
refactor: Cache profiles in database and refactor API 2024-07-23 08:51:10 +02:00
td 191397ebb8
Merge pull request #1878 from famedly/td/bumpdbv9
fix: bump database version to v9
2024-07-18 15:22:00 +05:30
td 73e89966c7
fix: bump database version to v9
clears database to handle any old state seen in history getting applied bug bc336709af
2024-07-18 15:12:42 +05:30
td 2b0fbd2268
Merge pull request #1879 from famedly/krille/better-room-avatar-name-for-invites
refactor: Better avatar and names for invites
2024-07-17 19:41:19 +05:30
Krille 2e51b450bf
refactor: Better avatar and names for invites
Group chats with no user
avatar should return null for
the room.avatar getter and not
a random hero avatar. This could
otherwise lead to confusion as
it looks like this is a DM which
is not the case.

For the name we should also
not just display the name of
the invitor like in a DM even for
group chats, but some more
additional information. I found
a String for
invites quite useful here as
this would name rooms without
a m.room.name like this:
"Invited by $senderName"
which should be short enough.
The alternative
"You have been invited by $senderName" could be too
long IMO.
2024-07-16 13:12:00 +02:00
Krille-chan 0ac0ef63ed
Merge pull request #1872 from famedly/release/v0.30.0
build: Release v0.30.0
2024-07-03 15:17:28 +02:00
Krille 1d0161b24e
build: Release v0.30.0 2024-07-03 15:07:54 +02:00
Krille-chan ab24a25350
Merge pull request #1867 from famedly/krille/automatic-cancel-typing-indicators-after-30-seconds
feat: Automatically cancel typing indicators after 30 seconds
2024-07-03 15:03:20 +02:00
Krille 0f5526e1b8
feat: Automatically cancel typing indicators after 30 seconds 2024-07-03 14:36:40 +02:00
Krille-chan b248d6382a
Merge pull request #1868 from famedly/krille/do-not-update-invalid-last-event
fix: Do not update lastEvent with state events
2024-07-03 14:33:58 +02:00
Krille 9d9865a1a1
fix: Do not update lastEvent with state events 2024-07-03 14:27:39 +02:00
Karthikeyan S faae7935b5
Merge pull request #1866 from famedly/krille/store-last-event-in-database-after-decryption
fix: Correctly store lastEvent in database after decryption
2024-07-02 13:15:45 +05:30
Krille 4fd616bcbf
fix: Correctly store lastEvent in database after decryption 2024-07-02 08:44:46 +02:00
Krille-chan 87ee7f4cac
Merge pull request #1870 from famedly/td/editRedactLastEvent
fix: lastEvent after edit and redact
2024-07-02 08:41:25 +02:00
td 869a7f41a9
fix: lastEvent after edit and redact 2024-07-01 21:31:13 +05:30
td 95d2378b6f
Merge pull request #1869 from famedly/td/testci
fix: bump flutter and dart versions for right analyzer json format
2024-07-01 20:59:00 +05:30
td a8e56074cc
feat: move e2e test dind structure to use executor
fix: bump flutter and dart webrtc versions for dart analyze json format output
2024-07-01 20:52:32 +05:30
Krille-chan 06c6e5b869
Merge pull request #1864 from famedly/krille/remove-matrix-connection-exception
refactor: Remove Matrix Connection Exception
2024-06-28 09:18:49 +02:00
Krille 6976c426a9
refactor: Remove Matrix Connection Exception
This makes no sense anymore.
In the past we tried to use this
Exception type to have a
unified exception for all
network errors. However, this
is only in use for the custom
request method and for every
other api call it is not. So to
have the same error messages
every time, we should just remove
it.
2024-06-25 15:48:12 +02:00
Krille-chan 5fb614703b
Merge pull request #1862 from famedly/krille/fix-type-error-in-app
fix: Type error when uploading room keys
2024-06-25 10:16:25 +02:00
Krille 29cd5a299a
fix: Type error when uploading room keys 2024-06-25 08:33:35 +02:00
td a1e218a658
Merge pull request #1861 from famedly/release/v0.29.13
build: Release v0.29.13
2024-06-24 17:45:28 +05:30
Krille d586cd7356
build: Release v0.29.13 2024-06-24 13:40:56 +02:00
Krille-chan a7926209da
Merge pull request #1860 from famedly/krille/return-empty-uri-instead-of-original-url
fix: Return empty uri instead of original uri if uri is not mxc
2024-06-24 13:36:43 +02:00
Krille f0ab627031
fix: Return empty uri instead of original uri if uri is not mxc 2024-06-24 13:27:53 +02:00
td 7ade99292b
Merge pull request #1858 from famedly/td/customKeyDelays
chore: allow clients to set their own voip key delays
2024-06-22 07:42:54 +05:30
td 53c75a8dbf
chore: allow clients to set their own voip key delays 2024-06-22 07:34:16 +05:30
td 4af9ea38f9
Merge pull request #1859 from famedly/td/notCancelled
chore: use not cancelled in actions instead of always
2024-06-22 07:32:23 +05:30
td d68d3fb86c
chore: use not cancelled in actions instead of always 2024-06-21 15:55:38 +05:30
td 056698dda4
Merge pull request #1855 from famedly/release/v0.29.12
chore: bump version
2024-06-17 15:47:01 +05:30
Nicolas Werner fd6d66adb8
chore: bump version 2024-06-17 00:25:13 +02:00
Nicolas Werner bb054026f2
Merge pull request #1854 from famedly/nico/fix-requestUser-update-spam
fix: Request user causing state update loops for apps
2024-06-14 15:47:10 +02:00
Nicolas Werner f13d4e1f45
fix: Request user causing state update loops for apps
This completely redoes the requestUser function.

It now doesn't stop requesting a user forever just because of a network
error. But redundant calls are still deduplicated, however their
parameters are taken into account now.

It also now only calls onUpdate and onRoomState when there is actually
new state. This way apps can just listen to updates to rerender instead
of having to implement the deduplication themselves.

It also now doesn't treat member events without membership as "join"
anymore. And lookup errors don't cause an empty user to get inserted
into the room state.

In general this should still request the profile from the server, if the
displayname is unset in a leave event, but it should also allow the app
to actually settle in the tests.
2024-06-14 12:33:25 +02:00