Commit Graph

247 Commits

Author SHA1 Message Date
Benoit Marty e391a1371c Merge branch 'develop' into feature/ons/voice_message 2021-07-09 22:19:50 +02:00
Onuray Sahin 7a1b138894 Merge branch 'develop' into feature/ons/voice_message
* develop: (286 commits)
  Fix crash after video call
  Fix issue on button styles
  Clean after benoits review
  Fix warning about implicit type, introduced in Kotlin 1.5.20. "Returning type parameter has been inferred to Nothing implicitly. Please specify type arguments explicitly to hide this warning. Nothing can produce an exception at runtime."
  Bump kotlin_version from 1.5.10 to 1.5.20
  Bump libphonenumber from 8.12.25 to 8.12.26
  Fix call invite processed after call is ended because of fastlane mode.
  Jump to unread: removes unnecessary check which can cause scroll issue
  Jump to unread: avoid blink when jumping
  Clean after Benoits review
  Delete unused drawable to avoid conflict on develop
  Jump to unread: add towncrier file.
  Read marker: fix some issues with jump to unread visibility.
  Stop using ProgressDialog, there is a theme issue with it. It's not maintain by Google since it's deprecated. Force usage of MaterialAlertDialogBuilder to have the same UI effect. We sometimes need to block the UI :/
  Reordering
  Add text style for dialogs
  Colored dialog button is now handled by the theme
  Update theme for material dialog and create a destructive variant
  Reorder buttons
  Update doc
  ...

# Conflicts:
#	library/ui-styles/src/main/res/values/theme_dark.xml
#	library/ui-styles/src/main/res/values/theme_light.xml
#	vector/build.gradle
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerView.kt
#	vector/src/main/res/values/strings.xml
2021-07-06 13:17:49 +03:00
ganfra cdf97fc29f Merge branch 'develop' into feature/fga/new_voip_design 2021-07-05 18:02:19 +02:00
ganfra f74a71001a Change active call bar + some minor changes in call screen 2021-07-01 20:05:58 +02:00
Onuray Sahin 5676226f42 Voice message recording view implementations. 2021-07-01 10:47:41 +03:00
dependabot[bot] 1ae88afcda
Bump gradle from 4.2.1 to 4.2.2
Bumps gradle from 4.2.1 to 4.2.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 23:09:18 +00:00
dependabot[bot] b1a1b4651e
Bump kotlin_version from 1.5.10 to 1.5.20
Bumps `kotlin_version` from 1.5.10 to 1.5.20.

Updates `kotlin-gradle-plugin` from 1.5.10 to 1.5.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.10...v1.5.20)

Updates `kotlin-stdlib-jdk7` from 1.5.10 to 1.5.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.10...v1.5.20)

Updates `kotlin-stdlib` from 1.5.10 to 1.5.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.10...v1.5.20)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk7
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-24 23:09:29 +00:00
Onuray Sahin 69350ef514 Voice message UI initial implementation. 2021-06-17 16:17:38 +03:00
dependabot[bot] aa3bdd6044
Bump sonarqube-gradle-plugin from 3.2.0 to 3.3
Bumps sonarqube-gradle-plugin from 3.2.0 to 3.3.

---
updated-dependencies:
- dependency-name: org.sonarsource.scanner.gradle:sonarqube-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 05:55:24 +00:00
Benoit Marty 8110e9b2ab Also upgrade coroutine library to 1.5.0 2021-05-25 10:56:36 +02:00
dependabot[bot] b311173385
Bump kotlin_version from 1.5.0 to 1.5.10
Bumps `kotlin_version` from 1.5.0 to 1.5.10.

Updates `kotlin-gradle-plugin` from 1.5.0 to 1.5.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.0...v1.5.10)

Updates `kotlin-stdlib-jdk7` from 1.5.0 to 1.5.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.0...v1.5.10)

Updates `kotlin-stdlib` from 1.5.0 to 1.5.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.0...v1.5.10)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 06:14:09 +00:00
dependabot[bot] ffba75a49e
Bump gradle from 4.1.3 to 4.2.1
Bumps gradle from 4.1.3 to 4.2.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-18 18:15:06 +00:00
dependabot[bot] 722bccb0bb
Bump google-services from 4.3.5 to 4.3.8
Bumps google-services from 4.3.5 to 4.3.8.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-18 16:26:08 +00:00
dependabot[bot] 0c92949e78 Bump gradle from 4.1.3 to 4.2.0
Bumps gradle from 4.1.3 to 4.2.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 09:54:49 +02:00
Benoit Marty 0354151fa7 kotlin_coroutines_version = "1.5.0-RC" since kotlin_version = '1.5.0' 2021-05-14 12:33:52 +02:00
dependabot[bot] 3c0ac0a576
Bump kotlin_version from 1.4.32 to 1.5.0
Bumps `kotlin_version` from 1.4.32 to 1.5.0.

