Commit Graph

2715 Commits

Author SHA1 Message Date
Benoit Marty 48a30a7b82 Create a ViewState for HomeActivity
And disable the popup - WIP
2020-06-29 16:36:19 +02:00
Benoit Marty 1365240f69 Cleanup 2020-06-29 16:36:19 +02:00
Benoit Marty 1cd27d7f67 First commit to cleanup ReAuthHelper and it's usage
Also add some comment and do some other cleanup
2020-06-29 16:36:19 +02:00
ganfra 84c8f9d351 Clean code 2020-06-29 16:08:45 +02:00
ganfra 7e703e4788 Epoxy: optimize some hashcode in timeline 2020-06-29 15:05:21 +02:00
Benoit Marty e599abc6ba
Merge pull request #1554 from vector-im/feature/op
Feature/op
2020-06-29 14:10:01 +02:00
Benoit Marty cec79fed44 Mutualize code 2020-06-29 11:00:40 +02:00
Benoit Marty 0ad2058a1a Prepare version 0.91.2-beta 2020-06-28 23:05:47 +02:00
ganfra 8972319a85 Handle typing through RoomSummaryMapper + fix room summary binding called too many times 2020-06-27 18:26:14 +02:00
Benoit Marty d436a7bad7 Increment version patch for a new release on the PlayStore 2020-06-27 00:14:32 +02:00
Benoit Marty 16a275529d Use temporary name `Riot.imX` 2020-06-27 00:14:32 +02:00
Benoit Marty 0ad493d860 Comment out `android.permission.READ_CALL_LOG` 2020-06-26 23:48:41 +02:00
Benoit Marty 30774957ba Handle `/nick` command (#12) 2020-06-26 23:40:23 +02:00
Benoit Marty 8a1a772ab7 Handle `/op` and `/deop` commands (#12)
Also when resetting power level, remove from list of user instead of setting the default value.
2020-06-26 23:31:19 +02:00
Benoit Marty 1c9907c5d2 Do not abort on error during lint check. 2020-06-26 21:08:41 +02:00
Benoit Marty a0a8f95d37 Create LegacySessionImporter class and import credentials - tested OK 2020-06-26 16:19:05 +02:00
Benoit Marty 7247b4471a Import a fix from Riot-android 2020-06-26 16:19:05 +02:00
Benoit Marty 6bce62a598 Update version code to 40_091_00x to upgrade Riot-Android 2020-06-26 16:19:05 +02:00
Benoit Marty 629c73e630 Change applicationId from "im.vector.riotx" to "im.vector.app" 2020-06-26 16:19:05 +02:00
ganfra f8452429a4
Merge pull request #1504 from vector-im/feature/improve_perf
Feature/improve perf
2020-06-25 17:00:56 +02:00
ganfra 1d3dbdf989 Remove unecessary code 2020-06-25 12:20:55 +02:00
ganfra 60c873aa66 Clean code 2020-06-25 12:12:50 +02:00
Benoit Marty 674fa0e5ce Fix bug when changing display name twice
And delete the static summary
2020-06-25 11:59:11 +02:00
ganfra f28e3ca504 Merge branch 'develop' into feature/improve_perf 2020-06-25 10:57:46 +02:00
Benoit Marty 7b3fa501c6
Merge pull request #1545 from johnjohndoe/sharedpreferences
Use SharedPreferences#edit extension function consistently.
2020-06-24 21:47:07 +02:00
Benoit Marty c0c300925d
Merge branch 'develop' into feature/fix_1543 2020-06-24 21:24:25 +02:00
Tobias Preuss e24785015d Use SharedPreferences#edit extension function consistently.
+ Add "androidx.core:core-ktx:1.1.0" to "matrix-sdk-android" module which
  was already used in "vector" module.
+ Sources: https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-preference-release/core/core-ktx/src/main/java/androidx/core/content/SharedPreferences.kt.
2020-06-24 15:40:00 +02:00
ganfra 554c37febe
Merge branch 'develop' into feature/fix_widget 2020-06-24 15:14:26 +02:00
Benoit Marty 94b5e4e2f8 User could not redact messages that he has sent (#1543) 2020-06-24 14:21:45 +02:00
Tobias Preuss 2f77deb0a8 Fix package name. 2020-06-24 10:58:47 +02:00
Tobias Preuss fa0adb17b8 Use "when" subject. 2020-06-24 10:04:50 +02:00
Tobias Preuss 36bd2290e9 Use Kotlin math functions. 2020-06-23 18:31:16 +02:00
Tobias Preuss 372a5ba1ec Use "isNotEmpty" convenience function. 2020-06-23 18:29:24 +02:00
Tobias Preuss 0dc3593660 Use property access syntax. 2020-06-23 18:22:58 +02:00
Benoit Marty 35fed2676a Cleanup after Onuray's review and improve wording when removing display name 2020-06-23 11:21:00 +02:00
Benoit Marty 9754e26e5f Add capability to change the display name (#1529) 2020-06-22 20:50:31 +02:00
Benoit Marty af9295723c
Merge pull request #1528 from vector-im/feature/tabs_design
Update room category as per design
2020-06-22 17:39:45 +02:00
Valere 55993aff04
Merge pull request #1416 from vector-im/feature/voip
Call support with WebRTC
2020-06-22 17:23:22 +02:00
Valere c1260dcb9b Update room category as per design 2020-06-22 17:01:15 +02:00
Benoit Marty f4e7405d92 Cleanup 2020-06-22 16:21:36 +02:00
Benoit Marty c15cc34bfd Call: a11y 2020-06-22 16:15:15 +02:00
Benoit Marty 16f32da647 Cleanup during review. 2020-06-22 16:15:15 +02:00
Valere 4c34d73501 Fix / connection lost timer launched abusively 2020-06-22 15:10:50 +02:00
ganfra f762c4c7a2 Makes sure bind and unbind are calling super in items 2020-06-22 11:19:53 +02:00
ganfra 8de0bdca93 Merge branch 'develop' into feature/fix_widget 2020-06-22 10:21:39 +02:00
Valere ef2fcd60d7 code cleaning 2020-06-22 09:54:45 +02:00
Valere 07e57b1498 clean 2020-06-22 09:48:01 +02:00
Valere 04a7c57d64 Fix / false detection of bt headset + restore state after call 2020-06-22 09:47:34 +02:00
Benoit Marty af8ab57e60 Rename methods and variables for code clarity 2020-06-22 09:14:59 +02:00
Valere 6b806922ee Fix / prevent camera switch if no second camera 2020-06-20 09:50:32 +02:00
Valere 64a67b57b8 Fix / android 7 unlock screen on incoming call 2020-06-20 09:49:56 +02:00
Valere 76bcf9dcf7 Fix / activeCallPipInitialized not correctly initialized 2020-06-20 09:24:05 +02:00
ganfra 234dfa18d3 Widgets: fix some issues with navigation 2020-06-19 20:38:30 +02:00
Valere 9d401512d3 dead code 2020-06-19 19:06:25 +02:00
Valere 17cf3fd7ad Active call (with PIP) , in Room and Home 2020-06-19 18:54:39 +02:00
Valere 60998c9146 Missing release of webrtc surfaces 2020-06-19 17:34:05 +02:00
Valere bd19225219 Add connection loader 2020-06-19 15:20:26 +02:00
Valere 2868d62185 hang up menu action 2020-06-19 15:20:10 +02:00
Valere 2a3d20d300 FIx rebase 2020-06-19 13:42:35 +02:00
Valere 30dee07a3b Hide switch camera for voice call 2020-06-19 13:37:12 +02:00
Valere 96ecb1d07e Fix Crash / stop capture in wrong thread 2020-06-19 13:37:12 +02:00
Valere 99056a7807 Fix / inversed icons HD/SD 2020-06-19 13:37:12 +02:00
Valere 374790176f Toggle HD/SD 2020-06-19 13:37:12 +02:00
Valere f3e2a55869 Crash Fix / nullify factory after dispose 2020-06-19 13:37:12 +02:00
Valere 666f3ea152 code quality 2020-06-19 13:37:12 +02:00
Valere 25fe56116c Ask for permission before starting call 2020-06-19 13:37:12 +02:00
Valere b27eead016 Support toggle front/back camera 2020-06-19 13:36:42 +02:00
Valere 77a01f0cd4 lazy create and destroy peer connection factory 2020-06-19 13:36:42 +02:00
Valere 5dfa08ace6 Bluetooth headset support 2020-06-19 13:36:42 +02:00
Valere 4c61dfef62 Support headset buttons in background 2020-06-19 13:36:42 +02:00
Valere 9653f082a3 accept/hangup on press on headset button 2020-06-19 13:36:42 +02:00
Valere 3e2d892fb5 Headset support
+ detect plug/unplugg
2020-06-19 13:36:42 +02:00
Valere 30d47b4fa6 Clear incoming calls managed by other session 2020-06-19 13:36:42 +02:00
Valere fd3f591541 Show error on connecting timeout + refactoring 2020-06-19 13:36:42 +02:00
Valere c85ba51274 Basic discard of old call events 2020-06-19 13:36:42 +02:00
Valere 843da1d48d Incoming notification + ringing 2020-06-19 13:36:42 +02:00
Valere d8cf44fdc9 Simple cache of turn server response
in memory cache in service + show active call banner only if connected
2020-06-19 13:36:42 +02:00
Valere 8662797cf8 Restart capture after close for older android 2020-06-19 13:36:42 +02:00
Valere eabb0bb41d Restart capture when camera is back to available 2020-06-19 13:36:42 +02:00
Valere 0f625c27a1 Simple menu to select sound device 2020-06-19 13:36:42 +02:00
Valere 248b9ff1e1 Very basic audio speaker support 2020-06-19 13:36:42 +02:00
Valere 39f3a1c697 Fix glitch when opening timeline first time 2020-06-19 13:36:42 +02:00
Valere c6100fc26c Code cleaning 2020-06-19 13:36:42 +02:00
Valere 84b474d070 klint 2020-06-19 13:36:42 +02:00
Valere c4b977c6e1 Basic return to call Ux in Room detail 2020-06-19 13:36:42 +02:00
Valere a1907aaddb Cleaning call states 2020-06-19 13:36:16 +02:00
Valere 56ed56a986 let remote view resize with aspect ratio 2020-06-19 13:36:16 +02:00
Valere 91f28bfb8a basic toggle mute and toggle video 2020-06-19 13:36:16 +02:00
Valere 46d7db8214 klint 2020-06-19 13:36:16 +02:00
Valere b5cdb44642 Fix rebase 2020-06-19 13:36:16 +02:00
Valere cb964c6dcd dead code 2020-06-19 13:36:16 +02:00
Valere e79a4771c1 revert test code 2020-06-19 13:36:16 +02:00
Valere 9006acb66a WIP | Avoid re-negociation pre-agree-upon signaling/negotiation. 2020-06-19 13:36:16 +02:00
onurays 435a6b2f1a Add ice candidates to peer connection. 2020-06-19 13:36:16 +02:00
onurays 4d288ddd55 Require turn server before creating PeerConnection. 2020-06-19 13:36:16 +02:00
onurays 24cea5110e Show / hide call views according to call type. 2020-06-19 13:36:16 +02:00
onurays 79f804b2d4 Use single sdp and stream observer. 2020-06-19 13:36:16 +02:00
onurays 8f5918de4d Cleanup unused code. 2020-06-19 13:36:16 +02:00
Benoit Marty ae762aa928 Cleanup 2020-06-19 13:36:16 +02:00
Benoit Marty 928da82dde Make menu item live 2020-06-19 13:36:16 +02:00