Commit Graph

11048 Commits

Author SHA1 Message Date
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 1059f105bf Move comment to the correct line 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
dependabot[bot] 013b16a37d
Bump transcoder from 0.10.3 to 0.10.4
Bumps [transcoder](https://github.com/natario1/Transcoder) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/natario1/Transcoder/releases)
- [Commits](https://github.com/natario1/Transcoder/compare/v0.10.3...v0.10.4)

---
updated-dependencies:
- dependency-name: com.otaliastudios:transcoder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-23 08:46:12 +00:00
Benoit Marty cfd37bb528
Merge pull request #4063 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.33
Bump libphonenumber from 8.12.32 to 8.12.33
2021-09-23 10:45:18 +02:00
Valere 05e35afe12 remove issue number from changelog 2021-09-23 10:19:05 +02: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
ganfra ebd5095662 Room detail: use ViewStub for FailedMessagesWarningView 2021-09-22 18:00:56 +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 8734d5d2e7 removing redundant comments about pusher kind from apis which don't have a kind field 2021-09-21 16:08:46 +01:00
Adam Brown 52d9600c4f adding changelog entry for notifications 2021-09-21 16:07:19 +01: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 ee3f2877e9 adding matrix SDK support for email adding and removing email pushes
- email pushes make use of a new undocumented `brand` field, for now this field maps directly to the app display name so we can resuse it
2021-09-21 09:52:00 +01:00
Benoit Marty 6bf8202e65
Merge pull request #4044 from vector-im/feature/bca/fix_show_invitebottomsheet_on_notif_intent
Show mxto bottom sheet when tapping invite notification
2021-09-20 18:24:11 +02:00
Adam Brown 1591375aa2 adding ability to remove push targets from the notification target screen 2021-09-20 16:35:53 +01:00
Florian Renaud fa3abecf8f Fix review 2021-09-20 15:18:06 +02:00
Valere 8036f50a6e Show mxto bottom sheet when tapping invite notification 2021-09-20 12:07:45 +02:00
Linerly 2cc9d27902 Translated using Weblate (Indonesian)
Currently translated at 100.0% (29 of 29 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2021-09-18 14:26:02 +00:00
Linerly a48813003e Translated using Weblate (Indonesian)
Currently translated at 70.6% (1848 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-09-18 14:26:01 +00:00
waclaw66 bc85ae4bc9 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-18 14:25:27 +00:00
Benoit Marty f418683da5
Merge pull request #4014 from vector-im/feature/fga/hide_jitsi_event
Jitsi: introduces ConferenceEvent
2021-09-17 18:07:33 +02:00
Benoit Marty b5f7351564
Merge pull request #4008 from vector-im/feature/fga/small_timeline_optimisation
Feature/fga/small timeline optimisation
2021-09-17 18:06:58 +02:00
Florian Renaud e37fb313c0 Permalink: Merge LinkHandlerActivity with PermalinkHandlerActivity
Also convert links to matrix.to before permalink parsing
2021-09-17 17:19:32 +02:00
Florian Renaud 21d0a28150 Permalink: move supported hosts to config file 2021-09-17 16:46:09 +02:00
Florian Renaud a73f0a9fa8 Permalink: use client base url if any 2021-09-17 16:46:09 +02:00