Commit graph

776 commits

Author SHA1 Message Date
Sorunome c13f66c85f
in theory sign others keys 2020-05-25 15:30:53 +02:00
Sorunome 97a10c7de1
Merge branch 'master' into soru/cross-signing 2020-05-25 13:22:13 +02:00
Christian Pauly cbf5069e32 Add more tests 2020-05-25 09:34:43 +00:00
Christian Pauly f7b29f3703 Ignore key requests from unknown devices 2020-05-25 07:31:17 +00:00
Sorunome 5fde85cbfa
format 2020-05-23 17:05:55 +02:00
Sorunome 280cd4fc16
first SSSS stuff 2020-05-23 17:04:27 +02:00
Christian Pauly c01f75bafa Add olm error stream 2020-05-22 15:51:45 +02:00
Sorunome 1a8ddb2750
fixes 2020-05-22 13:22:28 +02:00
Sorunome c9a0c5302a
format 2020-05-22 13:18:45 +02:00
Sorunome 29721f00a8
Merge branch 'master' into soru/cross-signing 2020-05-22 13:18:36 +02:00
Sorunome 384e5962d6 properly persist decryption of events 2020-05-22 11:15:48 +00:00
Christian Pauly 27b4a620e5 Add code formatting CI job 2020-05-22 10:12:18 +00:00
Sorunome 74361fff0e
don't cache via db and properly handle invalid signatures 2020-05-22 11:04:27 +02:00
Christian Pauly f4a5ccdaa9 Merge branch 'soru/more-emotes' into 'master'
add emote rooms and state key room emotes

See merge request famedly/famedlysdk!318
2020-05-21 15:01:10 +00:00
Sorunome 97ef716be8 add emote rooms and state key room emotes 2020-05-21 15:01:10 +00:00
Sorunome 788353120b
accidental inifnite recursion 2020-05-21 16:55:30 +02:00
Sorunome 10372a9dbe
verified devices are not blocked 2020-05-21 16:52:25 +02:00
Sorunome fc8625d30e clear timeline events cache on limited updates 2020-05-21 14:52:14 +00:00
Sorunome eaefdb64ca
make that cleints can only use "verified" 2020-05-21 16:51:15 +02:00
Sorunome ead44e4014
fix tests and stuffs 2020-05-21 15:32:06 +02:00
Sorunome af961b99dc
get device verification status based on cross signing 2020-05-21 15:20:33 +02:00
Christian Pauly 998ee66650 Merge branch 'soru/null-device' into 'master'
make sure keys are valid

See merge request famedly/famedlysdk!313
2020-05-21 06:28:21 +00:00
Christian Pauly 9fad348d22 Merge branch 'soru/persist-inbound-session-index' into 'master'
properly persist inbound group session indexes

See merge request famedly/famedlysdk!316
2020-05-21 06:25:57 +00:00
Sorunome 7a41f4726f
properly persist inbound group session indexes 2020-05-20 10:36:05 +02:00
Sorunome a3fc73dfc1
make e2ee recovery logic optional 2020-05-20 10:24:48 +02:00
Sorunome 0fabed9cc3
make sure keys are valid 2020-05-20 09:37:32 +02:00
Christian Pauly 11d788b68f Merge branch 'soru/auto-request-room-keys' into 'master'
Automatically request for keys from other devices, if not found

See merge request famedly/famedlysdk!308
2020-05-19 09:34:13 +00:00
Sorunome 9b67992a3a Automatically request for keys from other devices, if not found 2020-05-19 09:34:11 +00:00
Sorunome b2e5ad0880
fix notification count 2020-05-19 10:15:23 +02:00
Sorunome a613c84e27 Merge branch 'soru/async-sync-processing' into 'master'
decrypt events in sync loop, making it async

See merge request famedly/famedlysdk!310
2020-05-19 08:14:46 +00:00
Sorunome f734788eda Merge branch 'soru/rotate-outbound-sessions' into 'master'
Add rotation of outbound group sessions

See merge request famedly/famedlysdk!309
2020-05-19 08:11:19 +00:00
Christian Pauly b9d041d005 close database konditional 2020-05-19 08:05:17 +00:00
Sorunome 867b9c9123
forgot to hit ctrl+s *shame* 2020-05-19 09:58:59 +02:00
Sorunome c5e4e2c751
decrypt events in sync loop, making it async 2020-05-19 09:49:37 +02:00
Sorunome a0fe8f4bad
Add rotation of outbound group sessions 2020-05-18 18:33:16 +02:00
Sorunome 09da5fa4ca
automatically clear an outbound session, if you are unable to decrypt your own messages 2020-05-18 17:31:40 +02:00
Sorunome edaaa286e3
fix decryption of some events throwing an error 2020-05-18 16:45:53 +02:00
Christian Pauly 5166dd8d51 dispose client 2020-05-18 14:01:14 +00:00
Christian Pauly a27c93e7a8 Merge branch 'krille/add-profile-cache' into 'master'
Add profile cache

