Commit Graph

3783 Commits

Author SHA1 Message Date
Krille 04a46226cb
refactor: Fix new lints from flutter 3.27 2024-12-15 12:21:26 +01:00
Karthikeyan S 168433a709
Merge pull request #1915 from famedly/karthi/clear-legacy-db
fix: clear legacy db on logout
2024-12-11 18:24:22 +05:30
Karthikeyan S 9ded85e786
fix: clear legacy db on logout properly 2024-12-11 07:54:05 +05:30
Krille-chan f3e249dab3
Merge pull request #1960 from famedly/krille/store-room-states-as-tripple-keys
refactor: Store room states as triple keys
2024-12-09 13:22:28 +01:00
Krille ce7838e72a
refactor: BREAKING Store room states as triple keys 2024-12-09 12:36:39 +01:00
Krille-chan 3bfc5efdc6
Merge pull request #1962 from famedly/krille/init-state
feat: (BREAKING) Replace onMigration with advanced callback onInitStateChanged
2024-12-09 12:36:06 +01:00
Krille 29aa28eecf
feat: (BREAKING) Replace onMigration with advanced callback onInitStateChanged
This makes it possible to track
the process of initialization in the
client by just enhancing what
the onMigration callback already
does.
2024-12-09 12:33:15 +01:00
td cd31df9b27
Merge pull request #1965 from famedly/krille/improve-join-room-documentation
refactor: Clarify Room.join() behavior and make sure DM link is purged if room not found
2024-12-09 12:32:31 +01:00
Krille a26653a098
refactor: Clarify Room.join() behavior and make sure DM link is purged if room not found 2024-12-09 12:29:45 +01:00
rmoradi88 4cd10b2e0f
Merge pull request #1966 from famedly/reza/send-reaction-on-only-admin-can-send-message-room
Throw error on failed reaction send
2024-12-06 15:39:45 +01:00
Mohammad Reza Moradi 08e1e714e7
Merge branch 'main' into reza/send-reaction-on-only-admin-can-send-message-room 2024-12-06 15:36:51 +01:00
td c30f77cfb6
Merge pull request #1968 from famedly/karthi/call-reject
fix: rejecting a call doesn't send m.call.reject event
2024-12-06 11:39:26 +01:00
Karthikeyan S 9b800db175
fix: rejecting a call doesn't send m.call.reject event 2024-12-06 12:38:58 +05:30
Mohammad Reza Moradi ba9c3e7fc9
Merge branch 'main' into reza/send-reaction-on-only-admin-can-send-message-room 2024-12-05 13:17:53 +01:00
Mohammad Reza Moradi 04612a2296
fix: throw error on failed reaction send 2024-12-05 13:13:47 +01:00
Krille-chan 67a95e3973
Merge pull request #1893 from famedly/krille/no-timeout-for-initial-sync
refactor: Do not set default timeout for initialSync
2024-12-02 10:51:36 +01:00
Krille 812c7dde82
refactor: Do not set default timeout for initialSync 2024-12-02 10:48:48 +01:00
td c0dc8ca0eb
Merge pull request #1958 from JohannesNevels/johannesnevels/support-types-in-retrieving-history-and-future
feat: support filtering events when requesting events history or future
2024-11-26 13:47:43 +01:00
Johannes Nevels 7515ff6dbe
feat: support filtering events when requesting events history or future 2024-11-26 13:43:21 +01:00
Krille-chan 708144aeea
Merge pull request #1957 from famedly/krille/do-not-send-deprecated-dont-notify-actions
refactor: Do not set the deprecated dont_notify action in push rules
2024-11-25 14:14:55 +01:00
Krille 989a1cd504
refactor: Do not set the deprecated dont_notify action in push rules
This has been deprecated since
https://spec.matrix.org/v1.7/client-server-api/#actions
An empty list of actions should now
be equal to a list with the entry
"dont_notify". Clients should
ignore this action and use
empty lists instead. A good
explaination can be found
https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/3987-push-actions-clean-up.md
2024-11-25 14:08:45 +01:00
Nicolas Werner fd2f90903f
Merge pull request #1946 from famedly/krille/delete-file
feat: Add deleteFile() endpoint to database
2024-11-12 08:35:32 +01:00
Krille 60d500956c
feat: Add deleteFile() endpoint to database 2024-11-12 08:32:32 +01:00
Krille-chan 03416cd463
Merge pull request #1954 from famedly/release/v0.35.0
build: Bump version
2024-11-11 17:04:09 +01:00
Krille 4582010520
build: Bump version 2024-11-11 16:57:20 +01:00
Krille-chan 2856338cec
Merge pull request #1953 from famedly/krille/cache-members-for-encrypted-rooms
fix: BREAKING Cache members for encrypted rooms in database
2024-11-11 12:50:18 +01:00
Krille f46e76295c
fix: BREAKING! Cache members for encrypted rooms in database
This fixes a huge performance
leak as for every encrypted room
the whole member list is loaded
every time you start the client.
This also changes the default value of `cache` in
this method to if the room is encrypted or not.
For encrypted rooms we always want a complete
member list locally.
2024-11-11 11:58:18 +01:00
Krille-chan 52381cecfb
Merge pull request #1952 from famedly/reza/require-trailing-comma
Add require trailing comma lint
2024-11-11 11:47:22 +01:00
Mohammad Reza Moradi 9c32193dff
chore: add require trailing comma lint 2024-11-07 16:13:37 +01:00
Krille-chan 989dbd8a93
Merge pull request #1944 from famedly/krille/authenticated-profile-requests
feat: Optional authentication for profile requests
2024-10-23 12:21:19 +02:00
Krille 3116650210
feat: Optional authentication for profile requests 2024-10-23 12:18:36 +02:00
td 5e39ce9753
Merge pull request #1943 from famedly/krille/add-additional-properties-for-login-flow
feat: Add additional properties for LoginFlow type
2024-10-22 15:42:57 +02:00
Krille 9918c5ab8f
feat: Add additional properties for LoginFlow type 2024-10-22 15:03:38 +02:00
Krille-chan d8723b7339
Merge pull request #1941 from famedly/release/v0.34.0
build: Bump version to 0.34.0
2024-10-21 15:23:11 +02:00
Krille b978cf01c8
build: Bump version to 0.34.0 2024-10-21 15:05:17 +02:00
Krille-chan 2afd1cd800
Merge pull request #1942 from famedly/krille/invalidate-async-cache-on-error
fix: AsyncCache is not invalidating on error
2024-10-21 14:57:04 +02:00
Krille b1198f7b80
fix: AsyncCache is not invalidating on error
This fixes for example that if a
fetch from an asynccache once
failed it never gets retried. So we
only want to cache results, not
exceptions/errors
2024-10-21 14:53:52 +02:00
td 1fe916c619
Merge pull request #1939 from famedly/td/specv1.12
feat: v1.12 spec endpoints support
2024-10-21 14:03:01 +02:00
td 7605b1de31
feat: v1.12 spec endpoints support (BREAKING CHANGE) 2024-10-21 13:58:33 +02:00
Krille-chan 7e8496a70f
Merge pull request #1940 from famedly/nico/update-dependencies-oct-2024
chore: Upgrade dependencies
2024-10-21 13:26:31 +02:00
Nicolas Werner 434ef9b880
chore: Upgrade dependencies
The library annotations are a new lint and we have no need to specify a
custom library name anywhere. The JS annoation on the library also did
nothing, since it doesn't default to the library name in dart and only
modifies the prefix of functions if you pass in a custom name.

