Commit graph

231 commits

Author SHA1 Message Date
Christian Pauly 27b4a620e5 Add code formatting CI job 2020-05-22 10:12:18 +00:00
Sorunome ee9090b7a7
fix tests 2020-05-22 11:13:58 +02:00
Sorunome fc8625d30e clear timeline events cache on limited updates 2020-05-21 14:52:14 +00:00
Sorunome ead44e4014
fix tests and stuffs 2020-05-21 15:32:06 +02:00
Christian Pauly 066221b84d Make coverage visible again 2020-05-19 09:28:13 +00:00
Sorunome c5e4e2c751
decrypt events in sync loop, making it async 2020-05-19 09:49:37 +02:00
Christian Pauly a6c7d88f00 Add profile cache 2020-05-18 11:45:49 +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 9d1c7f16a5
add pill parsing to markdown 2020-05-15 21:00:10 +02:00
Sorunome f71826739c Switch to moor 2020-05-15 18:40:17 +00:00
Sorunome 2352eb406a add markdown parsing 2020-05-09 14:00:46 +00:00
Marcel 811589a895 [Room] Send correct filter on the messages endpoint
Took 6 minutes
2020-05-02 05:02:11 +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 7c7a0f15e5 [Client] Remove lazyloadingcheck 2020-04-02 11:29:07 +00:00
Christian Pauly a3c5add79e [SDK] Refactoring with new linter rules 2020-03-30 09:08:38 +00:00
Christian Pauly 44ed403cd6 [Room] Request only 10 events on getTimeline 2020-03-20 08:59:29 +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 ac3a9a6b3a [Room] Implement key sharing 2020-02-21 15:05:19 +00:00
Christian Pauly 49e643625c [Client] Add debug prints 2020-02-20 07:28:15 +00:00
Christian Pauly 77b11d78db [Client] Implement device management 2020-02-19 14:26:38 +01:00
Christian Pauly f5b493f9bd [SDK] Add dart-olm library and update CI 2020-02-15 07:48:41 +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 cabb5679a7 [Client] Add canonical json 2020-02-04 18:01:53 +01:00
Christian Pauly edd8aa5c4c Client feature add device tracking 2020-02-04 13:41:13 +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 0b393497f8 [Client] Add register methods 2020-01-14 15:16:24 +00:00
Christian Pauly 5fbeceb217 [SDK] Refactoring 2020-01-14 11:27:26 +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 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 d0fbe45598 [Room] Enhance tests 2020-01-04 15:43:53 +01: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 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 311a39c50c [Room] Detect mimetype automatically 2019-12-18 11:46:25 +00:00
Christian Pauly bff394fbb5 [Event] Add support for redactions 2019-12-12 12:19:18 +00: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 8051b360ac [Room] Add powerlevels getter 2019-11-26 06:38:44 +00:00
Christian Pauly 4ff3146d63 [Room] Fix state handling 2019-11-21 14:10:24 +00:00
Christian Pauly 87ef1af3e4 [Room] fix states with statekeys 2019-11-20 13:02:23 +00:00
Christian Pauly 88b9cdd345 [Connection] Clean up receipts 2019-10-25 08:02:56 +00:00
Christian Pauly 9049d3b4f5 [Room] enhance performance 2019-10-24 09:39:39 +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 4ad22731a6 [Upload] Fix file type 2019-10-16 09:09:09 +00:00
Christian Pauly 3a7dff596e [ContactSearch] Hotfix 2019-10-14 16:50:10 +00:00
Christian Pauly 846cc4b0fa [Flutter] fix dependency 2019-10-04 09:44:32 +00:00
Christian Pauly 0a46ec9551 [Store] Make database private 2019-10-02 11:33:01 +00:00
Christian Pauly 2061908f3a [Room] Image resizing in isolate 2019-09-30 12:03:34 +00:00
Christian Pauly 4015f36440 [Client] createRoom method with optional params 2019-09-26 14:53:08 +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 7d5da300c4 [Connection] Add upload method 2019-09-09 13:22:02 +00: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 2802901eec [Room] Request history with users 2019-08-29 12:28:50 +02:00
Christian Pauly 2314fa0e09 [Event] Remove RawEvent 2019-08-29 11:50:57 +02:00
Christian Pauly 76a1e538c7 [Room] Fix room id 2019-08-28 13:06:41 +02:00
Christian Pauly 8d563c9757 [RoomState] Rename State to RoomState 2019-08-08 12:51:07 +02:00
Christian Pauly 1e46af6b67 [Room] Minor bugfix 2019-08-08 12:00:24 +02:00
Christian Pauly 3236224496 [Eventtests] Fix event tests 2019-08-08 11:57:40 +02:00
Christian Pauly b4ae8b47f8 [Tests] Fix user tests 2019-08-08 11:54:39 +02:00
Christian Pauly 1617a8b7d5 [Tests] Write much more tests 2019-08-08 11:41:42 +02:00
Christian Pauly df0cc1d273 [Tests] Refactoring 2019-08-08 10:31:39 +02:00
Christian Pauly bb41db7f14 [Tests] Bugfixes 2019-08-08 09:58:37 +02:00
Christian Pauly cacf7cc530 [Tests] Fix some tests 2019-08-07 12:27:02 +02:00
Christian 98bb93e657 [Room] Add support for RoomSummary 2019-08-06 09:47:09 +00:00
Christian Pauly 01d6b511ca [Tests] Fix tests 2019-07-26 15:05:46 +02:00
Christian Pauly de55c201fc [Event] Make delete function async 2019-07-24 10:48:13 +02:00
Christian Pauly 02d9d33ba8 [Tests] Fix Client text 2019-07-24 10:20:05 +02:00
Christian Pauly b827bc7714 [Event] Add more tests 2019-07-24 10:13:02 +02:00
Christian Pauly f4252f2fc3 [Client] Add more tests 2019-07-24 09:59:29 +02:00
Christian cfb757df0f [Sending] Refactoring 2019-07-23 09:09:13 +00:00
Christian Pauly df7adbe5b6 [Events] Add more EventTypes and tests 2019-07-22 11:54:06 +02:00
Christian Pauly d5326772d7 [Tests] Check if crash if null 2019-07-19 19:12:15 +02:00
Marcel 650810c63e
[FakeMatrixAPI] add missing slash 2019-07-18 19:01:05 +02:00
Marcel 330863b066
[FakeMatrixAPI] add missing slash 2019-07-18 18:54:58 +02:00
Christian 19be1bdbf4 Disable lazy loading for first sync. 2019-07-18 14:30:42 +00:00
Marcel e063af9fe7 [Store] Rename User table to Users
[Connection] Add HTTPtype enum
[User] Add Membership enum
[Event] Add Reply to the Event types

