Commit graph

364 commits

Author SHA1 Message Date
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