Updates `kotlin-gradle-plugin` from 1.4.32 to 1.5.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib-jdk7` from 1.4.32 to 1.5.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib` from 1.4.32 to 1.5.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 14:51:49 +00:00
Benoit Marty 756e690cc1
Merge pull request #3256 from vector-im/dependabot/gradle/org.sonarsource.scanner.gradle-sonarqube-gradle-plugin-3.2.0
Bump sonarqube-gradle-plugin from 3.1.1 to 3.2.0
2021-05-12 16:50:48 +02:00
Benoit Marty 64a37c251d
Merge pull request #3264 from vector-im/feature/bma/fix_3245
Compress video and improve file too big error detection
2021-05-05 15:50:21 +02:00
Benoit Marty 6347564365 Change the library to compress video for licensing reason 2021-05-04 12:17:43 +02:00
Benoit Marty 5e1c503d2e Compress video before sending (#442) 2021-05-03 21:13:47 +02:00
Benoit Marty 0a9fdea26d https://github.com/Piasy/BigImageViewer is now hosted on mavenCentral() 2021-05-03 00:27:28 +02:00
dependabot[bot] 257d5cd55a
Bump sonarqube-gradle-plugin from 3.1.1 to 3.2.0
Bumps sonarqube-gradle-plugin from 3.1.1 to 3.2.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 07:07:27 +00:00
Benoit Marty 55f1f56fec `master` branch has been renamed to `main`
Also in project vector-im/jitsi_libre_maven
2021-04-29 12:29:52 +02:00
dependabot[bot] bb9258cc47
Bump oss-licenses-plugin from 0.10.3 to 0.10.4
Bumps oss-licenses-plugin from 0.10.3 to 0.10.4.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 07:21:36 +00:00
Benoit Marty 984342a6dd Upgrade com.likethesalad.android:string-reference to 1.2.2
Compatible with gradle7, see https://github.com/LikeTheSalad/android-string-reference/issues/11
2021-04-11 21:07:08 +02:00
Benoit Marty a9ef58912f http -> https
Fix the followinf error, since gradle 7: `Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven2(http://dl.bintray.com/piasy/maven)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.0/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.`
2021-04-10 08:45:27 +02:00
dependabot[bot] 49c79ceb74
Bump oss-licenses-plugin from 0.10.2 to 0.10.3
Bumps oss-licenses-plugin from 0.10.2 to 0.10.3.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 07:22:36 +00:00
dependabot[bot] 081a904f8a
Bump kotlin_version from 1.4.31 to 1.4.32
Bumps `kotlin_version` from 1.4.31 to 1.4.32.

Updates `kotlin-gradle-plugin` from 1.4.31 to 1.4.32
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib-jdk7` from 1.4.31 to 1.4.32
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib` from 1.4.31 to 1.4.32
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 12:57:42 +00:00
dependabot[bot] 92f1390407
Bump gradle from 4.1.2 to 4.1.3
Bumps gradle from 4.1.2 to 4.1.3.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 07:11:14 +00:00
Benoit Marty 263ad899d8 Setup com.likethesalad.android:string-reference to have compilation time build of Strings resource with the app_name 2021-03-03 17:30:57 +01:00
dependabot[bot] 6f6f76b36b
Bump kotlin_version from 1.4.30 to 1.4.31
Bumps `kotlin_version` from 1.4.30 to 1.4.31.

Updates `kotlin-gradle-plugin` from 1.4.30 to 1.4.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.4.31/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.30...v1.4.31)

Updates `kotlin-stdlib-jdk7` from 1.4.30 to 1.4.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.4.31/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.30...v1.4.31)

Updates `kotlin-stdlib` from 1.4.30 to 1.4.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.4.31/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.30...v1.4.31)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 08:55:44 +00:00
Benoit Marty 88964d8cf7 Also bump kotlin_coroutines_version to recommended version 1.4.2 2021-02-21 16:24:40 +01:00
dependabot[bot] d444e91ba8 Bump kotlin_version from 1.4.21 to 1.4.30
Bumps `kotlin_version` from 1.4.21 to 1.4.30.

