Commit Graph

149 Commits

Author SHA1 Message Date
ganfra
946ae32cd8 Let the app be compatible with android 16 2019-01-24 16:30:05 +01:00
ganfra
7c4ac7b53a Media : start to refact renderer to be more generic 2019-01-23 20:29:47 +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
85608b04d1 Room list : quickly branch filter room name field 2019-01-21 19:39:45 +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
c7c3a57c93 Timeline hot fix: when room member is null, use sender to render name. Still have to figure it out why RoomMember can be null. 2019-01-18 19:40:20 +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
2380499af2 Login : quickly add homeserver url field 2019-01-17 18:20:01 +01:00
ganfra
4a6b28aca1 Merge branch 'feature/timeline_events' into develop 2019-01-17 15:33:13 +01:00
ganfra
c20cbf7110 Androidx : set paging to 2.0.0 as it seems better at the moment 2019-01-17 15:04:57 +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
cb05d10824 Timeline : fix minor UI issues 2019-01-16 10:41:32 +01:00
ganfra
06dd3760c5 Timeline : start handling some state events display 2019-01-15 15:47:03 +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
acf2301fc9 Use RxRelay instead of Subjects 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
02254d5d31 Timeline : re-add hasReachedEnd condition to get a better display 2019-01-14 16:46:54 +01:00
ganfra
2b66b4c4b7 Add a HomeActivityViewModel, VisibleRoomHandler and Event classes to handle some navigation. Not perfect but ok for now 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
1269715b5c Timeline : introduce timeline data class to allow listening for isLoadingForward and isLoadingBackward 2019-01-14 16:46:54 +01:00
ganfra
d288fb7c9c Timeline : improve scrolling performances 2019-01-14 16:46:54 +01:00
ganfra
281c25e66d Add to backstack when navigating from permalink in room details #2 2019-01-14 16:46:54 +01:00
ganfra
14fc75a5f3 Add to backstack when navigating from permalink in room details 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
51000c4711 Re-add opening detail when opening app 2019-01-14 16:46:54 +01:00
ganfra
7c0df91a58 Remove HomeViewModel and dispatch in multiple view models (one for each fragment) 2019-01-14 16:46:54 +01:00
ganfra
7f11c141c7 Use MvRx in room detail 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
b696e4a6de Navigation : add simple fragment backstack management. 2019-01-14 16:46:54 +01:00
ganfra
c42be8141e Iterate on navigation... We have to think about backstack, maybe using a finite state machine. WIP 2019-01-14 16:46:54 +01:00
ganfra
337fd075dd Start thinking about navigation. WIP 2019-01-14 16:46:54 +01:00
ganfra
3713e71c8e Refactor Matrix instance creation (using ContentProvider) + isolate Koin in matrix 2018-12-20 15:44:01 +01:00
ganfra
9b8800ec55 Permalinks : add a parser to get data from permalink (userId, eventId...) 2018-12-19 19:08:30 +01:00
ganfra
fdd4642cbb Use addLinks method on message. Next step is to proceed the url to navigate. 2018-12-19 11:50:44 +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
21c7cf2498 Add splash screen faking toolbar 2018-12-17 18:55:15 +01:00
ganfra
4656429d83 Introduce a localId for event, to avoid blink effect when sending 2018-12-17 18:25:02 +01:00
ganfra
9af466c24b Home : open detail only when drawer is closed 2018-12-14 19:22:55 +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
d250d2bd27 Start introducing a way to open timeline around an event 2018-11-19 15:47:54 +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
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
9cc3dc51cc Use Try instead of Either as it makes more sens + add GroupRooms API 2018-11-06 16:39:29 +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
c6bcd1c022 Timeline : use snapshot from pagedlist to build list 2018-11-05 14:25:37 +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
ganfra
9c48eba26c Better date management 2018-11-02 11:53:31 +01:00
ganfra
1cc19a90bc Add splash for initial sync 2018-11-02 10:30:59 +01:00
ganfra
455b860f06 Clean files and check if session is open 2018-11-02 10:30:50 +01:00
ganfra
0b50ee0974 Timeline : scroll to show new message 2018-11-02 10:17:37 +01:00
ganfra
eda88030a3 Add blank item to use pagedlist load around method 2018-11-02 09:52:10 +01:00
ganfra
6d9907563e Clean a bit avatar management 2018-11-02 09:12:26 +01:00
ganfra
18c6472f32 Fix some stupid issues 2018-11-01 10:09:27 +01:00
ganfra
ea51420c74 Quick & dirty avatar display (to be removed) 2018-10-31 16:54:02 +01:00
ganfra
900217b90e Timeline : quickly manage dates (need to be clean) 2018-10-31 16:22:50 +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
ec27951850 Add fake filter view + refine UI 2018-10-30 11:47:05 +01:00
ganfra
55efd226bb Add quick room category to list (WIP, not clean at all) 2018-10-29 20:29:09 +01:00
ganfra
e06d95b8e3 Selection state should be tested through room id 2018-10-29 18:06:11 +01:00
ganfra
7dc7b4b8eb Introduce HomeDrawerFragment to manage communities and rooms 2018-10-29 17:48:31 +01:00
ganfra
7e59933fda Polish toolbar on room detail screen 2018-10-29 17:20:08 +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
2faba01662 Room : load all room members on first room opening 2018-10-25 16:56:32 +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
0f4d15e488 Makes back pagination work. Still need to refine but ok for proto. 2018-10-22 15:24:27 +02:00
ganfra
d71ae02162 Still WIP for Paging integration 2018-10-21 20:27:50 +02:00
ganfra
702abccb38 Continue to work on timeline/pagination. WIP 2018-10-19 20:34:54 +02:00
ganfra
6e3992e70e Fix some issues with sync (bad thread, bad use of last() ) 2018-10-19 17:18:24 +02:00
ganfra
ecbc64082f Use epoxy to render pagedList : WIP 2018-10-19 15:30:40 +02:00
ganfra
06a5253fd9 Introduce epoxy in demo app 2018-10-19 14:26:38 +02:00
ganfra
1646687e6d Clean some files 2018-10-17 19:12:39 +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
5baaecaea4 Add basic session management to avoid login each time 2018-10-11 09:58:28 +02:00
ganfra
f9e6f4b533 Integration with old SDK - make it works 2018-10-11 09:05:32 +02:00
ganfra
108fae2f28 WIP integration with old SDK (not working) 2018-10-10 19:46:43 +02:00
ganfra
3215fa47d5 Import old SDK as legacy code to replace smoothly 2018-10-09 12:30:01 +02:00
ganfra
058f1704fa Make sync request works as initial sync 2018-10-08 17:52:45 +02:00
ganfra
a7eecdffae Start importing some classes from the developed SDK... + rename packages 2018-10-05 18:14:32 +02:00
ganfra
c4316d5055 Make the sdk targeting android to win time 2018-10-04 15:19:03 +02:00
ganfra
b406e8301a first commit 2018-10-03 17:58:12 +02:00