Commit Graph

405 Commits

Author SHA1 Message Date
Benoit Marty
f2372841f6 KeysBackup: import change from https://github.com/vector-im/riot-android/pull/3127 2019-06-17 19:07:04 +02:00
Benoit Marty
191d80e5f5 Fix issue with key importation 2019-06-17 19:05:26 +02:00
Benoit Marty
659ba34fb3 Remove CryptoAsyncHelper and use only coroutine 2019-06-17 19:05:26 +02:00
Benoit Marty
907a1d1a4b Import keys: WIP 2019-06-17 19:05:26 +02:00
Benoit Marty
99d2e8388a Fix crash 2019-06-17 19:04:48 +02:00
Benoit Marty
b682f3e982 Cleaner code 2019-06-17 19:04:48 +02:00
Benoit Marty
5f0d1d9536 Crypto: export room keys 2019-06-17 19:04:48 +02:00
Benoit Marty
8c8a4dcbd1 Fix margin issue when second text is not displayed 2019-06-17 18:13:34 +02:00
Benoit Marty
6266f9e6a1 Handle device deletion the proper way 2019-06-17 17:32:35 +02:00
Benoit Marty
97b066b8fa Import strings from Riot 2019-06-17 14:55:17 +02:00
ganfra
3d465f6fdf Start to introduce Dagger into SDK [WIP] 2019-06-14 16:32:23 +02:00
Benoit Marty
e3bc88e36c
Merge pull request #183 from vector-im/feature/motionLayout
Better anim of ome button
2019-06-14 16:17:27 +02:00
Benoit Marty
eaf1e080ba format file 2019-06-14 16:14:39 +02:00
Benoit Marty
02ef1172ce
Merge pull request #179 from vector-im/feature/cryptoFinalization
Crypto: Delete device
2019-06-14 16:06:23 +02:00
ganfra
df4f0eac20 Merge branch 'feature/sync_ui' into develop 2019-06-13 18:16:45 +02:00
Benoit Marty
d353e9314b Crypto: Delete device 2019-06-13 16:48:42 +02:00
Benoit Marty
ab95cbee92 Improve keys backup banner rendering 2019-06-13 14:20:43 +02:00
Benoit Marty
c20b256b24 Move KeysBackupStateListener to a dedicated file 2019-06-13 11:13:05 +02:00
Benoit Marty
ca98ff5864 Clear crypto database when signing out 2019-06-13 10:58:45 +02:00
Benoit Marty
6cd3b4dd95 Import https://github.com/vector-im/riot-android/pull/3111/files in RiotX 2019-06-13 10:33:04 +02:00
Benoit Marty
480d197ffa Keys share request handling 2019-06-12 18:32:24 +02:00
Benoit Marty
a7c0e87f40 Alerter: upgrade lib and change status icon color when alert is displayed 2019-06-12 16:30:30 +02:00
Benoit Marty
af1a48d918 SAS: fix issue on emoji rendering 2019-06-12 15:44:25 +02:00
Benoit Marty
e17ffc85e7 KeysBackup: save recovery key to file 2019-06-12 14:59:54 +02:00
Benoit Marty
9c654ba72c Use observeEvent when appropriate 2019-06-12 13:19:52 +02:00
Benoit Marty
b47ef9220e Keys backup: migrate settings to Epoxy and MvRx 2019-06-12 13:09:43 +02:00
ganfra
481a25d4df Settings: add some webview content 2019-06-12 10:53:48 +02:00
ganfra
3dd161d65a Sync: add progress indicator for sync, need UI inputs. 2019-06-11 16:54:44 +02:00
Benoit Marty
53dd9c3427 Keys backup fix some issue on layout 2019-06-11 16:48:48 +02:00
Benoit Marty
4827b76b80 Integrate keysbackup banner 2019-06-11 15:45:40 +02:00
Valere
1206107a73 Fix / visibility bug after scroll
+ refine animation
2019-06-11 15:43:40 +02:00
Benoit Marty
64e5fed7ac Fix issue: lastSeenTs can be null 2019-06-11 13:57:35 +02:00
Benoit Marty
f6c36670c3 Rename class members and class name for code clarity 2019-06-11 13:32:09 +02:00
Benoit Marty
2e39a678db Code quality 2019-06-11 10:15:50 +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
90a011c4e4 Fix issue on animation 2019-06-10 18:16:06 +02:00
Benoit Marty
56f1c726b2 FAB Motion WIP
FAB Motion WIP

