Commit Graph

404 Commits

Author SHA1 Message Date
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
ganfra
46c7ede5dc Merge pull request #215 from vector-im/renovate/org.matrix.rustcomponents
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.3
2023-03-20 14:57:36 +01:00
ganfra
6da72e2461 Fix test on SessionStore 2023-03-20 13:19:35 +01:00
ganfra
b73ff7aa45 Update code so it compiles 2023-03-20 13:07:50 +01:00
Benoit Marty
f5f4ad386a Merge pull request #231 from vector-im/feature/bma/localazy
Localazy
2023-03-20 12:52:29 +01:00
Benoit Marty
65be3ed216 Remove automation to sync Element Android strings. 2023-03-20 11:25:53 +01: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
Benoit Marty
2c478f0e49 Merge pull request #227 from pixlwave/doug/localazy
Add localazy.json
2023-03-20 10:28:37 +01:00
Benoit Marty
664bb697f7 Merge pull request #228 from vector-im/feature/bma/composableCleanup
Composable cleanup
2023-03-20 09:47:39 +01:00
Benoit Marty
bdca60aa9c Create ButtonWithProgress composable 2023-03-17 17:22:38 +01:00
Benoit Marty
1feb10ae76 Merge pull request #225 from vector-im/feature/bma/upgradeLint
Fix lint warning
2023-03-17 16:14:49 +01:00
Doug
dcc931f611 Add localazy.json 2023-03-17 15:12:27 +00:00
Benoit Marty
33c02f054e Merge branch 'develop' into feature/bma/networkModule 2023-03-17 13:39:01 +01:00
Jorge Martin Espinosa
9639d62bb3 Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
Benoit Marty
7d668e534c Fix copyright 2023-03-17 10:05:40 +01:00
Benoit Marty
049c25e434 Import some classes from Element into :libraries:androidutils 2023-03-17 10:05:40 +01:00
Benoit Marty
05d2090e67 Inject Lazy and then use callFactory instead of setting client manually. It'll allow to initialise retrofit/okhttp lazily. 2023-03-17 10:02:51 +01:00
Benoit Marty
fcd4921042 Fix lint warning
Recommended Action: Apply the 'com.android.lint' plugin to java library project ***. to enable lint to analyze those sources.
2023-03-17 09:57:30 +01:00
Benoit Marty
ba84f39ea1 Add preview for CircularProgressIndicator 2023-03-16 16:34:36 +01:00
Benoit Marty
d651678718 Let coil use our OkHttpClient. 2023-03-16 15:31:57 +01:00
Benoit Marty
c9c1a77eab Add :libraries:network module 2023-03-16 15:31:57 +01:00
Benoit Marty
1c58e8ef35 Add BuildMeta to the project 2023-03-16 14:21:12 +01:00
Benoit Marty
137e9b61f0 Introduce AppNavigationStateService. 2023-03-16 11:30:09 +01:00
Benoit Marty
9a2c418668 Add class LoggerTag 2023-03-16 11:21:23 +01:00
Benoit Marty
ad6a2e9595 allLibraries renamed to allLibrariesImpl and only reference implementation of the libraries. 2023-03-16 10:10:55 +01:00
Jorge Martin Espinosa
ce981bc6a5 Fix behaviour of Enter and Tab hardware keys in TextFields (#216)
* Fix behaviour of Enter and Tab hardware keys in TextFields

* Add changelog
2023-03-15 13:57:51 +01:00