ElementBot
6880cf518c
Sync Strings from Localazy ( #5904 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-12-15 23:51:19 +01:00
Benoit Marty
1292da2a72
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
f1ad56bef1
Move dependencies block out of the android block.
2025-11-03 22:29:38 +01:00
Benoit Marty
826cacf209
Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding
2025-10-22 18:52:37 +02:00
ElementBot
c6d4a367d3
Sync Strings from Localazy ( #5427 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-09-29 15:10:21 +00:00
Benoit Marty
629fc552e5
Use DependencyHandlerScope.testCommonDependencies()
2025-09-16 14:38:31 +02:00
bmarty
676d7f6c8f
Sync Strings from Localazy
2025-09-05 07:44:19 +00:00
Jorge Martín
dca1c5b516
Remove dagger and anvil dependencies, try to simplify gradle build scripts a bit
2025-09-04 16:49:21 +02:00
Jorge Martín
e06bacbff3
Redo DI gradle setup code
2025-09-04 16:49:20 +02:00
Jorge Martín
fc3153bd26
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00
Jorge Martín
92a4b8b66b
Start migrating Anvil KSP to Metro
2025-09-04 16:48:34 +02:00
ElementBot
a43b907275
Sync Strings from Localazy ( #5249 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-09-01 12:44:49 +02:00
ElementBot
a4cee52815
Sync Strings from Localazy ( #5178 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-08-18 11:09:27 +02:00
Benoit Marty
949d11415f
OptIn to ExperimentalTime for the whole module.
2025-07-02 18:00:25 +02:00
Benoit Marty
ec182bf8a0
Fix deprecation and add OptIn on Clock and Instant
2025-07-02 12:29:17 +02:00
Benoit Marty
d478077487
ExperimentalTime OptIn is now needed.
2025-07-02 12:23:06 +02:00
Benoit Marty
58101feb60
Fix compilation error. toEpochDays() now returns a Long.
2025-07-02 12:21:15 +02:00
Benoit Marty
14800d5254
Ensure test works with other minApi level.
2025-06-30 17:01:04 +02:00
Benoit Marty
1fe228726a
Fix test regression on API 33.
2025-06-30 17:01:02 +02:00
bmarty
2e8f8ec057
Sync Strings from Localazy
2025-06-30 00:33:54 +00:00
ElementBot
f32495ee58
Sync Strings from Localazy ( #4842 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-06-11 14:13:33 +02:00
ElementBot
498cf15d38
Sync Strings ( #4775 )
2025-05-30 08:47:39 +00:00
ElementBot
aab5104010
Sync Strings from Localazy ( #4677 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-05-05 12:11:22 +02:00
ElementBot
270b420575
Sync Strings ( #4590 )
...
* Sync Strings from Localazy
* Fix strings usage after some were moved
* Fix Norwegian string that was causing lint to fail
* Update screenshots
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
Co-authored-by: Jorge Martín <jorgem@element.io >
2025-04-14 11:24:28 +02:00
ElementBot
2c62c44c11
Sync Strings from Localazy ( #4506 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-03-31 10:58:46 +02:00
bmarty
9456ee921d
Sync Strings from Localazy
2025-03-10 00:28:38 +00:00
bmarty
3dddd90d97
Sync Strings from Localazy
2025-02-17 00:30:17 +00:00
bmarty
5a4cac7d2d
Sync Strings from Localazy
2025-02-03 00:29:01 +00:00
bmarty
d419f2fdff
Sync Strings from Localazy
2025-01-27 00:25:38 +00: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
bmarty
7a57ec1cc1
Sync Strings from Localazy
2024-12-23 00:16:39 +00:00
bmarty
e18e4142c7
Sync Strings from Localazy
2024-12-16 00:28:36 +00:00
Benoit Marty
53217b5112
Restore providing the Locale
2024-12-12 12:09:59 +01:00
Benoit Marty
d21917278c
Add preview for date rendering
2024-12-12 11:28:55 +01:00
Benoit Marty
01a5766438
Move FakeClock to the impl/test folder.
2024-12-12 09:21:51 +01:00
Benoit Marty
d5b716ac3e
Add more tests.
2024-12-12 00:21:02 +01:00
Benoit Marty
1b1ca04934
Avoid code duplication between the 2 tests.
2024-12-12 00:21:01 +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
Jorge Martin Espinosa
6b2aa7eb8c
Refresh room summaries when date or time changes in the device ( #3683 )
...
* Add `DateTimeObserver` to rebuild the room summary data when the date/time changes.
* Add time changed action too, to trigger when the user manually changes date/time
* Fix timezone issue by adding `TimezoneProvider`, fix tests
* Create test for `DateTimeObserver` usage in `RoomListDataSource`
* Create aRoomListRoomSummaryFactory function.
* Improve test by faking the lastMessageTimestampFormatter
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-10-16 09:10:58 +00:00
Jorge Martin Espinosa
60f1bf6e54
Upgrade the used JDK in the project to v21 ( #3582 )
...
* Upgrade the used JDK in the project to v21
* Use it for CI too
* Centralise java language version
* Fix deprecations, tests and lint issues
* Fix coverage taking into account `@Preview` annotated code.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-10-03 09:38:03 +00:00
Jorge Martin Espinosa
2efdb3ae45
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +00: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
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
Jorge Martin Espinosa
edd61e96c2
Use full date format for day dividers in timeline ( #3057 )
...
* Use full date format for day dividers in timeline
* Use AM/PM for `DefaultLastMessageTimestampFormatter` when the locale needs it
2024-06-20 13:09:06 +00:00
Benoit Marty
4a84350261
Remove empty manifest files.
2024-06-13 18:20:19 +02:00
Benoit Marty
378692f743
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
renovate[bot]
7e9cda3aa9
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
Benoit Marty
d433c3cbaa
Enable detekt rules AlsoCouldBeApply and fix existing issues.
2023-07-26 11:10:46 +02:00