FAB Motion WIP

FAB Motion WIP
2019-06-10 17:22:00 +02:00
Benoit Marty
6323183119 Ganfra's review: use sumBy() instead of reduce() 2019-06-10 17:06:58 +02:00
Benoit Marty
fa297a7b6a Ganfra's review: use NavigationViewModel to open the drawer 2019-06-10 16:53:21 +02:00
Benoit Marty
b48c920292 Ganfra's review: use simple ViewModel 2019-06-10 16:45:42 +02:00
Benoit Marty
c0be04f46c Ganfra's review: use observeEvent 2019-06-10 16:39:46 +02:00
Benoit Marty
4eab0a3704 Add foreground attribute 2019-06-10 15:35:05 +02:00
Benoit Marty
933e06a7ef Auto collapse toolbar 2019-06-10 15:24:25 +02:00
Benoit Marty
ad8baf8091 Fix screen rotation issue 2019-06-10 14:13:14 +02:00
Benoit Marty
598245531a Fix compilation issue after rebase 2019-06-10 13:45:34 +02:00
Benoit Marty
4f044c0cd6 Create room screen - Navigate to change protocol 2019-06-10 13:39:51 +02:00
Benoit Marty
77fc793e89 Create room screen - Navigate to freshly created room 2019-06-10 13:39:51 +02:00
Benoit Marty
aa95ce3d02 Create room screen - Better navigation pattern 2019-06-10 13:39:51 +02:00
Benoit Marty
4c5bffe0f5 Create room screen - WIP TODO: screen rotation - navigate to created room 2019-06-10 13:39:51 +02:00
Benoit Marty
ed18a504e4 Open drawer when clicking on group avatar 2019-06-10 13:39:11 +02:00
Benoit Marty
aec7e72dcf Add missing files for Status theme 2019-06-10 13:39:11 +02:00
ganfra
f2722f4766 Crypto: fix a small issue 2019-06-07 20:38:39 +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
10251b906a clean / format 2019-06-07 15:57:55 +02:00
Valere
c9240c2dce Fix / disable context menu on not sent messages 2019-06-07 15:49:41 +02:00
Valere
220e6224e7 Merge develop 2019-06-07 15:42:04 +02:00
Valere
d3518c4944
Merge pull request #161 from vector-im/feature/fix_timeline_clicks
Fix / click|longclick link interference
2019-06-07 14:43:04 +02:00
Valere
5f34e58bd3 Fix / style on emoji picker appbar layout 2019-06-07 14:29:42 +02:00
Valere
438404b5ba code review cleaning 2019-06-07 14:14:51 +02:00
Valere
651d0472cd Show preview for notice events in context menu + fix merge issues 2019-06-07 14:14:51 +02:00
Valere
5cf9deb329 Menu action for non room messages 2019-06-07 14:14:51 +02:00
Valere
7409003949 Fix / Bug aggregation on initial sync
fix / All messages were not processed due to a test exiting the for loop
+ started adding context menu for non room messages
2019-06-07 14:14:51 +02:00
Valere
3f1bf00fdd Fix / use emoji Compat font for view reaction screen 2019-06-07 14:14:51 +02:00
Valere
04576ba7fd Permalink message action + Fix crash on injection of navigator 2019-06-07 14:14:51 +02:00
Valere
053dc1d8dd Show 'view reaction' option in context menu 2019-06-07 14:14:51 +02:00
Valere
834a865dfa Show text with only few emojis in bigger 2019-06-07 14:14:51 +02:00
Valere
e22b555b58 Refactoring (duplication in Message Item Factory) + cleaning 2019-06-07 14:14:51 +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
Valere
d2f648edec Use Font emoji compat for quickReactions and pills 2019-06-07 14:14:51 +02:00
Valere
adbfde94d6 Fix / move read receipt on m.replace events 2019-06-07 14:14:51 +02:00
Valere
1b3ec2d0fb fix / review 2019-06-07 13:38:58 +02:00
Valere
ecccb80e04 Fix / No elevation on toolbars
In order to work se need to set a background on toolbar
2019-06-07 13:26:03 +02:00
Benoit Marty
fb9627b7c4 Share the debug signature to all machines which build the debug APK 2019-06-07 10:17:14 +02:00
Benoit Marty
b67c686d67 Fix lint warning 2019-06-06 19:23:14 +02:00
Benoit Marty
f2da46b5f9 Dark dialog 2019-06-06 19:09:59 +02:00
Benoit Marty
a0b2d4c8f2 L'oeil à l'interieur 2019-06-06 18:56:54 +02:00
Benoit Marty
1f85f4a007 Remove unused themes 2019-06-06 18:47:27 +02:00
Benoit Marty
2c2f517e52 Hot change of theme - WIP 2019-06-06 18:34:14 +02:00
Benoit Marty
bfbb29b2cf Theme FAB menu 2019-06-06 16:45:45 +02:00
Benoit Marty
dd563ec9ae Fix issue in theme 2019-06-06 15:56:05 +02:00
Benoit Marty
e2d36aa213 Fix issue in theme 2019-06-06 15:24:04 +02:00
Benoit Marty
2cc2844abf Fix issue in theme 2019-06-06 15:16:56 +02:00
Benoit Marty
75b8932395 Fix issue in theme 2019-06-06 14:37:30 +02:00
Benoit Marty
311d8484a2 Add test Theme Activity 2019-06-06 13:39:08 +02:00
Benoit Marty
917282303d Import test Activities from Riot 2019-06-06 10:28:11 +02:00
Benoit Marty
8afe31192b Fix issue in themes 2019-06-06 09:50:26 +02:00
Benoit Marty
bbbf64f543 Fix issue in themes 2019-06-06 09:39:08 +02:00
ganfra
6b0ab10231 Crypto: continue threading rework. WIP to shash 2019-06-05 22:18:16 +02:00
Benoit Marty
acedff4e89 FAB Menu
FAB Menu WIP