Closes #65

See merge request famedly/famedlysdk!302
2020-05-18 11:45:49 +00:00
Christian Pauly a6c7d88f00 Add profile cache 2020-05-18 11:45:49 +00:00
Christian Pauly e50f6cc6c0 Merge branch 'soru/fix-last-event' into 'master'
fix lastEvent

See merge request famedly/famedlysdk!301
2020-05-18 11:42:38 +00:00
Sorunome 11a83725d1 Merge branch 'soru/emoji-verification' into 'master'
implement SAS, which is needed for emoji verification

See merge request famedly/famedlysdk!300
2020-05-18 10:57:54 +00:00
Sorunome 2615cd2727
fix lastEvent 2020-05-18 12:56:24 +02:00
Sorunome 2b8f4b0d19
remove print statement for good 2020-05-18 12:39:03 +02:00
Sorunome 50889f9f30
flutter analyze 2020-05-18 11:45:51 +02:00
Sorunome a4c693558d
generalize verification methods 2020-05-18 11:44:23 +02:00
Sorunome e87053b4f1
forgot to add 1000 to the numbers 2020-05-17 15:32:06 +02:00
Sorunome 0219a42c07
implement SAS 2020-05-17 15:25:42 +02:00
Christian Pauly f560a43669 Store incoming keys in dummy room if not found 2020-05-17 08:16:04 +00:00
Christian Pauly 81b9d79518 Merge branch 'soru/fix-lazy-session-keys' into 'master'
lazy-load group session keys

See merge request famedly/famedlysdk!293
2020-05-17 07:54:34 +00:00
Sorunome 06b601c41b lazy-load group session keys 2020-05-17 07:54:34 +00:00
Sorunome 77bfd9b19d
fix logged state on connect() 2020-05-16 10:03:59 +02:00
Christian Pauly e66a904ee0 Add tombstone enum 2020-05-16 09:47:19 +02:00
Christian Pauly 1e4f356280 Krille/implement well known 2020-05-16 06:42:56 +00:00
Christian Pauly e8436198bb Merge branch 'soru/emote-packs' into 'master'
change emote packs slightly

See merge request famedly/famedlysdk!295
2020-05-15 19:11:30 +00:00
Sorunome d6e9131b12
change emote packs slightly 2020-05-15 21:05:28 +02:00
Sorunome 9d1c7f16a5
add pill parsing to markdown 2020-05-15 21:00:10 +02:00
Christian Pauly 98d2f8d6bb Merge branch 'soru/moor' into 'master'
Switch to moor

Closes #52

