Benoit Marty
84f7eb29e0
Add robustness when getting data from cursors.
...
Use androidx.core.database extension for better nullability check, and ignore uncomplete data.
2021-12-01 16:09:12 +01:00
Benoit Marty
b26ea752b5
ktlint
2021-11-15 12:25:42 +01:00
Benoit Marty
03019fdfd9
Fix lint issue "Outside Range"
...
Ensure that column index is not -1
2021-11-15 12:24:48 +01:00
Benoit Marty
453e6daa93
Make the Cursor extensions public
...
And make the code more efficient, since we call getColumnIndexOrNull only once and not on each cursor iteration
2021-11-15 12:24:48 +01:00
Benoit Marty
85983562fa
No need to add explicit dependencies on stdlib, this is added by the gradle plugin since 1.4
...
https://kotlinlang.org/docs/whatsnew14.html#dependency-on-the-standard-library-added-by-default
2021-10-19 19:06:27 +02:00
ariskotsomitopoulos
1dcf6b9539
Enhance dependencies handling to support Dependabot
2021-09-17 14:58:44 +03:00
ariskotsomitopoulos
87fefdc7bb
Add more dependencies to common dependencies.gradle
2021-09-15 20:22:52 +03:00
ariskotsomitopoulos
c89b2c0536
Optimize dependencies handling
2021-09-15 13:21:25 +03:00
Benoit Marty
5a5d4fda2d
DSL value has shorter alias now
2021-09-09 09:55:24 +02:00
Benoit Marty
529a7aedcb
Cleanup useless values
2021-09-09 09:55:24 +02:00
dependabot[bot]
3a03b5b63c
Bump timber from 4.7.1 to 5.0.1
...
Bumps [timber](https://github.com/JakeWharton/timber ) from 4.7.1 to 5.0.1.
- [Release notes](https://github.com/JakeWharton/timber/releases )
- [Changelog](https://github.com/JakeWharton/timber/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/JakeWharton/timber/compare/4.7.1...5.0.1 )
---
updated-dependencies:
- dependency-name: com.jakewharton.timber:timber
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 13:12:59 +00:00
dependabot[bot]
fb5b167e31
Bump exifinterface from 1.3.2 to 1.3.3
...
Bumps exifinterface from 1.3.2 to 1.3.3.
---
updated-dependencies:
- dependency-name: androidx.exifinterface:exifinterface
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 23:10:45 +00:00
Onuray Sahin
c6bd6e4961
Merge pull request #3598 from vector-im/feature/ons/voice_message
...
Voice Message
2021-07-30 17:24:17 +03:00
dependabot[bot]
a75ceee03f
Bump appcompat from 1.3.0 to 1.3.1
...
Bumps appcompat from 1.3.0 to 1.3.1.
---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-22 12:13:24 +00:00
dependabot[bot]
76f412ffe8
Bump fragment-ktx from 1.3.5 to 1.3.6
...
Bumps fragment-ktx from 1.3.5 to 1.3.6.
---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-21 23:05:41 +00:00
Benoit Marty
343ea42ef5
Fix issue on Android 21
2021-07-15 17:30:48 +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
Onuray Sahin
9d48b399df
Voice message playback implementation.
2021-07-01 10:49:04 +03:00
Onuray Sahin
cb96886568
Send voice message.
2021-06-17 16:18:20 +03:00
dependabot[bot]
7c19c9f0b7
Bump fragment-ktx from 1.3.4 to 1.3.5
...
Bumps fragment-ktx from 1.3.4 to 1.3.5.
---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 23:08:30 +00:00
dependabot[bot]
ef884d84dc
Bump fragment-ktx from 1.3.3 to 1.3.4
...
Bumps fragment-ktx from 1.3.3 to 1.3.4.
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 13:08:13 +00:00
dependabot[bot]
5629d30932
Bump appcompat from 1.2.0 to 1.3.0
...
Bumps appcompat from 1.2.0 to 1.3.0.
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 06:20:33 +00:00
Benoit Marty
d8bdf8e625
Rename file (ktlint)
2021-05-04 17:24:48 +02:00
Benoit Marty
f7949100a7
Sent video does not contains duration ( #3272 )
...
When using the file picker (and not the media picker).
Now when using the file picker, we detect the mime type and we send the correct event
Also some code duplication
2021-05-03 21:14:06 +02:00
Benoit Marty
d9ffce7e0d
Add option to record a video from the camera
...
Replace #2411
2021-05-03 21:13:47 +02:00
Benoit Marty
30a54cfdbc
User can now select video when selecting Gallery to send attachments to a room
2021-05-03 21:13:47 +02:00
dependabot[bot]
ed9db95aa0
Bump fragment-ktx from 1.3.2 to 1.3.3
...
Bumps fragment-ktx from 1.3.2 to 1.3.3.
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 14:27:59 +00:00
dependabot[bot]
ee1059f1db
Bump fragment-ktx from 1.3.0 to 1.3.2
...
Bumps fragment-ktx from 1.3.0 to 1.3.2.
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 06:33:50 +00:00
dependabot[bot]
c069582007
Bump fragment-ktx from 1.3.0-beta01 to 1.3.0
...
Bumps fragment-ktx from 1.3.0-beta01 to 1.3.0.
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-20 10:19:23 +00:00
dependabot[bot]
d1c49e2a04
Bump exifinterface from 1.3.1 to 1.3.2
...
Bumps exifinterface from 1.3.1 to 1.3.2.
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-19 23:21:40 +00:00
Onuray Sahin
23623b8895
Migrate to Android 11, API 30.
2021-01-04 17:12:49 +03:00
Benoit Marty
706736273c
Migrate to ViewBindings ( #1072 ) - WIP
2020-12-16 00:46:52 +01:00
Benoit Marty
89a7ec6d4b
Use fragment-ktx and preference-ktx dependencies (fix lint issue KtxExtensionAvailable)
2020-12-02 12:46:15 +01:00
Benoit Marty
42bc4d2445
Upgrade some dependencies and Kotlin version
2020-12-02 12:09:56 +01:00
Benoit Marty
61ed436c44
Move some method to the companion
2020-11-05 15:41:52 +01:00
Benoit Marty
573ec29829
ktlint cleanup
2020-10-07 19:10:53 +02:00
Benoit Marty
e224ae62b4
Do not use deprecated Activity.startActivityForResult anymore - step 3
2020-10-07 18:27:25 +02:00
Benoit Marty
ff0f42900d
Do not use deprecated Fragment.startActivityForResult anymore
2020-10-07 16:02:01 +02:00
Benoit Marty
9e0ebc94c5
Upgrade other dependencies, and remove unused dependencies
2020-10-06 15:44:30 +02:00
Benoit Marty
0bb75eed1f
Finish what has been started on #1376 : use Intent.ACTION_GET_CONTENT instead of Intent.ACTION_OPEN_DOCUMENT for other pickers
2020-09-29 16:41:55 +02:00
dkanada
3442ebc1c3
improve gallery intent for certain apps
2020-09-04 21:01:49 +09:00
Benoit Marty
67fc2feacb
Rename package `im.vector.riotx.multipicker` to `im.vector.lib.multipicker`
2020-08-03 18:35:02 +02:00
Benoit Marty
9d4e903c4a
Upgrade some dependencies
2020-07-06 15:59:49 +02:00
Tobias Preuss
9d191a783d
Let variables be "val" if possible.
2020-06-23 18:23:39 +02:00
onurays
a01482dca4
Use Timber log instead of printStackTrace.
2020-03-25 18:51:55 +03:00
onurays
5db1010e47
Catch exceptions if the file cannot be decoded.
2020-03-25 18:39:35 +03:00
onurays
6130a0a654
Remove unused toString().
2020-03-25 18:34:04 +03:00
onurays
3c1e1090e7
Avoid UNCHECKED_CAST.
2020-03-25 18:20:34 +03:00
onurays
f9aed28732
grantUriPermission to handle incoming sharing.
2020-03-25 15:51:15 +03:00
onurays
6bf89aeac9
Remove JPEG_ prefix from file name.
2020-03-24 12:37:37 +03:00