Commit Graph

2589 Commits

Author SHA1 Message Date
Malin Errenst 3cdc5ab8de Merge branch 'krille/refactor-database-api' into 'main'
refactor: Make parameters more clear and remove unused methods

See merge request famedly/company/frontend/famedlysdk!1290
2023-05-05 12:03:50 +00:00
Krille e170325cae
refactor: Make parameters more clear and remove unused methods 2023-05-05 13:38:56 +02:00
Nicolas Werner cf0e8200f0 Merge branch 'krille/only-request-valid-mxid' into 'main'
fix: Only request users which are valid mxid

Closes famedly/company/product-management#1003

See merge request famedly/company/frontend/famedlysdk!1288
2023-05-04 13:49:04 +00:00
Krille f21260b035
fix: Only request users which are valid mxid 2023-05-04 15:22:44 +02:00
Nicolas Werner 768e2ccc86 Merge branch 'nico/ssss-flakiness' into 'main'
fix: Always wait for account data to load before returning SSSS status

See merge request famedly/company/frontend/famedlysdk!1287
2023-05-04 08:44:27 +00:00
Nicolas Werner 4abefa906b
fix: Always wait for account data to load before returning SSSS status
Otherwise it would be possible, that we haven't loaded account data, so
we return that cross-signing is disabled and then we load it and return
a different result. Might fix the sentry issue for that.
2023-05-03 17:11:00 +02:00
Nicolas Werner c077c9232b Merge branch 'krille/fix-unencrypted-reactions' into 'main'
fix: Reactions are sent encrypted

See merge request famedly/company/frontend/famedlysdk!1286
2023-05-03 11:10:37 +00:00
Krille 2c14af9a8b
fix: Reactions are sent encrypted 2023-05-03 13:01:10 +02:00
Nicolas Werner a250384eca Merge branch 'td/singleShotSyncBeforeStaleChecker' into 'main'
chore: oneShotSync before staleCallChecker

Closes famedly/company/product-management#658

See merge request famedly/company/frontend/famedlysdk!1284
2023-05-03 06:35:56 +00:00
Nicolas Werner fc032649cf Merge branch 'td/fixStateIssuesMuteStatus' into 'main'
fix: updateMuteStatus after kConnected

See merge request famedly/company/frontend/famedlysdk!1283
2023-05-03 06:35:52 +00:00
td 444ba47022
chore: oneShotSync before staleCallChecker
fix: while singleShotStaleCallChecker code seems to be correct we are seeings some random disconnects in group calls, this makes sure we have all the to-device messages we are supposed to have before checking for stale calls
2023-04-29 19:47:13 +05:30
td f240ece32c
fix: updateMuteStatus after kConnected
fix: makes sure any state/race issues we had with sdp packets or cloned streams get fixed automatically
2023-04-29 19:33:34 +05:30
Krille 1a58a8ec09 Merge branch 'release/v0.20.0' into 'main'
chore: Version bump

See merge request famedly/company/frontend/famedlysdk!1282
2023-04-28 09:57:34 +00:00
Malin Errenst 18ca393299
chore: Version bump 2023-04-28 11:44:11 +02:00
Malin Errenst a0669a505e Merge branch 'krille/set-read-marker-optional-eventid' into 'main'
refactor: Make optional eventId a named parameter

See merge request famedly/company/frontend/famedlysdk!1281
2023-04-28 08:50:26 +00:00
Krille 91617c1892
refactor: Make optional eventId a named parameter
This should not break the
API of consuming apps and
is more intuitive as the
parameter is nullable.
2023-04-28 10:03:04 +02:00
Nicolas Werner d490fe495e Merge branch 'krille/check-max-server-file-size-after-shrink' into 'main'
fix: Check the max server file size after shrinking not before

Closes famedly/company/product-management#1000

See merge request famedly/company/frontend/famedlysdk!1279
2023-04-28 07:38:40 +00:00
Krille c6f7da12d4
fix: Check the max server file size after shrinking not before 2023-04-28 09:26:54 +02:00
Nicolas Werner 65828e11d9 Merge branch 'td/fixCasting' into 'main'
fix: casting of a List<dynamic> to List<String> in getEventList and getEventIdList

See merge request famedly/company/frontend/famedlysdk!1278
2023-04-28 07:22:06 +00:00
td 1928f292b0
fix: casting of a List<dynamic> to List<String> in getEventList and getEventIdList 2023-04-28 00:55:20 +05:30
td aa24c0ce66 Merge branch 'nico/fix-unknown-push-conditions' into 'main'
fix: Skip rules with unknown conditions

See merge request famedly/company/frontend/famedlysdk!1277
2023-04-27 18:05:42 +00:00
Nicolas Werner 831938b8f5
fix: Skip rules with unknown conditions
Without this, when new rules are added with new conditions, we would
always match on them. This would mean all messages now notify. It is
better to skip them instead.
2023-04-26 19:00:24 +02:00
td 970551d8cb Merge branch 'td/initWithStreamForGroupCall' into 'main'
fix: allow passing a WrappedMediaStream to GroupCall.enter() to use as the local user media stream

See merge request famedly/company/frontend/famedlysdk!1275
2023-04-25 09:22:04 +00:00
td 046e2caf7d
fix: allow passing a WrappedMediaStream to GroupCall.enter() to use as the local user media stream
currently in the app we start the group call (but do not enter it), then we use the localStreams provided by it to show the setup page (enable/disable media devices). This causes some issues because the user hasn't joined the group call so the member state events don't update and the group call is killed if they just sit on the setup call page. Also creating a group call, sends notifications in our apps but no one has entered it. With this MR, apps can get their own user media, then edit that stream on setup page add it to GroupCall.enter(stream). This way, a group call doesn't have to be started and we get to do the setup page as well.
2023-04-25 14:18:45 +05:30
Nicolas Werner 2ecb09e555 Merge branch 'nico/bump-to-0.19.0' into 'main'
bump to 0.19.0