See merge request famedly/famedlysdk!284
2020-05-15 18:40:17 +00:00
Sorunome f71826739c Switch to moor 2020-05-15 18:40:17 +00:00
Sorunome 39637b6c91
fix emote messages (/me) 2020-05-15 18:44:59 +02:00
Christian Pauly 7485637340 Update lib/src/room.dart 2020-05-14 07:21:52 +00:00
Christian Pauly eada53b15f Update lib/src/room.dart 2020-05-14 07:06:18 +00:00
Christian Pauly 7d0c45e3ae Update lib/src/utils/pusher.dart 2020-05-12 11:19:26 +00:00
Christian Pauly 4253f0ce9a Implement getPushers 2020-05-12 13:03:02 +02:00
Sorunome 2352eb406a add markdown parsing 2020-05-09 14:00:46 +00:00
Christian Pauly 9944844cc3 Implement localized String represantions 2020-05-06 10:13:30 +00:00
Christian Pauly fae6661b04 Fix downloadanddecrypt 2020-05-05 09:07:09 +02:00
Christian Pauly c22090a68d Fix blurry thumbnails 2020-05-04 14:03:07 +00:00
Christian Pauly 07badfc9a9 Update lib/src/room.dart 2020-05-04 08:38:12 +00:00
Christian Pauly 06f650cf57 Fix thumbnail quality and update e2ee 2020-05-04 09:33:10 +02:00
Christian Pauly 2064f53c34 Fix thumbnail scaling 2020-05-04 09:22:44 +02:00
Christian Pauly 0e3fabcef3 Make thumbnail width height and quality configurable 2020-05-04 08:59:05 +02:00
Christian Pauly f65ef4cdcf Make thumbnailsize configurable 2020-05-04 08:46:53 +02:00
Christian Pauly 6f9a52bb5a Fix clear rooms 2020-05-04 08:19:15 +02:00
Marcel 811589a895 [Room] Send correct filter on the messages endpoint
Took 6 minutes
2020-05-02 05:02:11 +00:00
Christian Pauly 4405e933dd Add change password feature 2020-04-28 16:23:01 +02:00
Christian Pauly 28a6ffaf24 Make MAX_FILE_SIZE overrideable and reduce to 1mb 2020-04-28 11:55:36 +00:00
Christian Pauly e3ced175de Fix profile uri parse 2020-04-28 11:36:20 +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 7ce5002237 [MatrixFile] Fix thumbnail encoding 2020-04-23 08:18:33 +00:00
Christian Pauly 69b13bb24d [Room] Fix relates to key while encryption 2020-04-20 10:56:36 +00:00
Christian Pauly 757f61d890 [Thumbnail] Fix info size 2020-04-17 16:51:01 +02:00
Christian Pauly 81c12c81f2 [Client] Implement thumbnails 2020-04-17 14:11:13 +00:00
Christian Pauly 99b99e7ac9 [Client] Allow r0.6.0 to connect 2020-04-09 13:28:41 +00:00
Christian Pauly 7c7a0f15e5 [Client] Remove lazyloadingcheck 2020-04-02 11:29:07 +00:00
Christian Pauly 066dcbf395 [Room] Fix restore session 2020-04-02 08:39:00 +00:00
Christian Pauly aba692ba81 [Event] Fix download 2020-03-31 17:47:19 +02:00
Christian Pauly 0dcc818365 [RoomKeyRequest] Fix forwardKey 2020-03-31 17:18:37 +02:00
Christian Pauly 5f140a62ad [RoomKeyRequest] Fix index 2020-03-31 16:30:00 +02:00
Christian Pauly e098318a3f [Event] Fix send request cancellation 2020-03-31 12:24:53 +02:00
Christian Pauly 82affbc14f [Room] Improved sendFileEvent 2020-03-30 11:59:24 +02:00
Christian Pauly a3c5add79e [SDK] Refactoring with new linter rules 2020-03-30 09:08:38 +00:00
Christian Pauly 887694bbf0 [Client] Fix publish keys 2020-03-26 14:15:08 +01:00
Christian Pauly 1abda1fa13 [Client] Fix mark keys as published 2020-03-26 14:02:07 +01:00
Christian Pauly a2d9bbfc9e [MatrixIdStringExtension] Add null check 2020-03-25 13:56:49 +01:00
Christian Pauly c160a7c9ca [Room] Ignore errors on requestUser 2020-03-25 13:09:42 +01:00
Christian Pauly 44993f3506 [Client] Fix timeout exception 2020-03-25 11:03:47 +01:00
Christian Pauly 69ee4ffd08 [Client] Send request cancellation unencrypted 2020-03-24 09:13:39 +01:00
Christian Pauly bcb12d8a4b [Client] Add global push mute method 2020-03-23 11:47:55 +01:00
Christian Pauly 2c1caf9072 [Client] Enable file encryption 2020-03-23 09:37:51 +00:00
Christian Pauly e9c0ec8511 [Client] Enhanced error handling in decryptToDeviceEvent 2020-03-23 08:51:14 +01:00
Christian Pauly 237bd40a15 [Client] Fix claim keys not in loop 2020-03-20 10:46:12 +01:00
Christian Pauly 44ed403cd6 [Room] Request only 10 events on getTimeline 2020-03-20 08:59:29 +00:00
Christian Pauly 04eb904629 [TurnServerCredentials] Fix type 2020-03-19 14:39:18 +00:00
Christian Pauly f7b03f5668 [Room] Dont wait for send event while sending files 2020-03-17 07:55:25 +00:00
Christian Pauly bb44fa6ac0 [Event] Implement file encryption 2020-03-16 10:38:03 +00:00
Christian Pauly 9e971674e8 [Presence] Calculate time 2020-03-15 09:31:49 +01:00
Christian Pauly 57bd600738 [Room] Fix decrypt last message 2020-03-13 12:18:24 +00:00
Christian Pauly 391a9af2ba [Room] Fix create megolm session 2020-03-13 10:09:49 +00:00
Christian Pauly 39717f5917 Sendtodevice enhance performance 2020-03-06 12:04:27 +00:00
Christian Pauly 208ee0581a [LibOlm] Update to fix encryption 2020-03-02 09:28:59 +01:00
Christian Pauly cb8450de06 [Room] Wipe session when sending session keys wasnt successful 2020-02-27 11:16:26 +01:00
Christian Pauly 202f997320 Room fix block devices 2020-02-27 08:52:45 +00:00
Christian Pauly 31b64a6631 [Room] Clear outbound session only if devices changed 2020-02-27 08:41:49 +00:00
Christian Pauly 73841bd2f6 Merge branch 'matrixfile-refactor-uint8list' into 'master'
[MatrixFile] Use Uint8List instead of List<int>

