Commit Graph

249 Commits

Author SHA1 Message Date
ganfra 7c4ac7b53a Media : start to refact renderer to be more generic 2019-01-23 20:29:47 +01:00
ganfra f9ca8f35bc Fix MessageFileContent crash (no filename) 2019-01-23 16:25:51 +01:00
ganfra cc4c1cf308 Content : make content url resolution aware of homeserver url 2019-01-23 16:25:24 +01:00
ganfra 1d400180bc Timeline : start to handle media images/gif. Still a lot to do, but it's a first step. 2019-01-22 18:43:15 +01:00
ganfra 32b29c47e7 Hot fix : makes room topic optional as it may be null. 2019-01-21 18:31:19 +01:00
ganfra dbb812ad84 Message type : add data classes for all the types 2019-01-21 18:16:15 +01:00
ganfra 57db4086cb Start adding javadoc on public api of the SDK and move some files. 2019-01-18 16:26:17 +01:00
ganfra 9914939045 Add copyright to source code 2019-01-18 11:12:08 +01:00
ganfra ac2d20ad3f Migration androidx : first commit where it compiles. Updates some libs and android studio version in the same time. 2019-01-16 19:25:43 +01:00
ganfra b2cdeb87f4 Fix some timeline issues and rename EnrichedEvent to TimelineEvent as it's only used in this context. 2019-01-14 16:46:54 +01:00
ganfra 1269715b5c Timeline : introduce timeline data class to allow listening for isLoadingForward and isLoadingBackward 2019-01-14 16:46:54 +01:00
ganfra 5a75e3db81 Clean some of the session code API 2019-01-14 16:46:54 +01:00
ganfra 58f60eaab4 Start importing permalink classes from old SDK/Riot 2018-12-18 18:43:37 +01:00
ganfra 39ad44e9aa Refactor a bit EnrichedEvent and Content. Metadata will only be used for unexpected data. 2018-12-18 14:46:20 +01:00
ganfra 4656429d83 Introduce a localId for event, to avoid blink effect when sending 2018-12-17 18:25:02 +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 d250d2bd27 Start introducing a way to open timeline around an event 2018-11-19 15:47:54 +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 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 f050574728 Start sending message : introduce WorkManager. WIP - have to clean 2018-11-08 19:08:14 +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 9cc3dc51cc Use Try instead of Either as it makes more sens + add GroupRooms API 2018-11-06 16:39:29 +01:00
ganfra a3539153ef Quick sync group management (WIP) 2018-11-05 18:33:17 +01:00
ganfra 2885b510ab Clean a bit code of timeline + show not handled events message 2018-11-02 17:37:37 +01:00
ganfra 6f2beef726 Makes the timeline a little more polished 2018-10-31 13:03:36 +01:00
ganfra ecf728aef8 Handle epoxy timeline manually : get off the cache at the moment, will need to be improved 2018-10-31 11:22:42 +01:00
ganfra bc8055c3cd Room list : handle direct rooms 2018-10-30 18:22:29 +01:00
ganfra cc29a387c7 Start introducing theme on app + branch toolbar to drawer, still requires refinements 2018-10-29 14:57:36 +01:00
ganfra e5fc1e3412 Introduce MvRx in the application + start managing UI 2018-10-28 19:18:14 +01:00
ganfra 7ba67d6c2b Deport timeline in his own class 2018-10-25 18:15:22 +02:00
ganfra 2faba01662 Room : load all room members on first room opening 2018-10-25 16:56:32 +02:00
ganfra 7ecbe09661 Handle read receipt saving (still need to find a way to improve insertion ) 2018-10-24 18:11:01 +02:00
ganfra f747d268c9 First attempt to handle room name + make app listen to room summaries instead of rooms 2018-10-23 18:25:28 +02:00
ganfra 279241974a Add a way to enrich event with useful data to be displayed. 2018-10-22 19:36:29 +02:00
ganfra 6e3992e70e Fix some issues with sync (bad thread, bad use of last() ) 2018-10-19 17:18:24 +02:00
ganfra e323c858ab Fix compilation issue and rename method 2018-10-19 14:26:13 +02:00
ganfra 1646687e6d Clean some files 2018-10-17 19:12:39 +02:00
ganfra 00188fde29 Try to have some cleaner hierarchy 2018-10-17 18:21:09 +02:00
ganfra 44eb838610 Manage sync in an infinite thread 2018-10-17 13:59:21 +02:00
ganfra 4904ac894e Start to insert room summaries and listen for changes 2018-10-16 15:52:30 +02:00
ganfra b79d23ad24 Migrate to realm + better insertion 2018-10-15 19:42:13 +02:00
ganfra 058f1704fa Make sync request works as initial sync 2018-10-08 17:52:45 +02:00