Benoit Marty
37d9a9f5a9
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
04e503177b
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
3a39e2a3ec
Merge pull request #2921 from element-hq/sync-localazy
...
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
6fe461f346
Rename class (code quality)
2024-05-23 14:38:52 +02:00
bmarty
83a8a631f2
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
0910da0a14
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
Jorge Martin Espinosa
5c59f6c20f
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
227611cfba
Add links to the matching assetlinks.json files.
2024-05-06 11:34:23 +02:00
Benoit Marty
ebfb41f601
Format file (no other change)
2024-05-06 11:14:24 +02:00
Benoit Marty
6e7bbd6972
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
fa4ad4a934
Improve documentation
2024-05-03 12:16:46 +02:00
Benoit Marty
4dfec7ac55
Format
2024-05-03 09:34:54 +02:00
Benoit Marty
0fb89bd4b2
Let MainActivity manage Element Call https links.
2024-05-02 15:37:57 +02:00
bmarty
5809864182
Sync Strings from Localazy
2024-04-01 00:17:18 +00:00
ElementBot
f2169aaaa8
Sync Strings ( #2484 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
bmarty
5c8be8f61f
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Jorge Martin Espinosa
b69cb8175a
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
03c95555e3
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
Jorge Martín
5c59ecbaa6
Use MatrixRoom.isEncrypted value to enable encryption in room calls
2024-02-01 11:49:17 +01:00
Jorge Martin Espinosa
7e58f719fe
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
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
a831f05f6e
Fix ktlint issues
2024-01-10 19:33:39 +01:00
renovate[bot]
c8bd362397
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
7b2341aec7
Rename Async to AsyncData
2024-01-04 16:30:56 +01:00
bmarty
e6f4a7364f
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
Benoit Marty
39cca2ce09
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
b98351ec36
Merge pull request #1952 from vector-im/sync-localazy
...
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
24d3981261
Run the script again.
2023-12-05 12:25:59 +01:00
Benoit Marty
abd90acd8c
Add Konsist test to use isNull() instead of isEqualTo(null), and fix existing issue.
2023-12-04 15:30:57 +01:00
Benoit Marty
9e731f40ca
Add Konsist test to use isEmpty() instead of isEqualTo(empty), and fix existing issue.
2023-12-04 15:27:06 +01:00
bmarty
fced91addb
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
Jorge Martin Espinosa
087d2728d5
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
68f9c81628
Let the user choose theme ( #1499 )
2023-11-21 12:02:01 +01:00
Jorge Martin Espinosa
355ee95964
[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
356a321788
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
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