Commit Graph

334 Commits

Author SHA1 Message Date
Benoit Marty
87464b9622 Remove the line about testFixtures, this is not supported yet. 2023-03-02 18:03:05 +01:00
Benoit Marty
8faca4fdac Move class of matrix.api module to api sub package. 2023-03-02 17:32:47 +01:00
Benoit Marty
0b5abc7a73 Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00
Benoit Marty
fbdc1a477a 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
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
da7af50eb5 Add preview to new timeline items 2023-03-01 11:33:54 +01:00
ganfra
b6606577d5 Should fix CI 2023-02-28 15:19:33 +01:00
ganfra
2bbdecb6f0 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
ganfra
61ca79a2da Timeline test: check timeline is initialized and disposed 2023-02-28 11:25:08 +01:00
ganfra
39edc780fe Makes sure to test loadMore method on TimelinePresenter 2023-02-27 20:30:22 +01:00
ganfra
c8ec8da44f Bypass error of setHomeserver 2023-02-27 18:11:51 +01:00
ganfra
ac5015d3b3 Fix test compilation 2023-02-27 12:19:43 +01:00
ganfra
fa4c8d62cf Improve a bit timeline pagination 2023-02-24 20:34:32 +01:00
ganfra
247f6d2188 Update rust-sdk (from maven) 2023-02-24 15:05:20 +01:00
ganfra
8d4d8e96bd Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
Benoit Marty
51fd6b0fd7 Do not use import wildcard 2023-02-16 11:58:31 +01:00
Benoit Marty
9b036b7b71 Create RoomListStateProvider 2023-02-16 11:15:07 +01:00
Benoit Marty
afd7319460 Add test for HtmlDocument. 2023-02-15 15:20:12 +01:00
Benoit Marty
9ac08ed3b7 Improve BubbleStateProvider (and this removes duplicated values!) 2023-02-15 15:20:05 +01:00
Benoit Marty
f8318bbb61 Rename class. 2023-02-15 12:59:30 +01:00
ganfra
31eb01a7c2 Merge branch 'develop' into feature/fga/update_rust_sdk 2023-02-14 21:15:28 +01:00
ganfra
9526eac81c 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
077897a874 Test higher level. 2023-02-14 17:03:02 +01:00
Benoit Marty
196274a276 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
0734404fec Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
0959f652a8 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
3851653d39 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
8cb8c2f306 Move and rename VectorIcon 2023-02-14 17:03:02 +01:00
Benoit Marty
cbbcd49bc1 Add preview for MessageEventBubble. 2023-02-14 17:03:02 +01:00
Benoit Marty
04248b4996 Create MessagesStateProvider 2023-02-14 17:03:02 +01:00
Benoit Marty
c32c9b33de Create MessageComposerStateProvider. Preview is limited for now. 2023-02-14 17:03:02 +01:00
Benoit Marty
e2656cf033 Cleanup 2023-02-14 17:03:02 +01:00
Benoit Marty
9abef64b85 Renaming 2023-02-14 17:03:02 +01:00
Benoit Marty
06c96d1d20 Extract AggregatedReaction to its own file. 2023-02-14 17:03:02 +01:00
Benoit Marty
35c7d4c132 Add Preview for timeline items. 2023-02-14 17:03:02 +01:00
Benoit Marty
6c9474b53f 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
41e63173b3 Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
e4bbfc1470 Mode test for ChangeServerView 2023-02-14 17:03:02 +01:00
Benoit Marty
aecc294df9 Add a way to Preview images. 2023-02-14 17:03:02 +01:00
Benoit Marty
d7f569abed Improve coverage of BugReportView. 2023-02-14 17:03:02 +01:00
Benoit Marty
ec687edc2d Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
f04f2dad9e Give the id to AvatarData to be able to compute initial properly. 2023-02-14 17:03:02 +01:00
Benoit Marty
3e4a61a3a5 Add preview for RoomListTopBar 2023-02-14 17:03:02 +01:00
Benoit Marty
7b016e73a1 Add PreviewParameterProvider in the template. 2023-02-14 17:03:02 +01:00
Benoit Marty
e1b9d1da02 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
395d432220 Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
23c4b9041a Enforce no default value in state. 2023-02-14 17:03:02 +01:00
Benoit Marty
dae699b81f Naming convention. View / Content 2023-02-14 17:03:02 +01:00
Benoit Marty
6169323043 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
f07bd1761e Add a test 2023-02-09 18:22:16 +01:00