Commit Graph

366 Commits

Author SHA1 Message Date
Benoit Marty
aa0ee1b568 Migrate to CalVer-like versioning - update release script. 2025-01-23 11:30:27 +01:00
Benoit Marty
d7f3bdf499 Fix import of en-US translations. 2025-01-10 15:55:18 +01:00
Benoit Marty
05fc76822a 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
b13ccc0659 Merge pull request #4037 from element-hq/feature/bma/pullRequestTemplate
Update pull request template and CI automation
2024-12-30 09:34:19 +01:00
Benoit Marty
7538e9e503 Fix detekt issue. 2024-12-16 11:55:20 +01:00
Benoit Marty
d740dcad0d Update danger check on translations. 2024-12-13 16:15:31 +01:00
Benoit Marty
538936df9c We do not require Sign-off anymore, but use CLA instead. 2024-12-13 16:10:21 +01:00
Benoit Marty
8cca6f7997 Merge pull request #4021 from element-hq/rav/build_sdk_for_local_machine
Build SDK for the local hardware
2024-12-12 18:09:22 +01:00
Benoit Marty
4188d58b56 Implement month separator for the Gallery.
Improve day separator rendering in the timeline.
Use Today, Yesterday, and the name of the day if less than 7 days and do not render the year for the current year.
Improve date format for the media viewer.
Rework how date and time are computed.
ActionListView: Time can take more space, so update the layout.
2024-12-11 23:57:57 +01:00
Richard van der Hoff
5a2c1ae000 Handle uname -m returning arm64 2024-12-11 22:29:35 +00:00
Richard van der Hoff
60ea133357 Build SDK for the local hardware
It's likely that you want to build the SDK to run on the emulator on your
machine, so let's default to that, rather than aarch64.
2024-12-11 18:03:09 +00:00
Benoit Marty
28725a364f Media Gallery 2024-12-09 16:48:48 +01:00
ganfra
98c0697a3f knock requests : use proper banner string resources 2024-12-09 11:01:42 +01:00
ganfra
997f5ed952 knock requests : fix test on room details view 2024-12-05 12:57:15 +01:00
ganfra
63c4ac81b8 knock requests : cleaning up 2024-12-04 14:15:17 +01:00
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