Onuray Sahin
75b544a110
Support push notification for poll creation event.
2021-12-07 12:53:35 +03:00
Onuray Sahin
0d3444b9ce
Fix poll option checkbox color.
2021-12-07 12:53:04 +03:00
Onuray Sahin
1df6b33981
Add labs flag for polls.
2021-12-07 11:53:52 +03:00
Onuray Sahin
23ad4e5a27
Remove legacy implementation classes.
2021-12-03 16:19:19 +03:00
Onuray Sahin
435dc9f9d1
Fix room list preview.
2021-12-03 15:57:07 +03:00
Onuray Sahin
0a7df44a12
Add confirmation dialog to end poll.
2021-12-03 15:11:23 +03:00
Onuray Sahin
c62028df68
Implement poll actions bottom sheet.
2021-12-03 11:41:21 +03:00
Onuray Sahin
32e8a7e886
Remove legacy poll ui.
2021-12-03 11:40:12 +03:00
Onuray Sahin
06485cf5e4
Implement poll in timeline ui.
2021-12-03 11:39:41 +03:00
Onuray Sahin
2a3a55894f
Aggregate votes and poll end event.
2021-12-03 11:23:47 +03:00
Onuray Sahin
a3b11b223a
Allow removing poll event.
2021-12-03 11:21:52 +03:00
Onuray Sahin
7c269309c2
Allow sending vote and ending poll.
2021-12-03 11:21:21 +03:00
Onuray Sahin
ebc131f492
Implement new poll content.
2021-12-03 11:18:16 +03:00
Onuray Sahin
eb1519743d
Merge branch 'develop' into feature/ons/poll_timeline
...
* develop: (88 commits)
Fix "PendingIntents attached to actions with remote inputs must be mutable" Room notifications are now working on Android 12 emulator
Move P1 issues to app team and crypto boards
Quick fix on this file
Fix warning after rebase (it's for test, so OK to suppress warning)
Update changelog, since the feature is not visible yet.
Create file for Toast style (more generic) And improve fragment_create_poll.xml preview rendering
Create CallToAction button style
Create dedicated file for TextInputLayout styles And follow naming convention
Lint fix.
Add comment to run on Android 12
Use correct value, but I do not see any effect on emulator with API 12
Fix crash on Android 12. I guess we accept only images coming from the keyboard.
ktlint
Fix lint issue "NullSafeMutableLiveData"
Fix lint issue "Incorrect constant"
Fix lint issue "Outside Range" Ensure that column index is not -1
Make the Cursor extensions public And make the code more efficient, since we call getColumnIndexOrNull only once and not on each cursor iteration
Fix crash on Android 12: PendingIntent.FLAG_IMMUTABLE has to be set
Fix crash on Android 12 java.lang.SecurityException: To use the sampling rate of 0 microseconds, app needs to declare the normal permission HIGH_SAMPLING_RATE_SENSORS.
InputConnectionCompat.createWrapper is deprecated Permission should be granted, according to https://developer.android.com/reference/android/view/OnReceiveContentListener#uri-permissions
...
2021-11-16 16:14:17 +03:00
Benoit Marty
10ec6e7435
Merge pull request #4257 from opusforlife2/FR_template
...
Remove redundant text in feature request issue form
2021-11-16 13:34:44 +01:00
Benoit Marty
be3aafeef2
Merge pull request #4433 from vector-im/feature/bma/android12
...
Android12
2021-11-16 13:27:33 +01:00
Benoit Marty
dddcbfbe7d
Fix "PendingIntents attached to actions with remote inputs must be mutable"
...
Room notifications are now working on Android 12 emulator
2021-11-16 12:27:54 +01:00
Ekaterina Gerasimova
baed0dcb3e
Move P1 issues to app team and crypto boards
2021-11-16 11:09:12 +00:00
Benoit Marty
8d8565ca63
Quick fix on this file
2021-11-15 21:37:51 +01:00
Benoit Marty
eb39b37374
Fix warning after rebase (it's for test, so OK to suppress warning)
2021-11-15 21:35:01 +01:00
Benoit Marty
6ce5b19b05
Merge pull request #4470 from vector-im/feature/bma/clean_style
...
Clean up styles
2021-11-15 17:45:21 +01:00
Benoit Marty
b58c91b28d
Update changelog, since the feature is not visible yet.
2021-11-15 14:26:15 +01:00
Benoit Marty
6f13fb1634
Create file for Toast style (more generic)
...
And improve fragment_create_poll.xml preview rendering
2021-11-15 14:23:32 +01:00
Benoit Marty
223b33fa65
Create CallToAction button style
2021-11-15 14:16:22 +01:00
Benoit Marty
2aab94acb4
Create dedicated file for TextInputLayout styles
...
And follow naming convention
2021-11-15 14:11:15 +01:00
Benoit Marty
35e2a1083b
Merge pull request #4360 from vector-im/feature/ons/poll
...
Poll Feature - Create
2021-11-15 14:05:40 +01:00
Benoit Marty
df60b0c2b7
Merge pull request #4430 from vector-im/feature/adm/feature-notification-images
...
Notification images
2021-11-15 12:46:51 +01:00
Onuray Sahin
299d81fd18
Lint fix.
2021-11-15 14:41:22 +03:00
Benoit Marty
fb8b720a3b
Add comment to run on Android 12
2021-11-15 12:25:42 +01:00
Benoit Marty
5a19533b4a
Use correct value, but I do not see any effect on emulator with API 12
2021-11-15 12:25:42 +01:00
Benoit Marty
60d75ff8e2
Fix crash on Android 12.
...
I guess we accept only images coming from the keyboard.
2021-11-15 12:25:42 +01:00
Benoit Marty
b26ea752b5
ktlint
2021-11-15 12:25:42 +01:00
Benoit Marty
96de0f86fe
Fix lint issue "NullSafeMutableLiveData"
...
LiveData value assignment nullability mismatch
2021-11-15 12:25:42 +01:00
Benoit Marty
1082771f7c
Fix lint issue "Incorrect constant"
2021-11-15 12:24:48 +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
f88a477f04
Fix crash on Android 12: PendingIntent.FLAG_IMMUTABLE has to be set
2021-11-15 12:24:48 +01:00
Benoit Marty
f25c17881d
Fix crash on Android 12
...
java.lang.SecurityException: To use the sampling rate of 0 microseconds, app needs to declare the normal permission HIGH_SAMPLING_RATE_SENSORS.
2021-11-15 12:24:48 +01:00
Benoit Marty
e9f53f6b35
InputConnectionCompat.createWrapper is deprecated
...
Permission should be granted, according to https://developer.android.com/reference/android/view/OnReceiveContentListener#uri-permissions
2021-11-15 12:24:48 +01:00
Benoit Marty
0a9845af30
@OnLifecycleEvent is deprecated, use DefaultLifecycleObserver instead
2021-11-15 12:24:48 +01:00
Benoit Marty
9429b039de
androidx.lifecycle:lifecycle-common-java8 -> androidx.lifecycle:lifecycle-common
...
https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0
2021-11-15 12:24:48 +01:00
Benoit Marty
7e59c18050
Add dep for ProcessLifecycleOwner
2021-11-15 12:24:48 +01:00
Benoit Marty
a1630b5546
androidx.lifecycle:lifecycle-extensions is deprecated
...
See https://developer.android.com/jetpack/androidx/releases/lifecycle#declaring_dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty
a1c8835f31
Same version for all lifecycle deps
2021-11-15 12:24:48 +01:00
Benoit Marty
756f846e74
android:exported has to be explicitly set when targeting Android 12
2021-11-15 12:24:48 +01:00
dependabot[bot]
56776aed21
Bump browser from 1.3.0 to 1.4.0
...
Bumps browser from 1.3.0 to 1.4.0.
---
updated-dependencies:
- dependency-name: androidx.browser:browser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
dependabot[bot]
2880798627
Bump core-ktx from 1.6.0 to 1.7.0
...
Bumps core-ktx from 1.6.0 to 1.7.0.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
dependabot[bot]
540a1b52ad
Bump lifecycle-livedata-ktx from 2.3.1 to 2.4.0
...
Bumps lifecycle-livedata-ktx from 2.3.1 to 2.4.0.
---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-livedata-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
dependabot[bot]
f1e1729d40
Bump work-runtime-ktx from 2.6.0 to 2.7.0
...
Bumps work-runtime-ktx from 2.6.0 to 2.7.0.
---
updated-dependencies:
- dependency-name: androidx.work:work-runtime-ktx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
Benoit Marty
f7b2059fe1
Target API 31 - Handle deprecated API
2021-11-15 12:24:48 +01:00