td
da4803b0e4
Merge branch 'krille/fix-null-check' into 'main'
...
fix: Wrong null check in hive database
Closes #246
See merge request famedly/company/frontend/famedlysdk!885
2021-11-10 08:16:01 +00:00
Krille Fear
872b3bff94
fix: Wrong null check in hive database
2021-11-10 09:09:24 +01:00
Nicolas Werner
db7d3b652a
Merge branch 'nico/displayname' into 'main'
...
fix: crash on invalid displaynames
See merge request famedly/company/frontend/famedlysdk!884
2021-11-09 20:43:06 +00:00
Nicolas Werner
d2e7de4702
fix: crash on invalid displaynames
2021-11-09 21:27:55 +01:00
td
8baf9d44c7
Merge branch 'krille/fix-pub-publish' into 'main'
...
fix: Remove broken olm file
See merge request famedly/company/frontend/famedlysdk!883
2021-11-09 16:19:58 +00:00
Krille Fear
1029d1285f
Merge branch 'krille/version' into 'main'
...
chore: Bump version
See merge request famedly/company/frontend/famedlysdk!882
2021-11-09 15:55:54 +00:00
Krille Fear
2c1bc80013
fix: Remove broken olm file
...
I think this is something left over
from the time we had libolm as
a git sub repo.
2021-11-09 16:49:28 +01:00
Krille Fear
ac652536a3
chore: Bump version
2021-11-09 16:46:24 +01:00
Krille Fear
b350d5ab5b
Merge branch 'krille/create-rooms-methods' into 'main'
...
feat: More advanced create chat methods
See merge request famedly/company/frontend/famedlysdk!877
2021-11-09 15:37:44 +00:00
Krille Fear
9abe1ed81d
fix: Dont enable e2ee in test verification DM room
2021-11-09 15:42:43 +01:00
Krille Fear
4cf88e2be6
feat: More advanced create chat methods
...
This includes a new simplified
API to create new direct and
group chats. It also handles
enabling encryption by
default.
2021-11-09 15:39:42 +01:00
Krille Fear
8116436da8
Merge branch 'krille/improve-start-up-time' into 'main'
...
feat: Make waiting on init db optional
Closes #235
See merge request famedly/company/frontend/famedlysdk!881
2021-11-09 14:35:13 +00:00
Krille Fear
475e810523
feat: Make waiting on init db optional
...
This can improve the start-up time of apps.
The three big db reads on init are
loading account data, rooms and
device keys.
This makes it now possible to let
them run parallel
(while it may depend on platform
if this has any effect)
and the init() method can skip
awaiting them. They will
be at least awaited before handling
the first received sync.
So the app can already display the
room list before device keys are
loaded and request the first sync
from the server before anything
else is loaded from the DB.
2021-11-09 15:27:48 +01:00
Nicolas Werner
c443b239b4
Merge branch 'krille/timeline-set-read-marker' into 'main'
...
refactor: Move setreadmarker functionality to timeline
See merge request famedly/company/frontend/famedlysdk!879
2021-11-09 14:14:43 +00:00
Krille Fear
e313426dd9
refactor: Move setreadmarker functionality to timeline
...
Apps had a hard time to just set
the marker for the last event.
The lastEvent in the Room may
not be the actual last event
because we ignore several
event types there. Therefore
it makes sense to refactor
the setUnread method.
Now the timeline class has an
easy method to set the read
marker to the last synced
event, which can only be
known by the timeline if we
want to avoid another DB access.
2021-11-09 14:56:59 +01:00
Nicolas Werner
7f9a75a43d
Merge branch 'krille/timeline-auto-update-list' into 'main'
...
feat: Add onInsert, onRemove and onUpdate cb to timeline
See merge request famedly/company/frontend/famedlysdk!880
2021-11-09 13:08:42 +00:00
Krille Fear
e61faec722
Merge branch 'krille/benchmarks' into 'main'
...
feat: Add more benchmarks for sync, timeline, init
See merge request famedly/company/frontend/famedlysdk!876
2021-11-09 09:43:45 +00:00
Krille Fear
315ed7bdcb
feat: Add more benchmarks for sync, timeline, init
...
This also disables benchmarks if loglevel is higher than debug.
2021-11-09 10:03:59 +01:00
Krille Fear
e1f93637b3
feat: Add onInsert, onRemove and onUpdate cb to timeline
...
This makes it finally possible to
use Flutters AnimatedListView with
our Timeline class and in web we
can now update single elements
instead of the whole timeline
on every change which should
be quiet good for the
performance
2021-11-09 09:55:26 +01:00
Krille Fear
0e2542b172
Merge branch 'krille/fix-own-profile' into 'main'
...
fix: Null error in get own profile
See merge request famedly/company/frontend/famedlysdk!875
2021-11-05 11:39:35 +00:00
Krille Fear
3e1aee6fcd
fix: Null error in get own profile
...
On converting a User object to
a Profile object now leads to an
error. This fixes it.
2021-11-05 12:21:48 +01:00
Krille Fear
3ac1fcb1ff
Merge branch 'krille/version' into 'main'
...
chore: Bump version
See merge request famedly/company/frontend/famedlysdk!874
2021-11-05 10:26:38 +00:00
Krille Fear
a09cf36b2e
chore: Bump version
2021-11-04 14:33:00 +01:00
Sorunome
44451c817c
Merge branch 'krille/event-room-non-nullable' into 'main'
...
refactor: Make room in Event class not nullable
See merge request famedly/company/frontend/famedlysdk!873
2021-11-04 13:28:54 +00:00
Krille Fear
9be87918f1
refactor: Make room in Event class not nullable
2021-11-04 14:21:04 +01:00
Nicolas Werner
938d58da96
Merge branch 'krille/minor-fixes' into 'main'
...
Minor fixes
See merge request famedly/company/frontend/famedlysdk!872
2021-11-04 11:43:30 +00:00
Krille Fear
eb200afe18
refactor: download method should not return null
...
If the decryption fails, it should
throw an exception and not
return null.
2021-11-04 12:22:20 +01:00
Krille Fear
fd2256c5a5
chore: Hide code metrics in IDE
...
This lets my vscode glow too heavy
2021-11-04 12:22:20 +01:00
Krille Fear
ee7761e9d2
Merge branch 'krille/version' into 'main'
...
chore: Bump version
See merge request famedly/company/frontend/famedlysdk!871
2021-11-04 11:16:11 +00:00
Krille Fear
179139c289
chore: Bump version
2021-11-04 12:01:54 +01:00
Sorunome
5b5c110833
Merge branch 'soru/fix-mxc-port' into 'main'
...
fix: obay explicitly set ports in mxc URLs
Closes famedly/fluffychat#620
See merge request famedly/company/frontend/famedlysdk!861
2021-11-03 08:01:05 +00:00
Sorunome
5c87b560b9
fix: obay explicitly set ports in mxc URLs
2021-11-03 08:54:04 +01:00
Krille Fear
63397701b5
Merge branch 'jindra/request-banned' into 'main'
...
feat: choose memberships returned by requestParticipants()
See merge request famedly/company/frontend/famedlysdk!869
2021-11-03 06:26:52 +00:00
Jindra
a0bab1b587
feat: choose memberships returned by requestParticipants()
2021-11-02 09:27:00 +01:00
td
3130931f0d
Merge branch 'krille/dont-upload-keys-after-logout' into 'main'
...
fix: Do not upload keys after logout
Closes #213
See merge request famedly/company/frontend/famedlysdk!866
2021-10-29 13:21:01 +00:00
Krille Fear
766b27427a
Merge branch 'td/invite-update' into 'main'
...
fix: add room invite update to roomStateBox, so invites don't show empty room when app is restarted
Closes #228
See merge request famedly/company/frontend/famedlysdk!865
2021-10-29 13:17:30 +00:00
Nicolas Werner
6ee5771334
Merge branch 'nico/nullsafe' into 'main'
...
Make SDK nullsafe
Closes #201
See merge request famedly/company/frontend/famedlysdk!867
2021-10-28 16:25:25 +00:00
Nicolas Werner
fcc6943d5e
chore: remove rule for ignoring unsafe imports
2021-10-28 17:36:13 +02:00
Krille Fear
176dbbeda9
fix: Do not upload keys after logout
...
This should fix a race condition where uploading keys is still ongoing
after user has already logged out.
2021-10-28 16:46:45 +02:00
Nicolas Werner
b6eed6daff
fix: don't escape @
2021-10-28 16:46:15 +02:00
Nicolas Werner
7d78233bf0
refactor: remove literal boolean comparisons leftover from nullsafety conversion
2021-10-28 14:40:22 +02:00
Nicolas Werner
6e20c53b01
refactor: remove redundant null checks
2021-10-28 14:32:09 +02:00
Nicolas Werner
e6f77924d6
refactor: port encryption tests
2021-10-28 03:44:02 +02:00
Nicolas Werner
32c6e0ec6e
refactor: port client and related tests to nullsafety
2021-10-28 03:44:02 +02:00
Nicolas Werner
3f83e5481c
refactor: port room test to nullsafety
2021-10-28 03:44:02 +02:00
Nicolas Werner
2fd4425099
refactor: port some simple tests to nullsafety
2021-10-28 03:44:02 +02:00
Nicolas Werner
6abd9e7e22
refactor: nullsafe event test
2021-10-28 03:44:01 +02:00
Nicolas Werner
ebd5bc3d24
refactor: make room nullsafe
2021-10-28 00:54:25 +02:00
Jayesh Nirve
b955318edb
fix: add room invite update to roomStateBox, so invites don't show empty room when app is restarted
2021-10-26 16:00:22 +05:30
Jindra
06281d1361
refactor: add export & order package exports
2021-10-25 17:51:20 +02:00