Commit Graph

3364 Commits

Author SHA1 Message Date
td c5b5a1cf14
chore: reduce isValidMemEvent log level 2024-04-30 21:40:43 +05:30
td d90178d8f5
Merge pull request #1783 from famedly/release/v0.28.1
chore: release v0.28.1
2024-04-30 18:08:50 +05:30
td 6dbbfb3f70
chore: more gh_release fixes 2024-04-30 17:59:10 +05:30
td f83351a4b5
chore: release v0.28.1 2024-04-30 17:53:28 +05:30
td 20d6850e70
Merge pull request #1781 from famedly/td/exposefakeapi
chore: expose fake matrix api
2024-04-30 17:51:28 +05:30
td a2e8830df0
chore: expose fake matrix api 2024-04-30 17:42:36 +05:30
td 5cf1e65838
Merge pull request #1782 from famedly/td/meshCallInviteFix
fix: allow mesh group call invite
2024-04-30 17:31:49 +05:30
td 0ff643f652
fix: allow mesh group call invite 2024-04-30 17:12:25 +05:30
Nicolas Werner e6631f4718
Merge pull request #1780 from famedly/krille/remove-unused-variable
refactor: Remove unused variable
2024-04-30 08:01:27 +02:00
Krille 7ed809d748
refactor: Remove unused variable 2024-04-30 07:52:43 +02:00
td 4f60e1d604
Merge pull request #1770 from famedly/krille/fix-display-invite-state-after-restart
fix: Fetch invite state after restart app
2024-04-29 19:12:49 +05:30
krille-chan a8214832c0
fix: Fetch invite state after restart app
This makes sure that the
users for an invitation are
correctly loaded so that we
can display the avatar, the
room displayname and
wether the room is a direct
chat or not.
2024-04-29 15:33:54 +02:00
td 83e6b2a6c2
Merge pull request #1779 from famedly/td/voipDocs
chore: update voip readme
2024-04-26 21:50:31 +05:30
td 66bd16208d
chore: update voip readme 2024-04-26 20:07:20 +05:30
Krille-chan d7d5c245c1
Merge pull request #1764 from morguldir/morguldir/accept-unset-presence
Don't fail sync if a presence event contains an empty presence field
2024-04-26 13:17:19 +02:00
morguldir df6c11775d
fix: Don't fail sync if a presence event has an empty presence field 2024-04-26 13:08:01 +02:00
td df0a67e3b1
Merge pull request #1777 from famedly/release/v0.28.0
chore: release v0.28.0
2024-04-26 16:02:24 +05:30
td 894a9a5554
fix: conduit container 2024-04-26 15:53:14 +05:30
td 70ea8de931
fix: checkout repo for gh_release job 2024-04-26 15:23:13 +05:30
td 4b598243fe
chore: release v0.28.0 2024-04-23 18:11:12 +05:30
td 32a425a362
Merge pull request #1696 from famedly/td/fosdemDemoFork
feat: famedly calls
2024-04-23 17:32:41 +05:30
td 20a31c1908
feat: famedly calls 2024-04-23 15:52:35 +05:30
td 8926415485
Merge pull request #1632 from famedly/td/gh_release
chore: create_gh_release job
2024-04-23 15:48:11 +05:30
td a0545cd0a7
chore: create_gh_release job 2024-04-23 15:39:46 +05:30
Nicolas Werner 7f1146434f
Merge pull request #1656 from famedly/td/lcov
feat: lcov and tag olm tests
2024-04-23 12:02:17 +02:00
td 281510b950
feat: lcov and tag olm tests 2024-04-23 15:21:46 +05:30
td 78e5abc0ae
Merge pull request #1769 from famedly/krille/set-power-type-safe
fix: Make room.setPower more type safe and avoid change powerlevel in RAM before sending request to server
2024-04-18 14:35:16 +05:30
krille-chan 4732580c3d
fix: Make room.setPower more type safe and avoid change powerlevel in RAM before sending request to server
This fixes the bug that the
actual dart Map in the state
has been manipulated because
we have not worked with a
copy of the map. Also this
crashes if the powerlevelmap
would had a wrong type in
users.
2024-04-18 10:56:28 +02:00
td cebc00cb39
Merge pull request #1768 from famedly/krille/use-prevbatch-for-paginating-in-search
refactor: Use prevBatch from server for pagination in event search
2024-04-18 14:11:32 +05:30
krille-chan 00616f02ac
refactor: Use prevBatch from server for pagination in event search
When using the searchEvent()
method it was impossible to
paginate to the next
chunk when one chunk had
0 returned events. This
fixes it by returning the
prevBatch and makes it
possible to insert the prevBatch
again. sinceEventId is still
working but now deprecated.
2024-04-18 10:32:27 +02:00
td efa2d6f566
Merge pull request #1765 from famedly/krille/can-change-own-powerlevel
fix: canChangePowerLevel should return true for own user
2024-04-17 16:35:50 +05:30
krille-chan edcf331bf3
fix: canChangePowerLevel should return true for own user 2024-04-17 12:56:34 +02:00
Karthikeyan S 41df6d74e6
Merge pull request #1767 from famedly/release/v0.27.0
build: Bump version 0.27.0
2024-04-16 17:57:56 +05:30
Karthikeyan S 56fc21186e
build: Bump version 0.27.0 2024-04-16 17:42:49 +05:30
td cb03e77324
Merge pull request #1766 from famedly/karthi/downgrade-sqflite-common-ffi
chore: downgrade sqflite_common_ffi to support dart sdk v3.2.0
2024-04-16 15:34:41 +05:30
Karthikeyan S 696d8859d6
chore: downgrade sqflite_common_ffi to support dart sdk v3.2.0 2024-04-16 08:45:09 +05:30
Krille-chan eac0bdb9fd
Merge pull request #1763 from famedly/td/audiomscfix
fix: remove msc3245 key from audio events
2024-04-12 12:46:30 +02:00
td 24ccf5eeff
fix: remove msc3245 key from audio events
looks like we do not support this anyway and this confuses bridges, basically removes all voice message related things from the sdk
2024-04-12 15:53:13 +05:30
Krille-chan b31a49613f
Merge pull request #1762 from famedly/krille/pass-reason-when-invite-to-room
chore: Pass reason parameter when invite user to a room
2024-04-12 11:52:18 +02:00
Krille 9099dd74c0
chore: Pass reason parameter when invite user to a room 2024-04-12 11:30:59 +02:00
Krille-chan 4ef461bb79
Merge pull request #1754 from famedly/krille/move-file-storage-to-mixin
refactor: Move file storage to mixin to not import dart:io
2024-04-12 11:11:45 +02:00
Krille 49e6d55d32
refactor: Move file storage to mixin to not import dart:io
Original issue and former solution by
The one with the braid <info@braid.business>
Special thanks for pointing out the problem.