Took 2 hours 0 minutes
2019-07-12 09:26:07 +00:00
Christian Pauly 3d59aae034 Fix calc displayname and add tests 2019-07-03 11:27:46 +02:00
Christian Pauly 7e5fae5377 [FakeMatrixApi] Fix sync tests. 2019-07-02 11:16:37 +02:00
Christian b8de0f054b [Room] Store prevBatch when requesting history 2019-06-28 10:32:33 +00:00
Christian Pauly 70a71884b6 [FakeMatrixApi] Fix sync tests. 2019-06-28 11:56:39 +02:00
Christian Pauly c56c2f0a95 [Room] Fix the requestHistory query. 2019-06-28 11:42:57 +02:00
Christian 23bcc1acde [Room] Add method to get an event by the ID. 2019-06-28 08:59:00 +00:00
Christian Pauly 31bff2d00e [Timeline] Implement tests for request history function. 2019-06-28 08:39:43 +02:00
Christian db47a4d30e [RoomList] Enhance onlyLeft lists and add more tests. 2019-06-27 17:34:15 +00:00
Christian Pauly be2265f226 [Refactoring] Make analyzer happy. 2019-06-27 12:33:02 +02:00
Christian Pauly ddc7efdc53 Fix event test 2019-06-27 10:13:27 +02:00
Christian Pauly 939e7e738a [Event] Add functions to remove and resend an error event 2019-06-27 10:12:39 +02:00
Christian Pauly 93d904b1ae [Event] Fix wrong id reference 2019-06-27 09:44:37 +02:00
Christian ef83753079 [Sending] Fix storage for sending events and add more tests. 2019-06-26 18:03:20 +00:00
Christian 2d466c796b [Timeline] Fix event state change. 2019-06-26 17:03:15 +00:00
Christian Pauly 7423ab6d2b [Event] Set default status to '2' if there is no status given. 2019-06-26 17:27:27 +02:00
Christian Pauly 96bc9b6aca [Lists] Add test for sending error 2019-06-26 16:37:49 +02:00
Christian Pauly 41d8b91f87 [Lists] Fix send status 2019-06-26 16:36:34 +02:00
Christian Pauly 66fce65dee [Lists] Add RoomList List type. 2019-06-21 13:30:39 +02:00
Christian Pauly 1b1abf7190 [Lists] Add Timeline List type. 2019-06-21 12:18:54 +02:00
Christian Pauly 372c185228 [License] Replace 'foobar' with 'famedlysdk' in all Files. 2019-06-21 09:46:53 +02:00
Marcel 253e0ecda6 [client][pushrules] Add GET Pushrules Endpoint
[sdk] Add "build_runner", "json_annotation" and "json_serializable" to dependencies required for [client][pushrules]
[test][client][pushrules] Add Tests for [client][pushrules]

Took 2 hours 13 minutes
2019-06-21 07:41:09 +00:00
Christian Pauly fd7302bcde More tests 2019-06-18 12:06:55 +02:00
Christian Pauly e1352e0f9e More tests for Client and Connection 2019-06-18 11:37:06 +02:00
Christian Pauly db3c3f0c6d Fix membership table column 2019-06-12 12:30:22 +02:00
Christian Pauly 06bcf90d6e Fix tests 2019-06-12 10:04:54 +02:00
Christian Pauly 5343cb8fca Fix Room Tests 2019-06-12 08:40:43 +02:00
Christian Pauly e2f7791daa Add User Update class 2019-06-11 14:10:50 +02:00
Christian Pauly 1962897ddb Refactoring Room tests 2019-06-11 12:25:47 +02:00
Christian Pauly 1fc329eb23 Add test for Room 2019-06-11 12:21:45 +02:00
Christian Pauly 6909bbac7d Add test for User 2019-06-11 11:53:32 +02:00
Christian Pauly cf3b73d061 Add test for Event 2019-06-11 11:48:31 +02:00
Christian f969d83d04 Database changes 2019-06-11 06:59:22 +00:00
Christian Pauly 117a6950af Disable chattime test 2019-06-11 08:45:45 +02:00
Christian e18f149fb1 Fix ChatTime test 2019-06-10 10:00:39 +00:00
Christian 22231f87b7 Tests for ChatTime and MxContent including bug fixes 2019-06-10 06:28:21 +00:00
Christian Pauly f1b468e192 Add licence header 2019-06-09 13:57:33 +02:00
Christian Pauly 77be6102f6 Initial commit 2019-06-09 12:16:48 +02:00