Commit Graph

497 Commits

Author SHA1 Message Date
Benoit Marty 10353c9871 add dagger2 licence 2019-06-28 10:12:04 +02:00
Benoit Marty f410538e2f minSdkVersion 19 (mainly for security reason and also because of MotionLayout only supported on API 18) 2019-06-28 10:06:36 +02:00
Benoit Marty 76fc455d93 Stop using textColorTertiary (fix crash on API 19) 2019-06-28 10:04:43 +02:00
ganfra 604de7eebc Dagger: fix some merging issues 2019-06-28 09:35:34 +02:00
ganfra f18bc9bd00 Dagger: fix no session 2019-06-27 19:12:46 +02:00
ganfra f91959ea96 Merge branch 'develop' into feature/dagger 2019-06-27 18:57:49 +02:00
ganfra 2063a3e535 Merge branch 'develop' into feature/dagger 2019-06-27 18:56:23 +02:00
Valere d5625b95fe Fix / use senderId when display name cannot be resolved 2019-06-27 17:58:11 +02:00
Benoit Marty d205f63928 Debounce click on room 2019-06-27 17:32:49 +02:00
Benoit Marty bd8d6f92da Update wording 2019-06-27 16:04:02 +02:00
Benoit Marty f9c8e4f85a Show disclaimer at first launch (Fixes #215) 2019-06-27 16:01:11 +02:00
ganfra 1fa7b7367a Dagger: merge develop compiling now. 2019-06-27 15:25:01 +02:00
Valere 0765d6d1da Fix / Action bottom sheet show preview for encrypted messages 2019-06-27 15:21:10 +02:00
Valere fb7ada72dd Fix / register/unregister pusher 2019-06-27 14:08:54 +02:00
Valere 338de3ebf5 Cleans notification pref screen
+ fix troubleshoots
2019-06-27 12:21:38 +02:00
Benoit Marty fb43c87107
Merge pull request #231 from vector-im/feature/fcm_privacy
Upgrade firebase messaging version and disable Firebase Analytics
2019-06-27 11:55:19 +02:00
Benoit Marty f092c40999
Merge pull request #228 from vector-im/feature/settings_v2
Split settings into sub sections
2019-06-27 11:54:03 +02:00
Benoit Marty f414f46cba General setting: avatar and display name 2019-06-27 11:53:28 +02:00
Benoit Marty ae7e617fdd Rename and format and remove duplicate EventType.REDACTION 2019-06-27 10:46:04 +02:00
Benoit Marty d1642c928a Move specific classes for FDroid into FDroid variant source code 2019-06-27 10:46:04 +02:00
Benoit Marty 5e619f2593 Upgrade firebase messaging version and disable Firebase Analytics 2019-06-27 10:42:36 +02:00
Benoit Marty 679a4c7f31 Add ignored users icon in the root settings 2019-06-27 10:17:57 +02:00
Benoit Marty 76b890fe06
Merge pull request #230 from vector-im/feature/e2e_hint
Change hint for encrypted room (fix #210)
2019-06-26 21:05:19 +02:00
ganfra b2d2582e0f Merge branch 'develop' into feature/dagger [WIP] 2019-06-26 20:58:46 +02:00
Valere 715b44ec79
Merge pull request #229 from vector-im/feature/update_icons
Feature/update icons
2019-06-26 19:30:55 +02:00
Benoit Marty 25b7bf76bf Change hint for encrypted room (fix #210) 2019-06-26 18:49:55 +02:00
Benoit Marty b69940a5da Hide some settings for notifications 2019-06-26 18:28:45 +02:00
Benoit Marty 28f2bb3ebd Use im.vector.riotredesign.core.preference.VectorPreferenceCategory 2019-06-26 18:15:50 +02:00
Valere 6bf940bedf Updated login logo 2019-06-26 18:09:42 +02:00
Benoit Marty 56fc223930 Add missing point in the interrogation point 2019-06-26 18:00:51 +02:00
Valere 3e00576230 New status bar notification icons 2019-06-26 17:55:07 +02:00
ganfra 6e7adaec59 Dagger: prepare for multi session [WIP] 2019-06-26 17:51:24 +02:00
Benoit Marty 9fd9124643 Disable some unimplemented pref 2019-06-26 17:43:36 +02:00
Benoit Marty ad3d303405 Fix issue in notification preference 2019-06-26 17:37:03 +02:00
Benoit Marty 7c47c6a033 split preference (Kotlin) 2019-06-26 17:20:26 +02:00
Valere 33f17e4c5c Quick Fix / DI crash when not logged in 2019-06-26 17:15:10 +02:00
Valere 289b2a4eb1 Launch icons update 2019-06-26 17:14:28 +02:00
Benoit Marty e63f51821f split preference (XML) 2019-06-26 15:26:08 +02:00
Benoit Marty 8370f4fc76 rename file 2019-06-26 15:05:07 +02:00
Benoit Marty 5feebeba01 Integrate new icons for preference root screen 2019-06-26 15:01:46 +02:00
Benoit Marty 0c0ef38b4f Fix notification on FDroid 2019-06-26 13:32:55 +02:00
Benoit Marty 895f0f0079 Fix compilation issue on FDroid 2019-06-26 12:21:30 +02:00
Benoit Marty 134c2fcd42 Notification: Fix TestAccountSettings test 2019-06-26 12:19:54 +02:00
Benoit Marty 2625e11508 rename method 2019-06-26 12:19:54 +02:00
Benoit Marty 9fa3a75fb6 Notification: display room avatar 2019-06-26 12:19:54 +02:00
Benoit Marty b388be93c8 Notification: better code 2019-06-26 12:19:54 +02:00
Benoit Marty 5a1242109d Notification: display rooms and users' avatars 2019-06-26 12:19:54 +02:00
Benoit Marty 4f0ed402bf Notification: cleanup 2019-06-26 12:19:54 +02:00
Benoit Marty f6c500d120 Notification: dismiss all on sign out 2019-06-26 12:19:54 +02:00
Benoit Marty 785f33177d Notification: open room and clear drawer - Smart reply - Mark as read - dismiss all 2019-06-26 12:19:54 +02:00
Benoit Marty 328f090723 Code quality: i18n 2019-06-26 12:19:54 +02:00
Benoit Marty ce3242c748 Code quality: preference 2019-06-26 12:19:54 +02:00
Benoit Marty 71ae99012b Code review and cleanup 2019-06-26 12:19:54 +02:00
Valere abb1c3f3c4 Fix / try to get edited message content first 2019-06-26 12:19:54 +02:00
Valere c01af6ac78 Stop notification using preference when disabled 2019-06-26 12:19:54 +02:00
Valere 74099be316 Remove / Add pusher from enable notif preference
+Added Retrofit/Moshi null serializer for pusher kind
2019-06-26 12:19:54 +02:00
Valere 4e6b34b9d1 Fix issues on Notification Event resolver 2019-06-26 12:19:54 +02:00
Valere 9ae9830de4 Fix / compilation in gplay flavor 2019-06-26 12:19:54 +02:00
Valere 0584fc3666 Get real push rules from server and evaluate them 2019-06-26 12:19:54 +02:00
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
Benoit Marty 79735c6338 Introduce activity-alias for Launcher Activity 2019-06-26 12:16:05 +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
Valere 98176b9760 Cleaning (code review) 2019-06-25 15:45:44 +02:00
Benoit Marty 2741780553 Change scope of PermalinkHandler 2019-06-25 09:34:12 +02:00
Benoit Marty 625242a3d9 handle all themes 2019-06-25 09:34:12 +02:00
Benoit Marty 401f878a9c Fix ConcurrentModificationException 2019-06-25 09:34:12 +02:00
Benoit Marty 3e97503220 Avoid erasing all cache 2019-06-25 09:34:12 +02:00
Benoit Marty 76ade2957e Handle permalink click 2019-06-25 09:34:12 +02:00
Benoit Marty 90f420b287 Cleanup PermalinkHandler and Navigation 2019-06-25 09:33:52 +02:00
Benoit Marty 73b55fd975 Group navigation cleanup 2019-06-25 09:33:52 +02:00
Benoit Marty 046aac74c2 Add link for reference 2019-06-25 09:31:45 +02:00
Benoit Marty 0998ffb5f2 Update open source license file 2019-06-25 09:31:45 +02:00
Benoit Marty 8ff6fbb153 Handle redirection 2019-06-25 09:31:45 +02:00
Benoit Marty 9d3a8e7c40 Add usage of com.google.android.gms:oss-licenses-plugin to list open source licenses 2019-06-25 09:31:45 +02:00
Valere 56aaa9dce3 Fix / updated unicode for smiling 2019-06-24 16:15:26 +02:00
Valere 43ead66991 Update quick reactions to new design 2019-06-24 16:13:58 +02:00
Benoit Marty 1cfc85a772 Display some version of Riot and SDK (Fix #185) 2019-06-21 11:13:16 +02:00
ganfra 47968c9447 Dagger: everything should be injected ok now 2019-06-21 10:36:02 +02:00
ganfra 07fee8ed3d Dagger: continue reworking on app and sdk [WIP] 2019-06-20 19:26:59 +02:00
Benoit Marty 1eb374fa49
Merge pull request #188 from vector-im/feature/disambiguation
Disambiguation of display names
2019-06-20 17:29:01 +02:00
Benoit Marty 34870591b4 Update wording 2019-06-20 17:22:38 +02:00
ganfra ee87c253fe Dagger: continue working on app side. Now compile but some DI are not branched yet. 2019-06-19 19:40:59 +02:00
ganfra 9c1f870694 Dagger: start handling app dependencies [WIP] 2019-06-18 20:00:20 +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 7fe662598b Handle click on encryption message 2019-06-18 12:56:08 +02:00
Benoit Marty 5bfa67b442 Handle click on encrypted message 2019-06-18 12:45:24 +02:00
Benoit Marty a53e40e1ee Create MessageInformationDataFactory for reusability 2019-06-18 12:33:07 +02:00
Benoit Marty 273c8a19b8 Fix UI issue notification troubleshot screen 2019-06-18 10:30:56 +02:00
Benoit Marty 53bdd58c1b Fix UI issue on BugReportActivity (send button not visible) 2019-06-18 10:25:13 +02:00
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