Commit Graph

3025 Commits

Author SHA1 Message Date
Benoit Marty 92e809fa6d Fix lint error, following the upgrade of the libs 2020-07-06 22:05:29 +02:00
ganfra 08cda2ee10 Merge develop into feature/db_clean_up 2020-07-06 19:18:42 +02:00
ganfra c1da4aecd7 Fix leaving selected group 2020-07-06 19:09:08 +02:00
ganfra 9ebf87df62 Group: rework a bit how and when we fetch data about groups 2020-07-06 18:47:59 +02:00
Benoit Marty 9d4e903c4a Upgrade some dependencies 2020-07-06 15:59:49 +02:00
Benoit Marty cfdf5cb552 Add a delay to avoid crash. Sounds like a workaround... 2020-07-06 14:57:28 +02:00
Benoit Marty e859357c6a Handle certificate error in case of Direct Login 2020-07-06 14:13:34 +02:00
Benoit Marty e7f13c9efe Handle JobCancellationException 2020-07-06 14:12:56 +02:00
Benoit Marty 2a68c8d08b Simplify the server selection screen: remove the "Continue" button 2020-07-06 14:12:56 +02:00
Onuray Sahin b1c088a03b Update new accent color. 2020-07-06 13:08:06 +03:00
Tobias Preuss 04f0146afd Use Context#withStyledAttributes extension function.
+ This function is more concise and ensures "recycle()" is always invoked.
+ Sources: https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-preference-release/core/core-ktx/src/main/java/androidx/core/content/Context.kt#52
2020-07-04 19:36:17 +02:00
Benoit Marty f74ab2dfd4
Merge branch 'develop' into feature/save_attachement_legacy 2020-07-04 12:16:50 +02:00
Benoit Marty b853397c0a Re-activate Wellknown support with updated UI (#1614) 2020-07-04 12:10:17 +02:00
Onuray Sahin f4057ea3fa Fix background of drawer layout. 2020-07-03 14:50:33 +03:00
Onuray Sahin a7480c1860 Change colors according to the new color palette. 2020-07-03 13:36:30 +03:00
Benoit Marty c4ad90696f
Update vector/src/main/java/im/vector/riotx/features/home/room/detail/RoomDetailFragment.kt 2020-07-03 12:28:38 +02:00
Benoit Marty 85ee183e4f
Update vector/src/main/java/im/vector/riotx/features/home/room/detail/RoomDetailFragment.kt 2020-07-03 12:28:32 +02:00
Benoit Marty 586b0fe6e2
Merge pull request #1602 from vector-im/feature/work_manager_init
Work manager init
2020-07-03 12:04:53 +02:00
Valere bdfce35d9a Fix / save media on old android
+ add numbers to file if needed
2020-07-03 10:32:07 +02:00
Benoit Marty b8f66a36d5
Merge branch 'develop' into feature/fix_crash_notification 2020-07-03 00:23:21 +02:00
Benoit Marty d4050a7b9d Due to a bug introduced in Android gradle plugin 3.6.0, we have to specify the ndk version to use 2020-07-02 23:39:42 +02:00
Benoit Marty bfb8b6203c Add proguard command (commented) 2020-07-02 22:02:42 +02:00
Onuray Sahin 332041e13b Move some of colors from attrs.xml to colors_riotx.xml 2020-07-02 19:29:45 +03:00
ganfra 2ef82f1b82 Use HomeActivity.newIntent to make sure we have args 2020-07-02 16:05:05 +02:00
Benoit Marty 1de819b0a3 Fix lint false-positive about WorkManger (#1012) 2020-07-02 12:21:23 +02:00
Benoit Marty 5713fa4f59 Clean code 2020-07-02 12:17:09 +02:00
Benoit Marty 93fb40f323 (re-)Enable abortOnError for lint
And fix a first issue (on unused code)
2020-07-02 11:29:00 +02:00
Benoit Marty f4314ebdae Version++ 2020-07-01 21:58:58 +02:00
Benoit Marty 3e97e03ccc Prepare release Riot.imX v0.91.3 for the beta channel 2020-07-01 21:51:30 +02:00
Onuray Sahin 74a3d7619b Handle permalink coming from the new domain. 2020-07-01 22:21:59 +03:00
Onuray Sahin fc88892ee6 Update bottom navigation and room profile icons. 2020-07-01 22:21:06 +03:00
Benoit Marty 01e42838ef
Merge pull request #1593 from vector-im/feature/fix_crash_on_shortcuts
Clear dynamic shortcuts when user logs out
2020-07-01 20:33:00 +02:00
Benoit Marty a98bd0940f
Merge branch 'develop' into feature/new_home 2020-07-01 20:31:55 +02:00
Benoit Marty c0623726ae Clear dynamic shortcuts when user log out 2020-07-01 17:20:41 +02:00
Benoit Marty fb1c01c37c Catchup tab is removed temporarily (#1565)
Invites are displayed in the corresponding DM or Room tab
2020-07-01 16:15:06 +02:00
Benoit Marty f8e35da533 Render room avatar change (#1319) 2020-07-01 14:52:37 +02:00
Benoit Marty 53053d8f4a Fix layout overlap issue (#1407) 2020-07-01 14:03:30 +02:00
Onuray Sahin 7aa9f88ceb New string resources created by changing brand name. 2020-07-01 14:43:35 +03:00
Benoit Marty 4e3a948513 Cleanup 2020-06-30 19:12:50 +02:00
Benoit Marty 1ed8ff8711 Do some cleanup 2020-06-30 19:06:48 +02:00
Valere 7ed9f535e6 Fix / clear on detached 2020-06-30 18:48:51 +02:00
Valere 174084a256 added download animation 2020-06-30 18:48:51 +02:00
Valere ae1da6b9f5 Namespacing of file service 2020-06-30 18:48:51 +02:00
Valere 04b6b3674d Also Clear download cache when clearing media 2020-06-30 18:48:51 +02:00
Valere 4254db5cc0 fix rebase 2020-06-30 18:48:51 +02:00
Valere 86e5a45621 Fix save notification 2020-06-30 18:48:51 +02:00
Valere 397d4f0be5 Fix upload + cleaning 2020-06-30 18:48:51 +02:00
Valere 33698abfb2 Download and Open file securily 2020-06-30 18:48:51 +02:00
Valere 80e8cd4191 Downloaded (large?) files are truncated 2020-06-30 18:39:13 +02:00
Benoit Marty ba26aee54c Use OkHttpClient with certificate to download files, and to perform wellknown request, and to get terms 2020-06-30 18:27:39 +02:00
Benoit Marty 6721e33c7e cleanup 2020-06-30 18:25:36 +02:00
Benoit Marty 4bb804fbf7 Allow self-signed certificate (#1564)
Accepted fingerprint before the migration to RiotX should still work after the migration.
The dialog to trust the certificate is displayed during the login flow.
For the moment, it is not displayed if the certificate change on the server once the user is logged in. This use case will be handled later.
2020-06-30 18:25:36 +02:00
Benoit Marty 6e66c31911 Small cleanup 2020-06-30 18:07:39 +02:00
Valere a1ce245e3a Disable utd merge by default, issue with back paginate 2020-06-30 17:36:24 +02:00
Valere a9191b8fad klint 2020-06-30 17:36:24 +02:00
Valere cdb1b8d8f8 post merge fix 2020-06-30 17:36:24 +02:00
Valere 36de891451 E2e lab error display 2020-06-30 17:36:24 +02:00
Valere dbe78f160b WithHeld key support initial commit 2020-06-30 17:35:24 +02:00
Benoit Marty a6f4cd74d5
Merge pull request #1569 from vector-im/feature/fix_improve_epoxy
Feature/fix improve epoxy
2020-06-30 17:28:34 +02:00
Benoit Marty 962e11a740 Onuray's remark :) 2020-06-30 16:31:37 +02:00
Benoit Marty e658ef184d Fix issue with save action visibility 2020-06-30 16:18:56 +02:00
Benoit Marty da472ea858 Use name instead of computed displayName 2020-06-30 16:10:27 +02:00
Benoit Marty ff0b92272a Create RoomHistoryVisibilityFormatter 2020-06-30 16:01:07 +02:00
Benoit Marty cca6d0e967 Cleanup 2020-06-30 15:52:40 +02:00
onurays e0ea0c195b Hide save action after saving completed. 2020-06-30 14:23:57 +02:00
onurays b3d4d20195 Check permission before trying to reach Camera. 2020-06-30 14:23:57 +02:00
onurays 5f788d962e Use AlertDialog from v7 compat lib. 2020-06-30 14:23:57 +02:00
onurays 2650453d4b Add room alias first before setting the canonical alias. 2020-06-30 14:23:57 +02:00
onurays 4d6ba5a491 Check permission before triggering history readability click action. 2020-06-30 14:23:57 +02:00
onurays 32721caf5a Code review fix. 2020-06-30 14:23:57 +02:00
onurays ad084e1fec Use simple dialog for avatar selection. 2020-06-30 14:23:57 +02:00
onurays 512e4f0ce3 Create UCropHelper with default settings. 2020-06-30 14:23:57 +02:00
onurays a93cbf3548 Lint fix. 2020-06-30 14:23:57 +02:00
onurays e0e4cf3df1 Code review fixes. 2020-06-30 14:23:57 +02:00
onurays 16bd642ae8 Implementation of updating user avatar.
Fixes #1054
2020-06-30 14:23:57 +02:00
onurays a03f69fb98 Check if user has enough power level to change room avatar. 2020-06-30 14:22:24 +02:00
onurays 8787f5d920 Remove room avatar item from room settings. 2020-06-30 14:22:24 +02:00
onurays ef1ae4105b Change room avatar in BigImageViewer. 2020-06-30 14:22:24 +02:00
onurays 7f2ce91c82 Add camera and gallery options to set room avatar. 2020-06-30 14:22:24 +02:00
onurays 1f30cf468a Check if user have enough power level to change settings. 2020-06-30 14:22:24 +02:00
onurays 762dd1d0a5 Implementation of canonical alias. 2020-06-30 14:22:24 +02:00
onurays f5790e5dc2 Implementation of room history readability. 2020-06-30 14:22:24 +02:00
onurays e1a12f4c77 Show current history readability. 2020-06-30 14:22:24 +02:00
onurays 52eec06110 Updating room avatar is implemented. 2020-06-30 14:22:24 +02:00
onurays a6e4a328b3 Chain all operations to save settings. 2020-06-30 14:17:19 +02:00
onurays bfebaa5c6c Show/hide save action button dynamically. 2020-06-30 14:17:19 +02:00
onurays 05e848244e Room name and topic fields added to form. 2020-06-30 14:17:19 +02:00
Onuray Sahin 08710978c5 Change the rageshake tag. 2020-06-30 15:02:37 +03:00
Onuray Sahin cba9109206 Rename the application. 2020-06-30 14:52:50 +03:00
Onuray Sahin 482621e86f Set versionName to 1.0.0 2020-06-30 14:34:02 +03:00
Valere b0034f91b0 code cleaning 2020-06-29 16:37:22 +02:00
Valere caa7709090 Fix copy of cancel bootstrap 2020-06-29 16:37:22 +02:00
Valere 51228a3a5c Fix / settings showing bad options when xsigning not init 2020-06-29 16:37:22 +02:00
Valere 5c091339f0 Fix / bootstrap crosssigning only was not supported 2020-06-29 16:37:22 +02:00
Valere 6643923981 Fix/ pass not save in reauth after login 2020-06-29 16:37:22 +02:00
Valere 4ce2478e44 Fix 404 when uploading xsigning keys
Own device keys was not yet uploaded, now it's done on session open . + added some cleaning of legacy things
2020-06-29 16:37:22 +02:00
Benoit Marty 6131c10d31 Show a more appropriate error when user enter a wrong backup passphrase 2020-06-29 16:36:32 +02:00
Benoit Marty 8c5ec2c57f Restore color for the second phrase 2020-06-29 16:36:32 +02:00
Benoit Marty e046d17bf2 Remove colored part, as user think they are links. 2020-06-29 16:36:32 +02:00
Benoit Marty 8e7166662b Handle back navigation Recovery backup -> Firstform
Also create BootstrapStep.GetBackupSecretForMigration.useKey() to reduce code duplication
2020-06-29 16:36:32 +02:00
Benoit Marty 3aaa425714 Handle back navigation SetupPassphrase -> Firstform 2020-06-29 16:36:32 +02:00
Benoit Marty a66010a1d8 Create isCrossSigningInitialized(). Do not display the conclusion Fragment anymore 2020-06-29 16:36:32 +02:00
Benoit Marty e9706a3b64 Update UI 2020-06-29 16:36:32 +02:00
Benoit Marty e758ede706 Revert "Remove BootstrapStep.SetupPassphrase and BootstrapStep.ConfirmPassphrase"
This reverts commit 23fa44b6a6a6d34b425e2c1adef4fd2beb9800a7.
2020-06-29 16:36:32 +02:00
Benoit Marty 957fe189dc Fix issue in dark theme and a11y 2020-06-29 16:36:32 +02:00
Benoit Marty 12a4f6f05b Create isRecoverySetup() 2020-06-29 16:36:32 +02:00
Benoit Marty f3b464b88a Bootstrap: Add an introduction step: BootstrapSetupRecoveryKeyFragment 2020-06-29 16:36:32 +02:00
Benoit Marty 369f40c804 Remove developer mode option to set up cross-signing 2020-06-29 16:36:32 +02:00
Benoit Marty e4ac28877c Ask user password to initialize CrossSigning
And migrate some logic to the ViewModel
2020-06-29 16:36:19 +02:00
Benoit Marty 8df7797f6d Remove BootstrapStep.SetupPassphrase and BootstrapStep.ConfirmPassphrase 2020-06-29 16:36:19 +02:00
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
Benoit Marty 94ea857738 Fix icons tint, esp in dark theme 2020-06-19 13:36:03 +02:00
Benoit Marty 0bb92e9e91 Hide m.call.candidates in the timeline by default.
And handle them correctly when all events are displayed
2020-06-19 13:36:03 +02:00
Benoit Marty d3f93984d4 Compact coding 2020-06-19 13:36:03 +02:00
Benoit Marty 125d61eb68 Rename parameters 2020-06-19 13:36:03 +02:00
onurays c0988ba6d9 Merge conflicts and implement answer function. 2020-06-19 13:36:03 +02:00
Benoit Marty 03b9904b07 Create a MxCall interface to better handle call 2020-06-19 13:36:03 +02:00
Benoit Marty 24a9931abd Rename some API 2020-06-19 13:36:03 +02:00
Benoit Marty 2581a3433e Create RoomCallService 2020-06-19 13:36:03 +02:00
Benoit Marty 8c9ca1e0f2 Cleanup listener 2020-06-19 13:35:38 +02:00
onurays 54b154f85f Send sdp to remote party when answer is received. 2020-06-19 13:35:38 +02:00
onurays 37c926d178 Attach local video renderers. 2020-06-19 13:35:38 +02:00
onurays f50f81d321 Implement rejecting incoming call. 2020-06-19 13:35:38 +02:00
onurays 743ace7e60 Move voip responsibilities from views to WebRtcPeerConnectionManager. 2020-06-19 13:35:38 +02:00
onurays 5d476e7259 Show the foreground service for incoming and outgoing calls. 2020-06-19 13:35:38 +02:00
onurays fb6bcc8470 Foreground call service and action receiver implemented. 2020-06-19 13:35:38 +02:00
onurays bda1633979 New material resources added. 2020-06-19 13:35:38 +02:00
onurays 4169f580b8 Create foreground call service. 2020-06-19 13:35:38 +02:00
onurays 4a4edcf82a Experimental implementation of Telecom API. 2020-06-19 13:35:38 +02:00
onurays a1fc0db8a2 Finish CallActivity when m.call.hangup received. 2020-06-19 13:35:38 +02:00
Valere dc19652c2b WIP
refact WIP


TMP


WIP
2020-06-19 13:35:38 +02:00
Benoit Marty d2f1488934
Merge pull request #1500 from vector-im/feature/api_21
Min SDK level set to 21 (#405)
2020-06-19 09:45:22 +02:00
Benoit Marty f532d28fb3 Min SDK level set to 21 (#405) 2020-06-18 14:18:40 +02:00
Benoit Marty 0135368328 Prevent infinite loop on 403 and fix bad url used to load the terms 2020-06-18 10:06:31 +02:00
Benoit Marty af81a52746 Use CustomChromeTab to open T&C 2020-06-17 19:04:35 +02:00
Benoit Marty 86b4c9ac73 "Add Matrix app" menu is now always visible (#1495) 2020-06-17 18:13:09 +02:00
Benoit Marty 1df3b4e18f Fix dark theme issue on login screen (#1097) 2020-06-17 15:52:31 +02:00
Benoit Marty 2c34fe2dc3 Add airplane mode icon 2020-06-17 15:30:56 +02:00
Benoit Marty 9c34187391 Move "integration" setting above "advanced" section 2020-06-17 15:17:22 +02:00
ganfra 10d78a3102 Shortcuts: avoid crash when retrieving images 2020-06-16 17:50:43 +02:00
ganfra 46378845e9 Typings: extract from room summary and use an in memory tracker 2020-06-16 17:50:08 +02:00
Benoit Marty ff39b22686 Add changelog entry for proguard 2020-06-16 11:18:33 +02:00
Benoit Marty 601e11980f
Merge pull request #1478 from vector-im/feature/proguard
Feature/proguard
2020-06-16 11:15:21 +02:00
ganfra 8cef299878 Timeline: add room summary holder to avoid fetching in item factory 2020-06-16 11:08:38 +02:00
Benoit Marty 914bfb105c Version++ 2020-06-15 23:28:57 +02:00
Benoit Marty 29fd4c4bd2 Fix issue on dark themes, after alert popup dismiss 2020-06-15 23:25:32 +02:00
Benoit Marty e89a340fae Format string resources 2020-06-15 16:47:05 +02:00
Benoit Marty c3d6135fb3 Fix lint issues 2020-06-15 16:29:10 +02:00
Weblate 5c449a9e30 michaelk merges translation 2020-06-15 13:24:46 +00:00
LinAGKar 415ac6a748 Translated using Weblate (Swedish)
Currently translated at 41.5% (712 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/sv/
2020-06-15 12:55:46 +00:00
Osoitz 177f7b9cb3 Translated using Weblate (Basque)
Currently translated at 100.0% (1717 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/eu/
2020-06-15 12:55:45 +00:00
Benoit Marty ade1f1b911
Merge pull request #1479 from vector-im/feature/memory_leaks
Feature/memory leaks
2020-06-15 14:47:16 +02:00
Benoit Marty 344a9836d2 Typo and cleanup 2020-06-15 14:44:44 +02:00
Benoit Marty 2c1487d303
Merge pull request #1466 from vector-im/feature/toggle_favorite
Add capability to add and remove a room from the favorites (#1217)
2020-06-15 14:29:48 +02:00
LinAGKar e1e505e695 Translated using Weblate (Swedish)
Currently translated at 40.8% (701 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/sv/
2020-06-14 05:26:12 +00:00
Marko Dimjašević c5cd68416f Translated using Weblate (Croatian)
Currently translated at 71.6% (1229 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/hr/
2020-06-14 05:26:12 +00:00
Slavi Pantaleev de77c8a210 Translated using Weblate (Bulgarian)
Currently translated at 82.8% (1421 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/bg/
2020-06-14 05:26:11 +00:00
ganfra 171a945de9 Membership: refact a bit and add a left message when kicked or banned 2020-06-12 15:29:07 +02:00
LinAGKar d845d10d73 Translated using Weblate (Swedish)
Currently translated at 40.7% (699 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/sv/
2020-06-12 11:26:16 +00:00
reg4xp 1be1b5b263 Translated using Weblate (Persian)
Currently translated at 34.4% (591 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/fa/
2020-06-12 11:26:15 +00:00
Marko Dimjašević dafb0c8d5c Translated using Weblate (Croatian)
Currently translated at 71.5% (1227 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/hr/
2020-06-12 11:26:09 +00:00
ganfra 6ca69a9947 Remove unnecessary comment 2020-06-12 10:02:57 +02:00
ganfra ff171a39c6 Memory leaks: clean after Benoit's remarks 2020-06-12 09:58:45 +02:00
Benoit Marty 8acee57118 Implement my suggestions 2020-06-11 22:01:04 +02:00
Benoit Marty d03ab989e6 Hide WidgetBanner by default, it can be visible if phone is slow 2020-06-11 21:42:04 +02:00
Benoit Marty 4f5b1d9646 Close Activity when room is left.
Create a dedicated ViewModel to handle that in Activity rather than multiple times in Fragments
2020-06-11 21:40:22 +02:00
ganfra f8dca1237a Fix lint issues 2020-06-11 20:20:06 +02:00
ganfra c382f706a6 Leaks: disable leakcanary 2020-06-11 19:40:46 +02:00
ganfra 23cbed310a Proguard: activate it in release 2020-06-11 19:37:20 +02:00
Benoit Marty 530ce0952c Typo and cleanup 2020-06-11 18:00:34 +02:00
Benoit Marty 262f10af9a Remove ability to kick or ban yourself 2020-06-11 16:59:14 +02:00
Benoit Marty 3430a8f3ea Fix demote yourself issue 2020-06-11 16:48:32 +02:00
Benoit Marty 959be3a23d Fix layout issue on read only rooms 2020-06-11 16:39:41 +02:00
Benoit Marty 15306fc116 Italic text 2020-06-11 16:30:34 +02:00
Benoit Marty fb5013db88 Restore previous way to managed power level string, to be able to translate them correctly 2020-06-11 16:27:46 +02:00
Benoit Marty ab4780c9b9 Remove translation of deleted strings 2020-06-11 16:27:46 +02:00
LinAGKar 6aecf68098 Translated using Weblate (Swedish)
Currently translated at 40.6% (697 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/sv/
2020-06-11 06:29:33 +00:00
Nils Haugen dc54c6139f Translated using Weblate (Norwegian Nynorsk)
Currently translated at 49.4% (848 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/nn/
2020-06-11 06:29:33 +00:00
Marko Dimjašević dc7067baff Translated using Weblate (Croatian)
Currently translated at 71.5% (1227 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/hr/
2020-06-11 06:29:32 +00:00
Besnik Bleta ced226777f Translated using Weblate (Albanian)
Currently translated at 99.6% (1710 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/sq/
2020-06-11 06:29:27 +00:00
ganfra 579d4f7a5b Merge branch 'develop' into feature/power_level 2020-06-10 17:21:04 +02:00
ganfra 60b91d4d50 PowerLevel : clean after Benoit's review 2020-06-10 17:19:33 +02:00
ganfra 917042c48c Remove memory leak from Autocompleter 2020-06-10 16:14:19 +02:00
Benoit Marty c35c94b7b7 Update link to Modular url from "https://modular.im/" to "https://modular.im/services/matrix-hosting-riot" and open it using ChromeCustomTab 2020-06-10 09:13:08 +02:00
Benoit Marty d8317f7439 Add capability to add and remove a room from the favorites (#1217) 2020-06-10 00:42:14 +02:00
ganfra d6329a1ab6 Start looking at memory leaks 2020-06-08 19:46:55 +02:00
ganfra bf5ad2cf18 Power level: warn when demoting yourself 2020-06-08 17:36:30 +02:00
ganfra a8ae4ddde8 Power level: use confirmation dialog 2020-06-08 16:33:56 +02:00
LinAGKar 2596a9ef7e Translated using Weblate (Swedish)
Currently translated at 40.4% (694 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/sv/
2020-06-08 11:29:54 +00:00
Eduardo F f74989ac1d Translated using Weblate (Portuguese (Brazil))
Currently translated at 51.2% (879 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/pt_BR/
2020-06-08 11:29:40 +00:00
Krystian Chachuła d3bc4017a5 Translated using Weblate (Polish)
Currently translated at 90.8% (1559 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/pl/
2020-06-08 11:29:39 +00:00
Nils Haugen 50dcc24900 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 49.3% (847 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/nn/
2020-06-08 11:29:39 +00:00
Marko Dimjašević a66470f93b Translated using Weblate (Croatian)
Currently translated at 68.9% (1183 of 1717 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/hr/
2020-06-08 11:29:38 +00:00
ganfra 7f02195377 Clean code 2020-06-08 10:29:09 +02:00
ganfra 0002cddd67 Merge branch 'develop' into feature/power_level 2020-06-08 10:12:53 +02:00
Benoit Marty 19e1683106 Move class LoginFlowType to `api` package 2020-06-08 09:16:31 +02:00
Benoit Marty 5c538c7865 Clarify type when retrieving supported login flow (be conform to the spec) 2020-06-08 09:11:23 +02:00
ganfra 86dd8f3fd8 Update epoxy to last stable version 2020-06-05 20:14:36 +02:00
ganfra afd1002fdb Room Permission: default to true for sending event 2020-06-05 20:09:13 +02:00
ganfra 07c7ed0a4e Powerlevel: use edit text for custom 2020-06-05 20:08:39 +02:00
ganfra e5da5a34cb Power levels: handle some action permissions 2020-06-05 19:12:33 +02:00