FAB Menu WIP

FAB Menu WIP
2019-06-05 18:59:50 +02:00
Benoit Marty
f9bfda059f Theme rework WIP 2019-06-05 16:16:37 +02:00
Benoit Marty
94c91e0dae Theme rework WIP 2019-06-05 15:58:00 +02:00
Benoit Marty
48fadd1a11 Theme rework WIP 2019-06-05 15:27:35 +02:00
Benoit Marty
51f5594ea0 Theme rework WIP 2019-06-05 14:57:30 +02:00
Benoit Marty
91114e2afe Quick and dirty implementation of password reveal on HomeScreen 2019-06-05 10:17:59 +02:00
Benoit Marty
e058fa9069 Add elevation on Toolbar 2019-06-04 18:10:38 +02:00
Benoit Marty
2ba7ec48f6 Code cleanup, remove duplicate code, and add some comments 2019-06-04 17:36:49 +02:00
Benoit Marty
ab6220a4cb Fix crash when reducing empty collection 2019-06-04 15:12:09 +02:00
Benoit Marty
2b6eee4237 Merge branch 'develop' into feature/home_rework 2019-06-04 12:54:16 +02:00
Benoit Marty
7eb1be4633 Valere's review 2019-06-04 12:35:50 +02:00
Valere
0ecc53f59c Added simple (limited) message preview 2019-06-04 12:02:34 +02:00
Benoit Marty
e3983deacc dispose uiDisposable in onDestroy() 2019-06-04 11:02:40 +02:00
Benoit Marty
9061d5c972 better code 2019-06-04 10:37:49 +02:00
Valere
471170a3e0 Fix / click|longclick link interference
+ some missing long click (image content wrapper)
+ update markwon version
2019-06-04 10:29:56 +02:00
Benoit Marty
43521c6e09 Cleanup 2019-06-04 10:25:29 +02:00
Benoit Marty
fc5edcdf0f Expanding Fab menu 2019-06-04 10:14:48 +02:00
ganfra
3d50393b33 Crypto: continue cleaning. Need threading refactoring 2019-06-03 18:39:37 +02:00
Benoit Marty
3475b169ea icon change 2019-06-03 16:46:27 +02:00
Benoit Marty
c1fa728c24 Public rooms little rework 2019-06-03 16:44:31 +02:00
Benoit Marty
3b12f5eec7 Room preview toolbar + link on topic 2019-06-03 14:37:22 +02:00
Benoit Marty
12b03a844d Room preview world readable room 2019-06-03 14:29:29 +02:00
Benoit Marty
4716ceb950 Correct initial state 2019-06-03 14:13:56 +02:00
Benoit Marty
c91a409258 Do not use execute{ } 2019-06-03 14:06:01 +02:00
Valere
99925d7cf9 Local echo for reactions/edits/redacts 2019-05-29 18:43:33 +02:00
Benoit Marty
ae38917a33 Home badge 2019-05-29 18:04:41 +02:00
Benoit Marty
9da727b623 All caught up screen 2019-05-29 16:20:25 +02:00
Benoit Marty
241ee1cb9d Fix issue with Avatar renderer in invitation screen 2019-05-29 15:07:08 +02:00
Benoit Marty
e959fe2e9d Hide FAB when list is scrolling 2019-05-29 14:52:08 +02:00
Benoit Marty
6978ec4246 cleanup 2019-05-29 14:19:40 +02:00
Benoit Marty
2b8bbc550c Room list 2019-05-29 13:36:24 +02:00
Benoit Marty
25f6528049 Drawer layout 2019-05-29 10:52:26 +02:00
Benoit Marty
3289cbd6e7 Cleanup 2019-05-29 09:58:29 +02:00
Benoit Marty
b91e7e9fb8 Cleanup 2019-05-29 09:39:55 +02:00
Benoit Marty
e70a483d6b Introduce Navigator 2019-05-28 21:24:29 +02:00
Benoit Marty
6244913ab9 Join room from room preview 2019-05-28 17:21:54 +02:00
Benoit Marty
33fbcc8ba3 RoomPreview when the room is not world readable 2019-05-28 15:58:30 +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
Benoit Marty
dde94c0d0f Plug screens together 2019-05-27 17:28:18 +02:00
Valere
00d66ffd48
Merge branch 'develop' into feature/edit_message 2019-05-27 17:08:39 +02:00
Valere
c7c7211978 Fix layout preview 2019-05-27 17:02:12 +02:00
Benoit Marty
02a81dd9e1 Fix issue 2019-05-27 16:07:26 +02:00
Benoit Marty
02555fcbac Fix compilation issues after rebase 2019-05-27 15:43:26 +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
9f9f4c0755 Home: change some UI in room list 2019-05-27 15:34:11 +02:00
ganfra
1691537a1e Room list : add chronological and alphabetical comparators 2019-05-27 15:32:20 +02:00
ganfra
eb2344a43f Home: continue room list rework. 2019-05-27 15:32:20 +02:00
ganfra
c0fd06fd2d Home: start reworking room list. 2019-05-27 15:31:26 +02:00
ganfra
275521db70 Home: continue architecture rework. WIP 2019-05-27 15:30:47 +02:00
ganfra
268730e71b Home: start reworking UX [WIP] 2019-05-27 15:28:27 +02:00
Benoit Marty
39f69a6c3b Code quality 2019-05-27 14:00:13 +02:00
Valere
d9fecabc1f Fix / Edits could break cells merging
Edits are not displayable
2019-05-27 12:30:05 +02:00
Benoit Marty
fe6e27fd6a Create ButtonStateView with some custom attributes 2019-05-27 12:08:18 +02:00
Valere
0e06908a48 Design update
+ Reply 
+ Better preview in action menu
2019-05-27 11:55:52 +02:00
Benoit Marty
390c6a1977 layout 2019-05-27 10:04:54 +02:00
ganfra
af338b0607 Crypto: decryption is working (but still a lot to do) 2019-05-26 19:21:45 +02:00
Valere
b45cc0e63f Refactoring/ create custom view for composerLayout in timeline
+ simplify quote/edit composer preview animation
2019-05-25 14:49:35 +02:00
Benoit Marty
128dea2677 Scope and error manager 2019-05-24 22:27:26 +02:00
Benoit Marty
cd5e808bb6 Retry join room 2019-05-24 17:38:46 +02:00
Benoit Marty
bbf2f96288 Add marging around item 2019-05-24 15:57:28 +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
3c16701766 Fix / line too long 2019-05-23 17:56:05 +02:00
Valere
1da0b5be76 Fix / Block command completion in Quote and Edit mode 2019-05-23 17:53:11 +02:00
Valere
c6e428c047 Fix / remove DebugActivity + clean 2019-05-23 17:27:32 +02:00
Valere
45ea5c356e WIP / edit message 2019-05-23 16:44:51 +02:00
Benoit Marty
5da29e8063 Update MxRx library from 0.7.0 to 1.0.1 2019-05-22 16:36:31 +02:00
Benoit Marty
99087019d2 Input type on message text field (Fixes #129) 2019-05-22 15:33:22 +02:00
Valere
b0e80e49b3 QuickFix / Allow to scroll under login button 2019-05-21 16:28:47 +02:00
Valere
b8c3bdbbf6 Cleaning 2019-05-21 14:27:57 +02:00
Valere
d49007538b Fix / Annotate emote also 2019-05-21 14:26:46 +02:00
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
Benoit Marty
532a028e41 Split again 2019-05-20 16:13:50 +02:00
Valere
5dfc0b3c0e Toggle Quick React (agree/disagree like/dislike) 2019-05-20 12:43:02 +02:00
Valere
44d1d063e9 Fix / theme update after rebase was displaying emojis grayed out 2019-05-20 10:16:00 +02:00
Valere
71e364b42f Fix / Hide reactions on redacted message 2019-05-20 10:16:00 +02:00
Valere
3fa9d7a1d4 Fix formatting 2019-05-20 10:16:00 +02:00
Valere
6eafa3c43d Undo Reaction 2019-05-20 10:16:00 +02:00
Valere
207579c59f Fix / margin end-right missing for compatibility 2019-05-20 10:14:40 +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
Valere
f9142fedfd Increment reaction when reaction pill clicked in timeline 2019-05-16 18:33:32 +02:00
Benoit Marty
102bc9c01b SAS Tested 2019-05-16 17:28:51 +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
dc9db9a438 Fix / was using wrong emoji for agree 2019-05-16 10:56:37 +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
a9a1fe2aa0 Fix / hide keyboard when showing context action sheet
+ fix reaction colors
2019-05-16 09:33:49 +02:00
Valere
d68b447874 Relations Model + Aggregation + Reactions Summary 2019-05-16 09:21:10 +02:00
Valere
11e3a5def8 Moved reactions view to a stub 2019-05-16 09:20:24 +02:00
Valere
6aae943e77
Merge pull request #135 from vector-im/feature/reaction_timeline_ux
Reactions: Display existing reactions below the message
2019-05-15 11:24:00 +02:00
ganfra
8d0322c0c3 Hot fix LL not working 2019-05-15 11:11:38 +02:00
ganfra
f60a5f568f Invitation : start polishing but theme has to be rework. Waiting for Nad inputs. 2019-05-14 11:55:48 +02:00
Valere
00fd866cc8 Reactions: Display existing reactions below the message
- Reaction Button Bellow the message
- Upgrade to constraint layout 2.0.0 beta (for Constraint Helpers / Flow)
- Added tap on member name action
- Cleaning
2019-05-14 11:07:53 +02:00
Valere
73d5110d67 Code review / Renamed base item class name 2019-05-13 16:29:33 +02:00
Valere
0c559976d6 Default avatar style so small 2019-05-13 09:38:52 +02:00
Valere
540989f38a Fix / ripple effect broken after merge 2019-05-10 18:43:06 +02:00
Valere
608bbdd4ee Refactoring / Use view ViewStub to avoid layout xml duplication 2019-05-10 18:31:56 +02:00
Valere
6bf1deb99b Code Review 2019-05-10 12:14:40 +02:00
Valere
cfca4927e2 Cleaning 2019-05-10 09:28:52 +02:00
Valere
93cb7b8ce6 Cleaning 2019-05-09 18:43:10 +02:00
Valere
dcc430f91b Refactoring / revert reaction module to package in main module 2019-05-09 18:26:32 +02:00
Valere
64216f74ae fix / code quality 2019-05-09 09:15:30 +02:00
Valere
8fd15f4082 Debounce click + avatar click 2019-05-08 15:49:32 +02:00
Valere
38abf31889 Fix / ripple effect after merging 2019-05-08 10:33:14 +02:00