Commit Graph

139 Commits

Author SHA1 Message Date
Valere a734c699ad Fix impure reducer and use live event 2019-07-01 09:56:00 +02:00
Benoit Marty 4ad23f0f37 Fix bad copyright block 2019-06-28 16:05:36 +02:00
Valere b92cc524b6 Fix / Day separator flickering in timeline
Sending events were not filtered, so sending events like reactions would make the day separator appear
2019-06-28 11:33:33 +02:00
ganfra b2d2582e0f Merge branch 'develop' into feature/dagger [WIP] 2019-06-26 20:58:46 +02:00
Valere 2e417a9143 Basic FCM vs fdroid mode 2019-06-26 12:19:54 +02:00
ganfra 07fee8ed3d Dagger: continue reworking on app and sdk [WIP] 2019-06-20 19:26:59 +02:00
Benoit Marty 625500212d Manage display name disambiguation (Fixes #172) 2019-06-18 16:09:48 +02:00
ganfra 4be0ab87fc Dagger: continue adding it to SDK [WIP] 2019-06-16 17:00:47 +02:00
ganfra 3d465f6fdf Start to introduce Dagger into SDK [WIP] 2019-06-14 16:32:23 +02:00
ganfra 612b13808f Crypto: clean some code + add failure send state (but not handled yet). 2019-06-10 19:22:48 +02:00
ganfra 81330d30cf Merge branch 'develop' into feature/crypto 2019-06-07 18:53:24 +02:00
ganfra 664e5354d3 Crypto: continue cleaning + fix some issues. 2019-06-07 16:01:24 +02:00
ganfra c4d7711d2f Crypto: finally get a working encrypt/decrypt + SAS 2019-06-06 19:10:04 +02:00
ganfra 6b0ab10231 Crypto: continue threading rework. WIP to shash 2019-06-05 22:18:16 +02:00
ganfra e125862794 Crypto: start reworking threading - WIP (to squash) 2019-06-04 16:26:37 +02:00
Valere 99925d7cf9 Local echo for reactions/edits/redacts 2019-05-29 18:43:33 +02:00
ganfra af338b0607 Crypto: decryption is working (but still a lot to do) 2019-05-26 19:21:45 +02:00
Valere 2da4823e33 Fix / crash on logout
cannot access deleted object from delete
2019-05-20 13:58:45 +02:00
Valere 6eafa3c43d Undo Reaction 2019-05-20 10:16:00 +02:00
ganfra 2780ca30a8 Merge branch 'feature/invites' into develop 2019-05-17 17:38:09 +02:00
Valere ef26519993 Send reaction view quick react and picker
+ fix / Error when to many reactions in cells (more than placeholders -8-)
+ fix / DefaultTimeline quick map access was not shifted when items inserted at given index
2019-05-16 16:35:54 +02:00
Valere d68b447874 Relations Model + Aggregation + Reactions Summary 2019-05-16 09:21:10 +02:00
Valere 6bf1deb99b Code Review 2019-05-10 12:14:40 +02:00
ganfra c39cfbe2ae Invites : allow to accept or reject the invite + clean some code. Require UI polishing. 2019-05-07 19:33:58 +02:00
Valere 56a2a3a065 [WIP] Emoji Reactions 2019-05-07 18:01:51 +02:00
ganfra ceac06caf6
Merge pull request #109 from vector-im/feature/timeline_formatting 2019-05-06 15:01:08 +02:00
ganfra 694df9d845 Timeline : fix some timeline rendering issues (senderName, merge item, left event). Still need to work on it. 2019-05-06 14:26:41 +02:00
Benoit Marty d2e1aff453 Convert JsonFilter to FilterId 2019-04-17 12:05:39 +02:00
ganfra 0225fc7120 Media upload: handle local echo by pinning at the bottom... will probably be changed 2019-04-11 12:48:35 +02:00
ganfra d110dac0a6 Merge feature/replace_paged_list into develop 2019-04-01 17:33:53 +02:00
ganfra be6a4efacb Timeline : make tests compile and pass 2019-04-01 15:18:52 +02:00
ganfra 4154df7c21 Timeline : stabilize the pagedList replacement. Seems ok for phase0 2019-03-27 19:57:36 +01:00
Benoit Marty 79e273b1ca Add Doc 2019-03-27 18:03:36 +01:00
ganfra 2898eae566 Timeline : reactivate loaders and get off the main thread 2019-03-20 16:24:50 +01:00
ganfra c12bc5e02d Timeline rework : first version working for backward navigation (need more testing) 2019-03-15 19:27:56 +01:00
ganfra 820709d433 Timeline rework : initial commit - to amend. 2019-03-13 22:30:05 +01:00
ganfra 9dccad11fe Update copyright and add to last merged commits 2019-01-25 14:04:59 +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 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 39ad44e9aa Refactor a bit EnrichedEvent and Content. Metadata will only be used for unexpected data. 2018-12-18 14:46:20 +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 14d807232f Finally remove legacy package and clean some files. 2018-12-12 21:54:14 +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 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 240b4715fc Add internal keyword where it makes sense 2018-11-08 11:04:40 +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 18c6472f32 Fix some stupid issues 2018-11-01 10:09:27 +01:00
ganfra 536d7c33fe Timeline : change page size 2018-10-31 16:23:02 +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 e5fc1e3412 Introduce MvRx in the application + start managing UI 2018-10-28 19:18:14 +01:00
ganfra d0a241bd2d Clean a bit code and reorganize files 2018-10-26 15:12:38 +02:00
ganfra e942b54b56 Adding events to chunk is now faster by using query to check contains and no primary key 2018-10-26 12:48:56 +02:00
ganfra 7ba67d6c2b Deport timeline in his own class 2018-10-25 18:15:22 +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 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 0041b6273e Start introducing PagedList management for timeline 2018-10-18 18:38:11 +02:00