Commit Graph

220 Commits

Author SHA1 Message Date
Valere 6f103101b6 Show edited annotation in timeline + simple edit history 2019-05-21 14:12:18 +02:00
Valere a5a9fa3750 Color provider need to be aware of theme 2019-05-21 14:10:19 +02:00
Valere 8cb884f10e Support message edition 2019-05-20 18:52:48 +02:00
Benoit Marty 6d8000b957 Log 2019-05-20 17:13:08 +02:00
Valere 2da4823e33 Fix / crash on logout
cannot access deleted object from delete
2019-05-20 13:58:45 +02:00
Valere 5dfc0b3c0e Toggle Quick React (agree/disagree like/dislike) 2019-05-20 12:43:02 +02:00
Valere 71e50b1bb9 Fix / Missing inject after rebase 2019-05-20 10:16:00 +02:00
Valere 64c307077f Refactoring / PruneWorker should be a task not a worker 2019-05-20 10:16:00 +02:00
Valere 054d339b48 Fix / Reaction stays highlighted when undone
When undoing my reaction, the reactji stays selected as if i have done the reaction
2019-05-20 10:16:00 +02:00
Valere e3b9031e71 Fix / day separator flicker when adding reaction
When adding a reaction, the tmp local echo force the display of a new 'day separator' at the bottom if there was no new message for this day yet (then disappears just after -flicker-)
2019-05-20 10:16:00 +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
Benoit Marty de4662b9d5 Remove all async thread 2019-05-17 15:05:07 +02:00
Benoit Marty a2210a6b0d WIP 2019-05-17 11:20:22 +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
Benoit Marty e70fd8e351 canonicalize 2019-05-16 15:36:51 +02:00
Valere 6fe455dac0 Support AddedByMe in reaction + context menu reflect agree/like state 2019-05-16 10:49:52 +02:00
Benoit Marty 1436667e7d Crypto 2019-05-16 10:34:17 +02:00
Valere d68b447874 Relations Model + Aggregation + Reactions Summary 2019-05-16 09:21:10 +02:00
ganfra 8d0322c0c3 Hot fix LL not working 2019-05-15 11:11:38 +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 72cd409735 Invites : start handling invite/left sync 2019-05-06 19:17:30 +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 b1b526a516 Clear cache and rework Signout 2019-04-17 15:55:38 +02:00
Benoit Marty ab7b807740 Rename APIs 2019-04-17 12:06:15 +02:00
Benoit Marty 4c02721ada Create realm module to avoid losing credentials when Realm model change. 2019-04-17 12:06:15 +02:00
Benoit Marty 5dca31e6f9 Do not loop sync in case of JsonEncodingException (if HS is down) 2019-04-17 12:05:39 +02:00
Benoit Marty d2e1aff453 Convert JsonFilter to FilterId 2019-04-17 12:05:39 +02:00
ganfra dab80466c5 Timeline : extract video thumbnail and upload it 2019-04-16 17:24:28 +02:00
ganfra 2c83ba0824 Timeline : start to handle video media. Probably to amend 2019-04-12 13:46:59 +02:00
ganfra dcac9aed55 Merge branch 'feature/media_attachment' into develop 2019-04-11 13:21:51 +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
Benoit Marty 0055514f90 Update room topic 2019-04-09 18:33:28 +02:00
Benoit Marty 6248cc5552 Send emote 2019-04-09 17:53:23 +02:00
Benoit Marty 81ddb8c5fb SlashCommand: handle user invitation 2019-04-09 14:44:48 +02:00
ganfra c9658918ed Media upload : start handling progress. 2019-04-08 16:39:08 +02:00
Benoit Marty 6d3028c2d7 Autocomplete : start fetching users. Still need to adjust UI and manage selection. 2019-04-08 16:18:36 +02:00
Benoit Marty aec7b73345 Introduce room member service 2019-04-08 15:53:02 +02:00
Benoit Marty 460a72e6b5 Create Room 2019-04-08 13:49:28 +02:00
Benoit Marty 748090d0f9 Avoid critical log for timeout on event thread 2019-04-05 11:07:45 +02:00
ganfra c47eeb9cec Send media: first working implementation. Then, need to fix local echo and handle other types than image. 2019-04-04 19:55:58 +02:00
Benoit Marty 43659dffd3 Improve signout task 2019-04-04 11:10:45 +02:00
ganfra 18591d0287 Media: start to play with uploading media 2019-04-03 23:06:17 +02:00
Benoit Marty 08dacacdda SignOut 2019-04-03 18:25:39 +02:00
ganfra 04b4f32e16 Sync : add log and continue when read_receipts fail 2019-04-01 17:39:27 +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 94db36d6c4 Fix room summary not being updated when room members are loaded 2019-03-29 11:15:27 +01:00
ganfra a6366e47fe Timeline : change some database details to make it faster 2019-03-28 12:00:45 +01: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
Benoit Marty d5838262ea Fix i18n issue 2019-03-13 18:36:57 +01:00
ganfra 2c0bc93f5a Home: getting Room interface slow (blocking Main Thread). Maybe we should get this async. 2019-02-27 17:41:06 +01:00
ganfra 41b06bca60 User : rework UserEntityUpdater (and make others RealmLiveEntityObserver process on MonarchyThread instead of Main) 2019-02-26 19:32:01 +01:00
ganfra f59977f884 Room state: fix sync state events duplicates with timeline 2019-02-26 14:50:53 +01:00
ganfra 40f1fcab18 User : start handling users. Need to fine a good strategy to process room member events. 2019-02-25 21:55:33 +01:00
ganfra 6c7bc2b40c Timeline: get better perf 2019-02-25 18:10:37 +01:00
ganfra ca890e1ef4 Room tag: let the tag order be anything to avoid breaking at the moment. 2019-02-20 18:09:07 +01:00
ganfra 9477316b61 Sync : add timber log on sync failure 2019-02-19 19:37:16 +01:00
ganfra 03437885ef Read receipts : fix issues with receipts not being sent 2019-02-18 17:41:21 +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 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 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