Nicolas Werner
7637f9b65c
Merge pull request #1787 from famedly/krille/create-stripped-state-events-in-db
...
refactor: Create StrippedStateEvents for invite rooms when loading from db
2024-05-06 11:38:34 +02:00
Krille
a1a542d98e
refactor: Create StrippedStateEvents for invite rooms when loading from db
2024-05-06 09:42:05 +02:00
Krille-chan
587ce378c7
Merge pull request #1786 from famedly/use-stripped-state-for-room-state
...
refactor: Use strippedstatevent as base for room state and user class
2024-05-03 14:32:21 +02:00
Krille
5b46ae6e31
refactor: Use strippedstatevent as base for room state and user class
...
Before we have used the Event class for all
state events while for invite rooms those
actually were StrippedStateEvent objects. This
created some problems like we needed to set a
fake originServerTs (usually to DateTime.now()).
Actually we don't need the additional keys for
state events most of the time so just using
StrippedStateEvent for all states and typecasting
them to event where needed is not much of a
hassle while we benefit from a more clear
structure.
This also now uses StrippedStateEvent as a base
class for the User class which makes the User
class more minimal as keys like event_id and
origin_server_ts are no longer necessary. As we
create a lot of fake User objects where we had to
put fake values in it, it brings more benefits
than problems to just get rid of those fields.
2024-05-03 14:06:49 +02:00
td
ffe496a234
Merge pull request #1694 from famedly/krille/box-tests-chrome
...
ci: Add tests for database on web
2024-05-02 14:57:18 +05:30
Krille
8c98a0058a
ci: Add tests for database on web
2024-05-02 11:18:35 +02:00
Nicolas Werner
30cb81bc95
Merge pull request #1784 from famedly/td/logCleanup
...
chore: reduce isValidMemEvent log level
2024-04-30 18:19:24 +02:00
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