Duan Weiwei
e2efa3e758
Support group call.
2022-06-13 15:26:25 +00:00
TheOneWithTheBraid
3f0a177abf
fix: BoxCollection not re-assignable
...
- make BoxCollection field in Hive collection DB re-assignable
- used by session import
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-06-10 06:17:29 +02:00
Christian Pauly
0ab2b7e443
refactor: add calcLocalizedBodyFallback method
2022-06-09 08:48:37 +02:00
Nicolas Werner
21e9b802a0
chore: Update Matrix API Lite for spaces fixes
2022-06-08 12:55:16 +02:00
Christian Pauly
58cfd1f688
refactor: Rename methods and get rid of all Future getter
2022-06-08 08:30:05 +02:00
Christian Pauly
b00b1636d1
fix: Do not show seen events in push notification
2022-06-07 16:34:07 +02:00
Christian Pauly
f1751a0744
refactor: Use single quotes
2022-06-07 08:53:14 +02:00
Christian Pauly
4692c95910
feat: Allow overriding supportedVersions
2022-06-07 08:53:08 +02:00
Henri Carnot
44b7247d2c
fix: add deprecation mention for getUserByMYIDSync
2022-06-02 11:13:27 +00:00
Henri Carnot
fb18843b08
refactor: make sender getter async
2022-06-02 08:13:21 +00:00
Henri Carnot
69dacc8ccd
feat: allow updating image size
2022-05-31 20:32:35 +00:00
Henri Carnot
2d018d3d5f
feat: added waitForSync method
2022-05-25 10:53:52 +00:00
Christian Pauly
8b1ec5b73c
feat: Add search for events in timeline
2022-05-25 08:54:58 +02:00
Lanna Michalke
dd76e652bf
fix: buggy e2e test
...
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-05-23 14:40:19 +02:00
Lanna Michalke
039062bfdf
feat: implement session export
...
- implement session export
- implement session import
Please note, this is not device dehydration but a fully offline session
dump eligible for e.g. TOR users.
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-05-23 12:06:31 +02:00
Lanna Michalke
8fd3bbe28c
feat: support HiveCollections as Database provider
...
- support Hive's new `CollectionBox` and `BoxCollection`
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-05-21 20:19:52 +02:00
Krille Fear
3f3d4d38d6
refactor: Migrate to Matrix Api Lite 1.0.0
2022-05-17 22:50:04 +00:00
Nicolas Werner
d77940b9c2
Merge branch 'reza/delete_reaction' into 'main'
...
fix: delete reaction
See merge request famedly/company/frontend/famedlysdk!1034
2022-05-17 10:23:17 +00:00
Henri Carnot
ff586b06b1
fix: don't assume element is a string
2022-05-17 09:25:13 +00:00
Reza
fdc2ae01b2
fix: delete reaction
2022-05-17 11:24:02 +02:00
Henri Carnot
7e4096cc63
Merge branch 'henri/fix-remove-duplicated-fully-read' into 'main'
...
fix: remove duplicated read marker
See merge request famedly/company/frontend/famedlysdk!1033
2022-05-16 11:09:37 +00:00
Henri Carnot
bfdd4c810e
Henri/fragmented timeline v2
2022-05-16 10:54:42 +00:00
h.carnot
6c2e525a64
fix: remove duplicated read marker
2022-05-16 10:49:57 +02:00
Christian Pauly
5fbd0a73a4
chore: Make sure account data and device keys is loaded when using isCached
2022-05-12 13:48:13 +02:00
Krille Fear
9a87850092
Revert "feat: non cached fragmented timeline"
...
This reverts commit 09b324674e
2022-05-12 09:46:29 +02:00
Christian Pauly
b8ea213f73
fix: Missing null check in get single room method
2022-05-11 09:45:01 +02:00
Christian Pauly
d22c200b5c
chore: Make path configurable in uiaLogin
2022-05-10 14:47:50 +02:00
Christian Pauly
ac293c29c6
chore: Move auth object passing to external msc implementations
2022-05-09 14:32:08 +02:00
Nicolas Werner
907a0d2317
feat: Store timestamp in the presence events
...
This fixes the presence never being accurate in the app.
2022-05-06 13:04:31 +02:00
Henri Carnot
09b324674e
feat: non cached fragmented timeline
2022-05-03 14:08:33 +00:00
Lanna Michalke
ecdbb06118
feat: introduce new MSC library architecture
...
- migrated to more useful MSC directory structure
- migrate Widgets API into new structure
- add recent emoji API into new structure
The recent emoji API is non-standard and should be compatible with Element.
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-05-03 09:17:57 +02:00
Lanna Michalke
ac16724841
chore: make Client.accountData read-only
...
- for external access, Client.accountData should be read only
- added corresponding getter and private Map
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-05-03 03:29:20 +02:00
Henri Carnot
f23abcd323
feat: get fully read marker
2022-05-02 08:43:54 +00:00
td
60fb103563
Merge branch 'krille/remove-deprecations' into 'main'
...
refactor: Remove old deprecations
See merge request famedly/company/frontend/famedlysdk!1017
2022-04-27 05:35:32 +00:00
Krille Fear
15c5bf0a13
Merge branch 'henri/make-image-size-editable' into 'main'
...
feat: make image size editable
See merge request famedly/company/frontend/famedlysdk!1015
2022-04-23 06:09:44 +00:00
Christian Pauly
bce45cbf2b
refactor: Remove old deprecations
...
They have been lived long
enough and the next version
will have breaking changes
anyway.
2022-04-22 12:44:45 +02:00
h.carnot
eaa2f73bcc
feat: make image size editable
2022-04-21 15:45:38 +02:00
Christian Pauly
eefc40e2d0
refactor: Get rid of dynamic input in checkHomeserver
...
This also fixes the automatic
homeserver detection in the
login method. It no longer uses
the deprecated user.
2022-04-21 15:40:21 +02:00
Christian Pauly
b7e0d10b5a
fix: Wait for keys in pusher
2022-04-14 19:44:19 +02:00
Christian Pauly
4e657f8e09
fix: Ignore no permission errors on requesting users
...
In theory even in invite or left rooms it
can be possible to request a room
state regarding the spec. In most
cases it will throw an error though.
2022-04-14 17:32:52 +02:00
Krille Fear
c5a6cc9a52
Merge branch 'krille/get-event-from-push' into 'main'
...
feat: Get event from push notification
See merge request famedly/company/frontend/famedlysdk!1008
2022-04-14 15:08:46 +00:00
Christian Pauly
5973e629fe
feat: Get event from push notification
2022-04-14 17:01:05 +02:00
Christian Pauly
059a240214
feat: Add more localization strings and add default matrix localizations
2022-04-14 07:54:15 +02:00
Krille Fear
2f4d455eee
fix: Retry sending a file event
2022-04-08 08:41:55 +02:00
Henri Carnot
c6393c67d6
Merge branch 'henri/blurhash-fallback' into 'main'
...
feat: blurhash fallback to thumbnail one
See merge request famedly/company/frontend/famedlysdk!1002
2022-04-07 11:58:48 +00:00
h.carnot
97ca608f60
feat: check thumbnail size
2022-04-06 17:43:31 +02:00
h.carnot
f1c007c655
feat: fallback to thumbnail preview
2022-04-06 11:09:05 +02:00
Krille Fear
e97fe621d6
chore: Allow custom image resizer to be an async method
2022-04-04 14:35:23 +02:00
Christian Pauly
cdd6111ce1
fix: Missing type check in power level calculation
2022-04-03 08:22:53 +02:00
Krille Fear
6f977b7c9d
fix: Store sending files in database and fix retrying to send them
2022-04-01 14:26:57 +02:00
Christian Pauly
117baecfb1
fix: Post load all users on room opening
...
When opening a room we need to
fetch all users from the database.
Otherwise we would need to
update the timeline per user after
creation which should be much slower.
2022-03-31 13:07:40 +02:00
Christian Pauly
ea3910001b
fix: Better fallback message for member events without any change
2022-03-31 12:20:23 +02:00
Christian Pauly
6a57f99c00
feat: Pass through a custom image
...
resize function to the client
This allows the use of the
native imaging package in a more
easy way.
2022-03-30 11:15:04 +02:00
Christian Pauly
445252b3a5
feat: Pass through a custom image
...
resize function to the client
This allows the use of the
native imaging package in a more
easy way.
2022-03-30 10:35:17 +02:00
Christian Pauly
a915cdacc8
feat: Display dummy event in timeline for sending files
...
For thumbnail generation, encrypting
and uploading it is not necessary
to block the UI. The given file
event should already be displayed
in the timeline. This placed it in
the UI and adds a additional
fileSendingStatus property so the
app can fetch the current status.
2022-03-30 10:27:42 +02:00
Krille Fear
23e0d29a0d
Merge branch 'krille/try-again-sending' into 'main'
...
feat: Try again uploading file events for one minute
See merge request famedly/company/frontend/famedlysdk!986
2022-03-30 06:38:01 +00:00
Nicolas Werner
e2d2a69e45
Merge branch 'voip/move-voip-methods-from-room' into 'main'
...
chore: Move the call methods in room to the voip class.
See merge request famedly/company/frontend/famedlysdk!980
2022-03-25 23:51:55 +00:00
Duan Weiwei
cac4dc967d
chore: Move the call methods in room to the voip class.
2022-03-25 23:51:55 +00:00
Christian Pauly
f86b242dcf
feat: Try again uploading file events for one minute
...
This also refactors the code for
sending events with the same
Duration of one minute.
2022-03-25 12:54:42 +01:00
Christian Pauly
abddbee24c
feat: Set loglevel in client constructor
...
This is just more convenient than
doing it in a line after the constructor.
2022-03-25 12:12:43 +01:00
Krille Fear
c897127be5
Merge branch 'henri/fix-olm-session-creation-issue' into 'main'
...
fix: remove pendaing outbound group session creation on completed or errored
Closes #252
See merge request famedly/company/frontend/famedlysdk!987
2022-03-25 09:17:49 +00:00
Christian Pauly
6b36d6bd79
feat: Get event in a room faster by searching in database
2022-03-24 14:10:41 +01:00
h.carnot
2cd4eb5e2c
fix: remove pendaing outbound group session creation on completed or errored
2022-03-24 13:52:28 +01:00
TheOneWithTheBraid
c362ead49a
feat: implement mofifying widgets
...
- add predefined MatrixWidget factories
- allow to create widgets
- allow to delete widgets
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-03-24 10:40:10 +01:00
Krille Fear
b5336cf589
Merge branch 'henri/event-getLocalizedBody-remove-markdown' into 'main'
...
feat: allow removing markdown formating from localized body
See merge request famedly/company/frontend/famedlysdk!979
2022-03-24 08:09:43 +00:00
Krille Fear
f1be211845
Merge branch 'henri/fix-room-loading' into 'main'
...
fix: room members loading
See merge request famedly/company/frontend/famedlysdk!982
2022-03-24 08:04:17 +00:00
Henri Carnot
809fe9e621
fix: room members loading
...
States were used before being fetched from the database.
Thus, room membership states weren't set, and so,
user display names weren't be fetched from the database.
2022-03-24 08:04:17 +00:00
Christian Pauly
657a332b03
refactor: Simplify relates to and make it more type safe
...
Everything in content is user generated
so we should never expect correct
types and return null instead.
2022-03-22 11:46:48 +01:00
h.carnot
b47a5f8dff
feat: added doc
2022-03-18 11:42:38 +01:00
h.carnot
77347a44ff
feat: allow removing markdown formating
2022-03-18 11:40:10 +01:00
Techno-Disaster
885da787b4
fix: send oldusername in displayname changed event
2022-03-17 18:51:26 +05:30
Nicolas Werner
62780b5b2f
Merge branch 'krille/fix-reactions-trigger-notifications' into 'main'
...
fix: Dont encrypt reactions
See merge request famedly/company/frontend/famedlysdk!974
2022-03-15 10:40:52 +00:00
Christian Pauly
f1d422b89a
fix: Dont encrypt reactions
...
This fixes that server
sends notifications for reactions.
2022-03-15 08:42:53 +01:00
Krille Fear
93b11dd8ca
Merge branch 'krille/matrix-file-improvements' into 'main'
...
refactor: Make MatrixFile final and move all image calculation into isolate
Closes famedly/fluffychat#863
See merge request famedly/company/frontend/famedlysdk!972
2022-03-15 07:40:59 +00:00
Krille Fear
9fa5667234
refactor: Make MatrixFile final and move all image calculation into isolate
...
This makes all fields in a MatrixFile final and
the object therefore stateless. It also moves
all calculations into the isolate. After some
benchmarks it seems that this does not
really speed up the thumbnail creation
but it does no longer block the UI for
some seconds.
2022-03-15 08:27:40 +01:00
Nicolas Werner
83298cc98b
fix: own profile containing mxid
...
There are a few ways to fix this. We could skip events, where we don't
have the state in memory yet or always do a /profile request and cache
that.
I chose to go with loading the event from the database if necessary. If
we have a room in the db, we should have our memberevent in the db. In
some cases we might not (if the server thinks our memberevent is super
redundant), but I think the spec doesn't really allow that and it
doesn't happen in practice. And even if it would, we probably would want
our member event ASAP. And if we have no rooms, we fetch it from the
server as before instead of constructing a member with an MXID as the
username.
fixes https://gitlab.com/famedly/company/frontend/frontend-issue-inbox/-/issues/65
2022-03-15 02:13:09 +01:00
Krille Fear
58f77cacdb
fix: Rooms sort order after login
...
A two years old workaround prevented
the room sorting for the initial sync. But
this is definitely no longer needed.
2022-02-28 12:19:33 +01:00
Krille Fear
ecc60efea9
fix: Change password using email authentication
2022-02-19 13:37:35 +01:00
Krille Fear
215de3b948
Merge branch 'krille/fix-background-uia' into 'main'
...
fix: UIA request stucks forever on unexpected matrixExceptions
See merge request famedly/company/frontend/famedlysdk!966
2022-02-19 11:32:40 +00:00
Krille Fear
1f8691dd70
Merge branch 'krille/thumbnail-size' into 'main'
...
chore: Increase default thumbnail size to 800
See merge request famedly/company/frontend/famedlysdk!968
2022-02-19 11:16:08 +00:00
Krille Fear
d780ba77c4
chore: Increase default thumbnail size to 800
2022-02-19 11:29:10 +01:00
Christian Pauly
c0ec4c3990
fix: sortRooms should be triggered right before onSync is called
2022-02-18 12:11:10 +01:00
Krille Fear
a7f8838522
fix: UIA request stucks forever on unexpected matrixExceptions
2022-02-17 20:54:03 +01:00
Christian Pauly
b30b340b43
fix: hasNewMessage true when last event is sent
2022-02-16 08:09:57 +01:00
td
d543a0314d
Merge branch 'krille/return-homeserver-summary' into 'main'
...
feat: Return homeserver summary on checkHomeserver
See merge request famedly/company/frontend/famedlysdk!963
2022-02-16 07:07:53 +00:00
Krille Fear
6b610d0115
feat: Return homeserver summary on checkHomeserver
2022-02-16 07:07:53 +00:00
cloudwebrtc
63d347de8e
fix: Correctly end the call.
2022-02-15 22:02:56 +08:00
Christian Pauly
01dfdb29fd
fix: Has new messages compares ts
...
This compares the origin server timestamp which might not map
to the real sort order of the timeline. But it is the best
solution for now.
2022-02-15 10:26:17 +01:00
Lanna Michalke
ade7e7e910
fix: handle dynamic content for pinned events
...
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-02-14 18:18:34 +01:00
Christian Pauly
68fcee98cb
fix: Show reactions as last events and refactor hasNewMessage
...
Reactions are triggering push
notifications and should therefore
be displayed as last events
in the room list of a client.
The body should just display
the reaction key.
This fixes that rooms with
new reactions can't set to
read.
2022-02-14 15:06:22 +01:00
Christian Pauly
63e69eaa27
feat: Add hasNewMessages flag to room
...
This makes it possible to check
if muted rooms have unread
messages.
2022-02-14 10:48:57 +01:00
Christian Pauly
843afe7aa4
fix: Sort rooms after updating the UI on web
...
FluffyBox behaves different on
web transactions which leads
to the result that _sortRooms()
is performed before the
rooms UI can be there. This
leads to an unsorted room list
on web.
2022-02-14 09:30:33 +01:00
Krille Fear
ff55444b52
Merge branch 'voip/fix-black-screen-with-system-button' into 'main'
...
fix: Fix black screen when end screensharing with system buttons.
Closes famedly-web#268
See merge request famedly/company/frontend/famedlysdk!955
2022-02-14 08:03:23 +00:00
Nicolas Werner
4a52540006
fix: exception on removed widgets
...
And widgets without a name.
fixes #267
2022-02-13 23:11:53 +01:00
cloudwebrtc
48c0d03bd2
fix: Fix black screen when end screensharing with system buttons.
2022-02-13 07:13:58 +08:00
Christian Pauly
d7f0da3545
fix: Call onChange on remove aggregation event
2022-02-08 08:34:20 +01:00
Krille Fear
84e87279e8
fix: Remove onHistoryReceived which was broken anyway
2022-02-07 15:15:44 +01:00
Krille Fear
8e7db020bf
fix: Remove aggregation event doesnt trigger onChange
2022-02-07 15:06:38 +01:00
Christian Pauly
846d5b0f46
fix: Add redaction events to timeline
...
The redaction events should not
be displayed in the GUI but it
is the job of the app to hide
them from the timeline while
the SDK should offer an
accurate list of ALL timeline
events by default.
2022-02-04 08:55:47 +01:00
Christian Pauly
12f846e101
fix: Resize image with compute by using const class arguments
2022-02-04 08:04:18 +01:00
Christian Pauly
01d13e7e2c
refactor: Implement on history received in timeline
...
In order to make delta updates
for GUIs displaying the
timeline events easier, the
onHistoryReceived callback
has been introduced.
2022-02-03 09:38:39 +01:00
TheOneWithTheBraid
7d2a99b500
fix: null-safety issues with widgets
...
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-02-02 16:17:22 +01:00
TheOneWithTheBraid
fa6bd12294
feat: implement to get a room's widgets
...
Please note that this does not implement *modifying* widgets,
as this requires a full implementation of the Matrix Integration Manager
API first. This is to be done later.
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-02-02 08:38:56 +01:00
Christian Pauly
48572f8f10
fix: Trigger onChange for index on aggregation event update
2022-02-01 11:45:29 +01:00
Krille Fear
f8a2a603ad
Merge branch 'room-timeline-onupdate' into 'main'
...
feat: expose Timeline.onChange to Room.getTimeline
See merge request famedly/company/frontend/famedlysdk!943
2022-01-26 12:16:07 +00:00
TheOneWithTheBraid
ed6f9c06b7
feat: expose Timeline.onChange to Room.getTimeline
...
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-01-26 12:52:30 +01:00
Nicolas Werner
999dbb4434
Merge branch 'voip/fix-call-breaks-caused-by-aborting-screen-sharing' into 'main'
...
Fix call breaks issue caused by aborting screen sharing.
Closes famedly-web#212
See merge request famedly/company/frontend/famedlysdk!938
2022-01-26 10:57:09 +00:00
Lanna Michalke
58f6cde0bf
BREAKING CHANGE: high-level hadling of image sizes
...
- By using [package:image](https://pub.dev/packages/image ), the
`MatrixImageFile` was given automatically generated width and heigth.
- Moreover, `MatrixImageFile` was given a factory to create the image
file from a given maximal dimension.
- When sending images without explicitly providing a thumbnail, the
thumbnail is automatically generated based on the provided image.
- The blur hash in generated automatically based on the provided image.
Fixes:
https://gitlab.com/famedly/company/frontend/famedly-web/-/issues/162 , https://gitlab.com/famedly/fluffychat/-/issues/756
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-01-19 13:10:17 +01:00
Marcel
1b11efc9eb
fix: Use where and map instead of a loop and a removeWhere
2022-01-17 22:06:29 +00:00
cloudwebrtc
38c7109aee
fix: fix call breaks issue caused by aborting screen sharing.
2022-01-17 21:16:36 +08:00
MTRNord
d77d49430a
fix: Remove sorts that shouldnt be required.
2022-01-15 21:54:13 +01:00
cloudwebrtc
fba3c1e5f6
fix: Fix turn credentials format issue for safari.
2022-01-14 20:56:51 +08:00
Lanna Michalke
cab03aa73b
fix: Allow unpadded base64 decoding
2022-01-11 09:02:34 +00:00
Krille Fear
b472dd7b92
fix: Room Member updates should always be cached
...
I think the commit which broke it was this: e3bd0cf1 It makes sure that only important state events get cached and room member events are not important state events and so new invites have no room member events cached. It makes sense to also allow room member events here to always be cached as they are special typed.
2022-01-08 10:44:22 +01:00
Krille Fear
bcca5e11f2
feat: Let sendDefaultMessage return false on encryption failure
2022-01-07 17:12:20 +00:00
Krille Fear
6d8fabd1e0
Merge branch 'krille/fix-request-user' into 'main'
...
fix: Requested users are not stored
See merge request famedly/company/frontend/famedlysdk!930
2022-01-04 06:28:00 +00:00
Krille Fear
e9e9dcb4aa
Merge branch 'krille/newlinter' into 'main'
...
refactor: Remove unnecessary type checks and imports
See merge request famedly/company/frontend/famedlysdk!929
2022-01-03 11:45:06 +00:00
Christian Pauly
62a04b52d4
fix: Requested users are not stored
...
Fake Matrix Events for storing
need more paramters to
actually get stored. This fixes
it by creating a fake event ID
which should be unique.
2021-12-26 09:14:52 +01:00
Krille Fear
3bce8b4489
refactor: Remove unnecessary type checks and imports
2021-12-23 11:46:45 +01:00
Krille Fear
326f1f3223
fix: Localize reactions
...
In notifications in FluffyChat we
have "Unknown event m.reaction"
for reactions. But it should just be
enough to display the body so it
should look like:
"username: :thumbs_up_emoji:"
2021-12-23 11:43:00 +01:00
Krille Fear
e5fde4f801
chore: bump version
2021-12-16 08:17:36 +00:00
Nicolas Werner
d687973b01
fix: fallback in body for replies to replies
2021-12-15 19:21:41 +00:00
Sorunome
fa5abfca92
fix: ignore 4xx errors when re-sending the to_device queue
...
The to_device queue was introduced to ensure integrity if e.g. the
server temporarily failed when attempting to send a to_device message.
If, for whatever reason, the server responds with a 4xx error, though,
then we want to ignore that to_device message from the queue and move on,
as that means that something different was fundamentally wrong. This
helps to fix the to_device queue clogging up, making clients incapable
of sending to_device events anymore, should such clogging happen.
2021-12-08 13:00:53 +01:00
cloudwebrtc
c0e4008903
fix: Store the call state, fix the invite cannot be sent.
2021-12-06 19:32:33 +08:00
Sorunome
b009ada0ac
fix: Allow consecutive edits for state events in-memory
...
The lastEvent was incorrect when trying to process an edit of an edit.
This fixes that by allowing consecutive edits for the last event.
2021-12-06 11:11:21 +01:00
Sorunome
e3bd0cf139
fix: Only save state events from sync processing in-memory if needed
...
If we dump all state events from sync into memory then we needlessly
clog up our memory, potentially running out of ram. This is useless
as when opening the timeline we post-load the unimportant state events
anyways. So, this PR makes sure that only the state events of post-loaded
rooms and important state events land in-memory when processing a sync
request.
2021-12-06 11:09:50 +01:00
Sorunome
872bc04674
fix(ssss): Strip all whitespace characters from recovery keys upon decode
...
Previously we stripped all spaces off of the recovery when decoding it,
so that we could format the recovery key nicely. It turns out, however,
that some element flavours also format with linebreaks, leading to the
user having to manually remove them. We fix this by just stripping *all*
whitespace off of the recovery key.
2021-12-05 12:19:22 +01:00
Krille Fear
43d5b1c523
fix: Add missing calcDisplayname global rules to client constructor
...
This two parameters were
already documented but
were missing in the
constructor. They can
also be final.
2021-12-03 12:34:52 +01:00
cloudwebrtc
4ebf5b2553
Merge branch 'voip/add-voip-function' of https://gitlab.com/famedly/company/frontend/famedlysdk into voip/add-voip-function
2021-12-02 23:20:16 +08:00
cloudwebrtc
61da76a26a
chore: Implement the onAnsweredElsewhere function.
2021-12-02 23:18:01 +08:00
Krille Fear
e5c8e4f4fe
chore: Time unit replacement.
2021-12-02 15:12:59 +00:00
cloudwebrtc
9bc35a216a
chore: Use `fireCallEvent` instead of emit.
2021-12-02 23:04:33 +08:00
cloudwebrtc
1f519703a8
fix: Fix the call function in flutter and dart.
2021-12-01 00:47:11 +08:00
cloudwebrtc
7efe123274
Merge branch 'main' into voip/add-voip-function
2021-11-30 22:31:10 +08:00
cloudwebrtc
edeea47dec
chore: Improve the code.
2021-11-29 22:26:18 +08:00
Krille Fear
fe2d184faf
fix: userOwnsEncryptionKeys always returns true
...
Actually the homeserver sends an
empty object in the deviceKeys map
so we need to check if this object
is there but is empty.
2021-11-28 10:37:56 +01:00
cloudwebrtc
01276bbf60
chore: add more interface for delegate.
2021-11-27 01:29:11 +08:00
cloudwebrtc
60618d1775
chore: Add WebRTC delegate interface.
2021-11-27 01:20:04 +08:00
Krille Fear
44934d5911
Merge branch 'krille/enable-e2eerecovery' into 'main'
...
chore: Enable E2EE recovery by default
See merge request famedly/company/frontend/famedlysdk!915
2021-11-26 13:05:13 +00:00
cloudwebrtc
72584d679c
chore: bump version for webrtc_interface.
2021-11-26 20:33:57 +08:00
Krille Fear
ac06864627
feat: Migrate olm sessions on database migration
...
This adds a getAllOlmSessions
endpoint to the database API and
implements them in both
implementations. This also
adds it to the database
migration.
2021-11-26 08:17:43 +01:00
Krille Fear
03418bfe8b
chore: Enable E2EE recovery by default
...
We have disabled it by default to
prevent using workarounds as
long time solutions and to not
miss bugs. But in a federated
context we can not be sure that
we all Matrix clients are ever
bug free and we have now the
onEncryptionError Stream
anyway.
2021-11-25 15:48:17 +01:00
Krille Fear
79b74e2bbf
fix: Remove user avatar
2021-11-25 09:00:59 +01:00
Nicolas Werner
64257735ac
Merge branch 'krille/limited-timeline-behavior' into 'main'
...
fix: Limited timeline clears too much events
Closes #217
See merge request famedly/company/frontend/famedlysdk!907
2021-11-23 15:06:29 +00:00
Nicolas Werner
da57be44e4
Merge branch 'krille/fix-decrypt-room-event' into 'main'
...
fix: Decrypt last event of a room
Closes #251
See merge request famedly/company/frontend/famedlysdk!904
2021-11-23 15:03:45 +00:00
Krille Fear
bc6ec5e592
Merge branch 'krille/idb' into 'main'
...
feat: Implement FluffyBox database
See merge request famedly/company/frontend/famedlysdk!900
2021-11-23 15:00:42 +00:00
Krille Fear
01eb851364
fix:
2021-11-23 15:48:18 +01:00
Sorunome
17d8b4d25f
Merge branch 'krille/add-clear-cache-command' into 'main'
...
feat: Add clear cache command
See merge request famedly/company/frontend/famedlysdk!908
2021-11-23 13:06:53 +00:00
Krille Fear
ee21121a63
fix: Workaround for null boolean
...
deviceKeysList.outdated is not nullable but we have seen this error
in production: `Failed assertion: boolean expression must not be null`
So this could either be a null safety bug in Dart or a result of
using unsound null safety. The extra equal check `== true` should
safe us here
2021-11-23 13:53:07 +01:00
Krille Fear
921c694888
feat: Add clear cache command
2021-11-23 09:48:08 +01:00