Commit Graph

14517 Commits

Author SHA1 Message Date
Michael Kaye 1569c2f3c7 Missing import of at-Ignore annotation. 2022-03-07 14:46:01 +00:00
Adam Brown 9a02543afd
FTUE - Choose a display picture (#5323)
* adding tests around the onboarding view model
- cases for the personalisation and display name actions

* adding base choose name fragment with UI

* add click handling for the display name actions

* adding tests around the onboarding view model
- cases for the personalisation and display name actions

* adding barebones profile picture fragment with ability to select a user avatar

* extracting uri filename resolving to a class which can be injected
- includes tests

* updating upstream avatar on profile picture save and continue step
- moves the personalisation state to a dedicated model to allow for back and forth state restoration

* adding test case for skipping profile picture setting

* taking the profile loading into account when rendering the onboarding loading

* extracting method for the handling of the profile picture selection

* adding dedicated camera icon for choosing profile picture

* adding toolbar to back to profile picture page
- this toolbar will fade in with the fragment as it sits at the fragment level, probably worth revisiting once more pages have a toolbar

* changing edit/add picture icon based on if we're already selected an image

* making use of debounced clicks to avoid potential extra clicks

* making the avatar height and camera icon relative percentage based
- also makes the avatar itself clicking, including a foreground ripple

* fixing formatting

* making use of fake session id for user id assertion

* using a real  matrix id syntax for the fake session user id

* removing duplicated dimens

* using self closing imageview tag
2022-03-07 14:07:22 +00:00
Michael Kaye 9af2f1cdc6
Merge pull request #5440 from vector-im/michaelk/threadmessagingtest_ignore
Ignore ThreadMessagingTest as it seems to cause other integration tests to fail
2022-03-07 14:05:22 +00:00
Michael Kaye b25d11244b
Merge pull request #5413 from vector-im/michaelk/code_cov_alt
Code coverage using jacoco (and xml report)
2022-03-07 13:31:51 +00:00
Michael Kaye f32da28285 Ignore ThreadMessagingTest as it seems to cause other integration tests to fail. 2022-03-07 13:14:38 +00:00
Michael Kaye 2b7b7521a9 Maybe the file is here? 2022-03-07 10:26:25 +00:00
NIkita Fedrunov 33246be2a5 change selected space highlight 2022-03-07 09:58:40 +01:00
NIkita Fedrunov a3dcee55e4 include dms number in space unread number badge 2022-03-07 08:35:53 +01:00
NIkita Fedrunov 8732c6fe42 Amend spaces menu to have consistent copy 2022-03-07 08:32:31 +01:00
ariskotsomitopoulos d19dd91d67 Format code 2022-03-05 20:49:11 +02:00
ariskotsomitopoulos bce5bc8389 Fix wrong versioning regex pattern
Add MSC3440 support using /version/ and /capabilities
2022-03-05 17:13:02 +02:00
Valere 3c931d6f6d Save valid backup key before downloading keys 2022-03-04 19:21:19 +01:00
Valere db84c679b4 Code review cleaning 2022-03-04 19:21:19 +01:00
Valere 99a07af9de Better comment
Co-authored-by: poljar <poljar@termina.org.uk>
2022-03-04 19:21:19 +01:00
Valere 31d3fe38aa Better comment
Co-authored-by: poljar <poljar@termina.org.uk>
2022-03-04 19:21:19 +01:00
Valere 7616e2d14c better comment
Co-authored-by: poljar <poljar@termina.org.uk>
2022-03-04 19:21:19 +01:00
Valere 5d952feef9 code review cleaning 2022-03-04 19:21:19 +01:00
Valere ada83d0ba6 fix test 2022-03-04 19:21:19 +01:00
Valere 714e1d79b7 clean log level 2022-03-04 19:21:19 +01:00
Valere 6546f98858 use mutex on suspend and not synchronized 2022-03-04 19:21:19 +01:00
Valere 49d33f3a4b avoid duplicate userId on key download 2022-03-04 19:21:19 +01:00
Valere 87de51b184 Use loggerTag 2022-03-04 19:21:19 +01:00
Valere b7bf39b99a resurrect unwedge test + cleaning 2022-03-04 19:21:19 +01:00
Valere 078ed1b2d1 dispatch network calls to io 2022-03-04 19:21:19 +01:00
Valere f238739438 Clean ensure olm, fix unwedging, better logs 2022-03-04 19:21:19 +01:00
Valere 2d9beb67b4 extract test to dedicated class 2022-03-04 19:21:19 +01:00
Valere 122e785f14 clean test 2022-03-04 19:21:19 +01:00
Valere 2f665dd08f cleaning 2022-03-04 19:21:19 +01:00
Valere 11e888162c test forward better key 2022-03-04 19:21:19 +01:00
Valere 9eb0473d74 better logs 2022-03-04 19:21:19 +01:00
Valere ade16a0aa1 protect race on prekey + logs 2022-03-04 19:21:19 +01:00
Valere 9b3c5d2153 Improve inbound group session cache + mutex 2022-03-04 19:21:19 +01:00
Valere c97de48474 Added e2ee sanity tests 2022-03-04 19:21:19 +01:00
Valere 24c51ea41a Clean megolm import code 2022-03-04 19:21:19 +01:00
Valere 87d930819a Fix test compilation 2022-03-04 19:21:19 +01:00
Valere 9df5f17132 protect olm account access 2022-03-04 19:21:19 +01:00
Valere 33f9bc52cb Protect olm session from concurrent access 2022-03-04 19:21:19 +01:00
Valere 10ea166b2a Extract olm cache store 2022-03-04 19:21:19 +01:00
Michael Kaye 8e39247c4d I give up for the weekend 2022-03-04 18:00:20 +00:00
Michael Kaye 1ad3e7cc9d Frustration at artifact handling vs what's in docs. 2022-03-04 16:35:46 +00:00
Ahmed Radhouane Belkilani bcdf004082
Update the top bar in a room (#5213)
Remove typing message notification from room toolbar.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-03-04 16:38:53 +01:00
Michael Kaye 57bbec4ffd
Merge pull request #5388 from vector-im/michaelk/format_unit_test_results
Format unit test results
2022-03-04 15:29:15 +00:00
Michael Kaye 96168929ff Tweak upload/download of codecov xml file 2022-03-04 15:15:52 +00:00
Michael Kaye 2dedad1cf2 Address review points from adam 2022-03-04 15:03:12 +00:00
Michael Kaye 662f72fde8 Remove unneeded code, retaining a comment for how to exclude certain projects 2022-03-04 15:01:24 +00:00
Michael Kaye d4bf38f428
Merge pull request #5391 from vector-im/michaelk/sonaqube_nightly
Run sonarqube as part of nightly build
2022-03-04 09:25:18 +00:00
ClaireG 2a9e582db5
Merge pull request #5405 from vector-im/cgizard/ISSUE-5402
[Create private room] Picture doesn't not displayed
2022-03-03 22:40:26 +01:00
Michael Kaye 2d5b25cfad Remove the printing of file name to the log as it's doubling up information. 2022-03-03 20:39:41 +00:00
Michael Kaye 9fe04ac5b8 Remove exclusions (for now).
We can merge this PR without and re-add afterwards the only ones we want.
2022-03-03 20:26:33 +00:00
Michael Kaye cb32124fd4 Fix typo in name of action 2022-03-03 18:28:13 +00:00