See merge request famedly/famedlysdk!227
2020-02-27 07:15:30 +00:00
Lukas Lihotzki 3c78f11f2c [MatrixFile] Use Uint8List instead of List<int> 2020-02-24 17:54:43 +01:00
Lukas Lihotzki f483fb437e [Client] Remove unused variable in upload 2020-02-24 17:06:07 +01:00
Christian Pauly ccb1945d00 [Room] Fix setState 2020-02-24 10:34:28 +01:00
Christian Pauly 63bcce28de [Room] Fix last message when encrypted 2020-02-24 09:10:35 +01:00
Christian Pauly f4be2aa023 [PublicRoomEntry] Fix fromJson 2020-02-22 18:13:13 +00:00
Christian Pauly 3e6552dc7a [PublicRoomEntry] Fix join method 2020-02-22 17:59:50 +00:00
Christian Pauly 9884da02d2 [Lib] Fix exports 2020-02-22 17:46:48 +00:00
Christian Pauly 2738c5a49d [Client] List public rooms 2020-02-22 18:20:50 +01:00
Christian Pauly 8a7468db01 [Event] Key sharing with all users in a room 2020-02-22 09:08:01 +01:00
Christian Pauly ac3a9a6b3a [Room] Implement key sharing 2020-02-21 15:05:19 +00:00
Christian Pauly 7982a60d7c [Room] Enhance decrypt error handling 2020-02-21 09:56:40 +01:00
Christian Pauly 3926539661 [Event] Enhance decryption 2020-02-21 08:44:05 +00:00
Christian Pauly 2ab6eb2a0c [Client] Dont create new inbound session when session matches 2020-02-20 15:29:15 +00:00
Christian Pauly 49e643625c [Client] Add debug prints 2020-02-20 07:28:15 +00:00
Christian Pauly 92c9c709cc [Lib] Fix export 2020-02-19 13:35:34 +00:00
Christian Pauly 77b11d78db [Client] Implement device management 2020-02-19 14:26:38 +01:00
Christian Pauly ce1fd3ecd8 Merge branch 'room-fix-send-unencrypted' into 'master'
[Room] Send unencrypted if encryption not enabled

Closes #53

See merge request famedly/famedlysdk!209
2020-02-19 10:10:34 +00:00
Christian Pauly b47705e169 Merge branch 'client-fix-count-userids-encrypted-rooms' into 'master'
[Client] Only joined or invited users in encrypted rooms count

Closes #55

See merge request famedly/famedlysdk!208
2020-02-19 10:01:22 +00:00
Christian Pauly a52fef7c4b [Room] Send unencrypted if encryption not enabled 2020-02-19 10:59:21 +01:00
Christian Pauly de211b08bc [Client] Only joined or invited users in encrypted rooms count 2020-02-19 10:56:41 +01:00
Christian Pauly 5d73f06cd3 [DevicekeysList] Clear outbound group session on blocking device 2020-02-19 10:54:08 +01:00
Christian Pauly 48da43bcc6 [Client] Fix trust own device 2020-02-19 10:24:54 +01:00
Christian Pauly d05d22e6af [Room] Decrypt only encrypted events 2020-02-19 08:54:56 +01:00
Christian Pauly 662f18d86e [Client] Free everything 2020-02-18 13:37:36 +00:00
Christian Pauly 974d507292 [Client] Minor olm fixes 2020-02-18 11:49:02 +01:00
Christian Pauly cf31237457 [Room] Fix clean up 2020-02-18 09:23:55 +00:00
Christian Pauly 10f0424c97 [Client] Send correct key in olm 2020-02-18 08:55:18 +01:00
Christian Pauly 2b513957a1 [Room] Fix message index error 2020-02-18 07:42:52 +00:00
Christian Pauly e2c34b101e [Room] Return m.bad.encrypted 2020-02-18 08:02:17 +01:00
Christian Pauly f13fc98609 [Client] Try again to upload keys 2020-02-17 18:10:53 +01:00
Christian Pauly 600820a40d [Event] Fix getReplyEvent 2020-02-17 15:42:11 +00:00
Christian Pauly 54e88e6c95 [Client] Fix storing verified and blocked devices 2020-02-17 12:49:01 +01:00
Christian Pauly 26bf204bd5 [Client] Add timeout factor 2020-02-17 08:15:32 +00:00
Christian Pauly 8bf7eacc46 [DeviceKeys] outdated by default not null 2020-02-15 14:21:27 +01:00
Christian Pauly f8c65d5d59 [Client] Trust own device 2020-02-15 13:33:03 +01:00
Christian Pauly 45193624c2 [Room] Fix internal message type 2020-02-15 12:21:03 +00:00
Christian Pauly 3c386391cf [Timeline] Try to decrypt but not block 2020-02-15 08:58:08 +00:00
Christian Pauly f5b493f9bd [SDK] Add dart-olm library and update CI 2020-02-15 07:48:41 +00:00
Christian Pauly 86a192efd8 [Event] Fix null sender 2020-02-14 14:06:46 +00:00
Christian Pauly 8e0373cdb9 [States] Return null on null key 2020-02-14 13:16:26 +00:00
Christian Pauly e2fde3fa92 Merge branch 'event-fix-reply-check' into 'master'
[Event] Fix reply check

