Commit Graph

16050 Commits

Author SHA1 Message Date
Johannes Marbach
9e084ec372 Inject permission utils 2022-05-25 16:22:16 +02:00
Johannes Marbach
6ec6d41aa9 Make permission utils instantiable and throw when permission request is null 2022-05-25 15:53:58 +02:00
Johannes Marbach
580bbd60e7 Appease the linter 2022-05-25 13:01:42 +02:00
Johannes Marbach
946902719b Add changelog entry 2022-05-25 12:53:47 +02:00
Johannes Marbach
59c13bf8c1 Make widget web view request system permissions for camera and microphone
Previously the widget web view prompted to grant the widget permissions but it didn't
actually request those permissions from the system. So if the web view requested, e.g.
the camera permission but the app hadn't previously been granted that permission, the
web view wouldn't get camera access even when the widget permission request had been
confirmed.

With this commit, the app will also request camera and microphone permissions from the
system when needed.

Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-05-25 12:35:43 +02:00
Maxime NATUREL
9a38d59f9a
Merge pull request #6092 from vector-im/feature/mna/PSF-888-navigation
[Location sharing] - Navigation to Map view from live location message (PSF-888)
2022-05-23 13:54:04 +02:00
Benoit Marty
fd252dbaff
Merge pull request #5856 from ofalvai/bugfix/ofa/read-recept-text-scale
Use fixed text size in read receipt counter
2022-05-23 13:41:03 +02:00
Benoit Marty
ff1099667a
Merge pull request #6106 from vector-im/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.4
Bump constraintlayout from 2.1.3 to 2.1.4
2022-05-23 12:43:03 +02:00
Adam Brown
98999c754f
Merge pull request #5868 from vector-im/feature/adm/ftue-email-verification
[FTUE] - Email input and verification
2022-05-23 11:14:46 +01:00
Maxime NATUREL
7bb73ffb57 Making the layout file more generic 2022-05-23 11:41:33 +02:00
Maxime NATUREL
b331521e93 Improving code in Fragment 2022-05-23 11:30:57 +02:00
Maxime NATUREL
721d7cb6a0 Remove commented code 2022-05-23 11:30:35 +02:00
Maxime NATUREL
c46aaa24a5 Using @AndroidEntryPoint in Fragment 2022-05-23 10:40:52 +02:00
Benoit Marty
0b35ee7c79
Merge pull request #6120 from vector-im/cgizard/fix_issue_number
Update issue number in changes.md
2022-05-23 10:38:58 +02:00
Claire G
7e494786d4 update issue number in changes.md 2022-05-23 09:54:16 +02:00
Benoit Marty
71e14ea43b
Merge pull request #6110 from vector-im/defect/jorgem/PSE-613-fix-multi-invites-to-room
Fix sending multiple invites to a room reaching only one or two people
2022-05-23 09:39:47 +02:00
Jorge Martín
96e3544a47 Fix sending multiple invites to a room reaching only one or two people 2022-05-23 08:14:32 +02:00
Onuray Sahin
109b381e2e
Merge pull request #6103 from vector-im/feature/ons/fix_live_location_flickering
Glide - Use current drawable while loading new static map image
2022-05-20 18:36:12 +03:00
Adam Brown
c71f9c81cd provides a dedicated job for the email verification polling to allow it to be cancelled when resetting the auth flow
- extracts an auto cancelling job delegate
2022-05-20 13:10:03 +01:00
Adam Brown
2378643071 adding missing punctuation 2022-05-20 12:13:09 +01:00
Adam Brown
4bcdaa309e removing unused imports 2022-05-20 12:11:44 +01:00
Adam Brown
9fddd09f1c using direct string reference for design preview 2022-05-20 12:11:44 +01:00
Adam Brown
47635aae6e avoiding cancelling the polling job when resending verification email 2022-05-20 12:11:44 +01:00
Adam Brown
bc5ebb20b5 adding gradient background to xml preview 2022-05-20 12:11:44 +01:00
Adam Brown
0979d56a36 inlining single use extension function 2022-05-20 12:11:44 +01:00
Adam Brown
4dc8d23826 removing unneeded state reacting when entering email address for verification 2022-05-20 12:11:44 +01:00
Adam Brown
641c06f10d removing this usage for project consistency 2022-05-20 12:11:44 +01:00
Adam Brown
80b6b77a3a reusing editText unboxing extension 2022-05-20 12:11:44 +01:00
Adam Brown
c414f80fa6 adding listener suffix for consistency 2022-05-20 12:11:44 +01:00
Adam Brown
c4834a44d1 aligning the carousel listener removal with the viewLifecycleOwner
- fixes crash where the scheduled callbacks can attempt to trigger after the view has been destroyed
2022-05-20 12:11:44 +01:00
Adam Brown
a4b5d1819d renaming sdk model to matrix 2022-05-20 12:11:44 +01:00
Adam Brown
8136f57b5e making use of the view lifecycle scope for the view based fragment logic 2022-05-20 12:11:44 +01:00
Adam Brown
c0efd9f1af updating ignored result register action as the one being used is now consumed 2022-05-20 12:11:44 +01:00
Adam Brown
735adf0c96 adding changelog entry 2022-05-20 12:11:44 +01:00
Adam Brown
8e7ae5e9d2 removing extra end of file lines 2022-05-20 12:11:44 +01:00
Adam Brown
350643c8a4 resetting authentication state when the viewmodel resets whilst in the email entry step - matching legacy flow 2022-05-20 12:11:44 +01:00
Adam Brown
9cc646760a removing copied back behaviour, isn't needed for the email entry screen 2022-05-20 12:11:44 +01:00
Adam Brown
8a53eafa72 adding gradient background to the waiting for verification screen, matching designs
- renames drawable which redirects to the attribute colorBackground
2022-05-20 12:11:44 +01:00
Adam Brown
eb4d31e955 extracting reusable logic for styling terminating full stops and applying to the waiting for verification title 2022-05-20 12:11:44 +01:00
Adam Brown
817d692471 renaming xml ids to the email verification domain and attaching the click logic for resending verification emails 2022-05-20 12:11:44 +01:00
Adam Brown
4964c9f151 showing loading spinner when returning to the email verification waiting screen 2022-05-20 12:11:44 +01:00
Adam Brown
02b6916487 adding UI for updated email verification waiting screen 2022-05-20 12:11:44 +01:00
Adam Brown
b2d8163aad adding unit test around polling for email verification 2022-05-20 12:11:44 +01:00
Adam Brown
074e5bcfb6 porting registration email verification polling to the registration action handler instead of the fragment 2022-05-20 12:11:44 +01:00
Adam Brown
d4a5b71a4d adding email input FTUE screen
- lifts the threepid email error handling to the RegistrationActionHandler rather than having the UI infer success from a 401
2022-05-20 12:11:44 +01:00
Benoit Marty
4094a66f3c
Merge pull request #6084 from vector-im/feature/bma/detekt_outdated_doc
Feature/bma/detekt outdated doc
2022-05-20 12:06:34 +02:00
dependabot[bot]
13175212a0
Bump constraintlayout from 2.1.3 to 2.1.4
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 09:55:29 +00:00
Benoit Marty
99b3ec606c
Merge pull request #6081 from vector-im/dependabot/gradle/com.likethesalad.android-stem-plugin-2.1.1
Bump stem-plugin from 2.0.0 to 2.1.1
2022-05-20 11:53:44 +02:00
Onuray Sahin
468cc30019 Changelog added. 2022-05-20 12:22:24 +03:00
Onuray Sahin
2b681a43c8 Use current drawable while loading new map image. 2022-05-20 12:16:35 +03:00