Commit Graph

249 Commits

Author SHA1 Message Date
Valere 2e417a9143 Basic FCM vs fdroid mode 2019-06-26 12:19:54 +02:00
Valere 0e46fc4c0a WIP 2019-06-26 12:19:54 +02:00
Valere 8fe0bd5abe
Merge pull request #214 from vector-im/feature/update_quick_reactions
Feature/ Update quick reactions
2019-06-25 15:47:17 +02:00
Benoit Marty 76ade2957e Handle permalink click 2019-06-25 09:34:12 +02:00
Valere 43ead66991 Update quick reactions to new design 2019-06-24 16:13:58 +02:00
Benoit Marty 285da114e7 better code (ganfra's review) 2019-06-20 17:27:15 +02:00
Benoit Marty 8c0a1ed37d Rename "sender" to "senderId" for code clarity 2019-06-18 16:11:24 +02:00
Benoit Marty 625500212d Manage display name disambiguation (Fixes #172) 2019-06-18 16:09:48 +02:00
Benoit Marty 02f84a3b53 View source of encrypted event 2019-06-18 13:14:39 +02:00
Benoit Marty 6266f9e6a1 Handle device deletion the proper way 2019-06-17 17:32:35 +02:00
ganfra df4f0eac20 Merge branch 'feature/sync_ui' into develop 2019-06-13 18:16:45 +02:00
Benoit Marty c20b256b24 Move KeysBackupStateListener to a dedicated file 2019-06-13 11:13:05 +02:00
Benoit Marty 02d3fea4a9 Move javadoc to interface 2019-06-13 11:10:26 +02:00
Benoit Marty ca98ff5864 Clear crypto database when signing out 2019-06-13 10:58:45 +02:00
Benoit Marty 480d197ffa Keys share request handling 2019-06-12 18:32:24 +02:00
ganfra 0204bade8b Content: hide some internal methods 2019-06-12 10:54:26 +02:00
ganfra 3dd161d65a Sync: add progress indicator for sync, need UI inputs. 2019-06-11 16:54:44 +02:00
Benoit Marty 61b1d83bbd Clean 2019-06-11 14:37:02 +02:00
Benoit Marty f6c36670c3 Rename class members and class name for code clarity 2019-06-11 13:32:09 +02:00
Benoit Marty 6dacb9894e Merge branch 'develop' into feature/crypto 2019-06-11 10:11:53 +02:00
ganfra 612b13808f Crypto: clean some code + add failure send state (but not handled yet). 2019-06-10 19:22:48 +02:00
Benoit Marty 4c5bffe0f5 Create room screen - WIP TODO: screen rotation - navigate to created room 2019-06-10 13:39:51 +02:00
ganfra 07c516ccdd Merge branch 'develop' into feature/crypto 2019-06-07 19:25:55 +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
Valere 440442bb99 New View Reactions bottom sheet
+ visible on reaction long click
+ Reaction pills size adapt to count, and number format
2019-06-07 14:14:51 +02:00
ganfra 6b0ab10231 Crypto: continue threading rework. WIP to shash 2019-06-05 22:18:16 +02:00
Benoit Marty 2ba7ec48f6 Code cleanup, remove duplicate code, and add some comments 2019-06-04 17:36:49 +02:00
Benoit Marty 2b6eee4237 Merge branch 'develop' into feature/home_rework 2019-06-04 12:54:16 +02:00
ganfra 3d50393b33 Crypto: continue cleaning. Need threading refactoring 2019-06-03 18:39:37 +02:00
Valere 99925d7cf9 Local echo for reactions/edits/redacts 2019-05-29 18:43:33 +02:00
ganfra 3f7d20ec5b Crypto: make encryption working. 2019-05-28 15:54:16 +02:00
Valere 3cb99ff64f Renamed package .internal.session.room.annotation to xx.relation 2019-05-28 10:45:58 +02:00
Valere 20e903914c Cleaning / code review 2019-05-28 10:43:36 +02:00
Valere 4a4c0a3da1 Added auto markdown (as per preference)
Fix / show formatted message preview upon composer in edit/quote/reply
Fix / use aggregated content to decide for actions on long click
2019-05-27 18:08:29 +02:00
Valere 00d66ffd48
Merge branch 'develop' into feature/edit_message 2019-05-27 17:08:39 +02:00
ganfra b9d76f5047 Room list & event : decouple notice events formatting to be used within room controller 2019-05-27 15:37:18 +02:00
ganfra 275521db70 Home: continue architecture rework. WIP 2019-05-27 15:30:47 +02:00
Valere 0e06908a48 Design update
+ Reply 
+ Better preview in action menu
2019-05-27 11:55:52 +02:00
ganfra af338b0607 Crypto: decryption is working (but still a lot to do) 2019-05-26 19:21:45 +02:00
Benoit Marty 2404eeadf0 RoomDirectoryPicker WIP 2019-05-24 15:43:12 +02:00
Benoit Marty 877de1f597 Get Public rooms and join public room 2019-05-24 11:36:04 +02:00
ganfra 3519ad7c8d Crypto : WIP 2019-05-23 19:12:06 +02:00
Valere 45ea5c356e WIP / edit message 2019-05-23 16:44:51 +02:00
Benoit Marty 52d9adad70 WIP 2019-05-21 15:42:09 +02:00
Valere 8cb884f10e Support message edition 2019-05-20 18:52:48 +02:00
Benoit Marty 532a028e41 Split again 2019-05-20 16:13:50 +02:00
Valere 70c4b7528d Fix doc 2019-05-20 12:49:35 +02:00
Valere 5dfc0b3c0e Toggle Quick React (agree/disagree like/dislike) 2019-05-20 12:43:02 +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
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
Valere cfca4927e2 Cleaning 2019-05-10 09:28:52 +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 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 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
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
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
Benoit Marty 6830957d31 Import settings from Riot - not all fonctional of course 2019-04-02 18:08:43 +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
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 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 ca890e1ef4 Room tag: let the tag order be anything to avoid breaking at the moment. 2019-02-20 18:09:07 +01:00
ganfra 28c837a47f Timeline: handle call events 2019-02-20 15:47:20 +01:00
ganfra 42cf45c8f3 Timeline: handle room history visibility 2019-02-20 12:06:33 +01:00
ganfra 30bfada5d2 Merge branch 'feature/room_list' into develop 2019-01-31 12:15:43 +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 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 ad2abd5cdd Fix messages content info can be null 2019-01-25 18:40:02 +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 c33e96b82c Add comments in API packages 2019-01-25 15:44:41 +01:00
ganfra 9dccad11fe Update copyright and add to last merged commits 2019-01-25 14:04:59 +01:00
ganfra 4c7a6dfe33 Merge branch 'feature/timeline_media' into develop 2019-01-25 12:36:01 +01:00
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