Benoit Marty
4e3774308e
Merge pull request #2970 from element-hq/feature/bma/moreAnalytics
...
Track when the user starts a room call and when they enable formatting options on the message composer
2024-06-05 09:21:28 +02:00
Benoit Marty
a62689475a
Let ElementCallActivity extend AppCompatActivity instead of NodeComponentActivity.
2024-06-04 10:22:48 +02:00
Benoit Marty
9778be965d
Fix compilation issue.
2024-06-04 10:21:21 +02:00
Benoit Marty
8e6bf997dc
Analytics: track screen MobileScreen.ScreenName.RoomCall
2024-06-03 17:55:52 +02:00
bmarty
f501f27d27
Sync Strings from Localazy
2024-06-03 00:24:07 +00:00
Benoit Marty
0e4b30e58d
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
87689d787e
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Jorge Martin Espinosa
801f0b955d
Notifications: simplify the flow by removing persistence ( #2924 )
...
* Notifications: simplify the flow by removing persistence.
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
2024-05-29 08:03:23 +00:00
Benoit Marty
9065e9d2eb
Merge pull request #2921 from element-hq/sync-localazy
...
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
d9cfecacce
Rename class (code quality)
2024-05-23 14:38:52 +02:00
bmarty
0241014932
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
602b3988e4
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
Jorge Martin Espinosa
9aadec8435
Enforce mandatory session verification only for new logins ( #2811 )
...
* Enforce mandatory session verification only for new logins
- Creates `AppMigration` base interface as a way to isolate migration logic, app migrations must implement this interface.
- Creates `AppMigration01` with the existing logs removal migration and `AppMigration02` with the logic to allow existing sessions to skip verification.
- Add `DefaultSessionPreferencesStoreFactory.remove(sessionId)` to allow a ephemeral session store access to exist outside the `SessionScope` for this new migration.
* Fix tests
* Add more tests.
This also includes creating several abstractions.
* Review changes.
- Make `orderedMigrations` a class property, `migrations` just a constructor parameter to avoid incorrect usages.
- Create `lastMigration` property too, use it instead of `MIGRATION_VERSION`.
2024-05-07 14:06:34 +00:00
Benoit Marty
d6dc750dfe
Add links to the matching assetlinks.json files.
2024-05-06 11:34:23 +02:00
Benoit Marty
5d4c5fec4d
Format file (no other change)
2024-05-06 11:14:24 +02:00
Benoit Marty
f0dd3fec21
Explicitly set domain for external link handling.
...
And revert change: let ElementCallActivity handle again `call.element.io` links.
2024-05-06 11:12:09 +02:00
Benoit Marty
4e21586373
Improve documentation
2024-05-03 12:16:46 +02:00
Benoit Marty
0d294ff171
Format
2024-05-03 09:34:54 +02:00
Benoit Marty
a4e8d7d214
Let MainActivity manage Element Call https links.
2024-05-02 15:37:57 +02:00
bmarty
1e334891ab
Sync Strings from Localazy
2024-04-01 00:17:18 +00:00
ElementBot
bd85def8fa
Sync Strings ( #2484 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-03-05 09:10:47 +01:00
bmarty
54ef435d9c
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Benoit Marty
9119a7b7fb
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Jorge Martin Espinosa
973c57d401
Update Compound to v0.0.5 and update icons ( #2380 )
...
Update Compound to `v0.0.5`:
- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-02-12 16:41:58 +00:00
bmarty
7911a26003
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
Jorge Martín
34d7657e19
Use MatrixRoom.isEncrypted value to enable encryption in room calls
2024-02-01 11:49:17 +01:00
Jorge Martin Espinosa
17f22d143b
Add 'send private read receipts' option in advanced settings ( #2290 )
...
* Add 'send private read receipts' option in advanced settings
* Create `SessionPreferencesStore` that stores the settings for the current use separate from those of the app.
* Rename `PreferencesStore` to `AppPreferencesStore` to split the preferences.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-26 10:06:26 +01:00
ElementBot
3a37460814
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com >
2024-01-15 09:21:04 +01:00
Benoit Marty
d3830af78b
Fix ktlint issues
2024-01-10 19:33:39 +01:00
renovate[bot]
7e9cda3aa9
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-10 16:22:24 +01:00
Benoit Marty
bd91dd64e2
Rename Async to AsyncData
2024-01-04 16:30:56 +01:00
bmarty
ada357b344
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
Benoit Marty
d31909e049
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
ef5927d0bc
Merge pull request #1952 from vector-im/sync-localazy
...
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
b43ddd36b9
Run the script again.
2023-12-05 12:25:59 +01:00
Benoit Marty
a77ad88001
Add Konsist test to use isNull() instead of isEqualTo(null), and fix existing issue.
2023-12-04 15:30:57 +01:00
Benoit Marty
bd58d85b69
Add Konsist test to use isEmpty() instead of isEqualTo(empty), and fix existing issue.
2023-12-04 15:27:06 +01:00
bmarty
ad2ca01094
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
Jorge Martin Espinosa
a8b85fb4e6
Extract compound tokens and theming to compound-android library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-11-27 10:30:07 +01:00
Benoit Marty
b7796e0125
Let the user choose theme ( #1499 )
2023-11-21 12:02:01 +01:00
Jorge Martin Espinosa
f7f3925fc9
[Element Call] Keep MatrixClient alive while the call is working ( #1695 )
...
* Element Call: keep MatrixClient alive to get event updates
2023-10-31 16:58:33 +01:00
Jorge Martin Espinosa
22767031d9
Fix issues with stuck 'loading...' state and hangup ( #1690 )
...
* Fix issues with stuck 'loading...' state and hangu
2023-10-30 17:01:54 +01:00
Jorge Martin Espinosa
5e547269e7
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
7afae87b3e
Konsist: add rule obout test class name, and fix existing issue
2023-10-12 15:03:50 +02:00
Benoit Marty
35b37f0caa
Refactor tests.
2023-10-02 13:51:16 +02:00
Benoit Marty
238d470f6d
Add more tests
2023-10-02 13:25:47 +02:00
Benoit Marty
13941a20dd
Move appPrompt and confineToRoom to the fragment part of the URL
2023-10-02 13:14:32 +02:00
Benoit Marty
d4b83cfd45
Detekt: sentences must end with a period.
2023-09-26 16:48:13 +02:00