Updates `kotlin-gradle-plugin` from 1.4.21 to 1.4.30

Updates `kotlin-stdlib-jdk7` from 1.4.21 to 1.4.30
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.21...v1.4.30)

Updates `kotlin-stdlib` from 1.4.21 to 1.4.30
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.21...v1.4.30)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 16:23:46 +01:00
dependabot[bot] 8aab8ff882
Bump sonarqube-gradle-plugin from 2.7.1 to 3.1.1
Bumps sonarqube-gradle-plugin from 2.7.1 to 3.1.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-19 23:21:26 +00:00
Benoit Marty 1ec4424c0a Upgrade Jitsi library from 2.9.3 to 3.1.0 2021-02-10 12:15:32 +01:00
Benoit Marty 34fd5e7191 Upgrade build tools 2021-02-04 18:02:47 +01:00
Valere 7da8b13cde Chat Effects 2020-12-15 09:39:16 +01:00
Benoit Marty 42bc4d2445 Upgrade some dependencies and Kotlin version 2020-12-02 12:09:56 +01:00
Benoit Marty 36cef26ab5 Fix allWarningsAsErrors mistake... Strange behaviour of Elvis operator in Groovy... 2020-10-22 17:23:45 +02:00
Benoit Marty d8f2deb5d9 Update build tools from 4.0.1 to 4.1.0 2020-10-13 17:18:13 +02:00
Benoit Marty 6872a488de Fix the latest lint issue (will modify the pipeline to let the test compilation pass 2020-10-08 13:04:55 +02:00
Benoit Marty 282a3f8ee3 Upgrade com.google.gms:google-services from `4.3.2` to `4.3.4` 2020-10-06 13:08:36 +02:00
Benoit Marty ebfee5868e Remove OkReplay, not compatible to build tools `4.0.1` (and not used) 2020-10-06 13:06:24 +02:00
Benoit Marty 7a146327ca Upgrade build tools from `3.5.3` to `4.0.1` 2020-10-06 13:05:39 +02:00
Benoit Marty 5056615eb0 Upgrade kotlin version from `1.3.72` to `1.4.10` and kotlin coroutines version from `1.3.8` to `1.3.9` 2020-10-06 12:33:40 +02:00
Benoit Marty 9e20f7db1a Update of Buildkite configuration:
New pipeline location: https://github.com/matrix-org/pipelines/blob/master/element-android/pipeline.yml
New build location: https://buildkite.com/matrix-dot-org/element-android
2020-09-01 18:52:03 +02:00
Benoit Marty 8369003bdf Sonar: rename project name and project key 2020-08-27 18:16:29 +02:00
Benoit Marty 02145eaa06 Github repository has been renamed 2020-08-27 18:16:29 +02:00
Benoit Marty a857d8e306 Fix bugs detected by sonar 2020-08-27 18:16:29 +02:00
Benoit Marty b69616117f Sonar: skip project `diff-match-patch` 2020-08-27 18:15:53 +02:00
Benoit Marty 4cba1388f9 Add support for biometrics (not only Fingerprint) 2020-08-20 14:11:23 +02:00
Benoit Marty 05ecbf0f86 Build Jitsi lib version android-sdk-2.9.3, commit abcbbbea12e3ef88012b14723bb8cd42dbefc988
And host it in https://github.com/vector-im/jitsi_libre_maven/tree/master/android-sdk-2.9.3
2020-08-14 21:33:25 +02:00
Valere 42a24300a1 Initial commit jitsi 2020-08-14 09:31:24 +02:00
ganfra ecdef52829 Continue PIN code library integration (fork required) 2020-07-28 20:22:59 +02:00
ganfra f5fbb2bc4f Setup screens for Pin 2020-07-17 13:29:18 +02:00
Valere 4a2a6d34ae Initial commit 2020-07-08 20:09:55 +02:00
Benoit Marty a0998e4aff Revert to gradle build 3.5.3 2020-07-06 21:53:10 +02:00
Benoit Marty 9d4e903c4a Upgrade some dependencies 2020-07-06 15:59:49 +02:00
Benoit Marty 542d11d7f1 Upgrade build-tools from 3.5.3 to 3.6.6 and gradle from 5.4.1 to 5.6.4 2020-07-02 12:44:07 +02:00
Benoit Marty 13d3aa9ff1
Merge branch 'develop' into feature/attachment_process 2020-02-17 13:48:21 +01:00
Valere 61ea4191dc Update json viewer lib 2020-02-14 10:48:18 +01:00
Ganard a26e959430 Attachements: introduce structure for preview, cropping and compressing 2020-02-13 19:51:20 +01:00
ganfra 9fc3fa7f19 Update some libs and remove incremental from dagger 2020-01-29 21:14:38 +01:00
Benoit Marty cfee6a43fd
Merge pull request #760 from vector-im/feature/diff_match_patch_submodule
Use diff_match_patch sources as dependency
2019-12-16 15:02:29 +01:00
Benoit Marty b435212c87 Use same default room colors than Riot-Web
And create MatrixItem
2019-12-13 20:50:32 +01:00
Valere 0b93f34fa0 Use diff_match_patch sources as dependency 2019-12-11 10:51:09 +01:00
Benoit Marty 6de64cbedd Treat warnings from the kotlin compiler as errors 2019-10-09 12:49:00 +02:00
Benoit Marty 546c537e3b Upgrade build tools version from 3.5.0 to 3.5.1 2019-10-09 12:49:00 +02:00
Benoit Marty 8b04fdab77 Upgrade other libraries 2019-10-07 16:22:09 +02:00
Benoit Marty 5d2ff589f8 Upgrade gradle plugins 2019-10-07 16:21:18 +02:00
Benoit Marty e85a0783fc Upgrade kotlin version 2019-10-07 16:21:18 +02:00
Benoit Marty d6c278288d upgrade google play services plugin 2019-10-07 16:21:18 +02:00
ganfra 208460850e Dagger: activate incremental build 2019-07-17 14:16:20 +02:00
Valere 25f1d21bc7 Edit history
Get history from API


cleaning


Updated change log


Missing copyrights


Code review


cleaning
2019-07-15 14:57:12 +02:00
Benoit Marty 80a61cf6b5 Improve dependency download safe path 2019-07-11 14:03:20 +02:00
Benoit Marty e9eada77f9 Add comment to run sonar analysis and fix compilation issue 2019-07-03 15:42:35 +02:00
Benoit Marty f41c0311fa Fix done TODO 2019-07-03 11:58:50 +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
ganfra 3519ad7c8d Crypto : WIP 2019-05-23 19:12:06 +02:00
Benoit Marty 1436667e7d Crypto 2019-05-16 10:34:17 +02:00
Valere 56a2a3a065 [WIP] Emoji Reactions 2019-05-07 18:01:51 +02:00
Benoit Marty 41337d0ca4 Configure pipeline for buildkite 2019-04-30 13:58:13 +02:00
Benoit Marty 6830957d31 Import settings from Riot - not all fonctional of course 2019-04-02 18:08:43 +02:00
Benoit Marty 9048a1dbbe Rename `app` to `vector` 2019-04-02 11:24:54 +02:00
ganfra d110dac0a6 Merge feature/replace_paged_list into develop 2019-04-01 17:33:53 +02:00
ganfra 4154df7c21 Timeline : stabilize the pagedList replacement. Seems ok for phase0 2019-03-27 19:57:36 +01:00
Benoit Marty b8cceaa17a Upgrade gradle wrapper to 5.2.1, and pass first sonar analysis 2019-03-18 18:16:59 +01:00
Benoit Marty 6cf91e5eca Configure sonar 2019-03-18 16:53:52 +01:00
ganfra 157068634a MediaViewer : start adding simple way of seing image in full size. Will probably change in the future. 2019-03-12 08:29:49 +01:00
ganfra 4458e28ce2 Html : introduce markown lib to handle html rendering. 2019-02-21 19:21:08 +01:00
ganfra ac2d20ad3f Migration androidx : first commit where it compiles. Updates some libs and android studio version in the same time. 2019-01-16 19:25:43 +01:00
ganfra 3713e71c8e Refactor Matrix instance creation (using ContentProvider) + isolate Koin in matrix 2018-12-20 15:44:01 +01:00
ganfra c8c31172b3 Try to configure okreplay for testing network + start to rework koin modules 2018-12-12 21:15:01 +01:00
ganfra 49715a30b6 Update to kotlin 1.3.0 version + update AS to 3.2 2018-11-07 10:12:27 +01:00
ganfra 3f07ed9806 Trying monarchy to manage realm 2018-10-18 11:16:02 +02:00
ganfra 95fd7190e4 Better coroutines management 2018-10-13 11:18:49 +02:00
ganfra b406e8301a first commit 2018-10-03 17:58:12 +02:00