Commit Graph

20 Commits

Author SHA1 Message Date
Jorge Martin Espinosa 03fd288c47 Upgrade to rustls-platform-verifier:0.2.0 (#7791)
* Upgrade to `rustls-platform-verifier:0.2.0`.

This re-enables certificate revocation checks, but v0.2.0 contains a list of CRL servers that can be accessed using clear text requests to check the validity of certain certificates, which should fix the issue that prevented us from using certificate revocation and at the same time strengthening the security of the client app.

Since we already had some network configuration in Element X, and `network_security_config.xml` files can't be merged, what we can do is manually download and merge the XML contents using `tools/dependencies/update_rustls_platform_verifier.py` like this:

```sh
./update_rustls_platform_verifier.py 0.2.0
```

It will automatically bump the Gradle dependency and merge the security config entries.

* Bump SDK bindings to `v26.09.28`, containing the rustls bump on the SDK side

* Fix unused resources caused by `app/src/main/res/xml/network_security_config_element.xml`
2026-09-28 15:35:33 +00:00
Benoit Marty eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
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
Jorge Martin Espinosa 366db4791b 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
Benoit Marty 375ac25d8d Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
Benoit Marty 2cce7f3b47 Fix lint UnnecessaryComposedModifier and make it an error 2023-09-28 16:55:21 +02:00
Benoit Marty b80366692c Ignore false positive on monochrome icon. 2023-09-18 17:06:35 +02:00
Jorge Martin Espinosa f88507117b Element Call SPA integration (#1283)
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-15 16:39:44 +02:00
Benoit Marty 9e557039a4 lint: ImpliedQuantity is now error. 2023-07-27 11:55:49 +02:00
Benoit Marty 9da162e5d7 lint: remove unknown rule. 2023-07-27 11:54:51 +02:00
Benoit Marty 017fd4296d Lint: do not ignore unused resources (except for strings) 2023-07-27 11:42:23 +02:00
Benoit Marty bcb7e5a7c4 [Strings] Ignore unused strings 2023-03-27 14:44:24 +02:00
Benoit Marty 19301756e3 Add missing Copyright 2022-12-22 13:51:56 +01:00
Benoit Marty 0644a5822f Code quality
Code quality
2022-12-21 15:32:53 +01:00
Benoit Marty bc122b279f Fix Unknown issue id "ComposableLambdaParameterNaming" and Unknown issue id "ComposableLambdaParameterPosition" 2022-12-13 12:26:44 +01:00
Benoit Marty 7d9ac35778 Warning for UnknownIssueId (since all the module does not have the compose dependencies) 2022-12-09 15:45:35 +01:00
Benoit Marty 09087a7e86 Fix some lint issues and reduce severity of UnusedResources 2022-12-09 12:06:37 +01:00
Benoit Marty 2575b5fbf0 Disable unknown issue 2022-12-09 12:06:37 +01:00
Benoit Marty d43e17ae32 [lint] Import lint.xml from Element Android 2022-12-09 12:06:37 +01:00