Commit graph

964 commits

Author SHA1 Message Date
ganfra
c8c31172b3 Try to configure okreplay for testing network + start to rework koin modules 2018-12-12 21:15:01 +01:00
ganfra
1d5587c5ba Clean forgotten code 2018-12-12 11:51:29 +01:00
ganfra
17dcbc1cd6 Remove RequestExecutor as name is confusing at the moment. 2018-12-11 18:13:22 +01:00
ganfra
43a462f9cc Merge branch 'feature/permalink' into develop 2018-12-11 16:55:45 +01:00
ganfra
6ee272c376 Chunk : add some tests on merge 2018-12-11 16:39:44 +01:00
ganfra
0266380485 Start introducing tests 2018-12-11 15:36:09 +01:00
ganfra
683305030a Timeline : check isUnlinked before and after merge 2018-12-11 15:35:46 +01:00
ganfra
0611661c46 WIP: Start to make permalink works 2018-11-29 18:35:24 +01:00
ganfra
9f79a5132d Pagination/Permalink : extract persistence logic in a dedicated class 2018-11-29 12:20:09 +01:00
ganfra
c396c2bec7 WIP on chunk merging : required to merge chunks wherever they are (permalink) 2018-11-28 18:28:35 +01:00
ganfra
b3ba542e09 Start to add a flag (isUnlinked) to work with permalink. Still in progress (break state index at the moment) 2018-11-27 22:42:46 +01:00
ganfra
b6728ce9be Clean some DI code 2018-11-27 12:23:15 +01:00
ganfra
580c898447 Revert "Rework injection of monarchy instances (introduce disk and memory)"
This reverts commit af79e1d0b5.
2018-11-27 12:06:40 +01:00
ganfra
af79e1d0b5 Rework injection of monarchy instances (introduce disk and memory) 2018-11-26 17:09:49 +01:00
ganfra
660ba5436b Send messages : add local echo. Maybe add directly to the pagedlist if possible 2018-11-25 16:17:47 +01:00
ganfra
e4c23b757e Timeline : try to fix scroll issues... 2018-11-25 16:17:13 +01:00
ganfra
6fc0d884b2 Timeline UI : try to fix scrolling issues (not perfect but better) 2018-11-22 11:57:39 +01:00
ganfra
bc1462486d State index : rework the algorithm to manage limited chunks and avoid using wrong state events (Int.Min overriding) 2018-11-22 11:20:50 +01:00
ganfra
d250d2bd27 Start introducing a way to open timeline around an event 2018-11-19 15:47:54 +01:00
ganfra
40fa326771 Introduce a displayIndex to keep insertion order when querying... 2018-11-15 19:00:15 +01:00
ganfra
bb0a70f3c0 Clean some code about chunk and fix merging chunk 2018-11-15 18:32:39 +01:00
ganfra
40f981e454 State index management should be ok now 2018-11-15 12:37:59 +01:00
ganfra
18af7c83f3 Introduce state index trying to replicate RoomState logic. WIP #2 2018-11-14 19:32:42 +01:00
ganfra
6115b05d97 Introduce state index trying to replicate RoomState logic. WIP 2018-11-13 19:17:59 +01:00
ganfra
d46ce8245d Add a param "isLast" in chunk as we want live results in timeline... not sure it's the right way to do it. 2018-11-13 10:50:53 +01:00
ganfra
2c6b155794 Revert "Sending : add a basic local echo (still need to define sending states)"
This reverts commit a4abd20e73.
2018-11-13 10:48:05 +01:00
ganfra
a4abd20e73 Sending : add a basic local echo (still need to define sending states) 2018-11-09 18:32:35 +01:00
ganfra
c8a987f932 Clean a bit Worker implementations 2018-11-09 14:06:23 +01:00
ganfra
05e9577b7f Update moshi lib 2018-11-09 09:51:43 +01:00
ganfra
7e199494e7 Stop tracking .idea files 2018-11-09 09:50:23 +01:00
ganfra
0f34daf3b3 Use WorkManager for process we don't want to loose 2018-11-09 09:43:12 +01:00
ganfra
a5bd5c8fb1 Start Matrix instance at application start 2018-11-08 21:33:31 +01:00
ganfra
f050574728 Start sending message : introduce WorkManager. WIP - have to clean 2018-11-08 19:08:14 +01:00
ganfra
b2bb89ac94 Request : add some way to retry + introduce RequestExecutor 2018-11-08 13:56:07 +01:00
ganfra
240b4715fc Add internal keyword where it makes sense 2018-11-08 11:04:40 +01:00
ganfra
7b6092cee1 Fix prevContent for room.member events 2018-11-07 23:11:24 +01:00
ganfra
be8b1287c7 Start handling prune events. WIP 2018-11-07 20:48:44 +01:00
ganfra
cd25232572 Group/Room list : show filtered room when a group is selected 2018-11-07 12:17:10 +01:00
ganfra
3028710122 Add group users API 2018-11-07 10:39:10 +01:00
ganfra
49715a30b6 Update to kotlin 1.3.0 version + update AS to 3.2 2018-11-07 10:12:27 +01:00
ganfra
9cc3dc51cc Use Try instead of Either as it makes more sens + add GroupRooms API 2018-11-06 16:39:29 +01:00
ganfra
56bbcf209f Add forgotten annotation for json 2018-11-05 22:11:30 +01:00
ganfra
5cc617168e Home : use only one ViewModel and one state 2018-11-05 21:58:03 +01:00
ganfra
64759abc9e Groups : add UI to show groups 2018-11-05 18:41:30 +01:00
ganfra
a3539153ef Quick sync group management (WIP) 2018-11-05 18:33:17 +01:00
ganfra
3199f5dcd6 Sync : handle as a single write transaction 2018-11-05 14:31:45 +01:00
ganfra
c6bcd1c022 Timeline : use snapshot from pagedlist to build list 2018-11-05 14:25:37 +01:00
ganfra
b3fe742ec4 Allows authentication by email 2018-11-03 11:49:18 +01:00
ganfra
2885b510ab Clean a bit code of timeline + show not handled events message 2018-11-02 17:37:37 +01:00
ganfra
6d9ec2789b Clean a bit code of Room list 2018-11-02 16:30:22 +01:00