SpiritCroc
6ba02629ec
Fix ChunkEntity.isMoreRecentThan() if both chunks linked to last forward
...
Imagine scenario:
[this] -> [chunkToCheck] -> [lastForwardChunk]
Then, both `isLastForward` checks will not return, and also the `chunkToCheck.doesNextChunksVerifyCondition { it == this }` will return false.
Since both chunks are connected to the last forward chunk, `isMoreRecent()` will still return `true`, which is wrong in this case.
So do not only check if chunkToCheck has this as any of the next chunks, but also the other way round.
2022-03-11 11:27:05 +01:00
SpiritCroc
0564942b0c
isReadMarkerMoreRecent(): use helper to properly compare chunks
2022-03-11 11:21:59 +01:00
SpiritCroc
6c4e404ba1
Fix updating unread marker if not to latest chunk
...
SetReadMarkerTask was not updating the read marker when both the old and
the new fully read eventId weren't in the last chunk, even when the new
one was after the first one.
2022-03-09 18:02:53 +01:00
Benoit Marty
cbdc28dd9b
Merge pull request #5457 from vector-im/michaelk/ignore_flaky_test
...
Ignore flaky VerificationTest
2022-03-09 12:18:55 +01:00
Benoit Marty
104f948a08
Merge pull request #5445 from vector-im/dependabot/github_actions/actions/checkout-3
...
Bump actions/checkout from 2 to 3
2022-03-09 11:27:13 +01:00
Benoit Marty
02ba09900f
Merge pull request #5434 from vector-im/feature/nfe/space_unread_count_dm
...
include dms number in space unread number badge
2022-03-09 11:16:07 +01:00
Benoit Marty
e0914781fc
Merge pull request #5435 from vector-im/feature/nfe/space_menu_amend_copy
...
Amend spaces menu to have consistent copy
2022-03-09 11:13:46 +01:00
Element Translate Bot
2048b859c5
Translations update from Weblate ( #5458 )
...
* Translated using Weblate (Czech)
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
* Translated using Weblate (Japanese)
Currently translated at 97.4% (2103 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
* Translated using Weblate (Slovak)
Currently translated at 98.8% (2132 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (51 of 51 strings)
Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sv/
* Translated using Weblate (Japanese)
Currently translated at 54.9% (28 of 51 strings)
Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/ja/
* Translated using Weblate (Japanese)
Currently translated at 98.0% (2116 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
* Translated using Weblate (Japanese)
Currently translated at 98.0% (2116 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
* Translated using Weblate (German)
Currently translated at 99.8% (2153 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
* Translated using Weblate (Italian)
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
* Translated using Weblate (Japanese)
Currently translated at 98.3% (2121 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
* Translated using Weblate (Polish)
Currently translated at 93.8% (2025 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
* Translated using Weblate (Slovak)
Currently translated at 98.9% (2134 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
* Translated using Weblate (Albanian)
Currently translated at 99.4% (2145 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
* Translated using Weblate (German)
Currently translated at 100.0% (51 of 51 strings)
Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
* Translated using Weblate (French)
Currently translated at 100.0% (51 of 51 strings)
Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
* Translated using Weblate (Hebrew)
Currently translated at 81.2% (1753 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
* Translated using Weblate (Hebrew)
Currently translated at 81.2% (1753 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
* Translated using Weblate (Albanian)
Currently translated at 100.0% (51 of 51 strings)
Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sq/
* Translated using Weblate (Japanese)
Currently translated at 98.3% (2121 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
* Translated using Weblate (Slovak)
Currently translated at 99.2% (2140 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
* Translated using Weblate (Arabic)
Currently translated at 30.5% (659 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
* Translated using Weblate (Estonian)
Currently translated at 99.9% (2155 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
* Translated using Weblate (Finnish)
Currently translated at 80.2% (1730 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
* Translated using Weblate (French)
Currently translated at 99.9% (2156 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
* Translated using Weblate (Hungarian)
Currently translated at 99.8% (2154 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
* Translated using Weblate (Japanese)
Currently translated at 98.6% (2128 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2157 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
* Translated using Weblate (Slovak)
Currently translated at 99.3% (2143 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
* Translated using Weblate (Slovak)
Currently translated at 99.3% (2143 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
* Translated using Weblate (Hungarian)
Currently translated at 98.0% (50 of 51 strings)
Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/hu/
* Translated using Weblate (Hebrew)
Currently translated at 85.5% (1846 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
* Translated using Weblate (Hebrew)
Currently translated at 85.5% (1846 of 2157 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
* Translated using Weblate (Japanese)
Currently translated at 62.7% (32 of 51 strings)
Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/ja/
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Suguru Hirahara <ovestekona@protonmail.com>
Co-authored-by: lvre <7uu3qrbvm@relay.firefox.com>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: oksya8and8 <darknessyasuko@protonmail.com>
Co-authored-by: libexus <libexus@gmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Arusekk <arek_koz@o2.pl>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: SPiRiT <such.a.lost.spirit@gmail.com>
Co-authored-by: sagi korin <sagi.korin@hot.net.il>
Co-authored-by: Peter Vágner <pvdeejay@gmail.com>
Co-authored-by: Zet <abidin24@disroot.org>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Tuomas Hietala <tuomas.hietala@iki.fi>
Co-authored-by: notramo <notramo@protonmail.com>
Co-authored-by: Nícolas F. R. A. Prado <n@nfraprado.net>
Co-authored-by: Edward Gera <Eduard.Gerasimuk@hot.net.il>
Co-authored-by: Ilan Feler <ilanf@mail.com>
Co-authored-by: Weblate <noreply@weblate.org>
2022-03-08 16:06:01 +00:00
Benoit Marty
f628b241c1
Merge pull request #5456 from vector-im/feature/bma/fix_color
...
Iterate on badge / unread indicator color (#5332 )
2022-03-08 15:25:38 +01:00
Michael Kaye
48cf2adcf5
Merge pull request #5453 from vector-im/michaelk/cleanups_for_tests
...
Remove deprecated warning in TestMatrix, and reduce severity of identity server error
2022-03-08 14:09:58 +00:00
Michael Kaye
67c9584215
Ignore flaky VerificationTest
2022-03-08 14:08:30 +00:00
Benoit Marty
b867e5f072
Iterate on badge / unread indicator color ( #5332 )
2022-03-08 14:52:10 +01:00
Michael Kaye
9c404b5cab
Remove -PallWarningsAsErrors now the build doesn't need the flag to compile.
2022-03-08 13:26:24 +00:00
Michael Kaye
ab3f3fba68
Attempt to prevent the deprecated warning/error about Provider usage.
2022-03-08 10:38:23 +00:00
Michael Kaye
fb05731bb9
If no identity server configured, log at info, not warn.
2022-03-08 10:12:13 +00:00
dependabot[bot]
9c18088128
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:05:24 +00:00
Michael Kaye
bdc9bc0d4d
Merge pull request #5442 from vector-im/michaelk/fix_develop
...
Missing import of at-Ignore annotation.
2022-03-07 15:19:26 +00:00
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
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
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
Benoit Marty
1690a0b2cf
giving avatar/display name error dialogs human readable error messages ( #5419 )
...
- reuses the ErrorDialog logic which translates exceptions to human readable strings
2022-03-03 18:29:39 +01:00
Adam Brown
54e23a2c55
giving avatar/display name error dialogs human readable error messages
...
- reuses the ErrorDialog logic which translates exceptions to human readable strings
2022-03-03 16:37:59 +00:00
Michael Kaye
76844b1572
Run codecoverage and pass to sonarqube upload for processing.
2022-03-03 16:34:54 +00:00
Michael Kaye
49fbfe6811
Better codecov based on ouchadam's suggestion
2022-03-03 16:34:54 +00:00
Michael Kaye
105f3dd93d
Correct name of environment variable
2022-03-03 16:34:26 +00:00
Michael Kaye
3364868365
Use environment variable that is tied to project property
2022-03-03 15:05:39 +00:00
Yoan Pintas
6e6b04c57e
Merge pull request #4498 from vector-im/yostyle/fix_strandhogg
...
Override task affinity to prevent unknown activities running in our app tasks.
2022-03-03 15:05:29 +01:00
Benoit Marty
7a1322baf7
Merge pull request #5415 from vector-im/feature/adm/missing-allowed-depenency-groups
...
Adding missing dependency allowances
2022-03-03 14:57:37 +01:00
Adam Brown
16a31e1716
adding new dependency allowances for latest dependency upgrades
2022-03-03 13:47:19 +00:00
Benoit Marty
dd0d2e8101
Merge pull request #5383 from vector-im/dependabot/gradle/com.google.android.gms-oss-licenses-plugin-0.10.5
...
Bump oss-licenses-plugin from 0.10.4 to 0.10.5 - REQUIRE HUMAN INTERVENTION
2022-03-03 11:55:00 +01:00
Michael Kaye
0ce787f20b
Ensure we run on java 11 on macos
2022-03-03 10:51:00 +00:00
Michael Kaye
fd065dbbb9
Update build.gradle
...
Note password secret name.
2022-03-03 10:51:00 +00:00
Michael Kaye
5ea917f74b
jobs.step.env is a map not a list
2022-03-03 10:51:00 +00:00