Commit Graph

429 Commits

Author SHA1 Message Date
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
Benoit Marty
64f4740029 Import some stuff about Push and notification from Element Android - WIP 2023-04-05 16:18:44 +02:00
Jorge Martin Espinosa
9064481b4c [Room Details] Leave room (#296)
* Add leave room functionality to the Room Details screen

* Add snackbar message throught `SnackbarDistpacher`
2023-04-05 15:36:41 +02:00
Benoit Marty
79d8a51ba7 Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 12:25:17 +02:00
Benoit Marty
830946e0de Ensure ellipsis char is used (fix lint issue). 2023-04-05 11:44:55 +02:00
Benoit Marty
45cea6cc3b Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 11:11:47 +02:00
Jorge Martin Espinosa
d7a6779343 [Room member list] Display room member list (#276)
* Implement room member list

* Move timeline initialization back to `TimelinePresenter`.

* Fix crash when the `innerRoom` inside a `RustMatrixRoom` is destroyed but `syncUpdateFlow` is still running.

* Address review comments
2023-04-04 16:07:57 +00:00
Jorge Martin Espinosa
4154a96b54 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit 4e085efcf4.
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa
4e085efcf4 Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
ganfra
cfefe89b3e Makes MatrixClient Closeable outside of logout function. 2023-03-30 20:52:32 +02:00
Benoit Marty
f0837972ce Small API change in SDK 0.1.5: RustRoomMember 2023-03-29 10:41:10 +02:00
Benoit Marty
57051e6368 Small API change in SDK 0.1.5: SlidingSyncState 2023-03-29 10:39:36 +02:00
Benoit Marty
5c0b3b8129 Small API change in SDK 0.1.5 2023-03-29 10:39:36 +02:00
Jorge Martin Espinosa
0fb061fb2e [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
Jorge Martin Espinosa
c75ebfb1e7 Improve ButtonWithProgress component, replace login and change server buttons (#235)
* Improve `ButtonWithProgress` component.

* Replace `CircularProgresIndicator` with `ButtonWithProgress` in login and server selection screens.
2023-03-28 22:56:59 +02:00
Benoit Marty
c774f7529e [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty
d449ede86d [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
Benoit Marty
84b1c30572 Remove useless file 2023-03-27 14:33:22 +02:00
Benoit Marty
0307deb3f8 [Strings] Remove previous strings. 2023-03-27 14:32:28 +02:00
Jorge Martin Espinosa
4a1a338e07 Move StateMachine to its own module. (#257) 2023-03-23 16:49:15 +00:00
Jorge Martin Espinosa
0c0b3d0aa6 [Verify Session] Design fixes (#230)
* Design fixes.

* Make text in emoji items secondary color and the snackbar duration short again

* Try to make margins smaller on smaller displays

---------

Co-authored-by: Florian Renaud <florianr@element.io>
2023-03-23 14:54:44 +00:00
Jorge Martin Espinosa
76ade37355 Make ChangeServerPresenter.submit fail as expected (#236)
* Make `ChangeServerPresenter.submit` fail as expected

* Fix tests to prevent this from ever happening again
2023-03-23 15:19:18 +01:00
Florian Renaud
502a98ff6f Merge pull request #223 from vector-im/feature/mna/select-members-ui
[Create room] Select members before creating a room (UI for selection)
2023-03-23 14:46:57 +01:00
Jorge Martin Espinosa
1b9999425c [Verify Session] Add missing 'start verification' screen. (#241)
* Add missing 'start verification' screen. 
* Fix retries sometimes not working because of `SessionVerificationController.setDelegate`.
* Make the negative button invisible when not needed.
2023-03-23 14:24:25 +01:00
Florian Renaud
546a795c21 Remove default onClick from MatrixUserRow 2023-03-23 11:46:56 +01:00
Maxime NATUREL
87e96d7ac9 Reuse fillMaxWidth on MatrixUserRow 2023-03-22 12:26:01 +01:00
Maxime NATUREL
080f3dc266 Using nullable onClick to avoid passing a new parameter 2023-03-22 12:26:01 +01:00
Maxime NATUREL
875b0f8f1f Present the last added user first 2023-03-22 12:25:59 +01:00
Maxime NATUREL
bc47691733 Adding checkbox in result when multi selection of users is enabled 2023-03-22 12:25:59 +01:00
Florian Renaud
02f2ace1e4 Merge pull request #211 from vector-im/feature/fre/start_chat_search_matrixid
[Start chat] Show a single result when searching for a matrixId
2023-03-21 13:58:24 +01:00
Benoit Marty
f4661781b9 Merge pull request #224 from vector-im/bma/analytics
Add utility modules
2023-03-21 13:18:10 +01:00
Benoit Marty
ed73e60336 Cleanup after PR review. 2023-03-21 12:33:50 +01:00
Jorge Martin Espinosa
f94d2b6c60 Handle 'invalid server' error in server selection screen properly. (#214)
* Handle 'invalid server' error in server selection screen properly.

* Use `action_learn_more` for composing the server location footer action.
2023-03-21 09:34:14 +01:00