See merge request famedly/famedlysdk!185
2020-02-11 11:28:26 +00:00
Christian Pauly cc02668593 [Event] Fix reply check 2020-02-11 11:28:26 +00:00
Christian Pauly 214201f9d3 [Client] Clean up logs 2020-02-11 11:23:37 +00:00
Christian Pauly 3404cffada [Event] Add support for replies 2020-02-11 11:06:54 +00:00
Christian Pauly 9395b8fcd3 [Identifier] Implement string extension 2020-02-10 12:33:18 +01:00
Christian Pauly 24d08d83b9 [Client] Always claim own devices 2020-02-05 08:23:47 +00:00
Christian Pauly edd8aa5c4c Client feature add device tracking 2020-02-04 13:41:13 +00:00
Christian Pauly 0c7efaff62 [OpenIdCredentials] Fix type 2020-02-03 09:45:33 +00:00
Christian Pauly 995da7d255 [Client] Upload with StreamedRequest 2020-02-01 12:08:14 +00:00
Christian Pauly c710768937 [Event] Fix typo 2020-01-29 12:11:21 +00:00
Christian Pauly f2c92aa9bb [MatrixException] Add nullchecker 2020-01-29 09:21:23 +00:00
Christian Pauly 289c5c618d [Room] Fix join invitation to direct chat 2020-01-28 09:15:53 +01:00
Christian Pauly c3737499c4 [User] Kick and ban only available with correct membership 2020-01-27 09:24:57 +01:00
Christian Pauly 653883a22d [Store] Make lightweight store possible 2020-01-24 16:42:51 +00:00
Christian Pauly b362ef5610 [Store] Simplify store API 2020-01-24 09:34:38 +00:00
Christian Pauly 82c8120c1b [Room] Fix storeless timeline 2020-01-23 10:43:01 +00:00
Christian Pauly 3b47577dd1 [Client] Clean up debug logs 2020-01-22 07:24:21 +00:00
Christian Pauly 4cc5d263ab [SDK] Implement more matrix methods 2020-01-18 15:49:15 +01:00
Christian Pauly 9bc94c8780 Merge branch 'exception-fix-list' into 'master'
[MatrixException] Fix list

