Commit graph

190 commits

Author SHA1 Message Date
Jorge Martin Espinosa
fae3417181 Validate several ids in constructors (#336)
* Validate ids in constructors.

* Remove redundant `.value` usage in string interpolation.

* Make a distinction between `SessionId` and `UserId` in `TestData`.
2023-04-18 16:17:13 +00:00
Jorge Martin Espinosa
d391275420 [Room List] Show offline indicator when the device is offline (#239)
* Implement the network status indicator.

* Add `networkmonitor` feature.
2023-04-17 17:01:16 +02:00
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>
2023-04-17 08:49:52 +00:00
Jorge Martin Espinosa
ecc73dd325 [Room Details] Implement room details screen (#256)
* Implement Room Details screen

* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Benoit Marty
998178b70f [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
ganfra
ccde8adef3 [MatrixSDK] map the remaining EventContents 2023-03-14 12:28:46 +01:00
ganfra
497fd635f8 [MatrixSDK] make tests passes 2023-03-13 21:12:42 +01:00
ganfra
801eecfe8d [MatrixSDK] finish mapping timeline and makes it compile 2023-03-13 20:18:16 +01:00
ganfra
fb85f35525 [MatrixSDK] start mapping all the timeline objects 2023-03-10 18:32:46 +01:00
ganfra
bc9f3b69cc [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
ganfra
84bfb14bd9 [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
ganfra
7f3679a15e Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
Benoit Marty
e2bd966878 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +01:00
ganfra
a94862d778 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
ganfra
f2fd168a78 [Architecture]: use FeatureEntryPoint on Messages feature 2023-03-02 18:16:17 +01:00
ganfra
91863e2529 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +01:00
Benoit Marty
466579c4d3 Move class of matrix.api module to api sub package. 2023-03-02 17:32:47 +01:00
Benoit Marty
c2dff7888c Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00
Benoit Marty
b8467e547c Split module matrix to matrix.api with interfaces and data classes and matrix.impl with Rust implementation. 2023-03-02 17:12:13 +01:00
ganfra
44cd906c6b Add preview to new timeline items 2023-03-01 11:33:54 +01:00
ganfra
fefbdcdb71 Should fix CI 2023-02-28 15:19:33 +01:00
ganfra
a5b5371fb6 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
ganfra
5fa293b563 Timeline test: check timeline is initialized and disposed 2023-02-28 11:25:08 +01:00
ganfra
45711b062e Makes sure to test loadMore method on TimelinePresenter 2023-02-27 20:30:22 +01:00
ganfra
4fc12f13d8 Fix test compilation 2023-02-27 12:19:43 +01:00
ganfra
c9b4cf3232 Improve a bit timeline pagination 2023-02-24 20:34:32 +01:00
ganfra
830b8caa3a Update rust-sdk (from maven) 2023-02-24 15:05:20 +01:00
ganfra
22fd4ac7f0 Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
Benoit Marty
a304b92bb6 Do not use import wildcard 2023-02-16 11:58:31 +01:00
Benoit Marty
2dae6b6d7b Add test for HtmlDocument. 2023-02-15 15:20:12 +01:00
Benoit Marty
bdae51f252 Improve BubbleStateProvider (and this removes duplicated values!) 2023-02-15 15:20:05 +01:00
Benoit Marty
016cb6529f Rename class. 2023-02-15 12:59:30 +01:00
ganfra
8bca19a3fa Merge branch 'develop' into feature/fga/update_rust_sdk 2023-02-14 21:15:28 +01:00
ganfra
4940719274 Add fetchMembers and use it when init timeline (import again rust-sdk with fix on poisoning) 2023-02-14 20:13:47 +01:00
Benoit Marty
a19d678dcd Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
9234f47ce3 Move and rename VectorIcon 2023-02-14 17:03:02 +01:00
Benoit Marty
d382f59b50 Add preview for MessageEventBubble. 2023-02-14 17:03:02 +01:00
Benoit Marty
276d5e7d50 Create MessagesStateProvider 2023-02-14 17:03:02 +01:00
Benoit Marty
0230099c6d Create MessageComposerStateProvider. Preview is limited for now. 2023-02-14 17:03:02 +01:00
Benoit Marty
c08076b0fd Cleanup 2023-02-14 17:03:02 +01:00
Benoit Marty
bbe7ea99e1 Renaming 2023-02-14 17:03:02 +01:00
Benoit Marty
3537120a53 Extract AggregatedReaction to its own file. 2023-02-14 17:03:02 +01:00
Benoit Marty
53c8d3ff7c Add Preview for timeline items. 2023-02-14 17:03:02 +01:00
Benoit Marty
49db996988 Add limited test for HtmlDocument.
If we add html strings, there is an error when rendering the preview: java.lang.NoSuchMethodError: 'java.lang.String org.jsoup.nodes.Element.normalName()'
2023-02-14 17:03:02 +01:00
Benoit Marty
6bb01d640f Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
e120ca7163 Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
443076f636 Give the id to AvatarData to be able to compute initial properly. 2023-02-14 17:03:02 +01:00
Benoit Marty
afe5499158 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
fe44c8906d Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
a57a6f45bb Exclude generated classes from code coverage metrics. 2023-02-09 18:09:03 +01:00