Commit Graph

468 Commits

Author SHA1 Message Date
Benoit Marty
68fb2bd2eb if -> when 2023-04-12 09:41:22 +02:00
Benoit Marty
40660ca317 Add some check on as*Id() methods, to fail in debug mode. 2023-04-12 09:41:22 +02:00
Benoit Marty
3b49ab0e7a Add default value for noActivityFoundMessage 2023-04-12 09:41:22 +02:00
Benoit Marty
0550a32821 Add test for Push parsers. 2023-04-12 09:40:04 +02:00
github-actions[bot]
6554dec73c Sync Strings from Localazy (#307)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-04-11 09:45:58 +00:00
Jorge Martin Espinosa
b900725919 Fix lint issues that prevented CI from passing (#310) 2023-04-10 09:00:02 +02:00
Hans Christian Schmitz
30a0da74f0 Add support for autofilling login text fields (#293)
* Add support for autofilling login text fields

Support autofilling login text fields via Android Autofill with the
experimental AndroidX Compose API for it.

Based on https://bryanherbst.com/2021/04/13/compose-autofill/ (with permission).

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>

* Move autofill implementation to designsystem library

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>

---------

Signed-off-by: Hans Christian Schmitz <git@hcsch.eu>
2023-04-10 08:21:57 +02:00
Benoit Marty
ca54e11b97 Fix ktlint issue. 2023-04-07 10:38:47 +02:00
Benoit Marty
1a33f6fc50 Merge branch 'develop' into feature/bma/push 2023-04-06 09:13:24 +02:00
Benoit Marty
b56ab86ef1 Fix wildcard import 2023-04-05 18:14:32 +02:00
Florian Renaud
4bbc2aa3c2 Merge remote-tracking branch 'origin/develop' into feature/fre/start_chat_with_matrix_id 2023-04-05 17:43:52 +02:00
Benoit Marty
df492cfd0e Fix lint warnings. 2023-04-05 16:59:17 +02:00
Benoit Marty
fad849ce21 Ignore lint warning. I think it's OK. 2023-04-05 16:59:17 +02:00
Benoit Marty
2ac74ba40f Comment unused code. 2023-04-05 16:59:17 +02:00
Benoit Marty
84e4e0f1a9 Add test for NoopPermissionsPresenter and remove the unused factory. 2023-04-05 16:59:17 +02:00
Benoit Marty
78b8d5cf6e Fix lint warnings. 2023-04-05 16:59:17 +02:00
Benoit Marty
48044a3cc5 Add strings to localazy and import them 2023-04-05 16:59:17 +02:00
Benoit Marty
68769a21e2 Cleanup up string for push and notification (before integrating to Localazy) 2023-04-05 16:59:17 +02:00
Benoit Marty
9036237030 Finish and test NotificationIdProvider 2023-04-05 16:59:17 +02:00
Benoit Marty
2afdf49501 Make NotificationDrawerManager.updateEvent private. 2023-04-05 16:59:17 +02:00
Benoit Marty
7e7aca4a53 Add some tests (mainly imported from EA). Also change type from String to SessionId, RoomId, etc. 2023-04-05 16:59:17 +02:00
Benoit Marty
31ff2e7e0b Clean up 2023-04-05 16:59:17 +02:00
Benoit Marty
c0ef4804a1 Persist notification data. Note that it will break the key storage for the session database. 2023-04-05 16:59:17 +02:00
Benoit Marty
2696348d46 Improve logs. 2023-04-05 16:59:17 +02:00
Benoit Marty
0c0f7dff40 Making progress on notification for multi account. 2023-04-05 16:59:17 +02:00
Benoit Marty
a2dc4db684 Bad copy/paste 2023-04-05 16:59:17 +02:00
Benoit Marty
41e0249fbf Cleanup 2023-04-05 16:59:17 +02:00
Benoit Marty
c52ad084e9 Observe session database to be able to detect new user and removed user. 2023-04-05 16:59:17 +02:00
Benoit Marty
62db96476d Protect call to getNotificationItem 2023-04-05 16:59:17 +02:00
Benoit Marty
dae0cae8bb Close MatrixClient after usage 2023-04-05 16:59:17 +02:00
Benoit Marty
b9276aa60b Cleanup + Add per user store. 2023-04-05 16:59:17 +02:00
Benoit Marty
961d0ecdbc Add Result + Dispatcher on SDK call. 2023-04-05 16:59:17 +02:00
Benoit Marty
eaff43de3a Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode 2023-04-05 16:59:17 +02:00
Benoit Marty
281eb617b5 Add missing Fake classes 2023-04-05 16:32:28 +02:00
Benoit Marty
afbd4672e6 Show basic notification when push is recieve 2023-04-05 16:32:28 +02:00
Benoit Marty
1f09f5f0eb Retrieve notification - WIP 2023-04-05 16:32:28 +02:00
Benoit Marty
be8ce499d0 Register pusher - WIP 2023-04-05 16:31:43 +02:00
Benoit Marty
b2ce80da69 Add a db query to get all the Sessions. 2023-04-05 16:31:09 +02:00
Benoit Marty
80fdd5f127 Use correct type (it's a type alias) 2023-04-05 16:31:09 +02:00
Benoit Marty
da4b49ce17 Implement Push client secret store and test it. 2023-04-05 16:31:09 +02:00
Benoit Marty
8a100500f0 Temporary import strings. 2023-04-05 16:31:09 +02:00
Benoit Marty
581ec6a1af Use presenter factory 2023-04-05 16:31:09 +02:00
Benoit Marty
b911229f53 Create noop version for the minimal sample and test. 2023-04-05 16:27:17 +02:00
Benoit Marty
dfc759685d Be able to test PermissionsPresenterTest. Create interface to abstract Accompanist implementation 2023-04-05 16:25:27 +02:00
Benoit Marty
500d4801a7 Add permission modules 2023-04-05 16:25:27 +02:00
Benoit Marty
c133caf442 Fix compilation after rebase. 2023-04-05 16:18:44 +02:00
Benoit Marty
d7fd3e3b22 Remove manifest from api module 2023-04-05 16:18:44 +02:00
Benoit Marty
cb0cc70102 Fix compilation after rebase 2023-04-05 16:18:44 +02:00
Benoit Marty
7ad385965e Add todos 2023-04-05 16:18:44 +02:00
Benoit Marty
bc7fb0a2bb Push: be able to test Push
Create `:libraries:network`
2023-04-05 16:18:44 +02:00