See merge request famedly/famedlysdk!164
2020-01-14 15:19:41 +00:00
Christian Pauly 0b393497f8 [Client] Add register methods 2020-01-14 15:16:24 +00:00
Christian Pauly 2751015ab7 [MatrixException] Fix list 2020-01-14 15:15:59 +00:00
Christian Pauly 5fbeceb217 [SDK] Refactoring 2020-01-14 11:27:26 +00:00
Christian Pauly 9b0d746fee [Client] Send empty object with request 2020-01-13 12:52:08 +00:00
Christian Pauly 27da3041b4 [Client] Fix openid method 2020-01-13 11:52:42 +00:00
Christian Pauly 0be548e4e9 [Client] Implement request openID 2020-01-12 11:30:05 +01:00
Christian Pauly b53d1d22c3 [Timeline] 2 seconds cooldown for requestHistory 2020-01-08 14:20:42 +00:00
Christian Pauly 4d1e5e3ed3 [Store] Async storing of prev batch 2020-01-06 20:21:25 +00:00
Christian Pauly fa277f1834 [Room] Fix get send event permissions 2020-01-05 08:15:25 +00:00
Christian Pauly ea4e767aa6 [Lib] Add receipts to lib 2020-01-05 07:40:50 +00:00
Christian Pauly 103949576f [Client] Add call methods 2020-01-04 19:36:17 +01: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
Christian Pauly 3b6d4565ae [Client] Sort rooms on first sync 2020-01-04 16:31:14 +00:00
Christian Pauly 348d9f8552 [Client] Add testing setter for rooms 2020-01-04 13:51:00 +00:00
Christian Pauly 90a06ebce5 [Client] Make callbacks to streams 2020-01-04 11:29:38 +01:00
Christian Pauly c72f38d5ec [Event] Fix types 2020-01-04 10:31:27 +01:00
Christian Pauly aef05a4ee6 [Client] Convert all input to UTF16 2020-01-03 13:27:49 +00:00
Christian Pauly 6698b4fb69 [Client] Better room sorting 2020-01-03 13:21:15 +00:00
Christian Pauly 7e71c5ad5f [SDK] Make analyzer much more happy 2020-01-02 15:33:26 +01:00
Christian Pauly 8e4a604f1f [SDK| Big refactoring 2020-01-02 14:09:49 +00:00
Christian Pauly 4c6c3715d9 [Connection] Throw MatrixErrors 2019-12-29 10:28:33 +00:00
Christian Pauly 496349078b [Archive] Fix requesting archive 2019-12-19 11:26:21 +00:00
Christian Pauly 7c1389d3d1 [User] Membership getter nullcheck fix 2019-12-18 13:44:31 +01:00
Christian Pauly 311a39c50c [Room] Detect mimetype automatically 2019-12-18 11:46:25 +00:00
Christian Pauly bb87ecc1f2 [Room] Set unread notifications to 0 manually 2019-12-17 12:07:25 +01:00
Christian Pauly 834f72704a [Room] Add sendTypingInfo method 2019-12-16 11:55:13 +00:00
Christian Pauly bff394fbb5 [Event] Add support for redactions 2019-12-12 12:19:18 +00:00
Christian Pauly 52db925608 [Room] Fix displayname calc with heros 2019-12-05 16:42:12 +00:00
Christian Pauly fcff9e3c9c [Room] Fix power level setters and getters 2019-12-05 10:06:23 +01:00
Christian Pauly fd43196c9d [Room] New push rule methods 2019-12-04 09:58:47 +00:00
Christian Pauly 579570a19e Merge branch 'presence-enhance-features' into 'master'
[Presence] Enhance presences

See merge request famedly/famedlysdk!130
2019-12-04 09:39:07 +00:00
Christian Pauly c566948be5 [Client] Add profile getter 2019-11-30 10:36:30 +01:00
Christian Pauly 918bec4c09 [Presence] Enhance presences 2019-11-30 10:21:11 +01:00
Christian Pauly 888155fbc7 [Archive] enhance lazyload archive 2019-11-29 16:19:32 +00:00
Christian Pauly fe0dac62c9 [Room] Add missing null check 2019-11-29 12:14:59 +00:00
Christian Pauly 7cc64497a5 [Timeline] Add get event by id method 2019-11-29 11:12:04 +00:00
Christian Pauly 7ae3432c5d [Room] Fix name 2019-11-26 12:46:46 +00:00
Christian Pauly b06c6254c3 Merge branch 'room-fix-state-handling-again' into 'master'
[Room] Fix state handling for real

See merge request famedly/famedlysdk!123
2019-11-26 06:40:03 +00:00
Christian Pauly 8051b360ac [Room] Add powerlevels getter 2019-11-26 06:38:44 +00:00
Sorunome 0356a24b76
[Room] Fix state handling for real 2019-11-22 09:55:34 +01:00
Christian Pauly 4ff3146d63 [Room] Fix state handling 2019-11-21 14:10:24 +00:00
Christian Pauly 930bc26be6 [Room] Add getter and setter for states 2019-11-20 13:42:08 +00:00
Christian Pauly 87ef1af3e4 [Room] fix states with statekeys 2019-11-20 13:02:23 +00:00
Christian Pauly b58dd46e8d [User] Request user sync and async 2019-11-15 11:08:43 +00:00
Christian Pauly 7a3056f741 [Room] Fix last event calculation 2019-11-13 14:08:27 +00:00
Christian Pauly f01b706ed8 [Room] Fix broken invite rooms 2019-11-13 13:56:20 +00:00
Christian Pauly 3a19bfb542 [User] fix null statekey 2019-11-07 09:46:18 +00:00
Christian Pauly a128497283 [Connection] Add type check 2019-11-07 09:03:05 +00:00
Christian Pauly 69a19e6de2 [Connection] Fix debug print 2019-10-30 09:00:22 +00:00
Wilko Manger 8a09a2b837 [RoomList] Add copyWith method 2019-10-28 15:09:45 +01:00
Christian Pauly 5579171297 [Room] Null check if room name is null 2019-10-25 12:09:43 +00:00
Christian Pauly 88b9cdd345 [Connection] Clean up receipts 2019-10-25 08:02:56 +00:00
Christian Pauly 1ef67fcd4b [Sdk] fix minor bugs 2019-10-24 09:53:53 +00:00
Christian Pauly 9049d3b4f5 [Room] enhance performance 2019-10-24 09:39:39 +00:00
Christian Pauly 8b67d58ecc [MatrixFile] Path always lower case 2019-10-23 18:14:04 +00:00
Christian Pauly 1e070656da [Upload] Make all file names lower case 2019-10-23 15:53:00 +00:00
Christian Pauly c618fd57b1 [Connection] Fix wrong null check 2019-10-23 10:31:26 +00:00
Christian Pauly 32141618b6 [Ephemerals] Add new features 2019-10-20 09:44:14 +00:00
Christian Pauly 77f62f042d [Files] Use MatrixFile 2019-10-18 11:05:07 +00:00
Christian Pauly 89f58a272b [ChatTime] Fix time display 2019-10-16 13:59:16 +00:00
Christian Pauly 4ad22731a6 [Upload] Fix file type 2019-10-16 09:09:09 +00:00
Christian Pauly 9d4b3bbc18 [Connection] Content-Type only in PUT and POST 2019-10-16 07:47:28 +00:00
Christian Pauly 3a7dff596e [ContactSearch] Hotfix 2019-10-14 16:50:10 +00:00
Christian Pauly 2fecf4c233 [ContactList] Get list from rooms 2019-10-14 13:20:03 +00:00
Christian Pauly 646dfcf807 [Logout] Fix wrong endpoint 2019-10-09 11:16:26 +00:00
Christian Pauly 846cc4b0fa [Flutter] fix dependency 2019-10-04 09:44:32 +00:00
Christian Pauly f8ed0384dd [Intl] Remove dependency 2019-10-02 12:40:16 +00:00
Christian Pauly 0a46ec9551 [Store] Make database private 2019-10-02 11:33:01 +00:00
Christian Pauly 269bea7350 [Lists] Add sort lock 2019-10-01 09:39:15 +00:00
Christian Pauly 2061908f3a [Room] Image resizing in isolate 2019-09-30 12:03:34 +00:00
Christian Pauly 70c03250fe [Timeline] Fix requesthistory 2019-09-30 09:21:57 +00:00
Christian Pauly cd1445cb71 [Rooms] Fix invite state 2019-09-30 08:19:28 +00:00
Christian Pauly ca3bc1b6ad [Client] Add null checker 2019-09-27 04:57:04 +00:00
Christian Pauly 4015f36440 [Client] createRoom method with optional params 2019-09-26 14:53:08 +00:00
Christian Pauly 6a81fbc0aa [Timeline] Better HistoryRequest in Timeline 2019-09-26 09:30:07 +00:00
Christian 3203c4366a [RoomList] Fix update on room summary 2019-09-19 14:00:17 +00:00
Christian Pauly eccc880fcb [Room] Fix request User method 2019-09-17 14:21:16 +02:00
Christian 5b7832084f [Thumbnail] Change max width 2019-09-14 18:02:10 +00:00
Christian 8bedd29f21 [Thumbnails] Fix path 2019-09-13 11:00:52 +00:00
Christian Pauly 61b052c647 [RoomList] Fix found algo 2019-09-12 12:35:57 +02:00
Christian Pauly 20f3cd4acc [Room] Request history in getTimeline 2019-09-10 07:27:00 +02:00
Christian 7d5da300c4 [Connection] Add upload method 2019-09-09 13:22:02 +00:00
Christian Pauly 48329674a9 [Lib] Add to lib 2019-09-05 11:36:35 +02:00
Christian 1db66a779a [Event] Fix the remove query 2019-09-04 09:19:56 +00:00
Christian Pauly c85308d8d4 [User] Add powerLevel 2019-09-03 17:57:27 +02:00
Christian 964f8c1f36 [Room] Add null checker. 2019-09-03 14:58:11 +00:00
Christian Pauly f05016a2f1 [Room] Fix fullyRead 2019-09-03 16:34:38 +02:00
Marcel fa3b45d953 Merge branch 'room-enhance-live-updating' into 'master'
[Room] Live updating

See merge request famedly/famedlysdk!69
2019-09-03 11:50:50 +00:00
Christian c06e4d0b50 [Store] Fix event query 2019-09-03 11:42:13 +00:00
Christian Pauly 20628330a1 [Store] Make old getRoomById deprecated 2019-09-03 13:28:06 +02:00
Christian Pauly e6a859d83c [Room] Add a onUpdate callback 2019-09-03 13:24:44 +02:00
Christian Pauly 963866f408 [Room] Add getParticipants method 2019-09-02 12:09:30 +02:00
Christian Pauly 7b4c51aae9 [Room] Remove loadEvents 2019-09-02 10:55:46 +02:00
Christian Pauly dddc9a23c6 [TypeDef] Place all typedefs on the top 2019-09-02 10:33:32 +02:00
Christian Pauly 2802901eec [Room] Request history with users 2019-08-29 12:28:50 +02:00
Christian Pauly 95b20ea41c [State] Fix stateKeyUser getter 2019-08-29 11:55:12 +02:00
Christian Pauly 2314fa0e09 [Event] Remove RawEvent 2019-08-29 11:50:57 +02:00
Christian Pauly 47b708b6ba [RoomState] User nullchecker 2019-08-29 11:23:51 +02:00
Christian Pauly 58976c3b9c [Room] Fix tests 2019-08-29 11:21:10 +02:00
Christian Pauly c04a3debe4 [Client] Fix directChat db 2019-08-29 11:12:14 +02:00
Christian Pauly 37866359be [Client] Directchatroom should exist 2019-08-29 11:03:43 +02:00
Christian Pauly f885dfbecc [Room] Add isDirectChat boolean getter 2019-08-29 10:49:07 +02:00
Christian Pauly cccc8d181a [RoomState] Fix asUser in State 2019-08-29 10:29:00 +02:00
Christian Pauly 2061b96992 [RoomList] Dont handle account data 2019-08-29 10:26:21 +02:00
Christian Pauly a237b71da9 [RoomList] Add debug prints 2019-08-29 10:09:31 +02:00
Christian Pauly 19d06920e2 [Room] LastEvent can be null 2019-08-29 10:05:17 +02:00
Christian Pauly 6d143241eb [Room] LastEvent calulcation fix 2019-08-29 09:52:37 +02:00
Christian Pauly 93b4efe004 [Room] LastEvent calculation fix 2019-08-29 09:50:04 +02:00
Christian Pauly 7739e9ad01 [Store] Fix loadContacts query 2019-08-29 09:29:24 +02:00
Christian Pauly ae573850bd [RoomList] Autosort 2019-08-29 09:16:07 +02:00
Christian Pauly c5664bfa71 [Event] Fix default status 2019-08-29 09:12:55 +02:00
Christian Pauly 91ae18e760 [Room] Fix roomID query 2019-08-29 09:03:05 +02:00
Christian Pauly 5df56ea12f [Event] Add trycatch block 2019-08-29 09:01:17 +02:00
Christian Pauly 6117606b28 [Event] Return empty map 2019-08-29 08:57:43 +02:00
Christian Pauly 7edffb1219 [Event] Better nullcheck 2019-08-29 08:56:10 +02:00
Christian Pauly 3bfed389a2 [Event] Add empty string check 2019-08-29 08:51:35 +02:00
Christian Pauly c96d2af354 [Event] Add debugprint 2019-08-29 08:49:28 +02:00
Christian Pauly b4f0094542 [Store] Fix query 2019-08-28 13:09:52 +02:00
Christian Pauly 76a1e538c7 [Room] Fix room id 2019-08-28 13:06:41 +02:00
Christian Pauly e54f134d92 [Event] Fix getMapFromPayload 2019-08-28 12:57:20 +02:00
Christian Pauly c33350f796 [Room] Heroes null check 2019-08-28 12:32:50 +02:00
Christian Pauly f90a996db6 [Store] Fix query 2019-08-28 12:26:42 +02:00
Christian Pauly eb2e30d730 [Event] user null check 2019-08-28 12:16:18 +02:00
Christian Pauly e5d4c6be73 [Store] Fix query 2019-08-28 12:04:05 +02:00
Christian Pauly 453bdd0106 [Event] Fix User 2019-08-28 11:39:34 +02:00