Commit graph

926 commits

Author SHA1 Message Date
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
Christian 69ad50a88f Merge branch 'notifications-fix-cache-being-unstable' into 'master'
[Store][NotificationsCache] Fixing issues that caused some cache errors

See merge request famedly/famedlysdk!68
2019-08-19 11:57:56 +00: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 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 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
Marcel 3c365bb884 Merge branch 'room-enhance-roomsummary' into 'master'
[Room] Add support for RoomSummary

See merge request famedly/famedlysdk!64
2019-08-06 09:47:09 +00:00
Christian 98bb93e657 [Room] Add support for RoomSummary 2019-08-06 09:47:09 +00:00
Christian d2c4f7c6ed Merge branch 'notification-hotfix-sender-missing-mxid' into 'master'
[Room] fix users generated by getUserByMXID

See merge request famedly/famedlysdk!65
2019-08-06 09:13:57 +00:00
Marcel 8a2b7e8177 [Room] fix users generated by getUserByMXID
Took 9 minutes
2019-08-06 11:09:17 +02:00
Christian d02ba91c4e Merge branch 'store-fix-migration' into 'master'
[Store] Fix db migration

See merge request famedly/famedlysdk!63
2019-08-06 08:47:03 +00:00
Christian 744aa3267f [Store] Fix db migration 2019-08-06 08:47:03 +00:00