Commit graph

7366 commits

Author SHA1 Message Date
Adam Brown
789cc6b597 exlcuding the slf4j logger from the test dependencies
the videocache dependency includes slf4j which in turn causes mockk to reflectively attempt to call real Log functions, which crashes the units tests due to the stub android.jar
2021-09-27 17:23:03 +01:00
Adam Brown
e6eb86538f wrapping the Dispatcher.IO and making it injectable for testing 2021-09-27 16:57:05 +01:00
Benoit Marty
5b5dcf988d Version++ 2021-09-27 13:09:58 +02:00
Benoit Marty
f39d2b141e Wait for emoji to load, it's async now
Testing before release 1.3.0
2021-09-27 12:56:05 +02:00
Benoit Marty
53c8862ca2 Change version to 1.3.0 2021-09-27 11:57:23 +02:00
ntnguyen1234
3567ba8b5d Added translation using Weblate (Vietnamese) 2021-09-27 11:04:53 +02:00
Weblate
28e84d06c4 Merge branch 'origin/develop' into Weblate. 2021-09-27 08:05:09 +00:00
Andrejs
4b5a1d06c3 Translated using Weblate (Latvian)
Currently translated at 77.9% (2039 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-09-27 08:04:59 +00:00
Graeme Power
3aaffc8a8f Translated using Weblate (Irish)
Currently translated at 7.6% (201 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ga/
2021-09-26 14:25:54 +00:00
Ihor Hordiichuk
ef5208a0e4 Translated using Weblate (Ukrainian)
Currently translated at 83.5% (2185 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-26 14:25:53 +00:00
Linerly
83b0ada342 Translated using Weblate (Indonesian)
Currently translated at 79.8% (2089 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-09-26 14:25:51 +00:00
artevaeckt
0b2125afe3 Translated using Weblate (German)
Currently translated at 99.1% (2594 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-26 14:25:30 +00:00
zeritti
cec018915e Translated using Weblate (Czech)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-09-26 14:25:30 +00:00
Benoit Marty
cde6e8cc1b
Merge pull request #4057 from vector-im/feature/bca/quick_invite_card_improvement
Improve invite bottom sheet
2021-09-24 20:46:12 +02:00
Benoit Marty
eb104d8758 Clean up 2021-09-24 20:45:50 +02:00
Benoit Marty
045e4bbf76
Merge pull request #4052 from vector-im/feature/adm/email_notification_toggle
Add email notification toggle
2021-09-24 20:42:44 +02:00
Valere
1fed27961a Code review 2021-09-24 19:35:49 +02:00
Valere
8318f2d38f fix CI 2021-09-24 18:44:04 +02:00
Valere
0acf90d8cd Code review 2021-09-24 18:12:12 +02:00
Valere
91ba17f71b Code review 2021-09-24 18:12:12 +02:00
Valere
5bb3e22868 cleaning 2021-09-24 18:12:12 +02:00
Valere
d59aaa7611 Support entering mail in user invite screen 2021-09-24 18:12:12 +02:00
Adam Brown
4482cbdaa6 using dedicated pusher removal methods for the different types of pushers
- also adds a separate removePusher which supports removing any type of pusher
2021-09-24 17:00:48 +01:00
Adam Brown
7fd794bd7a reusing existing setTextOrHide by adding an additional parameter to hide other views 2021-09-24 15:44:10 +01:00
Benoit Marty
5a8e789435
Merge pull request #4061 from vector-im/feature/bca/spaces_invite_notification_dot
Fix notif badge for space invite
2021-09-24 16:20:11 +02:00
waclaw66
9099b2021e Translated using Weblate (Czech)
Currently translated at 100.0% (113 of 113 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2021-09-24 16:00:18 +02:00
Benoit Marty
ee59fe660f Improve formatting 2021-09-24 15:53:10 +02:00
Benoit Marty
3287980109 Cleanup and add changelog 2021-09-24 15:38:08 +02:00
SpiritCroc
d190cc9f0f Fix background ripple for VectorPreferences
Change-Id: I03c7ab6b69e70f4552658725c52919efacdbb143
2021-09-24 10:14:19 +02:00
dependabot[bot]
5e7e66b18c
Bump barista from 4.1.0 to 4.2.0
Bumps [barista](https://github.com/AdevintaSpain/Barista) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/AdevintaSpain/Barista/releases)
- [Commits](https://github.com/AdevintaSpain/Barista/compare/4.1.0...4.2.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>
2021-09-24 07:53:52 +00:00
Benoit Marty
1b262a4df8
Merge pull request #4071 from vector-im/tools/adm/connected_tests
Fixing no tests found when running vector:connectedAndroidTest
2021-09-24 09:53:04 +02:00
Benoit Marty
863ba609df
Merge pull request #4029 from vector-im/feature/fga/fix_voip_issues
Feature/fga/fix voip issues
2021-09-24 09:43:39 +02:00
Adam Brown
7bd8890276 extracting orchestrator dependency to the dependencies.gradle file 2021-09-23 20:24:16 +01:00
Adam Brown
4f340f6b90 adding extra sleeps in order to get the tests completing more consistently locally 2021-09-23 20:21:24 +01:00
Benoit Marty
9c559a7c2c
Merge pull request #4065 from vector-im/feature/fga/improve_room_detail_start
Feature/fga/improve room detail start
2021-09-23 19:35:28 +02:00
SpiritCroc
a7680ddbac View filename in audio message if waveform message
Change-Id: I80f85abf74566d8fdfbf4fad1c213612c753a87d
2021-09-23 18:59:04 +02:00
SpiritCroc
e3b590bb8e Use voice message player also for audio messages
Closes https://github.com/SchildiChat/SchildiChat-android/issues/88

Change-Id: I815a039dd638b7ec7dfcf186777e2042814d26a5
2021-09-23 18:27:45 +02:00
Adam Brown
d7bc32d7ca including tech orchestrator in the vector module script, fixes the no tests found error 2021-09-23 17:22:19 +01:00
SpiritCroc
eadc990675 Scroll to bottom of chat after sending a message
Change-Id: I54f71bfe5e5b9f0bbeeafa1b0faa3e9992da442c
2021-09-23 18:18:18 +02:00
SpiritCroc
586f565c23 Properly hide unread counts if not supported by homeserver
Showing a "1" for every unread chat doesn't make too much sense.

Change-Id: I8e49f2bf20477f9b58039005c411041269ca6652
2021-09-23 18:13:15 +02:00
ganfra
8ecaaa08cf Fix MessageActionsBottomSheet not being shown on local echos #4068 2021-09-23 17:14:04 +02:00
Benoit Marty
e4bc60d255
Merge pull request #4020 from vector-im/dependabot/gradle/androidx.media-media-1.4.2
Bump media from 1.4.1 to 1.4.2
2021-09-23 15:53:17 +02:00
Adam Brown
3a1cb1c07a monitoring the ThreePids so that the notifications screen updates when returning from adding an email
- makes use of both sync and async fetching so that the page can avoid jumping around on the initial load
2021-09-23 14:46:07 +01:00
Adam Brown
0302d19f47 formatting 2021-09-23 13:20:01 +01:00
Adam Brown
43eff8b85b reusing existing remove string 2021-09-23 13:05:18 +01:00
Adam Brown
1d4c909b50 adding translator note about the enable email placeholder 2021-09-23 13:02:36 +01:00
Benoit Marty
e27fa5db12 Format 2021-09-23 13:55:04 +02:00
Adam Brown
1865e3c450 hiding the notification url/format UI fields when they're null (which is the case for email pushers) 2021-09-23 12:54:52 +01:00
Benoit Marty
6708d22da5 Kotlin compiler is not clever enough 2021-09-23 13:54:03 +02:00
Benoit Marty
75fb026289 Rename some classes after new feature implemented 2021-09-23 13:54:03 +02:00
Benoit Marty
306e3cf055 Improve log to track push and sync request
Also change some log level from d to v
2021-09-23 13:54:03 +02:00
Benoit Marty
93506d18fa Display push counter on debug mode 2021-09-23 13:54:03 +02:00
Benoit Marty
c163d2e271 Try to fix debug menu visibility. Still broken :/ 2021-09-23 13:54:03 +02:00
Benoit Marty
1ce48c4deb Add a dedicated setting to show debug info on screen 2021-09-23 13:54:03 +02:00
Benoit Marty
1cd6ec4448 Do not log eventId 2021-09-23 13:54:03 +02:00
Benoit Marty
05aff3314d Add error state 2021-09-23 13:54:03 +02:00
Benoit Marty
f5151463e2 Add the number of rooms and toDevice events in the debug data 2021-09-23 13:54:03 +02:00
Benoit Marty
63a84dcb8a Add incremental sync status to the room list and the room detail (only in developer mode) 2021-09-23 13:54:03 +02:00
Adam Brown
d31ad7e187 extracting constants for the pusher kinds and email appId 2021-09-23 12:33:48 +01:00
Adam Brown
4c4f2fce74 catching remove pusher errors in the notification targets screen
- displays a dialog with a human readable version of the error
2021-09-23 12:27:56 +01:00
ganfra
d9e9568c2e Clean code and update CHANGES 2021-09-23 13:19:29 +02:00
ganfra
fc5c6b9b00 RoomDetail: lazy load EmojiDataSource data (+ async) 2021-09-23 13:13:16 +02:00
Adam Brown
efec63e979 documenting the getEmails function and lifting it out of the class as it's not directly tied to the class 2021-09-23 12:02:46 +01:00
Adam Brown
8316728e53 removing this. usages where there's no clashes 2021-09-23 11:45:09 +01:00
Valere
9b02704d5b Code review 2021-09-23 09:52:20 +02:00
dependabot[bot]
654010570e
Bump libphonenumber from 8.12.32 to 8.12.33
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.32 to 8.12.33.
- [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.32...v8.12.33)

---
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>
2021-09-22 23:05:09 +00:00
SpiritCroc
ad8751cd99 Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: If3dfc59d80aa64549b0a359b0605983bc79a55e3
2021-09-22 20:07:15 +02:00
SpiritCroc
9b6ea76880 Remove outdated translations
Change-Id: Ice65fa33f998381198b3c3df160f4dcd58c73fa5
2021-09-22 20:05:11 +02:00
dc7ia
8444c74b03 Translated using Weblate (Swedish)
Currently translated at 95.4% (105 of 110 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2021-09-22 19:52:03 +02:00
SpiritCroc
8d267649eb Setting to count unread rooms instead of messages in aggregates
Change-Id: I557741771ba8b83cc2ce7bb6c90501ebc14a7736
2021-09-22 19:41:25 +02:00
ganfra
ebd5095662 Room detail: use ViewStub for FailedMessagesWarningView 2021-09-22 18:00:56 +02:00
SpiritCroc
d1273985b8 Apply unread count setting upon change
Change-Id: Idf3d32045bdfca462a281ccf13d5c758fed2e2c5
2021-09-22 17:50:30 +02:00
SpiritCroc
cc13146f81 Update unread counter handling
Change-Id: I2f5738b822b4161d18de28074385c5664f3d1f98
2021-09-22 17:50:24 +02:00
Valere
636389d584 Fix notif badge for space invite 2021-09-22 17:26:36 +02:00
Valere
195fb6f6fc Improve invite bottom sheet 2021-09-22 14:53:01 +02:00
ganfra
290586948f Room detail: create lazy loaded views holder 2021-09-22 11:36:37 +02:00
random
261797e7ac Translated using Weblate (Italian)
Currently translated at 99.8% (2612 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-09-22 09:25:29 +00:00
Priit Jõerüüt
e113880ae8 Translated using Weblate (Estonian)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-09-22 09:25:28 +00:00
ganfra
fb10e9f113 Room detail : lazy load EmojiPopup and AutocompleteMemberPresenter 2021-09-22 11:07:36 +02:00
ganfra
5bf1761f27 Room detail: use StubView for InviteView 2021-09-21 18:31:17 +02:00
Adam Brown
0617179c20 removing trailing comma for lint 2021-09-21 15:59:29 +01:00
Adam Brown
03eb36636d capturing the original switch state at the point of clicking the switch rather than when the listener is initially set 2021-09-21 15:26:51 +01:00
Adam Brown
710f2f92cb cleaning up the notification email group xml definition to include a self closing tag
- the category is dynamically populated so we shouldn't be adding anything static here anyways!
2021-09-21 13:46:23 +01:00
Adam Brown
2c25efc36a making the removePusher more generic as it can handle email and http pushers
- Updates the doc to reflect that to remove emails an appId of m.email is required
2021-09-21 13:46:18 +01:00
Adam Brown
78d70eab12 enforcing emails pushes to always be appended
- always appending allows the same email to be used for other accounts see https://github.com/matrix-org/matrix-react-sdk/pull/2727 https://github.com/matrix-org/matrix-react-sdk/pull/2727/files#diff-ec232520bf51337e5e6939b885d21f428ad6da3306c8e17a3ff660b2b341179dR165
2021-09-21 11:32:33 +01:00
Adam Brown
516bb6ed95 lifting the email branding to its own parameter so clients of the sdk can configure it 2021-09-21 11:26:11 +01:00
Adam Brown
0b293d08cc handling errors when enabling/disabling email notifications
- Extracts out a transactional switch helper to handle reverting the switch back to its original state if an error occurs
- Reuses existing toast message for unknown error
- Does not include the isAdded to the async callback as the couroutine is tied to the fragment lifecycle scope
2021-09-21 11:16:09 +01:00
Adam Brown
410cf5c062 adding UI toggle for email notifications in /settings/notifications
- will display a _no emails_ when the matrix account has no emails set and tapping will navigate to the emails and phone numbers screen where the user can add an email
- toggling the email notification with register and unregister push notification for the given email address
2021-09-21 10:47:03 +01:00
Adam Brown
1591375aa2 adding ability to remove push targets from the notification target screen 2021-09-20 16:35:53 +01:00
Valere
8036f50a6e Show mxto bottom sheet when tapping invite notification 2021-09-20 12:07:45 +02:00
SpiritCroc
f97549073e Increment version
Change-Id: If37db85f2d3e0affd140961f9efc87c8440c5033
2021-09-18 20:38:14 +02:00
SpiritCroc
6ec4f1bb1a Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: I0d98fa27615da35eb9067bb7cd094d63d9e64d63
2021-09-18 20:29:43 +02:00
SpiritCroc
756529e565 Revert "Use Java 11 source code"
This seems to break device compatibility with a ZTE Blade L3, Android
5.0.2, stock ROM - even though the Google Play Developer Console views
the device as supported.

Not sure how long we want to stick to Java 8, but we should at least
give everyone who had v1.2.0 installed the chance to get to v1.2.2, to
get a version with the recent security vulerability fix.

This reverts commit 80f23f1f3c.

Change-Id: If599d9154e9385a33f10b6df17469cd86deccb7b
2021-09-18 20:26:29 +02:00
Vib
01d996d51a Translated using Weblate (Romanian)
Currently translated at 84.5% (93 of 110 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/ro/
2021-09-18 20:23:30 +02:00
su-ex
46637dd2f4 Translated using Weblate (German)
Currently translated at 78.1% (86 of 110 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/de/
2021-09-18 20:23:30 +02:00
waclaw66
45a18ff16b Translated using Weblate (Czech)
Currently translated at 100.0% (110 of 110 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2021-09-18 20:23:30 +02:00
Vib
11fe938641 Translated using Weblate (Romanian)
Currently translated at 84.7% (89 of 105 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/ro/
2021-09-18 20:23:30 +02:00
Vib
3da78cfe87 Added translation using Weblate (Romanian) 2021-09-18 20:23:30 +02:00
RandomItalianGuy
30e3d52828 Translated using Weblate (Italian)
Currently translated at 11.4% (12 of 105 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/it/
2021-09-18 20:23:30 +02:00
dc7ia
f070a389f7 Translated using Weblate (Swedish)
Currently translated at 93.3% (98 of 105 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2021-09-18 20:23:29 +02:00