Sorunome
024e0de4b9
fix: Don't lag when sending messages in big rooms
...
The old mentionMap was very inefficient to build and scaled badly with
room member size. This resulted in noticable lag when sending any message
in a large room, no matter if it contained a message or not.
Now, the algorithm is severly optimized and mentions (and emotes) are
only loaded when actually used.
2021-08-29 11:43:46 +02:00
Jayesh Nirve
5ac9b6bd73
fix: dartfmt
2021-08-26 03:50:27 +05:30
Jayesh Nirve
0281261a8c
test: add tests to check if last event is set properly
2021-08-26 03:45:39 +05:30
Lukas Lihotzki
9087f08775
chore: mxc url in Uri
2021-08-23 11:05:47 +02:00
Christian Pauly
9b7474e2f2
refactor: Update to dart 2.12 and opt out in all files
...
This also adds some missing license headers, I have detected while
using license header search&replace to add the
null safety opt out
2021-08-18 08:09:39 +02:00
Christian Pauly
86041513f8
refactor: Remove deprecated moor database
...
We have used some data models which were only used in moor in the tests.
I needed to rewrite them in the original data as well.
Also now the "fake database" on native is the same like on web now with hive.
2021-08-17 10:11:59 +02:00
Lukas Lihotzki
8665f092f4
chore: matrix_api_lite 0.4.0
2021-07-26 14:54:22 +02:00
Christian Pauly
c0c7f68bf3
chore: Rename to matrix
2021-06-18 09:58:25 +02:00
Christian Pauly
26261ecd5e
feat: Add fromJson method for Room
...
This also included to move the room summary to a dedicated object inside
of the Room object because so it is easier to convert this to and from json.
2021-06-01 12:54:16 +02:00
Christian Pauly
c3d47b16c6
CI: Use correct image
2021-05-25 10:46:34 +02:00
Christian Pauly
aa4b0a25fa
refactor: Update matrix_api_lite and remove no longer necessary dep override
...
The logger package has been removed too because the matrix_api_lite no longer
depends on it. It was a unnecessary import anyway because it was transitive in the past.
2021-05-17 07:50:54 +00:00
Lukas Lihotzki
c196610998
chore: operation names from OpenAPI spec
2021-05-12 13:56:16 +02:00
Christian Pauly
ffef732103
refactor: enable more linter rules
...
enable prefer_final_locals and prefer_final_in_for_each linter rules
2021-04-14 10:29:29 +02:00
Christian Pauly
fb0177ac5f
feat: Implement spaces
2021-04-12 09:24:20 +02:00
Christian Pauly
0ceb2b26df
refactor: Constants names
2021-03-30 12:43:50 +02:00
Krille Fear
5cf97886b4
Merge branch 'soru/strip-at-room' into 'main'
...
feat: Escape @room in the reply fallback when replying
See merge request famedly/famedlysdk!667
2021-03-09 18:12:47 +00:00
Sorunome
6d171542af
feat: Escape @room in the reply fallback when replying
2021-03-09 18:29:13 +01:00
Christian Pauly
1f8285c3e7
refactor: Room states
2021-03-09 17:28:55 +00:00
Christian Pauly
5c35799e18
refactor: Request user
2021-03-01 10:32:04 +01:00
Sorunome
a35266f1e4
feat: Replay last sent olm message on olm session recovery from other device
2021-01-20 12:50:52 +01:00
Sorunome
88f8a57863
fix: Correctly generate reply fallbacks
2021-01-14 13:51:17 +01:00
Christian Pauly
c94da38438
fix: Hide verification timeline events in lastEvent
2021-01-13 13:30:47 +01:00
Christian Pauly
e450a09fb5
refactor: External matrix api
2021-01-04 10:26:29 +01:00
Christian Pauly
cd4dafcd45
chore: Nicer logs in tests
2020-12-21 14:21:12 +01:00
Christian Pauly
5167e92913
feat: Update room api
2020-12-04 12:23:40 +01:00
Christian Pauly
323b203718
refactor: algorithm types
2020-11-30 14:26:31 +01:00
Marcus Hoffmann
9b3f9e4ef7
feature: allow marking rooms as unread
2020-11-25 12:03:19 +01:00
Sorunome
588d7eb1a6
fix: Set new state events by sortOrder, rather than originServerTs
2020-11-08 15:13:02 +01:00
Sorunome
343c26b3ed
fix: Decrypt last message on received megolm key
2020-10-26 07:49:02 +00:00
Sorunome
ae79af6ea8
fix: store timestamps in milliseconds to fix decrypt error
2020-10-04 12:12:03 +02:00
Sorunome
053585852e
Merge branch 'send-location' of gitlab.com:JohnAZoidberg/famedlysdk into main
2020-09-18 09:43:10 +02:00
Christian Pauly
cbc66ea308
Fix unencrypted calls
2020-08-17 08:46:04 +02:00
Daniel Schaefer
ede4fd1416
Implement function to send m.location event
...
Allows to share the location with a room.
2020-08-05 23:01:03 +02:00
Sorunome
f48f6bca12
Properly imlement event aggregations
2020-07-27 07:39:48 +00:00
Sorunome
8b3e2e6c86
fix tests
2020-07-14 11:46:37 +02:00
Lukas Lihotzki
842581699c
MatrixFile refactoring for thumbnails
2020-06-29 12:00:26 +00:00
Christian Pauly
13b3c0df4d
Add room tag support
2020-06-24 09:22:08 +00:00
Christian Pauly
2afd0bb3a8
Implement pinned events
2020-06-24 08:41:52 +00:00
Sorunome
f485ca29d8
Fix state attack
2020-06-10 14:17:57 +00:00
Sorunome
f065a92445
fix coverage
2020-06-05 11:32:02 +02:00
Sorunome
0b1d6ae8dd
split off into fake client
2020-06-05 09:59:37 +02:00
Sorunome
fcde6a2459
split encryption stuff to other library
2020-06-04 13:39:51 +02:00
Christian Pauly
c6bf098644
Init matrix_api library
2020-06-03 10:16:01 +00:00
Christian Pauly
066221b84d
Make coverage visible again
2020-05-19 09:28:13 +00:00
Sorunome
f71826739c
Switch to moor
2020-05-15 18:40:17 +00:00
Christian Pauly
6f5ebe4681
[MxContent] Switch to Uri Extension
2020-04-24 09:24:06 +02:00
Christian Pauly
0e61885821
[User] Format displayname
2020-04-23 09:46:10 +00:00
Christian Pauly
a3c5add79e
[SDK] Refactoring with new linter rules
2020-03-30 09:08:38 +00:00
Christian Pauly
f7b03f5668
[Room] Dont wait for send event while sending files
2020-03-17 07:55:25 +00:00
Christian Pauly
31b64a6631
[Room] Clear outbound session only if devices changed
2020-02-27 08:41:49 +00:00
Lukas Lihotzki
3c78f11f2c
[MatrixFile] Use Uint8List instead of List<int>
2020-02-24 17:54:43 +01:00
Christian Pauly
f5b493f9bd
[SDK] Add dart-olm library and update CI
2020-02-15 07:48:41 +00:00
Christian Pauly
edd8aa5c4c
Client feature add device tracking
2020-02-04 13:41:13 +00:00
Christian Pauly
de2872cfee
Update lib/src/client.dart, lib/src/user.dart, lib/src/timeline.dart, lib/src/room.dart, lib/src/presence.dart, lib/src/event.dart, lib/src/utils/profile.dart, lib/src/utils/receipt.dart, test/client_test.dart, test/event_test.dart, test/presence_test.dart, test/room_test.dart, test/timeline_test.dart, test/user_test.dart files
2020-01-04 17:56:17 +00:00