Jorge Martin Espinosa
63df35e071
Use the right filename for log files so they're sorted in rageshakes ( #3219 )
...
* Use the right filename for log files so they're sorted in rageshakes
* Hide the suffix part so it's not changed by accident
2 months ago
Benoit Marty
bb5ae89b2f
Introduce ElementThemeApp to avoid code duplication.
2 months ago
Benoit Marty
8d1a212bfd
Move application icon to their own module, to be able to have another icon for Element Enterprise
3 months ago
Benoit Marty
a9fb4b95ce
Add `isEnterpriseBuild` to BuildMeta
3 months ago
Jorge Martin Espinosa
b741c32e91
Add full screen intent permissions banner ( #3024 )
...
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
- Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
- Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
3 months ago
Jorge Martin Espinosa
55a1ac4bb5
Fix tracing configuration in debug and nightlies ( #3019 )
...
* Fix tracing configuration in debug and nightlies:
- Debug will now write the logs to disk too.
- Nightly will be able to customise tracing filters.
- Improved the configure tracing and bug report screens.
* Update screenshots
* Add changelog
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
3 months ago
Benoit Marty
3fa508f1fe
Add Konsist test `Class with 'ContributeBinding' annotation should have allowed prefix` and fix exissting issues.
...
Also remove annotation `DefaultPreferences`, we only have one implementation.
4 months ago
Benoit Marty
45598a885e
Rename some class from `Impl` to Default
4 months ago
Benoit Marty
f8aac80052
Log versionCode from Manifest and not from BuildConfig.VERSION_CODE.
4 months ago
Benoit Marty
3c3703cba3
Read versionCode from the Manifest, since `BuildConfig.VERSION_CODE` does not contain the correct last digit.
4 months ago
ganfra
73905fa695
Pin : clean up after PR review #2692
4 months ago
ganfra
b0c369ee1a
Fix modal contents overlapping screen lock pin #2692
4 months ago
Benoit Marty
6e7bbd6972
Explicitly set domain for external link handling.
...
And revert change: let ElementCallActivity handle again `call.element.io` links.
5 months ago
Benoit Marty
0fb89bd4b2
Let MainActivity manage Element Call https links.
5 months ago
Benoit Marty
c1c3227bde
Let the SDK manage the file log cleanup, and keep one week of log.
5 months ago
Benoit Marty
7bbcb719d5
Implement a migration mechanism to handle internal stuff which need to occur during application upgrade.
...
Remove VectorFileLogger, it was dead code.
5 months ago
ganfra
e171472fc4
Room list invites : clean and format
5 months ago
ganfra
997c4606c6
Invites : open room instead of invite list when clicking an invite notification
5 months ago
ganfra
447a10cb06
Add ApplicationConfig object to help tweaking the application / brand name used across the application.
5 months ago
Benoit Marty
ffede8b13b
Use productionApplicationName, set to "Element", instead of "Element X", and use ot for `screen_onboarding_welcome_message`
5 months ago
Benoit Marty
075510c425
Add `desktopApplicationName` to BuildMeta.
5 months ago
Jorge Martin Espinosa
b6ceb8c697
Improve UI for notification permission screen in onboarding ( #2660 )
...
* Improve UI for notification permission screen in onboarding
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
6 months ago
Benoit Marty
b104dba845
Remove Modifier parameter in private function when only default value is used.
...
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
8 months ago
Jorge Martin Espinosa
ede1dc0fab
Fix crash about several DataStores using the same file ( #2312 )
...
* Fix crash about several DataStores using the same file
- Create `@SessionCoroutineScope` annotation to pass a session-managed coroutine scope to the DI.
- Expose this scope from `MatrixClient`.
- Rework DataStore file creation a bit.
- Centralise session preference creation through `DefaultSessionPreferencesStoreFactory` until we figure out what went wrong with the scoping
8 months ago
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>
8 months ago
Jorge Martin Espinosa
b7945675c9
Add a special tracing configuration for nightlies ( #2297 )
...
It also enables logging `MATRIX_SDK_BASE_READ_RECEIPTS` at a `TRACE` level for both debug and nightly versions.
8 months ago
Benoit Marty
cccfdfbcc7
Restore branch and git sha, to use it in logs and in rageshakes.
...
Remove quite useless `gitRevisionDate`.
8 months ago
Benoit Marty
3098d869a8
Log the flavor
8 months ago
Benoit Marty
fa05b18d32
Create gplay and fdroid variant
8 months ago
Benoit Marty
a831f05f6e
Fix ktlint issues
8 months ago
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>
8 months ago
Benoit Marty
63d51c5cf5
Send the tracing configuration with the rageshake data.
10 months ago
Marco Romano
f186a85ed0
Rename params in NodeFactories for clarity ( #1916 )
...
- `context` is now `buildContext` to reflect that it's of type `BuildContext` (and not an android `Context`).
- `NODE` generic type param is now `N` to stick with Java convention: https://docs.oracle.com/javase/tutorial/java/generics/types.html .
10 months ago
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>
10 months ago
Benoit Marty
68f9c81628
Let the user choose theme ( #1499 )
10 months ago
Marco Romano
28f4ccdf9f
Delete media caches on startup ( #1807 )
...
Clear media caches on app startup
10 months ago
Benoit Marty
2aa92b655c
Format comment
10 months ago
ganfra
b4a19b91d9
#1806 fix compilation
10 months ago
ganfra
97bbc37f6c
LockScreen : avoid removing from composition the LoggedInFlowNode.Children when LockScreen is displayed.
10 months ago
Marco Romano
a5f76da204
Remove lateinit from Application class
...
Just stumbled in this lateinit and thought we could just get rid of it.
10 months ago
ganfra
5a417ba498
LockScreen : refact some code and add secureFlag
11 months ago
ganfra
6832b1f2db
Feature/fga/biometric unlock ( #1702 )
...
* Biometric unlock : refactor a bit existing classes
* Biometric unlock : first implementation
* Biometric: add ui for biometric setup
* Biometric unlock : use localazy strings
* Biometric unlock setup : branch skip/allow events
* Biometric : fix tests
* Biometrics: add small test
* Biometric : clean up
* Update screenshots
* Biometric unlock : address some PR review
* Biometric : improve a bit edge cases
* Fix lint issues
---------
Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
11 months ago
Marco Romano
33f5c8efb8
Add global `context.cacheDir` provider. ( #1606 )
...
## Type of change
- [ ] Feature
- [ ] Bugfix
- [x] Technical
- [ ] Other :
## Content
Dagger now provides the app's `cacheDir` when requesting a `@CacheDirectory File` type.
## Motivation and context
To support some upcoming code that needs the `cacheDir` to be changed during tests.
11 months ago
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
12 months ago
ganfra
6abccc1ae7
Revert "DI: more cleanup"
...
This reverts commit ecf00f5629
.
1 year ago
ganfra
ecf00f5629
DI: more cleanup
1 year ago
ganfra
6c296c1cf8
DI: rework how components are created and provided
1 year ago
Benoit Marty
a719f1df30
New app icon (imported with 64% of scale)
1 year ago
Benoit Marty
9f02de45b8
setenv "RUST_BACKTRACE" to "1" to get more info when a Rust stacktrace is printed out.
1 year ago
Benoit Marty
a32e5df1ab
Developer setting: add entry point to configure the Tracing.
...
Developer setting: add screen to configure log level.
Give the custom trace filter to the SDK.
1 year ago