Benoit Marty
97f3be3dc5
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
Benoit Marty
c087becee1
Fix test present - with CallType RoomCall sets call as active, loads URL, runs WidgetDriver and notifies the other clients a call started not passing.
2024-10-30 21:00:52 +01:00
Benoit Marty
29356b96c1
Merge pull request #3554 from element-hq/feature/bma/testEmptyTimeline
...
Add unit tests on TimelineItemsSubscriber
2024-10-02 14:04:48 +02:00
Jorge Martin Espinosa
79c17f714f
Use Anvil KSP instead of the Square KAPT one ( #3564 )
...
* Use Anvil KSP instead of the Square KAPT one
* Fix several configuration cache, lint and test issues
* Allow incremental kotlin compilation in the CI
* Workaround Robolectric + Compose issue that caused `AppNotIdleException`
* Update the `enterprise` commit hash
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +00:00
Benoit Marty
f89463c3a1
Remove runCancellableScopeTest and runCancellableScopeTestWithTestScope, we can use TestScope.backgroundScope instead.
2024-09-27 18:37:16 +02:00
ganfra
269889da83
Pinned messages analytics : branch analytics
2024-09-23 20:10:04 +02:00
ganfra
d0f363bf7d
Pinned messages analytics : introduce LocalAnalyticsService so we can easily inject it in views
2024-09-20 18:28:25 +02:00
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
Benoit Marty
b68b08300a
Add test on DefaultFtueService.reset().
2024-06-17 15:04:20 +02:00
Benoit Marty
6fc4450c56
Analytics: track screen MobileScreen.ScreenName.RoomCall
2024-06-03 17:55:52 +02:00
Valere
920293ea83
Test | Fix missing updateSuperProperties impl
2024-05-31 14:07:03 +02:00
Valere
bf6ad4c5ca
Analytics | Add support for SuperProperties
2024-05-31 14:07:02 +02:00
Benoit Marty
7156dab7dc
Make anId a const.
2024-05-29 00:37:28 +02:00
Benoit Marty
edded63473
Fix compilation issue
2024-05-29 00:30:38 +02:00
Benoit Marty
15dc423345
Add test on DefaultAnalyticsService
2024-05-28 18:27:53 +02:00
Benoit Marty
5a1896ae3d
Remove dead code AnalyticsService.onSignOut.
...
DefaultAnalyticsService is observing the Session.
2024-05-28 17:37:25 +02:00
Benoit Marty
011aba4887
Make AnalyticsStore an interface and create DefaultAnalyticsStore
2024-05-28 17:36:48 +02:00
Benoit Marty
22329b9678
Provide serverNames when available and fix issue around analytics
2024-05-14 15:58:10 +02:00
Valere
6ad40fc6e0
Code review - more tests
2024-05-07 09:38:26 +02:00
SpiritCroc
6e2d163dcf
Fix compile with noop analytics provider
2024-04-12 21:12:44 +02:00
Benoit Marty
5a0e76677b
Improve ScreenTracker.
2024-04-02 18:12:36 +02:00
Benoit Marty
ef48c2b5a3
Track NotificationTroubleshoot screen
2024-04-02 16:15:02 +02:00
Benoit Marty
46008c2887
Fix analytics: spaceId have the same syntax as roomId. Use MatrixRoom.isSpace instead of MatrixPatterns.isSpaceId ( #2612 )
...
Also remoce useless orFalse() calls.
2024-03-28 12:13:49 +01:00
Benoit Marty
a9e67c070d
Improve UtdTracker test.
2024-03-15 12:33:54 +01:00
Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +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
jonnyandrew
f214493c9d
[Rich text editor] Integrate rich text editor library ( #1172 )
...
* Integrate rich text editor
* Also increase swapfile size in test CI
Fixes issue where screenshot tests are terminated due to lack of CI
resources.
See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-07 15:21:29 +00:00
Benoit Marty
5f7c1e9545
Move module features.analytics.test to services.analytics.test. FakeAnalyticsService was not implemented at the correct location.
2023-08-28 14:31:36 +02:00
Benoit Marty
587f615730
Restore NoopAnalyticsService (not used but can be useful for forks).
2023-07-21 18:27:10 +02:00
Benoit Marty
d4156653fd
No need to sort AnalyticsProvider (it was copied from PushProvider)
2023-07-21 18:12:17 +02:00
Benoit Marty
7207afebcc
When clearing cache, also reset some data store in prefs/datastore.
2023-07-18 01:35:12 +02:00
Yoan Pintas
962d92ae1a
Add ViewRoom posthog event ( #669 )
2023-06-27 21:44:54 +00:00
Yoan Pintas
710c3b279a
Add JoinedRoom posthog event ( #687 )
2023-06-27 16:32:20 +00:00
yostyle
5c7cd01ba1
Consent thread safe
2023-06-23 16:11:45 +02:00
yostyle
3b4bff61e9
Init or stop posthog based on user consent
2023-06-23 15:57:25 +02:00
Yoan Pintas
f534ecda96
Init analytics modules ( #350 )
2023-06-05 13:11:34 +00:00
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Jorge Martin Espinosa
ecc73dd325
[Room Details] Implement room details screen ( #256 )
...
* Implement Room Details screen
* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Benoit Marty
ec6004a9a8
Cleanup after PR review.
2023-03-21 12:33:50 +01:00
Benoit Marty
89657e0a35
Add :services:analytics modules. For now import the current plan.
...
This will allow to import existing class from EA and not break compatibility with existing analytics call.
2023-03-17 10:05:40 +01:00