Commit Graph

3413 Commits

Author SHA1 Message Date
td d80357e4c0
chore: release v0.33.0 2024-09-19 15:03:03 +02:00
td c84172df80
Merge pull request #1914 from famedly/td/v1.11support
feat: BREAKING CHANGE v1.11 support
2024-09-19 14:25:02 +02:00
td 140db616d9
feat: BREAKING CHANGE v1.11 matrix-spec endpoints 2024-09-19 14:16:49 +02:00
Nicolas Werner ca41a963e3
Merge pull request #1918 from famedly/nico/fix-archive-rooms-becoming-joined
fix archive rooms becoming joined
2024-09-18 11:28:43 +02:00
Nicolas Werner 15dce00c0f
fix: don't convert archived rooms to joined rooms by accident
When decrypting the last event for archived rooms when a room key is
received, we used to send a synthetic SyncUpdate. This however put the
archived room into the join section, which converted the room to a
joined room. We need to respect what section the room was in when
sending synthetic SyncUpdates.

fixes https://github.com/famedly/matrix-dart-sdk/issues/1916
2024-09-18 11:11:35 +02:00
Nicolas Werner fec258ef12
fix: wait for pending transactions before db close
This was triggered by some archive decryption test I was writing and
possibly also is triggered in production a few times. Waiting for
running transactions to complete before closing sounds sensible.
2024-09-18 10:43:03 +02:00
Nicolas Werner 12f45e7687
Merge pull request #1917 from famedly/nico/fix-archive-load
fix: also lazy load members for archive
2024-09-17 12:55:20 +02:00
Nicolas Werner b839273ce0
fix: also lazy load members for archive
This should speed up loading the archived rooms. One of the reasons it
was so slow, is because we were loading all room members!

Additionally this may work around a bug in Synapse, where rooms stuck in
their partial state may block sync indefinitely.

Relates to https://github.com/famedly/product-management/issues/2250
2024-09-16 16:36:25 +02:00
td 804832e951
Merge pull request #1911 from famedly/release/v0.32.4
chore: release v0.32.4
2024-08-28 18:13:45 +02:00
td cd89982ab6
chore: release v0.32.4 2024-08-28 17:33:21 +02:00
td 9b8fa95a52
Merge pull request #1910 from famedly/td/wellKnownBreakFix
fix: actually make sure clientBox has a account
2024-08-28 17:07:09 +02:00
td 65c0f8119c
fix: actually make sure clientBox has a account 2024-08-28 17:00:14 +02:00
td 4a8f628706
Merge pull request #1909 from famedly/release/v0.32.3
chore: release v0.32.3
2024-08-27 10:25:03 +02:00
td 7a1d82da1d
chore: release v0.32.3 2024-08-27 10:16:44 +02:00
td a01880a527
Merge pull request #1908 from famedly/td/ignoreStateIfNoJoin
fix: race condition between getState and requestUser updates
2024-08-27 10:11:34 +02:00
td 4c4a062a27
fix: race condition between getState and requestUser updates 2024-08-27 10:04:56 +02:00
td 8f350760c4
Merge pull request #1907 from famedly/td/dedeupVersionCalls
fix: dedup /versions calls
2024-08-23 16:40:27 +02:00
td d9681d552e
fix: dedup /versions calls 2024-08-23 16:30:56 +02:00
Nicolas Werner 5f85acb7f0
Merge pull request #1875 from TheOneWithTheBraid/braid/well-known-cache
feat: cache .well-known data
2024-08-23 10:09:09 +02:00
The one with the braid 6e48c308ad
feat: cache .well-known data
- BREAKING: create `DatabaseApi.storeWellKnown` method
- BREAKING: create `DatabaseApi.getWellKnown` method
- add new getter `Client.wellKnown` containing cached `DiscoveryInformation`
- override `Client.homeserver` to invalidate `Client.wellKnown` in case the domain changed
- override `Client.getWellknown` to cache the resolved `DiscoveryInformation`
- add tests for well-known cache

Fixes: #1865

Signed-off-by: The one with the braid <info@braid.business>
2024-08-23 10:01:34 +02:00
Krille-chan 11b8160f21
Merge pull request #1906 from famedly/release/v0.32.2
build: Release 0.32.2
2024-08-21 15:47:49 +02:00
Krille 625d38b533
build: Release 0.32.2 2024-08-21 15:32:38 +02:00
Krille-chan 4e0f05702a
Merge pull request #1905 from famedly/krille/use-auth-media-if-unstable-features
refactor: Also use authenticated media if unstable features claim support
2024-08-21 15:13:24 +02:00
Krille 2dce08bab1
refactor: Also use authenticated media if unstable features claim support 2024-08-21 15:06:50 +02:00
Nicolas Werner a979c2e4fb
Merge pull request #1904 from TheOneWithTheBraid/braid/macos-dylib
fix: SQLCipher dylib location on macOS builds
2024-08-21 13:46:20 +02:00
The one with the braid 23704f68b8
fix: SQLCipher dylib location on macOS builds
Signed-off-by: The one with the braid <info@braid.business>
2024-08-21 10:29:14 +02:00
td 99564df087
Merge pull request #1902 from famedly/release/v0.32.1
chore: release v0.32.1
2024-08-16 17:39:07 +05:30
td bb1c8db942
chore: release v0.32.1 2024-08-16 15:19:02 +05:30
td 6bf03a8431
Merge pull request #1901 from famedly/td/authMedia
feat: support for authenticated media
2024-08-16 14:42:22 +05:30
td f79096dfbb
feat: support for authenticated media 2024-08-16 14:35:50 +05:30
td 987dd750b3
Merge pull request #1900 from famedly/release/v0.31.1
build: Release v0.31.1
2024-08-09 14:58:28 +05:30
Krille df5cd7cd75
build: Release v0.32.0 2024-08-09 11:20:07 +02:00
Krille-chan c071b8c06e
Merge pull request #1899 from famedly/krille/fix-app-freeze-because-of-loop
fix: App freezes because of recursive loop with getLocalizedDisplayname() call
2024-08-09 10:55:27 +02:00
Krille a0bfd0c73d
fix: App freezes because of recursive loop with getLocalizedDisplayname() call 2024-08-09 10:17:23 +02:00
Nicolas Werner 820a0c53dd
Merge pull request #1896 from famedly/nico/fix-leave-invite-chain
fix: leave->invite in the same sync would hide the invite
2024-07-31 21:03:23 +02:00
Nicolas Werner de5f454218
fix: don't restart github action service after apt install
By default apt-get seems to restart services now, but that restarts the
github actions runner and cancels our job... Add the github actions
service to the exluded services.

See also https://discourse.ubuntu.com/t/needrestart-changes-in-ubuntu-24-04-service-restarts/44671
2024-07-31 20:31:28 +02:00
Nicolas Werner 3d92428b7e
fix: leave->invite in the same sync would hide the invite
Synapse includes the room in both sections if you have both an
invite->leave and a leave->invite transition in one sync response.
Transitions in the other order are only included once (in the leave
section) it seems, so this should work correctly in all cases.

Fixes https://github.com/famedly/product-management/issues/2283
2024-07-31 19:25:58 +02:00
Krille-chan 6dbc11180c
Merge pull request #1895 from famedly/krille/call-logout-on-soft-logout-cancel
fix: Call logout on soft logout fail
2024-07-31 14:06:24 +02:00
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