Commit Graph

351 Commits

Author SHA1 Message Date
Benoit Marty
cfc093b401 Remove :samples:minimal module 2024-11-14 09:06:13 +01:00
Benoit Marty
0171b796bb Update the strings for unsupported calls 2024-11-12 10:20:21 +01:00
ganfra
014075e9dd create room : remove hardcoded strings and sync strings. 2024-11-04 16:25:14 +01:00
Jorge Martín
64c3e79ece When building a snapshot of the SDK bindings, don't build the app by default too 2024-10-25 15:57:20 +02:00
Benoit Marty
c252761bed Change default value of doBuildApks to "no" 2024-10-25 14:54:23 +02:00
Benoit Marty
0bfacc2cdd Give a chance for download_all_github_artifacts.py to fail and to try again, without breaking the release script.
Previously any error in download_all_github_artifacts.py was ignored and the script was continuing (without success ofc).
2024-10-25 14:53:22 +02:00
Benoit Marty
3c0b802b39 Update instruction 2024-10-25 14:46:25 +02:00
ganfra
52053fcf38 Merge pull request #3725 from element-hq/feature/fga/knock_request_to_join
Feature: knock request to join
2024-10-23 18:50:32 +02:00
ganfra
12d26bb3b7 knock : update strings 2024-10-22 16:22:07 +02:00
Benoit Marty
639089718d Move strings with key starting by screen_room_member_details_ to the module :features:userprofile:shared 2024-10-22 10:18:44 +02:00
torrybr
801307f1e2 fix: import path broken in module template (#3710) 2024-10-21 14:33:59 +02:00
Benoit Marty
cced765581 Add a check for screenshot name duplication. 2024-10-18 15:45:45 +02:00
Jorge Martin Espinosa
e44b5ad98d Upgrade Kotlin to v2.0 (#3594)
* Bump Kotlin to v2.0

* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-10 08:32:00 +00:00
Jorge Martin Espinosa
4a43fcb69a 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
ac79fed2af Update Gradle impl module template with setupAnvil() call (#3563) 2024-09-30 14:28:06 +02:00
ganfra
3cd7979d6d Pinned messages analytics : add LocalAnalyticsService to allowedCompositionLocals 2024-09-23 16:09:02 +02:00
Benoit Marty
ea355d29ed Account deactivation. 2024-09-17 16:51:11 +02:00
Benoit Marty
bed7776674 Account Creation using a WebView 2024-09-16 12:24:47 +02:00
Jorge Martin Espinosa
03786c1fd2 Add forced logout flow when the proxy is no longer available (#3458)
* Add `MatrixClient.isSlidingSyncProxySupported` function

* Update localazy strings

* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.

Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.

* Check if a forced migration to SSS is needed because the proxy is no longer available.

In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.

* Enable native/simplified sliding sync by default.

* Refactor the login to make sure we:

1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).

* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-16 09:13:02 +00:00
Benoit Marty
523603380c Small update of the release script wording. 2024-09-10 10:35:06 +02:00
Jorge Martin Espinosa
8154aa3319 Add banner for optional migration to simplified sliding sync (#3429)
* Add banner for optional migration to native sliding sync

- Add `MatrixClient.isNativeSlidingSyncSupported()` and `MatrixClient.isUsingNativeSlidingSync` to check whether the home server supports native sliding sync and we're already using it.
- Add `NativeSlidingSyncMigrationBanner` composable to the `RoomList` screen when the home server supports native sliding sync but the current session is not using it.
- Add an extra logout successful action to the logout flow, create `EnableNativeSlidingSyncUseCase` so it can be used there.

* Update screenshots

* Make sure the sliding sync migration banner has lower priority than the encryption setup ones

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-09 18:13:19 +02:00
Benoit Marty
c876313cd6 Migrate license to AGPL - other files. 2024-09-06 17:55:16 +02:00
Benoit Marty
3d54f08848 Migrate license to AGPL 2024-09-06 17:51:37 +02:00
Benoit Marty
0c89c26ce5 Migrate license to AGPL - sh files. 2024-09-06 17:50:45 +02:00
Benoit Marty
8062ee4670 Add missing license header on shell files. 2024-09-06 17:48:14 +02:00
Benoit Marty
62a6e916a6 Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
Benoit Marty
717c059ecb Add missing license header on Python files. 2024-09-06 17:25:05 +02:00
Benoit Marty
3219cad14c Fix comment block on Python files 2024-09-06 17:21:51 +02:00
Benoit Marty
2b016227e9 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
9f67c65c2c Merge pull request #3360 from element-hq/feature/bma/sessionVerificationBannerIsBack
Add banner entry point to set up recovery
2024-08-30 16:56:11 +02:00
Benoit Marty
f0c2229621 Add banner entry point to set up recovery 2024-08-29 18:34:55 +02:00
Benoit Marty
20a8862b3f Add a way to sign out when the user is asked to verify the session. 2024-08-29 15:56:08 +02:00
Jorge Martín
9c09f96c0b Fix most review comments 2024-08-14 16:53:50 +02:00
Erik Johnston
95d6a80ae6 Fix build_rust_sdk.sh script to work on linux (#3291)
A few linux distributions don't have `gdate`, but I think they should
all have `date`.
2024-08-09 16:04:49 +02:00
Jorge Martin Espinosa
89ec904c4a Restore intentional mentions in the markdown/plain text editor (#3193)
* Restore intentional mentions in the markdown/plain text editor

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-15 18:27:59 +02:00
Benoit Marty
46b653b10b Add a local copy of inplace-fix.py and fix-pg-map-id.py from latest release https://github.com/obfusk/reproducible-apk-tools/blob/v0.2.7 2024-07-09 10:09:59 +02:00
Benoit Marty
442e67a7ee Add --alignment-preserved true when signing APK for F-Droid. Closes #3151 2024-07-08 18:21:03 +02:00
Jorge Martin Espinosa
b0846de5e1 Remove Showkase processor not found warning from Danger (#3148)
Instead create a new rule to check if the package name is included in `ComposablePreviewProvider`.
2024-07-05 15:15:18 +02:00
Jorge Martin Espinosa
950e502ca6 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
1c4e8c81d3 Release note for nightly: remove title so that it can be used for Enterprise nightly without confusing the user. 2024-07-02 16:48:58 +02:00
Benoit Marty
6c0719e067 Merge pull request #3025 from element-hq/feature/bma/elementEnterprise
Element enterprise (EE) foundations
2024-07-01 17:08:40 +02:00
Benoit Marty
4047f4395d Let Konsist checks the license header 2024-07-01 11:12:02 +02:00
Benoit Marty
bef0d85415 Merge pull request #3106 from element-hq/feature/bma/fixRelease
Fix F-Droid reproducible build.
2024-06-27 15:23:35 +02:00
Benoit Marty
8079e09846 Fix download path. 2024-06-27 14:56:52 +02:00
Benoit Marty
90a7cc7868 inplace-fix.py also needs fix-pg-map-id.py to do the requested work. 2024-06-27 14:18:47 +02:00
Benoit Marty
86ce65c1e4 Remove towncrier: iterate on release script. 2024-06-27 12:24:22 +02:00
Benoit Marty
77d10eaf39 Remove towncrier template. 2024-06-27 12:16:34 +02:00
Benoit Marty
58707199ae Towncrier is gone, iterate on danger checks 2024-06-27 12:02:29 +02:00
Benoit Marty
83d5904f28 Remove towncrier invocation when building nightly. 2024-06-27 11:52:38 +02:00
Benoit Marty
b29d55f9ec Use curl instead of wget. 2024-06-24 17:54:26 +02:00