Commit graph

1894 commits

Author SHA1 Message Date
ganfra
1ea4e96497 Merge pull request #557 from vector-im/renovate/io.sentry
Update dependency io.sentry:sentry-android to v6.22.0
2023-06-08 12:02:01 +02:00
Benoit Marty
d9aead8677 Merge pull request #559 from vector-im/feature/bma/fixTestWarning
Fix bad namespace.
2023-06-08 10:23:56 +02:00
Chris Smith
1b564edd10 Merge pull request #562 from vector-im/renovate/compose.bom
Update dependency androidx.compose:compose-bom to v2023.06.00
2023-06-08 09:22:09 +01:00
renovate[bot]
d5f37cd53b Update dependency androidx.compose:compose-bom to v2023.06.00 2023-06-07 20:54:37 +00:00
ganfra
db2a9f2ff1 Merge pull request #551 from vector-im/feature/fga/media_viewer_actions
Feature/fga/media viewer actions
2023-06-07 17:46:29 +02:00
ElementBot
6056b6b1e3 Update screenshots 2023-06-07 17:27:32 +02:00
Chris Smith
bc695258bf Merge pull request #553 from vector-im/bug/cjs/updating-room-details
Fix changing room avatar from details screen
2023-06-07 16:07:07 +01:00
Benoit Marty
c3ff31394b Fix bad namespace.
There were a warning: Namespace 'io.element.android.libraries.matrix.test' used in: :libraries:matrix:test, :libraries:mediaupload:test.
2023-06-07 17:02:08 +02:00
Benoit Marty
c57a5b4f32 Merge pull request #552 from vector-im/feature/bma/lazyOkHttp
Lazy use the OkHttpClient.
2023-06-07 16:39:34 +02:00
ganfra
76e35582da Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-07 16:31:28 +02:00
ElementBot
2f4ce0a834 Update screenshots 2023-06-07 14:10:32 +00:00
ganfra
c48dd99bf9 Media: extract LocalMediaViewState to his own file 2023-06-07 15:58:05 +02:00
ganfra
c9f6093f22 Media: make some minor UI fixes 2023-06-07 15:55:16 +02:00
ganfra
a09ea589f2 Media: address PR review 2023-06-07 15:41:07 +02:00
renovate[bot]
2d18369dbf Update dependency io.sentry:sentry-android to v6.22.0 2023-06-07 12:11:38 +00:00
Jorge Martin Espinosa
e376c1be82 [Message actions] New UI for message composer and editing (#526)
* Add UI for edit composer mode

* Remove leftover code from the RTE implementation

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-07 13:06:19 +02:00
Chris Smith
72497af09a Fix changing room avatar from details screen
The presenter was expecting the MediaProcessor to return a
MediaUploadInfo.Image, but it actually returns
MediaUploadInfo.AnyFile because we're not compressing avatars
(so it doesn't process the file and return more detailed info).

This check/cast was entirely pointless, so change to just
working on whatever we're given. The pickers constrain which
types of file the user select, so we should be reasonably happy
the files are images.

Also actually log error details when updating the details,
so we know what's going wrong.

Closes #550
2023-06-07 11:18:03 +01:00
Chris Smith
ff25a1a057 Merge pull request #546 from vector-im/misc/cjs/nightly-workflow
GH Workflows: move deps check, fix nightly
2023-06-07 09:55:33 +01:00
Chris Smith
67fcfedb6e Merge pull request #529 from vector-im/misc/cjs/create-join-design-feedback-ii
More create and join room design tweaks
2023-06-07 09:19:16 +01:00
Benoit Marty
fe87681473 Lazy use the OkHttpClient. 2023-06-07 09:06:46 +02:00
Benoit Marty
5d7be76feb Merge pull request #527 from vector-im/feature/bma/designSystem
Preparatory work to integrate new FTUE screen
2023-06-07 08:59:13 +02:00
renovate[bot]
eeaa277f8c Update plugin ktlint to v11.4.0 (#544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 08:51:03 +02:00
ganfra
0c533986bc Gradle: re-enable caching (will be handled in a separate PR) 2023-06-06 23:43:02 +02:00
ElementBot
f8db17c670 Update screenshots 2023-06-06 21:21:14 +00:00
ganfra
51389053bf Media : timeline file adjustment 2023-06-06 23:10:02 +02:00
ganfra
468ed5276f Media: clean up code 2023-06-06 22:18:13 +02:00
ganfra
c0def1c3dc Media actions: add more tests 2023-06-06 22:08:57 +02:00
Chris Smith
0ae2f4ff9a Merge pull request #543 from vector-im/misc/cjs/coverage
Coverage: ignore more generated/non-prod code
2023-06-06 17:28:23 +01:00
Chris Smith
b3ac6e2b97 Bump some font sizes from small to medium after review 2023-06-06 16:44:19 +01:00
ElementBot
c0a8af1eb9 Update screenshots 2023-06-06 16:44:19 +01:00
Chris Smith
fd34ab5cd9 Invite button: fiddle with touch area
Instead of the whole width of the screen being touchable, make the
clickable component 48dp high and 16dp padding either side of the
content.
2023-06-06 16:44:18 +01:00
Chris Smith
c9df5e7d34 Remove PreferenceDivider
It's now functionally identical to a plain Divider as the default
is 0.5dp thickness.
2023-06-06 16:44:18 +01:00
Chris Smith
fe6afb7281 Dividers should be 0.5dp not 1dp 2023-06-06 16:44:18 +01:00
Chris Smith
dce38dfe8d Progress dialog: use primary colour not onSurface 2023-06-06 16:44:18 +01:00
Chris Smith
34a67bdb2c Create room: labels shouldn't be bold 2023-06-06 16:44:18 +01:00
Chris Smith
3a7e310bd3 Invites: increase vertical padding to 16dp 2023-06-06 16:44:18 +01:00
Chris Smith
298e217b73 GH Workflows: move deps check, fix nightly
Move the dependency check job from the quality workflow that
runs on every PR to the nightly reports workflow. This sometimes
flakes as it does a _lot_ of HTTP requests. It's less intrusive
if that happens outside of the PR workflow.

Also change the nightly job that runs tests to use LFS, so it
actually has access to screenshots :)

The sonar task is still broken, but it seems like an upstream bug:
https://community.sonarsource.com/t/sonar-plugin-4-1-0-3113-4-2-0-3129-errors/91568
2023-06-06 16:32:18 +01:00
Marco Romano
1d6f4e3c68 Network library changes (#542)
- Allows for http2
- Caches a global instance of kotlinx-serialization `Json` and configures it with a bit more leniency.
- Moves okhttp's dependency strings to the .toml file
- Switches off logging for release builds
2023-06-06 15:33:30 +02:00
Chris Smith
4738436dd5 Coverage: ignore more generated/non-prod code 2023-06-06 13:55:19 +01:00
ganfra
438fc6bb99 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-06 14:35:25 +02:00
ganfra
950e474c72 Media: make tests passing again 2023-06-06 13:48:12 +02:00
ganfra
c16e4c46bd Media: prepare downloadMediaFile to use tempDir 2023-06-06 13:44:49 +02:00
Chris Smith
7308428596 Use member count instead of counting members (#530)
Use member count instead of counting members

For the room details screen, use the member count as supplied by
matrix instead of waiting for the entire member list to be
retrieved and then manually adding up all the relevant users.

This removes the loading state of the member count, relying on
a spinner on the member list itself if the user actually wants
to see the members. (The performance of that will be improved
separately on the rust side in the future)

Closes #505
2023-06-06 10:40:17 +00:00
ganfra
092e1544ca Media: rework how we get the activity context (and fix test compilation) 2023-06-05 23:39:48 +02:00
ganfra
be009baed7 File: improve a bit pdf loading 2023-06-05 22:45:49 +02:00
ganfra
e322ba1b32 Media: handle openWith and share actions (need to inject context for tests...). Also introduce MediaInfo 2023-06-05 20:52:17 +02:00
github-actions[bot]
044a3c991e Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
Chris Smith
ebe8bc6944 Merge pull request #528 from vector-im/renovate/io.sentry
Update dependency io.sentry:sentry-android to v6.21.0
2023-06-05 15:40:47 +01:00
renovate[bot]
45b40c6704 Update dependency io.sentry:sentry-android to v6.21.0 2023-06-05 13:12:17 +00:00
Yoan Pintas
f534ecda96 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00