* Add `AnalyticsTransactions` with a set of `TransactionDefinition` items matching those in the user story
* Use that for `AnalyticsLongRunningTransactions`, make sure we send the right fields (name, operation, description)
* Add `AnalyticsSendMessageWatcher` to track how long it takes for an event to be sent and for us to get a call back for that from sync
* Add `Noop` implementation for enterprise
* fix(deps): update kotlin to 2.3.0
* Cleanup - remove `datetime` compat version
* Fix several lint issues caused by the Kotlin compiler inference working better (checks in nullables, vars, etc.)
* Fix tests by removing mock in `File.readBytes`, it seems like it's no longer allowed. Using a tmp file works well enough.
---------
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>
* Update dependency org.robolectric:robolectric to v4.16
* Fix file size formatter output on API 26+
* Use more realistic value for maxUploadSize
* Update screenshots
* Fix test issue: "java.security.KeyStoreException: AndroidKeyStore not found"
* Add exceptions.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <android@element.io>
* feat: Add visible history alert to encrypted rooms.
- Adds a dismissable alert that is displayed whenever the user opens a
room with `history_visibility` != `joined`. When cleared, this is
recorded in the app's data store.
- When opening a room with `history_visibility` = `joined`, this flag is
cleared.`
Issue: https://github.com/element-hq/element-meta/issues/2875
* chore: Fix linting issues.
* feat: Move alert showing logic into state presenter.
* chore: Fix linting issues.
* tests: Fixup tests.
* feat: Use real link.
* chore: Update license header.
* chore: Add (c) to license headers.
* chore: Add `.` to license header.
* feat: Lock alert behind history sharing developer setting.
* ci: Trigger record screenshots
* feat: Create repo key using session ID for multi-account support.
* feat: Use session ID hash for constructing data store.
* tests: Correct and update tests.
* tests: Update snapshots.
* feat: Prevent identity alert from displaying with history visibility alert.
* feat: Tidy up HistoryVisibleStatePresenter logic, update previews.
* chore: Remove unused import.
* chore: Update screenshots.
* feat: Add translation string.
* chore: Remove redundant temporary translation file.
* Load `JoinedRoom` in `HomeFlowNode.navigateToRoom`, then pass it to the next navigation nodes
* Add delayed loading indicator for cases when loading the room takes too long
* Avoid an extra FFI call in `RustRoomFactory`.
Use `RoomInfo.membership` instead.
Also use `computation` dispatcher, since it should reduce the delay when switching contexts.
* Remove the dispatcher usage when loading the room in `HomeFlowNode`, we immediately call a method that changes the dispatcher used
* Make sure only a single room is opened at a time