Commit graph

6926 commits

Author SHA1 Message Date
Benoit Marty
923bc00dcd
Merge branch 'develop' into feature/aris/presence 2021-10-12 15:22:40 +02:00
koh6uawi
c9f69b3fc5 Move XML namespaces to root element 2021-10-12 15:12:26 +02:00
koh6uawi
da28ddfabd Use "wrap_content" instead of "match_parent"
Fix a linter error
2021-10-12 15:10:33 +02:00
Benoit Marty
efc1e9b87c
Merge pull request #4217 from vector-im/sync-emojis
Sync Emojis
2021-10-12 14:54:36 +02:00
Benoit Marty
36d2f8e46b
Merge pull request #4228 from vector-im/feature/adm/suspending_add_pusher
Improved /settings/notifications push toggle error handling
2021-10-12 14:50:01 +02:00
Benoit Marty
b6c483fff0
Merge pull request #4225 from vector-im/feature/adm/delaying-first-sync-until-foreground
Fixing unexpected sync occurring in background
2021-10-12 14:31:57 +02:00
Benoit Marty
e3034e5d11
Merge pull request #4190 from vector-im/feature/fga/mavericks_2
Feature/fga/mavericks 2
2021-10-12 14:11:00 +02:00
Adam Brown
786dec5dc0 observing both the email pushers and email pids so that displayed email pushers are always in sync 2021-10-12 12:49:39 +01:00
ganfra
a24a9b43fa Mavericks 2: make the UT happy. Let SDK exposes MatrixCoroutineDispatchers. 2021-10-12 13:47:32 +02:00
Adam Brown
bd51eae741 refreshing the threePids when entering the preference screen, afterwards we're monitoring for changes 2021-10-12 11:44:30 +01:00
Adam Brown
1c1424eafc using verb prefix for http pusher creation function 2021-10-12 11:39:14 +01:00
Adam Brown
e24329e139 reusing the transactional logic for the current session notifications toggle
- uses the synchronous token registering which also means we get error handling
2021-10-12 11:39:14 +01:00
Adam Brown
6c9fcc0d93 extracting the add pusher logic for the worker and delegating to the task from the worker 2021-10-12 11:39:14 +01:00
Adam Brown
b7a54ead68 delaying the first sync until the first process onStart event
- fixes push notifications starting the polling sync thread when the application is created due to push
2021-10-12 09:47:17 +01:00
Alex Baker
42cbdf0a6c Dont set person on sent message notification
Signed-off-by: Alex Baker <alex@beeper.com>
2021-10-11 14:42:22 -05:00
ganfra
a26e43e90c Mavericks 2: clean after PR review 2021-10-11 17:31:27 +02:00
ariskotsomitopoulos
ccc4a43737 Sync Emojis 2021-10-11 14:13:18 +00:00
Onuray Sahin
13aee7d162 Do not delete voice message file to be able to resend. 2021-10-11 16:49:15 +03:00
Benoit Marty
6520729343 ktlint 2021-10-11 14:41:40 +02:00
Benoit Marty
f89a32da1f Add opt-in for kotlinx.coroutines annotations 2021-10-11 14:27:55 +02:00
Benoit Marty
6721669d1d Fixes false positive "This is an internal Mavericks API. It is not intended for external use."
of MvRx `by viewModel()` calls. Maybe due to the inlining of code... This is a temporary fix...
2021-10-11 14:27:45 +02:00
Benoit Marty
737a290841
Merge pull request #4210 from vector-im/feature/aris/issue_908_user_completion_picket
Feature/aris/issue 908 user completion picket
2021-10-11 12:31:30 +02:00
Benoit Marty
343783f807 Version++ 2021-10-11 12:06:51 +02:00
Benoit Marty
2c8e171911
Merge pull request #4208 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-10-11 11:29:27 +02:00
ariskotsomitopoulos
a2c790b4a1 Update to support the whole typing name 2021-10-11 12:29:00 +03:00
ariskotsomitopoulos
506dfe5fea Adding trailing space " " or ": " if the user started a sentence by mentioning someone, 2021-10-11 11:46:37 +03:00
discapacidad5
db0e47b133 Translated using Weblate (Spanish)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2021-10-11 08:39:01 +00:00
Benoit Marty
d309c71d83 Disable Android Auto supports see https://github.com/vector-im/element-android/issues/4205 2021-10-11 10:21:42 +02:00
koh6uawi
1069e990e5
Merge branch 'vector-im:develop' into scroll_select_font_size 2021-10-11 00:19:46 +02:00
Linerly
06e1cfd631 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-10 14:36:58 +00:00
sr093906
4ffb30ec4f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-10-10 13:25:51 +00:00
Ihor Hordiichuk
fbec4c305e Translated using Weblate (Ukrainian)
Currently translated at 91.3% (2438 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-10 13:25:49 +00:00
Besnik Bleta
820eedc7a3 Translated using Weblate (Albanian)
Currently translated at 99.4% (2653 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-10-10 13:25:49 +00:00
lvre
30cc056b61 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-10-10 13:25:48 +00:00
Szimszon
16068d8214 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-10-10 13:25:47 +00:00
Danial Behzadi
51c83f8bf4 Translated using Weblate (Persian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-10-10 13:25:46 +00:00
Priit Jõerüüt
fe4475c430 Translated using Weblate (Estonian)
Currently translated at 100.0% (2669 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-10-10 13:25:44 +00:00
discapacidad5
fdc3da979e Translated using Weblate (Spanish)
Currently translated at 98.6% (2632 of 2669 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2021-10-10 13:25:43 +00:00
ganfra
2a29243298 Mavericks 2: clean code, but have warnings 2021-10-08 16:45:29 +02:00
Benoit Marty
3a387c5e32 version++ 2021-10-08 16:36:48 +02:00
Benoit Marty
612f0c77ea Wait a bit more 2021-10-08 16:26:36 +02:00
Benoit Marty
0a0dd4ee1b Fix crash when opening Identity Server detail from preference 2021-10-08 16:16:35 +02:00
Benoit Marty
66d4a48930 Remove unused strings 2021-10-08 15:07:52 +02:00
Benoit Marty
090273da14 Fix lint error 2021-10-08 14:55:50 +02:00
Weblate
5c5fc767a4 Merge branch 'origin/develop' into Weblate. 2021-10-08 12:27:26 +00:00
Slimane Selyan AMIRI
5a5832dab7 Translated using Weblate (Kabyle)
Currently translated at 81.0% (2154 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/kab/
2021-10-08 12:27:19 +00:00
Ihor Hordiichuk
bf219856a5 Translated using Weblate (Ukrainian)
Currently translated at 91.7% (2440 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-08 12:27:18 +00:00
LinAGKar
999a08c0f5 Translated using Weblate (Swedish)
Currently translated at 98.4% (2617 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-08 12:27:13 +00:00
ganfra
c66d6aab5c Timeline: dispatch update on a background thread 2021-10-08 12:55:37 +02:00
ganfra
3bdf264a53 Merge develop into feature/fga/mavericks_2 2021-10-08 10:49:43 +02:00
koh6uawi
56b0b28d5e Make "Select text size" dialog scrollable
Wrap the LinearLayout inside a ScrollView.
2021-10-08 01:59:13 +02:00
Benoit Marty
d6af355335
Merge pull request #4184 from vector-im/feature/adm/is-policy
Always display identity server policies
2021-10-07 20:53:03 +02:00
Adam Brown
5365e87777 reducing the discovery policy url text size by using caption style 2021-10-07 17:56:54 +01:00
Adam Brown
cb7260954a renaming xml view to avoid clashing with other file 2021-10-07 17:46:33 +01:00
Adam Brown
259b6d56d7 using singular for the policy copy name to match content 2021-10-07 17:45:30 +01:00
Adam Brown
d00858f83b handling empty policy list by showing empty copy 2021-10-07 17:44:54 +01:00
Adam Brown
cccda9b699 using single action for the updating the policy expanded toggling/state setting 2021-10-07 17:29:50 +01:00
ganfra
79ec0591d2 Mavericks 2: continue removing rx 2021-10-07 15:32:57 +02:00
Adam Brown
496a531072 reverting uneedeed text item changes 2021-10-07 13:57:56 +01:00
Adam Brown
791c92c991 launching the discovery page with policy expanded when tapping the policy link from the consent dialog 2021-10-07 13:54:36 +01:00
Adam Brown
7b5972e3cf expanding the discovery polices on recieving a custom payload
- also meant updating the general link to discovery in order to manually pass the default arguments
2021-10-07 13:50:43 +01:00
Adam Brown
728f34f53c converting the settings activity payload to a sealed class, this allows us to have custom arguments for the sub settings pages 2021-10-07 13:07:30 +01:00
Adam Brown
05166944d8 navigating to the settings discovery page on policy link clicked from non discovery screens 2021-10-07 12:45:59 +01:00
Adam Brown
c0fd266fc4 using consistent naming for the policy and opening a chrome tab when policy is tapped 2021-10-07 12:39:48 +01:00
ganfra
acf3b84781 Mavericks 2: migrate UserListViewModel 2021-10-07 12:24:08 +02:00
Erik Huizinga
64fb94691b Translated using Weblate (Dutch)
Currently translated at 65.1% (1732 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2021-10-07 09:25:39 +00:00
Adam Brown
2f732affa5 updating policy title to include show/hide 2021-10-07 10:15:37 +01:00
ganfra
362ebcbe42 Revert "Mavericks 2: remove matrix-sdk-android-flow as it will be easier when entirely migrating to flow"
This reverts commit d9b02a20d8.
2021-10-07 11:11:44 +02:00
Adam Brown
7e8ca29ca7 creating dedicated discovery policy items and displaying within an expandable form item 2021-10-07 10:09:03 +01:00
Benoit Marty
f5cda678b2
Merge pull request #4177 from vector-im/feature/fga/temporary_dial_pad_fix
Fix SIP user to native user mapping is wrong
2021-10-07 10:10:48 +02:00
dependabot[bot]
c55598a099
Bump libphonenumber from 8.12.33 to 8.12.34
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.33 to 8.12.34.
- [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.33...v8.12.34)

---
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-10-06 23:07:32 +00:00
ganfra
0125c7675d Fix SIP user to native user mapping is wrong #4176 (also clear dialpad entry when call is started) 2021-10-06 19:34:04 +02:00
Adam Brown
3111d0b46d updating discovery consent dialog to include policy link which expands the policy urls view 2021-10-06 17:34:02 +01:00
Adam Brown
5a4f320bf9 binding the expanded state as part of the view, allows us to manually control the expansion 2021-10-06 17:20:20 +01:00
Adam Brown
7ce811c227 binding the indentity server policy urls to the discovery page 2021-10-06 17:20:06 +01:00
ariskotsomitopoulos
e4c3457f37 Add public room indicator to RoomDetailFragment & RoomProfileFragment 2021-10-06 19:08:27 +03:00
Adam Brown
04d844b1a9 allowing the expandable scrollbar to be hidden 2021-10-06 16:10:17 +01:00
ariskotsomitopoulos
9ab59a543d * Implement Presence Service:
- Get Presence Status
     - Set Presence Status
* Integrate presence in room details screen
* Integrate presence in room people's view
* Update UI to support presence
* Fix bug when insertOrUpdate was called on RoomMemberEventHandler and override the correct presence value in RoomMemberSummaryEntity
* Improve performance on updateUserPresence in RoomMemberSummaryEntity entity
* Remarks & linter fixes
* Disable presence when there is no m.presence events. In some servers like matrix.org is disabled atm.
* Enhance UI Presence on DM room lists to support dark/light theme
* Restore missing lines in gradle.properties to speed up debugging
2021-10-06 18:00:02 +03:00
Adam Brown
a2f64177eb adding the identity terms to the discovery page state 2021-10-06 15:20:33 +01:00
Erik Huizinga
0e498cc838 Translated using Weblate (Dutch)
Currently translated at 62.6% (1664 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2021-10-06 08:32:02 +00:00
Evrim
16f6e358dc Translated using Weblate (Dutch)
Currently translated at 62.6% (1664 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2021-10-06 08:31:28 +00:00
Ihor Hordiichuk
3a65b4c694 Translated using Weblate (Ukrainian)
Currently translated at 89.6% (2382 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-05 20:25:41 +00:00
waclaw66
0cc5b9fbd1 Translated using Weblate (Czech)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-10-05 20:25:38 +00:00
Zet
7e1e02973b Translated using Weblate (Arabic)
Currently translated at 39.0% (1037 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-10-05 20:25:38 +00:00
ganfra
d9b02a20d8 Mavericks 2: remove matrix-sdk-android-flow as it will be easier when entirely migrating to flow 2021-10-05 18:57:34 +02:00
Philipp Neumann
2223e95f33 fixed ordering and url linting error 2021-10-05 14:59:54 +02:00
Philipp Neumann
95247f8b10 remove also LongLivedShortcuts 2021-10-05 14:59:54 +02:00
Philipp Neumann
214deaa474 added dynamic shortcut for priority conversations for Android 11+ 2021-10-05 14:59:54 +02:00
Benoit Marty
7ebdd7830a
Merge pull request #4158 from vector-im/feature/bma/new_commands
Handle new commands
2021-10-05 13:38:31 +02:00
Benoit Marty
9fd1cc9c8e
Merge pull request #4165 from vector-im/feature/bma/log_error
Add a log to get info when an error occurred when recording / playing voice message
2021-10-05 13:38:11 +02:00
Benoit Marty
f4e50a38a6
Merge pull request #4018 from vector-im/feature/aris/issue_dinsic_618
feature/aris/issue_dinsic_618
2021-10-05 13:36:48 +02:00
ariskotsomitopoulos
f21d89eb29 Minimize the use of exported="true" in android Manifest
- Add comments on Add exported="true" attributes
 - Disable manifest exporting for:
      - (service) VectorConnectionService
      - (receiver) MediaButtonReceiver
2021-10-05 13:57:01 +03:00
Benoit Marty
94bbd37313
Merge pull request #4157 from vector-im/feature/fre/create_dm_improvement
Load existing DM instead of creating a new one
2021-10-05 12:26:22 +02:00
Benoit Marty
06fcee3c46 Add a log to get info when an error occurred when recording / playing voice message
Will help debugging issues like #3904
2021-10-05 11:58:23 +02:00
Benoit Marty
1fcb9f284a
Merge pull request #4155 from vector-im/feature/bma/wording_update
Wording update
2021-10-05 10:04:14 +02:00
Benoit Marty
eceb341986
Merge pull request #4034 from vector-im/feature/bma/displayNameFallback
Add a fallback for user displayName when this one is null or empty
2021-10-04 23:13:28 +02:00
ganfra
fadbb60f90 Mavericks 2: continue replacing Rx 2021-10-04 17:50:45 +02:00
Benoit Marty
068c9393f1 Create extension String.isMxcUrl() 2021-10-04 16:26:15 +02:00
Benoit Marty
5076369173 Improve code 2021-10-04 16:16:56 +02:00
Benoit Marty
9802ed08e3 Merge branch 'feature/bma/new_commands' of github.com:vector-im/element-android into feature/bma/new_commands
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewEvents.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
2021-10-04 16:00:31 +02:00