1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-06 00:02:48 +02:00

Compare commits

...

2997 Commits

Author SHA1 Message Date
Amit Kumar
0e61f6f8f8 Merge branch 'feature/bca/rust_flavor' into feature/amitkma/rust_flavor 2022-12-12 18:24:11 +05:30
Amit Kumar
751aff2d12 Don't dismiss bottomsheet if verification is required 2022-12-12 18:05:30 +05:30
valere
438b456f8e quick incremental backup support 2022-12-08 22:53:16 +01:00
valere
4766bc709d Fix: ER showing shields in clear rooms 2022-12-08 18:06:05 +01:00
valere
bfe6207a63 Fix crash when no ER migration needed 2022-12-08 14:44:48 +01:00
valere
2bc0f6c089 use lfs for rust aar lib 2022-12-08 13:54:40 +01:00
valere
14cee226c5 Merge branch 'develop' into feature/bca/rust_flavor 2022-12-08 13:37:43 +01:00
jonnyandrew
de18f37849 [Rich text editor] Add error tracking for rich text editor (#7695) 2022-12-08 11:43:19 +00:00
valere
d3ef5cc230 Merge olm to Rust migration 2022-12-08 11:59:46 +01:00
dependabot[bot]
72ecd1bbc9 Bump kotlin-gradle-plugin from 1.7.21 to 1.7.22 (#7664)
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.7.21 to 1.7.22.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 10:51:20 +01:00
ganfra
ceec2018a7 Merge pull request #7686 from vector-im/dependabot/gradle/com.facebook.soloader-soloader-0.10.5
Bump soloader from 0.10.4 to 0.10.5
2022-12-07 20:24:13 +01:00
Benoit Marty
7d31cc9f55 Merge pull request #7730 from vector-im/dependabot/gradle/io.element.android-wysiwyg-0.9.0
Bump wysiwyg from 0.8.0 to 0.9.0
2022-12-07 18:14:05 +01:00
Maxime NATUREL
c580090f20 Merge pull request #7707 from vector-im/feature/mna/rename-and-signout-action-current-session
[Session manager] Add actions to rename and signout current session (PSG-885)
2022-12-07 16:16:44 +01:00
Valere
01533db4e0 Merge pull request #7713 from vector-im/feature/bca/to_device_tracing
add to device tracing id
2022-12-07 16:16:20 +01:00
Benoit Marty
6c94f1cd52 Quick tweak on the release script. 2022-12-07 15:50:26 +01:00
Amit Kumar
17d25e2597 Enable reset all and skip options (#7721)
* Dismiss bottomsheet on skipping verification

* Enable reset all and skip options

* Change ResetAll bottomsheet event to no-op for user verification

* Fix strings and improve state step logic in SharedSecureStorageViewModel
2022-12-07 19:40:22 +05:30
Maxime NATUREL
a44c8dfca3 Renaming a method to avoid confusion 2022-12-07 15:10:21 +01:00
Benoit Marty
d0b1a7bfd1 Merge pull request #7723 from vector-im/feature/bma/disableNightlyPopup
Disable nightly popup
2022-12-07 15:01:09 +01:00
Benoit Marty
c9c5483d22 Changelog 2022-12-07 14:10:23 +01:00
Benoit Marty
03440307ce Merge branch 'hotfix/1.5.11' into develop 2022-12-07 14:03:48 +01:00
Benoit Marty
242ef518b2 Merge hotfix 1.5.11 into develop (the fix is already on develop) 2022-12-07 14:03:08 +01:00
Benoit Marty
3132a7d463 Towncrier 1.5.11 2022-12-07 13:59:42 +01:00
Benoit Marty
a0bba91d67 Fastlane file for hotfix 1.5.11 2022-12-07 13:58:51 +01:00
Benoit Marty
6c84668611 Hotfix 1.5.11 2022-12-07 13:58:02 +01:00
Benoit Marty
53b703dcaf Changelog 2022-12-07 13:55:42 +01:00
Benoit Marty
1acd8e1049 Do not propagate failure if saving the filter server side fails. This will be retried later. 2022-12-07 13:55:18 +01:00
Benoit Marty
4a5f4849e5 Merge pull request #7725 from vector-im/feature/bma/filterCrash
Do not propagate failure if saving the filter server side fails
2022-12-07 13:54:57 +01:00
Benoit Marty
11dded71ec Changelog 2022-12-07 13:54:20 +01:00
Amit Kumar
d2966fc3d5 Fix strings and improve state step logic in SharedSecureStorageViewModel 2022-12-07 17:05:53 +05:30
ganfra
440944decb Merge pull request #7669 from vector-im/dependabot/gradle/com.google.devtools.ksp-1.7.22-1.0.8
Bump com.google.devtools.ksp from 1.7.21-1.0.8 to 1.7.22-1.0.8
2022-12-07 11:43:05 +01:00
dependabot[bot]
9bbecbeed3 Bump wysiwyg from 0.8.0 to 0.9.0
Bumps [wysiwyg](https://github.com/matrix-org/matrix-wysiwyg) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/matrix-org/matrix-wysiwyg/releases)
- [Changelog](https://github.com/matrix-org/matrix-rich-text-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/matrix-org/matrix-wysiwyg/compare/0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: io.element.android:wysiwyg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 23:02:30 +00:00
Benoit Marty
988afa4ebe Fix FDroid build 2022-12-06 18:21:07 +01:00
valere
6965c0c5ab move app_name to xml res 2022-12-06 18:11:31 +01:00
dependabot[bot]
a6752a0cf1 Bump com.google.devtools.ksp from 1.7.21-1.0.8 to 1.7.22-1.0.8
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 1.7.21-1.0.8 to 1.7.22-1.0.8.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/1.7.21-1.0.8...1.7.22-1.0.8)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 16:10:25 +00:00
Benoit Marty
b9eb271aff Merge pull request #7712 from vector-im/feature/bma/startServiceApi
Use the latest startForeground API
2022-12-06 17:05:07 +01:00
Florian Renaud
3b3947d046 Merge pull request #7677 from vector-im/dependabot/gradle/com.autonomousapps.dependency-analysis-1.17.0
Bump com.autonomousapps.dependency-analysis from 1.16.0 to 1.17.0
2022-12-06 17:04:58 +01:00
valere
63d2886415 use msgid in logs for consistency 2022-12-06 16:07:24 +01:00
Onuray Sahin
f76a6de10d Merge pull request #7710 from vector-im/feature/ons/fix_unknown_shield_icon_in_room
Fix usage of unknown shield in room summary (PSG-1019)
2022-12-06 17:51:04 +03:00
valere
8646cc441d do not add tracing ids to verification events 2022-12-06 15:30:06 +01:00
Benoit Marty
ae93c07597 Do not propagate failure if saving the filter server side fails. This will be retried later. 2022-12-06 15:01:47 +01:00
Maxime NATUREL
6f0a95b828 Merge pull request #7692 from vector-im/feature/mna/listen-notification-account-data
Update notifications setting when m.local_notification_settings.<device-id> event changes for current device (PSG-874)
2022-12-06 14:12:01 +01:00
Benoit Marty
0d12dbbe7e Disable the Nightly popup, user registration (with updateIfNewReleaseAvailable()) to get upgrade does not work.
Add a nightly build section in the preferences to manually try to upgrade.
2022-12-06 12:51:46 +01:00
Benoit Marty
a65e13970d appdistribution is only for nightly builds, not necessary for gplay (prod) builds. 2022-12-06 12:22:50 +01:00
Onuray Sahin
4cd4cf1c51 Code review fix. 2022-12-06 14:06:14 +03:00
Amit Kumar
2f30718489 Change ResetAll bottomsheet event to no-op for user verification 2022-12-06 16:11:14 +05:30
Amit Kumar
976cc4852f Enable reset all and skip options 2022-12-06 16:07:17 +05:30
Amit Kumar
329a9973df Dismiss bottomsheet on skipping verification 2022-12-06 16:07:17 +05:30
valere
139eb1708c fix uncheck cast warning 2022-12-06 08:17:31 +01:00
valere
2ed212aa11 Fix copyright 2022-12-05 18:30:38 +01:00
valere
f2952f2dee add to device tracing id 2022-12-05 18:15:55 +01:00
Maxime NATUREL
b5f6dc0034 Merge pull request #7696 from vector-im/feature/mna/signout-all-other-sessions
[Session manager] Add action to signout all the other session (PSG-888)
2022-12-05 17:50:14 +01:00
Maxime NATUREL
7b830d1c1a Renaming a use case 2022-12-05 17:40:38 +01:00
Maxime NATUREL
a12c640984 Merge pull request #7630 from vector-im/feature/mna/remote-notification-toggle-account-data
Save m.local_notification_settings.<device-id> event in account_data (PSG-873)
2022-12-05 16:58:51 +01:00
Maxime NATUREL
a2f8fed63c Merge pull request #7675 from vector-im/fix/mna/unified-push-selection
ANR when asking to select the notification method
2022-12-05 16:58:09 +01:00
Benoit Marty
febf01a2e6 Use the API startForeground(int id, @NonNull Notification notification, @ForegroundServiceType int foregroundServiceType) when available.
Add missing android:foregroundServiceType in the manifest
2022-12-05 16:36:31 +01:00
Onuray Sahin
32ded289fc Add changelog. 2022-12-05 18:18:09 +03:00
Onuray Sahin
516103e51b Fix usage of unknown shield in room summary. 2022-12-05 18:10:22 +03:00
Maxime NATUREL
a00508e085 Removing unused import 2022-12-05 14:12:00 +01:00
Maxime NATUREL
57554c5d36 Handling signout current session action 2022-12-05 14:10:56 +01:00
Benoit Marty
201873f5a7 Merge pull request #7700 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-12-05 14:06:49 +01:00
Benoit Marty
a6904d2604 Merge pull request #7689 from vector-im/feature/bma/pills_color
Fix bad pills color background.
2022-12-05 14:05:44 +01:00
valere
cba3c270f5 Reduce room list placeholder lags 2022-12-05 13:47:21 +01:00
valere
0953bc944d Fix test compilation | rust / crypto missing api 2022-12-05 13:46:35 +01:00
valere
adacd55a05 Fix backup authdata serialization 2022-12-05 13:45:58 +01:00
Maxime NATUREL
540758d66b Navigate to rename session screen from current session menu 2022-12-05 10:43:56 +01:00
dependabot[bot]
7e0a597c65 Bump wysiwyg from 0.7.0.1 to 0.8.0 (#7666)
Bumps [wysiwyg](https://github.com/matrix-org/matrix-wysiwyg) from 0.7.0.1 to 0.8.0.
- [Release notes](https://github.com/matrix-org/matrix-wysiwyg/releases)
- [Changelog](https://github.com/matrix-org/matrix-rich-text-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/matrix-org/matrix-wysiwyg/commits/0.8.0)

---
updated-dependencies:
- dependency-name: io.element.android:wysiwyg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 09:42:20 +00:00
Maxime NATUREL
bbc756136c Adding the rename and signout actions in the menu 2022-12-05 10:26:07 +01:00
dependabot[bot]
b4792c8a59 Bump leakcanary-android from 2.9.1 to 2.10 (#7570) 2022-12-05 10:20:02 +01:00
Benoit Marty
b8023d66de Fix formatting 2022-12-05 09:57:02 +01:00
Maxime NATUREL
c12af5a800 Listening changes on notifications enabled preference to update the UI in settings 2022-12-05 09:46:14 +01:00
Maxime NATUREL
9fbfe82044 Fix observation of the notification status for the current session 2022-12-05 09:46:14 +01:00
Maxime NATUREL
18ab8a1279 Adding changelog entry 2022-12-05 09:46:14 +01:00
Maxime NATUREL
635f975b6c Fix missing unregister of pusher when notifications are disabled 2022-12-05 09:43:57 +01:00
Maxime NATUREL
e09b9a2ce0 Fixing wrong notification status when no registered pusher for the session 2022-12-05 09:43:57 +01:00
Maxime NATUREL
b78de15228 Adding unit tests for new toggle notification for current session use case 2022-12-05 09:43:57 +01:00
Maxime NATUREL
5248a69fe2 Updating existing unit tests 2022-12-05 09:43:57 +01:00
Maxime NATUREL
06681fd115 Removing listening on background sync preference 2022-12-05 09:43:57 +01:00
Maxime NATUREL
3f5147ddce Fixing the toggle notifications use case for current session 2022-12-05 09:43:57 +01:00
Maxime NATUREL
8973f3892a Fixing unit tests after rebase 2022-12-05 09:43:57 +01:00
Maxime NATUREL
9dff4ff949 Fixing import order after rebase 2022-12-05 09:43:57 +01:00
Maxime NATUREL
68d00e00d1 Fix method used to check if background sync is enabled 2022-12-05 09:43:56 +01:00
Maxime NATUREL
a2ae3af69d Removing unused imports 2022-12-05 09:43:56 +01:00
Maxime NATUREL
7c10a4cb21 Adding tests for notifications setting updater 2022-12-05 09:43:56 +01:00
Maxime NATUREL
637961bbb1 Update related account data event on notification method change 2022-12-05 09:43:56 +01:00
Maxime NATUREL
e99dc1d163 Remove unused parameters from some ViewModel 2022-12-05 09:43:56 +01:00
Maxime NATUREL
ab6a6b53c8 Some refactorings + update unit tests 2022-12-05 09:43:56 +01:00
Maxime NATUREL
7c51174d7e Renaming some use cases to be consistent 2022-12-05 09:43:56 +01:00
Maxime NATUREL
14b21dc039 Adding use cases to create and delete notifications settings in account data 2022-12-05 09:43:56 +01:00
Maxime NATUREL
b163b42d3d Use new sub usecase in the TogglePushNotificationUseCase 2022-12-05 09:43:56 +01:00
Maxime NATUREL
81c64503f2 Adding SetNotificationSettingsAccountDataUseCase 2022-12-05 09:43:56 +01:00
Maxime NATUREL
c56eb331db Update use cases to enable/disable push notifications for the current session 2022-12-05 09:43:56 +01:00
Maxime NATUREL
9d684bc021 Check if account data has content to decide if push notifications can be toggled using account data 2022-12-05 09:43:56 +01:00
Maxime NATUREL
0c6781e9ef Adding changelog entry 2022-12-05 09:43:55 +01:00
Maxime NATUREL
f8c59f6b0c Removing unused import 2022-12-05 09:42:03 +01:00
Maxime NATUREL
d31652e910 Adding unit tests for settings ViewModel 2022-12-05 09:42:03 +01:00
Maxime NATUREL
e78e192853 Adding unit tests for FCM token retrieval 2022-12-05 09:42:03 +01:00
Maxime NATUREL
2a8c72bdcf Fixing code style issues 2022-12-05 09:42:03 +01:00
Maxime NATUREL
46ccf4d73f Adding unit tests for register and unregister use cases 2022-12-05 09:42:01 +01:00
Maxime NATUREL
a3815d7012 Update unit tests 2022-12-05 09:41:24 +01:00
Maxime NATUREL
aa3a808d2c Do not ask to select push distributor in home if notifications are disabled 2022-12-05 09:41:24 +01:00
Maxime NATUREL
740ed89638 Removing the old methods from helper 2022-12-05 09:41:24 +01:00
Maxime NATUREL
2673979ef8 Handling change of notification method 2022-12-05 09:41:24 +01:00
Maxime NATUREL
95556d2551 Change the distributor in dialog cancellation only if there is no existing one 2022-12-05 09:41:24 +01:00
Maxime NATUREL
3f944e9d36 Extracting the logic to toggle notifications for device into a ViewModel 2022-12-05 09:41:24 +01:00
Maxime NATUREL
b29191e892 Using use cases inside component for endpoint testing 2022-12-05 09:41:24 +01:00
Maxime NATUREL
58efe90f7d Removing some debug logs 2022-12-05 09:41:23 +01:00
Maxime NATUREL
2890f41f30 Replacing unregister method by usecase 2022-12-05 09:41:23 +01:00
Maxime NATUREL
4dbca7858c Adding new use cases to handle the Unified push registration 2022-12-05 09:41:23 +01:00
Maxime NATUREL
9456789047 Adding changelog entry 2022-12-05 09:41:23 +01:00
valere
c0614a9fb6 fix CI concurrency 2022-12-04 11:16:25 +01:00
valere
ea37029631 Merge branch 'develop' into feature/bca/rust_flavor 2022-12-04 11:13:46 +01:00
valere
a20fd453d9 fix CI exodus/gplay 2022-12-04 10:34:41 +01:00
Onuray Sahin
34d29dc9d7 Merge pull request #7694 from vector-im/feature/ons/unverified_sessions_alert
Remind unverified sessions with a banner once a week (PSG-892)
2022-12-03 14:23:10 +03:00
valere
03379a6636 Merge branch 'develop' into feature/bca/rust_flavor 2022-12-03 11:15:46 +01:00
Weblate
19982e8d77 Merge branch 'origin/develop' into Weblate. 2022-12-03 06:33:28 +00:00
Linerly
70e9f13ec2 Translated using Weblate (Indonesian)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-12-03 06:33:27 +00:00
waclaw66
58d10e901e Translated using Weblate (Czech)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-12-03 06:33:25 +00:00
Jeff Huang
61eb0d6b44 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-12-03 06:33:22 +00:00
Priit Jõerüüt
10d03e16af Translated using Weblate (Estonian)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-12-03 06:33:20 +00:00
Ihor Hordiichuk
873fa2a210 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-12-03 06:33:18 +00:00
Jozef Gaal
098dee1aa7 Translated using Weblate (Slovak)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-12-03 06:33:16 +00:00
Vri
6d1f9408c8 Translated using Weblate (German)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-12-03 06:33:13 +00:00
phardyle
53ef97d949 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (2550 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-12-03 06:33:11 +00:00
Onuray Sahin
980d59ab58 Fix lint. 2022-12-02 21:21:12 +03:00
valere
ae9711b7d1 Basic sentry e2e reporting for rust + decrypt trust 2022-12-02 18:24:23 +01:00
Maxime NATUREL
b8ab1b5620 Adding changelog entry 2022-12-02 17:35:13 +01:00
Maxime NATUREL
efc436c3f5 Hide the action when there are no other sessions 2022-12-02 17:17:44 +01:00
Maxime NATUREL
2b8dc13dca Adding listener on the new menu item 2022-12-02 17:11:10 +01:00
Maxime NATUREL
62e2f06e2a Adding menu for current session header 2022-12-02 17:08:29 +01:00
Benoit Marty
ab43f4cf14 Add snapshot test for room item 2022-12-02 17:06:48 +01:00
Onuray Sahin
f576f83339 Add changelog. 2022-12-02 19:02:55 +03:00
Maxime NATUREL
e857407bc1 Adding changelog entry 2022-12-02 16:50:46 +01:00
Benoit Marty
6f934e2d49 Extract paparazzi rule creation 2022-12-02 16:50:45 +01:00
Onuray Sahin
4050975a19 Implement new logic for new login banner. 2022-12-02 18:15:10 +03:00
valere
2ae4b87f2f fix CI 2022-12-02 15:49:32 +01:00
valere
b9045eb25f ktlint 2022-12-02 12:43:05 +01:00
valere
cb4720f6d5 CI update for ER 2022-12-02 12:40:48 +01:00
valere
e6444fe9c0 enable analytics by default on nightly 2022-12-02 12:39:13 +01:00
valere
17b8d3c97b fix unhandled exceptions and cleaning 2022-12-02 12:38:12 +01:00
Benoit Marty
310ea99c44 Fix bad pills color background. For light and dark theme the color is now 61708B (iso EleWeb) 2022-12-02 10:50:08 +01:00
Benoit Marty
75fabb1b0d Merge pull request #7684 from vector-im/feature/bma/fix_onboarding_crash
Fix crash when invalid url is entered #7672
2022-12-02 09:55:19 +01:00
jonnyandrew
20b1eaba9e Fix crash in message composer when room is missing (#7683)
This error was seen before but has been reintroduced during refactoring.
- see https://github.com/vector-im/element-android/pull/6978
2022-12-02 08:41:33 +00:00
Maxime NATUREL
4c58cc877f Merge pull request #7688 from vector-im/dependabot/gradle/flipper-0.176.0
Bump flipper from 0.175.0 to 0.176.0
2022-12-02 09:29:42 +01:00
dependabot[bot]
f0ad75a2b7 Bump flipper from 0.175.0 to 0.176.0
Bumps `flipper` from 0.175.0 to 0.176.0.

Updates `flipper` from 0.175.0 to 0.176.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.175.0...v0.176.0)

Updates `flipper-network-plugin` from 0.175.0 to 0.176.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.175.0...v0.176.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 23:03:43 +00:00
dependabot[bot]
b70370b217 Bump soloader from 0.10.4 to 0.10.5
Bumps [soloader](https://github.com/facebook/soloader) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/facebook/soloader/releases)
- [Commits](https://github.com/facebook/soloader/commits)

---
updated-dependencies:
- dependency-name: com.facebook.soloader:soloader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 23:02:57 +00:00
Benoit Marty
ca34b29b20 Merge pull request #7685 from vector-im/chore/move-changelog-entry
Move changelog entry to correct directory
2022-12-01 18:25:19 +01:00
Jonny Andrew
c12906971a Move changelog entry to correct dir 2022-12-01 17:15:23 +00:00
Benoit Marty
b6aae0c7c1 Add unit test for canLoginWithQrCode = true 2022-12-01 17:51:44 +01:00
Benoit Marty
381103383e Fix unit tests. 2022-12-01 17:44:12 +01:00
Benoit Marty
d580d4cdb6 Read sensible data from the env and do not rely to an external script anymore. 2022-12-01 17:17:22 +01:00
valere
b0168dc633 fix compilation rust 2022-12-01 16:08:01 +01:00
valere
a110c9ee50 fix moshi number parsing for rust 2022-12-01 16:07:28 +01:00
Benoit Marty
d96ff6e527 Changelog 2022-12-01 15:38:31 +01:00
Benoit Marty
341967bf3c Fix crash when invalid url is entered #7672 2022-12-01 15:25:54 +01:00
jonnyandrew
da5db0ed15 [Rich text editor] Fix keyboard closing after collapsing rich text editor (#7659) 2022-12-01 13:39:01 +00:00
Florian Renaud
c20500ab7a Merge pull request #7590 from vector-im/dependabot/gradle/com.adevinta.android-barista-4.3.0
Bump barista from 4.2.0 to 4.3.0
2022-12-01 14:34:53 +01:00
Jorge Martin Espinosa
0c11778d33 Rich Text Editor: fix several inset issues in room screen (#7681) 2022-12-01 10:26:55 +00:00
Benoit Marty
c8a73a6ac8 Merge pull request #7477 from vector-im/task/langleyd/migrate-rich-text_label
Add Z-Labs label for rich text editor and migrate to new label naming
2022-12-01 11:13:12 +01:00
Benoit Marty
79e8c5f38c Merge pull request #7649 from vector-im/gradlew-update-7.6
Update Gradle Wrapper from 7.5.1 to 7.6
2022-12-01 11:04:08 +01:00
Weblate
d2ab9a2515 Merge branch 'origin/develop' into Weblate. 2022-12-01 09:52:06 +00:00
Besnik Bleta
56715f13d4 Translated using Weblate (Albanian)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sq/
2022-12-01 09:52:06 +00:00
Jeff Huang
a57162cf83 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2558 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-12-01 09:52:04 +00:00
Ihor Hordiichuk
571d1a4816 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2558 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-12-01 09:52:03 +00:00
Besnik Bleta
b759f40c13 Translated using Weblate (Albanian)
Currently translated at 99.3% (2541 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-12-01 09:52:03 +00:00
Jozef Gaal
3d84a999e0 Translated using Weblate (Slovak)
Currently translated at 100.0% (2558 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-12-01 09:52:02 +00:00
random
05e6a59a86 Translated using Weblate (Italian)
Currently translated at 100.0% (2558 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-12-01 09:52:02 +00:00
Linerly
ab1db4de68 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2558 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-12-01 09:52:01 +00:00
Glandos
1c7f789928 Translated using Weblate (French)
Currently translated at 100.0% (2558 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-12-01 09:52:01 +00:00
Danial Behzadi
27acb198ab Translated using Weblate (Persian)
Currently translated at 99.7% (2551 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-12-01 09:52:01 +00:00
Priit Jõerüüt
c6ed280a6f Translated using Weblate (Estonian)
Currently translated at 99.6% (2550 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-12-01 09:52:00 +00:00
Vri
a0528fe0ce Translated using Weblate (German)
Currently translated at 100.0% (2558 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-12-01 09:52:00 +00:00
waclaw66
279756bdfb Translated using Weblate (Czech)
Currently translated at 100.0% (2558 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-12-01 09:51:59 +00:00
Maxime NATUREL
d5f279ed8b Merge pull request #7678 from vector-im/dependabot/gradle/flipper-0.175.0
Bump flipper from 0.174.0 to 0.175.0
2022-12-01 10:07:11 +01:00
dependabot[bot]
e4212bd7db Bump flipper from 0.174.0 to 0.175.0
Bumps `flipper` from 0.174.0 to 0.175.0.

Updates `flipper` from 0.174.0 to 0.175.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.174.0...v0.175.0)

Updates `flipper-network-plugin` from 0.174.0 to 0.175.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.174.0...v0.175.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-30 23:03:13 +00:00
dependabot[bot]
d1cef1bc5c Bump com.autonomousapps.dependency-analysis from 1.16.0 to 1.17.0
Bumps com.autonomousapps.dependency-analysis from 1.16.0 to 1.17.0.

---
updated-dependencies:
- dependency-name: com.autonomousapps.dependency-analysis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-30 23:02:20 +00:00
valere
43421e3eb9 update doc 2022-11-30 19:09:13 +01:00
valere
304989f79c Fix copyrights 2022-11-30 18:15:42 +01:00
valere
9fbc0cdd46 fix compilation 2022-11-30 16:20:02 +01:00
valere
6e371b7d2d code quality 2022-11-30 16:01:11 +01:00
valere
b3d8b1527c cleaning 2022-11-30 15:14:31 +01:00
dependabot[bot]
b699e9db3a Bump sentry-android from 6.7.0 to 6.9.0 (#7668)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.7.0 to 6.9.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/6.9.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.7.0...6.9.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 13:58:28 +01:00
Benoit Marty
0868686caa Release script: Send message to Android Room 2022-11-30 12:54:48 +01:00
Benoit Marty
714f8b3a75 Release script: Improve release script again. 2022-11-30 12:54:40 +01:00
Benoit Marty
8cf8852aae Release script: Update last part of the script 2022-11-30 12:54:26 +01:00
valere
dd991e759e update workflow 2022-11-30 12:16:07 +01:00
valere
501625c19d post rebase fix rust flavor 2022-11-30 12:10:34 +01:00
valere
a9b970832e Merge branch 'develop' into feature/bca/rust_flavor 2022-11-30 11:05:32 +01:00
Benoit Marty
52477aa9d5 version++ 2022-11-30 11:03:58 +01:00
Benoit Marty
8c111fea13 Merge branch 'release/1.5.10' into main 2022-11-30 10:59:49 +01:00
Benoit Marty
02542950c8 Merge branch 'release/1.5.10' into develop 2022-11-30 10:59:48 +01:00
Benoit Marty
0844310e57 Merge branch 'release/1.5.10' into main 2022-11-30 10:51:55 +01:00
Benoit Marty
a656b00329 Adding fastlane file for version 1.5.10 2022-11-30 10:50:06 +01:00
Benoit Marty
d447d809f7 Changelog for version 1.5.10 2022-11-30 10:46:58 +01:00
Benoit Marty
eb7154d42c Remove the obsolete description of the attribute. 2022-11-30 10:25:21 +01:00
dependabot[bot]
a73fe9585f Bump danger/danger-js from 11.1.4 to 11.2.0 (#7584)
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.1.4 to 11.2.0.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.1.4...11.2.0)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 09:15:18 +00:00
dependabot[bot]
b58050f496 Bump kotlin-reflect from 1.7.21 to 1.7.22 (#7665)
Bumps [kotlin-reflect](https://github.com/JetBrains/kotlin) from 1.7.21 to 1.7.22.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 09:13:47 +00:00
Benoit Marty
b0029f2dd3 Release script: Check if git flow is enabled 2022-11-30 10:07:55 +01:00
Benoit Marty
93a34d953f Release script: Fix script error 2022-11-30 10:07:49 +01:00
jonnyandrew
31a1b09e34 [Rich text editor] Fix design and spacing of rich text editor (#7658)
Improve design and spacing of the rich text editor.

Minor changes to
 - position of input field relative to buttons
 - spacing around attachments button
 - spacing around send button
 - selectable backgrounds
2022-11-30 09:00:37 +00:00
valere
bb16d77ec6 fix QR verification 2022-11-30 00:10:46 +01:00
Weblate
60dff395ca Merge branch 'origin/develop' into Weblate. 2022-11-29 21:33:15 +00:00
LinAGKar
4a70ea8518 Translated using Weblate (Swedish)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sv/
2022-11-29 21:33:12 +00:00
Ihor Hordiichuk
b3ffc4d76c Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-11-29 21:33:10 +00:00
LinAGKar
1c0fe56329 Translated using Weblate (Swedish)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-11-29 21:33:10 +00:00
lvre
c5fe9d4a18 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-11-29 21:33:09 +00:00
Florian Renaud
4b3e36da91 Merge pull request #7656 from vector-im/feature/fre/voice_broadcast_room_attachments
[Voice Broadcast] Remove chunks from the room attachments
2022-11-29 17:43:42 +01:00
Florian Renaud
5560694f54 Merge pull request #7655 from vector-im/feature/fre/voice_broadcast_buffering
[Voice Broadcast] Update buffering display and improve playback
2022-11-29 17:43:21 +01:00
Florian Renaud
1415504f84 Rename view ids 2022-11-29 14:32:05 +01:00
Florian Renaud
42b3ecc0b6 Fix pause/resume playback not working correctly 2022-11-29 14:13:46 +01:00
valere
f8d6511c59 rust sas state mapping 2022-11-29 11:22:21 +01:00
valere
fb1995e9c9 only check moshi numbers for rust-sdk 2022-11-29 11:21:54 +01:00
Benoit Marty
537331ccf6 Merge pull request #7488 from kinote/feat-2725-optional-direct-share
Add setting to allow disabling direct share
2022-11-29 11:19:44 +01:00
Florian Renaud
6bdf237cc9 Fix playback not in buffering if waiting for new chunks 2022-11-29 10:54:31 +01:00
Florian Renaud
9ab2d1afb0 Fix thumb cropped 2022-11-29 10:50:31 +01:00
Florian Renaud
559af32ab6 Merge pull request #7646 from vector-im/bugfix/fre/fix_playback_stuck_in_buffering
Voice Broadcast - Fix playback stuck in buffering
2022-11-29 09:59:08 +01:00
Florian Renaud
d6fd32b5a0 Merge pull request #7629 from vector-im/feature/fre/voice_broadcast_handle_event_deletion
Voice Broadcast - Handle event deletion when listening or recording
2022-11-29 09:51:11 +01:00
Florian Renaud
f8881638f9 Changelog 2022-11-29 01:49:50 +01:00
Florian Renaud
471bf853c8 Remove voice broadcast chunks from the room attachments list 2022-11-29 01:41:31 +01:00
Florian Renaud
7b4c165033 Changelog 2022-11-29 01:22:39 +01:00
Florian Renaud
9458276a4e Change seekBar and duration colors to secondary 2022-11-29 01:12:18 +01:00
Florian Renaud
0dbbfab97d Remove seekBar padding 2022-11-29 01:12:18 +01:00
Florian Renaud
12a86e7d29 Reduce tiles padding 2022-11-29 01:12:18 +01:00
Florian Renaud
912de8286f Move buffering view in tile header 2022-11-29 01:12:18 +01:00
Florian Renaud
fe0bca75f8 Change log level 2022-11-29 00:59:45 +01:00
valere
d9342707fd update rust-sdk bindings 2022-11-28 21:48:46 +01:00
Nikita Fedrunov
46fc0ac563 ignore push for a thread if it's currently visible to user (#7641) 2022-11-28 17:29:30 +01:00
Florian Renaud
a4255525e0 Changelog 2022-11-28 17:25:45 +01:00
Florian Renaud
c2d5908542 Stop playback if live broadcast has ended and there is no more chunk to listen 2022-11-28 17:25:45 +01:00
Florian Renaud
4be954eeeb Voice Broadcast - Fix (live) playback stuck in buffering after receiving new chunk 2022-11-28 17:25:45 +01:00
Florian Renaud
9840731778 Add todo for missing unit test 2022-11-28 16:15:07 +01:00
Florian Renaud
620bebc3a3 Rewrite condition for better clarity 2022-11-28 16:08:15 +01:00
Florian Renaud
aa53105f17 improve flow stream 2022-11-28 13:58:00 +01:00
Florian Renaud
4427156f0b Restore trailing comma 2022-11-28 13:58:00 +01:00
Florian Renaud
9dba6d7c8c Fix issue on live playback detection 2022-11-28 13:58:00 +01:00
Florian Renaud
d092c83774 Fix wrong sequence number in stopped state event content 2022-11-28 13:58:00 +01:00
Florian Renaud
a2dee2193a Fix bad condition 2022-11-28 13:58:00 +01:00
Florian Renaud
023326a20d Do not wait for state event feedback for pause/stop actions on the recorder 2022-11-28 13:58:00 +01:00
Florian Renaud
3ebcd8c1f4 changelog 2022-11-28 13:58:00 +01:00
Florian Renaud
763b60ee6b Update voice broadcast recorder according to the most recent voice broadcast state event 2022-11-28 13:58:00 +01:00
Florian Renaud
f436de1230 Handle voice broadcast deletion on listener side 2022-11-28 13:57:59 +01:00
Florian Renaud
2d60e49205 Handle redaction when observing voice broadcast state changes 2022-11-28 13:57:59 +01:00
Florian Renaud
49199bd5e2 Merge pull request #7611 from vector-im/feature/fre/voice_broadcast_deletion
Be less restritive when pruning redacted events
2022-11-28 13:57:40 +01:00
Benoit Marty
d04e2b0f82 Trigger CI 2022-11-28 12:40:17 +01:00
Florian Renaud
ee22dafbc9 Fix regression when getting last message content for Voice Broadcast state event 2022-11-28 12:14:31 +01:00
Florian Renaud
dd81584076 Ad default value to MessageStickerContent.body in case of redaction 2022-11-28 12:12:49 +01:00
Benoit Marty
ef84e6b78c Merge pull request #7648 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.13.1
Bump libphonenumber from 8.13.0 to 8.13.1
2022-11-28 10:14:58 +01:00
Benoit Marty
3f2b5e9d12 Merge pull request #7647 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-11-28 10:03:03 +01:00
Nikita Fedrunov
5aeca1f81a saving sync filter changed (#7627) 2022-11-28 09:48:28 +01:00
gradle-update-robot
d7dc5c812e Update Gradle Wrapper from 7.5.1 to 7.6.
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2022-11-27 00:26:10 +00:00
dependabot[bot]
e28f0d0713 Bump libphonenumber from 8.13.0 to 8.13.1
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.13.0 to 8.13.1.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.13.0...v8.13.1)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 23:03:08 +00:00
Weblate
7549cec45b Merge branch 'origin/develop' into Weblate. 2022-11-25 20:50:57 +00:00
Glandos
6cbd39f3d3 Translated using Weblate (French)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2022-11-25 20:50:56 +00:00
Ihor Hordiichuk
40f0f59db1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-11-25 20:50:54 +00:00
Platon Terekhov
225bf09251 Translated using Weblate (Russian)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-11-25 20:50:53 +00:00
Szimszon
02deb1bf19 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-11-25 20:50:52 +00:00
Benoit Marty
e925a2c669 Translated using Weblate (French)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-11-25 20:50:51 +00:00
Glandos
b7c8ae7c45 Translated using Weblate (French)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-11-25 20:50:51 +00:00
Christina Klaas
41a20bf4d0 Translated using Weblate (German)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-25 20:50:49 +00:00
Platon Terekhov
af59a58157 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-11-25 20:50:47 +00:00
Florian Renaud
a8f3bb1d4e Remove to-device events from event type filtering for redaction 2022-11-25 14:42:46 +01:00
Florian Renaud
5a43b76488 Log a warning if the event content is not pruned 2022-11-25 14:42:45 +01:00
Florian Renaud
2477632e2b Fix exception when getting models on some redacted event
An exception was triggered because the excepted model body was null for redacted events
2022-11-25 14:42:45 +01:00
Florian Renaud
0209cc4969 Prune redacted events which are not explicitly restricted 2022-11-25 14:42:45 +01:00
Florian Renaud
eb12b1c99b Use StableUnstableId object for some event types 2022-11-25 14:42:45 +01:00
Florian Renaud
f4b948af9d Voice Broadcast - hide voice messages and state events behind hidden events 2022-11-25 14:42:45 +01:00
Nikita Fedrunov
9349b1ae15 read receipt migration added (#7640) 2022-11-25 14:24:14 +01:00
Benoit Marty
c9437f3c66 Merge pull request #7642 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-11-25 12:58:57 +01:00
Onuray Sahin
8835e4d25e Create use case to decide to show alert. 2022-11-25 14:34:39 +03:00
Onuray Sahin
821a561235 Add timeout preference for alert. 2022-11-25 14:33:41 +03:00
Weblate
e2d6bf3d77 Merge branch 'origin/develop' into Weblate. 2022-11-25 11:07:41 +00:00
Linerly
5bfb83985e Translated using Weblate (Indonesian)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-11-25 11:07:41 +00:00
waclaw66
a5467062a1 Translated using Weblate (Czech)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-11-25 11:07:38 +00:00
Jeff Huang
de9a6c6c34 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-11-25 11:07:36 +00:00
Danial Behzadi
78025ddc18 Translated using Weblate (Persian)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2022-11-25 11:07:34 +00:00
random
ac24bee0a6 Translated using Weblate (Italian)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-11-25 11:07:32 +00:00
Priit Jõerüüt
9b6c57f5fd Translated using Weblate (Estonian)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-11-25 11:07:30 +00:00
Ihor Hordiichuk
0a77b8f7d7 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-11-25 11:07:28 +00:00
Jozef Gaal
5811f1c77f Translated using Weblate (Slovak)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-11-25 11:07:25 +00:00
lvre
fe8415d788 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-11-25 11:07:23 +00:00
Vri
bc4ca1d33d Translated using Weblate (German)
Currently translated at 100.0% (82 of 82 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-11-25 11:07:21 +00:00
Jeff Huang
c424a87d81 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-11-25 11:07:19 +00:00
Besnik Bleta
aa2c6e175b Translated using Weblate (Albanian)
Currently translated at 99.3% (2540 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-11-25 11:07:18 +00:00
Jozef Gaal
6b9381f5a3 Translated using Weblate (Slovak)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-11-25 11:07:17 +00:00
lvre
e1dc05d5ed Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-11-25 11:07:16 +00:00
random
f5534363b9 Translated using Weblate (Italian)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-11-25 11:07:15 +00:00
Linerly
eb2910401f Translated using Weblate (Indonesian)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-11-25 11:07:14 +00:00
Danial Behzadi
205db447e6 Translated using Weblate (Persian)
Currently translated at 99.6% (2546 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-11-25 11:07:13 +00:00
Priit Jõerüüt
b0ec6abbea Translated using Weblate (Estonian)
Currently translated at 99.6% (2548 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-11-25 11:07:11 +00:00
Christina Klaas
cc951969de Translated using Weblate (German)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-25 11:07:11 +00:00
waclaw66
f1251140f5 Translated using Weblate (Czech)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-11-25 11:07:10 +00:00
Vri
62bc22a03a Translated using Weblate (German)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-25 11:07:07 +00:00
Christina Klaas
ce6efa1f72 Translated using Weblate (German)
Currently translated at 100.0% (2556 of 2556 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-25 11:07:06 +00:00
dependabot[bot]
53cd55df65 Bump wysiwyg from 0.7.0 to 0.7.0.1 (#7636)
Bumps [wysiwyg](https://github.com/matrix-org/matrix-wysiwyg) from 0.7.0 to 0.7.0.1.
- [Release notes](https://github.com/matrix-org/matrix-wysiwyg/releases)
- [Changelog](https://github.com/matrix-org/matrix-rich-text-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/matrix-org/matrix-wysiwyg/commits)

---
updated-dependencies:
- dependency-name: io.element.android:wysiwyg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 10:09:50 +01:00
Nikita Fedrunov
18bcc83a46 added read receipts for threads (#7474) 2022-11-25 09:49:06 +01:00
Valere
2f3bbab4c4 Fix no deleted device warning on long press menu 2022-11-25 09:04:46 +01:00
Benoit Marty
27419f0d33 Merge pull request #7583 from vector-im/feature/bma/remove_buidkite
Remove usage of Buildkite.
2022-11-24 18:51:22 +01:00
Benoit Marty
492e842410 Fix the fixture. 2022-11-24 18:05:24 +01:00
Valere
035b1ebedc Merge pull request #7594 from vector-im/feature/bca/better_edit_validation
Better edit (replace handling)
2022-11-24 17:22:41 +01:00
Benoit Marty
fa3b440a22 Run knit. 2022-11-24 16:44:07 +01:00
Benoit Marty
deb4730d40 Add section about knit tool 2022-11-24 16:43:37 +01:00
Benoit Marty
211c0c2dc5 Add doc for script installFromGitHub.sh 2022-11-24 15:36:13 +01:00
Benoit Marty
451df7558d Buildkite scripts can still be used. 2022-11-24 14:49:55 +01:00
Benoit Marty
83a10c37a6 Install app from GitHub action 2022-11-24 14:49:55 +01:00
Benoit Marty
8795ddb3c2 Add git commit sha to the version details (splash screen and preference screen) 2022-11-24 14:49:55 +01:00
Benoit Marty
cccfad03ce changelog 2022-11-24 14:49:55 +01:00
Benoit Marty
9ca7415f5a Remove usage of Buildkite.
Build number is just removed.
Related script will need to be updated separately.
2022-11-24 14:49:55 +01:00
Florian Renaud
ae996ae197 Merge pull request #7623 from vector-im/dependabot/gradle/io.gitlab.arturbosch.detekt-1.22.0
Bump io.gitlab.arturbosch.detekt from 1.21.0 to 1.22.0
2022-11-24 13:38:37 +01:00
Onuray Sahin
59ac3b4f8b Update new strings of unverified sessions alert. 2022-11-24 15:26:59 +03:00
Valere
bec8b5f71e code review 2022-11-24 12:45:35 +01:00
Valere
c06eca6936 Migration test and cleaning 2022-11-24 12:45:35 +01:00
Valere
ca907df94b kdoc fix 2022-11-24 12:45:35 +01:00
Valere
2819957585 fix edit display flicker with local echo 2022-11-24 12:45:35 +01:00
Valere
e5d3206b6f code review 2022-11-24 12:45:35 +01:00
Valere
d759f26db6 fix fake awaitTx 2022-11-24 12:45:35 +01:00
Valere
8b47bf004e Fix broken polls states 2022-11-24 12:45:35 +01:00
Valere
3746ede49a Fix test 2022-11-24 12:45:35 +01:00
Valere
e66a0541be Add changelog, some cleaning 2022-11-24 12:45:35 +01:00
Valere
891709ef41 better replace handling 2022-11-24 12:45:35 +01:00
Benoit Marty
ebbfca4ffd Detekt: Use require() instead of throwing an IllegalArgumentException. [UseRequire] 2022-11-24 11:06:00 +01:00
Benoit Marty
3dccad9931 Detekt ComplexMethod has been renamed to CyclomaticComplexMethod 2022-11-24 10:58:42 +01:00
Benoit Marty
5eb64b43d3 Merge pull request #7610 from vector-im/feature/bma/releaseScript
First version of the release script.
2022-11-24 10:33:04 +01:00
Jorge Martin Espinosa
ffb5edd2e4 Set timeout for test CI jobs (#7598)
* Set timeout for test CI jobs

* Increase timeout to 1.5h: some Test jobs successfully finish > 1h
2022-11-24 09:46:11 +01:00
Jorge Martin Espinosa
452cfd3327 [RTE] Change layout based on plain text / rich text mode (#7621) 2022-11-23 16:56:37 +00:00
Weblate
bf30ff41de Merge branch 'origin/develop' into Weblate. 2022-11-23 15:33:13 +00:00
Jeff Huang
2f69740e9b Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-11-23 15:33:11 +00:00
Ihor Hordiichuk
6e11874027 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-11-23 15:33:11 +00:00
Jozef Gaal
1ef3e48ab6 Translated using Weblate (Slovak)
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-11-23 15:33:11 +00:00
Platon Terekhov
8296665b36 Translated using Weblate (Russian)
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-11-23 15:33:10 +00:00
lvre
b76b51265f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-11-23 15:33:10 +00:00
Przemysław Romanik
f43a16ced4 Translated using Weblate (Polish)
Currently translated at 91.8% (2336 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-11-23 15:33:10 +00:00
random
b745ebe90a Translated using Weblate (Italian)
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-11-23 15:33:09 +00:00
Linerly
5d1f6e0bbe Translated using Weblate (Indonesian)
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-11-23 15:33:09 +00:00
Glandos
32462b9056 Translated using Weblate (French)
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-11-23 15:33:09 +00:00
Danial Behzadi
3c5bc7e6f2 Translated using Weblate (Persian)
Currently translated at 99.6% (2533 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-11-23 15:33:09 +00:00
Priit Jõerüüt
e9bd9ed788 Translated using Weblate (Estonian)
Currently translated at 99.6% (2535 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-11-23 15:33:08 +00:00
iaiz
9eb4eb6dcf Translated using Weblate (Spanish)
Currently translated at 90.2% (2296 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-11-23 15:33:08 +00:00
Vri
778462dfc8 Translated using Weblate (German)
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-23 15:33:08 +00:00
waclaw66
212074470f Translated using Weblate (Czech)
Currently translated at 100.0% (2543 of 2543 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-11-23 15:33:07 +00:00
Benoit Marty
183570dce9 Update the recipe for the SDK 2022-11-23 13:17:44 +01:00
Benoit Marty
ed8fd345ce Add missing git command. 2022-11-23 13:14:18 +01:00
Valere
d302fdc655 self verification basics 2022-11-23 11:27:39 +01:00
Onuray Sahin
0957b38329 Merge pull request #7546 from vector-im/feature/ons/toggle_ip_address_visibility
Toggle IP address visibility (PSG-860)
2022-11-22 22:41:21 +03:00
dependabot[bot]
1fe790e46f Bump wysiwyg from 0.4.0 to 0.7.0 (#7572)
* Bump wysiwyg from 0.4.0 to 0.6.0

Bumps [wysiwyg](https://github.com/matrix-org/matrix-wysiwyg) from 0.4.0 to 0.6.0.
- [Release notes](https://github.com/matrix-org/matrix-wysiwyg/releases)
- [Changelog](https://github.com/matrix-org/matrix-rich-text-editor/blob/main/RELEASE.md)
- [Commits](https://github.com/matrix-org/matrix-wysiwyg/compare/0.4.0...0.6.0)

---
updated-dependencies:
- dependency-name: io.element.android:wysiwyg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update RTE library to 0.7.0

* Fix markdown -> html

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2022-11-22 19:12:07 +01:00
Onuray Sahin
abea9b686a Code review fixes. 2022-11-22 18:02:48 +03:00
Onuray Sahin
5eb786b55f Code review fixes. 2022-11-22 16:11:20 +03:00
Onuray Sahin
ab749eee6a Code review fixes. 2022-11-22 16:05:37 +03:00
Benoit Marty
6be22a5e7f Merge pull request #7517 from vector-im/kittykat-patch-1
Update issue automation
2022-11-22 10:33:53 +01:00
dependabot[bot]
b3965cae9d Bump com.autonomousapps.dependency-analysis from 1.13.1 to 1.16.0 (#7622)
Bumps com.autonomousapps.dependency-analysis from 1.13.1 to 1.16.0.

---
updated-dependencies:
- dependency-name: com.autonomousapps.dependency-analysis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 07:53:58 +01:00
dependabot[bot]
544c554444 Bump io.gitlab.arturbosch.detekt from 1.21.0 to 1.22.0
Bumps io.gitlab.arturbosch.detekt from 1.21.0 to 1.22.0.

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 23:11:30 +00:00
Valere
5b3e3a7019 Fix sas match action 2022-11-21 18:54:49 +01:00
Onuray Sahin
6c45490dd1 Code review fixes. 2022-11-21 18:44:45 +03:00
Valere
4ce6a25c70 refactor for easy unit tests 2022-11-21 15:16:34 +01:00
Valere
bed2c221e3 Fix QR code not always displayed 2022-11-19 22:49:20 +01:00
Valere
0c1e439313 Actor unit test setup 2022-11-19 00:25:08 +01:00
Onuray Sahin
664b0665cf Merge pull request #7601 from vector-im/feature/ons/fix_truncated_italic_text
Fix italic text is truncated when bubble mode and markdown is enabled (PSG-1006)
2022-11-18 17:25:48 +03:00
Maxime NATUREL
14de485c67 Merge pull request #7566 from vector-im/fix/mna/missing-translation-reply-to
Missing translations on "replyTo" messages (PSG-978)
2022-11-18 14:39:18 +01:00
Onuray Sahin
7774f69317 Fix unit test. 2022-11-18 14:46:03 +03:00
Benoit Marty
729d420c2c Propose message for internal room 2022-11-18 10:30:59 +01:00
Benoit Marty
7d8bbd6d66 Update the issue template 2022-11-18 10:26:56 +01:00
Benoit Marty
208bf6eb2e First version of the release script. Release the APP. 2022-11-18 10:20:41 +01:00
Benoit Marty
9da174edc4 Merge pull request #7609 from vector-im/dependabot/gradle/com.google.firebase-firebase-appdistribution-gradle-3.1.1
Bump firebase-appdistribution-gradle from 3.0.3 to 3.1.1
2022-11-18 10:04:31 +01:00
Benoit Marty
d84b521b54 Merge pull request #7585 from vector-im/dependabot/gradle/dagger-2.44.2
Bump dagger from 2.44 to 2.44.2
2022-11-18 10:03:57 +01:00
Maxime NATUREL
cf5b96f9cf Merge pull request #7605 from vector-im/fix/mna/anr-on-session-start
ANR on session start when sending client info is enabled
2022-11-18 09:38:39 +01:00
Jorge Martin Espinosa
7417241cd5 New RTE full screen implementation with BottomSheet (#7578)
* RTE full screen editor using custom BottomSheet

* Fix formatting menu item dimensions

* Fix bug with insets when opening attachment menu

* Clear the EditText for plain text mode when a message is sent

* Set `MessageComposerMode.Special` as a sealed class

* Fix insets issue on landscape

* Fix small UI issues with rounded corners

* Use simplified icons for full screen and minimise
2022-11-18 08:57:37 +01:00
dependabot[bot]
8bf0ec297c Bump firebase-appdistribution-gradle from 3.0.3 to 3.1.1
Bumps firebase-appdistribution-gradle from 3.0.3 to 3.1.1.

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-appdistribution-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 23:03:30 +00:00
Valere
5c82bdba38 happy path qr kotlin verif 2022-11-17 22:42:47 +01:00
Maxime NATUREL
74c945b7f0 Launching the sending of the client info in a dedicated coroutine to avoid ANR on application start 2022-11-17 17:43:53 +01:00
Maxime NATUREL
9901a43dc1 Add changelog entry 2022-11-17 17:06:44 +01:00
Onuray Sahin
ab94b21807 Fix the place of the span factory. 2022-11-17 15:58:42 +03:00
Benoit Marty
65d898e3de version++ 2022-11-17 12:57:08 +01:00
Benoit Marty
f4bd89db3b Merge tag 'v1.5.8' into develop
Release 1.5.8
2022-11-17 12:50:37 +01:00
Benoit Marty
57a2860964 Merge branch 'release/1.5.8' into main 2022-11-17 12:48:58 +01:00
Benoit Marty
1b957073d9 Adding fastlane file 2022-11-17 12:41:45 +01:00
Benoit Marty
f7c3e62206 Changelog for version 1.5.8 2022-11-17 12:39:33 +01:00
Benoit Marty
5d3228d97b toModel was not catching com.squareup.moshi.JsonDataException properly (discovered when joining a Jitsi conf added as a Widget) 2022-11-17 12:28:58 +01:00
Onuray Sahin
a31a9ab521 Fix italic text is truncated when bubble mode and markdown is enabled. 2022-11-17 13:32:53 +03:00
Onuray Sahin
c788deacf5 Revert "Fix italic text is truncated when bubble mode and markdown is enabled."
This reverts commit f63c6c328f.
2022-11-17 13:26:09 +03:00
Onuray Sahin
f63c6c328f Fix italic text is truncated when bubble mode and markdown is enabled. 2022-11-17 13:19:40 +03:00
Benoit Marty
33b7294bbf Update the recipe to speed up the release process. 2022-11-17 10:25:32 +01:00
Jorge Martin Espinosa
10775ab2f3 Editing: default to MessageContent.body when no formattedBody is present (#7592)
* Editing: default to `MessageContent.body` when no `formattedBody` is present

* Update docs
2022-11-16 12:13:07 +00:00
Valere
cf366f7a9c suspend verif WIP 2022-11-16 09:12:54 +01:00
dependabot[bot]
e4caf7be81 Bump barista from 4.2.0 to 4.3.0
Bumps [barista](https://github.com/AdevintaSpain/Barista) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/AdevintaSpain/Barista/releases)
- [Commits](https://github.com/AdevintaSpain/Barista/compare/4.2.0...4.3.0)

---
updated-dependencies:
- dependency-name: com.adevinta.android:barista
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 23:03:53 +00:00
Weblate
1a7c3cee5d Merge branch 'origin/develop' into Weblate. 2022-11-15 19:33:19 +00:00
LinAGKar
21b92f7d15 Translated using Weblate (Swedish)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sv/
2022-11-15 19:33:17 +00:00
Platon Terekhov
ade6028a69 Translated using Weblate (Russian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/ru/
2022-11-15 19:33:14 +00:00
LinAGKar
37dcb86e90 Translated using Weblate (Swedish)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-11-15 19:33:12 +00:00
Nui Harime
a23299de64 Translated using Weblate (Russian)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-11-15 19:33:11 +00:00
Platon Terekhov
06d621cd3c Translated using Weblate (Russian)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-11-15 19:33:11 +00:00
Auri B. P
7aa0e33506 Translated using Weblate (Catalan)
Currently translated at 99.6% (2534 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-11-15 19:33:05 +00:00
Florian Renaud
54fcdcdb6d Merge pull request #7588 from vector-im/feature/fre/voice_broadcast_recording_time
Voice Broadcast - Add max length for recording
2022-11-15 17:26:17 +01:00
Florian Renaud
6fc8c2cb80 Merge pull request #7582 from vector-im/feature/fre/voice_message_persist_playback_state
Persist the playback state of voice messages across different screens
2022-11-15 17:25:53 +01:00
Florian Renaud
4ac9c8d0e0 Merge pull request #7579 from vector-im/feature/fre/voice_broadcast_live_indicator
Voice Broadcast - Improve live indicator icon rendering
2022-11-15 17:25:38 +01:00
Florian Renaud
3239ec5d1f replace negation "!" with ".not()" 2022-11-15 10:52:09 +01:00
Florian Renaud
8ea909970d Fix line length 2022-11-15 10:47:39 +01:00
Florian Renaud
c3090fa45a Changelog 2022-11-15 10:43:50 +01:00
Florian Renaud
361538254b Voice Broadcast - Add maximum length for recording 2022-11-15 09:26:47 +01:00
Florian Renaud
7349bc90c0 Pause playback instead of reset when recording a new voice message 2022-11-15 09:26:47 +01:00
Florian Renaud
a73e707f33 Changelog 2022-11-15 09:26:35 +01:00
Florian Renaud
dca379b80f Persist the playback state of voice messages across different screens 2022-11-15 09:26:35 +01:00
Florian Renaud
d9454af63e Stay in live when moving playback position in the same chunk 2022-11-15 00:30:55 +01:00
Florian Renaud
b85fcf9a00 Remove debounce on player buttons 2022-11-15 00:11:16 +01:00
dependabot[bot]
f49a8af9da Bump dagger from 2.44 to 2.44.2
Bumps `dagger` from 2.44 to 2.44.2.

Updates `hilt-android-gradle-plugin` from 2.44 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

Updates `dagger` from 2.44 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

Updates `dagger-compiler` from 2.44 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

Updates `hilt-android` from 2.44 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

Updates `hilt-android-testing` from 2.44 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

Updates `hilt-compiler` from 2.44 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-android-testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 23:05:09 +00:00
Jorge Martin Espinosa
a476544761 Fix some quoted messages having 'null' message bodies (#7532)
* Fix some quoted messages having 'null' message bodies
2022-11-14 11:01:29 +00:00
Florian Renaud
403fd9260e improve boolean condition 2022-11-14 11:57:05 +01:00
Florian Renaud
288fc35487 Changelog 2022-11-14 10:55:48 +01:00
Florian Renaud
44608f080c Improve logs 2022-11-14 10:55:48 +01:00
Florian Renaud
73d62c944c Emit first event on voice broadcast event flow 2022-11-14 10:27:30 +01:00
Florian Renaud
a3cd0ee790 Fix fetch playlist task getting stopped event from other voice broadcast 2022-11-14 10:27:30 +01:00
Florian Renaud
2d006f8725 Bind listener to live playback flag 2022-11-14 10:27:30 +01:00
Florian Renaud
5eb260e674 Unregister listeners on recording tile 2022-11-14 10:27:30 +01:00
Florian Renaud
6ee1e86951 Improve live indicator 2022-11-14 10:27:29 +01:00
Maxime NATUREL
4a65e1153a Fix retrieve of the question for poll events 2022-11-14 10:18:42 +01:00
Maxime NATUREL
fcfef53043 Search for the first occurrence (and not last) of breaking line just in case 2022-11-14 10:12:25 +01:00
Maxime NATUREL
0d3c779455 Merge pull request #7567 from vector-im/dependabot/gradle/flipper-0.174.0
Bump flipper from 0.173.0 to 0.174.0
2022-11-14 09:24:14 +01:00
Weblate
404113bd1d Merge branch 'origin/develop' into Weblate. 2022-11-12 14:33:16 +00:00
random
227fb27a2e Translated using Weblate (Italian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-11-12 14:33:15 +00:00
Ihor Hordiichuk
4578336245 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-11-12 14:33:13 +00:00
Jeff Huang
a616ab9472 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-11-12 14:33:11 +00:00
Ihor Hordiichuk
baaace855c Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-11-12 14:33:10 +00:00
Jozef Gaal
6fa15e6ee9 Translated using Weblate (Slovak)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-11-12 14:33:10 +00:00
Platon Terekhov
24868a6c64 Translated using Weblate (Russian)
Currently translated at 95.3% (2423 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-11-12 14:33:09 +00:00
random
6c52e47e47 Translated using Weblate (Italian)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-11-12 14:33:08 +00:00
Linerly
ac06ff5256 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-11-12 14:33:07 +00:00
Szimszon
e5783afb11 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-11-12 14:33:06 +00:00
Glandos
8b5f86ec51 Translated using Weblate (French)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-11-12 14:33:05 +00:00
Priit Jõerüüt
2d80a25fd6 Translated using Weblate (Estonian)
Currently translated at 99.6% (2534 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-11-12 14:33:05 +00:00
Vri
47a909eaf4 Translated using Weblate (German)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-12 14:33:04 +00:00
waclaw66
9fd50b4e35 Translated using Weblate (Czech)
Currently translated at 100.0% (2542 of 2542 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-11-12 14:33:04 +00:00
dependabot[bot]
8278ae61e5 Bump flipper from 0.173.0 to 0.174.0
Bumps `flipper` from 0.173.0 to 0.174.0.

Updates `flipper` from 0.173.0 to 0.174.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.173.0...v0.174.0)

Updates `flipper-network-plugin` from 0.173.0 to 0.174.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.173.0...v0.174.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 23:11:00 +00:00
Jorge Martin Espinosa
008432af36 Move TypingView into the timeline as another item (#7565)
* Typing view as item in list

* Don't show TypingItem if we're showing a forward loader
2022-11-10 17:28:03 +00:00
Maxime NATUREL
58d182aecb Adding unit tests on ProcessBodyOfReplyToEventUseCase 2022-11-10 17:28:30 +01:00
Benoit Marty
b47dabba58 Merge pull request #7487 from vector-im/dependabot/gradle/flipper-0.173.0
Bump flipper from 0.171.1 to 0.173.0
2022-11-10 16:31:11 +01:00
Benoit Marty
d4b1ac637c Merge pull request #7482 from vector-im/dependabot/gradle/org.sonarsource.scanner.gradle-sonarqube-gradle-plugin-3.5.0.2730
Bump sonarqube-gradle-plugin from 3.4.0.2513 to 3.5.0.2730
2022-11-10 16:30:46 +01:00
Benoit Marty
50ee46b4be Merge pull request #7497 from vector-im/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-11-10 16:30:04 +01:00
Benoit Marty
7481b5b342 Merge pull request #7515 from vector-im/dependabot/gradle/org.checkerframework-checker-3.27.0
Bump checker from 3.11.0 to 3.27.0
2022-11-10 16:29:25 +01:00
Benoit Marty
f203e5ac3a Merge pull request #7536 from vector-im/dependabot/gradle/com.google.android.gms-play-services-location-21.0.1
Bump play-services-location from 21.0.0 to 21.0.1
2022-11-10 16:25:51 +01:00
Benoit Marty
6d1f559fd4 Merge pull request #7538 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.13.0
Bump libphonenumber from 8.12.57 to 8.13.0
2022-11-10 16:25:31 +01:00
Benoit Marty
35515a0957 Merge pull request #7552 from vector-im/dependabot/gradle/androidx.test-orchestrator-1.4.2
Bump orchestrator from 1.4.1 to 1.4.2
2022-11-10 16:25:12 +01:00
Benoit Marty
45e106d634 Merge pull request #7551 from vector-im/dependabot/gradle/org.jetbrains.kotlin-kotlin-reflect-1.7.21
Bump kotlin-reflect from 1.7.20 to 1.7.21
2022-11-10 16:20:10 +01:00
Benoit Marty
8766e64bb6 Merge pull request #7561 from vector-im/dependabot/gradle/com.posthog.android-posthog-2.0.0
Bump posthog from 1.1.2 to 2.0.0
2022-11-10 16:19:28 +01:00
Benoit Marty
204e1b89cb Merge pull request #7560 from vector-im/dependabot/gradle/com.google.devtools.ksp-1.7.21-1.0.8
Bump com.google.devtools.ksp from 1.7.20-1.0.7 to 1.7.21-1.0.8
2022-11-10 16:19:04 +01:00
Benoit Marty
ebf8aabcd9 Merge pull request #7563 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-11-10 16:10:32 +01:00
Maxime NATUREL
57e90aee83 Removing description parameter in startLiveLocation method of SDK to avoid translated strings in beacon events 2022-11-10 15:40:50 +01:00
Maxime NATUREL
235b629130 Use case to process formatted body of reply to events 2022-11-10 15:29:58 +01:00
Onuray Sahin
202c0c58ab Merge branch 'develop' into feature/ons/toggle_ip_address_visibility
# Conflicts:
#	vector/src/test/java/im/vector/app/features/settings/devices/v2/overview/SessionOverviewViewModelTest.kt
2022-11-10 17:01:50 +03:00
Maxime NATUREL
744b03a806 Merge pull request #7523 from vector-im/feature/mna/push-toggle-current-session
Push notifications toggle: align implementation for current session (PSG-971)
2022-11-10 13:44:49 +01:00
Florian Renaud
271fd05a1c Merge pull request #7496 from vector-im/feature/fre/voice_broadcast_seek_to_live_update
Voice Broadcast - Update seek bar position while playing
2022-11-10 13:43:34 +01:00
Amit Kumar
c07b110b99 Add spannable tracking around SyncResponseHandler (#7514)
* Add spannable tracking around SyncResponseHandler

* Update LICENSE header

* Refactor handleResponse and MetricsExtensions

* Update changelog.d

* Improve code docs and comments

* Check if Sentry is enabled before tracking
2022-11-10 16:13:09 +05:30
Weblate
2bc85b02fe Merge branch 'origin/develop' into Weblate. 2022-11-10 10:33:29 +00:00
Besnik Bleta
6783b11a63 Translated using Weblate (Albanian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sq/
2022-11-10 10:33:27 +00:00
Linerly
f39e3538a1 Translated using Weblate (Indonesian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-11-10 10:33:26 +00:00
waclaw66
26b16fca18 Translated using Weblate (Czech)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-11-10 10:33:23 +00:00
Jeff Huang
4d27d568aa Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-11-10 10:33:21 +00:00
Danial Behzadi
48972a1a18 Translated using Weblate (Persian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2022-11-10 10:33:19 +00:00
Priit Jõerüüt
ab396c5f7f Translated using Weblate (Estonian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-11-10 10:33:18 +00:00
Ihor Hordiichuk
ae150a2623 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-11-10 10:33:16 +00:00
Jozef Gaal
ba2fbf10e5 Translated using Weblate (Slovak)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-11-10 10:33:14 +00:00
lvre
6faec3d9bd Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-11-10 10:33:12 +00:00
Glandos
15f946c62c Translated using Weblate (French)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2022-11-10 10:33:10 +00:00
Vri
218026f5df Translated using Weblate (German)
Currently translated at 100.0% (81 of 81 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-11-10 10:33:08 +00:00
Suguru Hirahara
46615082a9 Translated using Weblate (Japanese)
Currently translated at 88.4% (2246 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2022-11-10 10:33:06 +00:00
Danial Behzadi
8814117f26 Translated using Weblate (Persian)
Currently translated at 99.6% (2530 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-11-10 10:33:04 +00:00
Maxime NATUREL
ab90da0e51 Adding isReply extension method for RelationDefaultContent 2022-11-10 10:05:01 +01:00
Maxime NATUREL
def74926d7 Adding changelog entry 2022-11-10 10:05:01 +01:00
Maxime NATUREL
6ec33f1264 Removing unused imports 2022-11-10 10:00:27 +01:00
Maxime NATUREL
ba5a433caf Adding distinctUntilChanged for flow of remote toggle via Pusher capability 2022-11-10 10:00:27 +01:00
Maxime NATUREL
163bf57fda Removing non necessary debug log 2022-11-10 10:00:27 +01:00
Maxime NATUREL
ced4bf3573 Adding unit tests on EnableNotificationsForCurrentSessionUseCase 2022-11-10 10:00:27 +01:00
Maxime NATUREL
b43c3a8502 Adding unit tests on UpdateEnableNotificationsSettingOnChangeUseCase 2022-11-10 10:00:27 +01:00
Maxime NATUREL
2eeb04426b Adding unit tests on DisableNotificationsForCurrentSessionUseCase 2022-11-10 10:00:27 +01:00
Maxime NATUREL
e5e971683b Adding unit tests on CanTogglePushNotificationsViaPusherUseCase 2022-11-10 10:00:27 +01:00
Maxime NATUREL
18929324fe Updating existing unit tests 2022-11-10 10:00:27 +01:00
Maxime NATUREL
6239b3e686 Adding some TODOs 2022-11-10 10:00:27 +01:00
Maxime NATUREL
24a5cfa9e5 Listen for pusher or account data changes to update the local setting 2022-11-10 10:00:27 +01:00
Maxime NATUREL
67d2a6faab Use the preference value to render the push notifications toggle 2022-11-10 10:00:26 +01:00
Maxime NATUREL
2941cfa329 Adding use cases to handle toggle of push notifications for current session 2022-11-10 10:00:26 +01:00
Maxime NATUREL
41ab29d4c0 Adding changelog entry 2022-11-10 10:00:26 +01:00
dependabot[bot]
e84c68495f Bump posthog from 1.1.2 to 2.0.0
Bumps [posthog](https://github.com/PostHog/posthog-android) from 1.1.2 to 2.0.0.
- [Release notes](https://github.com/PostHog/posthog-android/releases)
- [Changelog](https://github.com/PostHog/posthog-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-android/compare/1.1.2...2.0.0)

---
updated-dependencies:
- dependency-name: com.posthog.android:posthog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 23:03:47 +00:00
dependabot[bot]
02c16d30f4 Bump com.google.devtools.ksp from 1.7.20-1.0.7 to 1.7.21-1.0.8
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 1.7.20-1.0.7 to 1.7.21-1.0.8.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/1.7.20-1.0.7...1.7.21-1.0.8)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 23:03:07 +00:00
Onuray Sahin
76b179e738 Merge pull request #7533 from vector-im/feature/ons/fix_device_manager_verified_desc
Fix description of verified sessions (PSG-991)
2022-11-09 22:00:20 +03:00
Onuray Sahin
40e960f19e Lint fix. 2022-11-09 20:41:53 +03:00
Benoit Marty
7611a418a9 Merge pull request #7548 from vector-im/dependabot/gradle/org.jetbrains.kotlin-kotlin-gradle-plugin-1.7.21
Bump kotlin-gradle-plugin from 1.7.20 to 1.7.21
2022-11-09 17:40:34 +01:00
Onuray Sahin
b2589a1e4d Merge branch 'develop' into feature/ons/fix_device_manager_verified_desc 2022-11-09 19:05:07 +03:00
Onuray Sahin
6f997e8a0f Merge branch 'develop' into feature/ons/toggle_ip_address_visibility 2022-11-09 19:04:39 +03:00
Benoit Marty
7227a83030 Merge pull request #7558 from vector-im/feature/bma/fix_search_tests
Fix search tests
2022-11-09 16:37:56 +01:00
Onuray Sahin
b81fc4f8f1 Merge branch 'develop' into feature/ons/toggle_ip_address_visibility
# Conflicts:
#	vector/src/test/java/im/vector/app/features/settings/devices/v2/overview/SessionOverviewViewModelTest.kt
2022-11-09 18:09:22 +03:00
Benoit Marty
d07c6da3ac Add a test for incomplete word. 2022-11-09 15:31:27 +01:00
Benoit Marty
823e7bf212 Fix search tests. 2022-11-09 15:26:39 +01:00
Onuray Sahin
ba6d414f67 Code review fix. 2022-11-09 16:59:02 +03:00
Onuray Sahin
46c60f5897 Fix unit tests. 2022-11-09 16:57:16 +03:00
dependabot[bot]
cd08b8134c Bump orchestrator from 1.4.1 to 1.4.2
Bumps orchestrator from 1.4.1 to 1.4.2.

---
updated-dependencies:
- dependency-name: androidx.test:orchestrator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 23:12:24 +00:00
dependabot[bot]
25d33e9b1a Bump kotlin-reflect from 1.7.20 to 1.7.21
Bumps [kotlin-reflect](https://github.com/JetBrains/kotlin) from 1.7.20 to 1.7.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 23:11:03 +00:00
dependabot[bot]
06538276d9 Bump kotlin-gradle-plugin from 1.7.20 to 1.7.21
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.7.20 to 1.7.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 23:04:44 +00:00
Onuray Sahin
e888c11747 Lint fix. 2022-11-08 20:05:16 +03:00
Onuray Sahin
8bc70002d9 Add changelog. 2022-11-08 19:31:59 +03:00
Kat Gerasimova
6073cf12da Update issue automation
Stop using deprecated ProjectNext API in favour of the new ProjectV2 one
2022-11-08 16:03:15 +01:00
Kat Gerasimova
c74445cf5b Update PR automation
Stop using deprecated ProjectNext API in favour of the new ProjectV2 one
2022-11-08 14:52:34 +00:00
Onuray Sahin
f6bc28f3bf Persist user preference of ip address visibility. 2022-11-08 17:43:48 +03:00
Onuray Sahin
0868869fe3 Toggle ip address on sessions overview screen. 2022-11-08 16:33:20 +03:00
Maxime NATUREL
fc24beaa68 Merge pull request #7456 from vector-im/feature/mna/session_manager_multi_signout
[Session manager] Multi-session signout (PSG-857)
2022-11-08 14:21:14 +01:00
Maxime NATUREL
ef7abf4ef1 Merge pull request #7537 from vector-im/dependabot/gradle/io.sentry-sentry-android-6.7.0
Bump sentry-android from 6.6.0 to 6.7.0
2022-11-08 14:19:38 +01:00
Onuray Sahin
b5e8375592 Toggle ip address on other sessions screen. 2022-11-08 15:16:09 +03:00
Onuray Sahin
eed2a74d07 Toggle ip address on others section of the main screen. 2022-11-08 14:36:27 +03:00
Weblate
4764053b09 Merge branch 'origin/develop' into Weblate. 2022-11-08 02:33:40 +00:00
Besnik Bleta
2796f1b0be Translated using Weblate (Albanian)
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sq/
2022-11-08 02:33:37 +00:00
Linerly
8dbd170b76 Translated using Weblate (Indonesian)
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-11-08 02:33:35 +00:00
waclaw66
1d3e61aa53 Translated using Weblate (Czech)
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-11-08 02:33:33 +00:00
Jeff Huang
9bb2157477 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-11-08 02:33:30 +00:00
Priit Jõerüüt
54259f2f40 Translated using Weblate (Estonian)
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-11-08 02:33:28 +00:00
Ihor Hordiichuk
cfbbfc6cb5 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-11-08 02:33:25 +00:00
Jozef Gaal
0d002dbd26 Translated using Weblate (Slovak)
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-11-08 02:33:23 +00:00
lvre
89554b7f9e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-11-08 02:33:20 +00:00
Glandos
ab1c720a19 Translated using Weblate (French)
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2022-11-08 02:33:17 +00:00
Vri
718545cd4d Translated using Weblate (German)
Currently translated at 100.0% (80 of 80 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-11-08 02:33:15 +00:00
Jeff Huang
191034a7d3 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-11-08 02:33:12 +00:00
PotLice
6161a9582e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-11-08 02:33:12 +00:00
Ihor Hordiichuk
0904f9c6e0 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-11-08 02:33:10 +00:00
Besnik Bleta
5d5ea81db8 Translated using Weblate (Albanian)
Currently translated at 99.0% (2516 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-11-08 02:33:09 +00:00
Jozef Gaal
89bb2d1a9b Translated using Weblate (Slovak)
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-11-08 02:33:08 +00:00
lvre
fd70e648c1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-11-08 02:33:08 +00:00
Linerly
4a00be4e8a Translated using Weblate (Indonesian)
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-11-08 02:33:07 +00:00
Glandos
546f391c57 Translated using Weblate (French)
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-11-08 02:33:06 +00:00
Priit Jõerüüt
6e46cdded6 Translated using Weblate (Estonian)
Currently translated at 99.6% (2531 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-11-08 02:33:05 +00:00
Vri
dac5445772 Translated using Weblate (German)
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-08 02:33:04 +00:00
waclaw66
2652b7ce63 Translated using Weblate (Czech)
Currently translated at 100.0% (2539 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-11-08 02:33:03 +00:00
Auri B. P
001ab8cb49 Translated using Weblate (Catalan)
Currently translated at 99.7% (2532 of 2539 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-11-08 02:33:02 +00:00
dependabot[bot]
e84e2a10fd Bump libphonenumber from 8.12.57 to 8.13.0
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.57 to 8.13.0.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.57...v8.13.0)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 23:20:45 +00:00
dependabot[bot]
49bf0e18fc Bump sentry-android from 6.6.0 to 6.7.0
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/6.7.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.6.0...6.7.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 23:20:06 +00:00
dependabot[bot]
3a5af934cc Bump play-services-location from 21.0.0 to 21.0.1
Bumps play-services-location from 21.0.0 to 21.0.1.

---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-location
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 23:15:05 +00:00
Benoit Marty
4b7f030dfc Merge branch 'hotfix/1.5.7' into main 2022-11-07 17:19:50 +01:00
Benoit Marty
dde09dd612 Merge branch 'hotfix/1.5.7' into develop 2022-11-07 17:19:49 +01:00
Benoit Marty
35d16ee26a Merge hotfix 1.5.7 to develop 2022-11-07 17:19:37 +01:00
Benoit Marty
203bd2abbd fastlane file 2022-11-07 17:18:26 +01:00
Benoit Marty
e450c06f7c Changelog 2022-11-07 17:16:55 +01:00
Benoit Marty
c323326a58 Version 1.5.7 2022-11-07 17:14:18 +01:00
NIkita Fedrunov
38651353aa temporary workaround for a failing sync due to unexpected enableUnreadThreadNotifications param 2022-11-07 17:09:20 +01:00
Benoit Marty
76d3050551 Merge pull request #7534 from vector-im/bugfix/nfe/unexpected_sync_param
temporary workaround for a failing sync due to unexpected `enableUnre…
2022-11-07 17:06:52 +01:00
Maxime NATUREL
6d2620815c Moving UI auth interceptor into use case 2022-11-07 16:52:41 +01:00
Onuray Sahin
456762a464 Add toggle ip address menu option. 2022-11-07 18:26:54 +03:00
NIkita Fedrunov
0c40acb186 temporary workaround for a failing sync due to unexpected enableUnreadThreadNotifications param 2022-11-07 16:16:51 +01:00
Florian Renaud
c1dd66003a improve end of voice broadcast check 2022-11-07 16:11:10 +01:00
Florian Renaud
4e53366727 Fix default visibility of fast backward/forward buttons 2022-11-07 16:11:10 +01:00
Florian Renaud
9e83d88f08 Fix seek position when listening another voice broadcast 2022-11-07 16:11:10 +01:00
Florian Renaud
be18f4ec78 remove unused imports 2022-11-07 16:11:10 +01:00
Florian Renaud
305a362e9e Fix play action on other voice broadcast than the current one 2022-11-07 16:11:09 +01:00
Florian Renaud
6b57b1190c Make AudioMessagePlaybackTracker.Listener interface funny 2022-11-07 16:11:09 +01:00
Florian Renaud
226e2026a1 Remove item listeners 2022-11-07 16:11:09 +01:00
Florian Renaud
1c40f9c5e8 Minor cleanup 2022-11-07 16:11:09 +01:00
Florian Renaud
aa8eec221a Enable fast backward/forward buttons 2022-11-07 16:11:09 +01:00
Florian Renaud
c5e6eb0d0e Remove some logs 2022-11-07 16:11:09 +01:00
Florian Renaud
baa9cb39b0 Fix broken live listening 2022-11-07 16:11:09 +01:00
Benoit Marty
dff210c6c9 Merge pull request #7498 from vector-im/dependabot/gradle/com.gabrielittner.threetenbp-lazythreetenbp-0.12.0
Bump lazythreetenbp from 0.11.0 to 0.12.0
2022-11-07 15:42:59 +01:00
Benoit Marty
cfd930f942 Merge pull request #7531 from vector-im/sync-analytics-plan
Sync analytics plan
2022-11-07 15:35:05 +01:00
Florian Renaud
7d51a26522 Decrease tick interval 2022-11-07 15:34:55 +01:00
Florian Renaud
436e76c756 Fix seek on paused state 2022-11-07 15:34:55 +01:00
Florian Renaud
b2f35fa135 Improve PlaybackTicker 2022-11-07 15:34:55 +01:00
Florian Renaud
a47e3c1233 Improve playing state updates 2022-11-07 15:34:55 +01:00
Florian Renaud
266236c1e5 set playlist.currentSequence null by default 2022-11-07 15:34:55 +01:00
Florian Renaud
43a112839f Fix seek when playlist is not loaded 2022-11-07 15:34:55 +01:00
Florian Renaud
a320155546 reset nextMediaPlayer when item has changed 2022-11-07 15:34:54 +01:00
Florian Renaud
a3cd861e15 Add isPreparingNextPlayer flag 2022-11-07 15:34:54 +01:00
Florian Renaud
b87b2cbb63 Remove useless method 2022-11-07 15:34:54 +01:00
Florian Renaud
37c75354be VoiceBroadcastPlayer - Reorganize some code 2022-11-07 15:34:54 +01:00
Florian Renaud
c85b159952 VoiceBroadcastPlayer - Extract some code to VoiceBroadcastPlaylist 2022-11-07 15:34:54 +01:00
Florian Renaud
dae4162e75 VoiceBroadcastPlayerImpl - use session coroutine scope 2022-11-07 15:34:54 +01:00
Florian Renaud
392fe6fa32 Transform TickListener to fun interface 2022-11-07 15:34:54 +01:00
Florian Renaud
d89ef6988b Improve player seek 2022-11-07 15:34:53 +01:00
Benoit Marty
7a24e16092 Merge pull request #7501 from SpiritCroc/duplicated-pill-fixes
Fix duplicated pills when pills contain other spans
2022-11-07 15:33:34 +01:00
Onuray Sahin
e30cbd5916 Add changelog. 2022-11-07 14:51:18 +03:00
Onuray Sahin
44c0378de8 Fix description of verified sessions. 2022-11-07 14:46:32 +03:00
Jorge Martin Espinosa
f0340d5ced When joining a room, the message composer should be visible once the room loads (#7510) 2022-11-07 11:58:34 +01:00
Maxime NATUREL
45050e8216 Removing error formatting from ViewModel 2022-11-07 11:45:31 +01:00
Maxime NATUREL
1d2b8e76a2 Adding min size annotation to task params 2022-11-07 11:13:23 +01:00
Maxime NATUREL
5515cd379f Use SHOW_AS_ACTION_IF_ROOM tag 2022-11-07 11:09:42 +01:00
Maxime NATUREL
3c7ba85c26 Removing unused string 2022-11-07 11:09:42 +01:00
Maxime NATUREL
d2d9da3ef7 Exclude the current session from other sessions and security recommendation screens 2022-11-07 11:09:42 +01:00
Maxime NATUREL
ef5aaf7525 Fix forbidden usage of AlertDialog 2022-11-07 11:09:42 +01:00
Maxime NATUREL
db42d1c01c Fix post rebase unit tests 2022-11-07 11:09:42 +01:00
Maxime NATUREL
76e2b6b39f Removing some TODOs 2022-11-07 11:09:42 +01:00
Maxime NATUREL
4b0b335a68 Fixing code quality issues 2022-11-07 11:09:42 +01:00
Maxime NATUREL
e0d511a488 Fixing a name of a mocked component 2022-11-07 11:09:42 +01:00
Maxime NATUREL
a3df90ae3e Adding unit tests about multi signout action for devices view model 2022-11-07 11:09:42 +01:00
Maxime NATUREL
880ee4058c Adding unit tests about reAuth actions for devices view model 2022-11-07 11:09:42 +01:00
Maxime NATUREL
5bcf2ac51e Adding unit tests for other sessions list view model 2022-11-07 11:09:41 +01:00
Maxime NATUREL
a968ac08c3 Adding unit tests for signout sessions use case 2022-11-07 11:09:41 +01:00
Maxime NATUREL
727c7462df Adding confirmation dialog before signout process 2022-11-07 11:09:41 +01:00
Maxime NATUREL
0f8e5919da Calling signout multi sessions use case in main screen for other sessions 2022-11-07 11:09:41 +01:00
Maxime NATUREL
1bda54323a Calling signout multi sessions use case in other sessions screen 2022-11-07 11:09:41 +01:00
Maxime NATUREL
bb262f0c41 Adding new "delete_devices" request API 2022-11-07 11:09:41 +01:00
Maxime NATUREL
7e836c0e97 Updating the action title to include sessions number 2022-11-07 11:09:41 +01:00
Maxime NATUREL
810c93cef9 Handling press on multi signout action from header menu in other sessions section 2022-11-07 11:09:41 +01:00
Maxime NATUREL
ae4a728358 Handling press on multi signout action in other sessions list screen 2022-11-07 11:09:41 +01:00
Maxime NATUREL
1ed92e5215 Adding overflow menu capability in sessions list header view 2022-11-07 11:09:41 +01:00
Maxime NATUREL
f45cc715d1 Adding new menu entry for multi signout 2022-11-07 11:09:41 +01:00
Maxime NATUREL
97cfc7dde4 Adding changelog entry 2022-11-07 11:09:41 +01:00
bmarty
46260b5768 Sync analytics plan 2022-11-07 00:04:35 +00:00
Weblate
d4eb64da58 Merge branch 'origin/develop' into Weblate. 2022-11-04 14:33:40 +00:00
Nizami
97841e117d Translated using Weblate (Azerbaijani)
Currently translated at 2.5% (2 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/az/
2022-11-04 14:33:25 +00:00
PotLice
de56e08cd2 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-11-04 14:33:24 +00:00
Besnik Bleta
ec22278eed Translated using Weblate (Albanian)
Currently translated at 98.8% (2501 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-11-04 14:33:23 +00:00
Peter Vágner
d6819dd8d7 Translated using Weblate (Slovak)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-11-04 14:33:02 +00:00
Nizami
7b82747108 Translated using Weblate (Azerbaijani)
Currently translated at 4.8% (123 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/az/
2022-11-04 14:33:01 +00:00
Mubark
e2327eaf79 Translated using Weblate (Arabic)
Currently translated at 39.5% (1001 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-11-04 14:33:01 +00:00
Florian Renaud
6d850b3030 Create VoiceBroadcast model with roomId and eventId 2022-11-04 11:36:15 +01:00
Florian Renaud
20d62b14de Changelog 2022-11-04 11:36:14 +01:00
Florian Renaud
b0a31304a1 Update seek bar tick progress while playing 2022-11-04 11:36:14 +01:00
Florian Renaud
ac0d823c88 Merge pull request #7519 from vector-im/bugfix/fre/unencrypted_media_event_json_type
Fix bad content types when sending unencrypted media event with additional content data
2022-11-04 10:40:18 +01:00
Maxime NATUREL
4621488f21 Merge pull request #7476 from vector-im/fix/mna/push-toggle-check-support
[Session manager] Hide push notification toggle when there is no server support (PSG-970)
2022-11-04 09:19:04 +01:00
Florian Renaud
c0ba2f2f48 Fix bad content types when sending unencrypted media 2022-11-03 11:28:45 +01:00
Maxime NATUREL
e9daef97b6 Fix order of check to get notification status 2022-11-03 11:27:02 +01:00
dependabot[bot]
bb02209537 Bump checker from 3.11.0 to 3.27.0
Bumps [checker](https://github.com/typetools/checker-framework) from 3.11.0 to 3.27.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.11.0...checker-framework-3.27.0)

---
updated-dependencies:
- dependency-name: org.checkerframework:checker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 23:10:39 +00:00
Florian Renaud
f34758c67b Merge pull request #7494 from vector-im/feature/fre/voice_broadcast_seek_to
Voice Broadcast - Add seek bar with basic implementation
2022-11-02 23:30:59 +01:00
Florian Renaud
98e0397afd Merge pull request #7455 from vector-im/resilience-rc
Merge branch resilience-rc into develop
2022-11-02 18:19:34 +01:00
ganfra
404383e683 Update versions 2022-11-02 17:58:10 +01:00
ganfra
3b2718951b Merge branch 'release/1.5.6' into main 2022-11-02 17:54:23 +01:00
ganfra
2444218b5d Merge branch 'main' into develop 2022-11-02 17:54:23 +01:00
ganfra
8ce9874cdc Update changes 2022-11-02 17:20:06 +01:00
Florian Renaud
481388ed32 Fix line length 2022-11-02 17:06:24 +01:00
Florian Renaud
b41346cdce Improve player transitions 2022-11-02 17:06:24 +01:00
Florian Renaud
eb61a23bf6 Temporary disable seekBar if playing state is paused or idle 2022-11-02 17:06:24 +01:00
Florian Renaud
7d3f6365e2 Use sum() instead of reduce operator 2022-11-02 17:06:24 +01:00
Florian Renaud
bc3fe4e5f6 Minor cleanup 2022-11-02 17:06:24 +01:00
Florian Renaud
9219043579 VoiceBroadcastPlayer - seek implementation 2022-11-02 17:06:24 +01:00
Florian Renaud
a851e5aa85 VoiceBroadcastPlayer - Add seek control views 2022-11-02 17:06:23 +01:00
Jorge Martín
5c55a3261f Merge remote-tracking branch 'origin/develop' into resilience-rc 2022-11-02 16:00:34 +01:00
ganfra
546d039805 Merge pull request #7506 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-11-02 12:11:08 +01:00
ganfra
d954c9eae4 Merge pull request #6195 from vector-im/feature/bma/jitsi_5_1_0
Upgrade Jitsi SDK to 6.2.2
2022-11-02 12:10:25 +01:00
Weblate
b73787f585 Merge branch 'origin/develop' into Weblate. 2022-11-02 10:28:26 +00:00
PotLice
cd24ea7d60 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-11-02 10:28:24 +00:00
Nui Harime
b87ee907d3 Translated using Weblate (Russian)
Currently translated at 95.1% (2408 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-11-02 10:28:24 +00:00
Roel ter Maat
64ff184817 Translated using Weblate (Dutch)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-11-02 10:28:24 +00:00
Szimszon
4ca7ee50b8 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-11-02 10:28:23 +00:00
Jiri Grönroos
92f8e08772 Translated using Weblate (Finnish)
Currently translated at 80.8% (2046 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2022-11-02 10:28:23 +00:00
Vri
ad4d9ecf44 Translated using Weblate (German)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-02 10:28:22 +00:00
Florian Renaud
dac89add67 Merge pull request #7502 from vector-im/bugfix/fre/voice_broadcast_duplicated_chunks
Voice Broadcast - Fix duplicated chunks in the internal playlist during live broadcasts
2022-11-02 10:53:09 +01:00
Kat Gerasimova
b0a15cd10b Add issue automation to tidy Help Wanted
All "good first issue" and "Hacktoberfest" qualify as "Help Wanted" so the label should be added automatically
2022-11-02 09:50:44 +00:00
Maxime NATUREL
ac05e757be Small improvement to avoid tou many viewState updates 2022-11-02 09:37:10 +01:00
Maxime NATUREL
52a77e074f Renaming const for feature value 2022-11-02 09:37:10 +01:00
Maxime NATUREL
e67cc2b2db Adding unit tests on GetNotificationsStatusUseCase 2022-11-02 09:37:10 +01:00
Maxime NATUREL
62912f891c Introducing a NotificationsStatus to render the push notification toggle in session overview screen 2022-11-02 09:37:10 +01:00
Maxime NATUREL
1acb42f61d Adding use case to check support for new enabled field support 2022-11-02 09:37:10 +01:00
Maxime NATUREL
38fe556978 Adding changelog entry 2022-11-02 09:37:10 +01:00
Amit Kumar
b6746653f1 Add metrics plugin to track device download keys task (#7438)
* Add metrics tracking plugin for download device keys

* Add support for multiple metrics plugin

* Update copyright license header in matrix-sdk-android

* Add tests for MetricExtension

* Update changelog

* Improve MetricsExtension and reformatting
2022-11-02 13:43:57 +05:30
Florian Renaud
68062911a9 Changelog 2022-11-01 18:17:23 +01:00
Florian Renaud
20abef26b0 Filter duplicated events in live voice broadcasts 2022-11-01 17:59:59 +01:00
SpiritCroc
99d5107732 Changelog 7501 2022-11-01 15:49:46 +01:00
Kat Gerasimova
646cc7d67d Add issue automation for the VoIP team
Move VoIP issues to VoIP team board
2022-11-01 12:13:38 +00:00
SpiritCroc
411c8c9096 Fix duplicated pills when pills contain other spans
Fixes following issues:
- Duplicated pills if the mention contains an image: https://github.com/SchildiChat/SchildiChat-android/issues/148
- Duplicated pills if these contain underscores: https://github.com/SchildiChat/SchildiChat-android/issues/156
2022-11-01 11:21:27 +01:00
Weblate
2e8b67b670 Merge branch 'origin/develop' into Weblate. 2022-11-01 03:46:58 +00:00
phardyle
178326ce9f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-11-01 03:46:57 +00:00
Jeff Huang
7acf965cc1 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-11-01 03:46:57 +00:00
PotLice
d94b7bd8d8 Translated using Weblate (Chinese (Simplified))
Currently translated at 98.2% (2474 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-11-01 03:46:56 +00:00
Peter Vágner
75d82771bf Translated using Weblate (Slovak)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-11-01 03:46:56 +00:00
Nui Harime
15a72e2446 Translated using Weblate (Russian)
Currently translated at 95.1% (2408 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-11-01 03:46:56 +00:00
lvre
00b1513665 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-11-01 03:46:55 +00:00
Johan Smits
a8f52dddbe Translated using Weblate (Dutch)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-11-01 03:46:54 +00:00
Glandos
634d3d9794 Translated using Weblate (French)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-11-01 03:46:49 +00:00
Vri
9440de753e Translated using Weblate (German)
Currently translated at 99.9% (2530 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-11-01 03:46:48 +00:00
waclaw66
1d7b754b0e Translated using Weblate (Czech)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-11-01 03:46:48 +00:00
Auri B. P
c6b1abd5b7 Translated using Weblate (Catalan)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-11-01 03:46:47 +00:00
Nizami
93b4c04952 Translated using Weblate (Azerbaijani)
Currently translated at 4.7% (121 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/az/
2022-11-01 03:46:46 +00:00
phardyle
0bd56662ab Translated using Weblate (Chinese (Simplified))
Currently translated at 98.2% (2474 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-11-01 03:46:45 +00:00
PotLice
355bfd5a4c Translated using Weblate (Chinese (Simplified))
Currently translated at 98.2% (2474 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-11-01 03:46:44 +00:00
Jingchao Feng
8267c570df Translated using Weblate (Chinese (Simplified))
Currently translated at 98.2% (2474 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-11-01 03:46:36 +00:00
dependabot[bot]
d2012ae022 Bump lazythreetenbp from 0.11.0 to 0.12.0
Bumps [lazythreetenbp](https://github.com/gabrielittner/lazythreetenbp) from 0.11.0 to 0.12.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.11.0...0.12.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-10-31 23:10:15 +00:00
dependabot[bot]
d4234ae3bd 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-10-31 23:08:36 +00:00
Jorge Martin Espinosa
7ba1052bcf Fix rich text editor EditText not resizing properly in full screen (#7491)
* Fix rich text editor full screen mode

* Add changelog

* Address review comments.
2022-10-31 16:43:01 +01:00
Florian Renaud
48cca9973b Merge pull request #7485 from vector-im/feature/fre/start_voice_broadcast_error
Voice Broadcast - Show start voice broadcast errors in a dialog
2022-10-31 16:23:23 +01:00
Jorge Martin Espinosa
76ead3f344 Fix new line and enter key presses deleting existing text in some keyboards (#7437) 2022-10-31 16:16:42 +01:00
Florian Renaud
d7791402b7 Fix unit tests 2022-10-31 15:18:24 +01:00
Jorge Martin Espinosa
ce35472824 Fix share actions from outside the app (#7473) 2022-10-31 11:39:38 +00:00
Florian Renaud
a06efb7abd Fix lint issues 2022-10-31 10:58:09 +01:00
Florian Renaud
01ab39ec5f Merge pull request #7478 from vector-im/feature/fre/voice_broadcast_player_interface
Voice Broadcast - Some internal improvements related to the player
2022-10-31 10:55:19 +01:00
Joaquín Aguirrezabalaga
3a430efb02 Add setting to allow disabling direct share
Direct share continues to be enabled by default.

As requested in #2725

Signed-off-by: Joaquín Aguirrezabalaga <kinote@kinote.org>
2022-10-30 11:32:52 +01:00
dependabot[bot]
d1f5fa5b59 Bump flipper from 0.171.1 to 0.173.0
Bumps `flipper` from 0.171.1 to 0.173.0.

Updates `flipper` from 0.171.1 to 0.173.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.171.1...v0.173.0)

Updates `flipper-network-plugin` from 0.171.1 to 0.173.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.171.1...v0.173.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-28 23:06:32 +00:00
Weblate
841e98fe8d Merge branch 'origin/develop' into Weblate. 2022-10-28 19:33:17 +00:00
Danial Behzadi
68b3f407a4 Translated using Weblate (Persian)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2022-10-28 19:33:15 +00:00
phardyle
7d298ea729 Translated using Weblate (Chinese (Simplified))
Currently translated at 94.5% (2381 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-28 19:33:13 +00:00
Ihor Hordiichuk
e08e6e1442 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-10-28 19:33:12 +00:00
LinAGKar
bd7a2ae02b Translated using Weblate (Swedish)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-10-28 19:33:11 +00:00
Jozef Gaal
f487ec3948 Translated using Weblate (Slovak)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-10-28 19:33:10 +00:00
Dag Haaland
342065fbf0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 46.2% (1170 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2022-10-28 19:33:10 +00:00
random
e50d9ff45d Translated using Weblate (Italian)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-10-28 19:33:09 +00:00
Linerly
619d3ffc47 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-10-28 19:33:08 +00:00
Danial Behzadi
0422505cc7 Translated using Weblate (Persian)
Currently translated at 99.2% (2511 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-10-28 19:33:08 +00:00
Priit Jõerüüt
aa485eed10 Translated using Weblate (Estonian)
Currently translated at 99.6% (2523 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-10-28 19:33:03 +00:00
Vri
af187c4797 Translated using Weblate (German)
Currently translated at 100.0% (2531 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-28 19:33:02 +00:00
Nizami
901e6ab272 Translated using Weblate (Azerbaijani)
Currently translated at 4.6% (117 of 2531 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/az/
2022-10-28 19:33:01 +00:00
Benoit Marty
fbabe50875 Fix vulnerability 2022-10-28 16:41:44 +02:00
Benoit Marty
46d1795276 Fix crash due to missing notification
Thread: main, Exception: java.lang.RuntimeException: Unable to start service org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService@3d1f0bc with Intent { cmp=im.vector.app.debug/org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService (has extras) }: java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Notification(channel=JitsiOngoingConferenceChannel pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=call actions=2 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)
2022-10-28 11:10:08 +02:00
Florian Renaud
b510919d59 Add changelog 2022-10-28 10:53:35 +02:00
Florian Renaud
362696cfc8 VoiceBroadcast - Show error dialog if user is not able to record a voice broadcast 2022-10-28 10:43:34 +02:00
Florian Renaud
838e11c167 rename observeIncomingEvents method and reorder some methods 2022-10-28 10:43:05 +02:00
Florian Renaud
62c574b966 Add changelog 2022-10-28 10:29:48 +02:00
dependabot[bot]
14f1925cd3 Bump sonarqube-gradle-plugin from 3.4.0.2513 to 3.5.0.2730
Bumps sonarqube-gradle-plugin from 3.4.0.2513 to 3.5.0.2730.

---
updated-dependencies:
- dependency-name: org.sonarsource.scanner.gradle:sonarqube-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 23:17:24 +00:00
Florian Renaud
3fcac097d3 VoiceBroadcastPlayer - Fetch playlist in dedicated use case and improve player 2022-10-27 23:50:21 +02:00
Benoit Marty
e1393c2d63 Merge pull request #7469 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-10-27 17:29:39 +02:00
Florian Renaud
174ba4f4cc VoiceBroadcastPlayer - Create player interface and move implementation to dedicated class 2022-10-27 16:54:32 +02:00
Benoit Marty
6b34bb2086 Fix issue with Back button not working when conference is not joined yet. 2022-10-27 16:10:40 +02:00
Benoit Marty
40ea00f865 Empty commit to trigger CI 2022-10-27 15:54:24 +02:00
David Langley
15583a14aa changelog 2022-10-27 14:30:36 +01:00
David Langley
2b7560b1e7 Add Labs-Z label for rich text editor and migrate to new label naming 2022-10-27 14:21:14 +01:00
Benoit Marty
1b5852fbcb API break, replace leave() by broadcast 2022-10-27 14:37:29 +02:00
Benoit Marty
f93f43bf8b Fix issue with Jitsi compilation
Error was lots of `Duplicate class org.checkerframework.common.reflection.qual.MethodVal found in modules jetified-checker-3.1 (org.checkerframework:checker:3.1.1) and jetified-checker-qual-3.12.0 (org.checkerframework:checker-qual:3.12.0)
Cannot use latest 3.15.0 since it required min API 26.
2022-10-27 14:36:45 +02:00
Benoit Marty
ac4785a0dd Fix lint issue 2022-10-27 14:36:45 +02:00
Benoit Marty
acd02d1d99 Improve comment 2022-10-27 14:36:45 +02:00
Benoit Marty
461d07a4c3 changelog 2022-10-27 14:36:45 +02:00
Benoit Marty
16a5046601 Add a DebugJitsiActivity for debug build only. It's quite useless... 2022-10-27 14:34:58 +02:00
Benoit Marty
4515dcdfe9 Update Jitsi and WebRtc dependencies to android-sdk-6.2.2 2022-10-27 14:34:58 +02:00
Benoit Marty
a1278ee2f2 Update the recipe. 2022-10-27 14:33:49 +02:00
Benoit Marty
77f7b41cb2 Build android-sdk-6.2.2 2022-10-27 14:33:49 +02:00
Benoit Marty
fe6669380a Merge pull request #7362 from vector-im/kittykat-patch-1
Add issue automation for PS feature teams
2022-10-27 14:12:36 +02:00
Jingchao Feng
5d4215744a Translated using Weblate (Chinese (Simplified))
Currently translated at 94.5% (2381 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-27 03:41:14 +00:00
Weblate
a620d6ec67 Merge branch 'origin/develop' into Weblate. 2022-10-27 03:38:16 +00:00
phardyle
8c72a76c06 Translated using Weblate (Chinese (Simplified))
Currently translated at 94.5% (2381 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-27 03:38:16 +00:00
Ihor Hordiichuk
ae30f29782 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-10-27 03:38:15 +00:00
lvre
2a0b1ab97b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-10-27 03:38:15 +00:00
Roel ter Maat
e185bdf8e7 Translated using Weblate (Dutch)
Currently translated at 97.9% (2468 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-10-27 03:38:14 +00:00
Priit Jõerüüt
0ef9e5358f Translated using Weblate (Estonian)
Currently translated at 99.6% (2511 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-10-27 03:38:08 +00:00
Auri B. P
d7ebdbfdf5 Translated using Weblate (Catalan)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-10-27 03:38:08 +00:00
Nizami
df16ec6cda Translated using Weblate (Azerbaijani)
Currently translated at 2.7% (69 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/az/
2022-10-27 03:38:07 +00:00
Jingchao Feng
b00178c013 Translated using Weblate (Chinese (Simplified))
Currently translated at 94.5% (2381 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-27 03:38:05 +00:00
phardyle
1007e02ceb Translated using Weblate (Chinese (Simplified))
Currently translated at 94.5% (2381 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-27 03:38:05 +00:00
jonnyandrew
c776aae9d0 [Rich text editor] Add plain text mode and new attachment UI (#7459)
* Add new attachments selection dialog

* Add rounded corners to bottom sheet dialog.

Note these are currently only visible in the collapsed state.
- [Google issue](https://issuetracker.google.com/issues/144859239)
- [Rejected PR](https://github.com/material-components/material-components-android/pull/437)
- [Github issue](https://github.com/material-components/material-components-android/issues/1278)

* Add changelog entry

* Remove redundant call to superclass click listener

* Refactor to use view visibility helper

* Change redundant sealed class to interface

* Remove unused string

* Revert "Add rounded corners to bottom sheet dialog."

This reverts commit 17c43c9188.

* Remove redundant view group

* Remove redundant `this`

* Update rich text editor to latest

* Update rich text editor version

* Allow toggling rich text in the new editor

* Persist the text formatting setting

* Add changelog entry
2022-10-26 18:37:40 +02:00
Eric Decanini
29d3856ef2 Merge pull request #7424 from vector-im/feature/eric/msc3773
Implements MSC3773 (Thread Notifications)
2022-10-26 10:44:32 -04:00
Florian Renaud
bdfc96ff66 Fix merge conflicts 2022-10-26 16:36:51 +02:00
Florian Renaud
751afbdd7b Merge pull request #7458 from vector-im/feature/fre/voice_broadcast_remove_useless_logs
[Voice Broadcast] Minor cleanup in GetOngoingVoiceBroadcastsUseCase
2022-10-26 16:16:25 +02:00
Florian Renaud
cb5fc75c5d GetOngoingVoiceBroadcastsUseCase: Return empty list if there is no session 2022-10-26 16:08:03 +02:00
Florian Renaud
c20f6fe326 GetOngoingVoiceBroadcastsUseCase: Remove debug logs 2022-10-26 16:07:38 +02:00
Florian Renaud
6ee77ad101 Merge pull request #7450 from vector-im/feature/fre/voice_broadcast_stop_on_app_restart
Voice Broadcast - Stop recording on app restart
2022-10-26 15:49:32 +02:00
Jorge Martin Espinosa
d242ab049b [Rich text editor] Implement full screen editor mode (simple approach) (#7436)
* Rich text editor: implement full screen editor mode using ConstraintSets

* Add back press handler

* Change ToggleFullScreen to SetFullScreen, fix rebase issues

* Add warning to fragment_timeline* files
2022-10-26 15:15:48 +02:00
Florian Renaud
0cc2a477b4 Mockk GetOngoingVoiceBroadcastsUseCase and adapt tests 2022-10-26 14:54:55 +02:00
Benoit Marty
e41b1a6e8b Merge pull request #7454 from vector-im/feature/bma/upgrade_sanselan
Replace org.apache.sanselan:sanselan by org.apache.commons:commons-imaging
2022-10-26 14:19:08 +02:00
Maxime NATUREL
e8bf79969b Merge pull request #7408 from vector-im/feature/mna/session_manager_multi_selection
[Session manager] Multi selection in sessions list (PSG-852)
2022-10-26 14:10:27 +02:00
Florian Renaud
23b4f6d42f Inject ActiveSessionHolder in GetOngoingVoiceBroadcastsUseCase 2022-10-26 12:49:51 +02:00
Florian Renaud
443d573205 Remove getOngoingVoiceBroadcasts from VoiceBroadcastHelper 2022-10-26 12:48:32 +02:00
Florian Renaud
5855fe1242 Add StopOngoingVoiceBroadcastUseCase 2022-10-26 12:44:38 +02:00
Florian Renaud
2f14d19130 Fix failing test 2022-10-26 12:44:37 +02:00
Benoit Marty
307b71dbd7 Changelog 2022-10-26 12:40:45 +02:00
Benoit Marty
c8d08e21a8 Small refactor 2022-10-26 12:36:58 +02:00
Benoit Marty
e8046da0ba Use GpsTagConstants.ALL_GPS_TAGS to remove all tags related to GPS. 2022-10-26 12:34:03 +02:00
Benoit Marty
3632e6dc8a Replace library org.apache.sanselan:sanselan:0.97-incubator with org.apache.commons:commons-imaging:1.0-alpha3 2022-10-26 12:32:27 +02:00
Maxime NATUREL
e765575cf6 Renaming and creating a fixture method for DeviceFullInfo mocks 2022-10-26 12:22:26 +02:00
Maxime NATUREL
db17d02f36 Using host variable to make the code nicer 2022-10-26 12:22:26 +02:00
Maxime NATUREL
3e1c110343 Updating some new string keys to make them more generic 2022-10-26 12:22:26 +02:00
Maxime NATUREL
600f650256 Fixing visibility of the select session action when empty list 2022-10-26 12:22:25 +02:00
Maxime NATUREL
b7f9419bd4 Fix usage of @+id in xml file 2022-10-26 12:22:25 +02:00
Maxime NATUREL
2e99d45c82 Adding unit test about select mode 2022-10-26 12:22:25 +02:00
Maxime NATUREL
3bba9dea25 Adding unit test for filter action 2022-10-26 12:22:25 +02:00
Maxime NATUREL
4a8289c6cc Adding first unit test on OtherSessionsViewModel for init of ViewModel 2022-10-26 12:22:25 +02:00
Maxime NATUREL
3390d7fde4 Handling correct UI for selected session 2022-10-26 12:22:25 +02:00
Maxime NATUREL
a703b8ae10 Select all/Deselect all actions 2022-10-26 12:22:25 +02:00
Maxime NATUREL
2fc2665ff3 Deselect all sessions when leaving select mode 2022-10-26 12:22:25 +02:00
Maxime NATUREL
5b1bf8a68e Select devices with basic UI for tests 2022-10-26 12:22:25 +02:00
Maxime NATUREL
ab2e91ae80 Enable selectMode when long pressing on list item 2022-10-26 12:22:25 +02:00
Maxime NATUREL
2e155b1acc Toggling of selectMode using menu i OtherSessionsFragment 2022-10-26 12:22:25 +02:00
Maxime NATUREL
b532112f58 Adding changelog entry 2022-10-26 12:22:25 +02:00
Florian Renaud
65a5ae9d3d Merge pull request #7449 from vector-im/feature/fre/voice_broadcast_device_id
Voice Broadcast - Do not display the recording tile on the other sessions
2022-10-26 11:54:02 +02:00
Florian Renaud
6f1e0b5bbd Merge pull request #7448 from vector-im/feature/fre/voice_broadcast_timeline_improvements
Voice Broadcast - Improve timeline rendering code
2022-10-26 11:53:44 +02:00
Kat Gerasimova
b7e0d93ce1 Do not require kittykat's PR to include a sign-off 2022-10-26 10:17:26 +01:00
Florian Renaud
1554d79f1a Change listeners Map variable to immutable 2022-10-26 10:48:11 +02:00
Florian Renaud
8fe3b5e750 Rename method renderPlayingState to renderRecordingState 2022-10-26 10:46:33 +02:00
Florian Renaud
6091ec4ce3 Fix wrong content description 2022-10-26 10:45:25 +02:00
Florian Renaud
ec80adc8aa Rename usecase file 2022-10-26 10:10:56 +02:00
Florian Renaud
47047b2034 move map operator in a new line 2022-10-26 10:00:56 +02:00
Florian Renaud
85bc78bd72 Do not pause already paused voice broadcast 2022-10-26 09:50:58 +02:00
Florian Renaud
53db04c8cf Add changelog 2022-10-26 09:46:24 +02:00
Florian Renaud
6eeb54ae40 Stop ongoing voice broadcast on app restart 2022-10-26 09:46:23 +02:00
ericdecanini
b34468b417 Merge remote-tracking branch 'origin/develop' into feature/eric/msc3773 2022-10-25 22:16:40 -04:00
ericdecanini
51251c2b2b Merge remote-tracking branch 'origin/develop' into feature/eric/msc3773 2022-10-25 11:56:46 -04:00
Florian Renaud
a4eff0cc78 Add changelog 2022-10-25 17:56:27 +02:00
Florian Renaud
c7c05d1fe6 Add check on deviceId before showing recording tile 2022-10-25 17:54:26 +02:00
Florian Renaud
0f21f404e6 Add changelog 2022-10-25 17:41:36 +02:00
Florian Renaud
513097585a Fix kdoc issue 2022-10-25 17:38:05 +02:00
Florian Renaud
649747bbb8 Move voice broadcast item attributes to dedicated class 2022-10-25 16:32:44 +02:00
Florian Renaud
f31429cf25 Rename renderLiveIcon method 2022-10-25 16:32:44 +02:00
Florian Renaud
2c144614ca Improve recording state rendering if app has been relaunched 2022-10-25 16:32:44 +02:00
Florian Renaud
a7c24b23a0 Improve VoiceBroadcastItemFactory 2022-10-25 16:31:25 +02:00
Florian Renaud
4defc3dded Voice Broadcast - Add style for the "live" indicator 2022-10-25 16:31:25 +02:00
Florian Renaud
1566adb669 Timeline - Add abstraction on voice broadcast items 2022-10-25 16:31:24 +02:00
Florian Renaud
6a88c61d12 Group voice broadcast controller buttons in a Flow 2022-10-25 16:31:24 +02:00
Benoit Marty
cbb0d4b438 Merge pull request #7442 from vector-im/dependabot/gradle/androidx.activity-activity-ktx-1.6.1
Bump activity-ktx from 1.6.0 to 1.6.1 - REQUIRES CHANGES ON THE CODE
2022-10-25 16:04:31 +02:00
Benoit Marty
88435f2c01 Merge pull request #7353 from vector-im/feature/bma/paparazzi_version
Ensure the latest paparazzi version is used, when updated by Dependabot.
2022-10-25 13:54:17 +02:00
jonnyandrew
7cc06fa5ee Merge pull request #7429 from jonnyandrew/feat/PSU-919-attachments-v2
Add new UI for selecting an attachment type
2022-10-25 11:46:34 +01:00
dependabot[bot]
d908ca6b02 Bump activity-ktx from 1.6.0 to 1.6.1
Bumps activity-ktx from 1.6.0 to 1.6.1.

---
updated-dependencies:
- dependency-name: androidx.activity:activity-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 10:09:03 +00:00
Benoit Marty
ac332a8b83 Merge branch 'develop' into feature/bma/paparazzi_version 2022-10-25 11:51:46 +02:00
Benoit Marty
8fb650f34b Merge pull request #7443 from vector-im/dependabot/gradle/io.sentry-sentry-android-6.6.0
Bump sentry-android from 6.4.3 to 6.6.0
2022-10-25 11:48:13 +02:00
Benoit Marty
f4549b6b0d Merge branch 'develop' into feature/bma/paparazzi_version 2022-10-25 11:26:17 +02:00
Benoit Marty
1728c66eda Merge pull request #7328 from vector-im/dependabot/github_actions/danger/danger-js-11.1.4
Bump danger/danger-js from 11.1.3 to 11.1.4
2022-10-25 11:14:44 +02:00
Benoit Marty
67c2b3d01d Merge pull request #7388 from vector-im/dependabot/github_actions/michaelkaye/setup-matrix-synapse-1.0.4
Bump michaelkaye/setup-matrix-synapse from 1.0.3 to 1.0.4
2022-10-25 11:13:28 +02:00
Benoit Marty
1309f9b6ea Merge pull request #7347 from vector-im/dependabot/gradle/appDistribution-16.0.0-beta05
Bump appDistribution from 16.0.0-beta04 to 16.0.0-beta05
2022-10-25 11:13:09 +02:00
Benoit Marty
b49ef3e7d0 Merge pull request #7366 from vector-im/dependabot/gradle/com.google.devtools.ksp-1.7.20-1.0.7
Bump com.google.devtools.ksp from 1.7.20-1.0.6 to 1.7.20-1.0.7
2022-10-25 11:12:43 +02:00
Benoit Marty
5b6763ff89 Merge pull request #7349 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-connector-2.1.1
Bump android-connector from 2.1.0 to 2.1.1
2022-10-25 11:12:07 +02:00
Benoit Marty
36143d6f9f Merge pull request #7367 from vector-im/dependabot/gradle/com.google.android.gms-play-services-location-21.0.0
Bump play-services-location from 20.0.0 to 21.0.0
2022-10-25 11:11:40 +02:00
Benoit Marty
dbd4f6e4f5 Merge pull request #7416 from vector-im/dependabot/gradle/com.google.android.material-material-1.7.0
Bump material from 1.6.1 to 1.7.0
2022-10-25 11:09:53 +02:00
Benoit Marty
ac74f4f270 Merge pull request #7439 from vector-im/dependabot/github_actions/alex-page/github-project-automation-plus-0.8.2
Bump alex-page/github-project-automation-plus from 0.8.1 to 0.8.2
2022-10-25 11:08:53 +02:00
Benoit Marty
2f6ebbd0af Merge pull request #7440 from vector-im/dependabot/gradle/fragment-1.5.4
Bump fragment from 1.5.3 to 1.5.4
2022-10-25 11:07:50 +02:00
Benoit Marty
80c48f47a1 Merge pull request #7444 from vector-im/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.5
Bump exifinterface from 1.3.4 to 1.3.5
2022-10-25 11:05:09 +02:00
Benoit Marty
141478d292 Merge pull request #7441 from vector-im/dependabot/gradle/org.amshove.kluent-kluent-android-1.72
Bump kluent-android from 1.68 to 1.72
2022-10-25 11:03:53 +02:00
Weblate
0c31cb81a1 Merge branch 'origin/develop' into Weblate. 2022-10-25 07:21:27 +00:00
random
f8144664fd Translated using Weblate (Italian)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-10-25 07:21:27 +00:00
Jeff Huang
92e9c490d4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-10-25 07:21:25 +00:00
phardyle
3029447360 Translated using Weblate (Chinese (Simplified))
Currently translated at 94.3% (2376 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-25 07:21:24 +00:00
LinAGKar
ba039efb08 Translated using Weblate (Swedish)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-10-25 07:21:24 +00:00
Jozef Gaal
9e14c85be6 Translated using Weblate (Slovak)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-10-25 07:21:20 +00:00
Nui Harime
fbaa759fae Translated using Weblate (Russian)
Currently translated at 95.2% (2400 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-25 07:21:19 +00:00
random
0e50002fd1 Translated using Weblate (Italian)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-10-25 07:21:19 +00:00
Linerly
079273f001 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-10-25 07:21:18 +00:00
Szimszon
20ce4a3136 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-10-25 07:21:18 +00:00
Glandos
a1d550ad1d Translated using Weblate (French)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-10-25 07:21:17 +00:00
Jiri Grönroos
1c0f059fd7 Translated using Weblate (Finnish)
Currently translated at 81.1% (2045 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2022-10-25 07:21:16 +00:00
Vri
e0af6e661d Translated using Weblate (German)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-25 07:21:16 +00:00
waclaw66
224f016acf Translated using Weblate (Czech)
Currently translated at 100.0% (2519 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-10-25 07:21:15 +00:00
Jingchao Feng
1cf167cfa5 Translated using Weblate (Chinese (Simplified))
Currently translated at 94.3% (2376 of 2519 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-25 07:21:13 +00:00
ericdecanini
dffb9d3d9d Fixes lint error 2022-10-24 21:39:31 -04:00
dependabot[bot]
b3dcc605d9 Bump exifinterface from 1.3.4 to 1.3.5
Bumps exifinterface from 1.3.4 to 1.3.5.

---
updated-dependencies:
- dependency-name: androidx.exifinterface:exifinterface
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 23:11:23 +00:00
dependabot[bot]
76ab69e7a5 Bump sentry-android from 6.4.3 to 6.6.0
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.4.3 to 6.6.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.4.3...6.6.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 23:10:34 +00:00
dependabot[bot]
8163d0d47b Bump kluent-android from 1.68 to 1.72
Bumps [kluent-android](https://github.com/MarkusAmshove/Kluent) from 1.68 to 1.72.
- [Release notes](https://github.com/MarkusAmshove/Kluent/releases)
- [Changelog](https://github.com/MarkusAmshove/Kluent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MarkusAmshove/Kluent/compare/v1.68...v1.72)

---
updated-dependencies:
- dependency-name: org.amshove.kluent:kluent-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 23:09:47 +00:00
dependabot[bot]
085fbcf2fa Bump fragment from 1.5.3 to 1.5.4
Bumps `fragment` from 1.5.3 to 1.5.4.

Updates `fragment-ktx` from 1.5.3 to 1.5.4

Updates `fragment-testing` from 1.5.3 to 1.5.4

---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.fragment:fragment-testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 23:08:46 +00:00
dependabot[bot]
c9fee49b98 Bump alex-page/github-project-automation-plus from 0.8.1 to 0.8.2
Bumps [alex-page/github-project-automation-plus](https://github.com/alex-page/github-project-automation-plus) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/alex-page/github-project-automation-plus/releases)
- [Commits](bb266ff4dd...1f8873e97e)

---
updated-dependencies:
- dependency-name: alex-page/github-project-automation-plus
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 23:03:12 +00:00
ericdecanini
3673e720fa Code improvements 2022-10-24 10:31:55 -04:00
ericdecanini
35be56a44a Merge remote-tracking branch 'origin/develop' into feature/eric/msc3773
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
2022-10-24 10:28:21 -04:00
Nikita Fedrunov
59cf20be35 added UI tests for new App Layout's screens (#7305) 2022-10-24 11:01:44 +02:00
Jonny Andrew
cdc8f7fea7 Remove redundant this 2022-10-24 09:43:28 +01:00
Jonny Andrew
b9c1aa6ded Remove redundant view group 2022-10-24 09:31:25 +01:00
Jonny Andrew
293811220d Revert "Add rounded corners to bottom sheet dialog."
This reverts commit 17c43c9188.
2022-10-24 09:26:11 +01:00
Jonny Andrew
0650b6ae22 Remove unused string 2022-10-24 09:24:00 +01:00
Jonny Andrew
c401d55dea Change redundant sealed class to interface 2022-10-24 09:22:12 +01:00
Jonny Andrew
74591f5261 Refactor to use view visibility helper 2022-10-24 09:20:51 +01:00
Jonny Andrew
9da575b4d0 Remove redundant call to superclass click listener 2022-10-24 09:19:01 +01:00
Weblate
e95caa4c40 Merge branch 'origin/develop' into Weblate. 2022-10-22 19:33:37 +00:00
Linerly
2c34e0589e Translated using Weblate (Indonesian)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-10-22 19:33:36 +00:00
mmehdishafiee
7c984b9473 Translated using Weblate (Persian)
Currently translated at 98.7% (78 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2022-10-22 19:33:34 +00:00
random
c278bfd5fa Translated using Weblate (Italian)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-10-22 19:33:32 +00:00
Ihor Hordiichuk
d67809c1e5 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-10-22 19:33:30 +00:00
LinAGKar
a63df378d7 Translated using Weblate (Swedish)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sv/
2022-10-22 19:33:28 +00:00
Jozef Gaal
666c5f2076 Translated using Weblate (Slovak)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-10-22 19:33:26 +00:00
Nui Harime
ea07b4640a Translated using Weblate (Russian)
Currently translated at 91.1% (72 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/ru/
2022-10-22 19:33:24 +00:00
lvre
66963781a8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-10-22 19:33:22 +00:00
Glandos
eca8eae7f7 Translated using Weblate (French)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2022-10-22 19:33:20 +00:00
Ihor Hordiichuk
0754370b26 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-10-22 19:33:18 +00:00
LinAGKar
acc1f6628e Translated using Weblate (Swedish)
Currently translated at 98.1% (2465 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-10-22 19:33:18 +00:00
Nui Harime
6bb8ebe337 Translated using Weblate (Russian)
Currently translated at 95.5% (2400 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-22 19:33:15 +00:00
lvre
e450d4b7d2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-10-22 19:33:14 +00:00
random
afc564cc6f Translated using Weblate (Italian)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-10-22 19:33:14 +00:00
Linerly
11a69dd6b7 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-10-22 19:33:13 +00:00
Szimszon
097d231d7d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-10-22 19:33:12 +00:00
Jiri Grönroos
292a7beb4b Translated using Weblate (Finnish)
Currently translated at 81.1% (2039 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2022-10-22 19:33:11 +00:00
waclaw66
8d90657117 Translated using Weblate (Czech)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-10-22 19:33:01 +00:00
Auri B. P
5896f14043 Translated using Weblate (Catalan)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-10-22 19:33:01 +00:00
Jonny Andrew
f52aaef645 Add changelog entry 2022-10-21 17:40:09 +01:00
Jonny Andrew
17c43c9188 Add rounded corners to bottom sheet dialog.
Note these are currently only visible in the collapsed state.
- [Google issue](https://issuetracker.google.com/issues/144859239)
- [Rejected PR](https://github.com/material-components/material-components-android/pull/437)
- [Github issue](https://github.com/material-components/material-components-android/issues/1278)
2022-10-21 17:40:09 +01:00
Jonny Andrew
bec7143824 Add new attachments selection dialog 2022-10-21 17:40:08 +01:00
jonnyandrew
31811bb7e0 Fix crash by disabling Flipper on API 22 and below (#7428)
* Disable Flipper on API 21 and below - only affects debug builds.

Due to a bug: https://github.com/facebook/flipper/issues/3572

* Add jonnyandrew to PR sign-off allowlist

Co-authored-by: Benoit Marty <benoit.marty@gmail.com>
2022-10-21 17:36:31 +01:00
Benoit Marty
e003d01ec4 Merge pull request #7373 from vector-im/kittykat-patch-2
Update issue automation for design
2022-10-21 17:51:27 +02:00
Nikita Fedrunov
113d0ff540 thread read receipts and unread notifications support is added to hom… (#7386) 2022-10-21 15:06:20 +02:00
Kat Gerasimova
8a4d918b25 Update triage-labelled.yml 2022-10-21 09:59:40 +01:00
ericdecanini
f76490130c Adds changelog file 2022-10-20 19:49:37 -04:00
ericdecanini
1086ed367e Fixes thread notifications instantly disappearing 2022-10-20 19:42:06 -04:00
Florian Renaud
2a977f341b Merge pull request #7421 from vector-im/feature/fre/voice_broadcast_timeline_tiles
Voice Broadcast - Improve recording and listening tiles in the timeline
2022-10-21 00:53:39 +02:00
Florian Renaud
926f4d9201 Fix play/pause button disabled 2022-10-20 23:58:17 +02:00
Florian Renaud
d44d81ed46 Merge pull request #7419 from vector-im/feature/fre/voice_broadcast_live_listening
Voice broadcast - live listening
2022-10-20 23:52:57 +02:00
Florian Renaud
34cafa373f Add missing content description 2022-10-20 23:43:33 +02:00
Florian Renaud
4a76998c98 Use CopyOnWriteArrayList 2022-10-20 23:28:33 +02:00
Florian Renaud
f2cc08263f Call onClick instead of setOnClickListener 2022-10-20 23:28:33 +02:00
Florian Renaud
9a96de4f06 Set id to VoiceBroadcast items 2022-10-20 23:28:33 +02:00
Florian Renaud
8869d82dd0 Add changelog 2022-10-20 23:28:32 +02:00
Florian Renaud
930c856728 Add additional information in listening tile 2022-10-20 23:28:32 +02:00
Florian Renaud
72a1acec89 Fix voice broadcast state update on wrong thread 2022-10-20 23:28:32 +02:00
Florian Renaud
6ff7a7f3ae Update buffering view 2022-10-20 23:28:32 +02:00
Florian Renaud
9c5b6d8207 Fix null voiceBroadcastId when the playlist is empty 2022-10-20 23:28:32 +02:00
Florian Renaud
cebc096ac7 VoiceBroadcast - Update live indicator icon 2022-10-20 23:28:32 +02:00
Florian Renaud
f711a0ea74 VoiceBroadcast - Listening view 2022-10-20 23:28:32 +02:00
Florian Renaud
f1b4ebbc37 VoiceBroadcast - Introduce listening view 2022-10-20 23:28:32 +02:00
Florian Renaud
4c71209573 VoiceBroadcast - Add recording view 2022-10-20 23:28:31 +02:00
yostyle
0a9f2bfa0a Fix some PR comments 2022-10-20 23:03:28 +02:00
Florian Renaud
05eeef9dfe VoiceBroadcastListener - Handle end of live listening 2022-10-20 23:03:28 +02:00
Florian Renaud
bafa2f8bde VoiceBroadcastRecorder - Send last sequence number on pause and stop 2022-10-20 23:03:28 +02:00
Florian Renaud
99a2afa5ee Add changelog 2022-10-20 23:03:28 +02:00
Florian Renaud
94390697ae VoiceBroadcastPlayer - Filter live broadcast state listening on the referenced eventId 2022-10-20 23:03:28 +02:00
Benoit Marty
ed0d255495 Quick improvement on the doc. 2022-10-20 14:03:42 +02:00
Florian Renaud
6d6b4e5208 VoiceBroadcast - Ignore voice broadcast info with empty content (eg. redacted) 2022-10-20 12:51:08 +02:00
Florian Renaud
f05f0a85b0 VoiceBroadcastRecorder - Improve recorder by sending chunk when pausing 2022-10-20 12:51:08 +02:00
Florian Renaud
e9c81ca98f VoiceBroadcastPlayer - Live listening 2022-10-20 12:51:08 +02:00
Florian Renaud
fe44a829af VoiceBroadcastPlayer - Improve currentVoiceBroadcastId 2022-10-20 12:34:59 +02:00
Florian Renaud
0c847cffc1 VoiceBroadcastPlayer - Use more accurate coroutine scope 2022-10-20 12:34:59 +02:00
Florian Renaud
b89ab6c2fd VoiceBroadcastPlayer - release previous MediaPlayer 2022-10-20 12:34:59 +02:00
Florian Renaud
6554f571f2 VoiceBroadcastPlayer - Inject ActiveSessionHolder instead of Session 2022-10-20 12:34:59 +02:00
Weblate
86fc794a92 Merge branch 'origin/develop' into Weblate. 2022-10-20 08:06:49 +00:00
waclaw66
08271218e6 Translated using Weblate (Czech)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-10-20 08:06:48 +00:00
Jeff Huang
b95ae7d36a Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-10-20 08:06:46 +00:00
Priit Jõerüüt
1b8308c12b Translated using Weblate (Estonian)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-10-20 08:06:44 +00:00
Nui Harime
dc6722ec22 Translated using Weblate (Russian)
Currently translated at 88.6% (70 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/ru/
2022-10-20 08:06:42 +00:00
Vri
a5ad00a065 Translated using Weblate (German)
Currently translated at 100.0% (79 of 79 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-10-20 08:06:40 +00:00
Jeff Huang
e0978a2fc3 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-10-20 08:06:38 +00:00
phardyle
7796d97a98 Translated using Weblate (Chinese (Simplified))
Currently translated at 94.5% (2376 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-20 08:06:37 +00:00
Glandos
5f90f135ae Translated using Weblate (French)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-10-20 08:06:36 +00:00
Vri
12da349316 Translated using Weblate (German)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-20 08:06:33 +00:00
dependabot[bot]
26c550921a Bump dependency-check-gradle from 7.2.1 to 7.3.0 (#7415)
Bumps dependency-check-gradle from 7.2.1 to 7.3.0.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 08:27:20 +02:00
dependabot[bot]
ad7a6bd76b Bump material from 1.6.1 to 1.7.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 23:07:12 +00:00
ericdecanini
dc7bff10c1 Merge remote-tracking branch 'origin/feature/nfe/threads_notifications_and_receipts' into feature/eric/msc3773
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
2022-10-19 17:03:20 -04:00
ericdecanini
2379ce673b Adds filter event to opt in to thread notifications 2022-10-19 17:02:32 -04:00
Vri
5b1e29bb4f Translated using Weblate (German)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-19 19:04:58 +00:00
jucktnich
1e3f8231ba Translated using Weblate (German)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-19 19:04:58 +00:00
Weblate
fbe541ccce Merge branch 'origin/develop' into Weblate. 2022-10-19 18:38:14 +00:00
Ihor Hordiichuk
228a089de8 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-10-19 18:38:14 +00:00
Jozef Gaal
6e6bd6e4a2 Translated using Weblate (Slovak)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-10-19 18:38:14 +00:00
Nui Harime
ad81aa7642 Translated using Weblate (Russian)
Currently translated at 95.3% (2396 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-19 18:38:13 +00:00
Priit Jõerüüt
fd105ae5aa Translated using Weblate (Estonian)
Currently translated at 99.6% (2504 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-10-19 18:38:13 +00:00
Vri
a84123ff8b Translated using Weblate (German)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-19 18:38:12 +00:00
waclaw66
8b538a79bb Translated using Weblate (Czech)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-10-19 18:38:12 +00:00
Johannes Marbach
399e3b1c5a Translated using Weblate (German)
Currently translated at 100.0% (2512 of 2512 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-19 18:38:09 +00:00
Benoit Marty
9122d96fc6 Merge remote-tracking branch 'origin/develop' into develop 2022-10-19 17:17:33 +02:00
Benoit Marty
36eb538a93 Version++ 2022-10-19 17:17:21 +02:00
Benoit Marty
db35f5c7f2 Merge branch 'release/1.5.4' into main 2022-10-19 17:15:48 +02:00
Benoit Marty
d21dfce882 Merge branch 'release/1.5.4' into develop 2022-10-19 17:15:47 +02:00
Benoit Marty
86f7099127 fastlane 2022-10-19 17:15:35 +02:00
Benoit Marty
6b2ae76b48 Update recipe. 2022-10-19 17:14:07 +02:00
Weblate
5b1e33bab1 Merge branch 'origin/develop' into Weblate. 2022-10-19 15:13:36 +00:00
Nui Harime
7daa2f7281 Translated using Weblate (Russian)
Currently translated at 95.6% (2396 of 2505 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-19 15:13:36 +00:00
random
90e8028c5a Translated using Weblate (Italian)
Currently translated at 100.0% (2505 of 2505 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-10-19 15:13:35 +00:00
Priit Jõerüüt
54baf13b82 Translated using Weblate (Estonian)
Currently translated at 99.6% (2497 of 2505 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-10-19 15:13:35 +00:00
Vri
3598d27dfb Translated using Weblate (German)
Currently translated at 100.0% (2505 of 2505 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-19 15:13:35 +00:00
waclaw66
9d412ed6ad Translated using Weblate (Czech)
Currently translated at 100.0% (2505 of 2505 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-10-19 15:13:34 +00:00
Benoit Marty
e2a6a19429 Rewrite the Changelog 2022-10-19 17:12:29 +02:00
Johannes Marbach
451f5f824a Merge pull request #7369 from vector-im/feature/hughns/qr_code_login
Implement logic for sign in with QR
2022-10-19 17:10:19 +02:00
Benoit Marty
21c30c488c Towncrier 2022-10-19 17:07:11 +02:00
Benoit Marty
767be72eec Merge pull request #7404 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-10-19 13:26:19 +02:00
Weblate
0f1e218fa7 Merge branch 'origin/develop' into Weblate. 2022-10-19 10:28:10 +00:00
Benoit Marty
7ca1c4f084 Merge pull request #7401 from vector-im/dependabot/gradle/flipper-0.171.1
Bump flipper from 0.171.0 to 0.171.1
2022-10-19 12:27:47 +02:00
Weblate
ac4c98e688 Merge branch 'origin/develop' into Weblate. 2022-10-19 10:27:18 +00:00
Yaron Shahrabani
4b63f1db82 Translated using Weblate (Hebrew)
Currently translated at 84.7% (2121 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-10-19 10:27:15 +00:00
Jeff Huang
b6a33d1b7a Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-10-19 10:27:15 +00:00
phardyle
098aaf9d5c Translated using Weblate (Chinese (Simplified))
Currently translated at 94.7% (2371 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-19 10:27:13 +00:00
Ihor Hordiichuk
c2600dc535 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-10-19 10:27:12 +00:00
Jozef Gaal
5869c273bc Translated using Weblate (Slovak)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-10-19 10:27:10 +00:00
Nui Harime
27b07e8b5c Translated using Weblate (Russian)
Currently translated at 95.7% (2396 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-19 10:27:08 +00:00
lvre
225627fbfc Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-10-19 10:27:07 +00:00
Suguru Hirahara
19164c2352 Translated using Weblate (Japanese)
Currently translated at 89.2% (2233 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2022-10-19 10:27:05 +00:00
random
c12b21fb8c Translated using Weblate (Italian)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-10-19 10:26:59 +00:00
Linerly
f1f70c939f Translated using Weblate (Indonesian)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-10-19 10:26:57 +00:00
Szimszon
ee655a3840 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-10-19 10:26:55 +00:00
Balázs Meskó
ae2793e0c8 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-10-19 10:26:53 +00:00
Priit Jõerüüt
ef0e2ccaca Translated using Weblate (Estonian)
Currently translated at 99.6% (2495 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-10-19 10:26:53 +00:00
Vri
c1470618da Translated using Weblate (German)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-19 10:26:49 +00:00
waclaw66
67344ff40e Translated using Weblate (Czech)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-10-19 10:26:48 +00:00
Auri B. P
48e9066df4 Translated using Weblate (Catalan)
Currently translated at 97.6% (2443 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-10-19 10:26:46 +00:00
Nizami
62d4c811dd Translated using Weblate (Azerbaijani)
Currently translated at 2.4% (62 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/az/
2022-10-19 10:26:45 +00:00
Hugh Nimmo-Smith
025a89ff0c Merge branch 'feature/hughns/qr_code_login' of https://github.com/vector-im/element-android into feature/hughns/qr_code_login 2022-10-19 09:12:18 +01:00
Hugh Nimmo-Smith
4f652f1026 Request changes from review 2022-10-19 09:12:09 +01:00
Benoit Marty
ff4ec3f583 Fix typo 2022-10-19 10:00:34 +02:00
Benoit Marty
f5fe5cce62 Merge pull request #7372 from vector-im/feature/bma/fix_getUser_null
Handle properly when getUser returns null - prefer using getUserOrDefault
2022-10-19 08:40:44 +02:00
Florian Renaud
13972661e0 Merge pull request #7397 from vector-im/feature/fre/voice_broadcast_additional_content
Add additional data in voice broadcast events
2022-10-19 07:51:01 +02:00
Florian Renaud
1b9c2ed77c Merge pull request #7393 from vector-im/feature/fre/voice_broadcast_labs_flag
Add voice broadcast labs setting
2022-10-19 07:50:43 +02:00
dependabot[bot]
d0c5c3bc43 Bump flipper from 0.171.0 to 0.171.1
Bumps `flipper` from 0.171.0 to 0.171.1.

Updates `flipper` from 0.171.0 to 0.171.1
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.171.0...v0.171.1)

Updates `flipper-network-plugin` from 0.171.0 to 0.171.1
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.171.0...v0.171.1)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 23:07:29 +00:00
Florian Renaud
cafbb17caa Change wording to lowercase 2022-10-18 22:37:37 +02:00
Florian Renaud
096b423cc1 Update changelog wording 2022-10-18 22:10:18 +02:00
Florian Renaud
2e4034ffc1 Remove extra character 2022-10-18 22:05:45 +02:00
Florian Renaud
e4a98378a1 Fix unit test 2022-10-18 21:11:03 +02:00
Florian Renaud
0781ee84d9 Reformat file 2022-10-18 21:08:09 +02:00
Florian Renaud
a658e7727a Voice Broadcast - Update chunk length to 120 sec 2022-10-18 21:08:09 +02:00
Florian Renaud
5004db07fb Remove legacy comment 2022-10-18 21:08:09 +02:00
Florian Renaud
5438c7e089 Add changelog 2022-10-18 21:08:09 +02:00
Florian Renaud
64456860e2 Voice Broadcast - Add deviceId in state event content 2022-10-18 21:08:09 +02:00
Florian Renaud
1647fe233f Voice Broadcast - Introduce io.element.voice_broadcast_chunk key in voice messages 2022-10-18 21:08:09 +02:00
Florian Renaud
fbf242756e Allow additional content when sending an event 2022-10-18 21:08:08 +02:00
Florian Renaud
90803be3ee Voice Broadcast - Move Android API check on fragment 2022-10-18 21:07:45 +02:00
Florian Renaud
63c02c6fef Voice Broadcast - Restore feature flag and enable it by default 2022-10-18 21:07:44 +02:00
Florian Renaud
5a749bdccf Voice Broadcast - Update labs description 2022-10-18 21:07:44 +02:00
Florian Renaud
a03be5d02f Add changelog 2022-10-18 21:07:44 +02:00
Florian Renaud
ecc22a1401 Voice Broadcast - Change default chunk duration 2022-10-18 21:07:44 +02:00
Florian Renaud
036511400e Voice Broadcast - Hide labs setting in Android < 10 2022-10-18 21:07:44 +02:00
Florian Renaud
050dff6548 Voice Broadcast - Rename voice message files with sequence number 2022-10-18 21:07:44 +02:00
Florian Renaud
03ac0f1f03 Move Voice Broadcast feature flag to labs settings 2022-10-18 21:07:44 +02:00
Florian Renaud
0dad78a24a Merge pull request #7387 from vector-im/feature/fre/voice_broadcast_start_listening
Voice Broadcast - Listening
2022-10-18 17:54:07 +02:00
ericdecanini
ed9ecb7fc9 Merge remote-tracking branch 'origin/develop' into feature/eric/msc3773 2022-10-18 11:03:41 -04:00
Florian Renaud
b67500515c Merge pull request #7363 from vector-im/feature/fre/voice_broadcast_start_record
Voice Broadcast - Start record
2022-10-18 16:43:18 +02:00
Onuray Sahin
0c52a7ed04 Fix layout after try again button is clicked. 2022-10-18 15:45:39 +03:00
Hugh Nimmo-Smith
67be8c3c40 The one that got away 2022-10-18 12:44:05 +01:00
Florian Renaud
d53ad4328c Voice Broadcast - Pause listening outside of the timeline 2022-10-18 13:41:05 +02:00
Florian Renaud
e75ddf763b Add changelog file 2022-10-18 13:41:05 +02:00
Florian Renaud
4a32ccecfa Voice Broadcast Player - Add missing try catch 2022-10-18 13:41:05 +02:00
Florian Renaud
402224721b Voice Broadcast - Add voice message extensions 2022-10-18 13:41:05 +02:00
Florian Renaud
16c27ba174 Voice Broadcast - Get voice messages events related to a given VB 2022-10-18 13:41:05 +02:00
Florian Renaud
215128c213 Voice Broadcast - Add timeline item listening state 2022-10-18 13:41:04 +02:00
Florian Renaud
2760781f0a Voice Broadcast - Introduce listening actions 2022-10-18 13:41:04 +02:00
Florian Renaud
eb44b02228 Create VoiceBroadcastMediaPlayer 2022-10-18 13:41:04 +02:00
Florian Renaud
032c0152e4 Voice Broadcast - Move timeline item creation to dedicated factory 2022-10-18 13:41:04 +02:00
Florian Renaud
5f35926ce6 Voice Broadcast - Hide related voice message events 2022-10-18 13:41:04 +02:00
Florian Renaud
ce14270fab Introduce MessageAudioEvent 2022-10-18 13:41:04 +02:00
Florian Renaud
b9335c6065 Rename const DEFAULT_CHUNK_LENGTH_IN_SECONDS 2022-10-18 13:33:17 +02:00
Florian Renaud
92bd8cdcfe Voice Broadcast - Remove check on voice message minimum duration 2022-10-18 13:33:17 +02:00
Florian Renaud
def9fc07bb Revert AudioMessageHelper.pauseRecording 2022-10-18 13:33:16 +02:00
Florian Renaud
400118ed3e Remove useless Android API checks 2022-10-18 13:33:16 +02:00
Hugh Nimmo-Smith
f7e0a19833 Remove redundant annotations 2022-10-18 12:29:48 +01:00
Hugh Nimmo-Smith
811d6d87ae Reuse getDecimalCodeRepresentation from SAS instead of duplicating code 2022-10-18 12:23:21 +01:00
Hugh Nimmo-Smith
0acbd9c531 Merge branch 'feature/hughns/qr_code_login' of https://github.com/vector-im/element-android into feature/hughns/qr_code_login 2022-10-18 12:11:46 +01:00
Hugh Nimmo-Smith
916ae654e7 Don't log whole QR code 2022-10-18 12:11:41 +01:00
Hugh Nimmo-Smith
a83fb8bf83 Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/rendezvous/RendezvousChannel.kt
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-10-18 12:09:17 +01:00
Hugh Nimmo-Smith
8530f8f280 Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/rendezvous/channels/ECDHRendezvousChannel.kt
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-10-18 12:09:06 +01:00
Hugh Nimmo-Smith
0d1df3f66e Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/rendezvous/RendezvousChannel.kt
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-10-18 12:08:09 +01:00
Hugh Nimmo-Smith
9fb0db3129 Update library/ui-strings/src/main/res/values/strings.xml
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-10-18 12:07:12 +01:00
Benoit Marty
f3309692a4 Merge pull request #7239 from vector-im/feature/bma/arch_fixes
Feature/bma/arch fixes
2022-10-18 11:47:12 +02:00
Benoit Marty
3ccabd647a Merge pull request #7390 from vector-im/dependabot/gradle/flipper-0.171.0
Bump flipper from 0.170.0 to 0.171.0
2022-10-18 11:45:34 +02:00
NIkita Fedrunov
6f5fefba56 lint 2022-10-18 10:44:20 +02:00
Hugh Nimmo-Smith
376cd1cb36 Missing throws 2022-10-18 09:34:28 +01:00
Benoit Marty
42a073627f Merge pull request #7384 from vector-im/tech/bump-wysiwyg-lib-to-0.2.1
Bump WYSIWYG lib to 0.2.1
2022-10-18 10:33:38 +02:00
Hugh Nimmo-Smith
57a8dd4a1f Whitespce 2022-10-18 09:31:13 +01:00
Benoit Marty
e8dbdbb15f Merge pull request #7392 from vector-im/feature/bma/fix_post_pr
Fix message sent even if the step `ui-tests` is successful.
2022-10-18 10:28:40 +02:00
Benoit Marty
cf590c1887 Merge pull request #7382 from vector-im/feature/bma/nicer_doctor
Let the doctor be less strict and just warn.
2022-10-18 10:28:25 +02:00
Hugh Nimmo-Smith
a1d2944c32 Always check master key when provided by verifying device 2022-10-18 09:08:40 +01:00
Benoit Marty
6d6d2de08b Fix message send even if the step ui-tests is successful.
Jobs `codecov-units` and `integration-tests` do not exist anymore.
2022-10-18 10:00:18 +02:00
Hugh Nimmo-Smith
f297117df2 Use mutex 2022-10-18 08:48:28 +01:00
Florian Renaud
1db3d69aeb Change chunk_length type in unit test 2022-10-18 08:58:21 +02:00
Johannes Marbach
ba822d8231 Translated using Weblate (German)
Currently translated at 100.0% (2503 of 2503 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-18 03:54:23 +00:00
dependabot[bot]
afa55649c5 Bump play-services-location from 20.0.0 to 21.0.0
Bumps play-services-location from 20.0.0 to 21.0.0.

---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-location
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 00:52:02 +00:00
Eric Decanini
51a1545916 Merge pull request #7350 from vector-im/dependabot/gradle/com.google.firebase-firebase-messaging-23.1.0
Bump firebase-messaging from 23.0.8 to 23.1.0
2022-10-17 20:51:02 -04:00
Hugh Nimmo-Smith
8a62dfb34a Lint 2022-10-18 00:35:43 +01:00
Hugh Nimmo-Smith
a3126b0026 Progress to status screen on failure 2022-10-18 00:35:35 +01:00
Hugh Nimmo-Smith
cf1c7515fb Automatically try again on partial failed QR scan 2022-10-18 00:35:13 +01:00
dependabot[bot]
5c4c3c92d4 Bump flipper from 0.170.0 to 0.171.0
Bumps `flipper` from 0.170.0 to 0.171.0.

Updates `flipper` from 0.170.0 to 0.171.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.170.0...v0.171.0)

Updates `flipper-network-plugin` from 0.170.0 to 0.171.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.170.0...v0.171.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 23:08:08 +00:00
dependabot[bot]
7017cb97e9 Bump michaelkaye/setup-matrix-synapse from 1.0.3 to 1.0.4
Bumps [michaelkaye/setup-matrix-synapse](https://github.com/michaelkaye/setup-matrix-synapse) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/michaelkaye/setup-matrix-synapse/releases)
- [Commits](https://github.com/michaelkaye/setup-matrix-synapse/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: michaelkaye/setup-matrix-synapse
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 23:04:02 +00:00
Hugh Nimmo-Smith
8cfe6b1363 Wording updates 2022-10-17 23:46:28 +01:00
Florian Renaud
3a951f2076 Add punctuation to kdoc 2022-10-17 22:33:43 +02:00
Florian Renaud
62596b38c7 Pause recording when the composer is not visible anymore 2022-10-17 22:33:43 +02:00
Florian Renaud
9d35e81db7 Compute max file size from chunk length 2022-10-17 22:33:43 +02:00
Florian Renaud
64e6a2bfab Compute file size from chunk length 2022-10-17 22:33:43 +02:00
Florian Renaud
fb9c747a20 Reformat and add trailing commas 2022-10-17 22:33:43 +02:00
Florian Renaud
06bceef7c0 Add changelog 2022-10-17 22:33:43 +02:00
Florian Renaud
c492fda000 Change VoiceBroadcastRecorder as Interface 2022-10-17 22:33:43 +02:00
Florian Renaud
ad730d55c1 Fix tests 2022-10-17 22:33:42 +02:00
Florian Renaud
aecb66015d Move Voice Broadcast constants into dedicated object 2022-10-17 22:33:42 +02:00
Florian Renaud
3ad245db8b Trigger VoiceBroadcast recording actions 2022-10-17 22:33:42 +02:00
Florian Renaud
ad2bf8d1ce Add VoiceBroadcastRecorder 2022-10-17 22:33:42 +02:00
Florian Renaud
e775404e35 Improve VoiceRecorder abstraction 2022-10-17 22:33:42 +02:00
Florian Renaud
33a021c8ed Add sdk entry to attach reference to the outgoing events 2022-10-17 22:33:42 +02:00
Florian Renaud
dbc61971df Reduce duplicated code 2022-10-17 22:33:42 +02:00
Florian Renaud
a88a172f0f Trigger play/pause/resume/stop actions on VoiceRecorder 2022-10-17 22:33:42 +02:00
Hugh Nimmo-Smith
6d17d51fe9 remove nullability 2022-10-17 17:36:35 +01:00
Hugh Nimmo-Smith
8f4d998362 Lint 2022-10-17 17:33:43 +01:00
Hugh Nimmo-Smith
8c8190202f Better function name 2022-10-17 17:31:14 +01:00
Hugh Nimmo-Smith
41dbdbcd7b Lint 2022-10-17 17:30:54 +01:00
Weblate
383ada6304 Merge branch 'origin/develop' into Weblate. 2022-10-17 16:29:46 +00:00
Hugh Nimmo-Smith
d3e61a23a9 Fix generator 2022-10-17 17:29:45 +01:00
Jeff Huang
fd226b8eab Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-10-17 16:29:45 +00:00
Ihor Hordiichuk
d05ad9425e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-10-17 16:29:43 +00:00
LinAGKar
b2e2cbaf47 Translated using Weblate (Swedish)
Currently translated at 98.2% (2426 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-10-17 16:29:41 +00:00
Jozef Gaal
a1a9d8f150 Translated using Weblate (Slovak)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-10-17 16:29:37 +00:00
Nui Harime
440e3be739 Translated using Weblate (Russian)
Currently translated at 96.7% (2389 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-17 16:29:34 +00:00
lvre
b0470dce6a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-10-17 16:29:33 +00:00
random
5a9032b45c Translated using Weblate (Italian)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-10-17 16:29:31 +00:00
Linerly
0551cf9945 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-10-17 16:29:28 +00:00
Szimszon
209ad450c1 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-10-17 16:29:26 +00:00
Glandos
522dd2744e Translated using Weblate (French)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-10-17 16:29:21 +00:00
Danial Behzadi
f51b20481d Translated using Weblate (Persian)
Currently translated at 98.7% (2438 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-10-17 16:29:19 +00:00
Priit Jõerüüt
491b5cb537 Translated using Weblate (Estonian)
Currently translated at 98.6% (2437 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-10-17 16:29:18 +00:00
Christoph Klassen
9cac1c8cfb Translated using Weblate (German)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-17 16:29:17 +00:00
Vri
579eedd050 Translated using Weblate (German)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-17 16:29:17 +00:00
jucktnich
edf3f2cd46 Translated using Weblate (German)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-17 16:29:15 +00:00
Johannes Marbach
cfd750e5d2 Translated using Weblate (German)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-17 16:29:15 +00:00
waclaw66
f686299d34 Translated using Weblate (Czech)
Currently translated at 100.0% (2470 of 2470 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-10-17 16:29:14 +00:00
NIkita Fedrunov
eec99e65bd thread read receipts and unread notifications support is added to homeserver capatibilities 2022-10-17 18:09:45 +02:00
Maxime NATUREL
fc58e25af4 Merge pull request #7330 from vector-im/dependabot/gradle/com.likethesalad.android-stem-plugin-2.2.3
Bump stem-plugin from 2.2.2 to 2.2.3
2022-10-17 17:51:05 +02:00
Hugh Nimmo-Smith
c3669318c1 Merge branch 'feature/hughns/qr_code_login' of https://github.com/vector-im/element-android into feature/hughns/qr_code_login 2022-10-17 16:37:35 +01:00
Hugh Nimmo-Smith
1863e4c3ef Use unstable prefixes 2022-10-17 16:34:51 +01:00
Onuray Sahin
b2dc0b33b5 Implement try again button action. 2022-10-17 18:32:35 +03:00
Hugh Nimmo-Smith
552fb9de9a Improved comment around QR generation 2022-10-17 16:24:01 +01:00
Hugh Nimmo-Smith
3d37e0b2a5 Fix enum JsonClass generateAdapter = false 2022-10-17 16:19:03 +01:00
Hugh Nimmo-Smith
623277e31f Lint 2022-10-17 16:13:49 +01:00
Jorge Martín
7793667970 Update changelog 2022-10-17 17:12:16 +02:00
Hugh Nimmo-Smith
e877feed6e Add @JsonClass to all enums 2022-10-17 16:06:08 +01:00
Jorge Martín
76a11d97dc Bump WYSIWYG lib to 0.2.1 2022-10-17 17:05:36 +02:00
Hugh Nimmo-Smith
29065b819f Remove unused class 2022-10-17 16:03:47 +01:00
Hugh Nimmo-Smith
e01ee619d3 Refactor error handling and report E2EE errors 2022-10-17 16:02:25 +01:00
Onuray Sahin
47c87141b2 Merge pull request #7338 from vector-im/feature/ons/qr_code_login_ui
QR Code Login UI
2022-10-17 17:20:07 +03:00
dependabot[bot]
3adc1268a9 Bump stem-plugin from 2.2.2 to 2.2.3
Bumps stem-plugin from 2.2.2 to 2.2.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 13:59:14 +00:00
Benoit Marty
3864d937d9 Set warnWhenNotUsingParallelGC to false, because it fails the build. 2022-10-17 15:52:55 +02:00
Benoit Marty
fa1d2bd8ab Fix compilation issue after rebase. 2022-10-17 15:12:41 +02:00
Benoit Marty
822f06fef4 Fix ktlint issue 2022-10-17 15:07:11 +02:00
Benoit Marty
3bc3da1073 Rename PermalinkUseCase to PermalinkFactory 2022-10-17 15:07:11 +02:00
Benoit Marty
37f34dbdfd Expect the userId from the fakeSession 2022-10-17 15:07:11 +02:00
Benoit Marty
cfca776d01 Create PermalinkUseCase to avoid injecting the Session in the View. 2022-10-17 15:07:11 +02:00
Benoit Marty
aa806ed2c6 More cleanup on @Inject members 2022-10-17 15:07:11 +02:00
Benoit Marty
b3068c017d Inject ErrorFormatter in the parent Activity (often used) 2022-10-17 15:07:11 +02:00
Benoit Marty
cbd0972eca Reuse injected members in parent activity. 2022-10-17 15:06:22 +02:00
Benoit Marty
f95d21ef17 Inject member in VectorBaseActivity instead of using SingletonEntryPoint 2022-10-17 15:06:22 +02:00
Benoit Marty
ae802dea31 Avoid using ActiveSessionHolder in a Fragment. Use the userId from state.personalizationState 2022-10-17 15:06:22 +02:00
Benoit Marty
b5eb15c7e3 Avoid using ActiveSessionHolder in a Fragment. Move the userId to state.personalizationState 2022-10-17 15:06:22 +02:00
Benoit Marty
b6639fcb09 Merge pull request #7368 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.57
Bump libphonenumber from 8.12.56 to 8.12.57
2022-10-17 15:02:38 +02:00
Benoit Marty
5214751218 Let the doctor be less strict and just warn.
Keep the useful log "Is CI build: $isCiBuild".
2022-10-17 15:00:39 +02:00
Benoit Marty
997341b962 Merge pull request #7282 from vector-im/feature/bma/remove_original_event
Stop using `original_event` field
2022-10-17 14:43:22 +02:00
Hugh Nimmo-Smith
d616251f26 Fix merge 2022-10-17 13:41:27 +01:00
Hugh Nimmo-Smith
7e24f6a2b0 Merge branch 'feature/ons/qr_code_login_ui' into feature/hughns/qr_code_login 2022-10-17 13:40:42 +01:00
Onuray Sahin
d3a24fec9b Lint fix. 2022-10-17 15:35:21 +03:00
Hugh Nimmo-Smith
e89774e160 Merge branch 'feature/ons/qr_code_login_ui' into feature/hughns/qr_code_login 2022-10-17 13:26:35 +01:00
Hugh Nimmo-Smith
eb30ef166a Improve 404 handling 2022-10-17 12:32:40 +01:00
Hugh Nimmo-Smith
1976451c81 Lint 2022-10-17 12:23:14 +01:00
Onuray Sahin
91bb86d3c6 Code review fixes. 2022-10-17 14:16:29 +03:00
Hugh Nimmo-Smith
fb86ab70a2 Comments and error mapping 2022-10-17 12:05:32 +01:00
Hugh Nimmo-Smith
4306c57236 Thread safe use of OlmSAS 2022-10-17 12:01:12 +01:00
Hugh Nimmo-Smith
506fa729ea Cleanup 2022-10-17 11:50:56 +01:00
Hugh Nimmo-Smith
48de8f4e34 Fix bad merge 2022-10-17 11:48:35 +01:00
Hugh Nimmo-Smith
3be4a0ca21 Remove unused val 2022-10-17 11:25:09 +01:00
Hugh Nimmo-Smith
33be5c257d Refactor into dedicated files and companion objects 2022-10-17 11:24:48 +01:00
Hugh Nimmo-Smith
ed6bc01bef Resolve TODO 2022-10-17 10:54:28 +01:00
Hugh Nimmo-Smith
d979b50b2c Logging cleanup 2022-10-17 10:52:24 +01:00
Onuray Sahin
8547fee562 Enable qr code login by default. 2022-10-17 12:44:25 +03:00
Benoit Marty
36e5166051 Merge pull request #7375 from vector-im/feature/mna/device-manager-go-to-new-screen
[Device Management] Redirect to the new screen everywhere when lab flag is on
2022-10-17 11:44:02 +02:00
Benoit Marty
b7570a3c5e Fix compilation error 2022-10-17 11:31:48 +02:00
Benoit Marty
0cdc21649e Fix unused import 2022-10-17 11:27:40 +02:00
dependabot[bot]
93a346392b Bump gradle from 7.2.2 to 7.3.1 (#7364)
* Bump gradle from 7.2.2 to 7.3.1

Bumps gradle from 7.2.2 to 7.3.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Try to fix build issue caused by KSP workaround

* Add missing dependency

* Suppress false positive in linter

* Suppress more false positives, fix 2 possible leaks

* Fix tests

* Ignore flaky test

* Use namespaces instead of packagenames in AndroidManifest files

* Reorder dependency groups

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2022-10-17 09:14:28 +02:00
Eric Decanini
75c97bc7c5 Device Manager Notification and Pusher Fixes (#7370)
* Fixes existing pushers being overwritten on app startup

* Refreshes pushers in SessionOverview screen

* Fixes push toggle not working for non pusher sessions

* Various code improvements

* Further code improvements for safety

* Fixes CI errors
2022-10-14 15:02:11 -04:00
Hugh Nimmo-Smith
a3fc785945 Fix missing param 2022-10-14 18:52:42 +01:00
Benoit Marty
ba49ee4e13 Remove unused string device_manager_settings_active_sessions_show_all 2022-10-14 18:53:54 +02:00
Benoit Marty
d58b7f1706 Merge pull request #7376 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-10-14 18:49:50 +02:00
Hugh Nimmo-Smith
bfe3daa37f Fix compile error from bad merge 2022-10-14 17:25:06 +01:00
Hugh Nimmo-Smith
fdc55965ca Linting 2022-10-14 17:23:26 +01:00
Hugh Nimmo-Smith
dc9b41d19a Merge branch 'feature/ons/qr_code_login_ui' into feature/hughns/qr_code_login 2022-10-14 17:12:08 +01:00
Weblate
7b5610e0cf Merge branch 'origin/develop' into Weblate. 2022-10-14 15:37:18 +00:00
Nui Harime
08ac6493ab Translated using Weblate (Russian)
Currently translated at 97.2% (2378 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-14 15:37:02 +00:00
Youngbin Han
5281718d86 Translated using Weblate (Korean)
Currently translated at 36.9% (903 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2022-10-14 15:37:01 +00:00
Linerly
d52cc2d96d Translated using Weblate (Indonesian)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-10-14 15:36:58 +00:00
Vri
51648e81eb Translated using Weblate (German)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-14 15:36:58 +00:00
waclaw66
b28c4c1120 Translated using Weblate (Czech)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-10-14 15:36:58 +00:00
Jorge Martin Espinosa
f1acb4712c Fix editing formatted messages in plain text editor (#7360)
* Fix editing formatted messages in plain text editor

* Update changelog.d/7359.sdk

Co-authored-by: Benoit Marty <benoitm@matrix.org>

Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-10-14 15:15:12 +00:00
Onuray Sahin
6c10a9bf2d Code review fixes. 2022-10-14 18:10:18 +03:00
Onuray Sahin
e83bdc3779 Use correct homeserver url to check qr code login support. 2022-10-14 17:46:14 +03:00
Maxime NATUREL
612d2e51e5 Merge pull request #7361 from vector-im/feature/mna/device-manager-unknown-verification-status
[Device management] Update the unknown verification status icon (PSG-824)
2022-10-14 16:22:33 +02:00
Maxime NATUREL
ec5964bc20 Merge pull request #7352 from vector-im/feature/mna/device-manager-lab-flag-account-data
[Device management] Add lab flag for matrix client info account data event (PSG-800)
2022-10-14 16:03:40 +02:00
Maxime NATUREL
81038bdd23 Fixing security section recommendation visibility 2022-10-14 15:19:51 +02:00
Hugh Nimmo-Smith
6426ff40d3 Linting 2022-10-14 14:18:50 +01:00
Hugh Nimmo-Smith
411b766890 Refactor to camelcase 2022-10-14 14:17:19 +01:00
Hugh Nimmo-Smith
f999e72759 Changelog 2022-10-14 14:01:13 +01:00
Hugh Nimmo-Smith
4325600d27 Merge branch 'feature/ons/qr_code_login_ui' into feature/hughns/qr_code_login 2022-10-14 13:57:04 +01:00
Hugh Nimmo-Smith
e439b72e48 Handle master key trust during E2EE set up 2022-10-14 13:46:57 +01:00
Onuray Sahin
b04ad4915f Add changelog. 2022-10-14 15:38:28 +03:00
Maxime NATUREL
111a70f6c1 Checking lab flag to select session manager screen to navigate to 2022-10-14 14:26:21 +02:00
Onuray Sahin
5953346b3d Merge branch 'develop' into feature/ons/qr_code_login_ui
# Conflicts:
#	library/ui-strings/src/main/res/values/strings.xml
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/auth/AuthenticationService.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/DefaultAuthenticationService.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo038.kt
#	vector-app/src/debug/java/im/vector/app/features/debug/features/DebugFeaturesStateFactory.kt
#	vector-app/src/debug/java/im/vector/app/features/debug/features/DebugVectorFeatures.kt
#	vector/src/main/java/im/vector/app/features/VectorFeatures.kt
2022-10-14 15:17:55 +03:00
Maxime NATUREL
1f0028fd7e Adding changelog entry 2022-10-14 14:09:30 +02:00
Maxime NATUREL
cf25b81e9a Adding new shield color into resources 2022-10-14 14:00:01 +02:00
Maxime NATUREL
189e77211e Improving when structure 2022-10-14 13:46:33 +02:00
Maxime NATUREL
86132219d8 Adding settings for visibility of labs flags 2022-10-14 13:45:23 +02:00
Kat Gerasimova
fd2814ea18 Update issue automation for design
Put only high priority issues in front of the design team, all of which the design team will aim to action to keep the queue at zero
2022-10-14 11:49:24 +01:00
Benoit Marty
8bb5dcd553 Changelog 2022-10-14 12:33:27 +02:00
Benoit Marty
7699628959 Fix other potential issue when using Session.getUser() 2022-10-14 12:25:55 +02:00
Benoit Marty
032fa37b64 Create UserDataSource.getUserOrDefault(). 2022-10-14 12:13:21 +02:00
Benoit Marty
5a2d74443d Let GetProfileInfoTask store result into DB, except when we want to do bulk insertion. 2022-10-14 12:07:52 +02:00
Benoit Marty
0a6d620f27 getUser() can return null more often than before, since the SDK will retrieve data asynchronously. So ensure that the initial state can always be built. 2022-10-14 11:38:24 +02:00
Benoit Marty
8fc35ef792 Remove unused param 2022-10-14 11:25:41 +02:00
Hugh Nimmo-Smith
626e3dbd10 Merge pull request #7358 from vector-im/feature/hughns/qr_code_login_task 2022-10-14 09:38:07 +01:00
dependabot[bot]
989d4a6ed2 Bump flipper from 0.169.0 to 0.170.0 (#7348)
Bumps `flipper` from 0.169.0 to 0.170.0.

Updates `flipper` from 0.169.0 to 0.170.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.169.0...v0.170.0)

Updates `flipper-network-plugin` from 0.169.0 to 0.170.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.169.0...v0.170.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 10:37:11 +02:00
Jorge Martin Espinosa
81ef1415dc Apply design changes to WYSIWYG editor (#7354)
* Apply design changes to WYSIWYG editor

* Add changelog

* Remove unneeded attribute in RichTextComposerLayout

* Fix lint issues

* Fix style naming issue.

* Change rich text editor border radius depending on the number of lines.

* Replace standby voice recorder icon.
2022-10-14 09:59:43 +02:00
dependabot[bot]
b679727246 Bump dokka-gradle-plugin from 1.7.10 to 1.7.20 (#7329)
Bumps dokka-gradle-plugin from 1.7.10 to 1.7.20.

---
updated-dependencies:
- dependency-name: org.jetbrains.dokka:dokka-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 09:48:15 +02:00
Hugh Nimmo-Smith
de4232dff5 Fix logic for showing confirm button 2022-10-14 06:17:48 +01:00
Hugh Nimmo-Smith
d72371906e Add flag to allow QR login on all servers + split flag for showing in device manager 2022-10-14 06:17:48 +01:00
Hugh Nimmo-Smith
efa70fa0ff Revert "Retry scanning if not a QR code"
This reverts commit 87956e9438.
2022-10-14 06:17:48 +01:00
Hugh Nimmo-Smith
4c7c86100f Fix logic for showing confirm button 2022-10-14 02:04:08 +01:00
Hugh Nimmo-Smith
343cf74871 Add flag to allow QR login on all servers + split flag for showing in device manager 2022-10-14 01:45:03 +01:00
Hugh Nimmo-Smith
c00ce91214 Linting 2022-10-14 01:11:25 +01:00
Hugh Nimmo-Smith
c18439f99b Refactor code into api from internal 2022-10-14 01:07:19 +01:00
Hugh Nimmo-Smith
5abb786b6b Fix copyright on SDK 2022-10-14 00:59:31 +01:00
Hugh Nimmo-Smith
385140aaf1 Merge branch 'feature/hughns/qr_code_login' of https://github.com/vector-im/element-android into feature/hughns/qr_code_login 2022-10-14 00:44:09 +01:00
dependabot[bot]
1960dc3e41 Bump libphonenumber from 8.12.56 to 8.12.57
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.56 to 8.12.57.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.56...v8.12.57)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 23:08:06 +00:00
dependabot[bot]
f2d76be20c Bump com.google.devtools.ksp from 1.7.20-1.0.6 to 1.7.20-1.0.7
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 1.7.20-1.0.6 to 1.7.20-1.0.7.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/1.7.20-1.0.6...1.7.20-1.0.7)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 23:06:43 +00:00
Hugh Nimmo-Smith
f04f0e6fac Revert "Revert "Partial implementation of QR login logic""
This reverts commit e305478dda.
2022-10-13 22:42:58 +01:00
Hugh Nimmo-Smith
370652c04b Revert "Revert "Implementations of MSC3886 and MSC3903""
This reverts commit 489dfd7354.
2022-10-13 22:37:19 +01:00
Hugh Nimmo-Smith
958ee2d356 Revert "Revert "Retry scanning if not a QR code""
This reverts commit 9429a4f22a.
2022-10-13 22:32:02 +01:00
Hugh Nimmo-Smith
6399032312 Fix bad merge 2022-10-13 22:23:26 +01:00
Hugh Nimmo-Smith
7bc0bd3b57 Reduce logging 2022-10-13 22:15:07 +01:00
Hugh Nimmo-Smith
dd47297dfd QR login + E2EE set up 2022-10-13 22:14:55 +01:00
Hugh Nimmo-Smith
9a72d6529b Support for navigation to home screen 2022-10-13 22:13:56 +01:00
Hugh Nimmo-Smith
991eeb1de6 Map for soft logout 2022-10-13 22:13:56 +01:00
Hugh Nimmo-Smith
bc0843eddf Another default value fix 2022-10-13 22:13:56 +01:00
Hugh Nimmo-Smith
ac80ae5632 Set default value for optional params 2022-10-13 22:13:56 +01:00
Hugh Nimmo-Smith
ca7a6efade Add missing binding 2022-10-13 22:13:56 +01:00
Hugh Nimmo-Smith
e2f3dde5c1 Use correct var name 2022-10-13 22:13:56 +01:00
Hugh Nimmo-Smith
1e60f3c25b Make initialDeviceName optional 2022-10-13 22:13:56 +01:00
Hugh Nimmo-Smith
b03240330d Only do completeOnNewDevice if we received a confirmation code 2022-10-13 22:13:55 +01:00
Onuray Sahin
ef574bd82f Merge branch 'develop' into feature/ons/qr_code_login_ui
# Conflicts:
#	library/ui-strings/src/main/res/values/strings.xml
#	library/ui-styles/src/main/res/values/stylable_sessions_list_header_view.xml
#	vector-app/src/debug/java/im/vector/app/features/debug/features/DebugFeaturesStateFactory.kt
#	vector-app/src/debug/java/im/vector/app/features/debug/features/DebugVectorFeatures.kt
#	vector/src/main/java/im/vector/app/core/di/MavericksViewModelModule.kt
#	vector/src/main/java/im/vector/app/features/VectorFeatures.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/list/SessionsListHeaderView.kt
#	vector/src/main/res/layout/fragment_other_sessions.xml
#	vector/src/main/res/layout/fragment_settings_devices.xml
2022-10-13 22:13:55 +01:00
Hugh Nimmo-Smith
bfab07d716 Partial implementation of QR login logic 2022-10-13 22:13:55 +01:00
Hugh Nimmo-Smith
de611ca81a Implementations of MSC3886 and MSC3903 2022-10-13 22:13:30 +01:00
Hugh Nimmo-Smith
3b3e11e568 Retry scanning if not a QR code 2022-10-13 22:13:30 +01:00
Hugh Nimmo-Smith
d0898a2b89 Linting 2022-10-13 22:13:30 +01:00
Hugh Nimmo-Smith
282825db79 Changelog 2022-10-13 22:13:03 +01:00
Hugh Nimmo-Smith
88238c0f04 Support for login by m.login.token during QR code sign in 2022-10-13 22:13:03 +01:00
Hugh Nimmo-Smith
9429a4f22a Revert "Retry scanning if not a QR code"
This reverts commit 87956e9438.
2022-10-13 21:48:33 +01:00
Hugh Nimmo-Smith
489dfd7354 Revert "Implementations of MSC3886 and MSC3903"
This reverts commit 1235db7895.
2022-10-13 21:48:27 +01:00
Hugh Nimmo-Smith
e305478dda Revert "Partial implementation of QR login logic"
This reverts commit 4b14ee4695.
2022-10-13 21:48:25 +01:00
Hugh Nimmo-Smith
90fa5d5345 Revert "Only do completeOnNewDevice if we received a confirmation code"
This reverts commit 6e58f2fa51.
2022-10-13 21:48:21 +01:00
Hugh Nimmo-Smith
e554b43bc6 Merge branch 'feature/ons/qr_code_login_ui' of https://github.com/vector-im/element-android into feature/ons/qr_code_login_ui 2022-10-13 21:27:09 +01:00
Hugh Nimmo-Smith
560fda51d1 Reduce logging 2022-10-13 21:26:22 +01:00
Hugh Nimmo-Smith
1ed082d3cb QR login + E2EE set up 2022-10-13 21:15:52 +01:00
Hugh Nimmo-Smith
0111b932de Support for navigation to home screen 2022-10-13 21:08:45 +01:00
Onuray Sahin
fb2776dca4 Cherry pick previous commits. 2022-10-13 20:33:52 +03:00
Kat Gerasimova
6a653c33ae Add issue automation for PS feature teams 2022-10-13 17:09:11 +01:00
Hugh Nimmo-Smith
8dbb1b830e Map for soft logout 2022-10-13 16:28:58 +01:00
Hugh Nimmo-Smith
738242c837 Map for soft logout 2022-10-13 16:28:47 +01:00
Hugh Nimmo-Smith
22b344c43a Another default value fix 2022-10-13 16:11:56 +01:00
Hugh Nimmo-Smith
81f2197199 Another default value fix 2022-10-13 16:11:41 +01:00
Hugh Nimmo-Smith
b5e81d27d6 Set default value for optional params 2022-10-13 16:08:59 +01:00
Hugh Nimmo-Smith
c6e7185f8b Set default value for optional params 2022-10-13 16:08:50 +01:00
Hugh Nimmo-Smith
579df74257 Add missing binding 2022-10-13 16:03:20 +01:00
Hugh Nimmo-Smith
8c86b3d297 Add missing binding 2022-10-13 16:02:57 +01:00
Hugh Nimmo-Smith
5843c3832b Use correct var name 2022-10-13 15:58:43 +01:00
Hugh Nimmo-Smith
b5b32b7fda Use correct var name 2022-10-13 15:58:19 +01:00
Hugh Nimmo-Smith
ebb3d201c1 Make initialDeviceName optional 2022-10-13 15:36:09 +01:00
Hugh Nimmo-Smith
5bff9ceec4 Make initialDeviceName optional 2022-10-13 15:35:45 +01:00
Hugh Nimmo-Smith
86090086b1 Only do completeOnNewDevice if we received a confirmation code 2022-10-13 15:32:39 +01:00
Onuray Sahin
6e09d90007 Merge branch 'develop' into feature/ons/qr_code_login_ui
# Conflicts:
#	library/ui-strings/src/main/res/values/strings.xml
#	library/ui-styles/src/main/res/values/stylable_sessions_list_header_view.xml
#	vector-app/src/debug/java/im/vector/app/features/debug/features/DebugFeaturesStateFactory.kt
#	vector-app/src/debug/java/im/vector/app/features/debug/features/DebugVectorFeatures.kt
#	vector/src/main/java/im/vector/app/core/di/MavericksViewModelModule.kt
#	vector/src/main/java/im/vector/app/features/VectorFeatures.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/list/SessionsListHeaderView.kt
#	vector/src/main/res/layout/fragment_other_sessions.xml
#	vector/src/main/res/layout/fragment_settings_devices.xml
2022-10-13 15:32:39 +01:00
Hugh Nimmo-Smith
b192fdb0a8 Partial implementation of QR login logic 2022-10-13 15:32:39 +01:00
Hugh Nimmo-Smith
1c70d455fb Implementations of MSC3886 and MSC3903 2022-10-13 15:31:43 +01:00
Hugh Nimmo-Smith
0d245657e1 Retry scanning if not a QR code 2022-10-13 15:31:43 +01:00
Hugh Nimmo-Smith
a71ecee44a Linting 2022-10-13 15:28:58 +01:00
Hugh Nimmo-Smith
098c268af3 Changelog 2022-10-13 15:28:58 +01:00
Hugh Nimmo-Smith
21ae4c6ddb Support for login by m.login.token during QR code sign in 2022-10-13 15:28:58 +01:00
Hugh Nimmo-Smith
09da74b029 Linting 2022-10-13 15:19:39 +01:00
Hugh Nimmo-Smith
f13419d696 Changelog 2022-10-13 15:18:31 +01:00
Hugh Nimmo-Smith
8645f74c77 Support for login by m.login.token during QR code sign in 2022-10-13 15:11:15 +01:00
Maxime NATUREL
f72ab9b51e Fixing code style issue 2022-10-13 15:22:50 +02:00
Maxime NATUREL
316f1efe32 Updating unit tests 2022-10-13 15:21:25 +02:00
Maxime NATUREL
28ce915f18 Checking current session status in the filter use case 2022-10-13 15:01:31 +02:00
Benoit Marty
29331ff41b Merge pull request #7345 from vector-im/kittykat-patch-1
Add a link to element-meta for feature requests
2022-10-13 14:00:56 +02:00
Benoit Marty
53655eb37d Fix typo 2022-10-13 14:00:34 +02:00
Benoit Marty
5b56ae1e1c Merge pull request #7319 from ByeongsuPark/feature/bspark/bugfix-wrong-mic-direction-rtl
Fix the wrong mic button direction to cancel on RTL languages
2022-10-13 13:59:09 +02:00
Benoit Marty
ea9874adca Merge pull request #7355 from vector-im/feature/bma/check_script
Fix the check script, some folders have changed.
2022-10-13 13:53:08 +02:00
Benoit Marty
92a2420952 Merge pull request #7293 from vector-im/feature/bma/android13
Android 13
2022-10-13 13:52:52 +02:00
Benoit Marty
1a9b3941ae Fix the check script, some folders have changed. 2022-10-13 12:51:23 +02:00
Benoit Marty
e875d9d329 Ensure the latest paparazzi version is used, when updated by Dependabot.
Dependabot can update the plugin version, but not the library we add manually.
2022-10-13 11:52:35 +02:00
Maxime NATUREL
f77bceb918 Hide unverified sessions section when current session is not verified 2022-10-13 11:33:32 +02:00
Benoit Marty
237c18cf5a Merge pull request #7351 from vector-im/dependabot/gradle/app.cash.paparazzi-paparazzi-1.1.0
Bump paparazzi from 1.0.0 to 1.1.0
2022-10-13 11:16:41 +02:00
Benoit Marty
c17b55b874 Remove unused Animator lambda parameter + small cleanup 2022-10-13 11:11:23 +02:00
Maxime NATUREL
7ce56ced4d Replacing error prone takeIf structure 2022-10-13 11:08:57 +02:00
Maxime NATUREL
7be958e6a5 Removing learn more in case of unknown verification status 2022-10-13 11:06:34 +02:00
Maxime NATUREL
a48131baad Removing duplication of rendering session info 2022-10-13 11:05:02 +02:00
Maxime NATUREL
ea0c99011f Updating descriptions when unknown verification status 2022-10-13 10:41:38 +02:00
Maxime NATUREL
f9eb6a64ea Merge pull request #7323 from vector-im/feature/mna/device-manager-parsing-os
[Device management] Improve the parsing for OS of Desktop/Web sessions (PSG-823)
2022-10-13 10:39:38 +02:00
Maxime NATUREL
b18b95d1a7 Adding new unknown shield icon 2022-10-13 10:13:10 +02:00
Maxime NATUREL
893008a93d Adding changelog entry 2022-10-13 10:13:10 +02:00
Maxime NATUREL
1b41b8b538 Revert change of year for the Labs fragment 2022-10-13 09:56:37 +02:00
Maxime NATUREL
b201ef8fbb Fix code styling issues 2022-10-13 09:46:35 +02:00
Maxime NATUREL
0c7f04c4a1 Adding unit tests for DeleteMatrixClientInfoUseCase 2022-10-13 09:43:27 +02:00
Maxime NATUREL
5e87a6936d Adding unit tests for new view model 2022-10-13 09:43:27 +02:00
Maxime NATUREL
8b30ab69c5 Checking lab flag before updating the client info 2022-10-13 09:43:27 +02:00
Maxime NATUREL
f753e475d8 Deleting/Updating the client Info when changing the lab flag 2022-10-13 09:43:27 +02:00
Maxime NATUREL
89e14c915d Moving labs fragment into dedicated package 2022-10-13 09:43:27 +02:00
Maxime NATUREL
4fced5bd3e Adding nex entry in labs settings 2022-10-13 09:43:25 +02:00
Maxime NATUREL
1ede6b32a5 Adding changelog entry 2022-10-13 09:41:53 +02:00
Eric Decanini
963c0e5a50 Local Notification Settings Event (#7300)
* Adds push notifications switch

* Adds functionality to Push notification toggle

* Adds DefaultPushersServiceTest for togglePusher

* Adds DefaultTogglePusherTaskTest

* Adds SessionOverviewViewModelTest for toggling pusher

* Hides pusher toggle if there are no pushers of the device

* Adds changelog file

* Edits changelog file

* Fixes copyrights

* Unregisters checkedChangelistener in onDetachedFromWindow for switch view

* Links notification settings toggle to pusher service

* Adds changelog file

* Adds error handling to VectorSettingsNotificationPreferenceFragment

* Removes comment in FakePushersService

* Adds parsing for LocalNotificationSettings event

* Adds changelog file

* Fixes post merge errors

* Fixes imports and improves string name

* Fixes legal copies

* Fixes kdoc punctuation

* Fixes string error

* Removes unused imports

* Moves LocalNotificationSettingsContent

* Fixes lint errors

* Fixes test errors

* Fixes test errors

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Adds lost tests

* Adds PusherEntity migration

* Fixes session overview layout overlap

* Fixes switch being enabled by default

* Adds device id and unstable prefix
2022-10-12 23:11:27 -04:00
dependabot[bot]
9c4f3c6e6b Bump paparazzi from 1.0.0 to 1.1.0
Bumps [paparazzi](https://github.com/cashapp/paparazzi) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/cashapp/paparazzi/releases)
- [Changelog](https://github.com/cashapp/paparazzi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cashapp/paparazzi/compare/1.0.0...1.1.0)

---
updated-dependencies:
- dependency-name: app.cash.paparazzi:paparazzi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 23:08:45 +00:00
dependabot[bot]
b274bf0760 Bump firebase-messaging from 23.0.8 to 23.1.0
Bumps firebase-messaging from 23.0.8 to 23.1.0.

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 23:07:58 +00:00
dependabot[bot]
9198cc7ac0 Bump android-connector from 2.1.0 to 2.1.1
Bumps [android-connector](https://github.com/UnifiedPush/android-connector) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/UnifiedPush/android-connector/releases)
- [Commits](https://github.com/UnifiedPush/android-connector/compare/2.1.0...2.1.1)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-connector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 23:07:54 +00:00
dependabot[bot]
4feb60145b Bump appDistribution from 16.0.0-beta04 to 16.0.0-beta05
Bumps `appDistribution` from 16.0.0-beta04 to 16.0.0-beta05.

Updates `firebase-appdistribution-api-ktx` from 16.0.0-beta04 to 16.0.0-beta05

Updates `firebase-appdistribution` from 16.0.0-beta04 to 16.0.0-beta05

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-appdistribution-api-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.firebase:firebase-appdistribution
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 23:06:56 +00:00
Kat Gerasimova
7a905dc2da Update enhancement.yml 2022-10-12 22:45:22 +01:00
Maxime NATUREL
f8f416e979 Merge pull request #7306 from vector-im/feature/mna/device-manager-extended-details
[Device Management] Render extended device info (PSG-773)
2022-10-12 18:09:33 +02:00
Benoit Marty
beb334babe Merge pull request #7335 from vector-im/feature/bma/upgrade_arrow
Remove Arrow-kt dependency
2022-10-12 16:26:02 +02:00
Maxime NATUREL
7877ef92cc Merge pull request #7325 from vector-im/feature/mna/device-manager-hide-ip-current-session
[Device management] Hide the IP address and last activity date on current session (PSG-823)
2022-10-12 15:56:30 +02:00
Maxime NATUREL
6626732b3b Merge pull request #7276 from vector-im/feature/mna/device-manager-account-data
[Device Management] Save matrix_client_information events on login/registration (PSG-769, PSG-771)
2022-10-12 15:41:40 +02:00
Eric Decanini
9857fa6ca4 Makes "Enable Notifications for this session" respond to enabled value in pusher (#7281)
* Adds push notifications switch

* Adds functionality to Push notification toggle

* Adds DefaultPushersServiceTest for togglePusher

* Adds DefaultTogglePusherTaskTest

* Adds SessionOverviewViewModelTest for toggling pusher

* Hides pusher toggle if there are no pushers of the device

* Adds changelog file

* Edits changelog file

* Fixes copyrights

* Unregisters checkedChangelistener in onDetachedFromWindow for switch view

* Links notification settings toggle to pusher service

* Adds changelog file

* Adds error handling to VectorSettingsNotificationPreferenceFragment

* Removes comment in FakePushersService

* Fixes post merge errors

* Fixes imports and improves string name

* Fixes legal copies

* Fixes kdoc punctuation

* Fixes string error

* Removes unused imports

* Fixes lint errors

* Fixes test errors

* Fixes test errors

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Adds lost tests

* Adds PusherEntity migration

* Fixes session overview layout overlap

* Fixes switch being enabled by default

* Binds entire view to toggle switch
2022-10-12 09:27:55 -04:00
Maxime NATUREL
cf9f30d95e Merge pull request #7337 from vector-im/feature/mna/device-manager-lab-flag
[Device management] Add lab flag for the feature (PSG-793)
2022-10-12 14:16:53 +02:00
Hugh Nimmo-Smith
6e58f2fa51 Only do completeOnNewDevice if we received a confirmation code 2022-10-12 13:08:01 +01:00
Onuray Sahin
1e1affbb7b Merge branch 'develop' into feature/ons/qr_code_login_ui
# Conflicts:
#	library/ui-strings/src/main/res/values/strings.xml
#	library/ui-styles/src/main/res/values/stylable_sessions_list_header_view.xml
#	vector-app/src/debug/java/im/vector/app/features/debug/features/DebugFeaturesStateFactory.kt
#	vector-app/src/debug/java/im/vector/app/features/debug/features/DebugVectorFeatures.kt
#	vector/src/main/java/im/vector/app/core/di/MavericksViewModelModule.kt
#	vector/src/main/java/im/vector/app/features/VectorFeatures.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/list/SessionsListHeaderView.kt
#	vector/src/main/res/layout/fragment_other_sessions.xml
#	vector/src/main/res/layout/fragment_settings_devices.xml
2022-10-12 14:32:09 +03:00
Maxime NATUREL
37271fc8ba Merge pull request #7340 from vector-im/fix/mna/nav-to-session-details
[Device manager] Fixing navigation to session details + layout in session overview screen
2022-10-12 13:24:44 +02:00
Maxime NATUREL
9f006a2940 Fixing navigation to session details + layout in session overview screen 2022-10-12 11:06:59 +02:00
Benoit Marty
1669316682 Remove dependency to arrow. Please use org.matrix.android.sdk.api.util.Optional instead. 2022-10-12 10:20:52 +02:00
Hugh Nimmo-Smith
4b14ee4695 Partial implementation of QR login logic 2022-10-11 23:34:05 +01:00
Hugh Nimmo-Smith
1235db7895 Implementations of MSC3886 and MSC3903 2022-10-11 23:33:30 +01:00
Hugh Nimmo-Smith
87956e9438 Retry scanning if not a QR code 2022-10-11 23:32:49 +01:00
Onuray Sahin
d8ea9c8215 Add flag for qr code login. 2022-10-11 20:04:18 +03:00
Onuray Sahin
f272e566b0 Implement link a device flow. 2022-10-11 19:03:15 +03:00
Maxime NATUREL
7b352b44dc Replacing the feature flag by the new lab flag 2022-10-11 17:48:19 +02:00
Maxime NATUREL
3503c24acc Adding new lab flag for session manager 2022-10-11 17:48:17 +02:00
Maxime NATUREL
052b497ebe Adding new changelog entry 2022-10-11 17:47:24 +02:00
Jorge Martin Espinosa
def67b2e7d Integrate WYSIWYG editor (#7288)
* Add WYSIWYG lib dependency

* Replace EditText with RichTextEditor

* Add bold button, fix sending formatting messages issues

* Add missing inline formatting buttons, make scrollview horizontal

* Disable autocomplete for rich text editor

* Add formatted text to messages sent, replies, quotes and edited messages.

* Several fixes

* Add changelog

* Try to fix lint issues

* Address review comments.

* Exclude Epoxy KSP generated files from ktlint checks
2022-10-11 17:05:47 +02:00
Maxime NATUREL
daa5f88899 Remove parsing of the OS version in case of web/desktop sessions 2022-10-11 15:23:47 +02:00
Maxime NATUREL
8cd8c65442 Adding changelog entry 2022-10-11 15:23:47 +02:00
Maxime NATUREL
13d87471ab Using String const values for browser names 2022-10-11 15:23:47 +02:00
Maxime NATUREL
b4cd72e009 Fixing parsing of operating system info for Desktop/Web user agent 2022-10-11 15:23:47 +02:00
Maxime NATUREL
4e70fcd339 Extracting parsing of operating system for Desktop/Web into dedicated method 2022-10-11 15:23:47 +02:00
Maxime NATUREL
11f816868b Extracting parsing of browser info into dedicated method 2022-10-11 15:23:47 +02:00
Maxime NATUREL
b7190c2bfe Fix after rebase 2022-10-11 15:23:22 +02:00
Maxime NATUREL
0ec4ccf5da Removing a completed TODO 2022-10-11 15:23:22 +02:00
Maxime NATUREL
ef13f6033c Fixing coding style issues 2022-10-11 15:23:22 +02:00
Maxime NATUREL
a5bcbf300b Parsing the full version of browsers for Web device type 2022-10-11 15:23:22 +02:00
Maxime NATUREL
a6289d19f4 Making const for client info event prefix as internal 2022-10-11 15:23:22 +02:00
Maxime NATUREL
fdb61e26ee Rendering Device section with extended info 2022-10-11 15:23:22 +02:00
Maxime NATUREL
25a3d831f1 Adding unit tests for application section visibility use case 2022-10-11 15:23:22 +02:00
Maxime NATUREL
9f9f6e14be Rendering Application section into session details 2022-10-11 15:23:22 +02:00
Maxime NATUREL
acd05a0233 Exposing the matrix client info into the DeviceFullInfo 2022-10-11 15:23:22 +02:00
Maxime NATUREL
93fe22d18e Fixing hidden exception in unit tests of DevicesViewModelTest 2022-10-11 15:23:22 +02:00
Maxime NATUREL
a640c77141 Adding changelog entry 2022-10-11 15:23:22 +02:00
Maxime NATUREL
5cac68d731 Adding unit tests for the get client info use case 2022-10-11 15:23:22 +02:00
Maxime NATUREL
b9f7e9762d Removing code for tests 2022-10-11 15:22:41 +02:00
Maxime NATUREL
4aca1dcb24 Fix after rebase 2022-10-11 14:28:03 +02:00
Maxime NATUREL
3adc5ca430 Using suspend modifier to make use case really testable 2022-10-11 14:03:12 +02:00
Maxime NATUREL
1475655f20 Fix unit tests failing by setting testDispatcher 2022-10-11 14:03:12 +02:00
Maxime NATUREL
5649933b03 Removing some TODOs 2022-10-11 14:03:12 +02:00
Maxime NATUREL
a762fc1d80 Removing unused imports 2022-10-11 14:03:12 +02:00
Maxime NATUREL
e465969e5e Adding unit tests for ConfigureAndStartSessionUseCase 2022-10-11 14:03:10 +02:00
Maxime NATUREL
34e37ea608 Updating unit tests 2022-10-11 14:02:36 +02:00
Maxime NATUREL
c0e9d5124c Update the Matrix client info when configuring the Session 2022-10-11 14:02:36 +02:00
Maxime NATUREL
0c6d49856c Moving matrix client info related component to core package 2022-10-11 14:02:36 +02:00
Maxime NATUREL
1e6fb99e3c Introducing a use case to configure and start a Session 2022-10-11 14:02:36 +02:00
Maxime NATUREL
ce70ab8f0f Adding unit tests for update client info use case 2022-10-11 14:02:36 +02:00
Maxime NATUREL
7d00908f11 Adding unit tests for the set client info use case 2022-10-11 14:02:09 +02:00
Maxime NATUREL
ccc3ac628a Adding unit tests for the get client info use case 2022-10-11 14:02:07 +02:00
Maxime NATUREL
9877e90df6 Adding use cases to get and set the extra matrix client Info 2022-10-11 14:01:43 +02:00
Maxime NATUREL
1e87621e48 Adding changelog entry 2022-10-11 14:01:43 +02:00
Linerly
2efd3b4a33 Translated using Weblate (Indonesian)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-10-11 11:33:06 +00:00
LinAGKar
6558afea1c Translated using Weblate (Swedish)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sv/
2022-10-11 11:33:04 +00:00
lvre
e28f3438ac Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-10-11 11:33:02 +00:00
LinAGKar
05d2f2a857 Translated using Weblate (Swedish)
Currently translated at 97.1% (2375 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-10-11 11:33:00 +00:00
Jozef Gaal
02d6dca96a Translated using Weblate (Slovak)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-10-11 11:32:58 +00:00
Nui Harime
06664fb15e Translated using Weblate (Russian)
Currently translated at 97.0% (2372 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-11 11:32:58 +00:00
lvre
0e8c3e99ec Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-10-11 11:32:57 +00:00
Linerly
62522ae9e1 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-10-11 11:32:55 +00:00
Vri
5bea54518f Translated using Weblate (German)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-11 11:32:54 +00:00
Auri B. P
0ac7f43438 Translated using Weblate (Catalan)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-10-11 11:32:54 +00:00
Onuray Sahin
5566300665 Add qr code options to layout. 2022-10-11 14:15:44 +03:00
Onuray Sahin
aacf2ba8a6 Refactor layout. 2022-10-11 13:08:43 +03:00
Eric Decanini
2fe636e93b Adds Push Notification toggle to Device Manager (#7261)
* Adds push notifications switch

* Adds functionality to Push notification toggle

* Adds DefaultPushersServiceTest for togglePusher

* Adds DefaultTogglePusherTaskTest

* Adds SessionOverviewViewModelTest for toggling pusher

* Hides pusher toggle if there are no pushers of the device

* Adds changelog file

* Edits changelog file

* Fixes copyrights

* Unregisters checkedChangelistener in onDetachedFromWindow for switch view

* Fixes post merge errors

* Fixes legal copies

* Removes unused imports

* Fixes lint errors

* Fixes test errors

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error
2022-10-10 19:21:34 -04:00
dependabot[bot]
1db6b7be1f Bump danger/danger-js from 11.1.3 to 11.1.4
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.1.3 to 11.1.4.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.1.3...11.1.4)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 23:05:08 +00:00
Eric Decanini
a096ff03c8 Merge pull request #7217 from vector-im/feature/eric/msc3881
Implements MSC3881 (enabled and device_id fields for Pusher API)
2022-10-10 12:37:47 -04:00
Benoit Marty
31a79594fb Merge pull request #7301 from vector-im/dependabot/gradle/androidx.sharetarget-sharetarget-1.2.0
Bump sharetarget from 1.1.0 to 1.2.0 - REQUIRE DEVELOPER BRAIN
2022-10-10 18:14:06 +02:00
Benoit Marty
23654a9ff8 Merge pull request #7315 from vector-im/dependabot/gradle/glide-4.14.2
Bump glide from 4.14.1 to 4.14.2
2022-10-10 18:13:36 +02:00
Benoit Marty
7878d6f565 Merge pull request #7316 from vector-im/dependabot/gradle/flipper-0.169.0
Bump flipper from 0.164.0 to 0.169.0
2022-10-10 18:13:12 +02:00
ericdecanini
267431d06e Fixes error 2022-10-10 11:37:39 -04:00
Benoit Marty
ac5a5015ba Merge pull request #7326 from vrifox/patch-1
correct login_set_email_notice
2022-10-10 17:03:57 +02:00
Vri
5430ca2966 correct login_set_email_notice
Corrected the string as noted in this comment by @lvre (https://translate.element.io/translate/element-android/element-app/en/?checksum=8cfc63845b17eca4#comments) over on Weblate.
2022-10-10 16:18:37 +02:00
Maxime NATUREL
f171b8ae68 Hiding last seen details on session info view when it is current session 2022-10-10 15:22:27 +02:00
Maxime NATUREL
6cc6be4d53 Adding changelog entry 2022-10-10 15:21:56 +02:00
Onuray Sahin
ad208a0819 Refactor layout. 2022-10-10 13:48:25 +03:00
Benoit Marty
34cc5e8bd7 Merge pull request #7311 from vector-im/feature/bma/fix_bc
Fix breadcrumbs
2022-10-10 10:08:03 +02:00
ByeongsuPark
e9bde89fec Add changelog.d
Signed-off-by: byeongsu@soongsil.ac.kr <byeongsu@soongsil.ac.kr>
2022-10-10 17:05:12 +09:00
ericdecanini
618cf7ac0e Fixes error 2022-10-09 14:55:43 -04:00
ericdecanini
c94884b9d3 Fixes error 2022-10-09 14:55:25 -04:00
ericdecanini
4af2e62150 Merge branch 'develop' into feature/eric/msc3881 2022-10-09 12:45:19 -04:00
ericdecanini
31d4fc9ab0 Fixes lint error 2022-10-09 12:45:11 -04:00
ericdecanini
78555ec6ba Rearranges imports 2022-10-09 10:59:11 -04:00
ericdecanini
cd2e693f0c Fixes legal copy 2022-10-09 09:48:36 -04:00
ericdecanini
11e251fc1d Fixes legal copy 2022-10-09 09:48:18 -04:00
ericdecanini
d191bfeaf7 Fixes legal copy 2022-10-09 09:46:07 -04:00
random
b30c91a4d7 Translated using Weblate (Italian)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-10-08 19:33:31 +00:00
LinAGKar
c54c3b1a7c Translated using Weblate (Swedish)
Currently translated at 92.3% (72 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sv/
2022-10-08 19:33:29 +00:00
waclaw66
9f8f14ce30 Translated using Weblate (Czech)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-10-08 19:33:27 +00:00
Danial Behzadi
ec72300f49 Translated using Weblate (Persian)
Currently translated at 99.5% (2433 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-10-08 19:33:26 +00:00
Sveinn í Felli
9fe12cfdff Translated using Weblate (Icelandic)
Currently translated at 85.3% (2085 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-10-08 19:33:25 +00:00
Jeff Huang
f9ce912c0c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-10-08 19:33:22 +00:00
LinAGKar
5284312282 Translated using Weblate (Swedish)
Currently translated at 95.0% (2322 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-10-08 19:33:21 +00:00
Jozef Gaal
d903c61223 Translated using Weblate (Slovak)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-10-08 19:33:18 +00:00
Priit Jõerüüt
7fdfc66804 Translated using Weblate (Estonian)
Currently translated at 99.6% (2436 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-10-08 19:33:16 +00:00
Danial Behzadi
d4d9e8d93d Translated using Weblate (Persian)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2022-10-08 19:33:15 +00:00
Jeff Huang
92194892e5 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-10-08 19:33:13 +00:00
Ihor Hordiichuk
06c8d24c95 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-10-08 19:33:11 +00:00
Glandos
bfb80d2083 Translated using Weblate (French)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2022-10-08 19:33:09 +00:00
Ihor Hordiichuk
453b4070ad Translated using Weblate (Ukrainian)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-10-08 19:33:08 +00:00
Nui Harime
f522c4ba06 Translated using Weblate (Russian)
Currently translated at 96.7% (2365 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-08 19:33:06 +00:00
random
8bff9cc293 Translated using Weblate (Italian)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-10-08 19:33:05 +00:00
Vri
915489ae1f Translated using Weblate (German)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-08 19:33:03 +00:00
Priit Jõerüüt
27d2803244 Translated using Weblate (Estonian)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-10-08 19:33:02 +00:00
Auri B. P
7ce2ae22c4 Translated using Weblate (Catalan)
Currently translated at 99.7% (2439 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-10-08 19:33:00 +00:00
Glandos
53a0520525 Translated using Weblate (French)
Currently translated at 100.0% (2444 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-10-08 19:32:59 +00:00
Vri
49e7c7be9a Translated using Weblate (German)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-10-08 19:32:57 +00:00
waclaw66
6a24d34e62 Translated using Weblate (Czech)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-10-08 19:32:56 +00:00
Jozef Gaal
9f5a1adafe Translated using Weblate (Slovak)
Currently translated at 100.0% (78 of 78 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-10-08 19:32:54 +00:00
phardyle
3c11fdd765 Translated using Weblate (Chinese (Simplified))
Currently translated at 97.1% (2374 of 2444 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-10-08 19:32:52 +00:00
dependabot[bot]
90afced6aa Bump flipper from 0.164.0 to 0.169.0
Bumps `flipper` from 0.164.0 to 0.169.0.

Updates `flipper` from 0.164.0 to 0.169.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.164.0...v0.169.0)

Updates `flipper-network-plugin` from 0.164.0 to 0.169.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.164.0...v0.169.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 23:12:38 +00:00
dependabot[bot]
9ec2b6e8d5 Bump glide from 4.14.1 to 4.14.2
Bumps `glide` from 4.14.1 to 4.14.2.

Updates `glide` from 4.14.1 to 4.14.2
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.14.1...v4.14.2)

Updates `compiler` from 4.14.1 to 4.14.2
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.14.1...v4.14.2)

---
updated-dependencies:
- dependency-name: com.github.bumptech.glide:glide
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.github.bumptech.glide:compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 23:11:33 +00:00
Onuray Sahin
236b30367f Fix ui test case. 2022-10-07 19:13:59 +03:00
Onuray Sahin
2b452d6fe5 Implement qr code login failed states. 2022-10-07 19:04:27 +03:00
ericdecanini
a2382c6a01 Adds thread notification fields to RoomSummary 2022-10-07 11:47:18 -04:00
ericdecanini
c2ae75d9bd Changes thread notifications saved to entity from sum to size 2022-10-07 11:45:58 -04:00
ericdecanini
ebd8461724 Adds thread notifications and highlights to RoomSummaryEntity 2022-10-07 11:42:18 -04:00
ericdecanini
00bfbe9bc6 Adds API parsing of unread threads notifications 2022-10-07 11:16:41 -04:00
Onuray Sahin
2527cab73e Fix cancel actions. 2022-10-07 17:48:40 +03:00
Onuray Sahin
04fb31666b Implement show qr code screen. 2022-10-07 17:34:41 +03:00
Maxime NATUREL
9827ffb1e5 Merge pull request #7312 from vector-im/fix/mna/device-manager-long-session-name
[Device Management] Long session names not rendered well (PSG-820)
2022-10-07 15:57:12 +02:00
Florian Renaud
b9f474041f Merge pull request #7283 from vector-im/feature/fre/aggregate_voice_broadcast_state_events
Aggregate voice broadcast state events
2022-10-07 15:54:21 +02:00
ericdecanini
42d0e4f265 Fixes bindings 2022-10-07 09:09:19 -04:00
Florian Renaud
48d2cc4745 Merge pull request #7273 from vector-im/feature/fre/voice_broadcast_state_event
Voice Broadcast - Send state events
2022-10-07 14:53:30 +02:00
Valere
ae02eb18de Prepare flavors 2022-10-07 14:34:36 +02:00
Benoit Marty
b1d3cc85c2 Remove the workaround, this is fixed in androidx.sharetarget:sharetarget:1.2.0. (with exported="true" declared in the library)
https://android-review.googlesource.com/c/platform/frameworks/support/+/1742473
2022-10-07 14:31:19 +02:00
Maxime NATUREL
3ceb19486a Adding changelog entry 2022-10-07 11:29:33 +02:00
Maxime NATUREL
bcf315aece Fix UI for long session names in SessionDetailsContentItem 2022-10-07 11:28:05 +02:00
Maxime NATUREL
824752a4ec Fix UI for long session names in SessionInfoView 2022-10-07 11:28:05 +02:00
Benoit Marty
bbc4b35b23 Remove unused val. 2022-10-07 11:27:08 +02:00
Benoit Marty
e08028378b Fix broken Breadcrumbs 2022-10-07 11:26:37 +02:00
Benoit Marty
e9e2e5011b Fix test compilation. 2022-10-07 10:08:33 +02:00
Benoit Marty
d4de559809 Fix lint warning. 2022-10-07 10:06:00 +02:00
Benoit Marty
35dcfdd54b Fix compilation note (by removing unused fun).
`Note: /home/runner/work/element-android/element-android/library/external/dialpad/src/main/java/com/android/dialer/dialpadview/DialpadView.java uses or overrides a deprecated API.`
2022-10-07 10:06:00 +02:00
Benoit Marty
238b41ce55 Revoke notification permission (Android 13+) if user disables session notification. 2022-10-07 09:58:50 +02:00
Benoit Marty
bd36831b31 Merge pull request #7302 from vector-im/dependabot/gradle/io.sentry-sentry-android-6.4.3
Bump sentry-android from 6.4.1 to 6.4.3
2022-10-07 09:47:35 +02:00
Benoit Marty
6086c4de7f Merge pull request #7303 from vector-im/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.4
Bump exifinterface from 1.3.3 to 1.3.4
2022-10-07 09:47:20 +02:00
Benoit Marty
652069d520 Manage new Android 13 notification permission. 2022-10-06 18:56:23 +02:00
Onuray Sahin
1932edad46 Fix instructions view visibility. 2022-10-06 18:48:07 +03:00
Onuray Sahin
a00afa7a30 Simulate qr login states. 2022-10-06 18:17:02 +03:00
ByeongsuPark
4bb60e1628 Fix wrong mic button direction to cancel on RTL languages 2022-10-06 23:45:55 +09:00
Florian Renaud
0a047b6045 Use VoiceBroadcastEvent wrapper 2022-10-06 16:28:38 +02:00
Florian Renaud
8d3d275921 Add changelog file 2022-10-06 16:28:38 +02:00
Florian Renaud
cc1bb23406 Aggregate voice broadcast state events 2022-10-06 16:28:38 +02:00
Florian Renaud
b286a52f5b Catch error and return Result in useCases 2022-10-06 16:27:11 +02:00
Florian Renaud
30f33d36de Use session.getRoom(roomId) 2022-10-06 16:27:11 +02:00
Florian Renaud
521af70988 Pass VoiceBroadcastState in MessageVoiceBroadcastItem 2022-10-06 16:27:11 +02:00
Florian Renaud
05b8f7d375 Create TimelineEvent.getVectorLastMessageContent() in vector module 2022-10-06 16:27:07 +02:00
Florian Renaud
01e0383dd5 Reorder VoiceBroadcastAction switch cases 2022-10-06 16:25:57 +02:00
Florian Renaud
e4e953acf9 Verify that there is no ongoing voice broadcast before starting a new one 2022-10-06 16:25:56 +02:00
Florian Renaud
b9bb7d7892 Add VoiceBroadcastEvent wrapper 2022-10-06 16:25:56 +02:00
Florian Renaud
0c5d4c5f12 Add changelog file 2022-10-06 16:25:56 +02:00
Florian Renaud
faeb078c8b Add voice broadcast state event in timeline displayable events 2022-10-06 16:25:56 +02:00
Florian Renaud
1bc894712e Add unit tests for use cases 2022-10-06 16:25:56 +02:00
Florian Renaud
e4a52e1d5e Add deletion action on voice broadcast event 2022-10-06 16:25:56 +02:00
Florian Renaud
daf4fc0f6d Add basic timeline voice broadcast item 2022-10-06 16:25:56 +02:00
Florian Renaud
bcc84c8025 Add several voice broadcast actions 2022-10-06 16:25:52 +02:00
Florian Renaud
d08cfe1147 Add voice broadcast use cases 2022-10-06 16:23:40 +02:00
Florian Renaud
4091d27311 Add "io.element.voice_broadcast_info" state event 2022-10-06 16:23:40 +02:00
Onuray Sahin
a66b183bf7 Add connection status to the view state. 2022-10-06 15:15:35 +03:00
Onuray Sahin
945fa0a390 Create qr code login status view layout. 2022-10-06 14:55:43 +03:00
Onuray Sahin
9b7f6c9003 Navigate to qr code scanner activity. 2022-10-06 14:55:18 +03:00
Onuray Sahin
5dfaa2527a Remove unused session parameter. 2022-10-06 14:54:09 +03:00
Onuray Sahin
5f6c8eebcf Navigate to the instructions screen. 2022-10-06 12:16:24 +03:00
dependabot[bot]
667bbceebb Bump exifinterface from 1.3.3 to 1.3.4
Bumps exifinterface from 1.3.3 to 1.3.4.

---
updated-dependencies:
- dependency-name: androidx.exifinterface:exifinterface
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 23:15:21 +00:00
dependabot[bot]
3e447dff29 Bump sentry-android from 6.4.1 to 6.4.3
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.4.1 to 6.4.3.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/6.4.3/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.4.1...6.4.3)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 23:14:38 +00:00
dependabot[bot]
ef88386fc1 Bump sharetarget from 1.1.0 to 1.2.0
Bumps sharetarget from 1.1.0 to 1.2.0.

---
updated-dependencies:
- dependency-name: androidx.sharetarget:sharetarget
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 23:14:09 +00:00
Onuray Sahin
9859dab3cc Complete qr code login instructions screen. 2022-10-06 00:51:00 +03:00
Benoit Marty
3952f732dd Paparazzi have some trouble with Android 13, try to workaround it.
OK locally, but on the CI?
2022-10-05 17:35:05 +02:00
Benoit Marty
05a1f17e83 Remove unused import 2022-10-05 17:35:05 +02:00
Benoit Marty
84223a221c Call super method. 2022-10-05 17:35:05 +02:00
Benoit Marty
70383130f5 Fix compilation warning: 'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version. 2022-10-05 17:35:05 +02:00
Benoit Marty
15616ecc7c Fix compilation issue after rebase 2022-10-05 17:35:05 +02:00
Benoit Marty
e76b2d7c61 Suppress deprecation warning for onBackPressed().
The required change are too big, this will be handled separately.
2022-10-05 17:35:05 +02:00
Benoit Marty
f2bbdc3906 API 33: fix compilation warnings 2022-10-05 17:35:05 +02:00
Benoit Marty
61a4dd2128 Avoid using deprecated readList. Serialize and deserialize a String instead of a char array. 2022-10-05 17:35:05 +02:00
Benoit Marty
2d90524763 activity-ktx 2022-10-05 17:35:05 +02:00
Benoit Marty
9d02072ad9 Formatting 2022-10-05 17:35:05 +02:00
Benoit Marty
933d84a230 androidx.activity:activity:1.6.0 2022-10-05 17:35:05 +02:00
Benoit Marty
4677c474eb androidx.core:core-ktx:1.9.0 2022-10-05 17:35:05 +02:00
Benoit Marty
0fee37ced7 API 33 2022-10-05 17:35:05 +02:00
Benoit Marty
9335242ce1 Merge pull request #7285 from vector-im/tech/split-timelinefragment
Refactor: split TimelineFragment into MessageComposerFragment and VoiceRecorderFragment
2022-10-05 17:31:10 +02:00
Benoit Marty
80c210e62d Merge pull request #7292 from vector-im/feature/mna/device-manager-type-icons
[Device Management] Show correct device type icons (PSG-775)
2022-10-05 17:30:42 +02:00
Benoit Marty
6d2caf6210 Merge pull request #7264 from vector-im/dependabot/gradle/epoxy-5.0.0
Bump epoxy from 4.6.2 to 5.0.0
2022-10-05 17:30:29 +02:00
Benoit Marty
27e408fb0c Fix bad merge conflict fix 2022-10-05 17:30:06 +02:00
Benoit Marty
cde088e315 Merge branch 'develop' into dependabot/gradle/epoxy-5.0.0 2022-10-05 17:29:17 +02:00
Benoit Marty
38ca3b6cdb Version++ 2022-10-05 17:20:05 +02:00
Benoit Marty
6e9bc7845d Merge remote-tracking branch 'origin/develop' into develop 2022-10-05 17:18:39 +02:00
Benoit Marty
f6411d673f Merge branch 'release/1.5.2' into main 2022-10-05 17:17:27 +02:00
Benoit Marty
d4f7b7bea4 Merge branch 'release/1.5.2' into develop 2022-10-05 17:17:25 +02:00
Benoit Marty
b49585bde3 Fastlane 2022-10-05 17:17:08 +02:00
Benoit Marty
a6cb936ae6 Reorder changes 2022-10-05 17:08:19 +02:00
Benoit Marty
94fa3343b4 Run towncrier 2022-10-05 17:06:58 +02:00
Benoit Marty
c76945f9c6 Fix tests, there is a new item in the list 2022-10-05 16:46:15 +02:00
Benoit Marty
8934eabc99 Remove TODO, the string a11y_create_room is actually used. 2022-10-05 16:33:05 +02:00
Benoit Marty
47457b39d0 Fix typo 2022-10-05 16:03:26 +02:00
Benoit Marty
3f27df81bd Merge pull request #7298 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-10-05 15:57:19 +02:00
Florian Renaud
33c31fb2a0 Merge pull request #7268 from vector-im/dependabot/gradle/mavericks-3.0.1
Bump mavericks from 2.7.0 to 3.0.1
2022-10-05 15:55:04 +02:00
Weblate
5d8a8545f4 Merge branch 'origin/develop' into Weblate. 2022-10-05 13:54:54 +00:00
Florian Renaud
010f2c458c Replace deprecated MvRxTestRule with MavericksTestRule 2022-10-05 14:48:59 +02:00
Valere
502b12a07e Merge pull request #7290 from vector-im/feature/bca/hinder_verification
E2ee dos not hinder verification
2022-10-05 14:34:34 +02:00
Weblate
672ad3a5e5 Merge branch 'origin/develop' into Weblate. 2022-10-05 12:32:46 +00:00
Valere
ec7c8c8b31 Merge pull request #6726 from vector-im/feature/bca/block_unverified
Per room block unverified devices
2022-10-05 14:29:59 +02:00
Weblate
d13606bdcc Merge branch 'origin/develop' into Weblate. 2022-10-05 12:28:06 +00:00
Nui Harime
111f77b017 Translated using Weblate (Russian)
Currently translated at 98.3% (2380 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-05 12:27:54 +00:00
lvre
4de0f0a1e8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-10-05 12:27:53 +00:00
Sveinn í Felli
c39e64dfc7 Translated using Weblate (Icelandic)
Currently translated at 84.5% (2046 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-10-05 12:27:53 +00:00
Vri
d5f542095c Translated using Weblate (German)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-05 12:27:39 +00:00
dependabot[bot]
8c35a8cf6b Bump mavericks from 2.7.0 to 3.0.1
Bumps `mavericks` from 2.7.0 to 3.0.1.

Updates `mavericks` from 2.7.0 to 3.0.1
- [Release notes](https://github.com/airbnb/mavericks/releases)
- [Changelog](https://github.com/airbnb/mavericks/blob/main/CHANGELOG.md)
- [Commits](https://github.com/airbnb/mavericks/compare/2.7.0...v3.0.1)

Updates `mavericks-testing` from 2.7.0 to 3.0.1
- [Release notes](https://github.com/airbnb/mavericks/releases)
- [Changelog](https://github.com/airbnb/mavericks/blob/main/CHANGELOG.md)
- [Commits](https://github.com/airbnb/mavericks/compare/2.7.0...v3.0.1)

---
updated-dependencies:
- dependency-name: com.airbnb.android:mavericks
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.airbnb.android:mavericks-testing
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 12:23:36 +00:00
Amit Kumar
aad2eed396 Add initial Sentry setup for crashes and perf tracking (#7141)
* Add initial Sentry setup for crashes and perf tracking

* Fix failing analytics tests

* Reformat code to fix style issue

* Close sentry when user signs out

* Add initial unit tests for Sentry

* Remove unused import

* Exclude amitkma from signoff requirements for PRs
2022-10-05 16:49:14 +05:30
Jorge Martín
e6a2d50b92 Add changelog, address review comments. 2022-10-05 12:55:46 +02:00
Onuray Sahin
4fdb4e8c79 Create custom view for instructions section. 2022-10-05 13:23:39 +03:00
Jorge Martín
e1cad01d54 Fix lint issues 2022-10-05 11:16:55 +02:00
Jorge Martín
321fddf5f6 Remove TODO 2022-10-05 11:16:55 +02:00
Jorge Martín
3c2e2552ec Simplify child fragment replacement logic 2022-10-05 11:16:55 +02:00
Jorge Martín
0d97fa201e Try to centralise the usage of fragment args 2022-10-05 11:16:55 +02:00
Jorge Martín
2c9526543b Remove coordinator, fix minor issues 2022-10-05 11:16:55 +02:00
Jorge Martín
baf527ec9d Extract MessageComposerFragment and VoiceRecorderFragment from TimelineFragment 2022-10-05 11:16:55 +02:00
Benoit Marty
70976c355a Merge pull request #7291 from vector-im/tech/fix-room-member-list-controller-test
Try to fix flaky RoomMemberListControllerTest
2022-10-05 11:04:00 +02:00
Benoit Marty
a036cc6d75 Merge pull request #7287 from vector-im/feature/bma/en-us
Use American English by default.
2022-10-05 11:02:58 +02:00
Benoit Marty
2cd78282d9 Fix typo
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2022-10-05 11:02:33 +02:00
Valere
fddeddacc7 fix outdated doc 2022-10-05 10:42:29 +02:00
Valere
37458d41f2 E2ee dos not hinder verification 2022-10-05 10:42:29 +02:00
Valere
b567fc5be6 remove commented code 2022-10-05 10:27:12 +02:00
Valere
68d4ac34c7 Move setting to room profile 2022-10-05 10:27:12 +02:00
Valere
8de2fe8917 Update library/ui-strings/src/main/res/values/strings.xml
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-10-05 10:27:12 +02:00
Valere
8c7e7a8f35 open global settings from room settings 2022-10-05 10:27:12 +02:00
Valere
f7d8356327 post rebase fix & cleaning 2022-10-05 10:27:12 +02:00
Valere
92a72cb1e9 cleaning 2022-10-05 10:27:12 +02:00
Valere
e9b33f6234 Per room block unverified devices 2022-10-05 10:27:12 +02:00
Maxime NATUREL
f02b689ce0 Adding unit tests for mapper 2022-10-05 10:14:05 +02:00
Maxime NATUREL
b23520ea40 Adding new field for last seen user agent in DB with migration 2022-10-05 10:14:04 +02:00
Maxime NATUREL
3be1513e0f Adding unit tests 2022-10-05 10:14:04 +02:00
Maxime NATUREL
bf502f4f3d Set the corresponding deviceType icon in list item and in overview view 2022-10-05 10:14:03 +02:00
Maxime NATUREL
5c95cee1c6 Adding changelog entry 2022-10-05 10:13:14 +02:00
Jorge Martín
ed545c7e2b Try to fix flaky RoomMemberListControllerTest 2022-10-05 08:50:12 +02:00
Jorge Martín
0b7e52e60b Fix EventHtmlRendererTest 2022-10-05 07:46:05 +02:00
ericdecanini
034046701d Merge remote-tracking branch 'origin/develop' into feature/eric/msc3881
# Conflicts:
#	vector/src/test/java/im/vector/app/test/fakes/FakeCryptoService.kt
2022-10-04 14:05:23 -04:00
Benoit Marty
4974fdf905 Merge pull request #6633 from Benjiko99/feature/incognito-keyboard
Add privacy setting to disable personalized learning by the keyboard
2022-10-04 18:22:22 +02:00
SpiritCroc
af9548dfdd Support inline images in the timeline (#5877)
* Support inline images in the timeline

Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-10-04 17:59:52 +02:00
Benoit Marty
2cb16d9f11 Merge pull request #6215 from networkException/fix-animated-only-fetching-thumbnail
Fix animated images only autoplaying sometimes
2022-10-04 17:44:25 +02:00
Benoit Marty
ca6813b5d8 Merge pull request #6906 from bwi-de/develop
Clean up pin code key and biometrics key on logout
2022-10-04 16:19:03 +02:00
Benoit Marty
304fb09f57 Merge pull request #6757 from eidonia/bugfix/#5029-disbale-emoji-keyboard-not-applies-reply
[Bugfix #5029] disable emoji keyboard not applies to reply
2022-10-04 16:16:36 +02:00
Benoit Marty
8311138bf1 Merge pull request #6762 from rudmannn/develop
replace android:gravity for backward compatibility
2022-10-04 16:14:41 +02:00
Benoit Marty
00248404c0 Merge pull request #7188 from vector-im/dependabot/gradle/org.owasp-dependency-check-gradle-7.2.1
Bump dependency-check-gradle from 7.2.0 to 7.2.1
2022-10-04 16:11:52 +02:00
Benoit Marty
5a7483eb38 Merge pull request #7203 from vector-im/dependabot/gradle/dagger-2.44
Bump dagger from 2.42 to 2.44
2022-10-04 16:09:12 +02:00
Benoit Marty
984995dcb9 Merge pull request #7265 from vector-im/dependabot/gradle/org.jetbrains.kotlin-kotlin-gradle-plugin-1.7.20
Bump kotlin-gradle-plugin from 1.7.10 to 1.7.20
2022-10-04 16:06:58 +02:00
Benoit Marty
17cd2a3302 Merge pull request #7266 from vector-im/dependabot/gradle/org.jetbrains.kotlin-kotlin-reflect-1.7.20
Bump kotlin-reflect from 1.7.10 to 1.7.20
2022-10-04 16:06:25 +02:00
Onuray Sahin
6fbdd87dcf Create custom view for header section. 2022-10-04 17:05:42 +03:00
Benoit Marty
90643510f2 Merge pull request #7269 from vector-im/dependabot/gradle/glide-4.14.1
Bump glide from 4.13.2 to 4.14.1
2022-10-04 15:53:26 +02:00
Benoit Marty
caffdbd8a5 Merge pull request #7286 from vector-im/tech/remove-robolectric-dependency
Remove Robolectric, make previous Robolectric test an instrumentation test
2022-10-04 15:52:49 +02:00
Benoit Marty
fe3540f6eb Changelog 2022-10-04 15:51:29 +02:00
Benoit Marty
c35fa978a7 Use American English by default. 2022-10-04 15:49:23 +02:00
Benoit Marty
4f61585ce5 Merge pull request #7279 from vector-im/dependabot/github_actions/danger/danger-js-11.1.3
Bump danger/danger-js from 11.1.2 to 11.1.3
2022-10-04 15:37:32 +02:00
Paul
d205202e52 [Bugfix] Fix crash on previewing image to upload on Android P (#7184)
* Fix crash on image upload preview on Android P

Using hardware bitmap allocation on Android framework versions prior to
Android Q causes a crash when decoding a bitmap if GL context wasn't
initialised. The issue is not documented in ImageDecoder reference but
it is mentioned in the comments of glide[1] with a link to internal
google discussion.

[1] f83cc274b4/library/src/main/java/com/bumptech/glide/load/resource/bitmap/HardwareConfigState.java (L22)

Signed-off-by: Paweł Matuszewski <pamat@protonmail.com>
2022-10-04 15:34:13 +02:00
Benoit Marty
81b5fcdc7d Merge pull request #5716 from thefirstofthe300/styling-tweaks
Styling tweaks
2022-10-04 15:32:32 +02:00
Jorge Martín
8d54a0d759 Remove Robolectric, make Robolectric test an instrumentation test 2022-10-04 14:15:54 +02:00
Yoan Pintas
ef82cc6aa7 Merge pull request #7225 from vector-im/yostyle/fix_strandhogg_detection
Add Activities of android permission controller in the whitelist
2022-10-04 11:51:06 +02:00
Nikita Fedrunov
8eea2ef923 fixing bug when room list is not updated being on background (#7278) 2022-10-04 11:29:34 +02:00
Florian Renaud
8e3b9735c1 Merge pull request #7258 from vector-im/feature/fre/voice_broadcast_feature_flag
Voice Broadcast - Add a feature flag with the composer action
2022-10-04 11:25:33 +02:00
Benoit Marty
d7f66d993f Changelog 2022-10-04 09:55:05 +02:00
Benoit Marty
fdcc7506de Homeservers will not return RelationsResponse.original_event in the future. 2022-10-04 09:28:44 +02:00
dependabot[bot]
3bd3283d43 Bump danger/danger-js from 11.1.2 to 11.1.3
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.1.2 to 11.1.3.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.1.2...11.1.3)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 23:15:43 +00:00
ericdecanini
f4dc435a97 Adds bindings to fdroid variant 2022-10-03 17:54:06 -04:00
ericdecanini
d14570dbea Replaces AppBuildConfig 2022-10-03 17:52:59 -04:00
Maxime NATUREL
07a2e3254a Merge pull request #7110 from vector-im/feature/mna/devices-learn-more-bottom-sheet
[Device Management] Learn more bottom sheets (PSG-715)
2022-10-03 17:39:41 +02:00
Benoit Marty
8653b74964 Prefer to add explicit group. 2022-10-03 17:00:04 +02:00
Benoit Marty
e282380ab8 Naming convention: Epoxy item classes have Itemsuffix 2022-10-03 16:48:34 +02:00
Benoit Marty
24fe677e50 Remove usage of @JvmField in Epoxy Items.
Fix error `error: annotation type not applicable to this kind of declaration`
2022-10-03 16:48:34 +02:00
Benoit Marty
8e375a7fb2 Fix issue with expected types. 2022-10-03 16:45:23 +02:00
Benoit Marty
9f68d9d803 Workaround to have KSP generated Kotlin code available in the IDE (for code completion)
Ref: https://github.com/airbnb/epoxy/releases/tag/5.0.0beta02
2022-10-03 16:45:23 +02:00
Benoit Marty
cba920f3e5 Enable Ksp for Epoxy Processor 2022-10-03 16:45:23 +02:00
Onuray Sahin
06c0d615a2 Create base classes. 2022-10-03 13:55:46 +03:00
Nikita Fedrunov
9f8c7688bf added analytics for app layout (#7242) 2022-10-03 11:47:58 +02:00
Benoit Marty
8fd0107d84 Merge pull request #7256 from vector-im/feature/bma/fix_manifest_warning
Fix compilation warning when manifest are merged.
2022-10-03 11:16:25 +02:00
Valere
005e712396 Merge pull request #6703 from vector-im/feature/bca/crosssigning_reset_warning
warn on cross signing reset
2022-10-03 09:25:52 +02:00
Florian Renaud
2812b16cad Add changelog file 2022-10-03 09:25:03 +02:00
Florian Renaud
2bc08069cc Add Voice Broadcast action in the composer 2022-10-03 09:25:03 +02:00
Florian Renaud
0b0ea64a4b Add Voice Broadcast feature flag 2022-10-03 09:25:02 +02:00
Szimszon
d8b3c66c62 Translated using Weblate (Hungarian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/hu/
2022-10-02 19:32:54 +00:00
Priit Jõerüüt
28af6bb208 Translated using Weblate (Estonian)
Currently translated at 99.6% (2411 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-10-02 19:32:53 +00:00
Priit Jõerüüt
73997d4569 Translated using Weblate (Estonian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-10-01 14:33:42 +00:00
phardyle
5566901b71 Translated using Weblate (Chinese (Simplified))
Currently translated at 96.0% (73 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hans/
2022-10-01 14:33:39 +00:00
Nui Harime
feff368f85 Translated using Weblate (Russian)
Currently translated at 98.3% (2380 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-10-01 14:33:37 +00:00
Przemysław Romanik
fa66ce1833 Translated using Weblate (Polish)
Currently translated at 97.8% (2367 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-10-01 14:33:36 +00:00
Anonimas
a2ad855ce2 Translated using Weblate (Lithuanian)
Currently translated at 80.1% (1940 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2022-10-01 14:33:35 +00:00
Linerly
366d273fc0 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-10-01 14:32:51 +00:00
Lamdarer
f9d9a0c178 Translated using Weblate (German)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-01 14:32:50 +00:00
Vri
fef2c8519a Translated using Weblate (German)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-10-01 14:32:50 +00:00
dependabot[bot]
9cb7051694 Bump glide from 4.13.2 to 4.14.1
Bumps `glide` from 4.13.2 to 4.14.1.

Updates `glide` from 4.13.2 to 4.14.1
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.13.2...v4.14.1)

Updates `compiler` from 4.13.2 to 4.14.1
- [Release notes](https://github.com/bumptech/glide/releases)
- [Commits](https://github.com/bumptech/glide/compare/v4.13.2...v4.14.1)

---
updated-dependencies:
- dependency-name: com.github.bumptech.glide:glide
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.github.bumptech.glide:compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 23:09:33 +00:00
Onuray Sahin
d0dd446af8 Merge pull request #7247 from vector-im/feature/ons/parse_user_agent
[Device Manager] Parse user agents (PSG-762)
2022-09-30 18:36:33 +03:00
Valere
384e829d42 Update changelog.d/6702.bugfix
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-09-30 17:16:49 +02:00
Onuray Sahin
ea8dc45796 Parse browser version. 2022-09-30 17:08:35 +03:00
Valere
b4f7e1381d fix test post rebase 2022-09-30 16:00:34 +02:00
Valere
59afe434f8 more tests 2022-09-30 16:00:34 +02:00
Valere
ac0e5e9dec fix broken test, userId confustion
cleaning


cleaning


add tests


cleaning
2022-09-30 16:00:34 +02:00
Valere
c8f0792997 warn on cross signing reset 2022-09-30 16:00:34 +02:00
Onuray Sahin
bf4576d155 Code review fixes. 2022-09-30 13:21:44 +03:00
Valere
dc9451aeba Merge pull request #7246 from vector-im/feature/adm/autocomplete-crash
[Crash] Autocomplete crashes on open
2022-09-30 10:43:23 +02:00
Jorge Martín
570bc57cc6 Restore validateEpoxyModelUsage annotation processing arg 2022-09-30 09:44:23 +02:00
Jorge Martín
f5cb980020 Fix dependencies and code issues 2022-09-30 09:39:01 +02:00
dependabot[bot]
1db669d1c2 Bump kotlin-reflect from 1.7.10 to 1.7.20
Bumps [kotlin-reflect](https://github.com/JetBrains/kotlin) from 1.7.10 to 1.7.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 23:21:58 +00:00
dependabot[bot]
169170d398 Bump kotlin-gradle-plugin from 1.7.10 to 1.7.20
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.7.10 to 1.7.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 23:15:14 +00:00
dependabot[bot]
bd6b441b2a Bump epoxy from 4.6.2 to 5.0.0
Bumps `epoxy` from 4.6.2 to 5.0.0.

Updates `epoxy` from 4.6.2 to 5.0.0
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.6.2...5.0.0)

Updates `epoxy-glide-preloading` from 4.6.2 to 5.0.0
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.6.2...5.0.0)

Updates `epoxy-processor` from 4.6.2 to 5.0.0
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.6.2...5.0.0)

Updates `epoxy-paging` from 4.6.2 to 5.0.0
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.6.2...5.0.0)

---
updated-dependencies:
- dependency-name: com.airbnb.android:epoxy
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.airbnb.android:epoxy-glide-preloading
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.airbnb.android:epoxy-processor
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.airbnb.android:epoxy-paging
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 23:13:01 +00:00
Onuray Sahin
0f8637bc7a Lint fix. 2022-09-29 17:57:22 +03:00
Onuray Sahin
81e8ddf832 Code review fixes. 2022-09-29 17:40:26 +03:00
Onuray Sahin
6d459a0bc9 Code review fixes. 2022-09-29 17:35:47 +03:00
Benoit Marty
aca5d3f148 Merge branch 'release/TODO_RELEASE_NAME' into main 2022-09-29 16:31:21 +02:00
Maxime NATUREL
48439f9071 Reverting remove of end of line from translations 2022-09-29 14:06:45 +02:00
Maxime NATUREL
28dee84aee Rename sessions screen learn more 2022-09-29 14:06:45 +02:00
Maxime NATUREL
20a24162f4 Updating texts + other sessions list screen learn more 2022-09-29 14:06:45 +02:00
Maxime NATUREL
c356c8090b Removing other sessions section learn more 2022-09-29 14:06:45 +02:00
Maxime NATUREL
acba3f2aa4 Updating learn more strings 2022-09-29 14:06:45 +02:00
Maxime NATUREL
5704dd4f43 Fix wrong import order 2022-09-29 14:06:44 +02:00
Maxime NATUREL
28b30e4e4f Fix after rebase issue 2022-09-29 14:06:44 +02:00
Maxime NATUREL
e986d7805e Fixing after rebase issues 2022-09-29 14:06:44 +02:00
Maxime NATUREL
d1bc7d591f Revert changes to translations 2022-09-29 14:06:44 +02:00
Maxime NATUREL
87e1b53c6e Fix coding style 2022-09-29 14:06:44 +02:00
Maxime NATUREL
51532687b9 Learn more in session overview screen 2022-09-29 14:06:44 +02:00
Maxime NATUREL
400b1b0697 Adding handle at top 2022-09-29 14:06:44 +02:00
Maxime NATUREL
97cdda45d6 Adding close button 2022-09-29 14:06:44 +02:00
Maxime NATUREL
648311e2b1 Show basic bottom sheet when pressing learn more link from other sessions section 2022-09-29 14:06:44 +02:00
Maxime NATUREL
1d11eae0cc Removing learn more link from security header 2022-09-29 14:06:44 +02:00
Maxime NATUREL
70a5093e3d Adding string resources 2022-09-29 14:06:44 +02:00
Maxime NATUREL
6eb5d98180 Add changelog entry 2022-09-29 14:06:43 +02:00
Onuray Sahin
38cd2be332 Fix broken tests. 2022-09-29 13:28:46 +03:00
Onuray Sahin
1238f31cdf Merge pull request #7209 from vector-im/feature/ons/extend_user_agent
[Device Manager] Extend user agent to include device information (PSG-755)
2022-09-29 13:11:20 +03:00
Benoit Marty
214867ad0e Merge pull request #7248 from vector-im/feature/bca/hotfix_1.5.1_merge
Feature/bca/hotfix 1.5.1 merge back from main
2022-09-29 11:58:36 +02:00
Maxime NATUREL
75a381ea0d Merge pull request #7243 from vector-im/feature/mna/device-manager-signout-session
[Device management] Sign out a session (PSG-742)
2022-09-29 11:43:56 +02:00
Benoit Marty
11cdf8ea9c Merge pull request #7223 from vector-im/feature/bca/fix_new_layout_list_flickering
Fix new layout flicker/leaks
2022-09-29 11:39:34 +02:00
Onuray Sahin
8663fe8c74 Add tests for unknown user agents. 2022-09-29 12:35:15 +03:00
Onuray Sahin
0f0ec54ed1 Code review fixes. 2022-09-29 12:20:01 +03:00
Onuray Sahin
4c173a79ae Lint fixes. 2022-09-29 11:40:15 +03:00
Onuray Sahin
c16b5d674c Add more user agent support. 2022-09-29 11:36:38 +03:00
Maxime NATUREL
082fa1e69e Adding confirmation dialog for all type of sessions 2022-09-29 10:27:13 +02:00
Valere
803eff9ad1 Fix not exhaustive when 2022-09-29 09:45:18 +02:00
Benoit Marty
f4674b17d6 Fix compilation warning. The Jitsi library does not include these permissions anymore. 2022-09-29 09:44:46 +02:00
Valere
8132a7902b post merge code quality 2022-09-29 09:21:06 +02:00
Valere
ce86e29122 Merge branch 'main' into develop 2022-09-28 18:16:39 +02:00
Onuray Sahin
7a36b10d40 Add changelog. 2022-09-28 18:22:24 +03:00
Onuray Sahin
5666383134 Add unit test for desktop and web user agents. 2022-09-28 18:19:25 +03:00
Maxime NATUREL
e47bf2b200 Adding unit tests for reAuth needed case 2022-09-28 16:45:06 +02:00
Valere
aa42746034 version 1.5.1 2022-09-28 16:28:43 +02:00
Valere
5c442296ef Security fix CVE-2022-39246 CVE-2022-39248 2022-09-28 16:26:47 +02:00
Onuray Sahin
41643ffb53 Add unit test for iOS user agents. 2022-09-28 15:00:16 +03:00
Onuray Sahin
2bcf0c307d Add unit test for Android user agents. 2022-09-28 14:59:56 +03:00
Onuray Sahin
04a305b403 Refactor user agent parsing. 2022-09-28 14:32:20 +03:00
Adam Brown
5f778fff01 re-enabling the jetifier, it's required by the autocomplete library
- the upstream library source doesn't require the jetifier however it hasn't been released
2022-09-28 10:09:13 +01:00
Benoit Marty
0c4510250b Merge pull request #7241 from vector-im/feature/bma/gradle_doctor
Set up Gradle doctor
2022-09-27 18:48:05 +02:00
dependabot[bot]
0d6cbbdb5d Bump dependency-check-gradle from 7.2.0 to 7.2.1
Bumps dependency-check-gradle from 7.2.0 to 7.2.1.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 16:41:13 +00:00
dependabot[bot]
8ca390a2a8 Bump google-services from 4.3.13 to 4.3.14 (#7150)
Bumps google-services from 4.3.13 to 4.3.14.

---
updated-dependencies:
- dependency-name: com.google.gms:google-services
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 17:40:13 +01:00
Benoit Marty
a381f9fc52 Merge pull request #7216 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.56
Bump libphonenumber from 8.12.55 to 8.12.56
2022-09-27 18:10:14 +02:00
Nikita Fedrunov
337dce7d9e tests workflow will now update gradle cache when run against develop (#7238) 2022-09-27 17:45:50 +02:00
dependabot[bot]
d44ad6c351 Bump libphonenumber from 8.12.55 to 8.12.56
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.55 to 8.12.56.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.55...v8.12.56)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 14:25:35 +00:00
Maxime NATUREL
68d9f672c5 Unit tests for after reAuth 2022-09-27 15:04:34 +02:00
Maxime NATUREL
dafa98eb77 Unit tests for signout error cases 2022-09-27 15:04:34 +02:00
Maxime NATUREL
89cf8ee8ec Unit test for signout success 2022-09-27 15:04:34 +02:00
Maxime NATUREL
da3d3308b4 Fix unit tests in ViewModel 2022-09-27 15:04:34 +02:00
Maxime NATUREL
68bee65e97 Confirm signout when it is current session 2022-09-27 15:04:34 +02:00
Maxime NATUREL
0fe5ee68f2 Unit tests for interception of signout process result 2022-09-27 15:04:34 +02:00
Maxime NATUREL
8d870b8220 Replace IsCurrentSessionUseCase by using DeviceFullInfo field 2022-09-27 15:04:34 +02:00
Maxime NATUREL
04ad2daa80 Unit tests for signout use case 2022-09-27 15:04:34 +02:00
Maxime NATUREL
bf42220422 Unit tests for view navigator 2022-09-27 15:04:34 +02:00
Maxime NATUREL
0c708c0ad4 Fix after rebase property qualifier 2022-09-27 15:04:34 +02:00
Maxime NATUREL
d6bb6efb1d Loading dialog during signout process 2022-09-27 15:04:34 +02:00
Maxime NATUREL
b2b3ee1fe5 Adding button to trigger sign out 2022-09-27 15:04:33 +02:00
Maxime NATUREL
7e81aa6193 ReAuth process 2022-09-27 15:04:33 +02:00
Maxime NATUREL
5380c30780 Adding signout action and corresponding use cases 2022-09-27 15:04:33 +02:00
Maxime NATUREL
320e9eac39 Adding changelog entry 2022-09-27 15:04:33 +02:00
Onuray Sahin
3e66a6538e Implement use case to parse user agent. 2022-09-27 15:45:34 +03:00
Adam Brown
fad02062d8 Instrumentation test coroutines (#7207)
Converting SDK instrumentation tests from CountdownLatch to suspending functions
2022-09-27 13:37:23 +01:00
Benoit Marty
67d899dce4 Deactivate some gradle doctor checks on the CI. 2022-09-27 14:34:51 +02:00
Adam Brown
a422361872 Merge pull request #7073 from vector-im/dependabot/gradle/moshi-1.14.0
Bump moshi from 1.13.0 to 1.14.0
2022-09-27 13:07:08 +01:00
dependabot[bot]
5666786635 Bump moshi from 1.13.0 to 1.14.0
Bumps `moshi` from 1.13.0 to 1.14.0.

Updates `moshi` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/moshi/compare/moshi-parent-1.13.0...1.14.0)

Updates `moshi-kotlin` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/moshi/compare/moshi-parent-1.13.0...1.14.0)

Updates `moshi-kotlin-codegen` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/moshi/compare/moshi-parent-1.13.0...1.14.0)

Updates `moshi-adapters` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/square/moshi/releases)
- [Changelog](https://github.com/square/moshi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/moshi/compare/moshi-parent-1.13.0...1.14.0)

---
updated-dependencies:
- dependency-name: com.squareup.moshi:moshi
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.squareup.moshi:moshi-kotlin
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.squareup.moshi:moshi-kotlin-codegen
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.squareup.moshi:moshi-adapters
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 11:04:30 +00:00
Adam Brown
d308b72868 Merge pull request #7129 from vector-im/feature/adm/screenshot-testing-example-test
Example screenshot test
2022-09-27 12:02:38 +01:00
Adam Brown
2d2b2e9218 using latest upload-artifact action (should fix missing glob) 2022-09-27 11:03:44 +01:00
Adam Brown
28f4e79b43 attempting to use 0% difference for screenshot verification
- this may cause false errors with the navigation/status bar https://github.com/cashapp/paparazzi/issues/453#issuecomment-1254001714
2022-09-27 10:16:45 +01:00
Benoit Marty
4d09f0888d Merge pull request #7231 from pt2121/pt/12-flip-table
Add support for `/tableflip` command (#12)
2022-09-27 11:11:08 +02:00
Benoit Marty
df0ce31f8f Merge pull request #7240 from vector-im/dependabot/gradle/org.json-json-20220924
Bump json from 20220320 to 20220924
2022-09-27 10:52:10 +02:00
Adam Brown
189369da71 Merge pull request #6249 from vector-im/dependabot/bundler/jmespath-1.6.1
Update Fastlane dependencies
2022-09-27 09:29:38 +01:00
Benoit Marty
974ac49594 Add default configuration of Gradle Doctor to the project.
Will allow to tweak the configuration if necessary.
2022-09-27 10:20:02 +02:00
Benoit Marty
c6e1154744 Set up gradle doctor plugin 2022-09-27 10:20:02 +02:00
Nikita Fedrunov
e9d1a9e04e app layout labs flag is enabled by default (#7237) 2022-09-27 09:54:24 +02:00
dependabot[bot]
5246035163 Bump json from 20220320 to 20220924
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20220924.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 23:10:18 +00:00
yostyle
8dc71e07ed Add activities from Android API 33. 2022-09-27 00:24:33 +02:00
yostyle
bd64749b48 Add changelog 2022-09-27 00:24:33 +02:00
yostyle
dc1abb7978 Add Activities of android permission controller in the whitelist 2022-09-27 00:24:33 +02:00
ganfra
bf405394d8 Home room list: make some clean up 2022-09-26 19:36:50 +02:00
Adam Brown
08c79a798e Merge pull request #7115 from vector-im/docs/unit-testing
[docs] Unit testing documentation
2022-09-26 16:51:42 +01:00
ericdecanini
4cebfa13e8 Adds missing bindings 2022-09-26 11:39:40 -04:00
Prat T
3f9b9827bd Add support for /tableflip command (#12)
Signed-off-by: Prat T <pt2121@users.noreply.github.com>
2022-09-26 07:25:34 -07:00
Adam Brown
4a81ee25ac manually including the paparazzi jar as the plugin is only applied when executing the screenshot tasks (which automatically included the jar previously) 2022-09-26 15:13:37 +01:00
Adam Brown
be1e8a8ef8 adding and recording example paparazzi test 2022-09-26 14:14:03 +01:00
Adam Brown
df752b9e58 Merge pull request #7210 from vector-im/feature/adm/emulator-network-access
Missing buildjet Emulator network
2022-09-26 13:39:12 +01:00
Onuray Sahin
c70b6206d0 Add user agent into device info. 2022-09-26 14:39:23 +03:00
Adam Brown
2e4ca1d6d9 ensuring build flags are applied to all test steps 2022-09-26 12:29:28 +01:00
Adam Brown
ac9333312a switching emulator image to the playstore variant to fix no network on the buildjet runner
- updates max workers to match available resources
- re-enables previously failing test
2022-09-26 12:28:50 +01:00
Adam Brown
59e7b70b03 Merge pull request #7128 from vector-im/feature/adm/screenshot-testing-setup
Paparazzi screenshot testing setup
2022-09-26 12:01:01 +01:00
Jorge Martín
90e4760ee7 Fix VoiceRecorderLTests by faking OggOpusEncoder 2022-09-26 11:32:29 +02:00
Adam Brown
c0baa2e8fd making use of the lazy task registration to allow only applying the paparazzi plugin when needed 2022-09-26 10:26:39 +01:00
Adam Brown
dc0599f966 removing jetifier screenshot config as the jetifier is no longer needed 2022-09-26 10:26:39 +01:00
Adam Brown
7d18d89a61 adding missing colon to yml run param 2022-09-26 10:26:39 +01:00
Adam Brown
7740404b14 using ## heading for the examples block 2022-09-26 10:26:39 +01:00
Adam Brown
469dd46a45 adding changelog entry 2022-09-26 10:26:39 +01:00
Adam Brown
1fab6e69c5 adding origin of bash script url 2022-09-26 10:26:39 +01:00
Adam Brown
c19b359f43 adding docs for creating, recording and verifying screenshot tests 2022-09-26 10:26:39 +01:00
Adam Brown
243ca01924 including lfs files when checking out during tests workflow 2022-09-26 10:26:39 +01:00
Adam Brown
b0e2596b58 including screenshot verification and error result uploads as part of the test step 2022-09-26 10:26:38 +01:00
Adam Brown
7f8cb4b1a1 ignoring the screenshot failure results from git 2022-09-26 10:26:38 +01:00
Adam Brown
0f19726fe2 creating custom tasks to record and verify screenshot
- introduces a 'screenshot' flag to include/exclude the screenshot tests from the default test runs
2022-09-26 10:26:38 +01:00
Adam Brown
9ef4975025 adding github action to validate screenshot files are commited with git lfs 2022-09-26 10:26:38 +01:00
Adam Brown
9fd77044a9 including git lfs config for picking up screenshot test recordings 2022-09-26 10:26:38 +01:00
Adam Brown
c66a38057e adding paparazzi screenshot testing lib setup 2022-09-26 10:26:38 +01:00
Adam Brown
2c1eef7a59 Merge pull request #7142 from vector-im/feature/adm/dialpad-lib
Manually including `im.dlg:android-dialer:1.2.5`
2022-09-26 10:14:56 +01:00
Maxime NATUREL
223149805b Merge pull request #7189 from vector-im/feature/mna/device-manager-rename-session
[Device management] Rename a session (PSG-747)
2022-09-26 10:35:15 +02:00
Maxime NATUREL
7a4bf83da0 Fix lint issue 2022-09-26 09:46:58 +02:00
Maxime NATUREL
fd85ad0f1b Add Init action + corresponding initialized event 2022-09-26 09:46:58 +02:00
Maxime NATUREL
e437c9e131 Updating info icon tint color 2022-09-26 09:46:58 +02:00
Maxime NATUREL
f0fe636654 Fix file name for styles of session warning info view 2022-09-26 09:46:58 +02:00
Maxime NATUREL
5de097e251 Adding warning info view 2022-09-26 09:46:58 +02:00
Maxime NATUREL
bd9b843df7 Focus on edit text + open keyboard when landing on screen 2022-09-26 09:46:58 +02:00
Maxime NATUREL
5498a7e96e Adding unit tests for view model 2022-09-26 09:46:58 +02:00
Maxime NATUREL
c96d671e6b Adding unit tests for navigator 2022-09-26 09:46:58 +02:00
Maxime NATUREL
4a3966d4f5 Improve rename session use case and add tests 2022-09-26 09:46:58 +02:00
Maxime NATUREL
d7afea7b3a Rename session use case 2022-09-26 09:46:58 +02:00
Maxime NATUREL
b134d35dd6 Adding save button and view actions 2022-09-26 09:46:58 +02:00
Maxime NATUREL
33cf3d3032 Setup a custom toolbar 2022-09-26 09:46:58 +02:00
Maxime NATUREL
7eab37e9d1 Small renaming of navigator method 2022-09-26 09:46:58 +02:00
Maxime NATUREL
c3d359e58f Adding edit text into the screen 2022-09-26 09:46:58 +02:00
Maxime NATUREL
54aec63f6c Small improvement in code readability 2022-09-26 09:46:58 +02:00
Maxime NATUREL
82fabf4a85 Adding menu with rename action in session overview screen 2022-09-26 09:46:58 +02:00
Maxime NATUREL
3de96a3a0c Adding new method into navigator 2022-09-26 09:46:58 +02:00
Maxime NATUREL
1091ae41ad Default structure for the new code 2022-09-26 09:46:58 +02:00
Maxime NATUREL
45b72483fe Adding changelog entry 2022-09-26 09:46:58 +02:00
Maxime NATUREL
a83be29dbe Merge pull request #7206 from vector-im/feature/mna/mutualize-pending-auth
Mutualize the pending auth handling (PSG-742)
2022-09-26 09:45:52 +02:00
Artjom König
2dda8af776 Merge branch 'vector-im:develop' into develop 2022-09-26 08:52:08 +02:00
ericdecanini
40c2e95a54 Adds PushersManagerTest 2022-09-25 11:58:02 -04:00
ericdecanini
1f28a2acae Adds PushersMapperTest 2022-09-25 10:45:59 -04:00
Tomáš Beňo
079a2f5351 Hide Incognito Keyboard setting on unsupported devices 2022-09-25 14:56:20 +02:00
Tomáš Beňo
e5cf431cc7 Apply imeOptions to ComposerEditText without overriding previously set options 2022-09-25 14:42:07 +02:00
Tomáš Beňo
d2f9ca4cbc Improve summary text of Incognito Keyboard setting 2022-09-25 13:56:59 +02:00
Tomáš Beňo
79e4a435da Add privacy setting to disable personalized learning by the keyboard 2022-09-25 13:23:32 +02:00
Ihor Hordiichuk
30628217ae Translated using Weblate (Ukrainian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-09-25 00:33:03 +00:00
lvre
ef344236cd Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-09-25 00:33:01 +00:00
Vri
94b2026056 Translated using Weblate (German)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-09-25 00:33:00 +00:00
phardyle
d7ce983ef4 Translated using Weblate (Chinese (Simplified))
Currently translated at 98.8% (2392 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-09-25 00:32:58 +00:00
Ihor Hordiichuk
e315db3c8e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-09-25 00:32:57 +00:00
Nui Harime
d86594099c Translated using Weblate (Russian)
Currently translated at 97.9% (2370 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-09-25 00:32:56 +00:00
lvre
312111c35a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-09-25 00:32:55 +00:00
Szimszon
2a5a85af1f Translated using Weblate (Hungarian)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-09-25 00:32:53 +00:00
Vri
b356ac799a Translated using Weblate (German)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-09-25 00:32:51 +00:00
ericdecanini
f724751c86 Adds new pusher fields to Notification Targets screen 2022-09-23 11:03:56 -04:00
Adam Brown
d0bff7495d Merge pull request #7205 from vector-im/dependabot/gradle/fragment-1.5.3
Bump fragment from 1.5.2 to 1.5.3
2022-09-23 15:56:51 +01:00
Maxime NATUREL
c9eaf30057 Updating the log in ssoAuthDone method to improve privacy 2022-09-23 16:39:41 +02:00
Maxime NATUREL
854a604fbe Fix missing loading ViewEvent 2022-09-23 16:39:41 +02:00
Maxime NATUREL
99c2088d0e Using UiaCancelledException on reAuth cancellation 2022-09-23 16:39:41 +02:00
Maxime NATUREL
0d7d841d73 Adding unit tests 2022-09-23 16:39:41 +02:00
Maxime NATUREL
0cd352ccba Adding changelog entry 2022-09-23 16:39:41 +02:00
Maxime NATUREL
892fd4445c Mutualize pending auth handling 2022-09-23 16:39:41 +02:00
Onuray Sahin
6c79aae3aa Merge pull request #7171 from vector-im/feature/ons/device_manager_security_sessions
[Device Manager] Unverified and inactive sessions list (PSG-698, PSG-696)
2022-09-23 17:22:44 +03:00
ericdecanini
52171ef748 Changes deviceDisplayName on pusher to use device model name 2022-09-23 09:36:53 -04:00
ericdecanini
65c89638ab Fixes lint error with comments 2022-09-23 09:24:20 -04:00
Onuray Sahin
33eeb721bf Merge branch 'develop' into feature/ons/extend_user_agent 2022-09-23 16:17:06 +03:00
Onuray Sahin
7cd30a1ed4 Merge branch 'develop' into feature/ons/device_manager_security_sessions 2022-09-23 16:16:49 +03:00
Benoit Marty
4fb7154f2b Merge pull request #7187 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-connector-2.1.0
Bump android-connector from 2.0.1 to 2.1.0
2022-09-23 15:13:59 +02:00
Benoit Marty
46311356b7 Merge pull request #7222 from vector-im/feature/bma/ignore_flaky_test
Ignore flaky test "CantVerifyTest" and "fix" VoiceRecorderLTests
2022-09-23 15:10:30 +02:00
ganfra
6cba51eff3 Update changelog 1.5.0 for fastlane 2022-09-23 15:09:17 +02:00
Onuray Sahin
42983f5ce4 Write unit test for computing user agent user case. 2022-09-23 15:55:02 +03:00
Linerly
13bca69ae4 Translated using Weblate (Indonesian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-09-23 12:44:43 +00:00
waclaw66
a71cc768f5 Translated using Weblate (Czech)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-09-23 12:44:40 +00:00
Jeff Huang
dc9c0ce573 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-09-23 12:44:38 +00:00
Danial Behzadi
f45209d197 Translated using Weblate (Persian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2022-09-23 12:44:36 +00:00
random
e749831ad1 Translated using Weblate (Italian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-09-23 12:44:34 +00:00
Ihor Hordiichuk
4a752f7f43 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-09-23 12:44:31 +00:00
Jozef Gaal
9a438204c4 Translated using Weblate (Slovak)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-09-23 12:44:29 +00:00
Glandos
15a027d7fd Translated using Weblate (French)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2022-09-23 12:44:27 +00:00
Vri
ab7dc527fa Translated using Weblate (German)
Currently translated at 100.0% (76 of 76 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-09-23 12:44:25 +00:00
Jeff Huang
c0504a2002 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-09-23 12:44:23 +00:00
phardyle
f415a7f5db Translated using Weblate (Chinese (Simplified))
Currently translated at 98.1% (2375 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-09-23 12:44:19 +00:00
Ihor Hordiichuk
2a8dfc2a59 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-09-23 12:44:19 +00:00
Jozef Gaal
c0b854f54f Translated using Weblate (Slovak)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-09-23 12:44:16 +00:00
Nui Harime
2228ece79a Translated using Weblate (Russian)
Currently translated at 97.3% (2356 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-09-23 12:44:13 +00:00
Didek
06286e6a7a Translated using Weblate (Polish)
Currently translated at 97.8% (2367 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-09-23 12:44:11 +00:00
random
063b080d2c Translated using Weblate (Italian)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-09-23 12:44:10 +00:00
Linerly
0366205926 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-09-23 12:44:07 +00:00
Glandos
ffa3e4b842 Translated using Weblate (French)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-09-23 12:44:05 +00:00
Danial Behzadi
589ccc142e Translated using Weblate (Persian)
Currently translated at 99.9% (2417 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-09-23 12:44:02 +00:00
waclaw66
204f36dc3d Translated using Weblate (Czech)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-09-23 12:44:01 +00:00
Auri B. P
b60bb295ad Translated using Weblate (Catalan)
Currently translated at 100.0% (2419 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-09-23 12:43:58 +00:00
Benoit Marty
97b3b2363b Disable not passing VoiceRecorderLTests, for the time we are investigating the issue. 2022-09-23 14:09:44 +02:00
ganfra
8d112a47d7 Merge branch 'hotfix/1.5.0_disable_applayout' into main 2022-09-23 12:20:00 +02:00
ganfra
92be6d1b49 Merge branch 'main' into develop 2022-09-23 12:20:00 +02:00
Valere
2ea357ddc0 Fix new layout flicker/leaks 2022-09-23 12:12:14 +02:00
Onuray Sahin
c7108f3ac3 Create use case to compute user agent. 2022-09-23 13:05:16 +03:00
Benoit Marty
56f3ecc4af Disable flaky CantVerifyTest, for the time we are investigating the issue. 2022-09-23 11:46:40 +02:00
ganfra
f8ed3520f5 Applayout: disable applayout by default 2022-09-23 11:45:34 +02:00
Benoit Marty
56189a2d5d Merge pull request #7211 from vector-im/feature/bma/prevent_modification_of_translations
Prevent modification of translations
2022-09-23 10:46:38 +02:00
ericdecanini
8c7901177e Adds comments to new fields in HttpPusher 2022-09-22 20:44:46 -04:00
ericdecanini
5c27f65d3e Adds changelog file 2022-09-22 20:43:37 -04:00
ericdecanini
75935c824b Implements MSC3881 (enabled and device_id fields for Pusher API) 2022-09-22 20:35:04 -04:00
ganfra
cb6d0a66cb Merge branch 'hotfix/1.5.0_v2' into main 2022-09-22 18:18:26 +02:00
ganfra
40e304a4ff Merge branch 'main' into develop 2022-09-22 18:18:26 +02:00
ganfra
8d94643ff7 RoomList: revert changes on LiveData and fix previous issues (not updated list) 2022-09-22 18:17:55 +02:00
Benoit Marty
a5ab942097 Add TOC to CONTRIBUTING.md 2022-09-22 17:52:52 +02:00
Benoit Marty
a07761dedb Fix issue with knit. 2022-09-22 17:48:38 +02:00
Benoit Marty
c56f33a939 Add changelog 2022-09-22 17:36:08 +02:00
Benoit Marty
60bfd0dd42 Merge pull request #7159 from vector-im/feature/bma/fix_new_lint_warning
Fix lint warning
2022-09-22 17:35:10 +02:00
Benoit Marty
6e2ce10f65 Add a note for string reordering 2022-09-22 17:22:58 +02:00
Benoit Marty
97c3623f89 Add a note for plurals 2022-09-22 17:22:58 +02:00
Benoit Marty
729eba750b Add link to the file values/strings.xml, and fix typo in the path. 2022-09-22 17:22:58 +02:00
Benoit Marty
a7856db218 Add a section about renaming id of String resource 2022-09-22 17:10:46 +02:00
Benoit Marty
cefe2e9ef4 Add a rule to Danger to check that translation files are not modified by developers. 2022-09-22 17:03:45 +02:00
Benoit Marty
f4c5cba020 Merge pull request #7126 from vector-im/feature/bma/arch_doc
Architecture doc
2022-09-22 16:41:17 +02:00
Adam Brown
65156a8ece Merge pull request #7198 from vector-im/feature/adm/configurable-sync-timeout
Allow configurable sync timeout
2022-09-22 15:40:58 +01:00
Benoit Marty
828413c2c5 Fix some typo 2022-09-22 16:40:34 +02:00
Benoit Marty
086a6ee9a1 Update after Ganfra's review 2022-09-22 16:39:35 +02:00
Benoit Marty
3600e374f2 Avoid code duplication 2022-09-22 16:34:07 +02:00
Benoit Marty
0559911f39 Fix non passing tests 2022-09-22 16:34:07 +02:00
Benoit Marty
7f5c712e88 No need to use @SuppressLint("NewApi") when @ChecksSdkIntAtLeast is used - more cleanup 2022-09-22 16:34:07 +02:00
Benoit Marty
658a09ea6a No need to use @SuppressLint("NewApi") when @ChecksSdkIntAtLeast is used. 2022-09-22 16:32:14 +02:00
Benoit Marty
5886245bbf Reverse condition for code clarity with ChecksSdkIntAtLeast 2022-09-22 16:32:14 +02:00
Benoit Marty
0910b118ff Changelog 2022-09-22 16:32:14 +02:00
Benoit Marty
2bda97224c Cleanup 2022-09-22 16:32:14 +02:00
Benoit Marty
2266723789 Remove DefaultSharedPreferences since we now have @DefaultPreferences which provide a singleton. 2022-09-22 16:32:14 +02:00
Benoit Marty
c735ea5e3d Remove duplication between KeysBackupBanner.State and ServerBackupStatusViewModel.BannerState and move the some logic to the ViewModel 2022-09-22 16:32:14 +02:00
Benoit Marty
b4494ee8ea Remove DefaultSharedPreferences since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
2022-09-22 16:32:14 +02:00
Benoit Marty
5736c8f648 Remove DefaultSharedPreferences since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
2022-09-22 16:32:14 +02:00
Benoit Marty
0324927b04 Create VectorLocaleProvider, to just read the current Locale from the SharedPreference 2022-09-22 16:32:14 +02:00
Benoit Marty
d8436874e2 Fix StaticFieldLeak issue (context).
Make VectorLocal an injectable class.
2022-09-22 16:32:14 +02:00
Benoit Marty
7e8a39e6de Suppress LaunchActivityFromNotification. This is fine here, this is the notification for the diagnostic, we do not want to start an Activity. 2022-09-22 16:32:14 +02:00
Benoit Marty
832a472b57 Add @ChecksSdkIntAtLeast annotation, to be able to remove AndroidVersionTestOverrider 2022-09-22 16:32:14 +02:00
Benoit Marty
bb2eb56ee6 Add @ChecksSdkIntAtLeast annotation. 2022-09-22 16:32:14 +02:00
Benoit Marty
1ff4a5f212 Ignore AlwaysShowAction lint issue. Also make it an error, so that developer has to explicitly disable the warning. 2022-09-22 16:32:14 +02:00
dependabot[bot]
33e613fe96 Bump dagger from 2.42 to 2.44
Bumps `dagger` from 2.42 to 2.44.

Updates `hilt-android-gradle-plugin` from 2.42 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.44)

Updates `dagger` from 2.42 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.44)

Updates `dagger-compiler` from 2.42 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.44)

Updates `hilt-android` from 2.42 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.44)

Updates `hilt-android-testing` from 2.42 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.44)

Updates `hilt-compiler` from 2.42 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.44)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-android-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 14:31:31 +00:00
dependabot[bot]
2aa9382fba Bump android-connector from 2.0.1 to 2.1.0
Bumps [android-connector](https://github.com/UnifiedPush/android-connector) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/UnifiedPush/android-connector/releases)
- [Commits](https://github.com/UnifiedPush/android-connector/compare/2.0.1...2.1.0)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-connector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 14:31:16 +00:00
Benoit Marty
151f6245db Merge pull request #6929 from vector-im/feature/bma/android12
Target API 32 (Android 12)
2022-09-22 16:30:04 +02:00
Onuray Sahin
c37a6842fe Update format to be consistent with Element iOS. 2022-09-22 15:53:29 +03:00
Onuray Sahin
ea78f504d7 Small refactoring. 2022-09-22 15:28:26 +03:00
Onuray Sahin
8b3eaf10e1 Add changelog. 2022-09-22 15:25:31 +03:00
Onuray Sahin
b2e7cc2208 Extend user agent by adding device manufacturer and model to the beginning. 2022-09-22 15:18:20 +03:00
Benoit Marty
e98bfe5c9b Merge pull request #7156 from vector-im/feature/mna/device-manager-verify-other-session
[Device management] Verify another session (PSG-722)
2022-09-22 11:46:28 +02:00
Benoit Marty
4e30bc86b8 Merge pull request #7139 from vector-im/feature/mna/device-manager-verify-current-session
[Device management] Verify current session (PSG-722)
2022-09-22 11:46:07 +02:00
ganfra
fabfe36ede Update versions to 1.5.2 2022-09-22 10:31:31 +02:00
ganfra
21806efaa5 Merge branch 'release/1.5.0' into main 2022-09-22 10:28:04 +02:00
ganfra
2a9cf32829 Merge branch 'main' into develop 2022-09-22 10:28:04 +02:00
ganfra
14e7c913df Release 1.5.0: update CHANGES 2022-09-22 09:50:50 +02:00
ganfra
d08b33ec07 Translations: fix some mispells 2022-09-22 09:45:06 +02:00
dependabot[bot]
44f6e66efb Bump fragment from 1.5.2 to 1.5.3
Bumps `fragment` from 1.5.2 to 1.5.3.

Updates `fragment-ktx` from 1.5.2 to 1.5.3

Updates `fragment-testing` from 1.5.2 to 1.5.3

---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.fragment:fragment-testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 23:10:46 +00:00
ganfra
619791d24f Merge pull request #7201 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-09-21 21:40:06 +02:00
Danial Behzadi
1446e8f50b Translated using Weblate (Persian)
Currently translated at 99.8% (2415 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-09-21 19:16:35 +00:00
Auri B. P
401ce61930 Translated using Weblate (Catalan)
Currently translated at 98.7% (2389 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-09-21 19:16:32 +00:00
ganfra
feb33ce32b Translation: cleanup remaining TODOs 2022-09-21 19:43:47 +02:00
ganfra
03d843ac51 Rename device_manager strings 2022-09-21 18:04:32 +02:00
Adam Brown
600588dbbb adding trailing commas 2022-09-21 16:37:31 +01:00
ganfra
658a8dfd04 Merge pull request #7199 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-09-21 17:09:32 +02:00
Weblate
12e0e263fa Merge branch 'origin/develop' into Weblate. 2022-09-21 14:40:42 +00:00
ganfra
0a8e6c1758 Weblate: fix conflict 2022-09-21 16:39:56 +02:00
Adam Brown
d75e37966c adding changelog entry 2022-09-21 15:39:13 +01:00
Adam Brown
9ab78c93e2 reducing sync timeout for instrumentation tests to speed them up 2022-09-21 15:39:13 +01:00
Adam Brown
7f31098ba1 lifting the sync timeout to the matrix configuration 2022-09-21 15:39:09 +01:00
Benoit Marty
b9c28ba4ce Merge branch 'develop' into feature/bma/android12 2022-09-21 16:24:30 +02:00
ganfra
c05cbb4eed Merge pull request #7196 from vector-im/feature/ons/revert_string_key_changes
Revert changes of string keys
2022-09-21 16:02:18 +02:00
Onuray Sahin
793138bf1b Revert changes of string keys. 2022-09-21 16:44:47 +03:00
Nui Harime
d9faad6364 Translated using Weblate (Russian)
Currently translated at 98.0% (2339 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-09-21 12:45:19 +00:00
Michael Weimann
b82b5a6979 Translated using Weblate (German)
Currently translated at 98.9% (2362 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-09-21 12:45:18 +00:00
Onuray Sahin
8de9ef8c7d Code review fixes. 2022-09-21 14:30:24 +03:00
Onuray Sahin
4ab798f88d Code review fixes. 2022-09-21 14:16:51 +03:00
Benoit Marty
d31d833959 Merge pull request #7180 from vector-im/feature/fre/deferred_dm_labs_flag
Deferred DMs - Add and enable the feature by default in the labs settings
2022-09-21 12:17:19 +02:00
Benoit Marty
52d7369ac3 Merge pull request #7186 from vector-im/bugfix/eric/fixes-room-list-updates
Fixes Room List not getting updated when fragment is not in focus
2022-09-21 12:14:20 +02:00
NIkita Fedrunov
d8060a7922 review fixes 2022-09-21 11:28:21 +02:00
NIkita Fedrunov
602b378b65 cancel flow when order is changed 2022-09-21 10:43:08 +02:00
ganfra
bf19ef81d0 Merge pull request #7185 from vector-im/bugfix/nfe/app_layout_all_screens_test_fix
fixed all screens test to follow latest changes
2022-09-21 10:28:22 +02:00
Florian Renaud
c252f6eb70 Update lab setting wording following design review 2022-09-21 09:50:05 +02:00
Florian Renaud
fa8b56b1ad Restore tracking for deferred DMs 2022-09-21 09:36:07 +02:00
Florian Renaud
dd92bb756a Add visibility setting field for lab setting 2022-09-21 09:36:07 +02:00
Florian Renaud
3786bd9c65 changelog 2022-09-21 09:36:07 +02:00
Florian Renaud
e9d809d9c3 Move and enable deferred DMs into labs settings 2022-09-21 09:36:07 +02:00
ericdecanini
821636bcb2 Adds changelog file 2022-09-20 18:36:25 -04:00
ericdecanini
1a93bbf92f Renames roomsPagedList 2022-09-20 18:32:59 -04:00
ericdecanini
fe1e74fa06 Fixes room list not getting updated when not in focus 2022-09-20 18:22:39 -04:00
NIkita Fedrunov
f6dfd64326 fixed all screens test to follow latest changes 2022-09-20 23:27:00 +02:00
Nui Harime
32536a4009 Translated using Weblate (Russian)
Currently translated at 97.9% (2338 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-09-20 14:32:47 +00:00
Onuray Sahin
45cf7dcd63 Merge branch 'develop' into feature/ons/device_manager_security_sessions 2022-09-20 17:11:51 +03:00
Onuray Sahin
3ea054f8e1 Fix unit test. 2022-09-20 15:06:52 +03:00
Adam Brown
2168362a8b including appcompat (instead of the support library) to fix colorPrimary attribute compiliation issues 2022-09-20 10:06:21 +01:00
Florian Renaud
8624199be3 Merge pull request #7154 from vector-im/bugfix/fre/start_dm_app_layout
Deferred DMs - Handle the local rooms within the new AppLayout
2022-09-20 10:53:51 +02:00
Maxime NATUREL
943ec7ee75 Reducing argument number in session info view update method 2022-09-20 10:46:10 +02:00
Maxime NATUREL
72637b465f Using viewState value to check if it is current session 2022-09-20 10:46:10 +02:00
Maxime NATUREL
aa7f7d7111 Fix after rebase 2022-09-20 10:46:10 +02:00
Maxime NATUREL
17bb14c1dc Fixing coding style issues 2022-09-20 10:46:10 +02:00
Maxime NATUREL
921533e4b2 Getting the current session verification status to change verify button visibility 2022-09-20 10:46:10 +02:00
Maxime NATUREL
95d133e0e2 Moving some components inside the verification package 2022-09-20 10:46:10 +02:00
Maxime NATUREL
a6cb25d0c3 Verification of another session 2022-09-20 10:46:10 +02:00
Maxime NATUREL
c16e1ca291 Adding changelog entry 2022-09-20 10:46:10 +02:00
Maxime NATUREL
54a4dc7e9a Inverting some arguments to ease readability 2022-09-20 10:45:47 +02:00
Maxime NATUREL
cf6b8d76a8 Removing non necessary session id arg from ViewAction 2022-09-20 10:45:46 +02:00
Maxime NATUREL
e0c4706cf9 Removing non necessary session arg from ViewEvent 2022-09-20 10:45:46 +02:00
Maxime NATUREL
584c699409 Verify current session in Session overview screen 2022-09-20 10:45:46 +02:00
Maxime NATUREL
fa990351af Editing changelog entry 2022-09-20 10:45:46 +02:00
Maxime NATUREL
32b5606498 Fixing missing event to start verification process 2022-09-20 10:45:46 +02:00
Maxime NATUREL
35db958279 Adding unit tests for new action in DevicesViewModel 2022-09-20 10:45:46 +02:00
Maxime NATUREL
d826327773 Adding unit tests for CheckIfCurrentSessionCanBeVerifiedUseCase 2022-09-20 10:45:46 +02:00
Maxime NATUREL
8cd7b0744a Verification process for the current Session 2022-09-20 10:45:46 +02:00
Maxime NATUREL
5759a0f7da Adding click listeners on verify button 2022-09-20 10:45:46 +02:00
Maxime NATUREL
81beccdd8e Adding changelog entry 2022-09-20 10:45:46 +02:00
Benoit Marty
b7c63907ea Merge pull request #7108 from vector-im/feature/bma/trybuildjet
Use `buildjet-4vcpu-ubuntu-2204` runner instead of `macos-latest` to …
2022-09-20 09:51:46 +02:00
Benoit Marty
d8ff688e76 Fix typo in changelog.
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2022-09-20 09:51:22 +02:00
Nikita Fedrunov
b4f7302057 release notes screen now properly shown on update to a version with app layout labs flag enabled by default (#7175) 2022-09-19 22:35:15 +02:00
Nikita Fedrunov
6da6f6a7f4 add qr code option to home screen menu (#7177) 2022-09-19 22:34:56 +02:00
Eric Decanini
7d2cbf5263 Merge pull request #7166 from vector-im/feature/eric/enable-app-layout-labs
Enables New App Layout in Labs
2022-09-19 13:35:40 -04:00
Benoit Marty
aa010dedff Try to upload integration test report log 2022-09-19 18:36:01 +02:00
Benoit Marty
0c28384ece Create AVD and generate snapshot for caching. Also force AVD creation when no cache hit 2022-09-19 18:12:19 +02:00
Florian Renaud
b4ca16735d Merge pull request #7125 from vector-im/feature/fre/start_dm_loading
Deferred DM - Add a loading wheel while creating the DM
2022-09-19 17:04:56 +02:00
Benoit Marty
0e45494c11 Comment out continue-on-error: true
It does not mark the build as failed.
2022-09-19 16:26:38 +02:00
Florian Renaud
5e504942ca Delete the local read receipts when deleting the local rooms 2022-09-19 15:58:14 +02:00
Florian Renaud
648498e2de Move local room check from UpdateBreadcrumbsTask to RoomService 2022-09-19 15:58:14 +02:00
Florian Renaud
8999b40c1a Add action for local rooms deletion 2022-09-19 15:58:14 +02:00
Florian Renaud
df3fd6f691 Remove unused import 2022-09-19 15:58:14 +02:00
Florian Renaud
c28271dd8b Add changelog 2022-09-19 15:58:14 +02:00
Florian Renaud
14d2aec506 Start DM - Handle the local rooms within the new AppLayout 2022-09-19 15:58:14 +02:00
Florian Renaud
3c68222fd7 Do not save local room into recent rooms 2022-09-19 15:58:14 +02:00
Onuray Sahin
72cc0deda2 Add changelog. 2022-09-19 16:45:52 +03:00
Nikita Fedrunov
830e5ffa9f room summary now has constant height (#7145) 2022-09-19 15:22:16 +02:00
Onuray Sahin
2ad0cd46bb Fix unit tests. 2022-09-19 16:18:30 +03:00
Onuray Sahin
ec9843fb53 Fix unverified session detection logic. 2022-09-19 15:38:02 +03:00
Onuray Sahin
7db222af0c Render security recommendation sessions. 2022-09-19 15:37:13 +03:00
Benoit Marty
bf493f27ae Revert to buildjet-4vcpu-ubuntu-2204 2022-09-19 14:31:35 +02:00
Benoit Marty
0fea172154 Merge pull request #7169 from vector-im/feature/bma/fix_dependencies_regression
Fix regression on our dependency, due to merge of #6788.
2022-09-19 14:29:42 +02:00
Onuray Sahin
5902c9cd83 Merge pull request #7046 from vector-im/feature/ons/device_manager_filter
[Device Manager] Filter Other Sessions (PSG-684)
2022-09-19 14:24:42 +03:00
Onuray Sahin
740b69d48c Make other sessions view dynamic. 2022-09-19 13:42:30 +03:00
Benoit Marty
e2d131fc4f Move xml resource in the module where they are used to avoid lint false positive UnusedResources issues. 2022-09-19 11:56:40 +02:00
NIkita Fedrunov
237da2ce22 changed app layout flag for all_test 2022-09-19 11:08:25 +02:00
Onuray Sahin
32d7516dcb Merge branch 'develop' into feature/ons/device_manager_filter 2022-09-19 12:02:22 +03:00
Benoit Marty
c91ba06285 Fix lint warnings, some code has vanished dur to the rebasing of the branch... 2022-09-19 10:50:15 +02:00
Benoit Marty
874bcc117a Fix regression on our dependency, due to merge of #6788.
We do not use `android-embedded_fcm_distributor` anymore (since #7068).
The code was compiling because `android-embedded_fcm_distributor` has a dependency on `firebase-messaging`.
2022-09-19 10:34:39 +02:00
Benoit Marty
949f06eb00 Merge pull request #7168 from vector-im/sync-emojis
Sync Emojis
2022-09-19 10:18:39 +02:00
Benoit Marty
75236e9ed0 Start with buildjet-2vcpu-ubuntu-2204 2022-09-19 10:17:05 +02:00
Florian Renaud
eac74bda09 Improve nullability check in CreateRoomFromLocalRoomTask 2022-09-19 09:38:05 +02:00
Florian Renaud
3f88811590 remove unused import 2022-09-19 09:38:05 +02:00
Florian Renaud
10b5e8fd04 Changelog 2022-09-19 09:38:05 +02:00
Florian Renaud
e2f0e14133 Start DM - Add loading wheel while creating the room 2022-09-19 09:38:05 +02:00
Florian Renaud
824a4bcae5 Add comment to explain the replacementRoom behaviour 2022-09-19 09:38:05 +02:00
Florian Renaud
e76793781d Use LocalRoomSummaryEntity.where extension 2022-09-19 09:38:05 +02:00
Szimszon
af7938432b Translated using Weblate (Hungarian)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-09-19 07:32:46 +00:00
Maxime NATUREL
7b0f94b9e3 Merge pull request #7160 from vector-im/dependabot/gradle/com.google.android.gms-play-services-location-20.0.0
Bump play-services-location from 16.0.0 to 20.0.0
2022-09-19 09:20:40 +02:00
bmarty
925fffac45 Sync Emojis 2022-09-19 00:03:51 +00:00
NIkita Fedrunov
298aaece01 fixed checkVerifyPopup test fail 2022-09-18 18:02:45 +02:00
Anonimas
733add8d61 Translated using Weblate (Lithuanian)
Currently translated at 4.0% (3 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/lt/
2022-09-17 19:33:29 +00:00
phardyle
a6dc219e28 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.5% (2375 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-09-17 19:33:28 +00:00
Gérson
a783bef1e1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-09-17 19:33:27 +00:00
lvre
16443f957b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-09-17 19:33:27 +00:00
Przemysław Romanik
77fa7aea56 Translated using Weblate (Polish)
Currently translated at 98.8% (2358 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-09-17 19:33:27 +00:00
Anonimas
b82b47b50b Translated using Weblate (Lithuanian)
Currently translated at 51.5% (1229 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2022-09-17 19:33:26 +00:00
Linerly
934a6026b2 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-09-17 19:32:48 +00:00
Glandos
61289666bd Translated using Weblate (French)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-09-17 19:32:48 +00:00
Priit Jõerüüt
6bb0e68e78 Translated using Weblate (Estonian)
Currently translated at 99.6% (2378 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-09-17 19:32:46 +00:00
ericdecanini
57c9161e00 Adds changelog file 2022-09-17 13:17:39 -04:00
ericdecanini
b8b2601e0b Enables app layout by default in labs 2022-09-17 13:12:45 -04:00
dependabot[bot]
43a1bdb620 Bump play-services-location from 16.0.0 to 20.0.0
Bumps play-services-location from 16.0.0 to 20.0.0.

---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-location
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 23:18:13 +00:00
Benoit Marty
d4eb619d40 Changelog 2022-09-16 23:30:20 +02:00
Benoit Marty
a1f4ffbf17 Use vanniktechEmoji "0.16.0-SNAPSHOT" 2022-09-16 23:12:48 +02:00
Benoit Marty
84afa4714a App compat 1.5.1 2022-09-16 23:01:56 +02:00
Benoit Marty
892484a1b3 Upgrade kotlin from 1.6.21 to 1.7.10 and dagger (+hilt) from 2.42 to 2.43.2 2022-09-16 23:01:56 +02:00
Benoit Marty
57db43c80a Fix gradle warning:
WARNING:API 'ApkVariantOutput.getVersionCodeOverride()' is obsolete and has been replaced with 'VariantOutput.versionCode()'.
2022-09-16 23:01:29 +02:00
Benoit Marty
c5571c06ed Upgrade gradle plugin from 7.1.3 to 7.2.2 2022-09-16 23:01:29 +02:00
Benoit Marty
842a9bbd55 Add dataExtractionRules, applicable to Android 12. Exclude everything from being backed up. Also properly support Android 11. 2022-09-16 23:01:29 +02:00
Benoit Marty
88482c9b2e Reduce level API check, this seems not necessary. 2022-09-16 23:00:39 +02:00
Benoit Marty
cde7096928 Restore this annotation 2022-09-16 23:00:39 +02:00
Benoit Marty
518ec738f3 Reduce level API check, this seems not necessary. 2022-09-16 23:00:39 +02:00
Benoit Marty
e17f009566 Reduce level API check, this seems not necessary. 2022-09-16 23:00:39 +02:00
Benoit Marty
536b9cf926 Move @Suppress("DEPRECATION") closer to the deprecated usage. Will help to detect other deprecated API usage. 2022-09-16 23:00:39 +02:00
Benoit Marty
24e4f94e61 Stop using deprecated method. 2022-09-16 23:00:39 +02:00
Benoit Marty
3f3c83a43d Remove deprecated internal class. 2022-09-16 23:00:39 +02:00
Benoit Marty
8b64bd38b7 'compileSdk': 32, 'targetSdk': 32 2022-09-16 23:00:39 +02:00
dependabot[bot]
d9ee51a212 Bump emoji2 from 1.1.0 to 1.2.0
Bumps emoji2 from 1.1.0 to 1.2.0.

---
updated-dependencies:
- dependency-name: androidx.emoji2:emoji2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 23:00:39 +02:00
dependabot[bot]
ea274c4df6 Bump appcompat from 1.4.2 to 1.5.0
Bumps appcompat from 1.4.2 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 23:00:39 +02:00
Benoit Marty
734945e154 Merge pull request #7151 from vector-im/dependabot/gradle/org.owasp-dependency-check-gradle-7.2.0
Bump dependency-check-gradle from 7.1.2 to 7.2.0
2022-09-16 19:08:19 +02:00
Benoit Marty
0685fb1e1a Changelog 2022-09-16 19:03:39 +02:00
Benoit Marty
73e061e472 Merge pull request #7130 from vector-im/feature/bma/fix_verification
Fix empty verification bottom sheet
2022-09-16 19:00:39 +02:00
Adam Brown
9a298a6e3e Merge pull request #7157 from vector-im/feature/adm/cache-misses
Fix build cache misses
2022-09-16 17:19:49 +01:00
Benoit Marty
a919989fd4 Merge pull request #7132 from vector-im/bugfix/eric/dismiss-new-chat
Adds dismissal to new chat bottom sheet actions
2022-09-16 18:14:08 +02:00
Adam Brown
0385f387d9 using value notion instead of key for the elements in the circular cache 2022-09-16 16:34:42 +01:00
Adam Brown
4a0cda3268 formatting tweaks 2022-09-16 16:34:38 +01:00
Onuray Sahin
6823258abb Add test for view navigation. 2022-09-16 17:41:51 +03:00
Adam Brown
739a513f89 moving external library modules to an external directory 2022-09-16 15:15:32 +01:00
Adam Brown
e83fa9c81f removing dialpad reliance on the legacy support library 2022-09-16 15:15:32 +01:00
Adam Brown
abd70d953b disabling lint for the pulled in module 2022-09-16 15:15:32 +01:00
Adam Brown
5058f942af manually including the im.dlg:android-dialer:1.2.5
- avoids using appcompat
- avoids using an artifact without a source repository
2022-09-16 15:15:32 +01:00
Adam Brown
8bfe7b68c3 Merge pull request #7140 from vector-im/feature/adm/legacy-support-library-usages
Excluding legacy support library annotation usages
2022-09-16 15:14:46 +01:00
Adam Brown
1669320698 adding changelog entry 2022-09-16 15:03:24 +01:00
Adam Brown
bbdac9d1ba fix build cache misses
- forcing the stem string template generator to be cachable, without this the templates are regenerated causing the vector module to recompile its sources (our slowest task!)
2022-09-16 14:57:11 +01:00
Onuray Sahin
61f5f81305 Merge branch 'develop' into feature/ons/device_manager_filter
# Conflicts:
#	library/ui-strings/src/main/res/values/strings.xml
#	vector/src/main/AndroidManifest.xml
#	vector/src/main/java/im/vector/app/core/di/MavericksViewModelModule.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/list/SessionsListHeaderView.kt
#	vector/src/main/res/layout/fragment_settings_devices.xml
2022-09-16 15:25:09 +03:00
Onuray Sahin
eb5253ab1a Refactor duplicated code. 2022-09-16 14:51:40 +03:00
Onuray Sahin
e87d4db72c Refactor duplicated code. 2022-09-16 14:42:20 +03:00
Adam Brown
11e6ca1784 moving the jitsi exclude directly to the dependency so that other modules also get the exclusion
- also excludes the support dependency from the barcode scanner
2022-09-16 12:16:03 +01:00
Adam Brown
ae50f5a006 adding changelog entry 2022-09-16 11:37:39 +01:00
Adam Brown
be9c9f1640 formatting 2022-09-16 11:37:39 +01:00
Adam Brown
1d8b4ce63b excluding support annotations from jsonviewer module dependency 2022-09-16 11:37:39 +01:00
Adam Brown
4e99217164 excluding jitsi's android-scalablevideoview fork's support library
- The library exports a jetified artifact but doesn't remove the support library dependency /home/adam/dev/element/element-android/vector/build.gradle
2022-09-16 11:37:39 +01:00
Adam Brown
c61df899b4 removing unused dependency 2022-09-16 11:37:39 +01:00
Adam Brown
ca92ad267d excluding compile time legacy support annotations from dependencies 2022-09-16 11:37:38 +01:00
Onuray Sahin
e2313ad1cd Implement unit tests. 2022-09-16 13:05:06 +03:00
Adam Brown
b05d52bb6d Merge pull request #6788 from vector-im/feature/adm/app-level-variant-v2
`:vector-app` level variants
2022-09-16 10:36:58 +01:00
Benoit Marty
ad16130a94 Merge pull request #7147 from vector-im/dependabot/gradle/appDistribution-16.0.0-beta04
Bump appDistribution from 16.0.0-beta03 to 16.0.0-beta04
2022-09-16 09:58:02 +02:00
dependabot[bot]
b3334b3e8d Bump dependency-check-gradle from 7.1.2 to 7.2.0
Bumps dependency-check-gradle from 7.1.2 to 7.2.0.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-15 23:14:34 +00:00
dependabot[bot]
e86b72b8db Bump appDistribution from 16.0.0-beta03 to 16.0.0-beta04
Bumps `appDistribution` from 16.0.0-beta03 to 16.0.0-beta04.

Updates `firebase-appdistribution-api-ktx` from 16.0.0-beta03 to 16.0.0-beta04

Updates `firebase-appdistribution` from 16.0.0-beta03 to 16.0.0-beta04

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-appdistribution-api-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.firebase:firebase-appdistribution
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-15 23:11:49 +00:00
Florian Renaud
0ce72057dc Merge pull request #7123 from vector-im/bugfix/fre/start_dm_room_list_glitch
Start DM - Fix glitch in the room list
2022-09-15 16:55:47 +02:00
Onuray Sahin
fd9dca9621 Fix existing tests. 2022-09-15 17:39:08 +03:00
Adam Brown
60b164a447 using fully qualified path to test activity, fixes missing reference 2022-09-15 15:17:11 +01:00
ericdecanini
13b1722060 Merge remote-tracking branch 'origin/develop' into bugfix/eric/dismiss-new-chat
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt
2022-09-15 10:05:13 -04:00
Eric Decanini
01e1d74c72 Merge pull request #7103 from vector-im/bugfix/eric/landscape-bottom-sheet-peek
[New Layout] Adds peek height (min height) to new layout bottom sheets
2022-09-15 10:03:11 -04:00
ericdecanini
e9b3d29128 Merge remote-tracking branch 'origin/develop' into bugfix/eric/dismiss-new-chat 2022-09-15 10:02:41 -04:00
Adam Brown
e9d15b46d8 lifting the activity alias entry to the application module
- fixes the androidTests expecting a shortcuts xml
2022-09-15 14:50:08 +01:00
Adam Brown
619ea819ed using debug variant for the vector CA tests, gplay only exists at the root level 2022-09-15 14:50:08 +01:00
Adam Brown
68da403f2f using the top level debug unit test task when executing tests for coverage to avoid needing to specify every module 2022-09-15 14:50:08 +01:00
Adam Brown
e9e29603de adding missing nightly source inclusions 2022-09-15 14:50:08 +01:00
Adam Brown
9e5f07a855 suppressing lint warning for constant that delegates to the correct value 2022-09-15 14:50:08 +01:00
Adam Brown
1d50bbdbda fixing manifest imports and giving androidTest its own dedicated manifest 2022-09-15 14:50:08 +01:00
Adam Brown
0c469ae079 removing extra application id declaration 2022-09-15 14:50:08 +01:00
Adam Brown
32a15bee04 adding changelog entry 2022-09-15 14:50:08 +01:00
Adam Brown
0691046601 enabling build caching by default to improve build times 2022-09-15 14:50:08 +01:00
Adam Brown
3a38898961 lifting fdroid and gplay variants to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
373a0ca4fb split commit to make debug changes to avoid files being seen as new! 2022-09-15 14:50:08 +01:00
Adam Brown
5d533d4ec9 lifting debug build type to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
a947a53e14 lifting the release build type to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
b72a174edf lifting nightly to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
e53972cf2d adding changelog entry 2022-09-15 14:42:56 +01:00
Florian Renaud
6c9ae331e3 transform list to iterable 2022-09-15 15:16:51 +02:00
Onuray Sahin
3e0f76a362 Code review fix. 2022-09-15 15:38:37 +03:00
Onuray Sahin
e3ee59f6c1 Refactor naming of strings. 2022-09-15 15:34:59 +03:00
Onuray Sahin
81cc8ab98b Code review fixes. 2022-09-15 15:14:46 +03:00
Benoit Marty
3ddaf0c51f Ensure MatrixItem.UserItem is not null at other places 2022-09-15 11:29:38 +02:00
ericdecanini
a3fff0777d Adds changelog file 2022-09-14 17:25:38 -04:00
ericdecanini
283686a9d8 Adds dismiss to new chat bottom sheet actions 2022-09-14 17:22:55 -04:00
Nikita Fedrunov
1d3c191153 scroll recents carouse to start when item added/moved to start (#7120) 2022-09-14 22:55:01 +02:00
Nikita Fedrunov
7631c7ac9f room leaving prompt dialog now waits user to confirm leaving before do so (#7124) 2022-09-14 22:54:40 +02:00
Benoit Marty
42fc601c59 changelog 2022-09-14 20:32:31 +02:00
Benoit Marty
92d7391232 state.otherUserMxItem cannot be null anymore.
Ensure the User is retrieved from the network, or fallback to a default User object.
2022-09-14 20:25:43 +02:00
Benoit Marty
6d2a9ec9d5 Prefer using state.otherUserId over nullable state.otherUserMxItem?.id 2022-09-14 19:05:38 +02:00
Benoit Marty
bdda8dbc48 Changelogs 2022-09-14 18:19:57 +02:00
Benoit Marty
7341a65410 Run knit. 2022-09-14 18:17:15 +02:00
Benoit Marty
b9294381b8 Add a paragraph about test. 2022-09-14 17:52:11 +02:00
Benoit Marty
8623b85ac8 Add support to /devtools command 2022-09-14 17:49:55 +02:00
Benoit Marty
f67cf0d591 Reduce link size. 2022-09-14 17:38:50 +02:00
Benoit Marty
c72ab3d187 Add link to the new doc to the README file. 2022-09-14 17:38:28 +02:00
Benoit Marty
64fb985d3b First draft of documentation to onboard new developers. 2022-09-14 17:36:59 +02:00
Benoit Marty
970abb4dde Rename file. 2022-09-14 16:53:38 +02:00
Florian Renaud
e792228879 Changelog 2022-09-14 16:41:09 +02:00
Florian Renaud
3b1599763c Start DM - Fix glitch by not showing the local rooms in the room list 2022-09-14 16:41:09 +02:00
ericdecanini
50b042ee98 Merge remote-tracking branch 'origin/develop' into bugfix/eric/landscape-bottom-sheet-peek
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt
2022-09-14 09:46:43 -04:00
ericdecanini
f4b5cfc71f Makes bottom sheets inherit VectorBaseBottomSheetDialogFragment 2022-09-14 09:46:00 -04:00
ericdecanini
e0f327e8f6 Removes unneeded code in BottomSheetDialog.kt 2022-09-14 09:37:42 -04:00
Maxime NATUREL
7982f4be00 Merge pull request #7084 from vector-im/feature/mna/dm-session-details
[Device management] Session details screen (PSG-686)
2022-09-14 13:11:22 +02:00
Adam Brown
1b3e099d7c adding first pass at unit testing documentation 2022-09-14 10:21:34 +01:00
Maxime NATUREL
fb3fdf097c Reusing some existing strings 2022-09-14 10:31:22 +02:00
Maxime NATUREL
a1bdfd1a5c Using shouldBeNull() method in unit tests 2022-09-14 10:31:22 +02:00
Maxime NATUREL
279820224c Long press on the whole content item 2022-09-14 10:31:22 +02:00
Maxime NATUREL
6cd0fbb614 Unit tests for the ViewModel 2022-09-14 10:31:22 +02:00
Maxime NATUREL
c1dfa925c0 Unit tests for use cases to check visibility of sections 2022-09-14 10:31:22 +02:00
Maxime NATUREL
4205b4a777 Unit tests for session overview navigator 2022-09-14 10:31:22 +02:00
Maxime NATUREL
4cd81f194c Copy content to clipboard on long click on an item 2022-09-14 10:31:22 +02:00
Maxime NATUREL
ecb7d77582 Hiding the last content item divider 2022-09-14 10:31:22 +02:00
Maxime NATUREL
30effb781b Fixing margins in list items 2022-09-14 10:31:22 +02:00
Maxime NATUREL
92888b666c Adding extra top margin between sections 2022-09-14 10:31:22 +02:00
Maxime NATUREL
bf88c16c9d Show basic details info 2022-09-14 10:31:21 +02:00
Maxime NATUREL
94d1649ec9 Creation of header and content items 2022-09-14 10:31:21 +02:00
Maxime NATUREL
c7099f53c1 Using camelCase syntax for view ids 2022-09-14 10:31:21 +02:00
Maxime NATUREL
51fba85a3a Using buildString{} inline method to improve readability 2022-09-14 10:31:21 +02:00
Maxime NATUREL
3970c2ec31 Using setTextOrHide() extension method inside SessionInfoView 2022-09-14 10:31:21 +02:00
Maxime NATUREL
15cf8b63a0 Using unwrap() extension method 2022-09-14 10:31:21 +02:00
Maxime NATUREL
9553fe0648 Using a ScrollView for the Session overview screen 2022-09-14 10:31:21 +02:00
Maxime NATUREL
a661f9c3fb Navigation from session overview to session details 2022-09-14 10:31:21 +02:00
Maxime NATUREL
4a89fcea14 Adding basic structure for the new screen 2022-09-14 10:31:21 +02:00
Maxime NATUREL
583cc29472 Adding changelog entry 2022-09-14 10:31:21 +02:00
Benoit Marty
8dbfafb324 Merge pull request #7102 from vector-im/feature/eric/double-space-click-fix
Fixes Crash On Double Click Of Space FABs
2022-09-14 10:15:08 +02:00
ericdecanini
34303c4a62 Removes inject constructor in NewChatBottomSheet 2022-09-13 16:27:29 -04:00
ericdecanini
85f16e8dfa Adds API 30 compatible method 2022-09-13 16:21:36 -04:00
Onuray Sahin
2763ebdd5a Merge branch 'develop' into feature/ons/device_manager_filter
# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/DevicesAction.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/DevicesViewModel.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/DevicesViewState.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/GetCurrentSessionCrossSigningInfoUseCase.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
2022-09-13 17:20:44 +03:00
Onuray Sahin
b5c6f60ee6 Scroll to top on filter type changed. 2022-09-13 16:35:30 +03:00
Benoit Marty
1afe0981a6 Use buildjet-4vcpu-ubuntu-2204 runner instead of macos-latest to build and run the integration tests for the post merge task. 2022-09-13 14:47:35 +02:00
Benoit Marty
6ac9a7627b Disable 2nd attempt to run the tests. 2022-09-13 14:42:39 +02:00
Benoit Marty
2e8b6e4eb9 typo 2022-09-13 14:40:26 +02:00
Maxime NATUREL
147dac8ebf Merge pull request #7104 from vector-im/dependabot/gradle/flipper-0.164.0
Bump flipper from 0.163.0 to 0.164.0
2022-09-13 14:03:45 +02:00
Benoit Marty
9a651b223b Use buildjet-4vcpu-ubuntu-2204 runner instead of macos-latest to build and run the integration tests. 2022-09-13 13:18:18 +02:00
Onuray Sahin
42ade670da Navigate to session details on click. 2022-09-13 13:47:38 +03:00
Onuray Sahin
0ec67c1ab8 Implement clear filter. 2022-09-13 13:10:03 +03:00
dependabot[bot]
125339a164 Bump flipper from 0.163.0 to 0.164.0
Bumps `flipper` from 0.163.0 to 0.164.0.

Updates `flipper` from 0.163.0 to 0.164.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.163.0...v0.164.0)

Updates `flipper-network-plugin` from 0.163.0 to 0.164.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.163.0...v0.164.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 23:10:32 +00:00
ericdecanini
55c60c9a40 Adds changelog file 2022-09-12 17:49:06 -04:00
ericdecanini
8fc201121d Adds min height to new chat 2022-09-12 17:44:59 -04:00
ericdecanini
662d77cb7e Adds min height to space sheet 2022-09-12 17:40:22 -04:00
ericdecanini
db83099dc3 Adds changelog file 2022-09-12 12:29:33 -04:00
ericdecanini
8177d9777c Fixes crash on double click of space fabs 2022-09-12 12:26:57 -04:00
Benoit Marty
2a59533818 Merge pull request #7082 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.55
Bump libphonenumber from 8.12.54 to 8.12.55
2022-09-12 17:29:44 +02:00
Benoit Marty
7f766eef2a Merge pull request #7092 from pt2121/pt/5424-qr
Fix add by QR code layout (#5424)
2022-09-12 17:28:17 +02:00
Benoit Marty
6ac4d58636 Merge pull request #7098 from vector-im/sync-emojis
Sync Emojis
2022-09-12 17:24:58 +02:00
Benoit Marty
ec0770434d Merge pull request #7035 from vector-im/feature/bma/space_response_model
Space response model
2022-09-12 17:24:10 +02:00
Nikita Fedrunov
da83a85f74 new app layout's room list overhaul (#7101) 2022-09-12 16:47:32 +02:00
bmarty
0c4707c315 Sync Emojis 2022-09-12 00:06:34 +00:00
Philip Goto
7afd49b7d8 Translated using Weblate (Dutch)
Currently translated at 25.3% (19 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/nl/
2022-09-11 09:33:12 +00:00
Jeff Huang
44b6563376 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-09-11 09:33:11 +00:00
Ihor Hordiichuk
aa4e830cb5 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-09-11 09:33:10 +00:00
Jozef Gaal
84eb71d63f Translated using Weblate (Slovak)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-09-11 09:33:08 +00:00
lvre
05483d9ca0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-09-11 09:33:06 +00:00
Philip Goto
4b980e85f4 Translated using Weblate (Dutch)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-09-11 09:33:05 +00:00
random
2f94162236 Translated using Weblate (Italian)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-09-11 09:33:02 +00:00
Linerly
596f2d993d Translated using Weblate (Indonesian)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-09-11 09:33:00 +00:00
Szimszon
7645992cf1 Translated using Weblate (Hungarian)
Currently translated at 99.8% (2382 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-09-11 09:32:58 +00:00
Danial Behzadi
c858d31761 Translated using Weblate (Persian)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-09-11 09:32:57 +00:00
Priit Jõerüüt
fd76bdfa4d Translated using Weblate (Estonian)
Currently translated at 98.7% (2355 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-09-11 09:32:55 +00:00
Deleted User
118fc2ffc1 Translated using Weblate (Spanish)
Currently translated at 97.3% (2322 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-09-11 09:32:54 +00:00
Vri
904c4e44b2 Translated using Weblate (German)
Currently translated at 98.9% (2362 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-09-11 09:32:47 +00:00
waclaw66
f53cdbb167 Translated using Weblate (Czech)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-09-11 09:32:46 +00:00
Auri B. P
2f6f52c25a Translated using Weblate (Catalan)
Currently translated at 100.0% (2386 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-09-11 09:32:45 +00:00
Prat T
73eb63a35e Fix add by QR code layout (#5424)
Signed-off-by: Prat T <pt2121@users.noreply.github.com>
2022-09-10 10:53:34 -07:00
Benoit Marty
e37344a059 Version++ 2022-09-10 08:15:31 +02:00
Benoit Marty
6cada8f6a3 Merge branch 'release/1.4.36' into main 2022-09-10 08:13:58 +02:00
Benoit Marty
5d035314b4 Merge branch 'release/1.4.36' into develop 2022-09-10 08:13:58 +02:00
Benoit Marty
59d3ff1671 fastlane 2022-09-10 08:13:43 +02:00
Benoit Marty
58b94aef2d Manually improve CHANGES.md 2022-09-10 08:11:58 +02:00
Benoit Marty
4de62d84b4 towncrier 2022-09-10 08:04:20 +02:00
Benoit Marty
4b63f4b9bf Merge pull request #7085 from vector-im/feature/bma/fix_push
Feature/bma/fix push
2022-09-09 18:03:10 +02:00
Benoit Marty
8c884f45fb Ignore Instantiatable class warning 2022-09-09 16:50:55 +02:00
Benoit Marty
e19647f6ca Firebase provides Map<String, String?> 2022-09-09 16:33:57 +02:00
Benoit Marty
ca2805fb7f Merge pull request #7083 from vector-im/dependabot/gradle/flipper-0.163.0
Bump flipper from 0.162.0 to 0.163.0
2022-09-09 16:05:56 +02:00
Benoit Marty
bdff23a74d update doc 2022-09-09 15:59:34 +02:00
Benoit Marty
d9ad9859ec Format 2022-09-09 15:59:34 +02:00
Benoit Marty
7c4527fba6 Fix test - no need to use Moshi to parse FCM Push data. 2022-09-09 15:59:34 +02:00
Maxime NATUREL
b501770fa9 Merge pull request #7058 from vector-im/fix/mna/run-sonar-only-when-token-available
CI: only run sonarqube task when token is known
2022-09-09 11:41:06 +02:00
Benoit Marty
f88039b7fd Merge pull request #7068 from p1gp1g/fix/fcm-push2
Use firebaseReceiver with FCM
2022-09-09 09:46:06 +02:00
Maxime NATUREL
ff9add5a0c Re-adding env variables section inside the sonarqube job 2022-09-09 09:25:36 +02:00
Maxime NATUREL
b60c279c06 Re-adding "always()" expression in the condition 2022-09-09 09:25:36 +02:00
Maxime NATUREL
41f75eed50 Adding changelog entry 2022-09-09 09:25:36 +02:00
Maxime NATUREL
398f9427df Only run sonarqube task if tokens are not empty to avoid failure 2022-09-09 09:25:36 +02:00
dependabot[bot]
b4d72d2219 Bump flipper from 0.162.0 to 0.163.0
Bumps `flipper` from 0.162.0 to 0.163.0.

Updates `flipper` from 0.162.0 to 0.163.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.162.0...v0.163.0)

Updates `flipper-network-plugin` from 0.162.0 to 0.163.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.162.0...v0.163.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 23:09:02 +00:00
dependabot[bot]
b66c405430 Bump libphonenumber from 8.12.54 to 8.12.55
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.54 to 8.12.55.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.54...v8.12.55)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 23:08:41 +00:00
Onuray Sahin
11079afa6b Keep initial filter type on bottom sheet. 2022-09-08 19:25:11 +03:00
Onuray Sahin
41ca662dcc Update device list according to the filter type. 2022-09-08 18:28:17 +03:00
sim
a17a4fe4b1 Add logs for invalid push data 2022-09-08 17:16:55 +02:00
Benoit Marty
614383c08d Merge pull request #7081 from vector-im/bugfix/nfe/app_layout_feature_flag_restart
restart HomeActivity when app layout flag is changed
2022-09-08 16:54:08 +02:00
sim
3e12907b26 Parse pushData in the push receiver 2022-09-08 16:25:48 +02:00
NIkita Fedrunov
4222c7c7c4 changed to only restart home activity when resumed with different app layout flag state 2022-09-08 16:24:34 +02:00
NIkita Fedrunov
cb36ef766c restart app when app layout flag is changed 2022-09-08 16:14:57 +02:00
sim
bc5309b5d7 Rename VectorMessagingReceiver to VectorUnifiedPushMessagingReceiver 2022-09-08 15:40:06 +02:00
sim
dbea1726ec Rename VectorMessagingHelper to VectorPushHandler 2022-09-08 15:38:52 +02:00
sim
2527dbbeb2 Rename FirebaseReceiver to VectorFirebaseMessagingService 2022-09-08 15:37:18 +02:00
Benoit Marty
de17c47a7d Merge pull request #7038 from vector-im/feature/eric/new-layout-labs
New Layout - Labs Flag (to replace feature flag)
2022-09-08 14:35:38 +02:00
Onuray Sahin
ab4ebc7f11 List devices. 2022-09-08 13:47:07 +03:00
NIkita Fedrunov
2ab0343e4f sanity test now reads properties value to determine app layout feature status + small fix for tests 2022-09-08 12:37:25 +02:00
sim
65654e7e8a Lint 2022-09-08 12:21:11 +02:00
NIkita Fedrunov
6badbe738d robots are not checking feature flag for newAppLayout 2022-09-08 12:09:33 +02:00
sim
f65074b3c5 Update pusher with FCM new token only if using FCM 2022-09-08 11:46:34 +02:00
Maxime NATUREL
62dbab907d Merge pull request #7044 from vector-im/feature/mna/clean-vm-for-dm-v2
[Devices Management] Refactor some code to improve testability (PSG-701)
2022-09-08 11:44:56 +02:00
sim
48498020a0 Ensure FCM always have the good gateway 2022-09-08 11:23:15 +02:00
sim
3267cbbf78 Lint 2022-09-08 11:15:41 +02:00
sim
94e2a0a3e3 Ensure FCM token is always retrieved 2022-09-08 10:58:08 +02:00
Benoit Marty
5dd26a43dd Merge pull request #7059 from vector-im/bugfix/eric/new-layout-open-invite
New Layout - Allows you to open an invite by clicking its cell
2022-09-08 10:51:19 +02:00
Benoit Marty
a743cf28c6 Merge pull request #7061 from vector-im/feature/bma/no_ReleaseNotesActivity_on_login
Fix ReleaseNotesActivity displayed after login.
2022-09-08 10:50:50 +02:00
sim
7bdcacf489 Merge branch 'misc/refactor-uphelper' into fix/fcm-push2 2022-09-08 10:49:53 +02:00
sim
6ba963b552 Fix gateway 2022-09-08 10:49:49 +02:00
sim
0b9b8251f9 Do not intent to VectorMessagingReceiver from FirebaseReceiver
Use VectorMessagingHelper to directly call onMessage
2022-09-08 10:34:56 +02:00
Maxime NATUREL
45b138e53d Using orFalse() extension method on nullable boolean 2022-09-08 09:48:45 +02:00
Maxime NATUREL
c45f536855 RefreshDevicesOnCryptoDevicesChangeUseCase unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL
f2891b74c5 Adding changelog entry 2022-09-08 09:48:45 +02:00
Maxime NATUREL
047384c08c Fix some coding style issues 2022-09-08 09:48:45 +02:00
Maxime NATUREL
3566b10e3c DevicesViewModel unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL
438f302787 GetDeviceFullInfoListUseCase unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL
07d9e35842 GetCurrentSessionCrossSigningInfoUseCase unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL
27031ab267 RefreshDevicesUseCase unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL
06d447247a Updating existing unit tests 2022-09-08 09:48:45 +02:00
Maxime NATUREL
0eae1bd505 Listen verification + refresh devices use cases 2022-09-08 09:48:45 +02:00
Maxime NATUREL
39a0b3b1ba Moving recently created use cases inside v2 package 2022-09-08 09:48:45 +02:00
Maxime NATUREL
712d39b9dd Inject new ViewModel in the fragment V2 + add use cases 2022-09-08 09:48:43 +02:00
Maxime NATUREL
4a6a39b3c4 Declare MarkAsManuallyVerified action 2022-09-08 09:48:03 +02:00
Maxime NATUREL
e3c41a07e5 Empty ViewModel V2 2022-09-08 09:48:03 +02:00
Maxime NATUREL
6c2bf35d60 Merge pull request #7005 from vector-im/feature/mna/session-overview-screen
[Devices Management] Session overview screen (PSG-691, PSG-693)
2022-09-08 09:18:31 +02:00
Benoit Marty
418a48de18 Deleting translations of 2 strings. They will have to be translated again due to the addition of %s in the original strings. 2022-09-07 18:24:13 +02:00
sim
00a04b807e Lint 2022-09-07 18:22:34 +02:00
Benoit Marty
f13c34b2a0 Merge pull request #7060 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-09-07 18:22:03 +02:00
sim
5b46c803b2 Add changelog detail
Signed-off-by: sim <git@sgougeon.fr>
2022-09-07 18:19:06 +02:00
sim
9cf6dd7a88 Use firebaseReceiver with FCM 2022-09-07 18:02:26 +02:00
Onuray Sahin
643f99b8e0 Merge branch 'feature/mna/clean-vm-for-dm-v2' into feature/ons/device_manager_filter
* feature/mna/clean-vm-for-dm-v2:
  RefreshDevicesOnCryptoDevicesChangeUseCase unit tests
  Adding changelog entry
  Fix some coding style issues
  DevicesViewModel unit tests
  GetDeviceFullInfoListUseCase unit tests
  GetCurrentSessionCrossSigningInfoUseCase unit tests
  RefreshDevicesUseCase unit tests
  Updating existing unit tests
  Listen verification + refresh devices use cases
  Moving recently created use cases inside v2 package
  Inject new ViewModel in the fragment V2 + add use cases
  Declare MarkAsManuallyVerified action
  Empty ViewModel V2

# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
2022-09-07 18:31:30 +03:00
Benoit Marty
5143ef9deb Merge pull request #6727 from anoadragon453/patch-2
Clarify that setting up a FCM Rewrite Proxy is not necessary for use of the UnifiedPush FCM distributor.
2022-09-07 15:51:04 +02:00
Benoit Marty
59e6fa98c9 Merge pull request #7000 from pt2121/pt/6529-room
Suggest @room when @channel, @everyone, or @here is typed in composer
2022-09-07 15:49:18 +02:00
Onuray Sahin
8dcbd3710d Merge branch 'feature/mna/session-overview-screen' into feature/ons/device_manager_filter
* feature/mna/session-overview-screen: (57 commits)
  Fix missing mapper in CryptoStoreHelper for tests
  Fix unused string warning
  Update unit tests
  Rendering inactive status in SessionInfoView
  Adding comment with examples of some parametrized strings
  Fix post rebase
  Fixing wrong copyright title
  Adding last seen details + fix observation of wrong deviceId in ViewModel
  Adding learn more link in verification status details
  Unit tests for computing trust level of device
  Unit tests for GetCurrentSessionCrossSigningInfoUseCase
  Updating existing unit tests
  Navigation from other session item
  Show info in overview screen
  Renaming CurrentSessionView into SessionInfoView to be more generic
  Introducing some reusable usecases
  Adding unit tests for viewModel
  Adding unit tests for mapper
  Adding unit tests for the new use case
  Adding use case to get full device info for a given device id
  ...

# Conflicts:
#	library/ui-strings/src/main/res/values/strings.xml
#	vector/src/main/AndroidManifest.xml
#	vector/src/main/java/im/vector/app/core/di/MavericksViewModelModule.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesViewNavigator.kt
2022-09-07 16:33:35 +03:00
Benoit Marty
a5046d43c8 Fix ReleaseNotesActivity displayed after login.
Ensure the state is up to date, when we will request it later with withState{}
2022-09-07 14:51:37 +02:00
Weblate
d1776a04c0 Merge branch 'origin/develop' into Weblate. 2022-09-07 12:12:04 +00:00
Przemysław Romanik
13dd87dd85 Translated using Weblate (Polish)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pl/
2022-09-07 12:11:56 +00:00
Przemysław Romanik
36ba1c5491 Translated using Weblate (Polish)
Currently translated at 99.8% (2358 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-09-07 12:11:54 +00:00
ericdecanini
3b2fa0d563 Merge remote-tracking branch 'origin/develop' into bugfix/eric/new-layout-open-invite 2022-09-07 14:03:54 +02:00
ericdecanini
4a31dc403f Removes unused import 2022-09-07 14:03:48 +02:00
ericdecanini
37b216393e Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs 2022-09-07 14:02:10 +02:00
Benoit Marty
bdfbbbb2e6 Merge pull request #7020 from vector-im/feature/nfe/app_layout_all_screens_test
fixed allscreens sanity test for enabled app layout flag
2022-09-07 13:57:17 +02:00
ericdecanini
3c6efd673e Allows you to open an invite by clicking the invite cell 2022-09-07 11:58:47 +02:00
Benoit Marty
c408621bd5 Merge pull request #7054 from vector-im/feature/bma/fix_invite_to_room_in_space
Fix invite to room in space
2022-09-07 11:53:34 +02:00
Benoit Marty
8c32b08505 Changelog 2022-09-07 11:06:49 +02:00
Benoit Marty
9b5d8c2d01 Merge pull request #6935 from vector-im/dependabot/gradle/com.autonomousapps.dependency-analysis-1.13.1
Bump com.autonomousapps.dependency-analysis from 1.12.0 to 1.13.1
2022-09-07 11:03:43 +02:00
Benoit Marty
80507dac00 Merge pull request #7024 from vector-im/bugfix/eric/new-layout-recents-padding
New Layout - Fixes padding of recents item selectable background
2022-09-07 11:00:36 +02:00
Benoit Marty
199195dcbd Merge pull request #7039 from vector-im/feature/eric/new-layout-update-icons
New Layout - Replace space icon (and release notes image)
2022-09-07 10:57:23 +02:00
Benoit Marty
608c4bacec Merge pull request #7055 from vector-im/kittykat-patch-1
Update automation to match renamed coloumns
2022-09-07 10:49:37 +02:00
Kat Gerasimova
39f366a4a2 Update automation to match renamed coloumns
App team's column names have been updated
2022-09-07 09:36:59 +01:00
ericdecanini
64c8789ef2 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs 2022-09-07 10:35:44 +02:00
Eric Decanini
da88b37ec7 Merge pull request #7040 from vector-im/bugfix/eric/new-layout-missing-header
New Layout - Adds missing space list header
2022-09-07 10:31:31 +02:00
Maxime NATUREL
669beb1156 Fix missing mapper in CryptoStoreHelper for tests 2022-09-07 10:27:19 +02:00
Benoit Marty
2ba00b3845 If we need the FragmentManager, let's require to have a FragmentActivity. 2022-09-07 10:14:29 +02:00
Benoit Marty
fe484e84f4 Fix clicking on invite does not work. Fix #7053
We need the FragmentManager to display a bottom sheet.
2022-09-07 10:01:31 +02:00
Maxime NATUREL
2592bc3772 RefreshDevicesOnCryptoDevicesChangeUseCase unit tests 2022-09-07 09:44:48 +02:00
Maxime NATUREL
7d549a311f Adding changelog entry 2022-09-07 09:44:45 +02:00
Maxime NATUREL
c65bbd91d9 Fix some coding style issues 2022-09-07 09:44:43 +02:00
Maxime NATUREL
88a5c42a4a DevicesViewModel unit tests 2022-09-07 09:44:40 +02:00
Maxime NATUREL
6394c7efde GetDeviceFullInfoListUseCase unit tests 2022-09-07 09:44:37 +02:00
Maxime NATUREL
7511d21a6f GetCurrentSessionCrossSigningInfoUseCase unit tests 2022-09-07 09:44:34 +02:00
Maxime NATUREL
32f7767aa5 RefreshDevicesUseCase unit tests 2022-09-07 09:44:30 +02:00
Maxime NATUREL
07df58f4df Updating existing unit tests 2022-09-07 09:44:27 +02:00
Maxime NATUREL
69cb5738a4 Listen verification + refresh devices use cases 2022-09-07 09:44:24 +02:00
Maxime NATUREL
fa1ef06952 Moving recently created use cases inside v2 package 2022-09-07 09:44:21 +02:00
Maxime NATUREL
3a73e72b16 Inject new ViewModel in the fragment V2 + add use cases 2022-09-07 09:44:18 +02:00
Maxime NATUREL
801eef3ce7 Declare MarkAsManuallyVerified action 2022-09-07 09:44:14 +02:00
Maxime NATUREL
7248692273 Empty ViewModel V2 2022-09-07 09:44:09 +02:00
Benoit Marty
c5d3eaffb9 Merge pull request #7041 from vector-im/feature/bma/debug_release_note
Debug release note
2022-09-07 09:40:48 +02:00
Maxime NATUREL
682905df25 Fix unused string warning 2022-09-07 09:32:48 +02:00
Maxime NATUREL
2148270773 Update unit tests 2022-09-07 09:32:48 +02:00
Maxime NATUREL
6e9b2baf6f Rendering inactive status in SessionInfoView 2022-09-07 09:32:48 +02:00
Maxime NATUREL
0b105e2a7a Adding comment with examples of some parametrized strings 2022-09-07 09:32:48 +02:00
Maxime NATUREL
52d05b373c Fix post rebase 2022-09-07 09:32:47 +02:00
Maxime NATUREL
fb8d4668d8 Fixing wrong copyright title 2022-09-07 09:32:47 +02:00
Maxime NATUREL
1ad585e154 Adding last seen details + fix observation of wrong deviceId in ViewModel 2022-09-07 09:32:47 +02:00
Maxime NATUREL
d12bb09273 Adding learn more link in verification status details 2022-09-07 09:32:47 +02:00
Maxime NATUREL
fde7072bc7 Unit tests for computing trust level of device 2022-09-07 09:32:47 +02:00
Maxime NATUREL
38a04c3655 Unit tests for GetCurrentSessionCrossSigningInfoUseCase 2022-09-07 09:32:47 +02:00
Maxime NATUREL
3f30cf0bee Updating existing unit tests 2022-09-07 09:32:47 +02:00
Maxime NATUREL
78c2b10b89 Navigation from other session item 2022-09-07 09:32:47 +02:00
Maxime NATUREL
f4865df50c Show info in overview screen 2022-09-07 09:32:47 +02:00
Maxime NATUREL
52006c1bb4 Renaming CurrentSessionView into SessionInfoView to be more generic 2022-09-07 09:32:47 +02:00
Maxime NATUREL
a5ee4faef4 Introducing some reusable usecases 2022-09-07 09:32:47 +02:00
Maxime NATUREL
b995f798f9 Adding unit tests for viewModel 2022-09-07 09:32:47 +02:00
Maxime NATUREL
611749c08f Adding unit tests for mapper 2022-09-07 09:32:47 +02:00
Maxime NATUREL
0c3310dd16 Adding unit tests for the new use case 2022-09-07 09:32:47 +02:00
Maxime NATUREL
68f106efac Adding use case to get full device info for a given device id 2022-09-07 09:32:47 +02:00
Maxime NATUREL
e542dc4aac Adding a method to retrieve livedata of crypto device info for a given device id 2022-09-07 09:32:47 +02:00
Maxime NATUREL
f74a0b0901 Adding a method to retrieve livedata of device info for a given device id 2022-09-07 09:32:47 +02:00
Maxime NATUREL
2a599d9760 Small renamings/reorganization in CryptoService 2022-09-07 09:32:47 +02:00
Maxime NATUREL
3eb29b4661 Renaming view state 2022-09-07 09:32:47 +02:00
Maxime NATUREL
26dbd31717 Unit tests for navigator 2022-09-07 09:32:47 +02:00
Maxime NATUREL
ebf707dca9 Navigation from current session 2022-09-07 09:32:45 +02:00
Maxime NATUREL
969663786b Renaming header list view to be consistent 2022-09-07 09:32:09 +02:00
Maxime NATUREL
e2aa66e4c2 Adding changelog entry 2022-09-07 09:32:09 +02:00
ericdecanini
afbb76f341 Fixes lint error 2022-09-07 08:36:52 +02:00
Jorge Martín
273999ee88 Fix voice recording tests 2022-09-06 20:08:29 +02:00
ericdecanini
6c2363471d Unlocks the drawer layout when not new layout 2022-09-06 18:01:36 +02:00
Onuray Sahin
1a5db3cc2c Add changelog. 2022-09-06 18:49:15 +03:00
ericdecanini
9564c8f144 Changes some preferences to be enabled or disabled by labs flag 2022-09-06 17:32:08 +02:00
ericdecanini
d77ce27953 Fixes wrong use of feature flag instead of labs flag 2022-09-06 17:31:52 +02:00
Onuray Sahin
392cbeca8a Fix UI styles. 2022-09-06 18:13:03 +03:00
Benoit Marty
b4fcffbdf9 Add missing points. 2022-09-06 17:11:25 +02:00
Benoit Marty
22f8ace4c4 Merge pull request #6957 from vector-im/sync-analytics-plan
Sync analytics plan
2022-09-06 17:09:52 +02:00
Onuray Sahin
39364a68b1 Navigate to other sessions screen. 2022-09-06 17:46:56 +03:00
Onuray Sahin
3bfeaa764c Create other sessions activity. 2022-09-06 17:23:03 +03:00
Onuray Sahin
604b7dafbd Create other sessions fragment. 2022-09-06 17:09:07 +03:00
ericdecanini
b7efd6384c Changes vector feature preference key and function name for clarity 2022-09-06 16:07:12 +02:00
ericdecanini
ef17aac981 Adds changelog file 2022-09-06 15:52:37 +02:00
Benoit Marty
f54979ce13 Add some debug tools about ReleaseNotesActivity.
- reset the show status
- display this Activity
2022-09-06 15:50:48 +02:00
ericdecanini
593a04ea25 Adds missing space list header 2022-09-06 15:41:30 +02:00
ericdecanini
31a3552e26 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs
# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/VectorSettingsLabsFragment.kt
2022-09-06 15:32:00 +02:00
ericdecanini
468c7b600c Re-adds feature flag 2022-09-06 15:30:19 +02:00
Benoit Marty
16fad63e49 Better to call setAppLayoutOnboardingShown when we are sure the Activity has been run. 2022-09-06 15:15:59 +02:00
Benoit Marty
f604b1d384 Private val is better. 2022-09-06 15:00:55 +02:00
Benoit Marty
b3eac52e3f Merge pull request #7022 from vector-im/feature/nfe/app_layout_hide_filters_for_space
hide favourites and dms filters for a selected space, if they are empty
2022-09-06 14:56:53 +02:00
Onuray Sahin
5485b9a530 Implement device manager filter bottom sheet. 2022-09-06 15:56:50 +03:00
Benoit Marty
1c35e5ae9c Merge pull request #6986 from vector-im/feature/nfe/invites_empty_state
empty state for new invites screen
2022-09-06 14:56:06 +02:00
Benoit Marty
4e0735c759 Merge pull request #7021 from vector-im/feature/nfe/app_layout_settings_update
obsolete settings are hidden when app layout flag is enabled
2022-09-06 14:53:51 +02:00
NIkita Fedrunov
4dc01fcfa6 changes according to CR 2022-09-06 14:51:11 +02:00
ericdecanini
91b4918526 Merge remote-tracking branch 'origin/feature/nfe/app_layout_hide_filters_for_space' into feature/eric/new-layout-labs 2022-09-06 14:46:12 +02:00
ericdecanini
5e0d84bb25 Uses referenced default value for new layout labs flag 2022-09-06 14:42:54 +02:00
ericdecanini
73d4492bf5 Adds changelog file 2022-09-06 14:40:47 +02:00
ericdecanini
707ff27371 Replaces spaces icon (and corresponding release notes image) 2022-09-06 14:34:42 +02:00
Onuray Sahin
8ac876380b Create filter bottom sheet layout. 2022-09-06 14:49:33 +03:00
Onuray Sahin
83990b6a0b Add string resources. 2022-09-06 14:48:39 +03:00
phardyle
250633ec67 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.7% (2356 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-09-06 11:32:54 +00:00
Anonimas
fea0c27bdd Translated using Weblate (Lithuanian)
Currently translated at 25.0% (592 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2022-09-06 11:32:53 +00:00
waclaw66
59f8753c6a Translated using Weblate (Czech)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-09-06 11:32:43 +00:00
ericdecanini
a851b0aa96 Fixes lint error 2022-09-06 13:31:57 +02:00
ericdecanini
fbe5918f30 Adds changelog file 2022-09-06 12:52:48 +02:00
ericdecanini
24509543b9 Replaces feature flag with labs flag 2022-09-06 12:48:03 +02:00
Benoit Marty
97a010cbc5 Update doc. 2022-09-06 12:15:20 +02:00
Benoit Marty
8f69c5e0bc Split long lines and improve readability. 2022-09-06 12:10:21 +02:00
Benoit Marty
bfc89242fe Changelog 2022-09-06 11:45:05 +02:00
Benoit Marty
3c7889c95d Some cleanup 2022-09-06 11:36:44 +02:00
Benoit Marty
9347bc8cf4 Use a dedicated model for rooms/{roomId}/hierarchy endpoint result.
`rooms.children_state` is now a list of `SpaceChildSummaryEvent` instead of a list of `Event`.
2022-09-06 11:36:28 +02:00
Nikita Fedrunov
7cc7444bd5 applayout release experience (#7003) 2022-09-06 11:32:11 +02:00
Benoit Marty
6a3bef591c Merge pull request #6994 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-embedded_fcm_distributor-2.1.3
Bump android-embedded_fcm_distributor from 2.1.2 to 2.1.3
2022-09-06 11:16:14 +02:00
ericdecanini
8f614d82ae Fixes padding of selectable background in recents item 2022-09-06 10:26:43 +02:00
NIkita Fedrunov
e0c455a476 update according to code review 2022-09-06 10:08:32 +02:00
Germain
36a221adf1 Merge pull request #6998 from vector-im/gsouquet-threads-automation 2022-09-06 08:51:12 +01:00
Eric Decanini
ab989e9ff0 Merge pull request #7015 from vector-im/bugfix/eric/recents-bg-color
New Layout - Fixes recents background color not matching app bar
2022-09-06 08:25:38 +02:00
Eric Decanini
e2ba576318 Merge pull request #7016 from vector-im/bugfix/eric/new-layout-accessibility-fixes
New Layout Accessibility Fixes
2022-09-06 08:25:29 +02:00
Eric Decanini
d6b7fcebde Merge pull request #7018 from vector-im/bugfix/eric/new-layout-login-avatar
App Layout - Fixes avatar not showing on fresh login
2022-09-06 08:25:19 +02:00
NIkita Fedrunov
ee300cf11d hide favourites and dms filters for a selected space, if they are empty 2022-09-06 07:54:16 +02:00
NIkita Fedrunov
891173c04a compilation error fixed 2022-09-06 07:18:45 +02:00
Jorge Martín
0a1c7561bd Use embedded libopus encoder for devices that somehow lack the official one 2022-09-06 07:14:55 +02:00
NIkita Fedrunov
1b651f2aa5 fixed lint 2022-09-06 06:59:10 +02:00
NIkita Fedrunov
9a29c79233 obsolete settings are hidden when app layout flag is enabled 2022-09-06 00:41:58 +02:00
NIkita Fedrunov
67b7bc3d83 fixed allscreens sanity test for enabled app layout flag 2022-09-06 00:00:35 +02:00
ericdecanini
83b8a0ea94 Fixes avatar not shown on fresh login 2022-09-05 22:27:18 +02:00
Eric Decanini
daacf35411 Merge pull request #7013 from vector-im/bugfix/eric/new-layout-sync-state
New Layout - Fixes sync state not being visible
2022-09-05 21:18:48 +02:00
ericdecanini
14bce28c87 Adds changelog file 2022-09-05 21:17:59 +02:00
ericdecanini
289ed86be7 Fixes recents carousel saying name twice in talkback 2022-09-05 20:53:03 +02:00
ericdecanini
93ce7f8db5 Fixes home screen talkback jumping to fabs too early 2022-09-05 20:52:45 +02:00
Benoit Marty
f54d792bbf Merge pull request #7014 from vector-im/feature/bma/fix_fdroid_crash
Feature/bma/fix fdroid crash
2022-09-05 20:45:29 +02:00
ericdecanini
05f7850a01 Adds space name to expand / collapse chevron content description in space bottom sheet 2022-09-05 20:28:11 +02:00
NIkita Fedrunov
61cf3c3125 review changes 2022-09-05 18:56:43 +02:00
ericdecanini
5e00fe54ae Fixes bg and divider colors and top margin of recents 2022-09-05 18:39:12 +02:00
Nikita Fedrunov
efe5eb0501 App layout Home screen empty states (#7007) 2022-09-05 18:11:25 +02:00
ericdecanini
ad49b4513c Fixes recents background color not matching app bar 2022-09-05 18:07:22 +02:00
Jorge Martin Espinosa
ae653eb672 Catch race condition while recording voice audio (#7009) 2022-09-05 15:57:16 +00:00
Benoit Marty
59f55beab1 Moving manifest manifest.application$name attribute to the main manifest, to make it available for both fdroid and gplay variant. Fixes #6995. 2022-09-05 17:49:42 +02:00
ericdecanini
896895b43e Fixes sync state not visible in new layout 2022-09-05 17:46:17 +02:00
Benoit Marty
bf25ef4369 There are no views to bind in this module. 2022-09-05 17:40:34 +02:00
Benoit Marty
7879289877 Remove useless field. They are defined in vector-app now. 2022-09-05 17:35:03 +02:00
NIkita Fedrunov
ecd1776085 removed obsolete cast 2022-09-05 16:51:38 +02:00
Nikita Fedrunov
b37996e4c3 space switcher empty spaces (#6988) 2022-09-05 16:11:50 +02:00
NIkita Fedrunov
8314eb71c0 Merge branch 'develop' into feature/nfe/invites_empty_state 2022-09-05 12:32:01 +02:00
Artjom König
098fac635d Merge branch 'vector-im:develop' into develop 2022-09-05 12:06:19 +02:00
Maxime NATUREL
eb59a534e0 Fix unused string warning 2022-09-05 10:54:38 +02:00
Maxime NATUREL
838064dad3 Update unit tests 2022-09-05 09:50:16 +02:00
Maxime NATUREL
af484813b5 Rendering inactive status in SessionInfoView 2022-09-05 09:40:02 +02:00
Maxime NATUREL
1c501a0083 Adding comment with examples of some parametrized strings 2022-09-05 09:19:14 +02:00
Maxime NATUREL
9dcb2b31a3 Fix post rebase 2022-09-05 09:19:14 +02:00
Maxime NATUREL
19578cfa66 Fixing wrong copyright title 2022-09-05 09:13:13 +02:00
Maxime NATUREL
bbe238e9c6 Adding last seen details + fix observation of wrong deviceId in ViewModel 2022-09-05 09:13:13 +02:00
Maxime NATUREL
3eaf5f7fe0 Adding learn more link in verification status details 2022-09-05 09:13:13 +02:00
Maxime NATUREL
384c118b8d Unit tests for computing trust level of device 2022-09-05 09:13:13 +02:00
Maxime NATUREL
af985d9b1f Unit tests for GetCurrentSessionCrossSigningInfoUseCase 2022-09-05 09:13:13 +02:00
Maxime NATUREL
31c908c873 Updating existing unit tests 2022-09-05 09:13:12 +02:00
Maxime NATUREL
30710f7f15 Navigation from other session item 2022-09-05 09:13:12 +02:00
Maxime NATUREL
b626a1e4f9 Show info in overview screen 2022-09-05 09:13:12 +02:00
Maxime NATUREL
7c32884df5 Renaming CurrentSessionView into SessionInfoView to be more generic 2022-09-05 09:13:12 +02:00
Maxime NATUREL
ca70eddaf5 Introducing some reusable usecases 2022-09-05 09:13:12 +02:00
Maxime NATUREL
412fda27af Adding unit tests for viewModel 2022-09-05 09:13:12 +02:00
Maxime NATUREL
295ae55142 Adding unit tests for mapper 2022-09-05 09:13:12 +02:00
Maxime NATUREL
40d716d099 Adding unit tests for the new use case 2022-09-05 09:13:12 +02:00
Maxime NATUREL
13626a161a Adding use case to get full device info for a given device id 2022-09-05 09:13:12 +02:00
Maxime NATUREL
cc36f40a8d Adding a method to retrieve livedata of crypto device info for a given device id 2022-09-05 09:13:12 +02:00
Maxime NATUREL
c690a8cd81 Adding a method to retrieve livedata of device info for a given device id 2022-09-05 09:13:12 +02:00
Maxime NATUREL
eb64b376f4 Small renamings/reorganization in CryptoService 2022-09-05 09:13:12 +02:00
Maxime NATUREL
862edffcee Renaming view state 2022-09-05 09:13:12 +02:00
Maxime NATUREL
a1102738d0 Unit tests for navigator 2022-09-05 09:13:12 +02:00
Maxime NATUREL
ba1549048d Navigation from current session 2022-09-05 09:13:12 +02:00
Maxime NATUREL
ed3bd871ea Renaming header list view to be consistent 2022-09-05 09:13:12 +02:00
Maxime NATUREL
90fedfea93 Adding changelog entry 2022-09-05 09:13:12 +02:00
Maxime NATUREL
e81f02f433 Merge pull request #6965 from vector-im/feature/ons/device_manager_security_recommendations
[Device Manager] Render security recommendations (PSG-681)
2022-09-05 09:04:34 +02:00
bmarty
0f4deb7067 Sync analytics plan 2022-09-05 00:03:36 +00:00
Linerly
00f1c06504 Translated using Weblate (Indonesian)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-09-04 14:33:04 +00:00
Danial Behzadi
82868dd6b7 Translated using Weblate (Persian)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2022-09-04 14:33:02 +00:00
random
df25b1a419 Translated using Weblate (Italian)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-09-04 14:33:00 +00:00
Jozef Gaal
0973a20fe4 Translated using Weblate (Slovak)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-09-04 14:32:59 +00:00
lvre
abca70f6f9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-09-04 14:32:57 +00:00
Emese Tóth
e4a1495f36 Translated using Weblate (Hungarian)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/hu/
2022-09-04 14:32:55 +00:00
Glandos
8727912052 Translated using Weblate (French)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2022-09-04 14:32:53 +00:00
Vri
bb6cb597d1 Translated using Weblate (German)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-09-04 14:32:52 +00:00
Jozef Gaal
511c6a2ae1 Translated using Weblate (Slovak)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-09-04 14:32:50 +00:00
lvre
a147d8623b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-09-04 14:32:49 +00:00
random
34a424678d Translated using Weblate (Italian)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-09-04 14:32:48 +00:00
Linerly
b13546b096 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-09-04 14:32:47 +00:00
Emese Tóth
db29ebb93d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-09-04 14:32:46 +00:00
Glandos
287e890f60 Translated using Weblate (French)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-09-04 14:32:43 +00:00
Danial Behzadi
c3bac2f0cf Translated using Weblate (Persian)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-09-04 14:32:42 +00:00
Vri
054802c02b Translated using Weblate (German)
Currently translated at 99.3% (2346 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-09-04 14:32:41 +00:00
Prat T
6917e97f49 Suggest @room when @channel, @everyone, or @here is typed in composer (#6529)
Signed-off-by: Prat T <pt2121@users.noreply.github.com>
2022-09-03 17:26:45 -07:00
Germain
ad360074bf Remove threads board automation
The threads board has been closed and is now replaced by the Delight board
2022-09-02 15:54:08 +01:00
Maxime NATUREL
9dc0a36ca0 Apply correct tint to inactive status drawable 2022-09-02 16:15:42 +02:00
Maxime NATUREL
c53a8f3288 Creation of a viewState for the SecurityRecommendationView 2022-09-02 16:15:42 +02:00
Maxime NATUREL
fbff8d6408 Use a different date format when device is inactive 2022-09-02 16:15:42 +02:00
Artjom König
7991684fc8 Merge branch 'vector-im:develop' into develop 2022-09-02 16:05:45 +02:00
Maxime NATUREL
5791a4d3cd Using plurals when needed 2022-09-02 15:00:53 +02:00
Maxime NATUREL
2b50208a23 Post rebase fix 2022-09-02 14:37:49 +02:00
Onuray Sahin
8d378408c5 Code review fixes. 2022-09-02 14:28:28 +02:00
Onuray Sahin
ed1244aa8f Fix description of inactive sessions. 2022-09-02 14:28:27 +02:00
Onuray Sahin
396da93a93 Test inactive sessions use case. 2022-09-02 14:28:27 +02:00
Onuray Sahin
aeb64892fa Move inactive session logic into use case. 2022-09-02 14:28:27 +02:00
Onuray Sahin
abd826561d Fix image background. 2022-09-02 14:28:27 +02:00
Onuray Sahin
32f1a660f5 Format layout. 2022-09-02 14:28:27 +02:00
Onuray Sahin
2f94b80c42 Add changelog. 2022-09-02 14:28:27 +02:00
Onuray Sahin
58846038ce Render security recommendations. 2022-09-02 14:28:25 +02:00
Onuray Sahin
c23a4e4601 Implement security recommendation view class. 2022-09-02 14:28:01 +02:00
Onuray Sahin
e6c9409156 Create generic security recommendations view. 2022-09-02 14:28:01 +02:00
Onuray Sahin
7e8bbda856 Create security recommendations view layout. 2022-09-02 14:28:01 +02:00
Onuray Sahin
55d0a06fc1 Create security recommendations section header. 2022-09-02 14:27:59 +02:00
Jeff Huang
9616cd4186 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-09-02 08:38:07 +00:00
Priit Jõerüüt
c302438b37 Translated using Weblate (Estonian)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-09-02 08:38:05 +00:00
Ihor Hordiichuk
3c53a579a9 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-09-02 08:38:03 +00:00
Jeff Huang
e0e9fbc820 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-09-02 08:38:01 +00:00
phardyle
ec260fac16 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.7% (2356 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-09-02 08:38:00 +00:00
Ihor Hordiichuk
cad23d1477 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-09-02 08:37:59 +00:00
Priit Jõerüüt
578ff6bd44 Translated using Weblate (Estonian)
Currently translated at 99.6% (2353 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-09-02 08:37:57 +00:00
Auri B. P
8535e30937 Translated using Weblate (Catalan)
Currently translated at 100.0% (2361 of 2361 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-09-02 08:37:56 +00:00
dependabot[bot]
da73550493 Bump android-embedded_fcm_distributor from 2.1.2 to 2.1.3
Bumps android-embedded_fcm_distributor from 2.1.2 to 2.1.3.

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-embedded_fcm_distributor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 23:10:39 +00:00
Adam Brown
bddb37ef7a Merge pull request #6981 from vector-im/feature/adm/allow-optional-emails
Allowing optional email registration
2022-09-01 16:30:20 +01:00
Weblate
3e6f406ad4 Merge branch 'origin/develop' into Weblate. 2022-09-01 15:12:18 +00:00
waclaw66
deaf6984c1 Translated using Weblate (Czech)
Currently translated at 100.0% (75 of 75 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-09-01 15:12:18 +00:00
Adam Brown
0a1b32609e Merge pull request #6774 from vector-im/feature/adm/strings-module
Dedicated module for `strings`
2022-09-01 16:11:42 +01:00
Adam Brown
22ce829645 moving all the strings to a dedicated libray/strings module 2022-09-01 14:58:07 +01:00
Adam Brown
b632d95086 removing extra change_space string 2022-09-01 14:56:39 +01:00
Adam Brown
333ddab5f8 Merge pull request #6987 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-09-01 14:50:50 +01:00
Weblate
a6f2549ad9 Merge branch 'origin/develop' into Weblate. 2022-09-01 12:51:27 +00:00
Benoit Marty
ed13177376 Merge pull request #6982 from p1gp1g/fix/autoplay-sticker
Fix autoplayed animated sticker
2022-09-01 14:43:23 +02:00
NIkita Fedrunov
5003459962 empty state for new invites screen 2022-09-01 14:39:13 +02:00
Benoit Marty
c3406c8a6d Merge pull request #6983 from vector-im/dependabot/gradle/com.likethesalad.android-stem-plugin-2.2.2
Bump stem-plugin from 2.1.1 to 2.2.2
2022-09-01 14:20:23 +02:00
Adam Brown
81f6f768fb formatting function arguments to be on separate lines 2022-09-01 12:46:49 +01:00
phardyle
43b96b64e5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-09-01 06:32:45 +00:00
Nui Harime
2bbf28aa17 Translated using Weblate (Russian)
Currently translated at 99.0% (2321 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-09-01 06:32:45 +00:00
Johan Smits
795439a40d Translated using Weblate (Dutch)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-09-01 06:32:43 +00:00
Vri
778da5bb3a Translated using Weblate (German)
Currently translated at 99.2% (2327 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-09-01 06:32:42 +00:00
dependabot[bot]
5985cec139 Bump stem-plugin from 2.1.1 to 2.2.2
Bumps stem-plugin from 2.1.1 to 2.2.2.

---
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-31 23:10:43 +00:00
sim
833ad6463c Add changelog detail
Signed-off-by: sim <git@sgougeon.fr>
2022-08-31 23:39:26 +02:00
sim
45f44bd1af Improve sticker visibility
Increase its size and set timestamp inside
2022-08-31 23:06:40 +02:00
sim
8e362f6919 Hide playContentView for autoplayed animated stickers 2022-08-31 23:06:32 +02:00
Jorge Martín
3ef3e3760d Fix crash on PIN code settings screen 2022-08-31 20:06:32 +02:00
Adam Brown
62e8beadf8 allowing optional emails
- when the email stage is non mandatory, email emails are treated as a dummy step, as per the legacy flow
2022-08-31 17:40:35 +01:00
Benoit Marty
318352f1bd Merge pull request #6978 from vector-im/feature/bma/null_room
Fix crash when opening an unknown room
2022-08-31 17:51:13 +02:00
Onuray Sahin
6341cf92a3 Merge pull request #6946 from vector-im/feature/ons/device_manager_other_session_list
[Device Manager] Render other sessions (PSG-668)
2022-08-31 17:01:20 +03:00
Benoit Marty
fe42cdc582 Fix formatting issue. 2022-08-31 15:39:19 +02:00
Benoit Marty
0950e41526 Merge pull request #6967 from vector-im/feature/bma/fix_crashes
Fix crashes
2022-08-31 15:25:57 +02:00
Benoit Marty
642da5a8e8 Changelog 2022-08-31 15:25:12 +02:00
Benoit Marty
1ced47fbd2 Display an error message when the room is not known. 2022-08-31 15:13:45 +02:00
Benoit Marty
f56f4e1160 Make room and timeline nullable. Sometimes use initialState.roomId instead of room.roomId. 2022-08-31 11:58:43 +02:00
Benoit Marty
388cb16481 Remove unused method 2022-08-31 11:15:58 +02:00
Benoit Marty
3ed66d636b Rework: avoid shortcut to access ViewModel state. 2022-08-31 11:15:32 +02:00
Adam Brown
7a79032ea7 Merge pull request #6720 from vector-im/feature/adm/modularisation-app-module
Modularisation - vector-app module
2022-08-31 10:12:38 +01:00
Benoit Marty
b6deff8a0b Remove useless code. Returned value is not used. observeRoomSummary() is called a few lines above. 2022-08-31 11:11:27 +02:00
Benoit Marty
b18395f418 Changelog 2022-08-31 10:41:05 +02:00
Benoit Marty
36e3abece6 Handle missing external application when trying to Record a Video or on other cases.
https://github.com/matrix-org/element-android-rageshakes/issues/42362
2022-08-31 10:41:05 +02:00
Benoit Marty
98ce9899ff Fix incorrectly caught exception 2022-08-31 10:41:05 +02:00
Adam Brown
feb1a2a876 including vector-app in the code_quality script 2022-08-31 09:16:01 +01:00
Adam Brown
177049ba91 merging with develop 2022-08-31 09:16:01 +01:00
Adam Brown
244aa094ef adding fragment testing dependency as a possible solution for missing jacoco agent on CI 2022-08-31 09:16:01 +01:00
Adam Brown
18a9846071 moving application based tests to the vector-app module
- they require the VectorApplication to trigger
2022-08-31 09:16:01 +01:00
Adam Brown
7837252f5f applying missing nightly build type config 2022-08-31 09:16:01 +01:00
Adam Brown
8df971bf7b avoiding spawing a daemon for the CI quality checks 2022-08-31 09:16:01 +01:00
Adam Brown
10b1612ba3 fixing typo in changelog 2022-08-31 09:16:01 +01:00
Adam Brown
75828e8797 tweaking ci lint memory allowance 2022-08-31 09:16:01 +01:00
Adam Brown
713e1ef2ed merging with develop 2022-08-31 09:16:01 +01:00
Adam Brown
d543c76259 attempting to redistibute lint memory allowance to fix OOM 2022-08-31 09:16:01 +01:00
Adam Brown
d2ca4edc6d lifting the application launcher colour to the application module 2022-08-31 09:16:01 +01:00
Adam Brown
c7f945c8b5 lifting the application config and icon to the application module 2022-08-31 09:16:00 +01:00
Adam Brown
39f9eb9641 adding changelog entry 2022-08-31 09:16:00 +01:00
Adam Brown
cfe5a4d212 using entry point instead of manually fetching fields from application 2022-08-31 09:16:00 +01:00
Adam Brown
5c994ebfdd lifting the phonenumber dependency to the deps file and exposing as api for the app level module 2022-08-31 09:16:00 +01:00
Adam Brown
2d61e71409 using the vector-app module to handle recursively applying lint 2022-08-31 09:16:00 +01:00
Adam Brown
4d3e21d046 reusing lint file 2022-08-31 09:16:00 +01:00
Adam Brown
117948f3f1 renaming output apks to match the previous name 2022-08-31 09:16:00 +01:00
Adam Brown
615ab414ff moving imports around to match application/library split 2022-08-31 09:16:00 +01:00
Adam Brown
f67ec6d14e copying the vector lint config for the top level application 2022-08-31 09:16:00 +01:00
Adam Brown
ad398d8caa moving font certs file to the module that uses it 2022-08-31 09:16:00 +01:00
Adam Brown
32b32376c9 updating artifact paths to match new module location 2022-08-31 09:16:00 +01:00
Adam Brown
1ff340b018 lifting the manifest provider references to the app module manifest 2022-08-31 09:16:00 +01:00
Adam Brown
c29e96ab46 reording import 2022-08-31 09:16:00 +01:00
Adam Brown
ddaaa1aaeb avoid clashing buildconfig and moving placeholders to the modules which uses them 2022-08-31 09:16:00 +01:00
Adam Brown
2e81056b1e adding library support for the android-stem plugin 2022-08-31 09:16:00 +01:00
Adam Brown
f0bc18d5ca introducing vector-app module to act as the top level application 2022-08-31 09:16:00 +01:00
Adam Brown
fc8aa16105 using build meta for application id 2022-08-31 09:16:00 +01:00
Adam Brown
bbbea4f316 using non final id reference for stub id, ids in library modules are not final 2022-08-31 09:16:00 +01:00
Nikita Fedrunov
657796c8b5 new app layout is enabled (#6959) 2022-08-31 10:06:01 +02:00
Benoit Marty
456d831a7d Merge pull request #6917 from vector-im/feature/bma/incr_sync_perf
Feature/bma/incr sync perf
2022-08-31 09:06:32 +02:00
Eric Decanini
b0fb1f908e Space Switching: Space Invites (#6924) 2022-08-30 15:30:51 +02:00
Onuray Sahin
357a859cdc Cleanup recyclerview. 2022-08-30 16:28:02 +03:00
Onuray Sahin
ec85199250 Code review fixes. 2022-08-30 15:51:53 +03:00
Onuray Sahin
66fa5ca98e Code review fixes. 2022-08-30 15:47:00 +03:00
Adam Brown
3319ed95dd Merge pull request #6953 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-embedded_fcm_distributor-2.1.2
Bump android-embedded_fcm_distributor from 2.1.1 to 2.1.2
2022-08-30 08:55:38 +01:00
Benoit Marty
51dcaf7556 Merge pull request #6925 from vector-im/feature/bma/http_log
Feature/bma/http log
2022-08-29 15:04:46 +02:00
Benoit Marty
a8eb7d95ac Create a new fun for code clarity 2022-08-29 14:32:12 +02:00
Nikita Fedrunov
14e3753183 fabs are moved from HomeRoomListFragment to NewHomeDetailFragment (#6943) 2022-08-29 13:26:39 +02:00
Benoit Marty
f668be5266 Remove tmp comment 2022-08-29 12:39:58 +02:00
Benoit Marty
8168420877 Merge pull request #6932 from vector-im/dependabot/gradle/org.jlleitschuh.gradle.ktlint-11.0.0
Bump org.jlleitschuh.gradle.ktlint from 10.3.0 to 11.0.0
2022-08-29 10:39:24 +02:00
Benoit Marty
a8ccb92912 Merge pull request #6934 from vector-im/dependabot/gradle/flipper-0.162.0
Bump flipper from 0.161.0 to 0.162.0
2022-08-29 10:38:06 +02:00
Nikita Fedrunov
84d938da94 fixed invites count badge bottom margin on a home screen (#6948) 2022-08-29 10:17:27 +02:00
Eric Decanini
6af5f9ed7f Fixes debug icon not showing (#6951) 2022-08-29 09:55:59 +02:00
Linerly
f1f6187735 Translated using Weblate (Indonesian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-08-29 03:32:40 +00:00
Auri B. P
19f17d161c Translated using Weblate (Catalan)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-08-27 13:32:40 +00:00
dependabot[bot]
8bc32a2f73 Bump android-embedded_fcm_distributor from 2.1.1 to 2.1.2
Bumps [android-embedded_fcm_distributor](https://github.com/UnifiedPush/android-embedded_fcm_distributor) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/UnifiedPush/android-embedded_fcm_distributor/releases)
- [Commits](https://github.com/UnifiedPush/android-embedded_fcm_distributor/compare/2.1.1...2.1.2)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-embedded_fcm_distributor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-26 23:10:44 +00:00
Eric Decanini
b5debe92c0 Merge pull request #6877 from vector-im/feature/eric/new-layout-navigation
Space Switching Back Navigation
2022-08-26 17:40:18 +02:00
dependabot[bot]
19ed871627 Bump flipper from 0.161.0 to 0.162.0
Bumps `flipper` from 0.161.0 to 0.162.0.

Updates `flipper` from 0.161.0 to 0.162.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.161.0...v0.162.0)

Updates `flipper-network-plugin` from 0.161.0 to 0.162.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.161.0...v0.162.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-26 14:15:16 +00:00
Onuray Sahin
dc99c1122d Merge pull request #6903 from vector-im/feature/ons/device_manager_current_session
[Device Manager] Render current session (PSG-668)
2022-08-26 16:22:46 +03:00
Adam Brown
fdc2e1c3c3 Merge pull request #6941 from vector-im/feature/adm/invalid-space-command-parsing
Fixing /joinSpace and /addToSpace commands
2022-08-26 14:15:38 +01:00
ericdecanini
f62271354e Removes unused variable 2022-08-26 15:08:25 +02:00
ericdecanini
95b37e2838 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
# Conflicts:
#	vector/src/main/java/im/vector/app/features/spaces/NewSpaceSummaryController.kt
2022-08-26 14:06:11 +02:00
Eric Decanini
b67c3ce40b Merge pull request #6907 from vector-im/feature/eric/accordion-bottom-sheet
Space Switching: Accordion-Style Bottom Sheet
2022-08-26 14:04:52 +02:00
Onuray Sahin
2c6c23da9c Merge branch 'feature/ons/device_manager_current_session' into feature/ons/device_manager_other_session_list
* feature/ons/device_manager_current_session: (169 commits)
  new app layouts invites (#6911)
  bottom navigation tabs are removed for AppLayout (#6905)
  focus input when changing server address
  Fix copyright
  Improve createRoomThreePidEvents for clarity
  Remove roomCreatorUserId and use current userId by default
  Remove useless explicit field type
  Change visibility of LocalRoomThirdPartyInviteContent to internal
  Remove useless apply in CreateLocalRoomStateEventsTask
  Update doc
  Extract condition to reduce code complexity
  Verify tombstone event
  Remove safe call
  Add unit tests for CreateRoomFromLocalRoomTask
  Add unit tests for CreateLocalRoomStateEventsTask
  Set stateKey as empty by default
  Create local room state events in dedicated task
  Fix local events generation following the specification
  Update CreateRoomParams from the potential FeaturePreset before persisting
  Persists CreateRoomParams into LocalRoomSummaryEntity
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
2022-08-26 14:47:09 +03:00
Onuray Sahin
7a3a5ae30d Merge branch 'develop' into feature/ons/device_manager_current_session
* develop: (169 commits)
  new app layouts invites (#6911)
  bottom navigation tabs are removed for AppLayout (#6905)
  focus input when changing server address
  Fix copyright
  Improve createRoomThreePidEvents for clarity
  Remove roomCreatorUserId and use current userId by default
  Remove useless explicit field type
  Change visibility of LocalRoomThirdPartyInviteContent to internal
  Remove useless apply in CreateLocalRoomStateEventsTask
  Update doc
  Extract condition to reduce code complexity
  Verify tombstone event
  Remove safe call
  Add unit tests for CreateRoomFromLocalRoomTask
  Add unit tests for CreateLocalRoomStateEventsTask
  Set stateKey as empty by default
  Create local room state events in dedicated task
  Fix local events generation following the specification
  Update CreateRoomParams from the potential FeaturePreset before persisting
  Persists CreateRoomParams into LocalRoomSummaryEntity
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
2022-08-26 13:45:47 +03:00
Onuray Sahin
ed2c365db2 Add changelog. 2022-08-26 13:07:16 +03:00
Onuray Sahin
eaf7da8e6e Render other sessions. 2022-08-26 12:59:01 +03:00
Onuray Sahin
eb86a4f33c Refactor layout files. 2022-08-26 12:57:20 +03:00
Onuray Sahin
01bce5658b Calculate trust level for shield in viewmodel. 2022-08-26 12:53:30 +03:00
Adam Brown
da2eddd857 Merge pull request #6927 from noantiq/develop
FTUE: Make entering a custom Homeserver address faster by focusing the input
2022-08-26 10:43:13 +01:00
Piotr Strebski
a5df4a1cd9 Translated using Weblate (Polish)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pl/
2022-08-26 08:33:15 +00:00
waclaw66
bf602b64b9 Translated using Weblate (Czech)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-08-26 08:33:13 +00:00
Jeff Huang
94fbf2050c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-08-26 08:33:11 +00:00
Danial Behzadi
0bf4d54423 Translated using Weblate (Persian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2022-08-26 08:33:10 +00:00
random
0ba5376fee Translated using Weblate (Italian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2022-08-26 08:33:08 +00:00
Priit Jõerüüt
1a07f195eb Translated using Weblate (Estonian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-08-26 08:33:07 +00:00
phardyle
80dd0487d4 Translated using Weblate (Chinese (Simplified))
Currently translated at 98.6% (73 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hans/
2022-08-26 08:33:05 +00:00
Ihor Hordiichuk
5fb341501e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-08-26 08:33:04 +00:00
Jozef Gaal
05136d9f87 Translated using Weblate (Slovak)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-08-26 08:33:02 +00:00
lvre
90c0ae6616 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2022-08-26 08:33:01 +00:00
Glandos
a6c1e32051 Translated using Weblate (French)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2022-08-26 08:32:59 +00:00
Vri
3570ba71e7 Translated using Weblate (German)
Currently translated at 100.0% (74 of 74 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-08-26 08:32:57 +00:00
phardyle
775f584ff8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-08-26 08:32:55 +00:00
phardyle
7a53aede85 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-26 08:32:55 +00:00
Ihor Hordiichuk
dc51181ab4 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-08-26 08:32:53 +00:00
Jozef Gaal
0aa61a656f Translated using Weblate (Slovak)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-08-26 08:32:51 +00:00
lvre
be8bcfb9e7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-08-26 08:32:50 +00:00
Piotr Strebski
065e55aa7f Translated using Weblate (Polish)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-08-26 08:32:49 +00:00
random
332effd33d Translated using Weblate (Italian)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-08-26 08:32:47 +00:00
Linerly
235c4ca5ee Translated using Weblate (Indonesian)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-08-26 08:32:45 +00:00
Glandos
833f87ffcb Translated using Weblate (French)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-08-26 08:32:44 +00:00
Danial Behzadi
c63538a01a Translated using Weblate (Persian)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-08-26 08:32:43 +00:00
Priit Jõerüüt
83da82ce0b Translated using Weblate (Estonian)
Currently translated at 99.6% (2336 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-08-26 08:32:41 +00:00
Vri
4e56f66112 Translated using Weblate (German)
Currently translated at 98.0% (2298 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-08-26 08:32:40 +00:00
waclaw66
22b0a23d26 Translated using Weblate (Czech)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-08-26 08:32:39 +00:00
Florian Renaud
e43bc88a4d Merge pull request #6127 from vector-im/feature/fre/start_dm_on_first_msg_impl
Create the DM when sending an event
2022-08-26 09:15:34 +02:00
ericdecanini
457157995a Removes unused import 2022-08-25 17:19:39 +02:00
Nikita Fedrunov
70cfe00271 new app layouts invites (#6911) 2022-08-25 16:34:04 +02:00
ericdecanini
d8398c279c Adds content description to fix lint warning 2022-08-25 16:32:31 +02:00
Adam Brown
493d9240c2 parsing the space commands by checking for the size and last segment to find the space id to join/add to 2022-08-25 15:30:43 +01:00
ericdecanini
a5536ab894 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-25 16:15:53 +02:00
Nikita Fedrunov
225d05e0be bottom navigation tabs are removed for AppLayout (#6905) 2022-08-25 15:59:38 +02:00
Timuçin Boldt
b2212a7e2b focus input when changing server address 2022-08-25 14:52:16 +02:00
Florian Renaud
ee7c0593ba Fix copyright 2022-08-25 14:37:06 +02:00
Florian Renaud
cac4df7d66 Improve createRoomThreePidEvents for clarity 2022-08-25 14:28:17 +02:00
ericdecanini
51ccd43724 Removes change space from strings xml 2022-08-25 14:16:20 +02:00
Florian Renaud
eab4ebc3b1 Remove roomCreatorUserId and use current userId by default 2022-08-25 14:16:20 +02:00
Florian Renaud
90d688c222 Remove useless explicit field type 2022-08-25 14:07:50 +02:00
Florian Renaud
2be2a05795 Change visibility of LocalRoomThirdPartyInviteContent to internal 2022-08-25 14:05:25 +02:00
Florian Renaud
110cabaca1 Remove useless apply in CreateLocalRoomStateEventsTask 2022-08-25 14:00:58 +02:00
Florian Renaud
5d1124aa95 Update doc 2022-08-25 13:57:50 +02:00
Florian Renaud
128ff0d6ec Extract condition to reduce code complexity 2022-08-25 13:57:50 +02:00
Florian Renaud
cbf9dbf290 Verify tombstone event 2022-08-25 13:57:50 +02:00
Florian Renaud
725537d8fe Remove safe call 2022-08-25 13:57:50 +02:00
Florian Renaud
3905e564bd Add unit tests for CreateRoomFromLocalRoomTask 2022-08-25 13:57:49 +02:00
Florian Renaud
882065f6cd Add unit tests for CreateLocalRoomStateEventsTask 2022-08-25 13:57:49 +02:00
Florian Renaud
e22ce0d842 Set stateKey as empty by default 2022-08-25 13:57:49 +02:00
Florian Renaud
dee8484618 Create local room state events in dedicated task 2022-08-25 13:57:49 +02:00
Florian Renaud
7216f6bd64 Fix local events generation following the specification 2022-08-25 13:57:49 +02:00
Florian Renaud
5df71c6161 Update CreateRoomParams from the potential FeaturePreset before persisting 2022-08-25 13:57:49 +02:00
Florian Renaud
c96343f1d7 Persists CreateRoomParams into LocalRoomSummaryEntity 2022-08-25 13:57:49 +02:00
Florian Renaud
69917ebc2e Start DM - Handle third party invites 2022-08-25 13:57:49 +02:00
Florian Renaud
b14e3c61b3 Start DM - Fix first message not encrypted 2022-08-25 13:57:49 +02:00
Florian Renaud
72896f1c8a Create the DM when sending an event 2022-08-25 13:57:49 +02:00
Nikita Fedrunov
da70d520bc fixed space switching dialog measured with wrong height sometimes (#6928) 2022-08-25 10:49:44 +02:00
sim
f7ae377874 Add changelog
Signed-off-by: sim <git@sgougeon.fr>
2022-08-25 09:33:26 +02:00
sim
e2646c3243 Remove never-matched if 2022-08-25 09:05:57 +02:00
sim
42c580c249 Add comments 2022-08-25 09:05:57 +02:00
sim
a4dd08ddb3 Always use register to open the distributor dialog
The forced unregistration always happens in register
function
2022-08-25 09:05:57 +02:00
sim
02d54878c3 Set distributor dialog always cancelable
ATM, it uses the default fallback if cancelled
2022-08-25 09:05:57 +02:00
Adam Brown
cda50dca8c trigger CI 2022-08-25 09:05:57 +02:00
dependabot[bot]
d130dd5e1b Bump com.autonomousapps.dependency-analysis from 1.12.0 to 1.13.1
Bumps com.autonomousapps.dependency-analysis from 1.12.0 to 1.13.1.

---
updated-dependencies:
- dependency-name: com.autonomousapps.dependency-analysis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-24 23:09:05 +00:00
dependabot[bot]
829c2482d5 Bump org.jlleitschuh.gradle.ktlint from 10.3.0 to 11.0.0
Bumps org.jlleitschuh.gradle.ktlint from 10.3.0 to 11.0.0.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-24 23:06:26 +00:00
ericdecanini
64894d4443 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-24 20:25:02 +02:00
ericdecanini
e9120c8e33 Changes content description of chevron based on expanded state 2022-08-24 20:22:46 +02:00
Benoit Marty
66a6018a93 Detekt 2022-08-24 14:06:35 +02:00
Benoit Marty
5d711793ad Changelog 2022-08-24 12:39:58 +02:00
Benoit Marty
2b5920e451 Merge pull request #6894 from vector-im/feature/bma/remove_fragment_module
Remove fragment module
2022-08-24 12:30:02 +02:00
Benoit Marty
2c63dee86a Avoid trying to log formatted Json if Http bodies are not logged. 2022-08-24 10:16:57 +02:00
Benoit Marty
8cec528ac7 Only one FormatterJsonHttpLogger implementation is required. 2022-08-24 10:11:24 +02:00
Jeff Huang
e523699cfe Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-08-24 04:43:05 +00:00
Benoit Marty
4c2f8537e1 Changelog 2022-08-23 18:51:14 +02:00
Benoit Marty
d7b2cc095a Format fixes. 2022-08-23 18:49:16 +02:00
Benoit Marty
c494644abf Inject AvatarRenderer normally. 2022-08-23 18:49:16 +02:00
Benoit Marty
80b3c45928 Create a GalleryOrCameraDialogHelperFactory 2022-08-23 18:49:16 +02:00
Benoit Marty
8555758911 Remove the FragmentFactory reference 2022-08-23 18:49:16 +02:00
Benoit Marty
22db6b4619 Use @AndroidEntryPoint for all Fragment 2022-08-23 18:49:16 +02:00
Benoit Marty
997336ec5d No need to Inject constructor 2022-08-23 18:47:23 +02:00
Benoit Marty
5f0b26ae39 Remove FragmentModule 2022-08-23 18:47:23 +02:00
Benoit Marty
d85a16482e Merge pull request #6700 from vector-im/sync-analytics-plan
Sync analytics plan
2022-08-23 17:14:02 +02:00
Benoit Marty
f6e382572e Merge pull request #6893 from vector-im/dependabot/gradle/flipper-0.161.0
Bump flipper from 0.157.0 to 0.161.0
2022-08-23 17:09:37 +02:00
Benoit Marty
a869a7208c Merge pull request #6913 from vector-im/dependabot/github_actions/danger/danger-js-11.1.2
Bump danger/danger-js from 11.1.1 to 11.1.2
2022-08-23 17:09:01 +02:00
Benoit Marty
8e853fe091 Merge pull request #6914 from vector-im/dependabot/gradle/org.owasp-dependency-check-gradle-7.1.2
Bump dependency-check-gradle from 7.1.1 to 7.1.2
2022-08-23 17:07:53 +02:00
Benoit Marty
973a5f1d6e Version++ 2022-08-23 17:02:24 +02:00
Benoit Marty
ba6f7c4288 Merge branch 'release/v1.4.34' into main 2022-08-23 17:00:11 +02:00
Benoit Marty
6c47635a87 Merge branch 'release/v1.4.34' into develop 2022-08-23 17:00:10 +02:00
Benoit Marty
6c2885ff39 Granfra's review 2022-08-23 16:36:39 +02:00
Onuray Sahin
248c05f4e2 Create other session item layout. 2022-08-23 17:20:37 +03:00
Onuray Sahin
ec5d950b7b Fix current session device name. 2022-08-23 17:20:01 +03:00
Onuray Sahin
2648771196 Create custom view for other sessions. 2022-08-23 17:19:03 +03:00
Benoit Marty
adcb3c594a fastlane 2022-08-23 16:09:36 +02:00
Benoit Marty
34fef8d197 reorder changelog 2022-08-23 16:08:52 +02:00
Benoit Marty
033557dba4 Towncrier 2022-08-23 16:07:57 +02:00
Benoit Marty
58954ed590 Fix Exception: java.lang.IllegalArgumentException: Configurations cannot be different if used to open the same file.
See for instance https://github.com/matrix-org/element-android-rageshakes/issues/41975
2022-08-23 15:36:17 +02:00
Benoit Marty
203a262c66 Add a step in the recipe 2022-08-23 15:21:44 +02:00
Benoit Marty
7883a6c617 Rename gl to gl-ES to be PlayStore compatible, and unignore this language. 2022-08-23 15:16:12 +02:00
Benoit Marty
1c8fccad30 Merge pull request #6908 from vector-im/feature/bma/fix_crash
Fix crash when signing out.
2022-08-23 15:07:55 +02:00
Benoit Marty
94e755552c Merge pull request #6888 from vector-im/feature/adm/change-server-on-error
FTUE - Allow changing server on onboarding start error
2022-08-23 15:05:51 +02:00
Benoit Marty
074a9e0da6 Merge pull request #6916 from vector-im/feature/bma/weblate_sync_1_4_34
Feature/bma/weblate sync 1 4 34
2022-08-23 15:03:47 +02:00
Onuray Sahin
d072ab1f37 Create layout for other session list. 2022-08-23 14:36:00 +03:00
Benoit Marty
9e0340bbea Remove unused strings 2022-08-23 12:13:47 +02:00
Benoit Marty
aa750cccbf typo 2022-08-23 12:03:25 +02:00
Benoit Marty
1a79828aa5 Update comment 2022-08-23 12:01:43 +02:00
Benoit Marty
5c02290ad4 Fix logging issue 2022-08-23 12:00:27 +02:00
Benoit Marty
c9e76f5f97 changelog 2022-08-23 11:58:05 +02:00
Benoit Marty
caf3308ea7 Fix lint issue 2022-08-23 11:24:54 +02:00
Benoit Marty
577cc58fab Merge pull request #6915 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-08-23 11:24:06 +02:00
Benoit Marty
e3f5d15eaf Do not fetch user if we do not have the previous content. 2022-08-23 11:19:14 +02:00
Benoit Marty
94a87744ac Defer the treatment of updating the User profiles to a background Worker. 2022-08-23 11:11:40 +02:00
ericdecanini
d7daca9150 Replaces try catch back handling with check for backstack root 2022-08-23 10:36:52 +02:00
Weblate
3a44c7ce93 Merge branch 'origin/develop' into Weblate. 2022-08-23 08:12:46 +00:00
Metehan Özyürek
692f04496b Translated using Weblate (Turkish)
Currently translated at 66.2% (1544 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/tr/
2022-08-23 08:12:37 +00:00
ericdecanini
ace2c672ed Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation 2022-08-23 10:00:55 +02:00
Eric Decanini
2830664dbb Merge pull request #6868 from vector-im/feature/eric/space-settings
Space Switching: Adds Toolbar Click To Open Space Settings
2022-08-23 09:59:09 +02:00
dependabot[bot]
12f4a05745 Bump dependency-check-gradle from 7.1.1 to 7.1.2
Bumps dependency-check-gradle from 7.1.1 to 7.1.2.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 23:07:56 +00:00
dependabot[bot]
0d38ace8ca Bump danger/danger-js from 11.1.1 to 11.1.2
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.1.1 to 11.1.2.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.1.1...11.1.2)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 23:07:54 +00:00
Adam Brown
8336d4c269 adding changelog entry 2022-08-22 17:24:11 +01:00
Adam Brown
d7bc43584d adding tests around forwarding to the edit server selection when the initial server selection fails 2022-08-22 17:24:11 +01:00
Adam Brown
b50b6daca1 using wider range network error when deciding to forward to the edit server instead of just unknown host
- will also capture timeouts
2022-08-22 17:24:11 +01:00
Adam Brown
4cc0b81c86 removing deeplink error handling as its now covered by the edit server flow instead 2022-08-22 17:24:11 +01:00
Adam Brown
cdf75be0ec redirecting to the edit server screen when attempting to select the initial homeserver choice and it fails 2022-08-22 17:24:10 +01:00
Adam Brown
0be46adfda Merge pull request #6862 from vector-im/feature/adm/ftue-fragment-crashes
FTUE - Crash fixes
2022-08-22 17:21:31 +01:00
Adam Brown
841ee33c82 Merge pull request #6837 from vector-im/feature/adm/missing-notifications
Missing notifications due to stuck background workers
2022-08-22 17:20:04 +01:00
Benoit Marty
a7666e2112 Set instead of List, to avoid duplication. 2022-08-22 17:45:28 +02:00
Benoit Marty
9a0ea7bc2e Add some log for further investigation 2022-08-22 17:45:28 +02:00
Benoit Marty
13f7a9fc10 Performance: invoke UpdateTrustWorker only once per incremental sync. 2022-08-22 17:45:28 +02:00
Benoit Marty
32bfaf8868 Fix crash when signing out.
At this point, we do not want the sync to start, the DB is already deleted.
2022-08-22 16:16:27 +02:00
Onuray Sahin
ff22d124b4 Fix lit error. 2022-08-22 15:59:01 +03:00
ericdecanini
edb2d5d78e Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
#	vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-22 14:56:14 +02:00
Eric Decanini
86438cf09c Merge pull request #6871 from vector-im/feature/eric/new-layout-debug
Debug Icon UX Improvements & Addition in New Layout
2022-08-22 14:48:32 +02:00
ericdecanini
8892fac062 Adds content description to space chevrons 2022-08-22 14:41:48 +02:00
ericdecanini
4c404ca4ce Removes max depth on subspaces 2022-08-22 14:34:44 +02:00
ericdecanini
a1c79f8c13 Removes drag and drop repositioning for spaces 2022-08-22 14:31:29 +02:00
ericdecanini
a7aa72fb6e Adds changelog file 2022-08-22 14:21:48 +02:00
ericdecanini
4bbc04a838 Refactors space controller and items 2022-08-22 14:09:54 +02:00
Artjom König
6452a95e0a clean up pin code and biometrics on logout 2022-08-22 14:08:29 +02:00
Onuray Sahin
d4d7d07217 Fix lint error for unused resources. 2022-08-22 14:51:15 +03:00
ericdecanini
16efec9d1e Adds accordion-style space sheet 2022-08-22 13:46:14 +02:00
Adam Brown
9b57630eae Merge pull request #6873 from vector-im/feature/adm/allow-trusting-certificates
FTUE - Fix trusting certificates during edit server flow
2022-08-22 11:47:50 +01:00
Adam Brown
7211c9c08e Merge pull request #6890 from vector-im/feature/adm/missing-notifications-on-login
Missing push notifications on login
2022-08-22 11:14:28 +01:00
Benoit Marty
e86058b299 Merge pull request #6884 from vector-im/feature/bma/sync_thread_investigation
Ensure sync thread is started
2022-08-22 12:09:54 +02:00
Onuray Sahin
ba6aee2e81 Change text color according to verification status. 2022-08-22 13:00:31 +03:00
Onuray Sahin
43f191d073 Add changelog. 2022-08-22 12:40:15 +03:00
Onuray Sahin
042f24c749 Render current session. 2022-08-22 12:10:33 +03:00
Benoit Marty
6a62fb1d84 Use new analytics value ViewRoom.Trigger.Shortcut 2022-08-22 10:49:07 +02:00
Adam Brown
4fd7ce8286 trigger CI 2022-08-22 09:37:01 +01:00
Benoit Marty
b90fa1a9ca Merge pull request #6881 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.54
Bump libphonenumber from 8.12.53 to 8.12.54
2022-08-22 10:07:52 +02:00
Adam Brown
d405a66443 Merge pull request #6834 from vector-im/feature/adm/ftue-empty-identity-providers
Allow empty SSO `identity_providers`
2022-08-22 08:44:31 +01:00
dependabot[bot]
8a2894f038 Bump libphonenumber from 8.12.53 to 8.12.54
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.53 to 8.12.54.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.53...v8.12.54)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 05:58:19 +00:00
bmarty
dd8cf39082 Sync analytics plan 2022-08-22 00:04:01 +00:00
networkException
2bca94d92b Changelog: Add .bugfix entry for pull request #6215
Signed-off-by: networkException <git@nwex.de>
2022-08-21 12:07:55 +02:00
networkException
5fede491ee ImageContentRenderer: Only animate images using ANIMATED_THUMBNAIL mode
This patch removes the dependency on `VectorSettings` as well as only
enable animated rendering if the image is actually playable.

Signed-off-by: networkException <git@nwex.de>
2022-08-21 12:07:55 +02:00
networkException
dccc64384c Implement Mode.ANIMATED_THUMBNAIL used for autoplaying animated images
This patch introduces a new `ImageContentRenderer` mode used for
autoplaying animated images. The mode shares url resolving semantics
with `FULL_SIZE` and `STICKER`, as such not just fetching thumbnail data
but shares sizing semantics with `THUMBNAIL` (scaling by image height).

This change fixes animated images not playing in cases in which only a
static thumbnail would be loaded.

This new mode will only be chosen if the message content is actually a
playable image, as such limiting bandwith usage to the required amount
by avoiding to load normal images fully (still fetching animated images
will increase bandwith usage as a whole of course).

Signed-off-by: networkException <git@nwex.de>
2022-08-21 12:07:54 +02:00
Glandos
4bc5426609 Translated using Weblate (French)
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/fr/
2022-08-21 08:32:39 +00:00
phardyle
64156ada60 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-21 08:32:37 +00:00
Nui Harime
bb0c1af703 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-21 08:32:37 +00:00
Glandos
d5dd1fb166 Translated using Weblate (French)
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/fr/
2022-08-21 08:32:36 +00:00
dependabot[bot]
ce87795520 Bump flipper from 0.157.0 to 0.161.0
Bumps `flipper` from 0.157.0 to 0.161.0.

Updates `flipper` from 0.157.0 to 0.161.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.157.0...v0.161.0)

Updates `flipper-network-plugin` from 0.157.0 to 0.161.0
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.157.0...v0.161.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-19 23:09:53 +00:00
Adam Brown
06c77e4b5e adding changelog entry 2022-08-19 17:14:20 +01:00
Adam Brown
0a2ce698be fixing default distributor not being registered on login
- we were saving the default distributor before asking the user, which meant when the user selected the same option it was skipped from being registered
- only unregisters during the force flow, otherwise we'll crash due to no app being registered
2022-08-19 16:57:08 +01:00
Nikita Fedrunov
cc49e96d36 dialpad moved from bottom navigation tab to a separate activity (#6887) 2022-08-19 17:55:43 +02:00
Nikita Fedrunov
0629cae183 added dialog to change app layout settings (#6840) 2022-08-19 17:53:48 +02:00
Eric Decanini
11b4ea5227 Merge pull request #6801 from vector-im/feature/eric/new-chat-bottom-sheet
New App Layout: Adds New Chat Bottom Sheet
2022-08-19 15:22:06 +02:00
Benoit Marty
015aaa0516 Log SyncThread state 2022-08-19 15:02:01 +02:00
Benoit Marty
fc4f4f7131 Add prefix to the name of the Thread the app is creating 2022-08-19 14:46:51 +02:00
ericdecanini
add7bd9052 Merge branch 'feature/eric/new-layout-navigation' into feature/eric/new-layout-debug
# Conflicts:
#	vector/src/test/java/im/vector/app/features/navigation/DefaultNavigatorTest.kt
2022-08-19 14:33:49 +02:00
ericdecanini
1bd46e902b Fixes documentation lint errors 2022-08-19 14:33:10 +02:00
ericdecanini
4162eb8e55 Removes space header 2022-08-19 14:23:08 +02:00
ericdecanini
7fafd07e2c Changes changelog file 2022-08-19 13:32:31 +02:00
Germain
a251002808 Add app layout delight automation 2022-08-19 11:51:20 +01:00
Onuray Sahin
d336d1921b Observe view events. 2022-08-19 13:35:15 +03:00
Onuray Sahin
6c725a1a75 Add custom view into the layout. 2022-08-19 12:26:12 +03:00
Onuray Sahin
986bc920fe Create required strings. 2022-08-19 12:25:38 +03:00
Onuray Sahin
4552a3c68d Add required resources. 2022-08-19 12:24:45 +03:00
phardyle
6009578829 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-19 08:42:29 +00:00
Fork Liang
37d46ca729 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-19 08:42:29 +00:00
Benoit Marty
f75b2e6ef1 Changelog files. 2022-08-19 10:11:31 +02:00
Benoit Marty
eeeb569ae0 Add prefix to the name of the Thread the app is creating 2022-08-19 10:07:34 +02:00
Benoit Marty
0b1b228524 Fix #6782. Ensure SyncThread is started 2022-08-19 09:55:14 +02:00
ericdecanini
90ab40dccb Merge remote-tracking branch 'origin/develop' into feature/eric/new-chat-bottom-sheet 2022-08-18 17:38:15 +02:00
ericdecanini
2a1483f6a5 Merge remote-tracking branch 'origin/develop' into feature/eric/space-settings 2022-08-18 17:37:56 +02:00
ericdecanini
88fc0afea5 Merge branch 'feature/eric/new-layout-navigation' into feature/eric/new-layout-debug 2022-08-18 17:37:16 +02:00
ericdecanini
fecaf3e360 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation 2022-08-18 17:36:08 +02:00
ericdecanini
e17e3fe00a Adds changelog file 2022-08-18 17:22:19 +02:00
ericdecanini
58e1fe4c01 Adds DefaultNavigatorTest 2022-08-18 17:15:12 +02:00
ericdecanini
789dffe4df Adds tests related to backstack 2022-08-18 16:51:54 +02:00
Benoit Marty
f5104c7511 Log parameter 2022-08-18 16:44:04 +02:00
Benoit Marty
03d83b2aff Log info about process and thread in the Rageshake 2022-08-18 15:52:19 +02:00
Benoit Marty
4ffab7fc13 API: return String instead of printing out to logcat. 2022-08-18 15:09:48 +02:00
Benoit Marty
ec3512fd5b Increase some log level 2022-08-18 14:58:19 +02:00
ericdecanini
2fb794dd59 Fixes space header showing "Empty Space" after switching to newly created space 2022-08-18 14:09:22 +02:00
Adam Brown
106fa1b1d5 adding missing fullstops in to docs 2022-08-18 11:51:23 +01:00
Adam Brown
8b70f3a3b9 extracting throwable crawling to extension 2022-08-18 11:41:29 +01:00
Adam Brown
cdeea21917 adding changelog entries 2022-08-18 11:41:28 +01:00
Adam Brown
a1a8ccae38 reverting scope of init only variable 2022-08-18 11:41:28 +01:00
Adam Brown
ca10109a65 coverting captcha webview to a viewstub in order to catch errors when the system webview is missing or has been disabled 2022-08-18 11:41:28 +01:00
Adam Brown
1d03460aee removing ability to shortcut registration to waiting for email if the app is destroyed
- this behaviour puts the app in an invalid state as we've lost all the ViewState we've collect from the previous onboarding steps
- the app already handles restoring the onboarding state via the system restoration
2022-08-18 11:41:28 +01:00
Adam Brown
9a5b21d8f1 allowing the combined registration flow to have state loss as the transaction occurs asynchronusly 2022-08-18 11:41:28 +01:00
Adam Brown
2b382d1249 allowing the combined login flow to have state loss as the transaction occurs asynchronusly 2022-08-18 11:41:28 +01:00
Adam Brown
e948fe05ca adding changelog entry 2022-08-18 11:41:19 +01:00
Adam Brown
91176eca22 adding test cases around certificate errors being thrown and mapped 2022-08-18 11:41:19 +01:00
Adam Brown
e4a08d1be1 recreating the homeserver config from the retry action when handle certificate accept action
- adds unit tests around the edit/selection cases
2022-08-18 11:41:19 +01:00
Adam Brown
a6ff10cbaf allowing fingerprint to be passed to the config factory
- which in turn allows the android Uri to be bypassed and a unit test around the direct local certificate case added
2022-08-18 11:41:19 +01:00
Adam Brown
457f7fffee promoting the accept certificate to an explict ViewEvent
- allows a retryAction to be provided to the event to avoid mutatble state within the view model along with providing a clear path of execution
2022-08-18 11:41:19 +01:00
Andrew Morgan
e00a9a10fb changelog 2022-08-18 11:24:02 +01:00
Andrew Morgan
d52f3ab586 Clarify that an FCM Rewrite Proxy is not necessary 2022-08-18 11:24:02 +01:00
ericdecanini
136ca4bafb Adds changelog file 2022-08-18 10:16:54 +02:00
ericdecanini
2e323e6f2e Makes debug icon hide when collapsing toolbar 2022-08-18 10:09:32 +02:00
ericdecanini
0b8c68739e Makes debug settings refresh state onResume in old app layout 2022-08-18 09:43:29 +02:00
ericdecanini
fc76d08186 Makes home activity restart if app layout flag change is detected 2022-08-18 09:22:37 +02:00
ericdecanini
a59011ffd2 Adds debug button to new app layout 2022-08-17 23:33:31 +02:00
ericdecanini
003a254c17 Adds changelog file 2022-08-17 22:31:18 +02:00
ericdecanini
9c47c82da4 Adds click action to toolbar to open space settings 2022-08-17 22:23:39 +02:00
ericdecanini
899673495a Changes copies on sheet actions 2022-08-17 21:42:39 +02:00
ericdecanini
ce8939a092 Merge remote-tracking branch 'origin/develop' into feature/eric/new-chat-bottom-sheet
# Conflicts:
#	vector/src/main/res/values/strings.xml
2022-08-17 21:13:39 +02:00
ericdecanini
f119de43b7 Adds explore rooms option to new chat bottom sheet 2022-08-17 21:12:08 +02:00
Benoit Marty
b52171c1dc Run bundle update again. 2022-08-17 16:55:33 +02:00
Benoit Marty
84aed0a5d5 Merge branch 'develop' into dependabot/bundler/jmespath-1.6.1 2022-08-17 16:51:58 +02:00
Adam Brown
a3a76d1c35 adding changelog entry 2022-08-17 15:24:05 +01:00
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
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
eidonia
cd71abeb9f [Bugfix #5029] disable emoji keyboard not applies to reply
Signed-off-by: eidonia <bastien_rambeaud@hotmail.com>
2022-08-16 19:29:14 +02:00
ericdecanini
fc301c8a2e Unifies back and persisted navigation 2022-08-16 11:50:15 +02:00
ericdecanini
06baae04ed Adds working back navigation 2022-08-16 10:59:32 +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
ericdecanini
894d4f700e Makes space bottom sheet header reflect backstack 2022-08-15 20:41:29 +02: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
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
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
ericdecanini
5012f37e6f Refactors space backstack handling 2022-08-12 13:28:01 +02:00
ericdecanini
7ee58ccc88 Fixes back navigation 2022-08-12 13:18:26 +02:00
ericdecanini
d8115a79a4 Adds persisted backstack 2022-08-12 11:17:13 +02:00
Linerly
0083c29968 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-11 12:32:45 +00:00
Jeff Huang
9be766a107 Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2022-08-11 12:32:43 +00:00
Danial Behzadi
9d02982734 Translated using Weblate (Persian)
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/fa/
2022-08-11 12:32:42 +00:00
Priit Jõerüüt
d94f09a3b1 Translated using Weblate (Estonian)
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/et/
2022-08-11 12:32:40 +00:00
Ihor Hordiichuk
32375f30eb Translated using Weblate (Ukrainian)
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/uk/
2022-08-11 12:32:39 +00:00
Jozef Gaal
2deeff3895 Translated using Weblate (Slovak)
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/sk/
2022-08-11 12:32:37 +00:00
Jeff Huang
467d17ddf9 Translated using Weblate (Chinese (Traditional))
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_Hant/
2022-08-11 12:32:35 +00:00
Ihor Hordiichuk
7e8b5479c4 Translated using Weblate (Ukrainian)
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/uk/
2022-08-11 12:32:35 +00:00
Jozef Gaal
36c8877dbe Translated using Weblate (Slovak)
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/sk/
2022-08-11 12:32:35 +00:00
Nui Harime
a01fe4d8e2 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-11 12:32:34 +00:00
Linerly
7bc8b42028 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-11 12:32:34 +00:00
Danial Behzadi
0cda6af1f6 Translated using Weblate (Persian)
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/fa/
2022-08-11 12:32:33 +00:00
Priit Jõerüüt
0c10e7a22b Translated using Weblate (Estonian)
Currently translated at 99.6% (2322 of 2330 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-08-11 12:32:33 +00:00
ericdecanini
989471a409 Adds changelog file 2022-08-10 17:44:33 +02:00
ericdecanini
7a50e25bea Unbolds text 2022-08-10 17:34:16 +02:00
ericdecanini
4f4d7f111d Adds listeners to FABs 2022-08-10 15:25:33 +02:00
ericdecanini
c0c0f90b04 Adds NewChatBottomSheet 2022-08-10 11:26:25 +02:00
Adam Brown
ce28d7f8a5 Merge branch 'release/v1.4.32' 2022-08-10 09:47:50 +01:00
rudmannn
a97addfa3b replace android:gravity for backward compatibility 2022-08-07 11:14:10 +08:00
Adam Brown
dbb999d4b9 Merge branch 'hotfix/v1.4.31' 2022-08-01 17:52:34 +01:00
Adam Brown
4d8f24b73c updating fastlane dependencies 2022-06-23 11:11:33 +01:00
ganfra
bda031496a Merge pull request #13 from poljar/fga/feature/handle_request_failing
Fga/feature/handle request failing
2022-06-13 17:16:14 +02:00
ganfra
c0f3f394ac Format ktlint 2022-06-09 11:14:49 +02:00
ganfra
87c1d69e26 Cancel verification flow if request sending fails (after retry) 2022-06-09 10:56:41 +02:00
ganfra
e5ce77de34 Use retry through executeRequest instead of Task.executeRetry 2022-06-09 10:55:59 +02:00
ganfra
52ed7c019b Merge pull request #12 from poljar/fga/feature/finish_backup_recovery_key
Use backup key directly on olmMachine.
2022-06-08 12:29:43 +02:00
ganfra
6dda30e97f Merge pull request #11 from poljar/fga/more_fixing_cleaning
Fga/more fixing cleaning
2022-06-08 12:29:18 +02:00
dependabot[bot]
31c962567f Bump jmespath from 1.4.0 to 1.6.1
Bumps [jmespath](https://github.com/trevorrowe/jmespath.rb) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/trevorrowe/jmespath.rb/releases)
- [Changelog](https://github.com/jmespath/jmespath.rb/blob/main/CHANGELOG.md)
- [Commits](https://github.com/trevorrowe/jmespath.rb/compare/v1.4.0...v1.6.1)

---
updated-dependencies:
- dependency-name: jmespath
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 22:00:23 +00:00
ganfra
b6d73d872b Use backup key directly on olmMachine. 2022-06-07 19:57:44 +02:00
ganfra
abee136867 Ktlint and format 2022-06-06 15:45:06 +02:00
ganfra
327ac2e17b Ignore some failing tests because because using incompatible or unavailable method now. 2022-06-06 15:38:50 +02:00
ganfra
705788394b Fix some more E2EE tests 2022-06-06 14:54:19 +02:00
ganfra
c1961d1fda DeviceId should be non-null so we can inject it properly and OlmMachine too. 2022-06-06 14:53:56 +02:00
ganfra
e519561edf Merge pull request #9 from poljar/feature/fga/device_verification
Feature/fga/device verification
2022-06-02 15:42:42 +02:00
ganfra
14ed4692dc Merge branch 'rust' into feature/fga/device_verification 2022-06-02 15:42:25 +02:00
ganfra
022057dd6f Merge pull request #10 from poljar/feature/fga/backup_recovery_key
Feature/fga/backup recovery key
2022-06-02 15:39:10 +02:00
ganfra
eb0faa3484 Fix some E2E tests 2022-06-02 15:38:28 +02:00
ganfra
47bc597b99 OKHttp: rise maxRequestsPerHost to 64 (instead of default 5) 2022-06-02 15:38:19 +02:00
ganfra
797dc9ccbb Crypto: fix tracking onRoomMembershipEvent 2022-06-02 15:36:06 +02:00
ganfra
c253f6b06f Clean more code 2022-05-31 16:16:56 +02:00
ganfra
3e116ad065 Add RequestDeviceVerification method 2022-05-30 19:55:48 +02:00
ganfra
466260bc6a Fix one test and ignore another one 2022-05-30 19:55:37 +02:00
ganfra
b0aae84727 Use BackupRecoveryKey instead of plain string 2022-05-25 14:45:31 +02:00
ganfra
7c76ba8184 Create BackupRecoveryKey wrapper class (to avoid directly expose uniffi generated classes) 2022-05-25 14:45:16 +02:00
ganfra
b57dfee77e Rename RequestProcessor 2022-05-25 14:44:23 +02:00
ganfra
1809d02541 Temporary fix tests (wait for rust) 2022-05-25 14:42:03 +02:00
ganfra
58a1c80334 Fix crash on on crypto store open/close 2022-05-20 12:47:47 +02:00
ganfra
a6bc730c32 Merge pull request #8 from poljar/feature/fga/rust_upstream_develop
Feature/fga/rust upstream develop
2022-05-20 11:26:34 +02:00
ganfra
21ef138e97 Add more logs on verif 2022-05-20 11:21:51 +02:00
ganfra
42e5dcd50a Use release version 0.1.0 of crypto rust component 2022-05-18 19:01:57 +02:00
ganfra
f559db62b9 Fix tests compilation 2022-05-18 18:48:37 +02:00
ganfra
a559ebad64 Some more cleanup 2022-05-13 18:52:54 +02:00
ganfra
7e49bad411 Try to clean up after merging upstream develop 2022-05-13 17:26:26 +02:00
ganfra
725e56db08 Merge branch 'develop' of https://github.com/vector-im/element-android into feature/fga/rust_upstream_develop 2022-05-12 19:39:10 +02:00
ganfra
559404f953 Merge pull request #7 from poljar/feature/fga/suspend_api
Cleaning up some code and adding more suspend (removing most runBlocking)
2022-05-12 12:06:42 +02:00
ganfra
677c879979 Fix some code quality 2022-05-12 11:59:21 +02:00
ganfra
a2b3839c46 Rust Migration: use realm migration mechanism 2022-05-11 19:20:39 +02:00
ganfra
88733784cd Add tests for extracting and migrate data 2022-05-10 15:17:12 +02:00
ganfra
f9f885418a Introduce TemporaryRealmConfigurationFactory rule 2022-05-10 15:16:46 +02:00
ganfra
4be50101b3 Temporary commenting other tests to make compile 2022-05-10 15:16:21 +02:00
ganfra
43f5fa91d4 Update olm to 3.2.11 2022-05-10 15:15:47 +02:00
ganfra
ae67e51d26 Add RustCryptoStoreMigrateUseCase 2022-05-06 19:15:35 +02:00
ganfra
ff17941cee Make it compile with latest rust lib 2022-05-06 19:14:59 +02:00
ganfra
4e6bed87e4 Introduce ExtractMigrationDataUseCase 2022-05-06 17:51:35 +02:00
ganfra
b4bc56ff5c Continue cleaning up/adding suspend 2022-05-06 16:12:53 +02:00
ganfra
69ede523b6 Update rust-crypto library 2022-05-05 14:35:42 +02:00
ganfra
859d47453c Add local lib in case maven is broken 2022-05-05 11:45:38 +02:00
ganfra
8bd094fa66 Do some cleanup on verification APIs 2022-04-25 18:53:13 +02:00
ganfra
309a290cb8 Suspend: fix flow builders 2022-04-25 17:55:17 +02:00
ganfra
5581b82ab4 Let rust encrypt method handle unencrypted content ( like relates_to) 2022-04-22 12:14:04 +02:00
ganfra
39755b08ee Continue cleaning up code and fix some verification code 2022-04-21 20:09:08 +02:00
ganfra
48793f531c Start fixing crypto tests compilation 2022-04-15 20:05:06 +02:00
ganfra
9cb43ce4c8 Continue cleaning mostly on coroutine 2022-04-15 18:59:09 +02:00
ganfra
ba540eb861 Continue removing runBlocking + some cleanup 2022-04-15 11:17:06 +02:00
ganfra
d020d1f6e0 Use MatrixCoroutineDispatchers in OlmMachine 2022-04-14 16:33:48 +02:00
ganfra
91daa1ab90 Suspend: continue cleaning 2022-04-14 15:36:03 +02:00
Danny Seymour
3267a0410a fix: tweak styling of message bubbles
* Decreases the size of rounded corners
* Increases the maximum width of message bubbles to help avoid unnecessary unused space on screen

Signed-off-by: Danny Seymour <danny@seymour.family>
2022-04-07 02:36:07 -07:00
ganfra
ed84e38a9b Suspend api: continue moving away from callback 2022-04-06 19:02:45 +02:00
ganfra
9c6fccab1d Suspend API: continue moving verifications 2022-04-01 17:49:44 +02:00
ganfra
950c7f4a23 Fix verification not working 2022-04-01 17:49:08 +02:00
ganfra
046699bc84 Suspend API: handle cross signing service 2022-03-30 17:35:33 +02:00
ganfra
0590258d54 Suspend API: handle verification service 2022-03-29 17:51:05 +02:00
ganfra
e121007d20 Remove rust dependencies and use published aar 2022-03-28 18:15:46 +02:00
ganfra
7436647571 Merge pull request #4 from poljar/rust_upstream_develop
Rust upstream develop
2022-03-10 17:52:10 +01:00
ganfra
dc4569db5a Remove warnings as error for now 2022-03-04 15:51:07 +01:00
ganfra
2f16a2ebd7 Clean up some code 2022-03-04 12:36:31 +01:00
ganfra
b8637ddaf2 Merge branch 'develop' of https://github.com/vector-im/element-android into rust_upstream_develop 2022-03-03 19:52:57 +01:00
Damir Jelić
a194213978 rust: Add the string that failed to be parsed as an user id to the error
If there's an invalid user id that gets passed to the Rust side we're
going to throw an error, this error doesn't tell us what is invalid nor
what the string contained.

Add the string that is being parsed to the error so that the log line
becomes actionable.
2022-02-08 09:43:06 +01:00
Damir Jelić
ee017b7302 rust: Bump the sdk version
This updates the rust-sdk to support fallback keys, note that fallback
keys are not yet uploaded, they just can be used when downloaded and
info about the fallback keys coming from a sync can be passed to the
rust side.
2021-12-09 13:15:54 +01:00
Damir Jelić
5109f10833 Merge branch 'bca/rust_4s_verify_pass' into rust 2021-12-01 11:16:06 +01:00
Valere
14f974f07f Delete old key backup code 2021-12-01 09:12:57 +01:00
Valere
59b2cfa52c Removed useless code 2021-11-30 18:00:26 +01:00
Valere
dc9f6b866b Remove unneeded lax check 2021-11-30 17:50:41 +01:00
Valere
2e71f38f00 quick log improvents 2021-11-30 16:52:11 +01:00
Damir Jelić
71cc38fa78 rust: Bump the rust-sdk version 2021-11-30 16:12:06 +01:00
Valere
8bb2f0584e ktlint clean 2021-11-29 17:48:56 +01:00
Valere
24dc52e4f6 Use ImportKeysResult to notify sessions listeners 2021-11-29 17:48:56 +01:00
Valere
ee6eec041a Fix / unlock keybackup from 4S 2021-11-29 17:48:40 +01:00
Valere
69e4b6e8a4 Improve key decryption perf 2021-11-29 17:48:40 +01:00
Valere
1635c9730a Chunk key import to avoid ram allocation peak 2021-11-29 17:48:40 +01:00
Valere
0e44e32d2a Fix test compilation (not passing) 2021-11-29 17:48:40 +01:00
Valere
210e0241d3 Make keybackup service suspend + fixes 2021-11-29 17:48:40 +01:00
Valere
f0f64d8380 Fix verify with passphrase own device not trusted 2021-11-29 17:48:23 +01:00
Damir Jelić
2167564812 Merge remote-tracking branch 'upstream/develop' into rust 2021-11-29 17:43:40 +01:00
Damir Jelić
3f2755b67c rust: Bump the rust-sdk version 2021-11-29 15:23:44 +01:00
Damir Jelić
d138306b08 rust: Return the map of room keys that were imported 2021-11-25 17:14:02 +01:00
Valere
46ba0eec9f use crypto service in CreateRoomBodyBuilder 2021-11-25 16:57:03 +01:00
Valere
893e6e3962 code review 2021-11-25 16:56:46 +01:00
Valere
fbe098f54b Add all target 2021-11-25 16:04:35 +01:00
Valere
c4bddadebb clean unnecessary safe calls error 2021-11-25 16:03:47 +01:00
Valere
8bebcc93e7 remove some force unwrap 2021-11-25 15:58:59 +01:00
Valere
7fd9ca03be Use new isUserTracked API 2021-11-25 15:42:52 +01:00
Valere
9118b26d2f Fix DM are not e2e by default 2021-11-25 14:36:23 +01:00
Damir Jelić
00280ccb86 rust: Mark room keys that are imported from the backup as backed up 2021-11-25 11:24:47 +01:00
Damir Jelić
3f710ef4c0 rust: Allow individual room keys to be invalid when importing 2021-11-25 10:38:39 +01:00
Damir Jelić
38644f0aa2 crypto: Rewrap and use the new isUserTracked method 2021-11-24 14:42:48 +01:00
Damir Jelić
ac153c80d5 rust: Expose a method to check if a user is tracked 2021-11-24 14:11:56 +01:00
Damir Jelić
87339fb0ee rust: Bump the uniffi version 2021-11-24 14:11:32 +01:00
Valere
a5c500cccd Cleaning + fix copyright 2021-11-19 15:31:23 +01:00
Valere
c01998ddd3 Cleaning 2021-11-19 15:16:29 +01:00
Valere
9e055d9793 post rebase fix 2021-11-19 15:14:04 +01:00
Valere
f209ae26bc Wire compute room shields with rust 2021-11-19 13:29:42 +01:00
Damir Jelić
ae635e2b0a Merge remote-tracking branch 'upstream/develop' into upstream-merge2 2021-11-17 15:35:07 +01:00
Damir Jelić
50cdbaf041 crypto: Update to the latest rust-sdk version 2021-11-17 14:58:14 +01:00
Damir Jelić
a3af73261c crypto: Throw decode errors when creating a recovery key 2021-11-17 13:43:37 +01:00
Damir Jelić
ba7aa3513b crypto: Depend on a hosted rust-sdk version 2021-11-17 13:43:37 +01:00
Damir Jelić
097f05af57 crypto: Throw exceptions when restoring a recovery key from a passphrase 2021-11-17 13:43:37 +01:00
Damir Jelić
e5af7e6109 crypto: Update for the new room key import result 2021-11-17 13:43:37 +01:00
Damir Jelić
7cb143e970 crypto: Don't create a new salt when we just want to rederive a recovery key 2021-11-17 13:43:37 +01:00
Damir Jelić
f1da5a1c7c crypto: Update to the latest ruma 2021-11-17 13:43:37 +01:00
Damir Jelić
50268540c3 crypto: Try to import the recovery key if it was gossiped to us 2021-11-17 13:43:37 +01:00
Damir Jelić
d6ecc7d330 crypto: Connect the backup disabling method 2021-11-17 13:43:37 +01:00
Damir Jelić
5c7b248ed2 crypto: Back up room keys when we create or receive new ones 2021-11-17 13:43:37 +01:00
Damir Jelić
f9476f12af crypto: Correctly continue backing up room keys 2021-11-17 13:43:37 +01:00
Damir Jelić
2b8783b489 crypto: Add support for key backup restoring 2021-11-17 13:43:37 +01:00
Damir Jelić
3b93d6b08c crypto: Fill out all the methods to support backups 2021-11-17 13:43:37 +01:00
Damir Jelić
021041fc2e crypto: Support to send out backup HTTP requests 2021-11-17 13:43:37 +01:00
Damir Jelić
406fd0d8d5 crypto: Initial support for server-side backups of room keys 2021-11-17 13:43:22 +01:00
Damir Jelić
d3a761a73a crypto: Retry the crypto related requests 2021-10-12 12:29:51 +02:00
Damir Jelić
28d4573124 crypto: Use the correct copyright header for the new files 2021-10-12 12:18:02 +02:00
Damir Jelić
c266842da9 crypto: Use getOrPut instead of getOrDefault
getOrDefault won't insert the default value into the map, while we do
want it to be inserted.
2021-10-12 12:08:38 +02:00
Damir Jelić
504fd95b26 crypto: Bump the rust-sdk revision 2021-08-13 20:33:05 +02:00
Damir Jelić
995f1973c7 Merge remote-tracking branch 'upstream/develop' into rust 2021-08-13 13:33:32 +02:00
Damir Jelić
d0502c4f6b crypto: Fix some clippy warnings 2021-08-13 13:30:09 +02:00
Damir Jelić
f1da77fb6b crypto: Avoid converting numbers in to-device requests to floats
This mainly avoid converting the type field in m.olm.v1.curve25519-aes-sha2
variant of an m.room.encrypted event that gets sent out over to-device
messages.
2021-08-13 13:30:09 +02:00
Damir Jelić
00d1233512 crypto: Upload signatures when we confirm a verification as well 2021-08-13 13:30:09 +02:00
Damir Jelić
3365c10fe3 crypto: Add a missing dispatchTxUpdated call to the verifications 2021-08-13 13:30:09 +02:00
Damir Jelić
c85847df57 crypto: Add a Rust based CrossSigningService 2021-08-13 13:30:09 +02:00
Damir Jelić
b012a0ff75 crypto: Export cross signing related methods from the Rust side 2021-08-13 13:30:09 +02:00
Damir Jelić
e2006f9dc6 Merge remote-tracking branch 'upstream/develop' into rust-verification 2021-07-23 15:03:10 +02:00
Damir Jelić
c551b9e0bb crypto: Fill out the docs for the cross signing service 2021-07-23 14:06:03 +02:00
Damir Jelić
2fc691eed2 crypto: Add a method to request verification to the Device class 2021-07-23 11:54:58 +02:00
Damir Jelić
813b48df6a crypto: Document all the new verification methods on the Rust side 2021-07-23 11:50:34 +02:00
Damir Jelić
52dd4bc454 crypto: Document the private methods of the rusty verification service 2021-07-22 13:31:42 +02:00
Damir Jelić
99ff097fc3 crypto: Move the update dispatching logic into a separate class 2021-07-22 12:10:39 +02:00
Damir Jelić
3993d2d4f2 crypto: Remove some redundant methods from the verification service 2021-07-22 11:25:29 +02:00
Damir Jelić
3fa9fc5b7b crypto: Use a background task to fetch user devices 2021-07-21 16:28:12 +02:00
Damir Jelić
cbed5be810 crypto: Move most of the getters of verification objecs into the olm machine 2021-07-21 16:25:28 +02:00
Damir Jelić
38ce3ebed7 crypto: Move the Device class into a separate file 2021-07-21 15:09:21 +02:00
Damir Jelić
8089e972a5 cyrpto: Document the SasVerification class 2021-07-21 14:58:12 +02:00
Damir Jelić
93615ddba9 crypto: Add docs to the VerificationRequest class 2021-07-21 12:11:11 +02:00
Damir Jelić
b500364322 crypto: Expand the docs for the QrCodeVerification class a bit 2021-07-21 12:10:18 +02:00
Damir Jelić
93f36db43c crypto: Add proper scopes to our verification methods 2021-07-20 16:35:50 +02:00
Damir Jelić
2097f4e6c2 crypto: Document the verification methods in the OlmMachine 2021-07-20 16:34:47 +02:00
Damir Jelić
eae2a51a2d crypto: Refactor and document the QR code verification class 2021-07-20 14:30:34 +02:00
Damir Jelić
b33537fd6e crypto: Use the new CancelInfo struct 2021-07-19 14:21:11 +02:00
Damir Jelić
7650e43362 crypto: Add support to scan QR codes during verification 2021-07-10 20:51:47 +02:00
Benoit Marty
b26aba9fc0 Remove EventDecryptor and inject the cryptoService when needed
Not used anymore in RoomSummaryUpdater, to avoid a DI dependency loop. let's see if this is a problem
2021-07-09 12:50:34 +02:00
Benoit Marty
f609bfaf10 This class is not injected. 2021-07-08 18:39:54 +02:00
Benoit Marty
f8ad024f1b Remove some dead code. 2021-07-08 18:38:49 +02:00
Benoit Marty
54c3b4192e Small cleanup and format 2021-07-08 17:14:45 +02:00
Damir Jelić
d4090c4b0a crypto: Only add our own devices if we're requesting devices for our own user 2021-07-08 16:52:31 +02:00
Benoit Marty
80e80e07b3 To be reverted: temporarily change appId to 'im.vector.app.corroded' and app name 2021-07-08 16:18:29 +02:00
Damir Jelić
33c2184c52 crypto: Allow verifications to be requested 2021-07-08 12:49:44 +02:00
Damir Jelić
d24c94d0f9 crypto: Allow the direct start of the short SAS flow 2021-07-01 13:15:26 +02:00
Damir Jelić
85e4b5eb49 Merge remote-tracking branch 'upstream/develop' into rust-verification 2021-07-01 08:09:33 +02:00
Damir Jelić
7e49760da0 rust: Don't depend on a local rust-sdk 2021-06-30 17:39:36 +02:00
Damir Jelić
cd5aad9a31 crypto: Move the request sending logic into the sender 2021-06-30 16:28:21 +02:00
Damir Jelić
2c1dc053ed crypto: Support answering in-room verifications 2021-06-30 15:48:24 +02:00
Damir Jelić
bcfb121215 crypto: Prepare the verification service to allow starting short SAS flows 2021-06-29 11:12:41 +02:00
Damir Jelić
304c89a56d crypto: Dispatch updates when we receive MAC events 2021-06-29 10:03:53 +02:00
Damir Jelić
53b3f54808 crypto: Add support to accept the short SAS verification flow 2021-06-29 09:28:41 +02:00
Damir Jelić
03499b5309 rust: Update the rust-sdk revision. 2021-06-28 15:30:35 +02:00
Damir Jelić
6bb7d5faaa crypto: Dispatch verification request cancellations as well 2021-06-28 15:25:31 +02:00
Damir Jelić
1f7311a428 crypto: Allow verification requests to be canelled 2021-06-28 14:08:49 +02:00
Damir Jelić
05119bcf90 crypto: Allow devices to be marked manually as verified 2021-06-28 14:08:08 +02:00
Damir Jelić
02b8b1f5b1 crypto: Clean up the SAS verification transaction a bit 2021-06-28 11:37:27 +02:00
Damir Jelić
d21137d910 crypto: Add a state for when we confirmed the QR code 2021-06-28 11:37:27 +02:00
Damir Jelić
4473af85b1 crypto: Move more of the request sending logic into the sender class 2021-06-28 11:37:27 +02:00
Damir Jelić
6523ca5afe crypto: Allow the displaying of QR codes 2021-06-28 11:37:27 +02:00
Damir Jelić
d15269a4bd rust: Add methods for the QR code verification 2021-06-28 11:37:27 +02:00
Damir Jelić
846242217b crypto: Move the VerificationRequest into a separate file 2021-06-28 11:37:27 +02:00
Damir Jelić
f95c4ae088 crypto: Allow cancelling of SAS transactions 2021-06-28 11:37:27 +02:00
Damir Jelić
f854e9cf1c crypto: Remove the intermediately CancelCode and use strings to map over FFI 2021-06-28 11:37:27 +02:00
Damir Jelić
b53b0a0093 crypto: Use a when instead of a big if/else statement 2021-06-28 11:37:27 +02:00
Damir Jelić
948aa1a141 crypto: Correctly pick up our device verification state 2021-06-28 11:37:27 +02:00
Damir Jelić
aad18ebec7 crypto: Move the sendToDevice logic to a common class and use it for verifications 2021-06-28 11:37:27 +02:00
Damir Jelić
6a79d022c3 crypto: Expose the trust state of our devices 2021-06-28 11:37:27 +02:00
Damir Jelić
6649aaca2e crypto: Support SAS verification up to showing emojis 2021-06-28 11:37:14 +02:00
Damir Jelić
e97ce33ed9 Merge remote-tracking branch 'upstream/develop' into rust-verification 2021-06-28 11:36:57 +02:00
Damir Jelić
d00b54929f crypto: Add the scaffolding to connect the SAS verification to the rust side 2021-06-20 22:34:54 +02:00
Damir Jelić
0cb9f6be10 rust: Rework the rest of the sas verification methods 2021-06-18 12:16:55 +02:00
Damir Jelić
a4e1a5bbcb crypto: Initial support to answer to-device verification requests 2021-06-17 13:38:30 +02:00
Damir Jelić
e46578a087 rust: Bind the initial verification request type and methods 2021-06-17 13:36:44 +02:00
Damir Jelić
c0bac69733 crypto-service: Use constants when we check the event type 2021-06-16 13:21:37 +02:00
Damir Jelić
5ad596c3bc crypto: Bind more verification methods and types 2021-06-15 13:22:51 +02:00
Damir Jelić
a144b1f7b5 rust: Fix the build and update our deps 2021-06-15 13:16:30 +02:00
Damir Jelić
f110bf34fa Merge remote-tracking branch 'upstream/develop' into rust 2021-06-15 10:26:16 +02:00
Damir Jelić
688c167166 rust: Upgrade our deps 2021-05-25 16:13:12 +02:00
Damir Jelić
49fa34e997 rust: Switch to the new encryption info branch of the rust-sdk 2021-04-29 13:05:08 +02:00
Damir Jelić
fe4abbbeef crypto: Fix a bunch of linter warnings 2021-04-27 16:33:13 +02:00
Damir Jelić
324cdc4db1 Merge remote-tracking branch 'upstream/develop' into rust 2021-04-20 14:44:02 +02:00
Damir Jelić
326641a7e5 crypto: Document the requestRoomKey method 2021-04-20 14:40:58 +02:00
Damir Jelić
711e607fca crypto: Improve the docs a bit 2021-04-20 14:34:54 +02:00
Damir Jelić
389273d56a crypto: Rename the share_group_session method 2021-04-20 14:34:32 +02:00
Damir Jelić
09c0ca10e5 crypto: Enable the sending of outgoing to-device requests 2021-04-20 14:33:43 +02:00
Damir Jelić
ed902fc42a crypto: Improve the startup log line 2021-04-20 14:33:01 +02:00
Damir Jelić
c5173dde71 crypto: Update the rust-sdk branch we're using 2021-04-20 14:32:43 +02:00
Damir Jelić
8bfb7a6e0c crypto: Connect the room key requesting to the rust side 2021-04-20 13:29:52 +02:00
Damir Jelić
0db07011b1 crypto: Return our own device from the store as well
The Kotlin side doesn't differentiate between our own device and other
devices of our own user while the Rust side does, create and return our
own device when it's requested from the store using trusted data.
2021-04-19 19:25:56 +02:00
Damir Jelić
91d28658fc crypto: Correctly decode the byte array when importing keys 2021-04-19 18:04:11 +02:00
Damir Jelić
0afdcb35f1 crypto: Clean up some log lines 2021-04-14 12:46:29 +02:00
Damir Jelić
2805772d0a crypto: Notify the rest of the code about received room keys 2021-04-14 12:16:46 +02:00
Damir Jelić
3ba29b4ea9 crypto: Prepare outgoing to-device requests to be sent out 2021-04-14 12:16:09 +02:00
Damir Jelić
5b761ef7d1 crypto: Document the rust Device struct 2021-04-14 12:15:47 +02:00
Damir Jelić
aebfef8fa9 crypto: Remove a unused method 2021-04-14 12:15:30 +02:00
Damir Jelić
7d67c79d29 crypto: Use the key import progress listener on the rust side 2021-04-14 12:14:52 +02:00
Damir Jelić
543a638e87 crypto: Forward some more errors from the rust side to the kotlin side 2021-04-12 15:03:28 +02:00
Damir Jelić
0d708bc35a rust: Update our deps 2021-04-12 15:02:47 +02:00
Damir Jelić
e9e3d129ba crypto: Send out some of our requests in parallel 2021-04-09 19:10:25 +02:00
Damir Jelić
99477914df crypto: Remove the higher level Device since it's unlikely we'll be using it 2021-04-09 14:47:59 +02:00
Damir Jelić
9296cab4fc crypto: Expose more device data from the rust side 2021-04-09 13:53:55 +02:00
Damir Jelić
188d2d57c0 crypto: Use a concurrent hashmap for the live devices update logic 2021-04-09 13:53:31 +02:00
Damir Jelić
74a1c226a4 crypto: Introduce some locks for some of our e2ee operations 2021-04-09 12:42:22 +02:00
Damir Jelić
8692f05e34 crypto: Connect the room key discarding logic 2021-04-09 12:35:13 +02:00
Damir Jelić
427eb5e249 Merge remote-tracking branch 'upstream/develop' into rust 2021-04-09 09:47:00 +02:00
Damir Jelić
5253f9708c crypto: Fix a crash when we access the devices before the olmMachine is set up
The crypto service is fully initialized only after the first sync but EA
seems to access live devices before that. This results in a crash since
we now use the olm machine to access devices.
2021-04-08 15:55:38 +02:00
Damir Jelić
edfd1b2fe0 crypto: Get rid of the DeviceKeysManager 2021-04-08 15:55:10 +02:00
Damir Jelić
08d0787cc9 crypto: More docs 2021-04-08 11:18:48 +02:00
Damir Jelić
6d05f5b993 crypto: Rename newCrypto to OlmMachine.kt 2021-04-07 15:41:27 +02:00
Damir Jelić
533895cb38 crypto: Document the Rust side of things 2021-04-07 15:04:43 +02:00
Damir Jelić
336697a38c crypto: Some refactoring on the rust side 2021-04-06 15:36:21 +02:00
Damir Jelić
182fc84186 crypto: Split out the live devices observer 2021-04-02 15:30:07 +02:00
Damir Jelić
0b064f647a crypto: Connect the live CryptoDeviceInfo getter methods to the rust-sdk 2021-04-01 17:44:41 +02:00
Damir Jelić
ef93d9e625 crypto: Remove some more unused methods 2021-04-01 15:59:36 +02:00
Damir Jelić
dc8711be30 crypto: Add some TODOs about locking 2021-03-31 11:38:15 +02:00
Damir Jelić
10c7f5b989 crypto: Handle key export decyrption errors 2021-03-30 14:30:39 +02:00
Damir Jelić
6af8041fb4 crypto: Remove the second key export method 2021-03-30 14:30:39 +02:00
Damir Jelić
9d5ef01ce0 crypto: Get devices from the rust-sdk 2021-03-30 14:30:39 +02:00
Damir Jelić
5533c2acae crypto: Remove more unused code 2021-03-30 14:30:39 +02:00
Damir Jelić
57bb723bac crypto: Connect the key importing to the rust-sdk 2021-03-30 14:30:39 +02:00
Damir Jelić
7f89e33037 crypto: Connect the key exporting to the rust-sdk export method 2021-03-29 16:36:40 +02:00
Damir Jelić
32cf645c5f crypto: Remove the myDeviceInfoHolder 2021-03-26 16:01:01 +01:00
Damir Jelić
d49bdbe016 crypto: Remove the RoomDecryptorProvider 2021-03-26 14:02:04 +01:00
Damir Jelić
32c1fd9c85 crypto: Remove the OlmManager 2021-03-26 10:58:58 +01:00
Damir Jelić
1bff219197 crypto: Remove the event decryptor 2021-03-25 16:07:44 +01:00
Damir Jelić
dace959d69 crypto: Get rid of the roomEncryptorsStore 2021-03-25 15:53:18 +01:00
Damir Jelić
3812162f4f crypto: Move the outgoing request sending logic into separate methods 2021-03-25 13:17:06 +01:00
Damir Jelić
4b157f7915 crypto: Don't use the device list manager in onSyncWillProcess 2021-03-24 17:03:36 +01:00
Damir Jelić
4eeb47dc56 crypto: Remove more unused methods 2021-03-24 16:27:38 +01:00
Damir Jelić
6bc825b0bc crypto: Remove the UploadKeysTask copy 2021-03-24 16:15:52 +01:00
Damir Jelić
36451e5410 crypto: Remove the unused olm unwedging method 2021-03-24 16:01:40 +01:00
Damir Jelić
6e53ab2bcf crypto: Remove an unused method 2021-03-24 16:01:19 +01:00
Damir Jelić
629623f720 crypto: Remove the one-time keys uploader 2021-03-24 16:00:51 +01:00
Damir Jelić
555d24fea5 crypto: Remove the delete device with password task 2021-03-24 15:54:56 +01:00
Damir Jelić
1773a361d1 crypto: Remove the method to delete devices with an user password 2021-03-24 15:49:31 +01:00
Damir Jelić
758e8f7fb6 crypto: Remove the cancelRoomKeyRequest method 2021-03-24 15:45:03 +01:00
Damir Jelić
67f238069a crypto: Remove the gossipping managers from the crypto service 2021-03-24 15:44:33 +01:00
Damir Jelić
5b2629ba00 crypto: Remove the incoming gossipping manager 2021-03-24 15:21:39 +01:00
Damir Jelić
981e6b65b0 crypto: Remove the requestRoomKeyForEvent method
This method doesn't seem to be used anywhere, only a single tests seems
to call it. The funcionality has been moved to the rust-sdk and tested
there.
2021-03-24 14:20:39 +01:00
Damir Jelić
515c9be2d9 crypto: Remove the CryptoSyncHandler 2021-03-24 14:17:26 +01:00
Damir Jelić
f5348d6c9d crypto: Remove the object signer from the crypto service 2021-03-24 14:02:32 +01:00
Damir Jelić
e4ac5f6c13 crypto: Don't track users on the kotlin side of things 2021-03-24 13:45:15 +01:00
Damir Jelić
669a5f9815 crypto: Remove the MXOlmDevice 2021-03-24 12:35:21 +01:00
Damir Jelić
7f86f512ed crypto: Remove the one-time key uploader since Rust is handling this 2021-03-24 12:28:41 +01:00
Damir Jelić
ab8d365c10 rust: Build the bindings in release mode 2021-03-15 13:47:51 +01:00
Damir Jelić
c97e384790 crypto: Hook up the event encryption to use the rust-sdk 2021-03-05 16:12:24 +01:00
Damir Jelić
5f848093b9 crypto: Send out to-device requests to share the room key 2021-03-05 13:27:32 +01:00
Damir Jelić
4c44a5e108 crypto: Add support to claim one-time keys 2021-03-04 17:14:48 +01:00
Damir Jelić
da35c9b6bd crypto: Send out key query requests that the rust-sdk gives us. 2021-03-04 13:12:16 +01:00
Damir Jelić
c8c7f23298 rust: Add a README explaining how to build the bindings 2021-02-26 16:40:38 +01:00
Damir Jelić
c828326755 rust: Fix the aarch64 target install dir 2021-02-22 16:04:32 +01:00
Damir Jelić
c33a4710fe ruts: Use the latest master of uniffi. 2021-02-22 16:04:18 +01:00
Damir Jelić
891622d64b crypto: Propagate decryption errors to the kotlin side 2021-02-19 16:33:30 +01:00
Damir Jelić
3b73adf3c5 crypto: Connect the decryption logic to the rust olm machine 2021-02-19 15:42:07 +01:00
Damir Jelić
8b1b771ae6 gitignore: Ignore the generated uniffi sources 2021-02-17 16:21:58 +01:00
Damir Jelić
f6d31f15f1 gradle: Remove support for unsigned integers 2021-02-17 16:21:58 +01:00
Damir Jelić
e2692ec604 crypto: Forward sync crypto chagnes to the rust side 2021-02-17 16:21:58 +01:00
Damir Jelić
01149c8d45 rust: Clean up our deps 2021-02-17 16:21:58 +01:00
Damir Jelić
930e6f4e9b rust: Remove an unused method 2021-02-17 16:21:58 +01:00
Damir Jelić
504e1e31bd rust: Move the logger into a separate module 2021-02-17 16:21:58 +01:00
Damir Jelić
2d620e2ddf rust: Move the errors into a separate module 2021-02-17 16:21:58 +01:00
Damir Jelić
75838fda2a rust: Move the olm machine into a separate module 2021-02-17 16:21:58 +01:00
Damir Jelić
d50df9537c crypto: Connect the rust logger to timber 2021-02-17 16:21:58 +01:00
Damir Jelić
4589b882c0 rust: Add support to forward rust logs to the kotlin side 2021-02-17 16:21:58 +01:00
Damir Jelić
3ddbe7e69b crypto: Use the rust crypto layer to upload device/one-time keys 2021-02-17 16:21:58 +01:00
Damir Jelić
1eeb97ec51 crypto: Expose the new outgoing request method 2021-02-17 16:21:58 +01:00
Damir Jelić
e16c5d07e5 gradle.properties: Increase the heap size since it seems to run out of memory 2021-02-17 16:21:58 +01:00
Damir Jelić
f01e2460e1 crypto: Enable the use of unsigned ints for now and update the bindings wrapper 2021-02-17 16:21:58 +01:00
Damir Jelić
628f530633 rust-sdk: Add a method to get the ougtoing requests 2021-02-17 16:21:57 +01:00
Damir Jelić
0b9be11d85 rust-sdk: Change the sync receiving API to make it a bit more type safe 2021-02-17 16:21:57 +01:00
Damir Jelić
a557c05890 rust-sdk: Add a Makefile to build the bindings and put them into the jni folder 2021-02-17 16:21:57 +01:00
Damir Jelić
5886dc1cbc gitignore: Update the gitignore file for the rust-sdk 2021-02-17 16:21:57 +01:00
Damir Jelić
de5a02b02a matrix-sdk: Initial import of the rust-sdk crypto layer. 2021-02-17 16:21:57 +01:00
2876 changed files with 94392 additions and 25789 deletions

3
.gitattributes vendored Normal file
View File

@@ -0,0 +1,3 @@
**/snapshots/**/*.png filter=lfs diff=lfs merge=lfs -text
*.realm filter=lfs diff=lfs merge=lfs -text
**/matrix-rust-sdk-crypto.aar filter=lfs diff=lfs merge=lfs -text

View File

@@ -5,7 +5,7 @@ body:
- type: markdown
attributes:
value: |
Thank you for taking the time to propose a new feature or make a suggestion.
Thank you for taking the time to propose an enhancement to an existing feature. If you would like to propose a new feature or a major cross-platform change, please [start a discussion here](https://github.com/vector-im/element-meta/discussions/new?category=ideas).
- type: textarea
id: usecase
attributes:

View File

@@ -10,7 +10,6 @@ body:
id: checklist
attributes:
label: Release checklist
description: For the template example, we are releasing the version 1.2.3. Replace 1.2.3 with the version in the issue body.
placeholder: |
If you are reading this, you have deleted the content of the release template: undo the deletion or start again.
value: |
@@ -20,32 +19,11 @@ body:
- [ ] Check the update of the store descriptions (using Google Translate if necessary) to ensure that the changes are acceptable to be published to the stores.
- [ ] While Weblate is locked, and after the PR from Weblate has been merged, handle all the TODOs in the main `strings.xml` file
- [ ] Run the script `./tools/release/pushPlayStoreMetaData.sh`. You can check in the GooglePlay console the Activity log to check the effect.
- [ ] Ensure all [the required PRs](https://github.com/vector-im/element-android/pulls?q=is%3Aopen+is%3Apr+label%3AZ-NextRelease) have been merged
### Do the release
- [ ] Make sure `develop` and `main` are up to date (git pull)
- [ ] Checkout develop and create a release with gitflow, branch name `release/1.2.3`
- [ ] Check the crashes from the PlayStore
- [ ] Check the rageshake with the current dev version: https://github.com/matrix-org/element-android-rageshakes/labels/1.2.3-dev
- [ ] Run the integration test, and especially `UiAllScreensSanityTest.allScreensTest()`
- [ ] Create an account on matrix.org and do some smoke tests that the sanity test does not cover like: 1-1 call, 1-1 video call, Jitsi call for instance
- [ ] Run towncrier: `towncrier build --version v1.2.3 --draft` (remove `--draft` do write the file CHANGES.md)
- [ ] Check that the folder `changelog.d` is empty. It can happen that some remaining files stay here
- [ ] Check the file CHANGES.md consistency. It's possible to reorder items (most important changes first) or change their section if relevant. Also an opportunity to fix some typo, or rewrite things
- [ ] Add file for fastlane under ./fastlane/metadata/android/en-US/changelogs
- [ ] (optional) Push the branch and start a draft PR (will not be merged), to check that the CI is happy with all the changes.
- [ ] Finish release with gitflow, delete the draft PR (if created)
- [ ] Push `main` and the new tag `v1.2.3` to origin
- [ ] Checkout `develop`
- [ ] Increase version (versionPatch + 2) in `./vector/build.gradle`
- [ ] Change the value of SDK_VERSION in the file `./matrix-sdk-android/build.gradle`
- [ ] Commit and push `develop`
- [ ] Wait for [Buildkite](https://buildkite.com/matrix-dot-org/element-android/builds?branch=main) to build the `main` branch.
- [ ] Run the script `~/scripts/releaseElement.sh`. It will download the APKs from Buildkite check them and sign them.
- [ ] Install the APK on your phone to check that the upgrade went well (no init sync, etc.)
- [ ] Create the release on gitHub [from the tag](https://github.com/vector-im/element-android/tags), copy paste the block from the file CHANGES.md
- [ ] Add the 4 signed APKs to the GitHub release
- [ ] Ping the Android Internal room
- [ ] Run the script ./tools/release/releaseScript.sh and follow the steps.
### Once tested and validated internally
@@ -82,29 +60,9 @@ body:
The SDK2 and the sample app are released only when Element has been pushed to production.
- [ ] Checkout the `main` branch on Element Android project
- [ ] On the [SDK2 project](https://github.com/matrix-org/matrix-android-sdk2), run the script ./tools/releaseScript.sh and follow the instructions.
#### On the SDK2 project
https://github.com/matrix-org/matrix-android-sdk2
- [ ] Create a release with GitFlow
- [ ] Update the value of VERSION_NAME in the file gradle.properties
- [ ] Update the files `./build.gradle` and `./gradle/gradle-wrapper.properties` manually, to use the latest version for the dependency. You can get inspired by the same files on Element Android project.
- [ ] Run the script `./tools/import_from_element.sh`
- [ ] Check the diff in the file `./matrix-sdk-android/build.gradle` and restore what may have been erased (in particular the line `apply plugin: "com.vanniktech.maven.publish"` and the line about the version)
- [ ] Let the script finish to build the library
- [ ] Update the file `CHANGES.md`
- [ ] Finish the release using GitFlow
- [ ] Push the branch `main`, the new tag and the branch `develop` to origin
##### Release on MavenCentral
- [ ] Checkout the branch `main`
- [ ] Run the command `./gradlew publish --no-daemon --no-parallel`. You'll need some non-public element to do so
- [ ] Run the command `./gradlew closeAndReleaseRepository`. If it is working well, you can jump directly to the final step of this section.
If `./gradlew closeAndReleaseRepository` fails (for instance, several repositories are waiting to be handled), you have to close and release the repository manually. Do the following steps:
Note: if the step `./gradlew closeAndReleaseRepository` fails (for instance, several repositories are waiting to be handled), you have to close and release the repository manually. Do the following steps:
- [ ] Connect to https://s01.oss.sonatype.org
- [ ] Click on Staging Repositories and check the the files have been uploaded
@@ -112,15 +70,6 @@ body:
- [ ] Wait (check Activity tab until step "Repository closed" is displayed)
- [ ] Click on release. The staging repository will disappear
Final step
- [ ] Check that the release is available in https://repo1.maven.org/maven2/org/matrix/android/matrix-android-sdk2/ (it can take a few minutes)
##### Release on GitHub
- [ ] Create the release on GitHub from [the tag](https://github.com/matrix-org/matrix-android-sdk2/tags)
- [ ] Upload the AAR on the GitHub release
### Android SDK2 sample
https://github.com/matrix-org/matrix-android-sdk2-sample

View File

@@ -34,13 +34,13 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Assemble ${{ matrix.target }} debug apk
run: ./gradlew assemble${{ matrix.target }}Debug $CI_GRADLE_ARG_PROPERTIES
run: ./gradlew assemble${{ matrix.target }}KotlinCryptoDebug $CI_GRADLE_ARG_PROPERTIES
- name: Upload ${{ matrix.target }} debug APKs
uses: actions/upload-artifact@v3
with:
name: vector-${{ matrix.target }}-debug
path: |
vector/build/outputs/apk/*/debug/*.apk
vector-app/build/outputs/apk/*/debug/*.apk
release:
name: Build unsigned GPlay APKs
@@ -59,13 +59,13 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Assemble GPlay unsigned apk
run: ./gradlew clean assembleGplayRelease $CI_GRADLE_ARG_PROPERTIES
run: ./gradlew clean assembleGplayKotlinCryptoRelease $CI_GRADLE_ARG_PROPERTIES
- name: Upload Gplay unsigned APKs
uses: actions/upload-artifact@v3
with:
name: vector-gplay-release-unsigned
path: |
vector/build/outputs/apk/*/release/*.apk
vector-app/build/outputs/apk/*/release/*.apk
exodus:
runs-on: ubuntu-latest
@@ -81,7 +81,7 @@ jobs:
- name: Execute exodus-standalone
uses: docker://exodusprivacy/exodus-standalone:latest
with:
args: /github/workspace/gplay/release/vector-gplay-universal-release-unsigned.apk -j -o /github/workspace/exodus.json
args: /github/workspace/gplayKotlinCrypto/release/vector-gplay-kotlinCrypto-universal-release-unsigned.apk -j -o /github/workspace/exodus.json
- name: Upload exodus json report
uses: actions/upload-artifact@v3
with:

View File

@@ -11,7 +11,7 @@ jobs:
- run: |
npm install --save-dev @babel/plugin-transform-flow-strip-types
- name: Danger
uses: danger/danger-js@11.1.1
uses: danger/danger-js@11.2.0
with:
args: "--dangerfile tools/danger/dangerfile.js"
env:

View File

@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build docs
run: ./gradlew dokkaHtml

37
.github/workflows/elementr.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: ER APK Build
on:
pull_request: { }
push:
branches: [ develop ]
# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3072m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.daemon.jvm.options="-Xmx2560m" -Dkotlin.incremental=false
CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 2 --no-daemon
jobs:
debug:
name: Build debug APKs ER
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
strategy:
fail-fast: false
matrix:
target: [ Gplay, Fdroid ]
# Allow all jobs on develop. Just one per PR.
concurrency:
group: ${{ github.ref == 'refs/heads/develop' && format('elementr-{0}-{1}', matrix.target, github.sha) || format('build-er-debug-{0}-{1}', matrix.target, github.ref) }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Assemble ${{ matrix.target }} debug apk
run: ./gradlew assemble${{ matrix.target }}RustCryptoDebug $CI_GRADLE_ARG_PROPERTIES

View File

@@ -38,7 +38,7 @@ jobs:
yes n | towncrier build --version nightly
- name: Build and upload Gplay Nightly APK
run: |
./gradlew assembleGplayNightly appDistributionUploadGplayNightly $CI_GRADLE_ARG_PROPERTIES
./gradlew assembleGplayKotlinCryptoNightly appDistributionUploadGplayKotlinCryptoNightly $CI_GRADLE_ARG_PROPERTIES
env:
ELEMENT_ANDROID_NIGHTLY_KEYID: ${{ secrets.ELEMENT_ANDROID_NIGHTLY_KEYID }}
ELEMENT_ANDROID_NIGHTLY_KEYPASSWORD: ${{ secrets.ELEMENT_ANDROID_NIGHTLY_KEYPASSWORD }}

46
.github/workflows/nightly_er.yml vendored Normal file
View File

@@ -0,0 +1,46 @@
name: Build and release Element R nightly APK
on:
schedule:
# Every nights at 4
- cron: "0 4 * * *"
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3072m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.daemon.jvm.options="-Xmx2560m" -Dkotlin.incremental=false
CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 2 --no-daemon
jobs:
nightly:
name: Build and publish ER nightly Gplay APK to Firebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Install towncrier
run: |
python3 -m pip install towncrier
- name: Prepare changelog file
run: |
mv towncrier.toml towncrier.toml.bak
sed 's/CHANGES\.md/CHANGES_NIGHTLY\.md/' towncrier.toml.bak > towncrier.toml
rm towncrier.toml.bak
yes n | towncrier build --version nightly
- name: Build and upload Gplay Nightly ER APK
run: |
./gradlew assembleGplayRustCryptoNightly appDistributionUploadGplayRustCryptoNightly $CI_GRADLE_ARG_PROPERTIES
env:
ELEMENT_ANDROID_NIGHTLY_KEYID: ${{ secrets.ELEMENT_ANDROID_NIGHTLY_KEYID }}
ELEMENT_ANDROID_NIGHTLY_KEYPASSWORD: ${{ secrets.ELEMENT_ANDROID_NIGHTLY_KEYPASSWORD }}
ELEMENT_ANDROID_NIGHTLY_STOREPASSWORD: ${{ secrets.ELEMENT_ANDROID_NIGHTLY_STOREPASSWORD }}
FIREBASE_TOKEN: ${{ secrets.ELEMENT_R_NIGHTLY_FIREBASE_TOKEN }}

View File

@@ -16,7 +16,7 @@ env:
jobs:
# More info on should-i-run:
# If this fails to run (the IF doesn't complete) then the needs will not be satisfied for any of the
# If this fails to run (the IF doesn't complete) then the needs will not be satisfied for any of the
# other jobs below, so none will run.
# except for the notification job at the bottom which will run all the time, unless should-i-run isn't
# successful, or all the other jobs have succeeded
@@ -27,11 +27,12 @@ jobs:
if: github.event.pull_request.merged # Additionally require PR to have been completely merged.
steps:
- run: echo "Run those tests!" # no-op success
ui-tests:
name: UI Tests (Synapse)
needs: should-i-run
runs-on: macos-latest
runs-on: buildjet-4vcpu-ubuntu-2204
timeout-minutes: 90 # We might need to increase it if the time for tests grows
strategy:
fail-fast: false
matrix:
@@ -52,7 +53,7 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Start synapse server
uses: michaelkaye/setup-matrix-synapse@v1.0.3
uses: michaelkaye/setup-matrix-synapse@v1.0.4
with:
uploadLogs: true
httpPort: 8080
@@ -94,7 +95,7 @@ jobs:
needs:
- should-i-run
- ui-tests
if: always() && (needs.should-i-run.result == 'success' ) && ((needs.codecov-units.result != 'success' ) || (needs.ui-tests.result != 'success') || (needs.integration-tests.result != 'success'))
if: always() && (needs.should-i-run.result == 'success' ) && (needs.ui-tests.result != 'success')
# No concurrency required, runs every time on a schedule.
steps:
- uses: michaelkaye/matrix-hookshot-action@v1.0.0

View File

@@ -7,7 +7,7 @@ on:
# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3072m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.daemon.jvm.options="-Xmx2560m" -Dkotlin.incremental=false
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3072m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -XX:MaxPermSize=512m -Dkotlin.daemon.jvm.options="-Xmx2g" -Dkotlin.incremental=false
CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 2 --no-daemon
jobs:
@@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- name: Run knit
run: |
./gradlew knitCheck
./gradlew knitCheck $CI_GRADLE_ARG_PROPERTIES
# Check the project: ktlint, detekt, lint
lint:
@@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v3
- name: Run ktlint
run: |
./gradlew ktlintCheck --continue
./gradlew ktlintCheck $CI_GRADLE_ARG_PROPERTIES --continue
- name: Run detekt
if: always()
run: |
@@ -49,8 +49,8 @@ jobs:
- name: Run lint
# Not always, if ktlint or detekt fail, avoid running the long lint check.
run: |
./gradlew lintGplayRelease $CI_GRADLE_ARG_PROPERTIES
./gradlew lintFdroidRelease $CI_GRADLE_ARG_PROPERTIES
./gradlew vector-app:lintGplayRelease $CI_GRADLE_ARG_PROPERTIES
./gradlew vector-app:lintFdroidRelease $CI_GRADLE_ARG_PROPERTIES
- name: Upload reports
if: always()
uses: actions/upload-artifact@v3
@@ -66,7 +66,7 @@ jobs:
yarn add danger-plugin-lint-report --dev
- name: Danger lint
if: always()
uses: danger/danger-js@11.1.1
uses: danger/danger-js@11.2.0
with:
args: "--dangerfile tools/danger/dangerfile-lint.js"
env:

View File

@@ -1,19 +1,23 @@
name: Test
on:
pull_request: {}
pull_request: { }
push:
branches: [main, develop]
branches: [ main, develop ]
# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3072m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.daemon.jvm.options="-Xmx2560m" -Dkotlin.incremental=false
CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 2 --no-daemon
CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 4 --no-daemon
jobs:
tests:
name: Runs all tests
runs-on: macos-latest # for the emulator
runs-on: buildjet-4vcpu-ubuntu-2204
timeout-minutes: 90 # We might need to increase it if the time for tests grows
strategy:
matrix:
api-level: [28]
# Allow all jobs on main and develop. Just one per PR.
concurrency:
group: ${{ github.ref == 'refs/heads/main' && format('unit-tests-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('unit-tests-develop-{0}', github.sha) || format('unit-tests-{0}', github.ref) }}
@@ -21,59 +25,91 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
lfs: true
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
gradle-home-cache-cleanup: ${{ github.ref == 'refs/heads/develop' }}
- name: Run screenshot tests
run: ./gradlew verifyScreenshots $CI_GRADLE_ARG_PROPERTIES
- name: Archive Screenshot Results on Error
if: failure()
uses: actions/upload-artifact@v3
with:
name: screenshot-results
path: |
**/out/failures/
**/build/reports/tests/*UnitTest/
- uses: actions/setup-python@v4
with:
python-version: 3.8
- uses: michaelkaye/setup-matrix-synapse@v1.0.3
- uses: michaelkaye/setup-matrix-synapse@v1.0.4
with:
uploadLogs: true
httpPort: 8080
disableRateLimiting: true
public_baseurl: "http://10.0.2.2:8080/"
- name: Run all the codecoverage tests at once
id: tests
uses: reactivecircus/android-emulator-runner@v2
continue-on-error: true
# continue-on-error: true
with:
api-level: 28
api-level: ${{ matrix.api-level }}
arch: x86
profile: Nexus 5X
target: playstore
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
emulator-build: 7425822
script: |
./gradlew unitTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
# NB: continue-on-error marks steps.tests.conclusion = 'success' but leaves stes.tests.outcome = 'failure'
- name: Run all the codecoverage tests at once (retry if emulator failed)
uses: reactivecircus/android-emulator-runner@v2
if: always() && steps.tests.outcome == 'failure' # don't run if previous step succeeded.
with:
api-level: 28
arch: x86
profile: Nexus 5X
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
emulator-build: 7425822
# emulator-build: 7425822
script: |
./gradlew gatherGplayDebugStringTemplates $CI_GRADLE_ARG_PROPERTIES
./gradlew unitTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
- run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
if: always() # we may have failed a previous step and retried, that's OK
# NB: continue-on-error marks steps.tests.conclusion = 'success' but leaves steps.tests.outcome = 'failure'
### - name: Run all the codecoverage tests at once (retry if emulator failed)
### uses: reactivecircus/android-emulator-runner@v2
### if: always() && steps.tests.outcome == 'failure' # don't run if previous step succeeded.
### with:
### api-level: 28
### arch: x86
### profile: Nexus 5X
### force-avd-creation: false
### emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
### disable-animations: true
### emulator-build: 7425822
### script: |
### ./gradlew gatherGplayDebugStringTemplates $CI_GRADLE_ARG_PROPERTIES
### ./gradlew unitTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
### ./gradlew instrumentationTestsWithCoverage $CI_GRADLE_ARG_PROPERTIES
### ./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES
- name: Upload Integration Test Report Log
uses: actions/upload-artifact@v3
if: always()
with:
name: integration-test-error-results
path: |
*/build/outputs/androidTest-results/connected/
*/build/reports/androidTests/connected/
# we may have failed a previous step and retried, that's OK
- name: Publish results to Sonar
env:
GITHUB_TOKEN: ${{ secrets.SONARQUBE_GITHUB_API_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }}
if: ${{ always() && env.GITHUB_TOKEN != '' && env.SONAR_TOKEN != '' && env.ORG_GRADLE_PROJECT_SONAR_LOGIN != '' }}
run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
- name: Format unit test results
if: always()
@@ -91,26 +127,26 @@ jobs:
# Unneeded as part of the test suite above, kept around in case we want to re-enable them.
#
# # Build Android Tests
# build-android-tests:
# name: Build Android Tests
# runs-on: ubuntu-latest
# build-android-tests:
# name: Build Android Tests
# runs-on: ubuntu-latest
# concurrency:
# group: ${{ github.ref == 'refs/heads/main' && format('unit-tests-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('unit-tests-develop-{0}', github.sha) || format('build-android-tests-{0}', github.ref) }}
# cancel-in-progress: true
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-java@v3
# with:
# distribution: 'adopt'
# java-version: 11
# - uses: actions/cache@v3
# with:
# path: |
# ~/.gradle/caches
# ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
# - name: Build Android Tests
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-java@v3
# with:
# distribution: 'adopt'
# java-version: 11
# - uses: actions/cache@v3
# with:
# path: |
# ~/.gradle/caches
# ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
# - name: Build Android Tests
# run: ./gradlew clean assembleAndroidTest $CI_GRADLE_ARG_PROPERTIES

View File

@@ -10,7 +10,7 @@ jobs:
# Skip in forks
if: github.repository == 'vector-im/element-android'
steps:
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
- uses: alex-page/github-project-automation-plus@1f8873e97e3c8f58161a323b7c568c1f623a1c4d
with:
project: Issue triage
column: Incoming

View File

@@ -17,7 +17,8 @@ jobs:
contains(github.event.issue.labels.*.name, 'Z-IA') ||
contains(github.event.issue.labels.*.name, 'A-Themes-Custom') ||
contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') ||
contains(github.event.issue.labels.*.name, 'A-Tags')
contains(github.event.issue.labels.*.name, 'A-Tags') ||
contains(github.event.issue.labels.*.name, 'A-Rich-Text-Editor')
steps:
- uses: actions/github-script@v5
with:
@@ -29,6 +30,23 @@ jobs:
labels: ['Z-Labs']
})
apply_Help-Wanted_label:
name: Add "Help Wanted" label to all "good first issue" and Hacktoberfest
runs-on: ubuntu-latest
if: >
contains(github.event.issue.labels.*.name, 'good first issue') ||
contains(github.event.issue.labels.*.name, 'Hacktoberfest')
steps:
- uses: actions/github-script@v5
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['Help Wanted']
})
move_needs_info_issues:
name: X-Needs-Info issues to Need info column on triage board
runs-on: ubuntu-latest
@@ -48,7 +66,13 @@ jobs:
# Skip in forks
if: >
github.repository == 'vector-im/element-android' &&
contains(github.event.issue.labels.*.name, 'X-Needs-Design')
contains(github.event.issue.labels.*.name, 'X-Needs-Design') &&
(contains(github.event.issue.labels.*.name, 'S-Critical') &&
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
contains(github.event.issue.labels.*.name, 'O-Occasional')) ||
(contains(github.event.issue.labels.*.name, 'S-Major') &&
contains(github.event.issue.labels.*.name, 'O-Frequent')) ||
contains(github.event.issue.labels.*.name, 'A11y'))
steps:
- uses: octokit/graphql-action@v2.x
id: add_to_project
@@ -56,8 +80,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -80,8 +104,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -98,15 +122,16 @@ jobs:
# Skip in forks
if: >
github.repository == 'vector-im/element-android' &&
(contains(github.event.issue.labels.*.name, 'Team: Delight'))
(contains(github.event.issue.labels.*.name, 'Team: Delight') ||
contains(github.event.issue.labels.*.name, 'Z-AppLayout'))
steps:
- uses: octokit/graphql-action@v2.x
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -130,8 +155,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -141,32 +166,6 @@ jobs:
env:
PROJECT_ID: "PN_kwDOAM0swc2KCw"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
move_threads_issues:
name: A-Threads to Thread board
runs-on: ubuntu-latest
# Skip in forks
if: >
github.repository == 'vector-im/element-android' &&
contains(github.event.issue.labels.*.name, 'A-Threads')
steps:
- uses: octokit/graphql-action@v2.x
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
id
}
}
}
projectid: ${{ env.PROJECT_ID }}
contentid: ${{ github.event.issue.node_id }}
env:
PROJECT_ID: "PN_kwDOAM0swc0rRA"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
move_message_bubbles_issues:
name: A-Message-Bubbles to Message bubbles board
runs-on: ubuntu-latest
@@ -180,8 +179,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -205,8 +204,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -230,8 +229,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -260,8 +259,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -271,3 +270,105 @@ jobs:
env:
PROJECT_ID: "PN_kwDOAM0swc4ABTXY"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
ps_features1:
name: Add labelled issues to PS features team 1
runs-on: ubuntu-latest
if: >
contains(github.event.issue.labels.*.name, 'A-Polls') ||
contains(github.event.issue.labels.*.name, 'A-Location-Sharing') ||
(contains(github.event.issue.labels.*.name, 'A-Voice-Messages') &&
!contains(github.event.issue.labels.*.name, 'A-Broadcast')) ||
(contains(github.event.issue.labels.*.name, 'A-Session-Mgmt') &&
contains(github.event.issue.labels.*.name, 'A-User-Settings'))
steps:
- uses: octokit/graphql-action@v2.x
id: add_to_project
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
}
projectid: ${{ env.PROJECT_ID }}
contentid: ${{ github.event.issue.node_id }}
env:
PROJECT_ID: "PVT_kwDOAM0swc4AHJKF"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
ps_features2:
name: Add labelled issues to PS features team 2
runs-on: ubuntu-latest
if: >
contains(github.event.issue.labels.*.name, 'A-DM-Start') ||
contains(github.event.issue.labels.*.name, 'A-Broadcast')
steps:
- uses: octokit/graphql-action@v2.x
id: add_to_project
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
}
projectid: ${{ env.PROJECT_ID }}
contentid: ${{ github.event.issue.node_id }}
env:
PROJECT_ID: "PVT_kwDOAM0swc4AHJKd"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
ps_features3:
name: Add labelled issues to PS features team 3
runs-on: ubuntu-latest
if: >
contains(github.event.issue.labels.*.name, 'A-Rich-Text-Editor')
steps:
- uses: octokit/graphql-action@v2.x
id: add_to_project
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
}
projectid: ${{ env.PROJECT_ID }}
contentid: ${{ github.event.issue.node_id }}
env:
PROJECT_ID: "PVT_kwDOAM0swc4AHJKW"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
voip:
name: Add labelled issues to VoIP project board
runs-on: ubuntu-latest
if: >
contains(github.event.issue.labels.*.name, 'Team: VoIP')
steps:
- uses: octokit/graphql-action@v2.x
id: add_to_project
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
}
projectid: ${{ env.PROJECT_ID }}
contentid: ${{ github.event.issue.node_id }}
env:
PROJECT_ID: "PVT_kwDOAM0swc4ABMIk"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}

View File

@@ -60,8 +60,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!, $contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}
@@ -129,8 +129,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:ID!, $contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
item {
id
}
}

View File

@@ -24,10 +24,10 @@ jobs:
contains(github.event.issue.labels.*.name, 'A11y') &&
contains(github.event.issue.labels.*.name, 'O-Frequent'))
steps:
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
- uses: alex-page/github-project-automation-plus@1f8873e97e3c8f58161a323b7c568c1f623a1c4d
with:
project: Android App Team
column: P1
column: Important Issues & Topics (P1)
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
P1_issues_to_crypto_team_workboard:
@@ -50,7 +50,7 @@ jobs:
contains(github.event.issue.labels.*.name, 'A11y') &&
contains(github.event.issue.labels.*.name, 'O-Frequent')))
steps:
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
- uses: alex-page/github-project-automation-plus@1f8873e97e3c8f58161a323b7c568c1f623a1c4d
with:
project: Crypto Team
column: Ready

View File

@@ -28,7 +28,7 @@ jobs:
echo "ALREADY_IN_BOARD=false" >> $GITHUB_ENV
fi
- name: Move issue
uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
uses: alex-page/github-project-automation-plus@1f8873e97e3c8f58161a323b7c568c1f623a1c4d
if: ${{ env.ALREADY_IN_BOARD == 'true' }}
with:
project: Issue triage

15
.github/workflows/validate-lfs.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: Validate Git LFS
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Validate
steps:
- uses: actions/checkout@v3
with:
lfs: 'true'
- run: |
./tools/validate_lfs.sh

11
.gitignore vendored
View File

@@ -11,6 +11,9 @@
/benchmark-out
/captures
.externalNativeBuild
rust-sdk/target/*
rust-sdk/src/uniffi/*
Cargo.lock
/tmp
/fastlane/private
@@ -22,3 +25,11 @@
/package.json
/yarn.lock
/node_modules
**/out/failures
# For manual dependency to rust crypto sdk
matrix-sdk-android/src/main/jniLibs/
matrix-sdk-android/libs/crypto-android-release.aar
matrix-sdk-android/libs/matrix-rust-sdk-crypto.aar

View File

@@ -1,3 +1,401 @@
Changes in Element 1.5.11 (2022-12-07)
======================================
Bugfixes 🐛
----------
- Fix crash when the network is not available. ([#7725](https://github.com/vector-im/element-android/issues/7725))
Changes in Element v1.5.10 (2022-11-30)
=======================================
Features ✨
----------
- Add setting to allow disabling direct share ([#2725](https://github.com/vector-im/element-android/issues/2725))
- [Device Manager] Toggle IP address visibility ([#7546](https://github.com/vector-im/element-android/issues/7546))
- New implementation of the full screen mode for the Rich Text Editor. ([#7577](https://github.com/vector-im/element-android/issues/7577))
Bugfixes 🐛
----------
- Fix italic text is truncated when bubble mode and markdown is enabled ([#5679](https://github.com/vector-im/element-android/issues/5679))
- Missing translations on "replyTo" messages ([#7555](https://github.com/vector-im/element-android/issues/7555))
- ANR on session start when sending client info is enabled ([#7604](https://github.com/vector-im/element-android/issues/7604))
- Make the plain text mode layout of the RTE more compact. ([#7620](https://github.com/vector-im/element-android/issues/7620))
- Push notification for thread message is now shown correctly when user observes rooms main timeline ([#7634](https://github.com/vector-im/element-android/issues/7634))
- Voice Broadcast - Fix playback stuck in buffering mode ([#7646](https://github.com/vector-im/element-android/issues/7646))
In development 🚧
----------------
- Voice Broadcast - Handle redaction of the state events on the listener and recorder sides ([#7629](https://github.com/vector-im/element-android/issues/7629))
- Voice Broadcast - Update the buffering display in the timeline ([#7655](https://github.com/vector-im/element-android/issues/7655))
- Voice Broadcast - Remove voice messages related to a VB from the room attachments ([#7656](https://github.com/vector-im/element-android/issues/7656))
SDK API changes ⚠️
------------------
- Added support for read receipts in threads. Now user in a room can have multiple read receipts (one per thread + one in main thread + one without threadId) ([#6996](https://github.com/vector-im/element-android/issues/6996))
- Sync Filter now taking in account homeserver capabilities to not pass unsupported parameters.
Sync Filter is now configured by providing SyncFilterBuilder class instance, instead of Filter to identify Filter changes related to homeserver capabilities ([#7626](https://github.com/vector-im/element-android/issues/7626))
Other changes
-------------
- Remove usage of Buildkite. ([#7583](https://github.com/vector-im/element-android/issues/7583))
- Better validation of edits ([#7594](https://github.com/vector-im/element-android/issues/7594))
Changes in Element v1.5.8 (2022-11-17)
======================================
Features ✨
----------
- [Session manager] Multi-session signout ([#7418](https://github.com/vector-im/element-android/issues/7418))
- Rich text editor: add full screen mode. ([#7436](https://github.com/vector-im/element-android/issues/7436))
- [Rich text editor] Add plain text mode ([#7452](https://github.com/vector-im/element-android/issues/7452))
- Move TypingView inside the timeline items. ([#7496](https://github.com/vector-im/element-android/issues/7496))
- Push notifications toggle: align implementation for current session ([#7512](https://github.com/vector-im/element-android/issues/7512))
- Voice messages - Persist the playback position across different screens ([#7582](https://github.com/vector-im/element-android/issues/7582))
Bugfixes 🐛
----------
- [Voice Broadcast] Do not display the recorder view for a live broadcast started from another session ([#7431](https://github.com/vector-im/element-android/issues/7431))
- [Session manager] Hide push notification toggle when there is no server support ([#7457](https://github.com/vector-im/element-android/issues/7457))
- Fix rich text editor textfield not growing to fill parent on full screen. ([#7491](https://github.com/vector-im/element-android/issues/7491))
- Fix duplicated mention pills in some cases ([#7501](https://github.com/vector-im/element-android/issues/7501))
- Voice Broadcast - Fix duplicated voice messages in the internal playlist ([#7502](https://github.com/vector-im/element-android/issues/7502))
- When joining a room, the message composer is displayed once the room is loaded. ([#7509](https://github.com/vector-im/element-android/issues/7509))
- Voice Broadcast - Fix error on voice messages in unencrypted rooms ([#7519](https://github.com/vector-im/element-android/issues/7519))
- Fix description of verified sessions ([#7533](https://github.com/vector-im/element-android/issues/7533))
In development 🚧
----------------
- [Voice Broadcast] Improve timeline items factory and handle bad recording state display ([#7448](https://github.com/vector-im/element-android/issues/7448))
- [Voice Broadcast] Stop recording when opening the room after an app restart ([#7450](https://github.com/vector-im/element-android/issues/7450))
- [Voice Broadcast] Improve playlist fetching and player codebase ([#7478](https://github.com/vector-im/element-android/issues/7478))
- [Voice Broadcast] Display an error dialog if the user fails to start a voice broadcast ([#7485](https://github.com/vector-im/element-android/issues/7485))
- [Voice Broadcast] Add seekbar in listening tile ([#7496](https://github.com/vector-im/element-android/issues/7496))
- [Voice Broadcast] Improve the live indicator icon rendering in the timeline ([#7579](https://github.com/vector-im/element-android/issues/7579))
- Voice Broadcast - Add maximum length ([#7588](https://github.com/vector-im/element-android/issues/7588))
SDK API changes ⚠️
------------------
- [Metrics] Add `SpannableMetricPlugin` to support spans within transactions. ([#7514](https://github.com/vector-im/element-android/issues/7514))
- Fix a bug that caused messages with no formatted text to be quoted as "null". ([#7530](https://github.com/vector-im/element-android/issues/7530))
- If message content has no `formattedBody`, default to `body` when editing. ([#7574](https://github.com/vector-im/element-android/issues/7574))
Changes in Element v1.5.7 (2022-11-07)
======================================
Bugfixes 🐛
----------
- Fix regression when syncing with homeserver < 1.4. ([#7534](https://github.com/vector-im/element-android/issues/7534))
Changes in Element v1.5.6 (2022-11-02)
======================================
Features
----------
- Add new UI for selecting an attachment ([#7429](https://github.com/vector-im/element-android/issues/7429))
- Multi selection in sessions list ([#7396](https://github.com/vector-im/element-android/issues/7396))
Bugfixes 🐛
----------
- New line and Enter hardware key presses deleting existing text in some keyboards. ([#7357](https://github.com/vector-im/element-android/issues/7357))
- Fix share actions using share dialog. ([#7400](https://github.com/vector-im/element-android/issues/7400))
- Fix crash by disabling Flipper on Android API 22 and below - only affects debug version of the application. ([#7428](https://github.com/vector-im/element-android/issues/7428))
In development 🚧
----------------
- [Voice Broadcast] Live listening support ([#7419](https://github.com/vector-im/element-android/issues/7419))
- [Voice Broadcast] Improve rendering in the timeline ([#7421](https://github.com/vector-im/element-android/issues/7421))
- Add logic for sign in with QR code ([#7369](https://github.com/vector-im/element-android/issues/7369))
SDK API changes
------------------
- Add MetricPlugin interface to implement metrics in SDK clients. ([#7438](https://github.com/vector-im/element-android/issues/7438))
Other changes
-------------
- Upgrade Jitsi SDK to 6.2.2 and WebRtc to 1.106.1-jitsi-12039821. ([#6195](https://github.com/vector-im/element-android/issues/6195))
- Gets thread notifications from sync response ([#7424](https://github.com/vector-im/element-android/issues/7424))
- Replace org.apache.sanselan:sanselan by org.apache.commons:commons-imaging ([#7454](https://github.com/vector-im/element-android/issues/7454))
Changes in Element v1.5.4 (2022-10-19)
======================================
Features
----------
- Add WYSIWYG editor, under a lab flag. ([#7288](https://github.com/vector-im/element-android/issues/7288))
- New Device management, can be enabled in the labs settings.
- Voice broadcast can be enabled in the labs settings (recording is possible only on Android 10 and up).
Bugfixes 🐛
----------
- Fix wrong mic button direction to cancel on RTL languages ([#5968](https://github.com/vector-im/element-android/issues/5968))
- Handle properly when getUser returns null - prefer using getUserOrDefault ([#7372](https://github.com/vector-im/element-android/issues/7372))
- [Device Management] Long session names not handled well ([#7310](https://github.com/vector-im/element-android/issues/7310))
- Fix editing formatted messages with plain text editor ([#7359](https://github.com/vector-im/element-android/issues/7359))
In development 🚧
----------------
- [Device Management] Save "matrix_client_information" events on login/registration ([#7257](https://github.com/vector-im/element-android/issues/7257))
- [Device management] Add lab flag for the feature ([#7336](https://github.com/vector-im/element-android/issues/7336))
- [Device management] Add lab flag for matrix client info account data event ([#7344](https://github.com/vector-im/element-android/issues/7344))
- [Device Management] Redirect to the new screen everywhere when lab flag is on ([#7374](https://github.com/vector-im/element-android/issues/7374))
- [Device Management] Show correct device type icons ([#7277](https://github.com/vector-im/element-android/issues/7277))
- [Device Management] Render extended device info ([#7294](https://github.com/vector-im/element-android/issues/7294))
- [Device management] Improve the parsing for OS of Desktop/Web sessions ([#7321](https://github.com/vector-im/element-android/issues/7321))
- [Device management] Hide the IP address and last activity date on current session ([#7324](https://github.com/vector-im/element-android/issues/7324))
- [Device management] Update the unknown verification status icon ([#7327](https://github.com/vector-im/element-android/issues/7327))
- [Voice Broadcast] Add the "io.element.voice_broadcast_info" state event with a minimalist timeline widget ([#7273](https://github.com/vector-im/element-android/issues/7273))
- [Voice Broadcast] Aggregate state events in the timeline ([#7283](https://github.com/vector-im/element-android/issues/7283))
- [Voice Broadcast] Record and send non aggregated voice messages to the room ([#7363](https://github.com/vector-im/element-android/issues/7363))
- [Voice Broadcast] Start listening to a voice broadcast ([#7387](https://github.com/vector-im/element-android/issues/7387))
- [Voice Broadcast] Enable the feature (behind a lab flag and only for Android 10 and up) ([#7393](https://github.com/vector-im/element-android/issues/7393))
- [Voice Broadcast] Add additional data in events ([#7397](https://github.com/vector-im/element-android/issues/7397))
- Implements MSC3881: Parses `enabled` and `device_id` fields from updated Pusher API ([#7217](https://github.com/vector-im/element-android/issues/7217))
- Adds pusher toggle setting to device manager v2 ([#7261](https://github.com/vector-im/element-android/issues/7261))
- Implement QR Code Login UI ([#7338](https://github.com/vector-im/element-android/issues/7338))
- Implements client-side of local notification settings event ([#7300](https://github.com/vector-im/element-android/issues/7300))
- Links "Enable Notifications for this session" setting to enabled value in pusher ([#7281](https://github.com/vector-im/element-android/issues/7281))
SDK API changes
------------------
- Stop using `original_event` field from `/relations` endpoint ([#7282](https://github.com/vector-im/element-android/issues/7282))
- Add `formattedText` or similar optional parameters in several methods:
* RelationService:
* editTextMessage
* editReply
* replyToMessage
* SendService:
* sendQuotedTextMessage
This allows us to send any HTML formatted text message without needing to rely on automatic Markdown > HTML translation. All these new parameters have a `null` value by default, so previous calls to these API methods remain compatible. ([#7288](https://github.com/vector-im/element-android/issues/7288))
- Add support for `m.login.token` auth during QR code based sign in ([#7358](https://github.com/vector-im/element-android/issues/7358))
- Allow getting the formatted or plain text body of a message for the fun `TimelineEvent.getTextEditableContent()`. ([#7359](https://github.com/vector-im/element-android/issues/7359))
Other changes
-------------
- Refactor TimelineFragment, split it into MessageComposerFragment and VoiceRecorderFragment. ([#7285](https://github.com/vector-im/element-android/issues/7285))
- Dependency to arrow has been removed. Please use `org.matrix.android.sdk.api.util.Optional` instead. ([#7335](https://github.com/vector-im/element-android/issues/7335))
- Update WYSIWYG editor designs. ([#7354](https://github.com/vector-im/element-android/issues/7354))
- Update WYSIWYG library to v0.2.1. ([#7384](https://github.com/vector-im/element-android/issues/7384))
Changes in Element v1.5.2 (2022-10-05)
======================================
Features ✨
----------
- New App Layout is now enabled by default! Go to the Settings > Labs to toggle this ([#7166](https://github.com/vector-im/element-android/issues/7166))
- Render inline images in the timeline ([#351](https://github.com/vector-im/element-android/issues/351))
- Add privacy setting to disable personalized learning by the keyboard ([#6633](https://github.com/vector-im/element-android/issues/6633))
Bugfixes 🐛
----------
- Disable emoji keyboard not applies in reply ([#5029](https://github.com/vector-im/element-android/issues/5029))
- Fix animated images not autoplaying sometimes if only a thumbnail was fetched from the server ([#6215](https://github.com/vector-im/element-android/issues/6215))
- Add Warning shield when a user previously verified rotated their cross signing keys ([#6702](https://github.com/vector-im/element-android/issues/6702))
- Can't verify user when option to send keys to verified devices only is selected ([#6723](https://github.com/vector-im/element-android/issues/6723))
- Add option to only send to verified devices per room (web parity) ([#6725](https://github.com/vector-im/element-android/issues/6725))
- Delete pin code key and the key used for biometrics authentication on logout ([#6906](https://github.com/vector-im/element-android/issues/6906))
- Fix crash on previewing images to upload on Android Pie. ([#7184](https://github.com/vector-im/element-android/issues/7184))
- Fix app restarts in loop on Android 13 on the first run of the app. ([#7224](https://github.com/vector-im/element-android/issues/7224))
In development 🚧
----------------
- [Device Management] Learn more bottom sheets ([#7100](https://github.com/vector-im/element-android/issues/7100))
- [Device management] Verify current session ([#7114](https://github.com/vector-im/element-android/issues/7114))
- [Device management] Verify another session ([#7143](https://github.com/vector-im/element-android/issues/7143))
- [Device management] Rename a session ([#7158](https://github.com/vector-im/element-android/issues/7158))
- [Device Manager] Unverified and inactive sessions list ([#7170](https://github.com/vector-im/element-android/issues/7170))
- [Device management] Sign out a session ([#7190](https://github.com/vector-im/element-android/issues/7190))
- [Device Manager] Parse user agents ([#7247](https://github.com/vector-im/element-android/issues/7247))
- [Voice Broadcast] Add a feature flag with the composer action ([#7258](https://github.com/vector-im/element-android/issues/7258))
Improved Documentation 📚
------------------------
- Draft onboarding documentation of the project at `./docs/_developer_onboarding.md` ([#7126](https://github.com/vector-im/element-android/issues/7126))
SDK API changes ⚠️
------------------
- Allow the sync timeout to be configured (mainly useful for testing) ([#7198](https://github.com/vector-im/element-android/issues/7198))
- Ports SDK instrumentation tests to use suspending functions instead of countdown latches ([#7207](https://github.com/vector-im/element-android/issues/7207))
- [Device Manager] Extend user agent to include device information ([#7209](https://github.com/vector-im/element-android/issues/7209))
Other changes
-------------
- Add support for `/tableflip` command ([#12](https://github.com/vector-im/element-android/issues/12))
- Decreases the size of rounded corners and increases the maximum width of message bubbles to help avoid unnecessary unused space on screen ([#5712](https://github.com/vector-im/element-android/issues/5712))
- Adds screenshot testing tooling ([#5798](https://github.com/vector-im/element-android/issues/5798))
- [AppLayout]: added tracking of new analytics events ([#6508](https://github.com/vector-im/element-android/issues/6508))
- Target API 12 and compile with Android SDK 32. ([#6929](https://github.com/vector-im/element-android/issues/6929))
- Add basic integration of Sentry to capture errors and crashes if user has given consent. ([#7076](https://github.com/vector-im/element-android/issues/7076))
- Add support to `/devtools` command. ([#7126](https://github.com/vector-im/element-android/issues/7126))
- Fix lint warning, and cleanup the code ([#7159](https://github.com/vector-im/element-android/issues/7159))
- Mutualize the pending auth handling ([#7193](https://github.com/vector-im/element-android/issues/7193))
- CI: Prevent modification of translations by developer. ([#7211](https://github.com/vector-im/element-android/issues/7211))
- Fix typo in strings.xml and make sure this is American English. ([#7287](https://github.com/vector-im/element-android/issues/7287))
Changes in Element v1.5.1 (2022-09-28)
======================================
Security ⚠️
----------
This update provides important security fixes, update now.
Ref: CVE-2022-39246 CVE-2022-39248
Changes in Element v1.5.0 (2022-09-23)
======================================
Features ✨
----------
- Deferred DMs - Enable and move the feature to labs settings ([#7180](https://github.com/vector-im/element-android/issues/7180))
Bugfixes 🐛
----------
- Fix text margin in QR code view when no display name is set ([#5424](https://github.com/vector-im/element-android/issues/5424))
- [App Layout] Recents carousel now scrolled to first position when new item added to or moved to this position ([#6776](https://github.com/vector-im/element-android/issues/6776))
- Fixed problem when room list's scroll did jump after rooms placeholders were replaced with rooms summary items ([#7079](https://github.com/vector-im/element-android/issues/7079))
- Fixes crash when quickly double clicking FABs in the new app layout ([#7102](https://github.com/vector-im/element-android/issues/7102))
- Fixes space list and new chat bottom sheets showing too small in New App Layout (especially evident in landscape) ([#7103](https://github.com/vector-im/element-android/issues/7103))
- [App Layout] Room leaving prompt dialog now waits user to confirm leaving before do so ([#7122](https://github.com/vector-im/element-android/issues/7122))
- Fix empty verification bottom sheet. ([#7130](https://github.com/vector-im/element-android/issues/7130))
- [New Layout] Fixes new chat dialog not getting dismissed after selecting its actions ([#7132](https://github.com/vector-im/element-android/issues/7132))
- Fixes Room List not getting updated when fragment is not in focus ([#7186](https://github.com/vector-im/element-android/issues/7186))
In development 🚧
----------------
- Create DM room only on first message - Add a spinner when sending the first message ([#6970](https://github.com/vector-im/element-android/issues/6970))
- [Device Manager] Filter Other Sessions ([#7045](https://github.com/vector-im/element-android/issues/7045))
- [Device management] Session details screen ([#7077](https://github.com/vector-im/element-android/issues/7077))
- Create DM room only on first message - Fix glitch in the room list ([#7121](https://github.com/vector-im/element-android/issues/7121))
- Create DM room only on first message - Handle the local rooms within the new AppLayout ([#7153](https://github.com/vector-im/element-android/issues/7153))
Other changes
-------------
- [Modules] Lifts the application variants to the app module ([#6779](https://github.com/vector-im/element-android/issues/6779))
- Ensure that we do not expect all the Event fields when requesting `rooms/{roomId}/hierarchy` endpoint. ([#7035](https://github.com/vector-im/element-android/issues/7035))
- Move some GitHub actions to buildjet runners, and remove the second attempt to run integration tests. ([#7108](https://github.com/vector-im/element-android/issues/7108))
- Exclude legacy android support annotation library ([#7140](https://github.com/vector-im/element-android/issues/7140))
- Pulling no longer hosted im.dlg:android-dialer directly into the repository and removing legacy support library usages ([#7142](https://github.com/vector-im/element-android/issues/7142))
- Fixing build cache misses when compiling the vector module ([#7157](https://github.com/vector-im/element-android/issues/7157))
Changes in Element v1.4.36 (2022-09-10)
=======================================
New App Layout can be enabled in the Labs settings. Please give it a try!
Features ✨
----------
- Adds New App Layout into Labs ([#7038](https://github.com/vector-im/element-android/issues/7038))
- Try to detect devices that lack Opus encoder support, use bundled libopus library for those. ([#7010](https://github.com/vector-im/element-android/issues/7010))
- Suggest @room when @channel, @everyone, or @here is typed in composer ([#6529](https://github.com/vector-im/element-android/issues/6529))
Bugfixes 🐛
----------
- Fix long incremental sync. ([#6917](https://github.com/vector-im/element-android/issues/6917))
- Fix push with FCM ([#7068](https://github.com/vector-im/element-android/issues/7068))
- FTUE - Fixes optional email registration step always being mandatory ([#6969](https://github.com/vector-im/element-android/issues/6969))
- Fixes /addToSpace and /joinSpace commands showing invalid syntax warnings ([#6844](https://github.com/vector-im/element-android/issues/6844))
- Fix low occurrence crashes. ([#6967](https://github.com/vector-im/element-android/issues/6967))
- Fix crash when opening an unknown room ([#6978](https://github.com/vector-im/element-android/issues/6978))
- Fix crash on PIN code settings screen. ([#6979](https://github.com/vector-im/element-android/issues/6979))
- Fix autoplayed animated stickers ([#6982](https://github.com/vector-im/element-android/issues/6982))
- Catch race condition crash in voice recording ([#6989](https://github.com/vector-im/element-android/issues/6989))
- Fix invite to room when in a space buttons not working. ([#7054](https://github.com/vector-im/element-android/issues/7054))
In development 🚧
----------------
- Create DM room only on first message - Create the DM and navigate to the new room after sending an event ([#5525](https://github.com/vector-im/element-android/issues/5525))
- [App Layout] New empty states for home screen ([#6835](https://github.com/vector-im/element-android/issues/6835))
- [App Layout] Bottom navigation tabs are removed for new home screen ([#6565](https://github.com/vector-im/element-android/issues/6565))
- [App Layout] fixed space switching dialog measured with wrong height sometimes ([#6750](https://github.com/vector-im/element-android/issues/6750))
- [App Layout] Fabs doesn't go off screen anymore ([#6765](https://github.com/vector-im/element-android/issues/6765))
- [New Layout] Adds back navigation through spaces ([#6877](https://github.com/vector-im/element-android/issues/6877))
- [App Layout] new room invites screen ([#6889](https://github.com/vector-im/element-android/issues/6889))
- [App Layout] - Invites now show empty screen after you reject last invite ([#6876](https://github.com/vector-im/element-android/issues/6876))
- [App Layout] - space switcher now has empty state ([#6754](https://github.com/vector-im/element-android/issues/6754))
- [App Layout] - Improves Developer Mode Debug Button UX and adds it to New App Layout ([#6871](https://github.com/vector-im/element-android/issues/6871))
- [New Layout] Changes space sheet to accordion-style with expandable subspaces ([#6907](https://github.com/vector-im/element-android/issues/6907))
- [New Layout] Adds space invites ([#6924](https://github.com/vector-im/element-android/issues/6924))
- [App Layout] fixed invites count badge bottom margin on a home screen ([#6947](https://github.com/vector-im/element-android/issues/6947))
- [New Layout] Improves talkback accessibility ([#7016](https://github.com/vector-im/element-android/issues/7016))
- [New Layout] Changes space icon in fab and in release notes screen ([#7039](https://github.com/vector-im/element-android/issues/7039))
- [New Layout] Adds header to spaces bottom sheet ([#7040](https://github.com/vector-im/element-android/issues/7040))
- [App Layout] New App Layout is enabled by default (Edit: has to be enabled in Labs) ([#6958](https://github.com/vector-im/element-android/issues/6958))
- [App Layout] Obsolete settings are not shown when App Layout flag is enabled ([#6646](https://github.com/vector-im/element-android/issues/6646))
- [Devices Management] Session overview screen ([#6961](https://github.com/vector-im/element-android/issues/6961))
- [Devices Management] Refactor some code to improve testability ([#7043](https://github.com/vector-im/element-android/issues/7043))
- [Device Manager] Current Session Section ([#6902](https://github.com/vector-im/element-android/issues/6902))
- [Device Manager] Other Sessions Section ([#6945](https://github.com/vector-im/element-android/issues/6945))
- [Device Manager] Render Security Recommendations ([#6964](https://github.com/vector-im/element-android/issues/6964))
Improved Documentation 📚
------------------------
- Clarify that setting up a FCM Rewrite Proxy is not necessary for use of the UnifiedPush FCM distributor. ([#6727](https://github.com/vector-im/element-android/issues/6727))
Other changes
-------------
- Increase sticker size ([#6982](https://github.com/vector-im/element-android/issues/6982))
- Focus input field when editing homeserver address to speed up login and registration. ([#6926](https://github.com/vector-im/element-android/issues/6926))
- Log basic Http information in production. ([#6925](https://github.com/vector-im/element-android/issues/6925))
- Converts the vector module to a library with a parent vector-app application module ([#6407](https://github.com/vector-im/element-android/issues/6407))
- Creates a dedicated strings module ([#3955](https://github.com/vector-im/element-android/issues/3955))
- Remove FragmentModule and the Fragment factory. No need to Inject the constructor on your Fragment, just add @AndroidEntryPoint annotation and @Inject class members. ([#6894](https://github.com/vector-im/element-android/issues/6894))
- Small refactor of UnifiedPushHelper ([#6936](https://github.com/vector-im/element-android/issues/6936))
- CI: only run sonarqube task when token is known ([#7057](https://github.com/vector-im/element-android/issues/7057))
Changes in Element v1.4.34 (2022-08-23)
=======================================
Features ✨
----------
- [Notification] - Handle creation of notification for live location and poll start ([#6746](https://github.com/vector-im/element-android/issues/6746))
Bugfixes 🐛
----------
- Fixes onboarding requiring matrix.org to be accessible on the first step, the server can now be manually changed ([#6718](https://github.com/vector-im/element-android/issues/6718))
- Fixing sign in/up for homeservers that rely on the SSO fallback url ([#6827](https://github.com/vector-im/element-android/issues/6827))
- Fixes uncaught exceptions in the SyncWorker to cause the worker to become stuck in the failure state ([#6836](https://github.com/vector-im/element-android/issues/6836))
- Fixes onboarding captcha crashing when no WebView is available by showing an error with information instead ([#6855](https://github.com/vector-im/element-android/issues/6855))
- Removes ability to continue registration after the app has been destroyed, fixes the next steps crashing due to missing information from the previous steps ([#6860](https://github.com/vector-im/element-android/issues/6860))
- Fixes crash when exiting the login or registration entry screens whilst they're loading ([#6861](https://github.com/vector-im/element-android/issues/6861))
- Fixes server selection being unable to trust certificates ([#6864](https://github.com/vector-im/element-android/issues/6864))
- Ensure SyncThread is started when the app is launched after a Push has been received. ([#6884](https://github.com/vector-im/element-android/issues/6884))
- Fixes missing firebase notifications after logging in when UnifiedPush distributor is installed ([#6891](https://github.com/vector-im/element-android/issues/6891))
In development 🚧
----------------
- Create DM room only on first message - Trigger the flow when the "Direct Message" action is selected from the room member details screen ([#5525](https://github.com/vector-im/element-android/issues/5525))
- added filter tabs for new App layout's Home screen ([#6505](https://github.com/vector-im/element-android/issues/6505))
- [App Layout] added dialog to configure app layout ([#6506](https://github.com/vector-im/element-android/issues/6506))
- Adds space list bottom sheet for new app layout ([#6749](https://github.com/vector-im/element-android/issues/6749))
- [App Layout] Dialpad moved from bottom navigation tab to a separate activity accessed via home screen context menu ([#6787](https://github.com/vector-im/element-android/issues/6787))
- Makes toolbar switch title based on space in New App Layout ([#6795](https://github.com/vector-im/element-android/issues/6795))
- [Devices management] Add a feature flag and empty screen for future new layout ([#6798](https://github.com/vector-im/element-android/issues/6798))
- Adds new chat bottom sheet as the click action of the main FAB in the new app layout ([#6801](https://github.com/vector-im/element-android/issues/6801))
- [Devices management] Other sessions section in new layout ([#6806](https://github.com/vector-im/element-android/issues/6806))
- [New Layout] Adds space settings accessible through clicking the toolbar ([#6859](https://github.com/vector-im/element-android/issues/6859))
- Adds New App Layout FABs (hidden behind feature flag) ([#6693](https://github.com/vector-im/element-android/issues/6693))
SDK API changes ⚠️
------------------
- Rename `DebugService.logDbUsageInfo` (resp. `Session.logDbUsageInfo`) to `DebugService.getDbUsageInfo` (resp. `Session.getDbUsageInfo`) and return a String instead of logging. The caller may want to log the String. ([#6884](https://github.com/vector-im/element-android/issues/6884))
Other changes
-------------
- Removes the Login2 proof of concept - replaced by the FTUE changes ([#5974](https://github.com/vector-im/element-android/issues/5974))
- Enable auto-capitalization for Room creation Title field ([#6645](https://github.com/vector-im/element-android/issues/6645))
- Decouples the variant logic from the vector module ([#6783](https://github.com/vector-im/element-android/issues/6783))
- Add a developer setting to enable LeakCanary at runtime ([#6786](https://github.com/vector-im/element-android/issues/6786))
- [Create Room] Reduce some boilerplate with room state event contents ([#6799](https://github.com/vector-im/element-android/issues/6799))
- [Call] Memory leak after a call ([#6808](https://github.com/vector-im/element-android/issues/6808))
- Fix some string template ([#6843](https://github.com/vector-im/element-android/issues/6843))
Changes in Element v1.4.32 (2022-08-10)
=======================================

View File

@@ -1,10 +1,43 @@
# Contributing code to Matrix
# Contributing to Element Android
<!--- TOC -->
* [Contributing code to Matrix](#contributing-code-to-matrix)
* [Android Studio settings](#android-studio-settings)
* [Template](#template)
* [Compilation](#compilation)
* [I want to help translating Element](#i-want-to-help-translating-element)
* [I want to submit a PR to fix an issue](#i-want-to-submit-a-pr-to-fix-an-issue)
* [Kotlin](#kotlin)
* [Changelog](#changelog)
* [Code quality](#code-quality)
* [Internal tool](#internal-tool)
* [ktlint](#ktlint)
* [knit](#knit)
* [lint](#lint)
* [Unit tests](#unit-tests)
* [Tests](#tests)
* [Internationalisation](#internationalisation)
* [Adding new string](#adding-new-string)
* [Plurals](#plurals)
* [Editing existing strings](#editing-existing-strings)
* [Removing existing strings](#removing-existing-strings)
* [Renaming string ids](#renaming-string-ids)
* [Reordering strings](#reordering-strings)
* [Accessibility](#accessibility)
* [Layout](#layout)
* [Authors](#authors)
* [Thanks](#thanks)
<!--- END -->
## Contributing code to Matrix
Please read https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.md
Element Android support can be found in this room: [![Element Android Matrix room #element-android:matrix.org](https://img.shields.io/matrix/element-android:matrix.org.svg?label=%23element-android:matrix.org&logo=matrix&server_fqdn=matrix.org)](https://matrix.to/#/#element-android:matrix.org).
# Specific rules for Matrix Android projects
The rest of the document contains specific rules for Matrix Android projects
## Android Studio settings
@@ -94,6 +127,23 @@ Note that you can run
For ktlint to fix some detected errors for you (you still have to check and commit the fix of course)
#### knit
[knit](https://github.com/Kotlin/kotlinx-knit) is a tool which checks markdown files on the project. Also it generates/updates the table of content (toc) of the markdown files.
So everytime the toc should be updated, just run
<pre>
./gradlew knit
</pre>
and commit the changes.
The CI will check that markdown files are up to date by running
<pre>
./gradlew knitCheck
</pre>
#### lint
<pre>
@@ -120,17 +170,21 @@ You should consider adding Unit tests with your PR, and also integration tests (
Translations are handled using an external tool: [Weblate](https://translate.element.io/projects/element-android/)
As a general rule, please never edit or add or remove translations to the project in a Pull Request. It can lead to merge conflict if the translations are also modified in Weblate side.
**As a general rule, please never edit or add or remove translations to the project in a Pull Request**. It can lead to merge conflict if the translations are also modified in Weblate side. Pull Request containing change(s) on the translation files cannot be merged.
#### Adding new string
When adding new string resources, please only add new entries in the file `value/strings.xml`. Translations will be added later by the community of translators using Weblate.
When adding new string resources, please only add new entries in the file `values/strings.xml` ([this file](./library/ui-strings/src/main/res/values/strings.xml)). Translations will be added later by the community of translators using Weblate.
The file `value/strings.xml` must only contain American English (U. S. English) values, as this is the default language of the Android operating system. So for instance, please use "color" instead of "colour". Element Android will still use the language set on the system by the user, like any other Android applications which provide translations. The system language can be any other English language variants, or any other languages. Note that this is also possible to override the system language using the Element Android in-app language settings.
The file `values/strings.xml` must only contain American English (U. S. English) values, as this is the default language of the Android operating system. So for instance, please use "color" instead of "colour". Element Android will still use the language set on the system by the user, like any other Android applications which provide translations. The system language can be any other English language variants, or any other languages. Note that this is also possible to override the system language using the Element Android in-app language settings.
New strings can be added anywhere in the file `value/strings.xml`, not necessarily at the end of the file. Generally, it's even better to add the new strings in some dedicated section per feature, and not at the end of the file, to avoid merge conflict between 2 PR adding strings at the end of the same file.
New strings can be added anywhere in the file `values/strings.xml`, not necessarily at the end of the file. Generally, it's even better to add the new strings in some dedicated section per feature, and not at the end of the file, to avoid merge conflict between 2 PR adding strings at the end of the same file.
Do not hesitate to use plurals when appropriate.
##### Plurals
Please use `plurals` resources when appropriate, and note that some languages have specific rules for `plurals`, so even if the string will always be at the plural form for English, please always create a `plurals` resource.
Specific plural forms can be found [here](https://unicode-org.github.io/cldr-staging/charts/37/supplemental/language_plural_rules.html).
#### Editing existing strings
@@ -150,6 +204,23 @@ And add `tools:ignore="UnusedResources"` to the string, to let lint ignore that
The string will be removed during the next sync with Weblate.
#### Renaming string ids
This is possible to rename ids of the String resources, but since translation files cannot be edited, add TODO in the main strings.xml file above the strings you want to rename.
```xml
<!-- TODO Rename id to put_new_id_here -->
<string name="current_id">Hello Matrix world!</string>
```
The string id(s) will be renamed during the next Weblate sync.
#### Reordering strings
To group strings per feature, or for any other reasons, it is possible to reorder string resources, but only in the [main strings.xml file](./library/ui-strings/src/main/res/values/strings.xml). ). We do not mind about ordering in the translation files, and anyway this is forbidden to edit manually the translation files.
It is also possible to add empty lines between string resources, and to add XML comments. Please note that the XML comment just above a String resource will also appear on Weblate and be visible to the translators.
### Accessibility
Please consider accessibility as an important point. As a minimum requirement, in layout XML files please use attributes such as `android:contentDescription` and `android:importantForAccessibility`, and test with a screen reader if it's working well. You can add new string resources, dedicated to accessibility, in this case, please prefix theirs id with `a11y_`.

View File

@@ -1,29 +1,30 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.3)
CFPropertyList (3.0.5)
rexml
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.1.1)
aws-partitions (1.479.0)
aws-sdk-core (3.117.0)
aws-eventstream (1.2.0)
aws-partitions (1.619.0)
aws-sdk-core (3.132.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.44.0)
aws-sdk-core (~> 3, >= 3.112.0)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.58.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.96.1)
aws-sdk-core (~> 3, >= 3.112.0)
aws-sdk-s3 (1.114.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.2.4)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.5.1)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.0.3)
claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
@@ -48,22 +49,24 @@ GEM
octokit (~> 4.7)
terminal-table (>= 1, < 4)
declarative (0.0.20)
digest-crc (0.6.3)
digest-crc (0.6.4)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
emoji_regex (3.2.2)
excon (0.85.0)
faraday (1.5.1)
dotenv (2.8.1)
emoji_regex (3.2.3)
excon (0.92.4)
faraday (1.10.1)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
multipart-post (>= 1.2, < 3)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
@@ -71,18 +74,22 @@ GEM
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-http-cache (2.4.0)
faraday-http-cache (2.4.1)
faraday (>= 0.8)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday_middleware (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.4)
fastlane (2.187.0)
fastimage (2.2.6)
fastlane (2.209.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
@@ -97,7 +104,7 @@ GEM
faraday_middleware (~> 1.0)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-apis-androidpublisher_v3 (~> 0.1)
google-apis-androidpublisher_v3 (~> 0.3)
google-apis-playcustomapp_v1 (~> 0.1)
google-cloud-storage (~> 1.31)
highline (~> 2.0)
@@ -106,6 +113,7 @@ GEM
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (~> 2.0.0)
naturally (~> 2.2)
optparse (~> 0.1.1)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
@@ -121,9 +129,9 @@ GEM
gh_inspector (1.1.3)
git (1.11.0)
rchardet (~> 1.8)
google-apis-androidpublisher_v3 (0.8.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-core (0.4.0)
google-apis-androidpublisher_v3 (0.25.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-core (0.7.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
@@ -132,47 +140,47 @@ GEM
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.6.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-playcustomapp_v1 (0.5.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-storage_v1 (0.6.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-iamcredentials_v1 (0.13.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-playcustomapp_v1 (0.10.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-storage_v1 (0.17.0)
google-apis-core (>= 0.7, < 2.a)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-errors (1.1.0)
google-cloud-storage (1.34.1)
addressable (~> 2.5)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.2.0)
google-cloud-storage (1.38.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.17.0)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (0.16.2)
faraday (>= 0.17.3, < 2.0)
googleauth (1.2.0)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (~> 0.14)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.4)
http-cookie (1.0.5)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.4.0)
json (2.5.1)
jwt (2.2.3)
jmespath (1.6.1)
json (2.6.2)
jwt (2.4.1)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
memoist (0.16.2)
mini_magick (4.11.0)
mini_mime (1.1.0)
mini_mime (1.1.2)
multi_json (1.15.0)
multipart-post (2.0.0)
nanaimo (0.3.0)
@@ -183,12 +191,13 @@ GEM
faraday (>= 1, < 3)
sawyer (~> 0.9)
open4 (1.3.4)
os (1.1.1)
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (4.0.6)
public_suffix (4.0.7)
rake (13.0.6)
rchardet (1.8.0)
representable (3.1.1)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
@@ -201,9 +210,9 @@ GEM
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
security (0.1.3)
signet (0.15.0)
addressable (~> 2.3)
faraday (>= 0.17.3, < 2.0)
signet (0.17.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.8)
@@ -212,7 +221,7 @@ GEM
terminal-notifier (2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
trailblazer-option (0.1.1)
trailblazer-option (0.1.2)
tty-cursor (0.7.1)
tty-screen (0.8.1)
tty-spinner (0.9.3)
@@ -220,11 +229,11 @@ GEM
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
unf_ext (0.0.8.2)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.20.0)
xcodeproj (1.22.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
@@ -239,6 +248,7 @@ GEM
PLATFORMS
universal-darwin-21
x86_64-darwin-20
x86_64-linux
DEPENDENCIES
danger

View File

@@ -1,4 +1,4 @@
[![Buildkite](https://badge.buildkite.com/ad0065c1b70f557cd3b1d3d68f9c2154010f83c4d6f71706a9.svg?branch=develop)](https://buildkite.com/matrix-dot-org/element-android/builds?branch=develop)
[![Latest build](https://github.com/vector-im/element-android/actions/workflows/build.yml/badge.svg?query=branch%3Adevelop)](https://github.com/vector-im/element-android/actions/workflows/build.yml?query=branch%3Adevelop)
[![Weblate](https://translate.element.io/widgets/element-android/-/svg-badge.svg)](https://translate.element.io/engage/element-android/?utm_source=widget)
[![Element Android Matrix room #element-android:matrix.org](https://img.shields.io/matrix/element-android:matrix.org.svg?label=%23element-android:matrix.org&logo=matrix&server_fqdn=matrix.org)](https://matrix.to/#/#element-android:matrix.org)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=vector-im_element-android&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=vector-im_element-android)
@@ -14,7 +14,7 @@ It is a total rewrite of [Riot-Android](https://github.com/vector-im/riot-androi
[<img src="resources/img/google-play-badge.png" alt="Get it on Google Play" height="60">](https://play.google.com/store/apps/details?id=im.vector.app)
[<img src="resources/img/f-droid-badge.png" alt="Get it on F-Droid" height="60">](https://f-droid.org/app/im.vector.app)
Nightly build: [![Buildkite](https://badge.buildkite.com/ad0065c1b70f557cd3b1d3d68f9c2154010f83c4d6f71706a9.svg?branch=develop)](https://buildkite.com/matrix-dot-org/element-android/builds?branch=develop) Nightly test status: [![allScreensTest](https://github.com/vector-im/element-android/actions/workflows/nightly.yml/badge.svg)](https://github.com/vector-im/element-android/actions/workflows/nightly.yml)
Build of develop branch: [![GitHub Action](https://github.com/vector-im/element-android/actions/workflows/build.yml/badge.svg?query=branch%3Adevelop)](https://github.com/vector-im/element-android/actions/workflows/build.yml?query=branch%3Adevelop) Nightly test status: [![allScreensTest](https://github.com/vector-im/element-android/actions/workflows/nightly.yml/badge.svg)](https://github.com/vector-im/element-android/actions/workflows/nightly.yml)
# New Android SDK
@@ -40,14 +40,16 @@ If you would like to receive releases more quickly (bearing in mind that they ma
1. [Sign up to receive beta releases](https://play.google.com/apps/testing/im.vector.app) via the Google Play Store.
2. Install a [release APK](https://github.com/vector-im/element-android/releases) directly - download the relevant .apk file and allow installing from untrusted sources in your device settings. Note: these releases are the Google Play version, which depend on some Google services. If you prefer to avoid that, try the latest dev builds, and choose the F-Droid version.
3. If you're really brave, install the [very latest dev build](https://buildkite.com/matrix-dot-org/element-android/builds/latest?branch=develop&state=passed) - click on *Assemble (GPlay or FDroid) Debug version* then on *Artifacts*.
3. If you're really brave, install the [very latest dev build](https://github.com/vector-im/element-android/actions/workflows/build.yml?query=branch%3Adevelop) - pick a build, then click on `Summary` to download the APKs from there: `vector-Fdroid-debug` and `vector-Gplay-debug` contains the APK for the desired store. Each file contains 5 APKs. 4 APKs for every supported specific architecture of device. In doubt you can install the `universal` APK.
## Contributing
Please refer to [CONTRIBUTING.md](https://github.com/vector-im/element-android/blob/develop/CONTRIBUTING.md) if you want to contribute on Matrix Android projects!
Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) if you want to contribute on Matrix Android projects!
Come chat with the community in the dedicated Matrix [room](https://matrix.to/#/#element-android:matrix.org).
Also [this documentation](./docs/_developer_onboarding.md) can hopefully help developers to start working on the project.
## Triaging issues
Issues are triaged by community members and the Android App Team, following the [triage process](https://github.com/vector-im/element-meta/wiki/Triage-process).

View File

@@ -24,14 +24,16 @@ buildscript {
classpath libs.gradle.gradlePlugin
classpath libs.gradle.kotlinPlugin
classpath libs.gradle.hiltPlugin
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.3'
classpath 'com.google.gms:google-services:4.3.13'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.4.0.2513'
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.1.1'
classpath 'com.google.gms:google-services:4.3.14'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.5.0.2730'
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.5'
classpath "com.likethesalad.android:stem-plugin:2.1.1"
classpath 'org.owasp:dependency-check-gradle:7.1.1'
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.10"
classpath "com.likethesalad.android:stem-plugin:2.2.3"
classpath 'org.owasp:dependency-check-gradle:7.3.0'
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.20"
classpath "org.jetbrains.kotlinx:kotlinx-knit:0.4.0"
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'
classpath libs.squareup.paparazziPlugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
@@ -39,12 +41,16 @@ buildscript {
plugins {
// ktlint Plugin
id "org.jlleitschuh.gradle.ktlint" version "10.3.0"
id "org.jlleitschuh.gradle.ktlint" version "11.0.0"
// Detekt
id "io.gitlab.arturbosch.detekt" version "1.21.0"
id "io.gitlab.arturbosch.detekt" version "1.22.0"
// Ksp
id "com.google.devtools.ksp" version "1.7.22-1.0.8"
// Dependency Analysis
id 'com.autonomousapps.dependency-analysis' version "1.12.0"
id 'com.autonomousapps.dependency-analysis' version "1.17.0"
// Gradle doctor
id "com.osacky.doctor" version "0.8.1"
}
// https://github.com/jeremylong/DependencyCheck
@@ -57,6 +63,9 @@ dependencyCheck {
]
}
// Gradle doctor configuration
apply from: './tools/gradle/doctor.gradle'
allprojects {
apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: "io.gitlab.arturbosch.detekt"
@@ -70,6 +79,14 @@ allprojects {
groups.mavenCentral.group.each { includeGroup it }
}
}
// snapshots repository
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
content {
groups.snapshot.regex.each { includeGroupByRegex it }
groups.snapshot.group.each { includeGroup it }
}
}
maven {
url 'https://jitpack.io'
content {
@@ -79,9 +96,9 @@ allprojects {
}
// Jitsi repo
maven {
url "https://github.com/vector-im/jitsi_libre_maven/raw/main/android-sdk-5.0.2"
url "https://github.com/vector-im/jitsi_libre_maven/raw/main/android-sdk-6.2.2"
// Note: to test Jitsi release you can use a local file like this:
// url "file:///Users/bmarty/workspaces/jitsi_libre_maven/android-sdk-3.10.0"
// url "file:///Users/bmarty/workspaces/jitsi_libre_maven/android-sdk-6.2.2"
content {
groups.jitsi.regex.each { includeGroupByRegex it }
groups.jitsi.group.each { includeGroup it }
@@ -104,6 +121,15 @@ allprojects {
groups.jcenter.group.each { includeGroup it }
}
}
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots'
content {
groups.mavenSnapshots.regex.each { includeGroupByRegex it }
groups.mavenSnapshots.group.each { includeGroup it }
}
}
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
@@ -131,6 +157,9 @@ allprojects {
// To have XML report for Danger
reporter(org.jlleitschuh.gradle.ktlint.reporter.ReporterType.CHECKSTYLE)
}
filter {
exclude { element -> element.file.path.contains("$buildDir/generated/") }
}
disabledRules = [
// TODO Re-enable these 4 rules after reformatting project
"indent",
@@ -215,7 +244,7 @@ project(":vector") {
}
}
project(":library:diff-match-patch") {
project(":library:external:diff-match-patch") {
sonarqube {
skipProject = true
}
@@ -286,3 +315,61 @@ dependencyAnalysis {
}
}
}
tasks.register("recordScreenshots", GradleBuild) {
startParameter.projectProperties.screenshot = ""
tasks = [':vector:recordPaparazziDebug']
}
tasks.register("verifyScreenshots", GradleBuild) {
startParameter.projectProperties.screenshot = ""
tasks = [':vector:verifyPaparazziDebug']
}
ext.initScreenshotTests = { project ->
def hasScreenshots = project.hasProperty("screenshot")
if (hasScreenshots) {
project.apply plugin: 'app.cash.paparazzi'
}
project.dependencies { testCompileOnly libs.squareup.paparazzi }
project.android.testOptions.unitTests.all {
def screenshotTestCapture = "**/*ScreenshotTest*"
if (hasScreenshots) {
include screenshotTestCapture
} else {
exclude screenshotTestCapture
}
}
}
// Workaround to have KSP generated Kotlin code available in the IDE (for code completion)
// Ref: https://github.com/airbnb/epoxy/releases/tag/5.0.0beta02
subprojects { project ->
afterEvaluate {
if (project.hasProperty("android")) {
android {
if (it instanceof com.android.build.gradle.LibraryExtension) {
libraryVariants.all { variant ->
def outputFolder = new File("build/generated/ksp/${variant.name}/kotlin")
if (outputFolder.exists()) {
variant.addJavaSourceFoldersToModel(outputFolder)
android.sourceSets.getAt(variant.name).java {
srcDir(outputFolder)
}
}
}
} else if (it instanceof com.android.build.gradle.AppExtension) {
applicationVariants.all { variant ->
def outputFolder = new File("build/generated/ksp/${variant.name}/kotlin")
if (outputFolder.exists()) {
variant.addJavaSourceFoldersToModel(outputFolder)
android.sourceSets.getAt(variant.name).java {
srcDir(outputFolder)
}
}
}
}
}
}
}
}

View File

@@ -1 +0,0 @@
Create DM room only on first message - Trigger the flow when the "Direct Message" action is selected from the room member details screen

View File

@@ -1 +0,0 @@
Removes the Login2 proof of concept - replaced by the FTUE changes

View File

@@ -1 +0,0 @@
added filter tabs for new App layout's Home screen

View File

@@ -1 +0,0 @@
Enable auto-capitalization for Room creation Title field

View File

@@ -1 +0,0 @@
Adds New App Layout FABs (hidden behind feature flag)

View File

@@ -1 +0,0 @@
[Notification] - Handle creation of notification for live location and poll start

View File

@@ -1 +0,0 @@
Adds space list bottom sheet for new app layout

View File

@@ -1 +0,0 @@
Decouples the variant logic from the vector module

View File

@@ -1 +0,0 @@
Add a developer setting to enable LeakCanary at runtime

View File

@@ -1 +0,0 @@
Makes toolbar switch title based on space in New App Layout

View File

@@ -1 +0,0 @@
[Devices management] Add a feature flag and empty screen for future new layout

View File

@@ -1 +0,0 @@
[Create Room] Reduce some boilerplate with room state event contents

View File

@@ -1 +0,0 @@
[Devices management] Other sessions section in new layout

View File

@@ -1 +0,0 @@
[Call] Memory leak after a call

View File

@@ -1 +0,0 @@
Fix some string template

1
changelog.d/7274.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix bad pills color background. For light and dark theme the color is now 61708B (iso EleWeb)

1
changelog.d/7477.misc Normal file
View File

@@ -0,0 +1 @@
Add Z-Labs label for rich text editor and migrate to new label naming.

1
changelog.d/7596.feature Normal file
View File

@@ -0,0 +1 @@
Save m.local_notification_settings.<device-id> event in account_data

1
changelog.d/7632.feature Normal file
View File

@@ -0,0 +1 @@
Update notifications setting when m.local_notification_settings.<device-id> event changes for current device

1
changelog.d/7653.bugfix Normal file
View File

@@ -0,0 +1 @@
ANR when asking to select the notification method

1
changelog.d/7658.bugfix Normal file
View File

@@ -0,0 +1 @@
[Rich text editor] Fix design and spacing of rich text editor

1
changelog.d/7659.bugfix Normal file
View File

@@ -0,0 +1 @@
[Rich text editor] Fix keyboard closing after collapsing editor

3
changelog.d/7680.bugfix Normal file
View File

@@ -0,0 +1,3 @@
Rich Text Editor: fix several issues related to insets:
* Empty space displayed at the bottom when you don't have permissions to send messages into a room.
* Wrong insets being kept when you exit the room screen and the keyboard is displayed, then come back to it.

2
changelog.d/7683.bugfix Normal file
View File

@@ -0,0 +1,2 @@
Fix crash in message composer when room is missing

1
changelog.d/7684.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix crash when invalid homeserver url is entered.

1
changelog.d/7693.feature Normal file
View File

@@ -0,0 +1 @@
[Session manager] Add action to signout all the other session

1
changelog.d/7694.feature Normal file
View File

@@ -0,0 +1 @@
Remind unverified sessions with a banner once a week

1
changelog.d/7695.bugfix Normal file
View File

@@ -0,0 +1 @@
[Rich text editor] Add error tracking for rich text editor

1
changelog.d/7697.feature Normal file
View File

@@ -0,0 +1 @@
[Session manager] Add actions to rename and signout current session

1
changelog.d/7708.misc Normal file
View File

@@ -0,0 +1 @@
Add tracing Id for to device messages

1
changelog.d/7710.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix usage of unknown shield in room summary

1
changelog.d/7723.misc Normal file
View File

@@ -0,0 +1 @@
Disable nightly popup and add an entry point in the advanced settings instead.

1
changelog.d/7725.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix crash when the network is not available.

View File

@@ -28,8 +28,8 @@ def initializeReport(report, projects, classExcludes) {
report.executionData {
fileTree(rootProject.rootDir.absolutePath).include(
"**/build/**/*.exec",
"**/build/outputs/code_coverage/**/coverage.ec",
"**/build/**/*.exec",
"**/build/outputs/code_coverage/**/coverage.ec",
)
}
report.reports {
@@ -74,18 +74,18 @@ def collectProjects(predicate) {
task generateCoverageReport(type: JacocoReport) {
outputs.upToDateWhen { false }
rootProject.apply plugin: 'jacoco'
def projects = collectProjects { ['vector', 'matrix-sdk-android'].contains(it.name) }
def projects = collectProjects { ['vector-app', 'vector', 'matrix-sdk-android'].contains(it.name) }
initializeReport(it, projects, excludes)
}
task unitTestsWithCoverage(type: GradleBuild) {
// the 7.1.3 android gradle plugin has a bug where enableTestCoverage generates invalid coverage
startParameter.projectProperties.coverage = [enableTestCoverage: false]
tasks = [':vector:testGplayDebugUnitTest', ':matrix-sdk-android:testDebugUnitTest']
startParameter.projectProperties.coverage = [enableTestCoverage: false]
tasks = ['testDebugUnitTest']
}
task instrumentationTestsWithCoverage(type: GradleBuild) {
startParameter.projectProperties.coverage = [enableTestCoverage: true]
startParameter.projectProperties.coverage = [enableTestCoverage: true]
startParameter.projectProperties['android.testInstrumentationRunnerArguments.notPackage'] = 'im.vector.app.ui'
tasks = [':vector:connectedGplayDebugAndroidTest', 'matrix-sdk-android:connectedDebugAndroidTest']
tasks = [':vector-app:connectedGplayDebugAndroidTest', ':vector:connectedDebugAndroidTest', 'matrix-sdk-android:connectedDebugAndroidTest']
}

View File

@@ -1,48 +1,45 @@
ext.versions = [
'minSdk' : 21,
'compileSdk' : 31,
'targetSdk' : 31,
'compileSdk' : 33,
'targetSdk' : 33,
'sourceCompat' : JavaVersion.VERSION_11,
'targetCompat' : JavaVersion.VERSION_11,
]
// Pinned to 7.1.3 because of https://github.com/vector-im/element-android/issues/6142
// Please test carefully before upgrading again.
def gradle = "7.1.3"
def gradle = "7.3.1"
// Ref: https://kotlinlang.org/releases.html
def kotlin = "1.6.21"
def kotlin = "1.7.22"
def kotlinCoroutines = "1.6.4"
def dagger = "2.42"
def appDistribution = "16.0.0-beta03"
def dagger = "2.44.2"
def appDistribution = "16.0.0-beta05"
def retrofit = "2.9.0"
def arrow = "0.8.2"
def markwon = "4.6.2"
def moshi = "1.13.0"
def moshi = "1.14.0"
def lifecycle = "2.5.1"
def flowBinding = "1.2.0"
def flipper = "0.157.0"
def epoxy = "4.6.2"
def mavericks = "2.7.0"
def glide = "4.13.2"
def flipper = "0.176.0"
def epoxy = "5.0.0"
def mavericks = "3.0.1"
def glide = "4.14.2"
def bigImageViewer = "1.8.1"
def jjwt = "0.11.5"
def vanniktechEmoji = "0.15.0"
def fragment = "1.5.2"
// Temporary version to unblock #6929. Once 0.16.0 is released we should use it, and revert
// the whole commit which set version 0.16.0-SNAPSHOT
def vanniktechEmoji = "0.16.0-SNAPSHOT"
def sentry = "6.9.0"
def fragment = "1.5.4"
// Testing
def mockk = "1.12.3" // We need to use 1.12.3 to have mocking in androidTest until a new version is released: https://github.com/mockk/mockk/issues/819
def espresso = "3.4.0"
def androidxTest = "1.4.0"
def androidxOrchestrator = "1.4.1"
def androidxOrchestrator = "1.4.2"
def paparazzi = "1.1.0"
ext.libs = [
gradle : [
'gradlePlugin' : "com.android.tools.build:gradle:$gradle",
'kotlinPlugin' : "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin",
'hiltPlugin' : "com.google.dagger:hilt-android-gradle-plugin:$dagger"
],
jetbrains : [
'coroutinesCore' : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutines",
@@ -50,12 +47,12 @@ ext.libs = [
'coroutinesTest' : "org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlinCoroutines"
],
androidx : [
'activity' : "androidx.activity:activity:1.5.1",
'appCompat' : "androidx.appcompat:appcompat:1.4.2",
'activity' : "androidx.activity:activity-ktx:1.6.1",
'appCompat' : "androidx.appcompat:appcompat:1.5.1",
'biometric' : "androidx.biometric:biometric:1.1.0",
'core' : "androidx.core:core-ktx:1.8.0",
'core' : "androidx.core:core-ktx:1.9.0",
'recyclerview' : "androidx.recyclerview:recyclerview:1.2.1",
'exifinterface' : "androidx.exifinterface:exifinterface:1.3.3",
'exifinterface' : "androidx.exifinterface:exifinterface:1.3.5",
'fragmentKtx' : "androidx.fragment:fragment-ktx:$fragment",
'fragmentTesting' : "androidx.fragment:fragment-testing:$fragment",
'constraintLayout' : "androidx.constraintlayout:constraintlayout:2.1.4",
@@ -82,9 +79,11 @@ ext.libs = [
'transition' : "androidx.transition:transition:1.2.0",
],
google : [
'material' : "com.google.android.material:material:1.6.1",
'material' : "com.google.android.material:material:1.7.0",
'appdistributionApi' : "com.google.firebase:firebase-appdistribution-api-ktx:$appDistribution",
'appdistribution' : "com.google.firebase:firebase-appdistribution:$appDistribution",
// Phone number https://github.com/google/libphonenumber
'phonenumber' : "com.googlecode.libphonenumber:libphonenumber:8.13.1"
],
dagger : [
'dagger' : "com.google.dagger:dagger:$dagger",
@@ -98,25 +97,26 @@ ext.libs = [
'flipperNetworkPlugin' : "com.facebook.flipper:flipper-network-plugin:$flipper",
],
element : [
'opusencoder' : "io.element.android:opusencoder:1.0.4",
'opusencoder' : "io.element.android:opusencoder:1.1.0",
'wysiwyg' : "io.element.android:wysiwyg:0.9.0"
],
squareup : [
'moshi' : "com.squareup.moshi:moshi:$moshi",
'moshiKt' : "com.squareup.moshi:moshi-kotlin:$moshi",
'moshiKotlin' : "com.squareup.moshi:moshi-kotlin-codegen:$moshi",
'moshiAdapters' : "com.squareup.moshi:moshi-adapters:$moshi",
'paparazzi' : "app.cash.paparazzi:paparazzi:$paparazzi",
'paparazziPlugin' : "app.cash.paparazzi:paparazzi-gradle-plugin:$paparazzi",
'retrofit' : "com.squareup.retrofit2:retrofit:$retrofit",
'retrofitMoshi' : "com.squareup.retrofit2:converter-moshi:$retrofit"
],
rx : [
'rxKotlin' : "io.reactivex.rxjava2:rxkotlin:2.4.0"
],
arrow : [
'core' : "io.arrow-kt:arrow-core:$arrow",
'instances' : "io.arrow-kt:arrow-instances-core:$arrow"
],
markwon : [
'core' : "io.noties.markwon:core:$markwon",
'extLatex' : "io.noties.markwon:ext-latex:$markwon",
'imageGlide' : "io.noties.markwon:image-glide:$markwon",
'inlineParser' : "io.noties.markwon:inline-parser:$markwon",
'html' : "io.noties.markwon:html:$markwon"
],
@@ -160,12 +160,15 @@ ext.libs = [
'emojiGoogle' : "com.vanniktech:emoji-google:$vanniktechEmoji"
],
apache : [
'commonsImaging' : "org.apache.sanselan:sanselan:0.97-incubator"
'commonsImaging' : "org.apache.commons:commons-imaging:1.0-alpha3"
],
sentry: [
'sentryAndroid' : "io.sentry:sentry-android:$sentry"
],
tests : [
'kluent' : "org.amshove.kluent:kluent-android:1.68",
'kluent' : "org.amshove.kluent:kluent-android:1.72",
'timberJunitRule' : "net.lachlanmckee:timber-junit-rule:1.0.1",
'junit' : "junit:junit:4.13.2"
'junit' : "junit:junit:4.13.2",
]
]

View File

@@ -1,5 +1,5 @@
ext.groups = [
jitpack : [
jitpack : [
regex: [
],
group: [
@@ -15,7 +15,7 @@ ext.groups = [
'com.github.Zhuinden',
]
],
jitsi : [
jitsi : [
regex: [
],
group: [
@@ -24,7 +24,7 @@ ext.groups = [
'org.webkit',
]
],
google : [
google : [
regex: [
'androidx\\..*',
'com\\.android\\.tools\\..*',
@@ -38,10 +38,25 @@ ext.groups = [
'com.google.testing.platform',
]
],
snapshot: [
regex: [
],
group: [
'com.vanniktech',
]
],
mavenSnapshots: [
regex: [
],
group: [
'org.matrix.rustcomponents'
]
],
mavenCentral: [
regex: [
],
group: [
'app.cash.paparazzi',
'ch.qos.logback',
'com.adevinta.android',
'com.airbnb.android',
@@ -69,8 +84,6 @@ ext.groups = [
'com.gabrielittner.threetenbp',
'com.getkeepsafe.relinker',
'com.github.bumptech.glide',
'com.github.filippudak',
'com.github.filippudak.progresspieview',
'com.github.javaparser',
'com.github.piasy',
'com.github.shyiko.klob',
@@ -78,6 +91,7 @@ ext.groups = [
'com.google',
'com.google.android',
'com.google.api.grpc',
'com.google.auto',
'com.google.auto.service',
'com.google.auto.value',
'com.google.code.findbugs',
@@ -95,6 +109,7 @@ ext.groups = [
'com.googlecode.json-simple',
'com.googlecode.libphonenumber',
'com.ibm.icu',
'com.intellij',
'com.jakewharton.android.repackaged',
'com.jakewharton.timber',
'com.kgurgul.flipper',
@@ -120,13 +135,12 @@ ext.groups = [
'com.sun.xml.bind.mvn',
'com.sun.xml.fastinfoset',
'com.thoughtworks.qdox',
'com.vanniktech',
// 'com.vanniktech',
'commons-cli',
'commons-codec',
'commons-io',
'commons-logging',
'info.picocli',
'io.arrow-kt',
'io.element.android',
'io.github.davidburstrom.contester',
'io.github.detekt.sarif4k',
@@ -140,16 +154,21 @@ ext.groups = [
'io.netty',
'io.noties.markwon',
'io.opencensus',
'io.perfmark',
'io.reactivex.rxjava2',
'io.realm',
'io.sentry',
'it.unimi.dsi',
'jakarta.activation',
'jakarta.xml.bind',
'javax.activation',
'javax.annotation',
'javax.inject',
'javax.xml.bind',
'jline',
'jp.wasabeef',
'junit',
'kxml2',
'me.saket',
'net.bytebuddy',
'net.java',
@@ -164,8 +183,8 @@ ext.groups = [
'org.apache.ant',
'org.apache.commons',
'org.apache.httpcomponents',
'org.apache.sanselan',
'org.bouncycastle',
'org.ccil.cowan.tagsoup',
'org.checkerframework',
'org.codehaus',
'org.codehaus.groovy',
@@ -178,11 +197,13 @@ ext.groups = [
'org.hamcrest',
'org.jacoco',
'org.java-websocket',
'org.jcodec',
'org.jetbrains',
'org.jetbrains.dokka',
'org.jetbrains.intellij.deps',
'org.jetbrains.kotlin',
'org.jetbrains.kotlinx',
'org.jetbrains.trove4j',
'org.json',
'org.jsoup',
'org.junit',
@@ -191,6 +212,7 @@ ext.groups = [
'org.jvnet.staxex',
'org.maplibre.gl',
'org.matrix.android',
'org.matrix.rustcomponents',
'org.mockito',
'org.mongodb',
'org.objenesis',
@@ -199,7 +221,6 @@ ext.groups = [
'org.ow2.asm',
'org.ow2.asm',
'org.reactivestreams',
'org.robolectric',
'org.slf4j',
'org.sonatype.oss',
'org.testng',
@@ -211,7 +232,7 @@ ext.groups = [
'xml-apis',
]
],
jcenter : [
jcenter : [
regex: [
],
group: [

View File

@@ -0,0 +1,259 @@
# Developer on boarding
<!--- TOC -->
* [Introduction](#introduction)
* [Quick introduction to Matrix](#quick-introduction-to-matrix)
* [Matrix data](#matrix-data)
* [Room](#room)
* [Event](#event)
* [Sync](#sync)
* [Glossary about syncs](#glossary-about-syncs)
* [The Android project](#the-android-project)
* [Matrix SDK](#matrix-sdk)
* [Application](#application)
* [MvRx](#mvrx)
* [Behavior](#behavior)
* [Epoxy](#epoxy)
* [Other frameworks](#other-frameworks)
* [Push](#push)
* [Dependencies management](#dependencies-management)
* [Test](#test)
* [Other points](#other-points)
* [Logging](#logging)
* [Rageshake](#rageshake)
* [Tips](#tips)
* [Happy coding!](#happy-coding)
<!--- END -->
## Introduction
This doc is a quick introduction about the project and its architecture.
It's aim is to help new developers to understand the overall project and where to start developing.
Other useful documentation:
- all the docs in this folder!
- the [contributing doc](../CONTRIBUTING.md), that you should also read carefully.
### Quick introduction to Matrix
Matrix website: [matrix.org](https://matrix.org), [discover page](https://matrix.org/discover).
*Note*: Matrix.org is also hosting a homeserver ([.well-known file](https://matrix.org/.well-known/matrix/client)).
The reference homeserver (this is how Matrix servers are called) implementation is [Synapse](https://github.com/matrix-org/synapse/). But other implementations exist. The Matrix specification is here to ensure that any Matrix client, such as Element Android and its SDK can talk to any Matrix server.
Have a quick look to the client-server API documentation: [Client-server documentation](https://spec.matrix.org/v1.3/client-server-api/). Other network API exist, the list is here: (https://spec.matrix.org/latest/)
Matrix is an open source protocol. Change are possible and are tracked using [this GitHub repository](https://github.com/matrix-org/matrix-doc/). Changes to the protocol are called MSC: Matrix Spec Change. These are PullRequest to this project.
Matrix object are Json data. Unstable prefixes must be used for Json keys when the MSC is not merged (i.e. accepted).
#### Matrix data
There are many object and data in the Matrix worlds. Let's focus on the most important and used, `Room` and `Event`
##### Room
`Room` is a place which contains ordered `Event`s. They are identified with their `room_id`. Nearly all the data are stored in rooms, and shared using homeserver to all the Room Member.
*Note*: Spaces are also Rooms with a different `type`.
##### Event
`Events` are items of a Room, where data is embedded.
There are 2 types of Room Event:
- Regular Events: contain useful content for the user (message, image, etc.), but are not necessarily displayed as this in the timeline (reaction, message edition, call signaling).
- State Events: contain the state of the Room (name, topic, etc.). They have a non null value for the key `state_key`.
Also all the Room Member details are in State Events: one State Event per member. In this case, the `state_key` is the matrixId (= userId).
Important Fields of an Event:
- `event_id`: unique across the Matrix universe;
- `room_id`: the room the Event belongs to;
- `type`: describe what the Event contain, especially in the `content` section, and how the SDK should handle this Event;
- `content`: dynamic Event data; depends on the `type`.
So we have a triple `event_id`, `type`, `state_key` which uniquely defines an Event.
#### Sync
The `Sync` is a way for the Matrix client to be up to date regarding the user data hosted by the server. All the Events are coming through the sync response. More details can be found here: [spec.matrix.org/v1.3/client-server-api/#syncing](https://spec.matrix.org/v1.3/client-server-api/#syncing)
When the application is in foreground, this is a looping request. We are using Https requests, which offer the advantage to be compatible with any homeserver. A sync token is used as request parameter, to let the server know what the client knows.
The `SyncThread` is responsible to manage the sync request loop.
When the application is in background, a Push will trigger a sync request.
##### Glossary about syncs
- **initial sync**: a sync request without a token. This is the first request a client perform after login or after a clear cache. The server will include in the response all your rooms with the full state (all the room membership Event will not be present), with the latest messages for each room. We are in the process to replace this by version 3: sliding sync. All data are inserted to the Database (currently [Realm](https://www.mongodb.com/docs/realm/sdk/java/)).
- **incremental sync**: sync request with a token.
- **gappy sync**: sync request where all the new Events are not returned for one or several Rooms. Also called `limited sync`. It can be limited per Room. To get all the missing Events, a Room pagination API has to be called.
- **sync token**: `next_batch` value in the previous sync response. Will be provided as the `since` parameter for the next sync request.
### The Android project
The project should compile out of the box.
The project is split into several modules. The main ones are:
For the app
- `vector-app`: application entry point;
- `vector`: legacy application, but now a library. In the process of being split into several modules;
- `vector-config`: this is where all the configuration of the application should occurs. Should because we are in the process of migrating all the configuration here;
- `library/ui-strings`: this is where all the string resources are stored. Please refer to [contributing doc](../CONTRIBUTING.md) to know how to make change on this module;
- `library/ui-styles`: this is where the Android styles are defined.
For the SDK
- `matrix-sdk-android`: the main SDK module. The sources are in this project, but are also exported to [its own project](https://github.com/matrix-org/matrix-android-sdk2). All the PRs and issues related to the SDK take place in the Element Android project;
- `matrix-sdk-android-flow`: contains some wrapper to expose `Flow` to the application.
### Matrix SDK
SDK exposes `Services` to the client application. `Services` are public interface, and are defined in this parent package: `org.matrix.android.sdk.api`. Default implementation are internal to the SDK, in this parent package: `org.matrix.android.sdk.internal`. Note that you also have to declare the classes as `internal` when adding classes to the `org.matrix.android.sdk.internal` package.
Interface allows us to replace the implementation for testing purpose.
A generated documentation of the SDK is available [here](https://matrix-org.github.io/matrix-android-sdk2/). Updated after each release. Please ensure that the documentation (KDoc) of all the SDK Services is up to date, and is clear for a SDK user.
The SDK generated documentation also contains information about the entry points of the SDK.
[Dagger](https://dagger.dev/) is used to inject all the dependencies to the SDK classes.
SDK is exposing data as `LiveData`, but we are progressively migrating to `Flow`. Database is the source of truth.
Example:
- Client send an Event using the `SendService`;
- At the end a `SendEvent` task is used;
- Retrofit API is used to send data to the server;
- Goes to the server, which returns only the `event_id`;
- The `Event` is coming back from the `sync` response with eventually extra added data.
### Application
This is the UI part of the project.
There are two variants of the application: `Gplay` and `Fdroid`.
The main difference is about using Firebase on `Gplay` variant, to have Push from Google Services. `FDroid` variant cannot contain closed source dependency.
`Fdroid` is using background polling to lack the missing of Pushed. Now a solution using UnifiedPush has ben added to the project. See refer to [the dedicated documentation](./unifiedpush.md) for more details.
#### MvRx
[Maverick](https://airbnb.io/mavericks/#/README) (or MvRx) is an Android MVI framework that helps to develop Reactive application on Android.
- Activity: holder for Fragment. See the parent [VectorBaseActivity](../vector/src/main/java/im/vector/app/core/platform/VectorBaseActivity.kt);
- Fragment: manage screen of the application. See the parent [VectorBaseFragment](../vector/src/main/java/im/vector/app/core/platform/VectorBaseFragment.kt);
- BottomSheet: see the parent [VectorBaseBottomSheetDialogFragment](../vector/src/main/java/im/vector/app/core/platform/VectorBaseBottomSheetDialogFragment.kt);
- ViewModel: this is where the logic is placed. All our ViewModel has a `handle()` which takes action as parameter. See the parent [VectorViewModel](../vector/src/main/java/im/vector/app/core/platform/VectorViewModel.kt);
- VectorSharedActionViewModel: Specific ViewModel that can be used to communicate between Fragment(s) and the host Activity. See the parent [VectorSharedActionViewModel](../vector/src/main/java/im/vector/app/core/platform/VectorSharedActionViewModel.kt);
- ViewState: this are `data class`, and this represent the state of the View. Has to be copied and set to be updated. Fragment will update the UI regarding the current state (`invalidate()` method). `Async` class from MvRx can be used in the ViewState, especially for asynchronous data loading. Nullability can also be used for optional data. ViewStates have to implement `MavericksState`;
- ViewEvents: useful when the ViewModel asks the View to trigger a specific action: navigation, show dialog, etc. See the parent [VectorViewEvents](../vector/src/main/java/im/vector/app/core/platform/VectorViewEvents.kt);
- ViewAction (`VectorViewModelAction`): useful when the UI (generally the Fragment) asks the ViewModel to do something. See the parent [VectorViewModelAction](../vector/src/main/java/im/vector/app/core/platform/VectorViewModelAction.kt);
- Controller: see the `Epoxy` section just below.
##### Behavior
Fragment asks the ViewModel to perform an action (coming from the user, but not necessarily. ViewModel can then talk to the SDK, updates the state once or several times. Fragment update the UI regarding the new state.
When ViewModel is instantiated, it can subscribe using the SDK Services to get live state of the data.
`invalidate()` has to be used by default, but it's possible to listen to specific member(s) of the `ViewState` using `onEach`. TODO Add an example.
`awaitState()` method
#### Epoxy
[Epoxy](https://github.com/airbnb/epoxy) is an Android library for building complex screens in a RecyclerView. Please read [the introduction](https://github.com/airbnb/epoxy#epoxy).
- Controller declares items of the RecyclerView. Controller is injected in the Fragment. Controller extends `EpoxyController`, or one of its subclass, especially `TypedEpoxyController`;
- Fragment gives the state to the controller using `setData`;
- `buildModels` will be called by the framework;
- Controller will create ordered Items.
Epoxy does the diffing, and handle many other thing for us, like handling item type, etc.
See for instance the controller [AccountDataEpoxyController](../vector/src/main/java/im/vector/app/features/settings/devtools/AccountDataEpoxyController.kt)) for a simple example.
Warning: do not use twice the same item `id` or it will crash.
#### Other frameworks
- Dependency injection is managed by [Dagger](https://dagger.dev/) (SDK) and [Hilt](https://developer.android.com/training/dependency-injection/hilt-android) (App);
- [Retrofit](https://square.github.io/retrofit/) and [OkHttp3](https://square.github.io/okhttp/): network requests;
- [Moshi](https://github.com/square/moshi) is used to parse and serialize Json object;
### Push
Please see the dedicated documentation for more details.
This is the classical scenario:
- App receives a Push. Note: Push is ignored if app is in foreground;
- App asks the SDK to load Event data (fastlane mode). We have a change to get the data faster and display the notification faster;
- App asks the SDK to perform a sync request.
### Dependencies management
All the dependencies are declared in `build.gradle` files. But some versions are declared in [this dedicated file](../dependencies.gradle).
When adding a new dependency, you will have to update the file [dependencies_groups.gradle](../dependencies_groups.gradle) to allow the dependency to be downloaded from the artifact repository. Sometimes sub-dependencies need to be added too, until the project can compile.
[Dependabot](https://github.com/dependabot) is set up on the project. This tool will automatically create Pull Request to upgrade our dependencies one by one.
dependencies_group, gradle files, Dependabot, etc.
### Test
Please refer to [this dedicated document](./ui-tests.md).
TODO add link to the dedicated screenshot test documentation
### Other points
#### Logging
**Important warning: ** NEVER log private user data, or use the flag `LOG_PRIVATE_DATA`. Be very careful when logging `data class`, all the content will be output!
[Timber](https://github.com/JakeWharton/timber) is used to log data to logcat. We do not use directly the `Log` class. If possible please use a tag, as per
````kotlin
Timber.tag(loggerTag.value).d("my log")
````
because automatic tag (= class name) will not be available on the release version.
Also generally it is recommended to provide the `Throwable` to the Timber log functions.
Last point, not that `Timber.v` function may have no effect on some devices. Prefer using `Timber.d` and up.
#### Rageshake
Rageshake is a feature to send bug report directly from the application. Just shake your phone and you will be prompted to send a bug report.
Bug report can contain:
- a screenshot of the current application state
- the application logs from up to 15 application starts
- the logcat logs
- the key share history (crypto data)
The data will be sent to an internal server, which is not publicly accessible. A GitHub issue will also be created to a private GitHub repository.
Rageshake can be very useful to get logs from a release version of the application.
### Tips
- Element Android has a `developer mode` in the `Settings/Advanced settings`. Other useful options are available here;
- Show hidden Events can also help to debug feature. When developer mode is enabled, it is possible to view the source (= the Json content) of any Events;
- Type `/devtools` in a Room composer to access a developer menu. There are some other entry points. Developer mode has to be enabled;
- Hidden debug menu: when developer mode is enabled and on debug build, there are some extra screens that can be accessible using the green wheel. In those screens, it will be possible to toggle some feature flags;
- Using logcat, filtering with `onResume` can help you to understand what screen are currently displayed on your device. Searching for string displayed on the screen can also help to find the running code in the codebase.
- When this is possible, prefer using `sealed interface` instead of `sealed class`;
- When writing temporary code, using the string "DO NOT COMMIT" in a comment can help to avoid committing things by mistake. If committed and pushed, the CI will detect this String and will warn the user about it.
## Happy coding!
The team is here to support you, feel free to ask anything to other developers.
Also please feel to update this documentation, if incomplete/wrong/obsolete/etc.
**Thanks!**

View File

@@ -28,6 +28,7 @@ Here are the checks that Danger does so far:
- PR with change on layout should include screenshot in the description
- PR which adds png file warn about the usage of vector drawables
- non draft PR should have a reviewer
- files containing translations are not modified by developers
### Quality check

View File

@@ -7,8 +7,8 @@ Hilt is built on top of Dagger 2 and simplify usage by removing needs to create
When you create a new feature, you should have the following:
Annotate your Activity with @AndroidEntryPoint
Annotate your Fragment with @AndroidEntryPoint
If you have a BottomSheetFragment => Annotate it with @AndroidEntryPoint
Otherwise => Add your Fragment to the FragmentModule
Add your ViewModel.Factory to the MavericksViewModelModule
Makes sure your ViewModel as the following code:

View File

@@ -0,0 +1,52 @@
## Installing from CI
<!--- TOC -->
* [Installing from Buildkite](#installing-from-buildkite)
* [Installing from GitHub](#installing-from-github)
* [Create a GitHub token](#create-a-github-token)
* [Provide artifact URL](#provide-artifact-url)
* [Next steps](#next-steps)
* [Future improvement](#future-improvement)
<!--- END -->
Installing APK build by the CI is possible
### Installing from Buildkite
The script `./tools/install/installFromBuildkite.sh` can be used, but Builkite will be removed soon. See next section.
### Installing from GitHub
To install an APK built by a GitHub action, run the script `./tools/install/installFromGitHub.sh`. You will need to pass a GitHub token to do so.
#### Create a GitHub token
You can create a GitHub token going to your Github account, at this page: [https://github.com/settings/tokens](https://github.com/settings/tokens).
You need to create a token (classic) with the scope `repo/public_repo`. So just check the corresponding checkbox.
Validity can be long since the scope of this token is limited. You will still be able to delete the token and generate a new one.
Click on Generate token and save the token locally.
### Provide artifact URL
The script will ask for an artifact URL. You can get this artifact URL by following these steps:
- open the pull request
- in the check at the bottom, click on `APK Build / Build debug APKs`
- click on `Summary`
- scroll to the bottom of the page
- copy the link `vector-Fdroid-debug` if you want the F-Droid variant or `vector-Gplay-debug` if you want the Gplay variant.
The copied link can be provided to the script.
### Next steps
The script will download the artifact, unzip it and install the correct version (regarding arch) on your device.
Files will be added to the folder `./tmp/DebugApks`. Feel free to cleanup this folder from time to time, the script will not delete files.
### Future improvement
The script could ask the user for a Pull Request number and Gplay/Fdroid choice like it was done with Buildkite script. Using GitHub API may be possible to do that.

View File

@@ -93,4 +93,4 @@ url "https://github.com/vector-im/jitsi_libre_maven/raw/master/android-sdk-3.10.
- Build the project and perform the sanity tests again.
- Update the file `/CHANGES.md` to notify about the library upgrade, and create a regular PR for project Element Android.
- Create a PR for project Element Android and add a changelog file `<PR_NUMBER>.misc` to notify about the library upgrade.

View File

@@ -47,8 +47,8 @@ git checkout develop
mv towncrier.toml towncrier.toml.bak
sed 's/CHANGES\.md/CHANGES_NIGHTLY\.md/' towncrier.toml.bak > towncrier.toml
rm towncrier.toml.bak
yes n | towncrier --version nightly
./gradlew assembleGplayNightly appDistributionUploadGplayNightly $CI_GRADLE_ARG_PROPERTIES
yes n | towncrier build --version nightly
./gradlew assembleGplayKotlinCryptoNightly appDistributionUploadGplayKotlinCryptoNightly $CI_GRADLE_ARG_PROPERTIES
```
Then you can reset the change on the codebase.

View File

@@ -0,0 +1,72 @@
# Screenshot testing
<!--- TOC -->
* [Overview](#overview)
* [Setup](#setup)
* [Recording](#recording)
* [Verifying](#verifying)
* [Contributing](#contributing)
* [Example](#example)
<!--- END -->
## Overview
- Screenshot tests are tests which record the content of a rendered screen and verify subsequent runs to check if the screen renders differently.
- Element uses [Paparazzi](https://github.com/cashapp/paparazzi) to render, record and verify android layouts.
- The screenshot verification occurs on every pull request as part of the `tests.yml` workflow.
## Setup
- Install Git LFS through your package manager of choice (`brew install git-lfs` | `yay -S git-lfs`).
- Install the Git LFS hooks into the project.
```bash
# with element-android as the current working directory
git lfs install --local
```
- If installed correctly, `git push` and `git pull` will now include LFS content.
## Recording
- `./gradlew recordScreenshots`
- Paparazzi will generate images in `${module}/src/test/snapshots`, which will need to be committed to the repository using Git LFS.
## Verifying
- `./gradlew verifyScreenshots`
- In the case of failure, Paparazzi will generate images in `${module}/out/failure`. The images will show the expected and actual screenshots along with a delta of the two images.
## Contributing
- When creating a test, the file (and class) name names must include `ScreenshotTest`, eg `ItemScreenshotTest`.
- After creating the new test, record and commit the newly rendered screens.
- `./tools/validate_lfs` can be ran to ensure everything is working correctly with Git LFS, the CI also runs this check.
## Example
```kotlin
class PaparazziExampleScreenshotTest {
@get:Rule
val paparazzi = Paparazzi(
deviceConfig = PIXEL_3,
theme = "Theme.Vector.Light",
)
@Test
fun `example paparazzi test`() {
// Inflate the layout
val view = paparazzi.inflate<ConstraintLayout>(R.layout.item_radio)
// Bind data to the view
view.findViewById<TextView>(R.id.actionTitle).text = paparazzi.resources.getString(R.string.room_settings_all_messages)
view.findViewById<ImageView>(R.id.radioIcon).setImageResource(R.drawable.ic_radio_on)
// Record the bound view
paparazzi.snapshot(view)
}
}
```

View File

@@ -18,7 +18,7 @@ The recently started UnifiedPush project is an Android protocol and library for
The *F-Droid* and *Gplay* flavors of Element Android support UnifiedPush, so the user can use any distributor installed on their devices. This would make it possible to have push notifications without depending on Google services or libraries. Currently, the main distributors are [ntfy](https://ntfy.sh) which does not require any setup (like manual registration) to use the public server and [NextPush](https://github.com/UP-NextPush/android), available as a nextcloud application.
The *Gplay* variant uses a UnifiedPush library which basically embed a FCM distributor built into the application (so a user doesn't need to do anything other than install the app to get FCM notifications). This variant uses Google Services to receive notifications if the user has not installed any distributor.
The *Gplay* variant uses a UnifiedPush library which basically embed a FCM distributor built into the application (so a user doesn't need to do anything other than install the app to get FCM notifications). This variant uses Google Services to receive notifications if the user has not installed any distributor. A [FCM Rewrite Proxy](https://unifiedpush.org/developers/embedded_fcm/#fcm-rewrite-proxy) is not required for Element Android's implementation of the FCM distributor - it will work with an existing Matrix push provider, such as [Sygnal](https://github.com/matrix-org/sygnal).
The *F-Droid* variant does not use this library to avoid any proprietary blob. It will use a polling service if the user has not installed any distributor.

351
docs/unit_testing.md Normal file
View File

@@ -0,0 +1,351 @@
# Table of Contents
<!--- TOC -->
* [Overview](#overview)
* [Best Practices](#best-practices)
* [Project Conventions](#project-conventions)
* [Setup](#setup)
* [Naming](#naming)
* [Format](#format)
* [Assertions](#assertions)
* [Constants](#constants)
* [Mocking](#mocking)
* [Fakes](#fakes)
* [Fixtures](#fixtures)
* [Examples](#examples)
* [Extensions used to streamline the test setup](#extensions-used-to-streamline-the-test-setup)
* [Fakes and Fixtures](#fakes-and-fixtures)
<!--- END -->
## Overview
Unit tests are a mechanism to validate our code executes the way we expect. They help to inform the design of our systems by requiring testability and
understanding, they describe the inner workings without relying on inline comments and protect from unexpected regressions.
However, unit tests are not a magical solution to solve all our problems and come at a cost. Unreliable and hard to maintain tests often end up ignored, deleted
or worse, provide a false sense of security.
### Best Practices
Tests can be written in many ways, the main rule is to keep them simple and maintainable. Some ways to help achieve this are...
- Break out logic into single units (following the Single Responsibility Principle) to reduce test complexity.
- Favour pure functions, avoiding mutable state.
- Prefer dependency injection to static calls to allow for simpler test setup.
- Write concise tests with a single function under test, clearly showing the inputs and expected output.
- Create separate test cases instead of changing parameters and grouping multiple assertions within a single test to help trace back failure causes (with the
exception of parameterised tests).
- Assert against entire models instead of subsets of properties to capture any possible changes within the test scope.
- Avoid invoking logic from production instances other than the class under test to guard from unrelated changes.
- Always inject `Dispatchers` and `Clock` instances and provide fake implementations for tests to avoid non deterministic results.
## Project Conventions
#### Setup
- Test file and class name should be the class under test with the Test suffix, created in a `test` sourceset, with the same package name as the class under
test.
- Dependencies of the class are instantiated inline, junit will recreate the test class for each test run.
- A line break between the dependencies and class under test helps clarify the instance being tested.
```kotlin
class MyClassTest {
private val fakeUppercaser = FakeUppercaser()
// line break between the class under test and its dependencies
private val myClass = MyClass(fakeUppercaser.instance)
}
```
#### Naming
- Test names use the `Gherkin` format, `given, when, then` mapping to the input, logic under test and expected result.
- `given` - Uniqueness about the environment or dependencies in which the test case is running. _"given device is android 12 and supports dark mode"_
- `when` - The action/function under test. _"when reading dark mode status"_
- `then` - The expected result from the combination of _given_ and _when_. _"then returns dark mode enabled"_
- Test names are written using kotlin back ticks to enable sentences _ish_.
```kotlin
@Test
fun `given a lowercase label, when uppercasing, then returns label uppercased`
```
When the input is given directly to the _when_, this can also be represented as...
```kotlin
@Test
fun `when uppercasing a lowercase label, then returns label uppercased`
```
Multiple given or returns statements can be used in the name although it could be a sign that the logic being tested does too much.
---
#### Format
- Test bodies are broken into sections through the use of blank lines where the sections correspond to the test name.
- Sections can span multiple lines.
```kotlin
// comments are for illustrative purposes
/* given */ val lowercaseLabel = "hello world"
/* when */ val result = textUppercaser.uppercase(lowercaseLabel)
/* then */ result shouldBeEqualTo "HELLO WORLD"
```
- Functions extracted from test bodies are placed beneath all the unit tests.
---
#### Assertions
- Assertions against test results are made using [Kluent's](https://github.com/MarkusAmshove/Kluent) _fluent_ api.
- Typically `shouldBeEqualTo`is the main assertion to use for asserting function return values as by project convention we assert against entire objects or
lists.
```kotlin
val result = listOf("hello", "world")
// Fail
result shouldBeEqualTo listOf("hello")
```
```kotlin
data class Person(val age: Int, val name: String)
val result = Person(age = 100, name = "Gandalf")
// Avoid
result.age shouldBeEqualTo 100
// Prefer
result shouldBeEqualTo Person(age = 100, "Gandalf")
```
- Exception throwing can be asserted against using `assertFailsWith<T : Throwable>`.
- When asserting reusable exceptions, include the message to distinguish between them.
```kotlin
assertFailsWith<ConcreteException>(message = "Details about error") {
// when section of the test
codeUnderTest()
}
```
---
#### Constants
- Reusable values are extracted to file level immutable properties or constants.
- These can be parameters or expected results.
- The naming convention is to prefix with `A` or `AN` for better matching with the test name.
```kotlin
private const val A_LOWERCASE_LABEL = "hello"
class MyTest {
@Test
fun `when uppercasing a lowercase label, then returns label uppercased`() {
val result = TextUppercaser().uppercase(A_LOWERCASE_LABEL)
...
}
}
```
---
#### Mocking
- In order to provide different behaviour for dependencies within tests our main method is through mocking, using [Mockk](https://mockk.io/).
- We avoid using relaxed mocks in favour of explicitly declaring mock behaviour through the _Fake_ convention. There are exceptions when mocking framework
classes which would require a lot of boilerplate.
- Using `Spy` is discouraged as it inherently requires real instances, which we are avoiding in our tests. There are exceptions such as `VectorFeatures` which
acts like a `Fixture` in release builds.
---
#### Fakes
- Fakes are reusable instances of classes purely for testing purposes. They provide functions to replace the functions of the interface/class they're faking
with test specific values.
- When faking an interface, the _Fake_ can be written using delegation or by stubbing
- All Fakes currently reside in the same package `${package}.test.fakes`
```kotlin
// Delegating to a mock
class FakeClock : Clock by mockk() {
fun givenEpoch(epoch: Long) {
every { epochMillis() } returns epoch
}
}
// Stubbing the interface
class FakeClock(private val epoch: Long) : Clock {
override fun epochMillis() = epoch
}
```
It's currently more common for fakes to fake class behaviour, we achieve this by wrapping and exposing a mock instance.
```kotlin
class FakeCursor {
val instance = mockk<Cursor>()
fun givenEmpty() {
every { instance.count } returns 0
every { instance.moveToFirst() } returns false
}
}
val fakeCursor = FakeCursor().apply { givenEmpty() }
```
#### Fixtures
- Fixtures are a reusable wrappers around data models. They provide default values to make creating instances as easy as possible, with the option to override
specific parameters when needed.
- Are namespaced within an `object`.
- Reduces the _find usages_ noise when searching for usages of the origin class construction.
- All Fixtures currently reside in the same package `${package}.test.fixtures`.
```kotlin
object ContentAttachmentDataFixture {
fun aContentAttachmentData(
type: ContentAttachmentData.Type.TEXT,
mimeType: String? = null
) = ContentAttachmentData(type, mimeType)
}
```
- Fixtures can also be used to manage specific combinations of parameters
```kotlin
fun aContentAttachmentAudioData() = aContentAttachmentData(
type = ContentAttachmentData.Type.AUDIO,
mimeType = "audio/mp3",
)
```
---
### Examples
##### Extensions used to streamline the test setup
```kotlin
class CircularCacheTest {
@Test
fun `when putting more than cache size then cache is limited to cache size`() {
val (cache, internalData) = createIntCache(cacheSize = 3)
cache.putInOrder(1, 1, 1, 1, 1, 1)
internalData shouldBeEqualTo arrayOf(1, 1, 1)
}
}
private fun createIntCache(cacheSize: Int): Pair<CircularCache<Int>, Array<Int?>> {
var internalData: Array<Int?>? = null
val factory: (Int) -> Array<Int?> = {
Array<Int?>(it) { null }.also { array -> internalData = array }
}
return CircularCache(cacheSize, factory) to internalData!!
}
private fun CircularCache<Int>.putInOrder(vararg values: Int) {
values.forEach { put(it) }
}
```
##### Fakes and Fixtures
```kotlin
class LateInitUserPropertiesFactoryTest {
private val fakeActiveSessionDataSource = FakeActiveSessionDataSource()
private val fakeVectorStore = FakeVectorStore()
private val fakeContext = FakeContext()
private val fakeSession = FakeSession().also {
it.givenVectorStore(fakeVectorStore.instance)
}
private val lateInitUserProperties = LateInitUserPropertiesFactory(
fakeActiveSessionDataSource.instance,
fakeContext.instance
)
@Test
fun `given no active session, when creating properties, then returns null`() {
val result = lateInitUserProperties.createUserProperties()
result shouldBeEqualTo null
}
@Test
fun `given a teams use case set on an active session, when creating properties, then includes the remapped WorkMessaging selection`() {
fakeVectorStore.givenUseCase(FtueUseCase.TEAMS)
fakeActiveSessionDataSource.setActiveSession(fakeSession)
val result = lateInitUserProperties.createUserProperties()
result shouldBeEqualTo UserProperties(
ftueUseCaseSelection = UserProperties.FtueUseCaseSelection.WorkMessaging
)
}
}
```
##### ViewModel
- `ViewModels` tend to be one of the most complex areas to unit test due to their position as a coordinator of data flows and bridge between domains.
- As the project uses a slightly tweaked`MvRx`, our API for the `ViewModel` is simplified down to `input - ViewModel.handle(Action)`
and `output Flows - ViewModel.viewEvents & ViewModel.stateFlow`. A `ViewModel` test asserter has been created to further simplify the process.
```kotlin
class ViewModelTest {
private var initialState = ViewState.Empty
@get:Rule
val mavericksTestRule = MavericksTestRule(testDispatcher = UnconfinedTestDispatcher())
@Test
fun `when handling MyAction, then emits Loading and Content states`() {
val viewModel = ViewModel<State>(initialState)
val test = viewModel.test() // must be invoked before interacting with the VM
viewModel.handle(MyAction)
test
.assertViewStates(initialState, State.Loading, State.Content())
.assertNoEvents()
.finish()
}
}
```
- `ViewModels` often emit multiple states which are copies of the previous state, the `test` extension `assertStatesChanges` allows only the difference to be
supplied.
```kotlin
data class ViewState(val name: String? = null, val age: Int? = null)
val initialState = ViewState()
val viewModel = ViewModel<State>(initialState)
val test = viewModel.test()
viewModel.handle(ChangeNameAction("Gandalf"))
test
.assertStatesChanges(
initialState,
{ copy(name = "Gandalf") },
)
.finish()
```

View File

@@ -0,0 +1 @@
Qrup mesajlaşma - şifrəli mesajlaşma, qrup söhbəti və video zənglər

View File

@@ -0,0 +1 @@
Element - Təhlükəsiz Mesajlaşma

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: Umožňuje vylepšené přihlašování a registraci.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: Umožňuje vylepšené přihlašování a registraci.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: Opravy různých chyb a vylepšení stability.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: Opravy různých chyb a vylepšení stability.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,3 @@
Nový vzhled aplikace lze povolit v Experimentálních funkcích. Prosíme, vyzkoušejte ho!
Oprava problémů s chybějícími oznámeními a dlouhou přírůstkovou synchronizací.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: Odložené přímé zprávy jsou ve výchozím nastavení povoleny.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: Nové rozvržení aplikace je povoleno ve výchozím nastavení!
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: Nové funkce v Experimentálních funkcích: Rozšířený editor zpráv, nová správa zařízení, hlasové vysílání. Stále v aktivním vývoji!
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: nové uživatelské rozhraní pro výběr přílohy.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: nové uživatelské rozhraní pro výběr přílohy.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: opravy různých chyb a vylepšení.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Hlavní změny v této verzi: Nová implementace celoobrazovkového režimu pro editor formátovaného textu a opravy chyb.
Úplný seznam změn: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: UnifiedPush wird unterstützt; Dies ermöglicht Push-Benachrichtigungen ohne FCM.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: Verschiedene Fehlerbehebungen und Stabilitätsverbesserungen.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: Verschiedene Fehlerbehebungen und Stabilitätsverbesserungen.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: Verbessertes Anmelde- und Registrierungserlebnis.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: Verbessertes Anmelde- und Registrierungserlebnis.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: Verschiedene Fehlerbehebungen und Stabilitätsverbesserungen.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: Verschiedene Fehlerbehebungen und Stabilitätsverbesserungen.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,3 @@
Das neue App-Layout kann in den experimentellen Einstellungen aktiviert werden. Probier es gerne aus!
Fehler bzgl. ausbleibender Benachrichtigungen und langwierigem inkrementellem Synchronisieren behoben.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigste Änderung in dieser Version: Verzögerte Direktnachrichten standardmäßig aktiviert!
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigste Änderung in dieser Version: Neues App-Layout standardmäßig aktiviert!
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigste Änderung in dieser Version: Neue Funktionen in den Labor-Einstellungen: Textverarbeitungs-Editor, neue Geräteverwaltung, Sprachübertragung. Noch in aktiver Entwicklung!
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigste Änderung in dieser Version: Neues Anhangauswahl-UI.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigste Änderung in dieser Version: Neue Anhangauswahl-Oberfläche.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: Fehlerbehebungen und Verbesserungen.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -0,0 +1,2 @@
Die wichtigsten Änderungen in dieser Version: Der Vollbildmodus des Textverarbeitungseditors wurde neu umgesetzt und es wurden diverse Fehler behoben.
Vollständiges Änderungsprotokoll: https://github.com/vector-im/element-android/releases

View File

@@ -1 +1 @@
Gruppen-Messenger - verschlüsselte Kommunikation, Gruppenchat und Videoanrufe
Gruppen-Messenger verschlüsselte Kommunikation, Gruppen und Videoanrufe

View File

@@ -1 +1 @@
Element - Sicherer Messenger
Element Sicher kommunizieren

Some files were not shown because too many files have changed in this diff Show More