Commit graph

22 commits

Author SHA1 Message Date
Jorge Martin Espinosa
46f78ef700
Integrate Element Call with widget API (#1581)
* Integrate Element Call with widget API.

- Add `appconfig` module and extract constants that can be overridden in forks there.
- Add an Element Call feature flag, disabled by default.
- Refactor the whole `ElementCallActivity`, move most logic out of it.
- Integrate with the Rust Widget Driver API (note the Rust SDK version used in this PR lacks some needed changes to make the calls actually work).
- Handle calls differently based on `CallType`.
- Add UI to create/join a call.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-19 15:38:43 +00:00
Benoit Marty
7389748f3e Konsist: add rule obout test class name, and fix existing issue 2023-10-12 15:03:50 +02:00
Benoit Marty
566f09699e Refactor tests. 2023-10-02 13:51:16 +02:00
Benoit Marty
42be907bb9 Add more tests 2023-10-02 13:25:47 +02:00
Benoit Marty
503c9e79e0 Move appPrompt and confineToRoom to the fragment part of the URL 2023-10-02 13:14:32 +02:00
Benoit Marty
5d0751de72 Detekt: sentences must end with a period. 2023-09-26 16:48:13 +02:00
Benoit Marty
8cb7c3211c Element call: Pass in custom call URL query parameters 2023-09-26 16:19:38 +02:00
Benoit Marty
f0d5c46eaa Element call URL must have https scheme. 2023-09-26 15:41:31 +02:00
bmarty
c72bb92ef2 Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
bmarty
a7ce12d91d Sync Strings from Localazy 2023-09-21 15:51:21 +00:00
Benoit Marty
0e4c146e87 Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
e622f8d869
Merge pull request #1392 from vector-im/feature/bma/iterateOnIcons
Iterate on icons
2023-09-20 23:20:28 +02:00
Benoit Marty
d531e71cd8 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
b73fe69dd6 No need to decode the parameter value, getQueryParameter already does it. 2023-09-20 11:20:40 +02:00
Benoit Marty
040da1324d Add one more test. 2023-09-20 11:19:47 +02:00
Benoit Marty
1d0af23d52 Add test for the scheme io.element.call 2023-09-20 11:18:51 +02:00
Benoit Marty
1244761be2 Avoid code duplication 2023-09-20 11:09:21 +02:00
Benoit Marty
73d71b9ddb CallIntentDataParser is now a class. 2023-09-20 11:07:10 +02:00
Benoit Marty
acbdac70be Add support for io.element.call:/?url=some-encoded-url uri 2023-09-20 11:05:15 +02:00
Benoit Marty
0453ea5904 Localazy sync 2023-09-18 16:42:35 +02:00
bmarty
d2f9b02bbf Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
Jorge Martin Espinosa
f88507117b
Element Call SPA integration (#1283)
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-15 16:39:44 +02:00