Commit Graph

14232 Commits

Author SHA1 Message Date
ericdecanini 31f300c724 Adds error print stack trace 2022-03-08 21:32:13 +01:00
sim 17d58f24d2 Add padding before our first message
Signed-off-by: sim <git@sgougeon.fr>
2022-03-08 17:26:23 +01:00
ericdecanini 54828f76cf Adds slash to v1 prefix path 2022-03-08 17:26:01 +01:00
ericdecanini 0892525c84 Adds debug logs 2022-03-08 17:19:11 +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
ericdecanini 510206aa8a Adds changelog file 2022-03-08 16:54:05 +01:00
ericdecanini 82b5fc9557 Removes unused imports 2022-03-08 16:50:49 +01:00
ericdecanini eb46067c08 Changes caught exception type to Throwable 2022-03-08 15:40:13 +01: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
ericdecanini e5299d716c Fixes legal comments 2022-03-08 13:15:26 +01:00
ericdecanini 0af6ae6075 Adds logic for using stable and unstable hierarchy endpoints 2022-03-08 13:10:18 +01:00
ericdecanini bc3b8d0a16 Adds testing for fallback api 2022-03-08 11:51:17 +01: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
SpiritCroc 768262094c Fix missing messages when forward paging with chunks > 50 messages
- offsets() was not limiting in the right direction when loading
  messages forwards
- after fixing offsets(), more recent messages would not be loaded due
  to the isLastForward() check, so better prioritize the SUCCESS
  LoadMoreResult over the REACHED_END here
2022-03-08 10:54:27 +01: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
ericdecanini 3b0a565822 Changes room hierarchy endpoint 2022-03-07 16:51:40 +01: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 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
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