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
Christian Pauly
9a7a4bfd71
[Event] Remove meta because of coverage problems
2019-08-26 14:10:29 +02:00
Christian Pauly
ff0fc959ec
[Store] Merge from Master
2019-08-26 13:48:01 +02:00
Marcel
c6f699aaff
[Store][NotificationsCache] Fixing issues that caused some cache errors
...
- Remove primary key
- make sure that the id is per room not per event to have no issues with the order that select returned
- Add asserts to detect any null values when testing
- up the db version as the schema changed
Took 16 minutes
2019-08-17 15:33:53 +02:00
Christian Pauly
6416f5a33f
[Room] Default hero list
2019-08-08 14:31:47 +02:00
Christian Pauly
442d7631fb
[Store] Fix query
2019-08-08 14:24:23 +02:00
Christian Pauly
3e62967852
[Store] Fix last query
2019-08-08 14:20:37 +02:00
Christian Pauly
471f9f8c49
[Store] Fix RoomStates table
2019-08-08 14:17:10 +02:00
Christian Pauly
d661fb4289
[Store] Fix more queries
2019-08-08 14:13:32 +02:00
Christian Pauly
c2c93c2da9
[Store] Bump version
2019-08-08 14:09:11 +02:00
Christian Pauly
4a0822799d
[Store] Fix table name
2019-08-08 14:08:15 +02:00
Christian Pauly
3d28b71250
[Store] Fix getRoomList
2019-08-08 14:02:54 +02:00
Christian Pauly
357a633d0e
[Store] Fix scheme
2019-08-08 13:57:50 +02:00
Christian Pauly
cc84551f4d
[Store] Update database version
2019-08-08 13:53:31 +02:00
Christian Pauly
5abd5065fa
[Store] Fix another query bug
2019-08-08 13:31:43 +02:00
Christian Pauly
f2bbe978a8
[Store] Fix query bug
2019-08-08 13:31:04 +02:00
Christian Pauly
eb68a418c0
[Event] Set default status
2019-08-08 13:05:23 +02:00
Christian Pauly
e1470b0f97
[Room] Set default room attr
2019-08-08 13:00:56 +02:00
Christian Pauly
8d563c9757
[RoomState] Rename State to RoomState
2019-08-08 12:51:07 +02:00
Christian Pauly
fbbb90aac6
[SDK] Update file list
2019-08-08 12:36:37 +02:00
Christian Pauly
35b9e0db40
[Event] Make Event subclass of State
2019-08-08 12:29:09 +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 Pauly
898767875a
[SDK] Fix bugs
2019-08-07 12:06:28 +02:00
Christian Pauly
ac39be9a1e
[SDK] Refactoring
2019-08-07 11:38:51 +02:00
Christian Pauly
beff166037
[Room] Add powerLevel methods
2019-08-07 11:23:57 +02:00
Christian Pauly
a5fc893a48
[SDK] Bugfixing
2019-08-07 10:46:59 +02:00
Christian Pauly
7401a0dc20
[AccountData] Add new classes
2019-08-07 10:32:18 +02:00
Christian Pauly
d9af551555
[Room] Refactor Room
2019-08-07 10:17:03 +02:00
Christian Pauly
5184f34251
[User] Rewrite User class
2019-08-07 09:54:08 +02:00
Christian Pauly
2cea10b01a
[State] Add state event class
2019-08-07 09:53:22 +02:00
Christian Pauly
8e7eaac9d2
[Event] New event classes
2019-08-07 09:52:36 +02:00
Christian Pauly
6cebee9eb7
[Room] Also query states for rooms
2019-08-07 09:50:40 +02:00
Christian Pauly
930404d149
[Store] Rewrite queries
2019-08-07 09:05:03 +02:00
Christian Pauly
83d747f5f5
[Store] Handle presences in store
2019-08-07 08:50:05 +02:00
Christian Pauly
8b8232d2ba
[Store] Correct storing of accoundata
2019-08-07 08:47:53 +02:00
Christian Pauly
006c5a756f
[Store] Fix RoomUpdate storing
2019-08-07 08:44:49 +02:00
Christian Pauly
92d8ab9206
[Store] Only store state events
2019-08-07 08:43:28 +02:00
Christian Pauly
83c127183b
[Store] New databasescheme
2019-08-07 08:36:48 +02:00
Christian
98bb93e657
[Room] Add support for RoomSummary
2019-08-06 09:47:09 +00:00
Marcel
8a2b7e8177
[Room] fix users generated by getUserByMXID
...
Took 9 minutes
2019-08-06 11:09:17 +02:00
Christian
744aa3267f
[Store] Fix db migration
2019-08-06 08:47:03 +00:00
Christian Pauly
370712ed9f
[Store] Fix queries
2019-08-05 11:54:43 +02:00
Christian Pauly
11d9b9db16
[Store] Bump database version
2019-08-05 11:47:15 +02:00
Christian Pauly
8c4e75d268
[Store] Fix db migration
2019-08-05 11:07:58 +02:00
Christian Pauly
8e7c2a3f5b
[Store] Make scheme more generic
2019-08-04 11:28:43 +02:00
Christian
cc850aa2d7
[RoomList] Remove async
2019-07-30 07:35:52 +00:00
Christian
3ccf7e5ad6
[RoomList] Make async method real time again.
2019-07-30 05:53:35 +00:00
Christian
237e8640b4
Merge branch 'room-fix-sender-not-being-loaded' into 'master'
...
[Room]/[Store] Load sender user when loading event by id
See merge request famedly/famedlysdk!56
2019-07-29 16:52:53 +00:00
Marcel
e42b4daa84
[Room]/[Store] Load sender user from server when store is not available
...
Took 19 minutes
2019-07-29 16:16:20 +02:00
Christian Pauly
c94246195f
[RoomList] Get user and Statekey
2019-07-29 09:44:55 +02:00
Marcel
90a5f32e20
[Room]/[Store] Load sender user when loading event by id
...
Took 5 minutes
2019-07-28 20:19:58 +02:00
Christian
dd5814cd58
[ContactList] Fallback with old loadContacts
2019-07-26 14:07:29 +00:00
Christian Pauly
a97e96bf72
[Store] Include invite
2019-07-26 14:57:56 +02:00
Christian Pauly
ffd4eb508e
[Store] Fix query
2019-07-26 14:57:12 +02:00
Christian Pauly
fa88a5b2d4
[Store] Better directchat query
2019-07-26 14:55:17 +02:00
Christian Pauly
d334968219
[Connection] Reenable lazy loading
2019-07-26 14:46:50 +02:00
Christian Pauly
8664954f27
[ContactList] Define contact list by discoveryRoom
2019-07-26 14:46:23 +02:00
Christian Pauly
c95f4acecd
[ContactList] Add functions
2019-07-26 14:00:12 +02:00
Christian Pauly
a48f1519b6
[Room] Fix changename requests
2019-07-26 13:32:18 +02:00
Marcel
670110e661
Merge branch 'store-fix-db-migration' into 'master'
...
[Store] fix db migration
See merge request famedly/famedlysdk!51
2019-07-26 10:34:12 +00:00
Christian Pauly
98d22aaedd
[Store] Back to prev db version
2019-07-26 11:06:33 +02:00
Christian Pauly
582065bf3d
[Store] Fix debug
2019-07-26 11:05:35 +02:00
Christian Pauly
3441fb4964
[Store] Switch db version for testing
2019-07-26 11:02:50 +02:00
Christian Pauly
9d5296d4e0
[Store] Wait for table creation
2019-07-26 11:00:39 +02:00
Christian Pauly
e1f83d8e83
[Store] Change DB version for testing
2019-07-26 10:57:44 +02:00
Christian Pauly
d10a064dfe
[Store] Better debugs
2019-07-26 10:56:27 +02:00
Christian Pauly
e798e39433
[Room] Fix state requests
2019-07-26 10:05:08 +02:00
Christian
4668566ec0
[Store] Fix storing of error events
2019-07-25 08:42:11 +00:00
Christian Pauly
de55c201fc
[Event] Make delete function async
2019-07-24 10:48:13 +02:00
Christian Pauly
4e3c1b271b
[Sdk] Add Pusherrequests to sdk lib
2019-07-24 10:37:04 +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 Pauly
ef166a6ca1
[RoomList] Fix environment pass
2019-07-23 16:14:11 +02:00
Christian Pauly
a43f5048db
[RoomList] Set hasName to false
2019-07-23 15:10:38 +02:00
Christian Pauly
a38d43b167
[Room] hasName false by default
2019-07-23 15:07:31 +02:00
Christian Pauly
48746641ba
[Room] Dynamic name generation
2019-07-23 15:03:16 +02:00
Christian Pauly
ee883a8e84
[RoomList] Fix empty room
2019-07-23 14:50:09 +02:00
Christian Pauly
3e8b54d9f0
[RoomList] Add room on event update
2019-07-23 14:42:33 +02:00
Christian
b7d8b53b46
[Store] Fix db query
2019-07-23 09:20:52 +00: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
255eea6a4c
[Store] Add exceptRoomID to loadContacts
2019-07-21 07:16:09 +02:00
Marcel
0316795a49
Merge branch 'fix-classes-non-nullable' into 'master'
...
[Classes] Non nullable id and mxcurl
See merge request famedly/famedlysdk!39
2019-07-19 17:22:59 +00:00
Marcel
0e85e4d92b
Merge branch 'sync-disable-error' into 'master'
...
[sync] Disable errors
See merge request famedly/famedlysdk!37
2019-07-19 17:22:45 +00:00
Christian Pauly
740ac0dc9c
[Classes] Non nullable id and mxcurl
2019-07-19 19:09:34 +02:00
Christian Pauly
6d664a9073
[sync] Disable errors
2019-07-18 20:03:49 +02:00
Marcel
14b89263b7
[Store] Add missing comma
2019-07-18 20:03:45 +02:00
Christian
88197fed0f
Merge branch 'master' into 'mini_fixes3'
...
# Conflicts:
# lib/src/Store.dart
2019-07-18 17:53:44 +00:00
Marcel
0bf241c265
[Store] give notification idenitifier
2019-07-18 19:46:36 +02:00
Christian
069f26b039
Merge branch 'mini_fixes2' into 'master'
...
[Store] correct return type
See merge request famedly/famedlysdk!35
2019-07-18 17:22:21 +00:00
Marcel
584bd92f7d
[Store] correct return type
2019-07-18 19:18:01 +02:00
Marcel
b3e8a81dfc
[Store] Increase DB version
2019-07-18 18:49:04 +02:00
Marcel
eed51913c4
[Notifications] Fix missing DB and missing slash
2019-07-18 18:47:59 +02:00
Marcel
20fed44c68
[SetPushersRequest] Don't include null values
...
Took 8 minutes
2019-07-18 15:21:19 +00:00
Marcel
ad13c9ab60
[Notifications] Add Store table for Notifications Cache
2019-07-18 17:07:32 +02:00
Christian
19be1bdbf4
Disable lazy loading for first sync.
2019-07-18 14:30:42 +00:00
Christian
3a01b2520e
Merge branch 'fix_app_88' into 'master'
...
Allow Events to have less async data
See merge request famedly/famedlysdk!30
2019-07-13 06:24:04 +00:00
Marcel
84900f2c30
[Room] revert creator user
...
Took 12 minutes
2019-07-12 20:54:31 +02: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
Marcel
0823473bdf
[Event] load reply event when loading timeline
...
[Room] load creator user
[Timeline] fix sendUser not being passed, fix stateKeyUser not being resolved
Took 46 minutes
2019-07-11 22:17:40 +02:00
Marcel
fab4604b08
[Store] remove s of Users as the table actually is named User
...
Took 1 minute
2019-07-03 15:55:06 +02:00
Marcel
47d92406b7
[Store] remove s of Users as the table actually is named User
...
Took 2 minutes
2019-07-03 15:47:36 +02:00
Marcel
547e9c8f3a
[Store] remove s of Users as the table actually is named User
...
Took 3 minutes
2019-07-03 15:43:17 +02:00
Christian Pauly
f349193ef2
Fix fromJson func
2019-07-03 13:07:56 +02:00
Christian Pauly
a70b82e88d
Get Sender from Store
2019-07-03 11:42:19 +02:00
Christian Pauly
3d59aae034
Fix calc displayname and add tests
2019-07-03 11:27:46 +02:00
Christian Pauly
9666b763a5
Fix Event decode bug
2019-07-03 11:19:45 +02:00
Christian Pauly
8aa27feac3
More logs
2019-07-03 11:15:55 +02:00
Christian Pauly
4a73d3131d
More detailed logs
2019-07-03 11:09:45 +02:00
Christian
1abd073e43
More detailed logs for json decode error.
2019-07-03 09:00:03 +00:00
Christian Pauly
64f8fa38ee
Remove Debug logs
2019-07-02 10:37:54 +02:00
Christian Pauly
bafcb8001d
Fix sync filters
2019-07-02 10:15:20 +02:00
Christian Pauly
e96929de00
Add URI encoding
2019-07-02 09:58:29 +02:00
Christian Pauly
144902f681
Debug logs for include leave
2019-07-02 09:55:06 +02:00
Christian Pauly
ea74096c35
Add Debug logs
2019-07-02 09:50:23 +02:00
Christian
b8de0f054b
[Room] Store prevBatch when requesting history
2019-06-28 10:32:33 +00: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 Pauly
b5698b175f
[Event] sendAgain with return and mark all sending events as error on start
2019-06-28 08:10:30 +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
9b0b3c0ee5
Fix Delete function
2019-06-27 10:33:43 +02:00
Christian Pauly
e73d33a5e8
[Event] Refactoring
2019-06-27 10:30:26 +02:00
Christian Pauly
f7e74436f4
Add dummy body to remove event
2019-06-27 10:20:47 +02:00
Christian Pauly
96623738e3
Give dummy content to remove event
2019-06-27 10:18:27 +02:00
Christian Pauly
c432cc8455
Use both ID keys for events
2019-06-27 10:15:46 +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 Pauly
8f96088f09
Fix event_id key
2019-06-27 09:30:31 +02:00
Christian Pauly
c7689419ea
[Store] Fix storage for sending events.
2019-06-27 09:25:25 +02:00
Christian
ef83753079
[Sending] Fix storage for sending events and add more tests.
2019-06-26 18:03:20 +00:00
Christian Pauly
aec583f75d
[Store] Fix status passing.
2019-06-26 19:12:26 +02: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
Marcel
e652e79a98
Merge branch 'lists-enhance-fix-send-status' into 'master'
...
Lists enhance fix send status
See merge request famedly/famedlysdk!15
2019-06-26 15:01:15 +00:00
Christian Pauly
602a5d79cd
[Room] Add documentations.
2019-06-26 16:39:52 +02:00
Christian Pauly
41d8b91f87
[Lists] Fix send status
2019-06-26 16:36:34 +02:00
Marcel
e5464f1c49
[SetPushRequest] Use correct import
...
Took 3 minutes
2019-06-25 15:51:09 +02:00
Marcel
8ac7b01d53
[SetPushRequest] make required field required in the class too
...
Took 6 minutes
2019-06-25 15:39:56 +02:00
Marcel
88be572170
[Client] add setPushers
...
Took 15 minutes
2019-06-25 15:33:56 +02:00
Christian Pauly
c3967419e6
[Lists] Check if callbacks are not null.
2019-06-25 12:34:03 +02:00
Christian Pauly
e6dd0739d0
[Lists] Fix callback names
2019-06-25 12:06:26 +02:00
Christian
58a911fac3
Update famedlysdk.dart
2019-06-25 09:43:14 +00: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
c41f1b3547
Fix wrong type
2019-06-18 10:33:40 +00:00
Christian Pauly
31ef612330
Merge branch 'master' of gitlab.com:famedly/famedlysdk
2019-06-18 12:11:16 +02:00
Christian Pauly
fd7302bcde
More tests
2019-06-18 12:06:55 +02:00
Christian
167a7155f8
Update lib/src/Room.dart
2019-06-15 07:16:45 +00:00
Christian
cf60b50954
Update lib/src/Store.dart
2019-06-14 11:17:28 +00:00
Christian
6101a2251a
Update lib/src/Store.dart
2019-06-14 11:11:53 +00:00
Christian
d108f1f7e6
Update lib/src/Store.dart
2019-06-14 11:06:25 +00:00
Christian
f038218cf4
Add some logs to direct chat storing
2019-06-14 11:04:57 +00:00
Christian Pauly
ce64c110c8
Refactoring
2019-06-14 12:39:55 +02:00
Christian Pauly
13ac8e351c
Load archived rooms on first sync
2019-06-14 12:39:18 +02:00
Christian Pauly
6d9c4d5dca
Save ALL direct chats
2019-06-14 12:35:53 +02:00
Christian Pauly
c3cd1cc6e3
Fix embarrassing non existend HTTP request method...
2019-06-14 09:52:52 +02:00
Christian Pauly
baddb806ce
Request may be null
2019-06-14 08:48:21 +02:00
Christian Pauly
3d8c80976a
Use onError for other functions
2019-06-14 08:09:37 +02:00
Christian Pauly
23c56caa2d
Use onError stream for chat creation
2019-06-14 08:07:51 +02:00
Christian Pauly
c13b23dd0a
Check if matrix homeserver is not null for MxContent
2019-06-14 07:45:48 +02:00
Christian Pauly
36c17c7fca
Room.events must not be null
2019-06-14 07:40:11 +02:00
Christian Pauly
5c015608c0
Add client to new room object
2019-06-12 13:58:40 +02:00
Christian Pauly
fea52b777f
Return error on startDirectChat error
2019-06-12 13:54:04 +02:00
Christian Pauly
502623ad31
Add debug logs
2019-06-12 13:43:14 +02:00
Christian Pauly
b3bb4e6531
Add removing of forgotten rooms
2019-06-12 13:22:16 +02:00
Christian Pauly
9bd377c4be
Fix roomList query
2019-06-12 12:34:46 +02:00
Christian Pauly
db3c3f0c6d
Fix membership table column
2019-06-12 12:30:22 +02:00
Christian Pauly
d5d1aa53b2
Minor fixes
2019-06-12 12:04:52 +02:00
Christian Pauly
f8557c38f5
Add function for direct chat handling
2019-06-12 11:46:57 +02:00
Christian Pauly
06bcf90d6e
Fix tests
2019-06-12 10:04:54 +02:00
Christian
54feb4b6a9
Update lib/src/User.dart
2019-06-12 08:02:07 +00:00
Christian
60cf1ac7fe
Update lib/src/Store.dart
2019-06-12 07:52:31 +00:00
Christian
19c6c3a37d
Update lib/src/Store.dart
2019-06-12 07:50:52 +00:00
Christian
f530d09de3
Update lib/src/Store.dart
2019-06-12 07:48:26 +00:00
Christian
fcf6b55c43
Update lib/src/Store.dart
2019-06-12 07:45:57 +00:00
Christian
ae559a3379
Update lib/src/Store.dart
2019-06-12 07:44:14 +00:00
Christian
4b5322f7dd
Update lib/src/Store.dart
2019-06-12 07:36:02 +00:00
Christian
d940f93814
Update lib/src/Store.dart
2019-06-12 07:34:34 +00:00
Christian
595dd72f7d
Update lib/src/Store.dart
2019-06-12 07:33:42 +00:00
Christian
01166cf057
Update lib/src/Store.dart
2019-06-12 07:30:12 +00:00
Christian
4c56424bab
Update lib/src/Store.dart
2019-06-12 07:26:51 +00:00
Christian
f40f1b732f
Update lib/src/Store.dart
2019-06-12 07:24:36 +00:00
Christian
9ef4e4af41
Add logs for UserUpdates
2019-06-12 07:22:47 +00:00
Christian
7ec2cca470
Give normal text higher priority
2019-06-12 07:07:07 +00:00
Christian
030d566e98
Fix Avatar Type
2019-06-12 07:04:04 +00:00
Christian
005be2548a
Use correct avatarUrl
2019-06-12 07:03:05 +00:00
Christian
fa4a4a0ea8
Timeout request is null
2019-06-12 06:59:37 +00:00
Christian
b7f090e3fa
Fix room query
2019-06-12 06:38:19 +00:00
Christian
ddd6b2a583
Add last Message to new Room object.
2019-06-12 06:26:19 +00:00
Christian
9f4ee74f22
Fix getBody method.
2019-06-12 06:22:30 +00:00
Christian
e2fa2844d3
Fix getRoomFromTableRow
2019-06-12 06:13:04 +00:00
Christian Pauly
5d6f186b3c
Add support for status changing event sending
2019-06-11 17:16:01 +02:00
Christian Pauly
edf79f5d1c
Add method to send read receipts
2019-06-11 14:13:30 +02:00
Christian Pauly
e2f7791daa
Add User Update class
2019-06-11 14:10:50 +02:00
Christian Pauly
56514d423f
Fix typo
2019-06-11 13:45:00 +02:00
Christian Pauly
2ebb2eb24e
Add method to request history
2019-06-11 13:44:25 +02:00
Christian Pauly
8be14fa58f
Add power level management
2019-06-11 13:32:14 +02:00
Christian Pauly
037953be34
Add support for creating chats and direct chats
2019-06-11 13:09:26 +02:00
Christian Pauly
4833b9027f
Queries for direct, groups and archived rooms
2019-06-11 12:45:14 +02:00
Christian Pauly
8983cb3138
Add request to ErrorResponse class
2019-06-11 12:31:50 +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 Pauly
fcad647c1c
Refactor Event class
2019-06-11 11:23:57 +02:00
Christian Pauly
6b94ac220f
Refactor User class
2019-06-11 11:13:14 +02:00