Christian Pauly
c3d47b16c6
CI: Use correct image
2021-05-25 10:46:34 +02:00
Christian Pauly
c66e35c16c
refactor: Create a clean database API
2021-05-20 07:36:03 +00:00
Christian Pauly
d1b76b01c4
fix: Try clear and try close database
2021-05-17 14:36:10 +02:00
Christian Pauly
bb9a8ff7e9
fix: SdkError Exception can be anything so should be dynamic
2021-05-17 14:17:46 +02:00
Nicolas Werner
6f52c0e2c3
fix: Allow SDK users to delete the db after logout
2021-05-17 07:38:53 +00:00
Lukas Lihotzki
c196610998
chore: operation names from OpenAPI spec
2021-05-12 13:56:16 +02:00
Christian Pauly
70ee808911
feat: Enhanced alias handling
2021-05-01 09:26:46 +02:00
Lukas Lihotzki
fdf650abd5
refactor: avoid if-condition based on bit value
2021-04-26 18:48:54 +02:00
Lukas Lihotzki
b4f755388a
refactor: high-level loops
2021-04-19 18:58:59 +02:00
Lukas Lihotzki
71fdd28a8a
refactor: await unconditionally
2021-04-16 14:19:42 +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
Lukas Lihotzki
545ce26e39
style: fix format and lint
2021-04-12 14:49:03 +02:00
Lukas Lihotzki
ac9df588d1
chore: recreate database.g.dart
2021-04-12 14:49:03 +02:00
Lukas Lihotzki
d413f54f10
refactor: use OpenSSL for file e2ee
2021-04-12 14:49:03 +02:00
Lukas Lihotzki
761138a56d
refactor: use OpenSSL for AES
2021-04-12 14:49:01 +02:00
Lukas Lihotzki
7faf05fe90
refactor: selectable hash for pbkdf2
2021-04-12 14:48:38 +02:00
Lukas Lihotzki
a25d1932ee
fix: fast pbkdf2 with OpenSSL
2021-04-12 14:48:38 +02:00
Lukas Lihotzki
4f32168017
chore: upgrade to markdown 4.0.0
2021-04-12 14:48:38 +02:00
Lukas Lihotzki
285b14912a
chore: null safe crypto dependencies
2021-04-12 14:48:36 +02:00
Christian Pauly
fb0177ac5f
feat: Implement spaces
2021-04-12 09:24:20 +02:00
Lukas Lihotzki
f69acda419
refactor: use parameters in EncryptedFile constructor
2021-04-06 18:57:34 +02:00
Lukas Lihotzki
2a2a170609
refactor: upgrade http package
2021-04-01 13:43:24 +02:00
Lukas Lihotzki
08043c06f4
refactor: high-level loops
2021-04-01 12:51:45 +02:00
Christian Pauly
0ceb2b26df
refactor: Constants names
2021-03-30 12:43:50 +02:00
Lukas Lihotzki
3d55abdd11
chore: upgrade to ffi 1.0.0
2021-03-29 16:37:29 +02:00
Christian Pauly
9012ce6b2c
fix: Display errors from isolates in the logs
2021-03-17 09:46:13 +01:00
Christian Pauly
0a9f8497e2
chore: Make bootstrap logs more chatty
2021-03-17 08:22:22 +01:00
Krille Fear
9bef8452d3
docs: Clean up dart documentations
...
Changing to `code` blocks where it cant be resolved to [stuff] things.
2021-03-16 12:32:21 +00:00
Krille Fear
9626c64993
docs: Fix deprecation warning
2021-03-16 09:23:44 +00:00
Christian Pauly
97daae3419
refactor: Update to matrix_api_lite 0.2.0
...
This introduces a minor breaking change in the login method.
It now uses correctly the AuthenticationIdentifier
and deprecates the user, medium and address parameter.
2021-03-09 19:14:53 +01: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
Krille Fear
57fde98fec
Merge branch 'soru/less-sql-statements' into 'main'
...
chore: Reduce needed database accessess
See merge request famedly/famedlysdk!666
2021-03-09 18:12:40 +00:00
Krille Fear
d43d4bedee
Merge branch 'soru/fix-ssss-cache' into 'main'
...
fix: A few ssss fixes
See merge request famedly/famedlysdk!668
2021-03-09 18:12:30 +00:00
Sorunome
6d171542af
feat: Escape @room in the reply fallback when replying
2021-03-09 18:29:13 +01:00
Sorunome
c76dc0daa2
chore: Reduce needed database accessess
2021-03-09 18:28:58 +01:00
Christian Pauly
1f8285c3e7
refactor: Room states
2021-03-09 17:28:55 +00:00
Sorunome
7ef288ec91
fix: A few ssss fixes
2021-03-09 18:28:42 +01:00
Krille Fear
44ca96e544
refactor: Update pedantic
...
This enforces to NOT use curly braces in Strings where not needed
and not await non-future variables.
2021-03-09 17:28:04 +00:00
Krille Fear
0d8bddf708
Merge branch 'soru/fallback-keys' into 'main'
...
feat: Add fallback keys support
Closes #136
See merge request famedly/famedlysdk!653
2021-03-03 07:38:32 +00:00
Sorunome
498c7825a5
feat: Add fallback keys support
2021-03-02 16:17:32 +01:00
Christian Pauly
5c35799e18
refactor: Request user
2021-03-01 10:32:04 +01:00
Sorunome
885141968c
Merge branch 'krille/refactor-event-update' into 'main'
...
refactor: Deprecate eventType in EventUpdate
See merge request famedly/famedlysdk!661
2021-02-26 16:11:57 +00:00
Sorunome
5431056c1c
Merge branch 'krille/implement-canrequesthistory' into 'main'
...
feat: Implement can request history calculation
See merge request famedly/famedlysdk!659
2021-02-26 16:09:17 +00:00
Christian Pauly
b8659213ae
feat: Implement can request history calculation
2021-02-26 13:48:29 +01:00
Christian Pauly
c9d3c327f6
refactor: Deprecate eventType in EventUpdate
2021-02-26 13:06:02 +01:00
Christian Pauly
29d0e673e0
fix: Sync error handling
2021-02-24 09:17:41 +01:00
Sorunome
e7c8e754a1
chore: Update matrix scheme parsing to match updated MSC
2021-02-23 16:34:43 +01:00
Christian Pauly
72a7bc1637
feat: Implement upload sync filters
2021-02-18 14:03:58 +01:00
Christian Pauly
c7f78bdaf5
fix: Dont catch sync errors
2021-02-18 13:01:13 +01:00
Nicolas Werner
ac1ad1b897
fix: escape attributes in markdown less aggressively
2021-02-17 22:56:31 +01:00
Sorunome
681b27e269
fix: Don't allow transitive trust unless it is for ouself
2021-02-15 12:19:05 +01:00
Sorunome
34b15e45fc
fix: Better logic when to auto-trigger self-sign
2021-02-13 15:03:10 +01:00
Sorunome
6c2fc1679a
feat: Auto-selfsign and auto-cache when opening ssss keys
2021-02-13 14:55:09 +01:00
Krille Fear
fb5a0bc6a2
Merge branch 'soru/membership-null' into 'main'
...
fix: Make defaults catch if constructor is null
See merge request famedly/famedlysdk!647
2021-02-13 10:38:49 +00:00
Christian Pauly
fc8563849a
feat: Custom Exception and return type for Change Homeserver
2021-02-13 09:08:56 +01:00
Sorunome
f08dabaf03
fix: Make defaults catch if constructor is null
2021-02-11 12:09:44 +01:00
Marcus
ff04b1cce5
Merge branch 'krille/uia-cancel' into 'main'
...
feat: Implement cancel uiarequest
See merge request famedly/famedlysdk!644
2021-02-10 12:46:10 +00:00
Krille Fear
6d7ab8e1d4
Merge branch 'soru/cancel-broadcast-verify' into 'main'
...
fix: Allow to broadcast cancels during key verification
See merge request famedly/famedlysdk!643
2021-02-10 12:44:21 +00:00
Christian Pauly
fd05f642d8
feat: Implement cancel uiarequest
2021-02-10 13:41:09 +01:00
Sorunome
2d70360a8d
fix: Better detection if x-signing and megolm backup is enabled
2021-02-10 13:35:45 +01:00
Sorunome
d07b663866
fix: Allow to broadcast cancels during key verification
2021-02-10 13:05:09 +01:00
Sorunome
fcb8d48bd7
feat: Add command parser
2021-02-09 18:19:38 +01:00
Christian Pauly
d362d6db23
fix: Request history on limited timeline
2021-02-09 15:02:48 +01:00
Krille Fear
1154bc3606
Merge branch 'soru/replay-to-device' into 'main'
...
fix: Add to_device queue to prevent olm session corruptions
Closes #141
See merge request famedly/famedlysdk!640
2021-02-09 08:24:21 +00:00
Sorunome
d373a06aa2
fix: Add to_device queue to prevent olm session corruptions
2021-02-08 14:57:19 +01:00
Christian Pauly
9faf07e31a
refactor: New start direct chat method in client
2021-02-06 10:48:36 +01:00
Christian Pauly
bd4c4a6131
chore: Add more bootstrap logging
2021-02-04 15:33:27 +01:00
Sorunome
0462863ce6
fix: Cache ssss keys if using an existing ssss in bootstrapping
2021-02-03 14:47:42 +01:00
Sorunome
8a4af0c0ea
chore: add keyOrPassphrase to cross-signing selfVerify
2021-02-03 13:02:38 +01:00
Sorunome
0c4db25d05
feat: Add a way to string-encode a recovery key
2021-02-03 11:34:56 +01:00
Sorunome
650484c306
Merge branch 'krille/olmerrorhandling' into 'main'
...
change: Olm exception handling
See merge request famedly/famedlysdk!633
2021-02-03 10:09:43 +00:00
Krille Fear
1236e0bec2
Merge branch 'krille/bootstraptrycatch' into 'main'
...
chore: More try catch in bootstrap
See merge request famedly/famedlysdk!630
2021-02-03 10:08:37 +00:00
Krille Fear
a492fc8f96
Merge branch 'krille/updateuserdevicekeys' into 'main'
...
fix: Dont update user device keys if logged out
See merge request famedly/famedlysdk!628
2021-02-03 10:08:31 +00:00
Krille Fear
f58da0c33f
Merge branch 'krille/invite-direct-chat' into 'main'
...
chore: Determine invites as direct chats too
Closes app#1110
See merge request famedly/famedlysdk!624
2021-02-03 10:08:24 +00:00
Christian Pauly
9fac03639e
change: Olm exception handling
2021-02-03 11:01:01 +01:00
Sorunome
21a5854fbf
fix: Attempt event decryption on fetching replied events
2021-02-02 12:51:43 +01:00
Christian Pauly
ad39e3af25
chore: More try catch in bootstrap
2021-01-29 11:18:18 +01:00
Christian Pauly
fefa140758
fix: Dont update user device keys if logged out
2021-01-27 11:15:41 +01:00
Christian Pauly
d16c9eaf32
fix: Trailing slash homeserver from wellknown
2021-01-27 09:41:18 +01:00
Christian Pauly
94e3e5f681
chore: Determine invites as direct chats too
2021-01-26 14:04:55 +01:00
Christian Pauly
7b29563caa
change: requestHistoryOnLimitedTimeline by default false
2021-01-21 12:17:30 +01:00
Krille Fear
c701268d71
feat: Do well known by default in check homeserver
2021-01-20 13:21:51 +00: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
44a1bcfd57
fix: Accidental pills in URLs
2021-01-20 12:02:40 +01:00
Krille Fear
8de72c869a
Merge branch 'soru/fix-emotes-msc-compliance' into 'main'
...
fix: Emotes MSC compliance
See merge request famedly/famedlysdk!619
2021-01-20 09:42:26 +00:00
Sorunome
70a4dad1c3
fix: Emotes MSC compliance
2021-01-20 10:36:06 +01:00
Christian Pauly
4d1134a2db
fix: Logout after failed init
2021-01-18 22:44:01 +01:00
Sorunome
4597ea3445
Merge branch 'krille/deprecate-sendername' into 'main'
...
change: Deprecate senderName
Closes app#1065
See merge request famedly/famedlysdk!615
2021-01-15 14:45:43 +00:00
Christian Pauly
03e17f890e
change: Deprecate senderName
2021-01-15 14:24:30 +01:00
Sorunome
9d6005ca2a
fix: Smoothen up sending to rooms with extremely many devices
2021-01-14 18:47:51 +01:00
Sorunome
88f8a57863
fix: Correctly generate reply fallbacks
2021-01-14 13:51:17 +01:00
Krille Fear
347a1ee6e0
Merge branch 'krille/hide-verification' into 'main'
...
fix: Hide verification timeline events in lastEvent
Closes app#1059
See merge request famedly/famedlysdk!612
2021-01-14 12:21:15 +00:00
Marcus
0346975894
Merge branch 'krille/setunread' into 'main'
...
change: setUnread locally
Closes app#1045
See merge request famedly/famedlysdk!611
2021-01-13 13:58:19 +00:00
Christian Pauly
c94da38438
fix: Hide verification timeline events in lastEvent
2021-01-13 13:30:47 +01:00
Christian Pauly
fea4dea6a9
feat: Request history on limited timeline
2021-01-13 08:45:24 +01:00
Christian Pauly
783f734713
change: setUnread locally
2021-01-13 08:41:36 +01:00
Sorunome
ef854b3b4c
Merge branch 'krille/fix-sort-at-the-end' into 'main'
...
fix: Sort at the end
Closes app#1037
See merge request famedly/famedlysdk!607
2021-01-12 12:22:21 +00:00
Sorunome
fddced2b3a
fix: Properly handle initial device key uploading failures and better handle OTK upload failures
2021-01-12 12:56:23 +01:00
Christian Pauly
00d03e9330
fix: Sort at the end
2021-01-08 13:40:10 +01:00
Christian Pauly
8b13df8c9d
refactor: Add json parsing for encryption and encrypted content
2021-01-08 13:26:25 +01:00
Christian Pauly
39b776716c
refactor: Olm Exceptions
2021-01-07 12:53:49 +01:00
Sorunome
33500012b2
Merge branch 'soru/other-aggregation-order' into 'main'
...
fix: Prioritize specced replies over unspecced event aggregations
See merge request famedly/famedlysdk!603
2021-01-05 14:44:56 +00:00
Sorunome
c22615d8cd
fix: Prioritize specced replies over unspecced event aggregations
2021-01-05 15:32:47 +01:00
Christian Pauly
88403d19ba
fix: Dont run background task after logged out
2021-01-05 15:15:39 +01:00
Krille Fear
2efe404e13
Merge branch 'soru/disable-master-autoverify' into 'main'
...
fix: Disable auto-verify own master key for now
See merge request famedly/famedlysdk!602
2021-01-05 13:58:37 +00:00
Sorunome
a0f7dd4732
fix: Disable auto-verify own master key for now
2021-01-05 14:54:40 +01:00
Christian Pauly
e806bb9770
refactor: Add verbose logs and refactor something
2021-01-05 14:44:15 +01:00
Christian Pauly
9ffecd845a
chore: Update license header
2021-01-04 10:34:50 +01:00
Christian Pauly
e450a09fb5
refactor: External matrix api
2021-01-04 10:26:29 +01:00
Sorunome
19d96595cc
feat: Add identifier string parsing
2021-01-01 15:28:25 +01:00
Sorunome
cd9f23d6c4
fix: Don't block file decrypting
2020-12-31 20:33:18 +01:00
Sorunome
f6589f9596
fix: Properly clear in-memory outbound sessions when clearing cache
2020-12-31 12:58:41 +01:00
Sorunome
734ec0357b
fix: Throw an error if all existing olm sessions are corrupted
2020-12-31 10:45:22 +01:00
Sorunome
08dcce6225
chore: Add more debugging logs
2020-12-30 18:50:40 +01:00
Sorunome
add19c73a0
fix: Load multiple olm sessions from the database at once for increased performance
2020-12-30 12:52:54 +01:00
Sorunome
6723c01a31
feat: Lazy-send room keys, chunked and sorted by importance
2020-12-29 14:46:36 +01:00
Sorunome
3ff958de4e
fix: properly handle changed cross-signing keys
2020-12-29 14:37:09 +01:00
Krille Fear
03b9c6e2ee
Merge branch 'soru/animated-thumbnail' into 'main'
...
feat: Add animated property to thumbnails
See merge request famedly/famedlysdk!590
2020-12-29 09:38:47 +00:00
Sorunome
58044be1ba
feat: Add animated property to thumbnails
2020-12-29 10:32:18 +01:00
Christian Pauly
19905e348a
fix: Missing null check
2020-12-29 09:44:13 +01:00
Sorunome
68afe362ce
feat: Start megolm sessions while typing
2020-12-28 16:14:07 +01:00
Sorunome
ccd03ecd22
fix: Various small e2ee fixes
2020-12-28 14:49:55 +01:00
Sorunome
768baa7602
chore: Implement a proper deep-copy function for json maps
2020-12-28 14:35:21 +01:00
Sorunome
c6f718adcc
fix: Sort state events of history requests correctly
2020-12-27 10:55:41 +01:00
Christian Pauly
f91349a45e
fix: sendTypingNotification
2020-12-27 09:58:14 +01:00
Christian Pauly
bce0c1d485
Merge branch 'krille/magicstrings' into 'main'
...
refactor: Replace some magic strings
See merge request famedly/famedlysdk!584
2020-12-23 11:28:43 +00:00
Christian Pauly
79fe7b0878
refactor: Replace some magic strings
2020-12-23 12:14:16 +01:00
Christian Pauly
dacd007780
fix: Clear logs on clear()
2020-12-23 11:32:58 +01:00
Sorunome
48904b3a1b
fix: Cache the result of the self-signature check
2020-12-23 10:52:39 +01:00
Marcus Hoffmann
54fc29f203
clear cache fix
2020-12-22 17:34:50 +01:00
Sorunome
0ed5c44919
Merge branch 'soru/verify-device-signatures' into 'main'
...
fix: Verify device signatures before storing devices and block those with invalid signatures
See merge request famedly/famedlysdk!578
2020-12-22 09:27:09 +00:00
Sorunome
6f9deb5ae2
fix: Verify device signatures before storing devices and block those with invalid signatures
2020-12-22 10:22:42 +01:00
Sorunome
f5b1c5fc5f
fix: Don't assume a power level of a person is an int
2020-12-22 10:05:44 +01:00
Sorunome
b00a9e8834
feat: Better determine which devices to encrypt to
2020-12-21 15:26:46 +01:00
Sorunome
dfd88277b9
Merge branch 'soru/autoreply-more-key-requests' into 'main'
...
feat: Auto-Share megolm sessions with other users we know for a fact are...
Closes #127
See merge request famedly/famedlysdk!570
2020-12-21 14:08:17 +00:00
Sorunome
df1c249011
feat: Auto-Share megolm sessions with other users we know for a fact are allowed to see said message
2020-12-21 14:41:44 +01:00
Christian Pauly
cd4dafcd45
chore: Nicer logs in tests
2020-12-21 14:21:12 +01:00
Christian Pauly
3d6dbc9dc3
chore: Implement logoutput
2020-12-21 09:35:36 +01:00
Christian Pauly
715c5ccfb6
fix: Logfilter
2020-12-19 16:43:03 +01:00
Christian Pauly
57286d4c28
feat: Use logger package
2020-12-19 12:04:25 +00:00
Sorunome
405306f84e
feat: Add == operator to the Receipt, User and Room objects
2020-12-19 12:15:50 +01:00
Christian Pauly
fbd7393fce
fix: Dont create new megolm session if one is creating
2020-12-17 12:55:08 +01:00
Sorunome
d1ce075b5b
feat: Automatically cache storable files on upload
2020-12-17 11:59:31 +01:00
Christian Pauly
3856b618e8
refactor: Encryption errors
2020-12-15 08:24:55 +01:00
Christian Pauly
d3c44687f6
fix: Missing null check which F*cks me up!
2020-12-14 13:24:39 +00:00
Christian Pauly
622d5f4b0d
fix: Make AuthenticationData type and session optional
2020-12-11 11:20:03 +01:00
Christian Pauly
a7fa118aa4
Merge branch 'krille/follow-up-clean-up-bootstrap' into 'main'
...
refactor: Follow up clean up bootstrap
See merge request famedly/famedlysdk!559
2020-12-11 10:14:54 +00:00
Christian Pauly
6657e073a0
refactor: Follow up clean up bootstrap
2020-12-11 09:57:45 +01:00
Christian Pauly
cb4d4f3229
Merge branch 'dubutx-main-patch-24260' into 'main'
...
Add missing token property when login
Closes #135
See merge request famedly/famedlysdk!558
2020-12-10 11:51:48 +00:00
Christian Pauly
b563aec7bb
refactor: Add secretstoragekeycontent
2020-12-10 11:03:45 +01:00