The sqflite_common_ffi I removed the upper constraint, which allows us
to use a newer version if our dart version is new enough, but I left it
at the original version because there is no need to require a higher
minimum currently.
2024-10-21 13:04:47 +02:00
td b6945e763d
Merge pull request #1927 from famedly/td/objectHelperOverrides
feat: BREAKING CHANGE add equality, hashcode and toString helper overrides to autogenerated code
2024-10-18 14:13:25 +02:00
td b2e747bb3a
feat: add equality and hashCode overrides for autogenerated models (BREAKING CHANGE) 2024-10-18 14:02:55 +02:00
Nicolas Werner ecbcc5f6fe
Merge pull request #1920 from TheOneWithTheBraid/braid/only-emotes-regex
chore: update Emote-only expressions
2024-10-18 12:58:30 +02:00
The one with the braid 0be79a9ee9
chore: update Emote-only expressions
- update the emote base regex
- update documentation about emote computation
- add source for the emote regex
- explain use of regex replace instead of `calcUnlocalizedBody`

Signed-off-by: The one with the braid <info@braid.business>
2024-10-18 12:54:38 +02:00
Krille-chan d243116ae1
Merge pull request #1938 from famedly/krille/use-object-hash
refactor: Use Object.hash instead of hashCode ^
2024-10-16 15:48:06 +02:00
Krille 2d73192a40
refactor: Use Object.hash instead of hashCode ^ 2024-10-16 15:13:30 +02:00
td 3e35120aa1
Merge pull request #1924 from famedly/nico/unlocalizedBody
Fix various edge cases in the unlocalized body calculation
2024-10-16 14:01:59 +02:00
Nicolas Werner e3d41bb449
fix: properly remove reply fallback from (un)localized body 2024-10-16 13:59:12 +02:00
Nicolas Werner 43bc0e1963
chore: tear down clients in event tests properly
Fixes some noise around logs when I was trying to enable branch
coverage.
2024-10-16 13:59:12 +02:00