Commit Graph

15 Commits

Author SHA1 Message Date
Benoit Marty
d433c3cbaa Enable detekt rules AlsoCouldBeApply and fix existing issues. 2023-07-26 11:10:46 +02:00
Benoit Marty
be6b8c825b 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.
2023-07-13 14:46:57 +02:00
Jorge Martin Espinosa
afd58f1634 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>
2023-04-17 08:49:52 +00:00
Jorge Martin Espinosa
d9183e4092 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`.
2023-03-20 11:18:25 +01:00
ganfra
b07e0e62b1 [Architecture] clean and makes compile 2023-03-09 10:18:25 +01:00
ganfra
7051bfc14e [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
Benoit Marty
0037da4ce5 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +01:00
Jorge Martin Espinosa
c20013243b Store session data in a secure way (#98)
* Replace SessionData DataStore with an encrypted SQLite DB.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-03-02 16:48:54 +01:00
ganfra
d687acf57f Fix test compilation 2023-03-01 11:11:09 +01:00
ganfra
2bbdecb6f0 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
Benoit Marty
310a8ca8e3 Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty
150c520501 Fix test: also inject timezone to avoid relying on the system timezone. 2023-02-07 10:36:29 +01:00
Benoit Marty
e706091a44 Add test for DefaultLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty
dfeb9d8c7f Create FakeLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty
674a813f3b Create module dateformatter 2023-02-07 10:36:29 +01:00