Commit Graph

19780 Commits

Author SHA1 Message Date
Adam Brown 1fd1a4e824 fixing SyncWorker becoming stuck in failure state on uncaught exception
- the sync worker makes use of the CoroutineWorker which does not stop when the work completes, this means we often append to the existing worker. When appending by default the previous worker result payload is merged with (or in our case overwrites) the input data instead, meaning any failure state is set and kept until the worker stops, which in turns causes the sync worker to never sync
- the fix is to make use of an input merge that always favour the request input data instead of the previous worker results
2022-08-17 15:22:28 +01:00
Adam Brown a56a7adb46 including the worker failure message in the logs and including throwable class name 2022-08-17 15:18:05 +01:00
SpiritCroc bf7cf8ba7a Add back possibility to force allow bg sync for fdroid variant
You might want to be able to enable periodic background sync even when
push is enabled, if you have lots of muted rooms which don't trigger
notifications, in order to speed up startup time after a longer time.

Change-Id: Icc6dfe359531eb334d6862374d10f746edd8585e
2022-08-17 15:37:34 +02:00
Benoit Marty 6031c50313
Merge pull request #6857 from vector-im/feature/bma/DANGER_GITHUB_API_TOKEN
Try to fix Danger job
2022-08-17 15:15:17 +02:00
Benoit Marty 6c860710bd
Merge pull request #6843 from vector-im/feature/bma/detect_object_log
Fix some string template
2022-08-17 14:37:42 +02:00
Benoit Marty 520d6f9b97
Merge pull request #6854 from vector-im/dependabot/gradle/com.gabrielittner.threetenbp-lazythreetenbp-0.11.0
Bump lazythreetenbp from 0.10.0 to 0.11.0
2022-08-17 14:37:09 +02:00
Benoit Marty c5e601d726 Set GITHUB_TOKEN to let Danger be able to work on PR from forks. 2022-08-17 13:18:57 +02:00
phardyle d42b72c8bf Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-17 10:32:36 +00:00
Eric Decanini b6bcefbb92
Merge pull request #6795 from vector-im/feature/eric/toolbar-space-name
New App Layout: Space name reflected in toolbar
2022-08-17 10:52:07 +02:00
Eric Decanini 4fedafc1be
Merge pull request #6749 from vector-im/feature/eric/space-list-modal
Adds Space List Bottom Sheet
2022-08-17 10:51:56 +02:00
dependabot[bot] f0dc938fd0
Bump lazythreetenbp from 0.10.0 to 0.11.0
Bumps [lazythreetenbp](https://github.com/gabrielittner/lazythreetenbp) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/gabrielittner/lazythreetenbp/releases)
- [Changelog](https://github.com/gabrielittner/lazythreetenbp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gabrielittner/lazythreetenbp/compare/0.10.0...0.11.0)

---
updated-dependencies:
- dependency-name: com.gabrielittner.threetenbp:lazythreetenbp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-16 23:11:40 +00:00
Benoit Marty 27de9230b1 Ignore ktlint string-template. 2022-08-16 16:28:27 +02:00
Benoit Marty 446bf7e0aa changelog 2022-08-16 16:10:15 +02:00
Benoit Marty ea465a1b86 Fix false positive on string template suspicious usage. 2022-08-16 16:06:08 +02:00
Benoit Marty 6089d24409 Fix some string template issue. 2022-08-16 16:05:50 +02:00
Benoit Marty 6ac88a9420 Add a check on suspicious string template.
Especially we want to ensure that the app does not log unexpected content.
2022-08-16 16:05:40 +02:00
Adam Brown 74d99b156f
Merge pull request #6833 from vector-im/feature/adm/removing-login-poc
Removing `Login2` proof of concept
2022-08-16 13:02:40 +01:00
ericdecanini 8b0fba2ef5 Merge remote-tracking branch 'origin/develop' into feature/eric/space-list-modal
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt
2022-08-16 11:58:25 +02:00
Benoit Marty 680dc207c0
Merge pull request #6841 from vector-im/feature/bma/frozen_classes
Feature/bma/frozen classes
2022-08-16 11:53:39 +02:00
Benoit Marty 1389262c3f Let danger check for frozen classes 2022-08-16 11:41:30 +02:00
Benoit Marty 08fff48065 Revert "Simple check to prevent frozen class modificaiton"
This reverts commit 28ca03cc67.
2022-08-16 11:14:01 +02:00
Benoit Marty 8a4bd0c467
Merge pull request #6805 from vector-im/cgizard/ISSUE-6645
Add inputType for room name creation and settings
2022-08-16 11:05:57 +02:00
waclaw66 1f7196b8d5 Translated using Weblate (Czech)
Currently translated at 100.0% (73 of 73 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-08-16 07:32:37 +00:00
phardyle d9e440e7ee Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (2327 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-16 07:32:35 +00:00
waclaw66 9220ab7718 Translated using Weblate (Czech)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-08-16 07:32:35 +00:00
dependabot[bot] 6c767de148
Bump stem-plugin from 2.1.1 to 2.2.0
Bumps [stem-plugin](https://github.com/LikeTheSalad/android-stem) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/LikeTheSalad/android-stem/releases)
- [Changelog](https://github.com/LikeTheSalad/android-stem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/LikeTheSalad/android-stem/compare/2.1.1...2.2.0)

---
updated-dependencies:
- dependency-name: com.likethesalad.android:stem-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 23:09:41 +00:00
Onuray Sahin 6c65b0a9e0
Merge pull request #6807 from vector-im/feature/mna/device-management-header-list
[Devices Management] Header view for sessions lists in new layout (PSG-668)
2022-08-15 23:09:53 +03:00
Adam Brown 497a6e7406 removing unused imports 2022-08-15 14:52:59 +01:00
Adam Brown b152910f9c adding changelog entry 2022-08-15 14:12:42 +01:00
Onuray Sahin d92cf04b6f Fix string resource. 2022-08-15 15:33:42 +03:00
Onuray Sahin 54d8c9de48 Remove unnecessary background color. 2022-08-15 15:19:49 +03:00
Adam Brown 4ed8fe0be8 lifting the login buttons view state to a dedicated model to make the fallback more obvious
- Updates tests to take into account the fallback case
2022-08-15 13:00:13 +01:00
Adam Brown b64c756a23 showing SSO auth view when the SSO providers are null
- this is a valid case where we show a fallback option instead
2022-08-15 12:05:56 +01:00
Adam Brown 314b077fbd adding changelog entry 2022-08-15 11:58:04 +01:00
Adam Brown d365ccdc21 removing unused login2 resources 2022-08-15 11:51:13 +01:00
Adam Brown 19261ab2d0 removing login2 classes 2022-08-15 11:51:13 +01:00
bmarty ecfa7db07d Sync Emojis 2022-08-15 00:03:34 +00:00
Linerly b04d338f26 Translated using Weblate (Indonesian)
Currently translated at 100.0% (73 of 73 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-08-13 17:32:41 +00:00
random 9281f5564e Translated using Weblate (Italian)
Currently translated at 100.0% (73 of 73 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-08-13 17:32:39 +00:00
lvre b14aed43b8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (73 of 73 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-08-13 17:32:38 +00:00
Nui Harime 44cfa5dcb0 Translated using Weblate (Russian)
Currently translated at 99.0% (2309 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-08-13 17:32:36 +00:00
lvre 302c084701 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-08-13 17:32:36 +00:00
random 557508c7b5 Translated using Weblate (Italian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-08-13 17:32:36 +00:00
Linerly 6b26e00dd8 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-08-13 17:32:35 +00:00
Szimszon 17ac9f3b57 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-08-13 17:32:35 +00:00
Auri B. P 959a833c23 Translated using Weblate (Catalan)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-08-13 17:32:34 +00:00
SpiritCroc bd5f011c0e Fix crash on incoming share throwing SecurityException
Tested with org.mozilla.fennec_fdroid Version 103.1.0 (1031020) when
sharing to quick contacts.

Change-Id: Ie66e5945aa85fe309b1cfc42d7bad61675a1b4b8
2022-08-13 11:06:57 +02:00
SpiritCroc 772ac44994 Improve inline image sizing
- Use width/height parameters as density-aware pixels
- Do not overwrite measures to fix huge image crashes, but use max
  measures instead

Change-Id: I8ac4cca239c15e04814fe5b10a6300bdd47ded7c
2022-08-13 10:58:38 +02:00
Florian Renaud 62f7b40a3e Add changelog entry 2022-08-12 13:10:49 +02:00
Florian Renaud 9eb6969456 Use Content models in CreateRoomBodyBuilder 2022-08-12 13:10:49 +02:00