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>
10 months ago
Benoit Marty
19e81825ff
Enable detekt rules `AlsoCouldBeApply` and fix existing issues.
1 year ago
Benoit Marty
c919618bc0
Fix account provider change on nightly and release ( #861 )
...
* Use parallelMap (same code)
* Add proguard rules. Fixes #818
* Rename file proguard-rules.pro to consumer-rules.pro for coherency.
* Remove empty and non-referenced proguard files.
1 year ago
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Jorge Martin Espinosa
ea17abebf3
Display most recent activity in room list ( #220 )
...
* Create `RoomLastMessageFormatter` to produce readable room summaries.
* Add unit tests using Robolectric, fix bugs
* Add changelog
* Move `RoomLastMessageFormatter` back to `impl` module, allow it to receive an `EventTimelineItem` instead of `MessageContent`.
2 years ago
ganfra
86ebcc376d
[Architecture] clean and makes compile
2 years ago
ganfra
bc9f3b69cc
[Architecture] split all feature modules to api/impl
2 years ago
Benoit Marty
e2bd966878
Split module `dateformatter` into `api`, `impl` and `test`.
2 years ago
Jorge Martin Espinosa
6677f80abe
Store session data in a secure way ( #98 )
...
* Replace SessionData DataStore with an encrypted SQLite DB.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
2 years ago
ganfra
c362c7b069
Fix test compilation
2 years ago
ganfra
a5b5371fb6
Use DaySeperatorFormatter
2 years ago
Benoit Marty
165697a80e
Fix dependency issue.
2 years ago
Benoit Marty
190d20acbe
Fix test: also inject timezone to avoid relying on the system timezone.
2 years ago
Benoit Marty
6099fe5df7
Add test for `DefaultLastMessageFormatter`
2 years ago
Benoit Marty
6d8e4d9afc
Create FakeLastMessageFormatter
2 years ago
Benoit Marty
ae4237abb5
Create module `dateformatter`
2 years ago