This fixes that dart:io is imported into the
SDK database by moving it into it's own mixin which
makes it reusable and platform independent by
using conditional imports.
2024-04-12 08:51:48 +02:00
The one with the braid 87c0e7fbe8
feat: add Web build test
Signed-off-by: The one with the braid <info@braid.business>
2024-04-12 08:50:53 +02:00
The one with the braid 4ba6e25689
fix: dart:io import in matrix_sdk_database
- removes `Directory` field in high-level `MatrixSdkDatabase`
- migrates `Directory fileStoragePath` to `Uri fileStorageLocation`
- makes file operations in `MatrixSdkDatabase` conditional on
  `dart.libraries.js_util`
- implements a tiny stub of the file operations used in `MatrixSdkDatabase`

It seems like the Flutter tool can compile despite these imports. Sadly
the Dart standalone dart2js compiler doesn't reach there. While
refactorying the code, I decided it's likely cleaner to have a `Uri` as
storage location provider than using some fake directory or String as
relacement.

The advantage of a `Uri` at this place is the explicit `Uri.directory`
constructor available to ensure type and encoding safe directory
locations supporting both Windows and *nix.

Additionally, admitted, that's an edge-case, one could even
easily extend the use of a `Uri` based descriptor to support future
storage location accesses (e.g. IPFS or custom schemes for e.g. local
web browser based file system APIs). Using a `Uri`, one would only need
to override the three methods making use of the `fileStorageLocation`
property to handle different Uri schemes too.

Signed-off-by: The one with the braid <info@braid.business>
2024-04-12 08:50:44 +02:00
Krille-chan b7bc6c3b79
Merge pull request #1636 from famedly/krille/add-documentation
docs: Add documentation
2024-04-11 15:43:03 +02:00
Krille 70eb3e3431
docs: Add documentation 2024-04-11 15:36:30 +02:00
td 800ae456bb
Merge pull request #1758 from famedly/krille/do-not-use-invitor-avatar-url-for-room
fix: Do not use invitor avatar_url for room
2024-04-11 15:15:37 +05:30
krille-chan d0b1d4a651
fix: Do not use invitor avatar_url for room
When user A invites user B to
a group chat, the avatar getter
should not return the
avatar of the inviting user A.
This is not intuitive. A client might
decide to do so but IMO it makes
no sense to do this by default.
If the
room is a DM invite, user A's
avatar is already used in the
code block before.
2024-04-11 11:39:20 +02:00
Krille-chan bd52205ae9
Merge pull request #1759 from famedly/krille/make-via-field-non-nullable
refactor: Make via fields not nullable
2024-04-11 11:38:44 +02:00
Krille 849bd7ca9b
refactor: Make via fields not nullable 2024-04-11 11:32:23 +02:00