Closes famedly/company/product-management#973

See merge request famedly/company/frontend/famedlysdk!1274
2023-04-21 16:52:30 +00:00
Nicolas Werner 033a9cced6
chore: Bump to 0.19.0 2023-04-21 18:42:32 +02:00
Nicolas Werner 62b43bef56 Merge branch 'nico/private-receipts' into 'main'
feat: Support private read receipts

See merge request famedly/company/frontend/famedlysdk!1272
2023-04-21 16:37:25 +00:00
Nicolas Werner 663ab11ec5
feat: Support private read receipts
You can either set them to private on the client or overwrite the
behaviour for that on each readMarker call. This also handles incoming
thread receipts and tries its best to figure out what is the latest
receipt. This however breaks the old m.receipt account data event.
2023-04-21 18:31:15 +02:00
The one with the braid 41485350d9 Merge branch 'kristian/image-dependency' into 'main'
chore: Update image dependency to 4.0.15

See merge request famedly/company/frontend/famedlysdk!1273
2023-04-21 05:10:40 +00:00
Kristian Grønås 101e892cd9
chore: Update image dependency to 4.0.15
Signed-off-by: Kristian Grønås <Kristian.Gronas@student.uib.no>
2023-04-21 06:22:09 +02:00
td cd6525eedb Merge branch 'release/v0.18.4' into 'main'
Release/v0.18.4

See merge request famedly/company/frontend/famedlysdk!1271
2023-04-20 21:37:09 +00:00
td 1dc7b4c911
chore: version bump 2023-04-21 02:57:54 +05:30
td 20c524917f
chore: bump api_lite to 16.1 2023-04-21 02:57:06 +05:30
Nicolas Werner 7f519b5619 Merge branch 'main' into 'main'
Implement Thread creating/sending + added neccessary tests

Closes #351

See merge request famedly/company/frontend/famedlysdk!1262
2023-04-17 13:15:36 +00:00
Nicolas Werner 6f9dde12bf Merge branch 'nico/update-to-spec-1.6' into 'main'
chore: Upgrade to matrix_api_lite 1.6

See merge request famedly/company/frontend/famedlysdk!1267
2023-04-17 11:54:56 +00:00
Dmitriy Bragin 203fc25d7a feat: allow sending messages inside threads 2023-04-17 14:39:11 +03:00
Nicolas Werner 7039c33f3a
chore: Upgrade to matrix_api_lite 1.6 2023-04-17 13:23:51 +02:00
Nicolas Werner 82efa16c49 Merge branch 'nico/run-as-downstream' into 'main'
ci: Allow overriding the template in a manual or triggered pipeline

See merge request famedly/company/frontend/famedlysdk!1266
2023-04-13 18:19:27 +00:00
Nicolas Werner 6a2e47d390
ci: Allow overriding the template in a manual or triggered pipeline
This allows us to manually start a pipeline with a different version of
the template or to automatically start one from a different repo. The
intention is to use this in the ci-template to test changes
automatically.
2023-04-13 18:28:10 +02:00
td c818f7d92b Merge branch 'release/v0.18.3' into 'main'
chore: bump 0.18.3

See merge request famedly/company/frontend/famedlysdk!1265
2023-04-13 15:36:51 +00:00
td 83cd653177
chore: bump 0.18.3 2023-04-13 20:53:40 +05:30
td 412bd71b23 Merge branch 'td/trySetTrackenabled' into 'main'
fix: update mute status on participants changed.

See merge request famedly/company/frontend/famedlysdk!1263
2023-04-13 14:57:04 +00:00
td 1a96683226 Merge branch 'td/forcePcDispose' into 'main'
chore: stopMediaStream on all streams and make sure dispose runs everytime

See merge request famedly/company/frontend/famedlysdk!1264
2023-04-12 11:32:56 +00:00
td 32ba85dc74
chore: stopMediaStream on all streams and make sure dispose runs everytime 2023-04-12 16:36:05 +05:30
td 05ba6368eb
fix: test if setting track enabled on participants changed helps with the media not working randomly issue 2023-04-06 01:18:09 +05:30
The one with the braid ebcf5872c5 Merge branch 'krille/release-0-18-2' into 'main'
chore: Bump version

See merge request famedly/company/frontend/famedlysdk!1261
2023-03-31 11:51:10 +00:00
Krille 85a862be69
chore: Bump version 2023-03-31 13:41:52 +02:00
Krille 9697624180 Merge branch 'krille/clear-hive-collections-correct-order' into 'main'
fix: Clear HiveCollection boxes inside of transaction in order

See merge request famedly/company/frontend/famedlysdk!1260
2023-03-31 11:38:59 +00:00
Krille 4b1bc435e5
fix: Clear HiveCollection boxes inside of transaction in order
This makes sure that the deleteFromDisk() method is
called AFTER the clear while
the execution order was
random before which could
lead to the problem that
Hive tries to clear a box after
it got deleted.
2023-03-31 13:09:01 +02:00
Malin Errenst da61963d37 Merge branch 'malin/refactorVariableNaming' into 'main'
refactor: Rename one-character-variables in device_keys_list.dart

See merge request famedly/company/frontend/famedlysdk!1259
2023-03-30 13:04:31 +00:00