Commit graph

567 commits

Author SHA1 Message Date
ganfra
ab23ec3f35 Fix https://github.com/matrix-org/riot-android-rageshakes/issues/5851 (DI) 2019-07-04 10:20:50 +02:00
ganfra
9ff24cbf2a Merge branch 'feature/fix_issues' into develop 2019-07-03 19:46:34 +02:00
Valere
2eee25bbc1 Fix / crash not called on UI Thread 2019-07-03 19:36:25 +02:00
Valere
b4ea85fc76 Fix / Rageshake crashes + cleaning !!
https://github.com/matrix-org/riot-android-rageshakes/issues/5880
https://github.com/matrix-org/riot-android-rageshakes/issues/5877
https://github.com/matrix-org/riot-android-rageshakes/issues/5873
https://github.com/matrix-org/riot-android-rageshakes/issues/5871
2019-07-03 18:40:04 +02:00
ganfra
480f14902d Rx: observe on computation by default 2019-07-03 18:28:56 +02:00
Benoit Marty
60d46538de
Merge pull request #292 from vector-im/feature/sonar_fix
Feature sonar fix and convert remaining Java files to Kotlin
2019-07-03 18:03:23 +02:00
Benoit Marty
f789fb275d Convert MXUsersDevicesMap to kotlin 2019-07-03 17:34:22 +02:00
Benoit Marty
1ee1c31b9c Fix bugs detected by Sonar 2019-07-03 15:42:35 +02:00
Valere
5d171e0240 Moved incoming key/verif to active session holder 2019-07-03 12:56:08 +02:00
Benoit Marty
f41c0311fa Fix done TODO 2019-07-03 11:58:50 +02:00
Benoit Marty
a476ac71da Import translations from Riot 2019-07-03 10:20:07 +02:00
ganfra
bc2d321a84 Merge branch 'feature/Perf' into develop 2019-07-02 23:07:16 +02:00
Benoit Marty
d90698fe92
Merge pull request #279 from vector-im/feature/clear_glide_cache
Clear media cache from the settings and clear cache when signing out
2019-07-02 21:56:31 +02:00
Benoit Marty
af0af6e260 Fix bad background color in dark theme 2019-07-02 21:49:52 +02:00
Benoit Marty
6e71fb565a Fix bad layout for button when keyboard is opened (Fixes #268) 2019-07-02 21:23:57 +02:00
Benoit Marty
6c66ab1568 Fix code quality 2019-07-02 21:17:41 +02:00
Benoit Marty
77fd7cd33c Update wording 2019-07-02 20:48:20 +02:00
Benoit Marty
0d329f0338 Clear media cache from the settings and clear cache when signing out 2019-07-02 20:21:40 +02:00
ganfra
2f66321c2a RoomSummary: don't fetch last event by default as it takes some time 2019-07-02 19:59:01 +02:00
Benoit Marty
313055b96d Fix bad alignment of button 2019-07-02 18:54:06 +02:00
ganfra
37199da52f Merge branch 'develop' into feature/Perf 2019-07-02 18:29:59 +02:00
Benoit Marty
504009499f Rename im.vector.riotredesign to im.vector.riotx 2019-07-02 17:27:08 +02:00
ganfra
11bf00030d Merge branch 'develop' into feature/Perf 2019-07-02 17:00:09 +02:00
Benoit Marty
73277c5b08
Merge pull request #259 from vector-im/feature/fix_read_receipts_not_updated
Fix / send read marker for collapsed items
2019-07-02 16:51:53 +02:00
Valere
363f52b10c Encrypt Realm databases 2019-07-02 16:48:58 +02:00
Benoit Marty
498b1f2b06
Merge pull request #261 from vector-im/feature/e2e_file
Encrypt attachment in e2e rooms
2019-07-02 16:44:17 +02:00
Valere
ee9440c1cb Fix / crash signout bottom sheet 2019-07-02 16:05:01 +02:00
Benoit Marty
0980a41752 use file name with extension 2019-07-02 14:59:44 +02:00
Benoit Marty
18a821f3f6 add message 2019-07-02 14:43:07 +02:00
Benoit Marty
14a2570ea4 Preview of encrypted images (first and fast implementation) 2019-07-02 14:35:22 +02:00
Valere
c7df433a44 Fix / send read marker for collapsed items
Also remove unnecessary check on matrix id format
2019-07-02 12:08:44 +02:00
ganfra
9378d30601 Merge branch 'develop' into feature/Perf 2019-07-02 11:25:39 +02:00
Valere
58a80ec543 Fix / crash user autocomplete after invite command 2019-07-02 10:43:55 +02:00
Benoit Marty
95ea6db946 Change name from "Riot X" to "RiotX" 2019-07-02 10:42:45 +02:00
Benoit Marty
014d03893a Fix issue after rebase and use classic request for clear image 2019-07-02 09:56:20 +02:00
ganfra
164c8dab09 Glide: try to handle encrypted image. [WIP] 2019-07-02 09:56:20 +02:00
Benoit Marty
b54ca5a8a0 Decrypt Attachment - WIP 2019-07-02 09:56:20 +02:00
Benoit Marty
707a4712fc Add some javadoc from Matrix spec and add EncryptedFileInfo where necessary 2019-07-02 09:56:20 +02:00
Benoit Marty
8e76700c8d Handle redacted e2e event 2019-07-02 09:56:20 +02:00
ganfra
41ed4b23d8 Update dependencies (tested ok) 2019-07-02 09:39:45 +02:00
Valere
ce9fa15bcb Missing ? 2019-07-01 20:54:42 +02:00
Valere
f9880283e9 Fix / crash when reporting bug with no active session 2019-07-01 20:47:21 +02:00
Valere
f4b124d29f
Merge pull request #257 from vector-im/feature/room_list_improvements
Room list: last event preview - invitations list
2019-07-01 20:38:32 +02:00
Valere
fb1f107911
Merge pull request #254 from vector-im/feature/enhance_notif_pre_n
Better summary for pre N devices
2019-07-01 20:38:02 +02:00
ganfra
de9a5a3d12 Perf: eventHtmlRenderer is slow to build, get only one instance 2019-07-01 20:19:50 +02:00
ganfra
19202cfca6 Perf: try to get better 2019-07-01 20:05:48 +02:00
Benoit Marty
01e3e71f98 Handle room invitation actions 2019-07-01 18:50:33 +02:00
Valere
8fefdc1019 Fix crash on logout 2019-07-01 16:56:24 +02:00
Benoit Marty
07309c90e1 Room list: rework invitations 2019-07-01 16:29:04 +02:00
Valere
0bdde4d994 Better summary for pre N devices 2019-07-01 16:19:46 +02:00
Benoit Marty
b25098c52d Fix issue on invitation: restore background and composer could be opened 2019-07-01 15:24:28 +02:00
Benoit Marty
5e9ecfbcc0 Room summary; handle encrypted events 2019-07-01 15:12:35 +02:00
Benoit Marty
e1b6f4bd74 Fix issue after rebase 2019-07-01 15:12:35 +02:00
Benoit Marty
4d79485fee Last event on room list 2019-07-01 15:12:35 +02:00
ganfra
4739aea793 Dagger: inject dependencies earlier into activity/fragment 2019-07-01 11:41:27 +02:00
Valere
3960742f38
Merge pull request #250 from vector-im/feature/fix_impure_reducers
Fix impure reducer and use live event
2019-07-01 11:33:34 +02:00
Benoit Marty
2eef0a6162 Fix ban and kick bad message error (Fixes #184 Fixes #248) 2019-07-01 11:27:57 +02:00
Valere
e78b703387 Fix / show source was showing content 2019-07-01 10:47:10 +02:00
Benoit Marty
9df928e709 Fix bad background color in dark themes 2019-07-01 10:04:02 +02:00
Valere
a734c699ad Fix impure reducer and use live event 2019-07-01 09:56:00 +02:00
Benoit Marty
4d7f1b4fee Report Bug by default 2019-06-28 16:57:01 +02:00
Valere
419ef7b46f
Merge pull request #243 from vector-im/feature/reply_e2e
Reply in e2e room
2019-06-28 16:07:08 +02:00
Benoit Marty
4ad23f0f37 Fix bad copyright block 2019-06-28 16:05:36 +02:00
Benoit Marty
0f039fce32 Add 30 missing copyright block 2019-06-28 15:59:20 +02:00
Benoit Marty
fef1c7cc45 Set default theme in pref screen 2019-06-28 15:36:57 +02:00
Benoit Marty
7ff2477a4f
Merge pull request #241 from vector-im/feature/api16
min API 19 - tested
2019-06-28 15:06:40 +02:00
Benoit Marty
7af55a48f6 Fix lint warning 2019-06-28 15:05:57 +02:00
Valere
75c1718252 code review 2019-06-28 14:57:22 +02:00
Valere
f83491fdfc Fix / impure reducer in action view model 2019-06-28 14:57:22 +02:00
Valere
a9dd06562a Reply in e2e room
+ Add reply option in e2e room
+ Fix bug 242
+ Show preview of messages in menu and in text composer preview
2019-06-28 14:57:22 +02:00
Benoit Marty
bf68a6bafc Comment used labs settings 2019-06-28 12:50:56 +02:00
Valere
b14a6224ba Add lab option to show hidden events in timeline
+ cleaning labs settings
2019-06-28 12:45:08 +02:00
Benoit Marty
0a908136b6 Only show reactions with an emoji key 2019-06-28 11:28:51 +02:00
Benoit Marty
2ef53e2066 Fix compilation issue after rebase 2019-06-28 10:44:02 +02:00
Benoit Marty
519f49b50d Add report bug in the menu 2019-06-28 10:40:00 +02:00
Benoit Marty
a550743f2f Report suggestion feature 2019-06-28 10:40:00 +02:00
Benoit Marty
40bf3a15cd Move signout action to the settings General 2019-06-28 10:37:25 +02:00
Benoit Marty
4422ebb77b Remove old menu 2019-06-28 10:28:41 +02:00
Benoit Marty
99271ce5d6
Merge pull request #234 from vector-im/feature/alpha_disclaimer
Show disclaimer at first launch (Fixes #215)
2019-06-28 10:25:55 +02:00
Benoit Marty
2c9280dca6
Merge pull request #235 from vector-im/feature/debounce
Debounce click on room
2019-06-28 10:24:45 +02:00
Benoit Marty
7187cc23a1 code quality 2019-06-28 10:23:27 +02:00
Benoit Marty
10353c9871 add dagger2 licence 2019-06-28 10:12:04 +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
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
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
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
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
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
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