Commit Graph

123 Commits

Author SHA1 Message Date
ganfra 4048658c56 Read receipts : start to query them when item become visible... not sure it's the right way to do. 2019-02-01 14:30:28 +01:00
ganfra 8d13f08574 Read receipts : add a listener to know when data have been updated. 2019-02-01 12:38:33 +01:00
ganfra 56af92d759 Read receipts: start to work on retrieving them with the associated room member. 2019-01-31 20:40:32 +01:00
ganfra 6c653287e1 Read receipts : fix read receipt being sent for dummyEvent + scroll appearing index 2019-01-31 11:45:11 +01:00
ganfra 6113bba703 Timeline : send read-receipt when scrolling. Still need to handle read marker. 2019-01-30 18:39:54 +01:00
ganfra 0e491af8ab Room list : adjust some params 2019-01-29 18:31:11 +01:00
ganfra 6df8809ee0 Room list : add quick ordering 2019-01-29 16:02:42 +01:00
ganfra d3d536f4f0 Room : add RoomTag to handle favourites, low priority and system alerts in room list. 2019-01-29 14:16:22 +01:00
ganfra 0f66fa0895 Room : refactoring how a room is created 2019-01-28 18:42:29 +01:00
ganfra b2e2c14e69 Room : start to handle read markers. Only used when you open the room at the moment. 2019-01-28 17:56:23 +01:00
ganfra 9a42c121e4 Room list : show unread badge with room name. Still need to mark a room as read to update marker. 2019-01-25 18:04:08 +01:00
ganfra 9dccad11fe Update copyright and add to last merged commits 2019-01-25 14:04:59 +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 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 34e08705dd Timeline : still trying to adjust PagedList options 2019-01-14 16:46:54 +01:00
ganfra d7de986365 Timeline : try using initialLoadKey to open PagedList around an event. Still need to scroll to the item. 2019-01-14 16:46:54 +01:00
ganfra 922609cb57 Timeline : try to get a better PagedList/Epoxy integration. Still need to be refined. 2019-01-14 16:46:54 +01:00
ganfra de90cbe73e Timeline : fix merging issues 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 f5d64a5707 RoomSummary : clean some old code 2019-01-14 16:46:54 +01:00
ganfra 7669a94a64 Introduce retry on task executor and use it for pagination 2019-01-14 16:46:54 +01:00
ganfra d288fb7c9c Timeline : improve scrolling performances 2019-01-14 16:46:54 +01:00
ganfra e9737dff75 Add roomId to EventEntity as it makes queries a lot faster and fixes performance issues. 2019-01-14 16:46:54 +01:00
ganfra fd06606c45 Room : load room members is totally off the main thread now 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 aec620fb50 Move some files 2018-12-20 16:27:59 +01:00
ganfra 3713e71c8e Refactor Matrix instance creation (using ContentProvider) + isolate Koin in matrix 2018-12-20 15:44:01 +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 0f667fe6e8 Introduce ContentMapper, allowing to map a content directly without going through an event entity. 2018-12-17 18:24:01 +01:00
ganfra d9e24558ec Makes task configurable to allow choosing threads 2018-12-17 16:42:22 +01:00
ganfra 5cc128cbf3 Introduce Task interface and TaskExecutor to centralize task processing and easier testing (replace Request naming) 2018-12-14 19:22:39 +01:00
ganfra 168814149b Update some dependencies 2018-12-13 11:00:50 +01:00
ganfra 14d807232f Finally remove legacy package and clean some files. 2018-12-12 21:54:14 +01:00
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 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