Commit Graph

3555 Commits

Author SHA1 Message Date
Krille-chan 07e490aa98
Merge pull request #1975 from famedly/krille/use-event-instead-of-event-update-for-decryption
refactor: Use Event instead of EventUpdate for pending decryption event queue and for decrypt events in general
2024-12-30 09:38:45 +01:00
Krille 017a39c792
refactor: Use Event instead of EventUpdate for pending decryption event queue and for decrypt events in general
This should removes an
unnecessary step of
json serialization and deserialization and should
therefore improve performance.
Gets rid of some unnecessary
code as well.
2024-12-27 13:12:44 +01:00
Karthikeyan S 992c8e42f2
Merge pull request #1982 from famedly/karthi/push-rules
feat: support push rule conditions event_property_is & event_property_contains
2024-12-24 17:19:41 +05:30
Karthikeyan S 239a39e2cb
feat: support push rule conditions event_property_is & event_property_contains 2024-12-23 15:21:01 +05:30
Krille-chan 735190cd78
Merge pull request #1980 from famedly/krille/replace-enhanced-enum-with-native-dart-enum
refactor: Replace enhanced enum with native dart enum
2024-12-18 15:49:54 +01:00
Krille 957b4241ad
refactor: Replace enhanced enum with native dart enum 2024-12-18 15:14:20 +01:00
Krille-chan 258ca37692
Merge pull request #1976 from famedly/krille/use-correct-file-size-calculation
fix: Use MB and KB instead of MiB and KiB for file sizes
2024-12-18 11:38:39 +01:00
Krille e33a32e4fe
fix: Use MB and KB instead of MiB and KiB for file sizes 2024-12-18 11:35:23 +01:00
td c39cc71c70
Merge pull request #1974 from famedly/release/v0.36.0
build: Release v0.36.0
2024-12-18 11:33:09 +01:00
Krille a3b9f40810
Merge remote-tracking branch 'origin/main' into release/v0.36.0 2024-12-18 11:29:48 +01:00
Krille-chan 01e6633cbd
Merge pull request #1978 from famedly/krille/fix-ci-does-not-end
chore: Dispose all clients in test
2024-12-18 11:24:47 +01:00
Krille e2f37c2ace
chore: Dispose all clients in test 2024-12-18 11:15:39 +01:00
Malin 9777dfbbd9
Merge pull request #1977 from famedly/krille/update-test-dependencies
build: Update dev dependencies and remove unused dependencies
2024-12-18 10:08:55 +01:00
Krille 814a363387
build: Update dev dependencies and remove unused dependencies 2024-12-18 09:58:05 +01:00
Krille 157fec4e47
build: Release v0.36.0 2024-12-17 14:54:19 +01:00
td 9ae238403e
Merge pull request #1956 from famedly/karthi/register-listener-callback
fix: BREAKING! missed initial updates for stream listener callbacks in P2P & mesh calls
2024-12-17 14:06:03 +01:00
Karthikeyan S f3e25596ac
fix: BREAKING! missed initial updates for stream listener callbacks in P2P & mesh calls 2024-12-17 18:11:13 +05:30
Krille-chan 4249cf16d2
Merge pull request #1971 from konrad-xtention/fix-well-known-cache-invalidation
don't reset wellknown cache on Client initialization
2024-12-17 13:12:50 +01:00
Konrad Pozniak c5532b8923
fix: don't reset wellknown cache on initialization 2024-12-17 13:09:10 +01:00
Krille-chan 5d7b802027
Merge pull request #1973 from famedly/krille/fix-flutter-3-27-lints
refactor: Fix new lints from flutter 3.27
2024-12-17 13:05:49 +01:00
Krille c58f55c012
chore: Make parse version error less sound 2024-12-17 12:55:56 +01:00
Krille bc7b987772
refactor: Remove unnecessary roomId parameter from decryptRoomEvent method 2024-12-17 11:23:58 +01:00
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