Commit Graph

225 Commits

Author SHA1 Message Date
Benoit Marty 1e5a61a49c Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module. 2024-04-02 14:15:54 +02:00
ganfra d3f219065b Merge pull request #2567 from element-hq/renovate/com.squareup.retrofit2-retrofit-2.x
Update dependency com.squareup.retrofit2:retrofit to v2.10.0
2024-03-25 10:44:19 +01:00
Benoit Marty a5d0b47d3a Use new retrofit bom and change Maven coordinates of kotlinx-serialization 2024-03-25 09:56:30 +01:00
bmarty 3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa 6aa84d600e Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
Benoit Marty 68fd649424 Use client.cachedAvatarUrl(), to be able to render the user avatar faster, and even if there is no network (#2488). 2024-03-18 15:02:54 +01:00
Jorge Martin Espinosa 67d79059f8 Add legacy call invite state events and notifications (#2552)
* Add state timeline events and notifications for legacy call invites

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 16:29:06 +01:00
bmarty c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
bmarty 4f81fe2090 Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
bmarty 5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
bmarty a614b0d91e Sync Strings from Localazy 2024-02-12 00:10:26 +00:00
bmarty 03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
Benoit Marty 0d35e60dac Disambiguate display name in notifications #2224 2024-01-25 18:43:56 +01:00
Benoit Marty be0da18a7b Rename userAvatarURLString to userAvatarUrl 2024-01-19 15:59:50 +01:00
Benoit Marty 7498c148f1 Ensure that a PushProvider is available on a device before using it.
It help to fallback to UnifiedPush (if available) if the PlayServices are not installed on the device.
2024-01-17 17:11:34 +01:00
ElementBot 6bc080c279 Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty d01c70a4fd Fix moar ktlint issues 2024-01-11 11:24:10 +01:00
Benoit Marty 5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
Benoit Marty a831f05f6e Fix ktlint issues 2024-01-10 19:33:39 +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
Marco Antonio Alvarez 87c8bc133f [Feature] Render m.sticker events (#2122)
* Render m.sticker events
---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-02 16:03:19 +01:00
bmarty e6f4a7364f Sync Strings from Localazy 2023-12-26 09:39:48 +01:00
Jorge Martin Espinosa cbf34929af Revert "Room list badges" 2023-12-22 11:02:07 +01:00
Benoit Marty f2c989cbd6 Iterate on indicators on room list #2079 2023-12-21 14:51:31 +01:00
Benoit Marty 0c86b76357 Move NotificationConfig object to the config module. 2023-12-19 15:01:36 +01:00
bmarty e60508a631 Sync Strings from Localazy 2023-12-18 00:10:14 +00:00
Benoit Marty 6ff2bf1f79 Fix tests. 2023-12-12 16:47:54 +01:00
Benoit Marty 9a526f22c4 Remove duplicated file. 2023-12-12 16:17:11 +01:00
Benoit Marty 4ec2c84241 Load avatar for notification when there is no active imageLoader. (#1991) 2023-12-12 15:29:54 +01:00
Benoit Marty 05d9e64b86 code cleanup 2023-12-11 16:51:42 +01:00
Benoit Marty 0685dc5d78 Fix some licences. 2023-12-11 16:49:23 +01:00
Benoit Marty 4348a6deac Cleanup up when statement. 2023-12-11 16:47:06 +01:00
Benoit Marty 419a162f77 Extract MxcTools and add test. 2023-12-11 14:53:02 +01:00
Benoit Marty 84c897d682 Image in notification 2023-12-11 14:52:50 +01:00
Benoit Marty 39cca2ce09 Sync localazy using fixed script 2023-12-08 19:24:35 +01:00
Benoit Marty 24d3981261 Run the script again. 2023-12-05 12:25:59 +01:00
Benoit Marty fd42c78b15 Sync again 2023-12-05 11:25:47 +01:00
Benoit Marty 5af1a786e5 Sync string again after removing problematic translations from Localazy. 2023-12-04 18:03:21 +01:00
bmarty fced91addb Sync Strings from Localazy 2023-12-04 00:09:56 +00:00
Jorge Martin Espinosa 4de256b69c Add special notifications for mentions (#1846)
* Add special notifications for mentions

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 10:41:50 +01:00
ElementBot 12b3196471 Sync Strings (#1892)
* Sync Strings from Localazy

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: jonnyandrew <jonnya@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-28 09:52:23 +01:00
Benoit Marty 9afba239bb Fix: This number should be separated by underscores in order to increase readability 2023-11-27 17:17:10 +01:00
Benoit Marty a02c5c2b44 Add test for DefaultNotificationDrawerManager 2023-11-27 16:44:47 +01:00
Benoit Marty b61b45dd0c NotificationEventPersistence is now an interface, to allow in-memory implementation. 2023-11-27 16:44:47 +01:00
Benoit Marty a09fa1c5ad Add test for NotificationEventPersistence 2023-11-27 16:44:47 +01:00
Benoit Marty 73ebffab2e Add coverage for NotificationBitmapLoader 2023-11-27 16:44:47 +01:00
Benoit Marty 7cb6740dd6 Remove useless try catch. 2023-11-27 16:43:58 +01:00
Benoit Marty abf1de7f42 Fix issue in RoomGroupMessageCreator 2023-11-27 16:43:58 +01:00