Commit graph

9732 commits

Author SHA1 Message Date
Adam Brown
5df2ae9ae2 updating with previous state helper and including javadoc to help explain its usage 2022-03-17 16:50:20 +00:00
Adam Brown
d77061b229 removing fully qualified import 2022-03-17 16:38:42 +00:00
Arnaud Ringenbach
7593f7a2c6 Fix lint issues 2022-03-17 17:15:16 +01:00
Onuray Sahin
a13ba13fb5 Code review fixes. 2022-03-17 18:30:39 +03:00
Arnaud Ringenbach
d3459d1d3d Use MatrixConfiguration & move presence sync enabled checks out of view 2022-03-17 14:50:15 +01:00
ericdecanini
d11fc060ee Fixes crash due to empty constructor in CreatePollViewState 2022-03-17 13:46:16 +01:00
Eric Decanini
9c8f29e853 Merge branch 'develop' into bugfix/eric/voting-ended-poll 2022-03-17 12:07:45 +01:00
Arnaud Ringenbach
4bcf31e0c2 Add a presence sync enabling build config 2022-03-17 11:43:07 +01:00
SpiritCroc
b982841ed5 Add read event tracking debugging
Change-Id: If9cc30f32af7bcadda9df6b04ad89ae248166da8
2022-03-17 10:58:39 +01:00
SpiritCroc
57fee29645 Revert "Reduce time required before updating read marker"
This reverts commit 922b62f9f5.

Change-Id: I32fed90bdfa04d5e3dd7f222a330f84f3476d805
2022-03-17 10:58:35 +01:00
Onuray Sahin
33e5a206bd Fix background location permission for Android > 10. 2022-03-17 12:29:46 +03:00
Adam Brown
4154f036db fixing crash when tapping verification item
- caused by the setArguments being called on the TimelineFragment not the bottomsheet we've just created
2022-03-16 16:19:39 +00:00
Aris Kotsomitopoulos
d1a77d2eca
Merge pull request #5378 from vector-im/feature/aris/threads_analytics
Feature/aris/threads analytics
2022-03-16 15:51:24 +01:00
SpiritCroc
922b62f9f5 Reduce time required before updating read marker
Change-Id: Ia242b3e031deac313e7db161ccf7dae64ed66e7c
2022-03-16 15:40:03 +01:00
ClaireG
d1bca78083
[Notification mode] Wrong mode is displayed when the mention only is selected on the web client 2022-03-16 14:51:10 +01:00
ariskotsomitopoulos
bcf3f1e302 Format code 2022-03-16 14:49:40 +01:00
Onuray Sahin
575d62a354 Naming convention fix. 2022-03-16 16:34:48 +03:00
ariskotsomitopoulos
eee1ec1423 Merge branch 'develop' into feature/aris/threads_analytics 2022-03-16 13:19:08 +01:00
Adam Brown
99b43fd771
Merge pull request #5433 from vector-im/sync-analytics-plan
Sync analytics plan
2022-03-16 12:04:59 +00:00
SpiritCroc
d3c69a71a2 Fix remembering section expand-status in some cases
Change-Id: If5f08cb895874fddb2621632f970f0179b026439
2022-03-15 20:50:17 +01:00
SpiritCroc
cd1449d9bb RoomListFragment: Use proper way to observe space changes
Change-Id: I30d65c3e653eb82f4095ed538aec9a4c8c2de337
2022-03-15 20:32:01 +01:00
SpiritCroc
31c01c98de Possibility to hide start call buttons from the toolbar
Change-Id: Ica35e0dfd6b82beb90754dd5997fa0d756d816a5
2022-03-15 20:20:21 +01:00
SpiritCroc
5bdb6a5dfd Setting whether chat notifications should repeatedly alert
Closes https://github.com/SchildiChat/SchildiChat-android/issues/111

Change-Id: I4c963caabdb10fa601799d3cb3fed2ad96d3d54c
2022-03-15 20:07:35 +01:00
ericdecanini
f722b2eb85 Removes unused import 2022-03-15 19:16:22 +01:00
ericdecanini
82ead4f3f5 Replaces call option condition with isDirect 2022-03-15 19:09:19 +01:00
Adam Brown
c257488ca8
Merge pull request #5513 from chagai95/add-presence-indicator-online
add  presence indicator online
2022-03-15 17:58:02 +00:00
Adam Brown
3d20d46eb3 enabling the personalize step for the unit tests preemptively for the feature to be enabled 2022-03-15 17:49:44 +00:00
Adam Brown
fe206fe130 fixing wrong action for starting the sign up 2022-03-15 17:49:44 +00:00
Adam Brown
694016fc16 adding test case for the non loading registration steps 2022-03-15 17:49:44 +00:00
Adam Brown
390ae4344d allowing test withPrevious to be supplied a list 2022-03-15 17:49:44 +00:00
Adam Brown
804513c808 adding case for result ignoring register actions 2022-03-15 17:49:44 +00:00
Adam Brown
75cbb727a4 cleaning up test names and bodies to be clearer 2022-03-15 17:49:43 +00:00
Adam Brown
b2a1aa17bd adding commas to separate the test name sections 2022-03-15 17:49:17 +00:00
Adam Brown
434ee67982 ensure the pid add/resend methods do not trigger the next registration steps
- keeps the previous behaviour
2022-03-15 17:49:17 +00:00
Adam Brown
3fa415007c extracting registration steps to separate handler to make testing the flow simpler 2022-03-15 17:49:16 +00:00
Adam Brown
4225f62120 adding test helper for asserting states whilst combining previous updates 2022-03-15 17:42:42 +00:00
Adam Brown
c15e908a15 converting onboarding action to sealed interface 2022-03-15 17:42:42 +00:00
Adam Brown
17d363cf9a
Merge pull request #5389 from vector-im/feature/adm/personalisation-complete
FTUE - Personalisation complete
2022-03-15 17:33:29 +00:00
ericdecanini
d74d569f4b Adds back default to true on isWebRTCCallOptionAvailable 2022-03-15 18:15:46 +01:00
ericdecanini
a46901ad6c Makes PollState a sealed interface 2022-03-15 18:10:47 +01:00
ericdecanini
a2d18d460a Fixes PollMode import error in TimelineFragment 2022-03-15 18:10:05 +01:00
Maxime Naturel
d776f0c09c Check permission for background location (OS version <= Android 10 case) 2022-03-15 17:50:58 +01:00
Maxime Naturel
6f6bb3dbfe Adding method to show dialog when permission is missing 2022-03-15 17:45:36 +01:00
Maxime Naturel
9c6cd9f630 Adding build config field 2022-03-15 17:45:26 +01:00
Maxime Naturel
b72c87da44 Renaming "btn" into "button" 2022-03-15 17:09:31 +01:00
Maxime Naturel
9ecf12a7ba Using extensions for Boolean? type 2022-03-15 17:09:31 +01:00
Maxime Naturel
abd25c2292 Removing Action suffix in ViewAction types 2022-03-15 17:09:31 +01:00
Maxime Naturel
6779fa1175 Change naming for initLocateButton() method 2022-03-15 17:09:31 +01:00
Maxime Naturel
094e62c95b Adding unit tests for use case 2022-03-15 17:09:31 +01:00
Maxime Naturel
04405c7970 Distinguish user location and pinned location sharing 2022-03-15 17:09:30 +01:00
Maxime Naturel
8d1822da96 Recompute location comparison on new user location 2022-03-15 17:09:30 +01:00
Maxime Naturel
125b8d2058 Zoom to user location action 2022-03-15 17:09:30 +01:00
Maxime Naturel
01aff36597 Using style attibute for locate button visibility 2022-03-15 17:09:30 +01:00
Maxime Naturel
40e92842ea Show icon to reset map to user location 2022-03-15 17:09:30 +01:00
Maxime Naturel
57fcfeb1c1 Show dot pin for user location 2022-03-15 17:09:30 +01:00
Maxime Naturel
93c397d492 Updating location target drawable dynamically 2022-03-15 17:09:30 +01:00
Maxime Naturel
6fc6bf1c7d Compare locations use case implementation 2022-03-15 17:09:30 +01:00
Maxime Naturel
01879e252d Comparing target and user location using Flow in ViewModel 2022-03-15 17:09:29 +01:00
Maxime Naturel
dec075faf3 Handling press on pinned location option 2022-03-15 17:09:29 +01:00
Maxime Naturel
a1d155df71 Adding static pin at the center of the map 2022-03-15 17:09:29 +01:00
Maxime Naturel
9256b5671b Show options menu on top of the map 2022-03-15 17:09:29 +01:00
ariskotsomitopoulos
c3f1b748a3 Fix thread deleted root message summary 2022-03-15 16:34:17 +01:00
Onuray Sahin
db0cfd4704
Merge pull request #5455 from vector-im/feature/ons/fix_poll_start_notifications
Show notification for poll start events but not for responses
2022-03-15 18:34:03 +03:00
Adam Brown
9d49ef5f3a removing unused drawable 2022-03-15 15:12:51 +00:00
ericdecanini
98b7d194eb Adds getBestX following merge from develop 2022-03-15 15:54:30 +01:00
Onuray Sahin
a47b589e72 Code review fixes. 2022-03-15 17:51:02 +03:00
Onuray Sahin
7fa43f0d1b Merge branch 'develop' into feature/ons/fix_poll_start_notifications
* develop: (163 commits)
  Fix lint error.
  Removes changelog file
  Fix PR comment
  Adds changelog file
  Refactors MessageBubbleView
  Updating changelog copy
  making use of the fake overrides for testing
  extracting the personalization complete emitting to a dedicated function
  making use of binding api instead of manual findviewbyid
  using consistent method naming for setting the capabilities override
  taking the personalization feature flag into account when calculating if personalization is supported - also removes a legacy loading workaround for the account creation step, we're navigating to a new screen AccountCreated so we have to stop the loading
  adding changelog entry
  using correct label for the avatar capability debug override
  forwarding to the profile picture flow when display name changing isn't supported but pictures are when personalising the profile
  formatting
  dynamically switching the onboarding flow based on the capabilities of the homeserver - when avatars can't be changed we complete the personlisation flow
  hiding the toolbar back button and handling system back as take the user home if the display name personalisation is not supported
  adding test around account creation via dummy
  dynamically changing the account created layout based on if the homeserver supports personalisation
  adding entry points for injecting and overriding the homeserver capabilities
  ...
2022-03-15 17:49:53 +03:00
ericdecanini
9806f1bf8f Merge remote-tracking branch 'origin/develop' into bugfix/eric/voting-ended-poll
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/poll/create/CreatePollViewState.kt
2022-03-15 15:48:17 +01:00
ericdecanini
38f3b88395 Adds debug test to check roomSummary for voice call button 2022-03-15 15:30:02 +01:00
ariskotsomitopoulos
7db2ff2cfd Merge branch 'feature/aris/thread_live_thread_list' into feature/aris/threads_analytics 2022-03-15 14:35:31 +01:00
ariskotsomitopoulos
4d76c0d822 Fix build error 2022-03-15 14:34:53 +01:00
ariskotsomitopoulos
07eabf110d Merge branch 'feature/aris/thread_live_thread_list' into feature/aris/threads_analytics
# Conflicts:
#	vector/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt
2022-03-15 14:23:48 +01:00
ariskotsomitopoulos
8a862d006e Merge branch 'develop' into feature/aris/thread_live_thread_list
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/format/DisplayableEventFormatter.kt
2022-03-15 14:21:04 +01:00
Adam Brown
1c63789cd0 removing unused import 2022-03-15 13:12:28 +00:00
Adam Brown
161cd3f9ec replacing the ftue icons with only the foreground asset to allow for tinting
- making use of the generic circle shape the background, this allows the foreground and background layers to be tintable separately
2022-03-15 13:07:22 +00:00
Adam Brown
049ae4a22a making the profile screen toolbar transparent, matches the designs for dark mode 2022-03-15 13:07:22 +00:00
Adam Brown
8d0435db77 updating all confetti usages to use design palette colours 2022-03-15 13:07:22 +00:00
Adam Brown
9575cb5de7 removing unneeded button background colour
- causes the rounded corners and highlight to stop working
2022-03-15 13:07:22 +00:00
Adam Brown
e3c3db2964 adding personalization complete screen 2022-03-15 13:07:22 +00:00
Adam Brown
9f6d3ec380 playing confetti effect when unable to personalise account on account creation
- extracts the logic to an extension for reuse from the timeline
2022-03-15 13:07:22 +00:00
Danial Behzadi
3130e67edb Translated using Weblate (Persian)
Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-03-15 12:27:00 +00:00
Jozef Gaal
ae5f09922a Translated using Weblate (Slovak)
Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-03-15 12:26:58 +00:00
Jeanne Lavoie
c2fa67ea22 Translated using Weblate (French)
Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-03-15 12:26:57 +00:00
Edward Gera
0013d08ac7 Translated using Weblate (Hebrew)
Currently translated at 89.1% (1923 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-03-15 12:26:57 +00:00
Onuray Sahin
1a76914828
Merge pull request #5345 from vector-im/feature/ons/fix_unstable_prefixes
Support both unstable and stable prefixes
2022-03-15 15:16:16 +03:00
ariskotsomitopoulos
c9f07061ef Revert temporary fix for develop crash 2022-03-15 11:26:00 +01:00
SpiritCroc
56cae372b4 Add Schildi-dbg settings
To control more invasive debugging

Change-Id: I7ee2980388db8999a76992ee7fffc70d8383a283
2022-03-15 11:19:53 +01:00
Eric Decanini
de14e10a45
Merge pull request #5534 from vector-im/bugfix/eric/top-space-crash
Fixes timeline crash due to additionalTopSpace
2022-03-15 09:59:09 +01:00
Linerly
e442782c7a Translated using Weblate (Indonesian)
Currently translated at 100.0% (129 of 129 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-03-15 08:59:35 +01:00
waclaw66
1bcba4b135 Translated using Weblate (Czech)
Currently translated at 100.0% (129 of 129 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-03-15 08:59:35 +01:00
Linerly
83fc1d2130 Translated using Weblate (Indonesian)
Currently translated at 100.0% (122 of 122 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-03-15 08:59:35 +01:00
waclaw66
cf23176ae0 Translated using Weblate (Czech)
Currently translated at 100.0% (122 of 122 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-03-15 08:59:35 +01:00
mezysinc
a4aab40c54 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (121 of 121 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/pt_BR/
2022-03-15 08:59:35 +01:00
Allan Nordhøy
784eed8ce3 Translated using Weblate (Norwegian Bokmål)
Currently translated at 48.7% (59 of 121 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/nb_NO/
2022-03-15 08:59:35 +01:00
ClaireG
5de7873755
Merge pull request #5532 from vector-im/cgizard/ISSSUE-5514
Read receipt in wrong order
2022-03-14 17:39:30 +01:00
Claire G
6c7b4d4256 Fix PR comment 2022-03-14 17:10:58 +01:00
ariskotsomitopoulos
d7c486c55e Add fallback support rendering proposed in MSC3676 2022-03-14 16:04:08 +01:00
SpiritCroc
b9b5bd6519 Fix SC bubbles crash for chats with verification-request
Change-Id: Ie5527a5bf5d89b8421759f9acab3c426a8a09cfa
2022-03-14 15:57:01 +01:00
Adam Brown
82e1afdb72
Merge pull request #5375 from vector-im/feature/adm/display-personalisation-based-on-capabilities
FTUE - Capability based personalisation flow
2022-03-14 13:34:21 +00:00
ericdecanini
d35c1e833d Refactors MessageBubbleView 2022-03-14 13:05:35 +01:00
Adam Brown
c84ce5a2e0 making use of the fake overrides for testing 2022-03-14 11:54:42 +00:00
Adam Brown
c2fe669670 extracting the personalization complete emitting to a dedicated function 2022-03-14 11:54:42 +00:00
Adam Brown
d89cc71eb4 making use of binding api instead of manual findviewbyid 2022-03-14 11:54:42 +00:00
Adam Brown
edee6abafa using consistent method naming for setting the capabilities override 2022-03-14 11:54:42 +00:00
Adam Brown
bdedffbb4f taking the personalization feature flag into account when calculating if personalization is supported
- also removes a legacy loading workaround for the account creation step, we're navigating to a new screen AccountCreated so we have to stop the loading
2022-03-14 11:54:42 +00:00
Adam Brown
ab9e4405ce using correct label for the avatar capability debug override 2022-03-14 11:54:42 +00:00
Adam Brown
4b9b177104 forwarding to the profile picture flow when display name changing isn't supported but pictures are when personalising the profile 2022-03-14 11:54:42 +00:00
Adam Brown
b5778bd6c5 formatting 2022-03-14 11:54:42 +00:00
Adam Brown
716928d9d2 dynamically switching the onboarding flow based on the capabilities of the homeserver
- when avatars can't be changed we complete the personlisation flow
2022-03-14 11:54:42 +00:00
Adam Brown
46be481eda hiding the toolbar back button and handling system back as take the user home if the display name personalisation is not supported 2022-03-14 11:54:42 +00:00
Adam Brown
a033243475 adding test around account creation via dummy 2022-03-14 11:54:42 +00:00
Adam Brown
537c2f56a1 dynamically changing the account created layout based on if the homeserver supports personalisation 2022-03-14 11:54:42 +00:00
Adam Brown
3df4f1e099 adding entry points for injecting and overriding the homeserver capabilities 2022-03-14 11:54:42 +00:00
Adam Brown
50740b1449 extracting method for the handling of the profile picture selection 2022-03-14 11:54:42 +00:00
Adam Brown
10e4fd1707 updating upstream avatar on profile picture save and continue step
- moves the personalisation state to a dedicated model to allow for back and forth state restoration
2022-03-14 11:54:42 +00:00
Adam Brown
7ded9007db add click handling for the display name actions 2022-03-14 11:54:42 +00:00
Adam Brown
0685b57720 add click handling for the display name actions 2022-03-14 11:54:42 +00:00
Adam Brown
6c4381fda5 adding dedicated camera icon for choosing profile picture 2022-03-14 11:54:42 +00:00
Adam Brown
567fd9a13d extracting method for the handling of the profile picture selection 2022-03-14 11:54:42 +00:00
Adam Brown
232524ddc3 adding barebones profile picture fragment with ability to select a user avatar 2022-03-14 11:54:42 +00:00
Adam Brown
1c80914832 adding tests around the onboarding view model
- cases for the personalisation and display name actions
2022-03-14 11:54:42 +00:00
Adam Brown
074cde4519 add click handling for the display name actions 2022-03-14 11:54:41 +00:00
Adam Brown
4a1bf11168 adding base choose name fragment with UI 2022-03-14 11:54:41 +00:00
ariskotsomitopoulos
fef36d9334 Temporarily fix develop crash 2022-03-14 12:25:11 +01:00
ariskotsomitopoulos
d215f03798 Merge branch 'develop' into feature/aris/thread_live_thread_list 2022-03-14 12:02:04 +01:00
ericdecanini
2176129b11 Moves additional top space usage to bubble view 2022-03-14 11:46:48 +01:00
Maxime Naturel
8bb0a5cb4c Fixing wrong remove of import 2022-03-14 11:15:19 +01:00
Maxime Naturel
0942c6d648 Removing some with() code pattern 2022-03-14 11:15:19 +01:00
Maxime Naturel
a826a50c10 Renaming observe item count method 2022-03-14 11:15:19 +01:00
Maxime Naturel
f327eaa3f1 Adding item counter in add existing room to space screen 2022-03-14 11:15:19 +01:00
Maxime Naturel
20749e04cb Fix coding style 2022-03-14 11:15:18 +01:00
Maxime Naturel
30c6518630 Updating remaining category item 2022-03-14 11:15:18 +01:00
Maxime Naturel
3d27d9d2d2 Fix filtering use case 2022-03-14 11:15:18 +01:00
Maxime Naturel
c79aa267c3 Fix switching space use case 2022-03-14 11:15:18 +01:00
Maxime Naturel
d5345160fa Adding TODO 2022-03-14 11:15:18 +01:00
Maxime Naturel
ad9d36e58c Setting item count text only when > 0 2022-03-14 11:15:17 +01:00
Maxime Naturel
53c24d20b0 Moving notification badge on the right side 2022-03-14 11:15:17 +01:00
Maxime Naturel
0aaa650ac3 Using flow to show items counter 2022-03-14 11:15:17 +01:00
Maxime Naturel
c7dae341c0 (DRAFT) Room counter flow 2022-03-14 11:15:17 +01:00
Maxime Naturel
eb38c9d835 Fix remove of imports 2022-03-14 11:15:17 +01:00
Maxime Naturel
b1d1090d1d Adding number of items (UI part) 2022-03-14 11:15:17 +01:00
Maxime Naturel
70481e3ba3 Changing style of header 2022-03-14 11:15:16 +01:00
Claire G
025dcc8d88 Fix bug: readReceipt in wrong order 2022-03-14 10:28:42 +01:00
lvre
9657a50a6a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-03-14 09:28:21 +00:00
libexus
bd4e251c8a Translated using Weblate (German)
Currently translated at 99.8% (2154 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-03-14 09:28:21 +00:00
Ultimator14
bd50954b57 Translated using Weblate (German)
Currently translated at 99.8% (2154 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-03-14 09:28:21 +00:00
Nikita Epifanov
e3d8b3d488 Translated using Weblate (Russian)
Currently translated at 99.8% (2153 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-03-14 09:28:20 +00:00
Edward Gera
a5585ca3b3 Translated using Weblate (Hebrew)
Currently translated at 89.0% (1921 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-03-14 09:28:19 +00:00
Jozef Gaal
667189c8bc Translated using Weblate (Slovak)
Currently translated at 99.7% (2152 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-03-14 09:28:13 +00:00
Peter Vágner
5d67529ce2 Translated using Weblate (Slovak)
Currently translated at 99.7% (2152 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-03-14 09:28:12 +00:00
Szimszon
0521ff91c3 Translated using Weblate (Hungarian)
Currently translated at 99.8% (2154 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-03-14 09:28:12 +00:00
Tuomas Hietala
3d7aa99b28 Translated using Weblate (Finnish)
Currently translated at 83.2% (1795 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2022-03-14 09:28:11 +00:00
Sveinn í Felli
4922d5f5ff Translated using Weblate (Icelandic)
Currently translated at 65.3% (1409 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-03-14 09:28:07 +00:00
NIkita Fedrunov
84bd205014 "Add space" copy is replaced with "create space" in left sliding panel 2022-03-14 09:34:54 +01:00
bmarty
5dfa362345 Sync analytics plan 2022-03-14 00:05:30 +00:00
ericdecanini
06e0047c22 Fixes import ordering in DefaultNavigator 2022-03-13 20:22:44 +01:00
ericdecanini
86765c9020 Adds new line at the end of PollState 2022-03-13 20:22:03 +01:00
ericdecanini
f24d8c2ada Merge remote-tracking branch 'origin/develop' into bugfix/eric/voting-ended-poll
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
2022-03-13 20:13:03 +01:00
ericdecanini
610c67c208 Refactors buildPollItem in MessageItemFactory 2022-03-13 20:09:14 +01:00
SpiritCroc
ead93dc8ad Don't switch space on clicking a notification
Change-Id: Ieadd6b900152d0ebf2ea7cc97d9e06afccf50439
2022-03-13 14:33:08 +01:00
SpiritCroc
d0909c1790 [TMP] Show inconsistencies toast for developers investigating this
Change-Id: I06165bddcae980db60750ef77925c7b65704f3a2
2022-03-12 10:38:02 +01:00
cfriedlander
3ef2f824e8 add presence indicator online 2022-03-11 11:10:11 +01:00
SpiritCroc
6aabb38c3b [TMP] Update some readmarker debugging
Change-Id: Ia1de156f39622d90cc1433f0b16776bd00e2a462
2022-03-11 10:04:40 +01:00
ericdecanini
6a59007eb5 Reverts debug isPollActive 2022-03-10 21:26:08 +01:00
SpiritCroc
38cfd2ab2f Restore pre-v1.4.4 toolbar
New one has borked presence indicator, and overall doesn't look as nice
as the old one, including the new typing indicator, imo.

Change-Id: I9e1fa0f6677905d051f0d9557f8a79b3c4c86e2b
2022-03-10 20:06:32 +01:00
ericdecanini
df6ae4b848 Fixes warning for debugging 2022-03-10 18:26:49 +01:00
ariskotsomitopoulos
34cfdfb6fe Merge branch 'develop' into feature/aris/thread_live_thread_list 2022-03-10 18:48:41 +02:00
Tiago Loureiro
9cb64f0592 Fix huge picture crash on timeline
Change-Id: Ie9e4b68c8525a033b06e7f500e86aab73a718f40
2022-03-10 17:43:13 +01:00
SpiritCroc
5b07dbbeb9 Fix possible class cast exception in url preview
Change-Id: Ibab1f314591abca7669f89df51dade70ddab383f
2022-03-10 17:20:11 +01:00
Benoit Marty
26617988f2 Add colors for shield vector drawable 2022-03-10 17:15:19 +01:00
ariskotsomitopoulos
a758ad71e6 Add is_falling_back support for rich thread replies
Enhance thread awareness handler so normal replies with thread disabled will be visible in te appropriate thread
Fix conflicts
2022-03-10 17:51:02 +02:00
ericdecanini
080844dc9d Removes event timestamp condition for sdk poll voting 2022-03-10 16:28:22 +01:00
Claire G
8f0d6a1adc use colorPrimary for tint 2022-03-10 14:30:15 +01:00
Benoit Marty
551b827753
Merge pull request #5384 from p1gp1g/bubble-space
Add padding before first own message
2022-03-10 14:09:23 +01:00
SpiritCroc
10c77f2b59 Don't reserve space for typing view until somebody is typing
Once we show it, keep it, to not make the timeline jump around too much.

Change-Id: I8f863d8d21f3b06ff86f62615d8e6aefe81bde2e
2022-03-10 13:42:48 +01:00
Benoit Marty
c339e10c07
Merge pull request #5436 from vector-im/feature/nfe/space_highlight
change selected space highlight
2022-03-10 13:28:08 +01:00
SpiritCroc
27fd6a2819 Automatic SchildiChat string correction
Change-Id: I728d41658c2b1148b40644e28b67016f5e420c70
2022-03-10 13:26:54 +01:00
SpiritCroc
8f93b55b59 Automatic color correction
Change-Id: I0ac188dce1148b8defeaffd70062691a8ee2e9da
2022-03-10 13:26:52 +01:00
SpiritCroc
f5afdefe2f Merge tag 'v1.4.4' into sc
Change-Id: Ibfb35ec30a51abebb652044719417f62c8a6be50

Conflicts:
	library/ui-styles/src/main/res/values/dimens.xml
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/SyncTask.kt
	vector/src/gplay/java/im/vector/app/gplay/push/fcm/VectorFirebaseMessagingService.kt
	vector/src/main/AndroidManifest.xml
	vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewState.kt
	vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
	vector/src/main/res/drawable/bg_unread_notification.xml
	vector/src/main/res/drawable/ic_add_reaction_small.xml
	vector/src/main/res/layout/item_room.xml
	vector/src/main/res/layout/item_timeline_event_text_message_stub.xml
	vector/src/main/res/xml/vector_settings_preferences.xml
2022-03-10 13:26:09 +01:00
SpiritCroc
373d88885e Automatic revert to unchanged upstream strings, pt.1
Change-Id: I1c7b6a48f886c7c4664ebf81252f84c1aaa5930b
2022-03-10 13:09:23 +01:00
SpiritCroc
98ec8b4842 FooteredTextView: Fix reserving footer width when forcing footer below
Change-Id: Iea91960f6bcbdc0af4956a65a04d926b98f0d580
2022-03-10 13:08:18 +01:00
Benoit Marty
d83d5f9828
Merge pull request #5467 from vector-im/feature/bma/unused_resources_all
Remove unused resources
2022-03-10 13:03:27 +01:00
SpiritCroc
b3d9ddbeca Do not cut italic text, v2
Different implementaion than the one which got lost during a recent
upstream merge

Change-Id: Ic4b0474bd95a9746cfecc8aff8562c330e296b5a
2022-03-10 12:48:17 +01:00
ariskotsomitopoulos
21111922e6 Merge branch 'develop' into feature/aris/thread_live_thread_list
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/relation/threads/FetchThreadTimelineTask.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
2022-03-10 12:55:13 +02:00
Benoit Marty
ce4ad8819a
Merge pull request #5380 from vector-im/feature/bca/crypto_fix_rolling_uisi
Refactoring for safer olm and megolm session usage
2022-03-10 11:13:07 +01:00
ariskotsomitopoulos
03f293f216 Remove io.element.thread and add stable m.thread prefix 2022-03-10 12:06:02 +02:00
SpiritCroc
a132ee22cb Fix gif autoplay after merge
Change-Id: Ia6f1718284903108aed22e246d2f594741e8511f
2022-03-10 08:24:15 +01:00
Adam Brown
ecb49b3b27 Merge branch 'main' into develop 2022-03-09 16:13:15 +00:00
Maxime NATUREL
f12afe0ef0
Merge pull request #5411 from vector-im/feature/mna/PSF-735-sharing-options-view
#5395: Location sharing options view
2022-03-09 16:10:46 +01:00
Benoit Marty
3f17cf595f Remove unused resources 2022-03-09 14:55:40 +01:00
Adam Brown
57ffc56869
Merge pull request #5472 from vector-im/feature/aris/fix_5463_parcelising_reaction_crash
Fix reactions summary crash
2022-03-09 13:35:51 +00:00
SpiritCroc
4f2931feae Fix another case of missing read markers
HasUnread might not be correct on the first try while loading the
timeline.

Change-Id: I6bba6cc58ca21725764d41909deb9a0495d51ea0
2022-03-09 13:56:17 +01:00
SpiritCroc
df0b5ca0a0 Fix a case of missing read markers
Case: bottom-most loaded event has read marker, but there are messages below it
that haven't been loaded yet.

Change-Id: I24336ac20558d637840c38ff00527dc2f2c65f75
2022-03-09 13:56:13 +01:00
ericdecanini
e4ce4ab1ab Adds server side vote blocking for ended polls 2022-03-09 12:07:16 +01:00
ariskotsomitopoulos
84b3f63279 Format code 2022-03-09 12:55:25 +02:00
ariskotsomitopoulos
c24944b1f2 Fix reactions summary crash 2022-03-09 12:52:34 +02:00
Onuray Sahin
9b7e329000 Fix lint error. 2022-03-09 13:31:29 +03:00
SpiritCroc
93ae1e954e Switch to schildi.chat FCM gateway
The matrix.org one seems to be a little slow compared to a private one
recently

Change-Id: Ia9ce4f40c920657abb38aa5ebe31704cf829f4ec
2022-03-09 11:16:22 +01:00
Benoit Marty
e0914781fc
Merge pull request #5435 from vector-im/feature/nfe/space_menu_amend_copy
Amend spaces menu to have consistent copy
2022-03-09 11:13:46 +01:00
Adam Brown
662e9592a0
fixing overlapping room image and title (#5469)
- the room title was missing constraints for the different types of leading icons
2022-03-09 10:11:53 +00:00
Benoit Marty
67a24b38cb Avoid stable prefix 2022-03-09 10:48:35 +01:00
Benoit Marty
20c1886fed Support both unstable and stable prefixes.
Author: Onuray
2022-03-09 10:40:43 +01:00
SpiritCroc
9a00cf7a3f Move attachment selector close button to the right
Change-Id: I061f7826f8fb138e0b28e818c8e92108b62aad4f
2022-03-09 10:25:29 +01:00
SpiritCroc
4b12f162a0 View displayIndex in timeline to debug chunks if developer info enabled
Change-Id: Id52e6f69b6fbe18cb78a3bdeca220fa58b4e7a82
2022-03-09 10:22:25 +01:00
Maxime Naturel
2bdafde965 Fix wrong click listener on the current available option 2022-03-09 09:46:52 +01:00
Maxime Naturel
89db867ab3 Fix attributes style id conflicts 2022-03-09 09:46:52 +01:00
Maxime Naturel
6515e457b5 Ignore unused strings to be deleted 2022-03-09 09:46:52 +01:00
Maxime Naturel
046d906f97 Moving view attributes into uikit dedicated file 2022-03-09 09:46:52 +01:00
Maxime Naturel
9adb87bdb4 Renaming picker view method 2022-03-09 09:46:52 +01:00
Maxime Naturel
442d722980 Fix comment form in enum 2022-03-09 09:46:52 +01:00
Maxime Naturel
3aa1032a7a Rollback wrong sharing options 2022-03-09 09:46:52 +01:00
Maxime Naturel
82515cf095 Remove usage of strings to be deleted 2022-03-09 09:46:52 +01:00
Maxime Naturel
9b6811c915 View extension methods to tint current background 2022-03-09 09:46:52 +01:00
Maxime Naturel
7cad30e6bb Use user color for pin background 2022-03-09 09:46:52 +01:00
Maxime Naturel
8f362d83cd Set option to user current location 2022-03-09 09:46:52 +01:00
Maxime Naturel
edc77b0c17 Fixing code syntax 2022-03-09 09:46:51 +01:00
Maxime Naturel
e4c9acde77 Setting colorSurface for background 2022-03-09 09:46:51 +01:00
Maxime Naturel
d36409d475 Renaming package to option 2022-03-09 09:46:51 +01:00
Maxime Naturel
b11f7f20e1 Adding user avatar and color for current location option 2022-03-09 09:46:51 +01:00
Maxime Naturel
42fca9bd6f Fixing ripple effect 2022-03-09 09:46:51 +01:00
Maxime Naturel
8bcc594320 Changing color of the live location icon 2022-03-09 09:46:47 +01:00
Maxime Naturel
fb764028c9 Adding dividers 2022-03-09 09:45:15 +01:00
Maxime Naturel
0707877b3c Using correct string resources for options 2022-03-09 09:45:15 +01:00
Maxime Naturel
3bbb7167f1 Adding icon for live location 2022-03-09 09:45:00 +01:00
Maxime Naturel
4586426958 Adding other options 2022-03-09 09:44:06 +01:00
Maxime Naturel
55c6383074 Set options method 2022-03-09 09:44:06 +01:00
Maxime Naturel
a98f502c01 Adding custom view for options picker 2022-03-09 09:44:06 +01:00
SpiritCroc
96d7e4859b Revert "[TMP] Force-disable "open at first unread" setting"
This reverts commit f06ae844dc.

Change-Id: I12111941fc71b9f7e49742e52f9a212382a44b7b
2022-03-08 18:41:16 +01:00
sim
17d58f24d2 Add padding before our first message
Signed-off-by: sim <git@sgougeon.fr>
2022-03-08 17:26:23 +01:00
Element Translate Bot
2048b859c5
Translations update from Weblate (#5458)
* Translated using Weblate (Czech)

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/

* Translated using Weblate (Japanese)

Currently translated at 97.4% (2103 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/

* Translated using Weblate (Slovak)

Currently translated at 98.8% (2132 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (51 of 51 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sv/

* Translated using Weblate (Japanese)

Currently translated at 54.9% (28 of 51 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/ja/

* Translated using Weblate (Japanese)

Currently translated at 98.0% (2116 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/

* Translated using Weblate (Japanese)

Currently translated at 98.0% (2116 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/

* Translated using Weblate (German)

Currently translated at 99.8% (2153 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/

* Translated using Weblate (Italian)

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/

* Translated using Weblate (Japanese)

Currently translated at 98.3% (2121 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/

* Translated using Weblate (Polish)

Currently translated at 93.8% (2025 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/

* Translated using Weblate (Slovak)

Currently translated at 98.9% (2134 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/

* Translated using Weblate (Albanian)

Currently translated at 99.4% (2145 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/

* Translated using Weblate (German)

Currently translated at 100.0% (51 of 51 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/

* Translated using Weblate (French)

Currently translated at 100.0% (51 of 51 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/

* Translated using Weblate (Hebrew)

Currently translated at 81.2% (1753 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/

* Translated using Weblate (Hebrew)

Currently translated at 81.2% (1753 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/

* Translated using Weblate (Albanian)

Currently translated at 100.0% (51 of 51 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sq/

* Translated using Weblate (Japanese)

Currently translated at 98.3% (2121 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/

* Translated using Weblate (Slovak)

Currently translated at 99.2% (2140 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/

* Translated using Weblate (Arabic)

Currently translated at 30.5% (659 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/

* Translated using Weblate (Estonian)

Currently translated at 99.9% (2155 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/

* Translated using Weblate (Finnish)

Currently translated at 80.2% (1730 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/

* Translated using Weblate (French)

Currently translated at 99.9% (2156 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/

* Translated using Weblate (Hungarian)

Currently translated at 99.8% (2154 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/

* Translated using Weblate (Japanese)

Currently translated at 98.6% (2128 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/

* Translated using Weblate (Slovak)

Currently translated at 99.3% (2143 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/

* Translated using Weblate (Slovak)

Currently translated at 99.3% (2143 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/

* Translated using Weblate (Hungarian)

Currently translated at 98.0% (50 of 51 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/hu/

* Translated using Weblate (Hebrew)

Currently translated at 85.5% (1846 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/

* Translated using Weblate (Hebrew)

Currently translated at 85.5% (1846 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/

* Translated using Weblate (Japanese)

Currently translated at 62.7% (32 of 51 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/ja/

Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Suguru Hirahara <ovestekona@protonmail.com>
Co-authored-by: lvre <7uu3qrbvm@relay.firefox.com>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: oksya8and8 <darknessyasuko@protonmail.com>
Co-authored-by: libexus <libexus@gmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Arusekk <arek_koz@o2.pl>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: SPiRiT <such.a.lost.spirit@gmail.com>
Co-authored-by: sagi korin <sagi.korin@hot.net.il>
Co-authored-by: Peter Vágner <pvdeejay@gmail.com>
Co-authored-by: Zet <abidin24@disroot.org>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Tuomas Hietala <tuomas.hietala@iki.fi>
Co-authored-by: notramo <notramo@protonmail.com>
Co-authored-by: Nícolas F. R. A. Prado <n@nfraprado.net>
Co-authored-by: Edward Gera <Eduard.Gerasimuk@hot.net.il>
Co-authored-by: Ilan Feler <ilanf@mail.com>
Co-authored-by: Weblate <noreply@weblate.org>
2022-03-08 16:06:01 +00:00
Benoit Marty
b867e5f072 Iterate on badge / unread indicator color (#5332) 2022-03-08 14:52:10 +01:00
Onuray Sahin
9fa285e6ca Support showing push notifications for poll start events. 2022-03-08 14:06:28 +03:00
Onuray Sahin
6fef2f6d4e Lint fixes. 2022-03-07 21:48:16 +03:00
Adam Brown
9a02543afd
FTUE - Choose a display picture (#5323)
* adding tests around the onboarding view model
- cases for the personalisation and display name actions

* adding base choose name fragment with UI

* add click handling for the display name actions

* adding tests around the onboarding view model
- cases for the personalisation and display name actions

* adding barebones profile picture fragment with ability to select a user avatar

* extracting uri filename resolving to a class which can be injected
- includes tests

* updating upstream avatar on profile picture save and continue step
- moves the personalisation state to a dedicated model to allow for back and forth state restoration

* adding test case for skipping profile picture setting

* taking the profile loading into account when rendering the onboarding loading

* extracting method for the handling of the profile picture selection

* adding dedicated camera icon for choosing profile picture

* adding toolbar to back to profile picture page
- this toolbar will fade in with the fragment as it sits at the fragment level, probably worth revisiting once more pages have a toolbar

* changing edit/add picture icon based on if we're already selected an image

* making use of debounced clicks to avoid potential extra clicks

* making the avatar height and camera icon relative percentage based
- also makes the avatar itself clicking, including a foreground ripple

* fixing formatting

* making use of fake session id for user id assertion

* using a real  matrix id syntax for the fake session user id

* removing duplicated dimens

* using self closing imageview tag
2022-03-07 14:07:22 +00:00
Onuray Sahin
3156410965 Code review fixes. 2022-03-07 15:52:19 +03:00
NIkita Fedrunov
33246be2a5 change selected space highlight 2022-03-07 09:58:40 +01:00
NIkita Fedrunov
8732c6fe42 Amend spaces menu to have consistent copy 2022-03-07 08:32:31 +01:00
SpiritCroc
22d034566b Do not offset text with inline code snippets
Change-Id: Id1573c55f4e719e4659aacd76a4416a38db5d9eb
2022-03-06 10:36:31 +01:00
SpiritCroc
9d64a14ff7 Revert back to search icon for room list filter for now
Until a global search exists, users are more likely to think "search
for a room" instead of "filter the room list by room name"

Change-Id: Ic0d07bcd0b64c92ad180c33a5740a4a98f94f625
2022-03-06 09:56:31 +01:00
SpiritCroc
c402e6d637 Add comment to schildichat:// intent filter
Change-Id: I155217f592d9af885cda51d1baf410c472c97a4a
2022-03-06 09:47:55 +01:00
Andrew Ryan
c3fbaaa3aa Support schildichat:// links
We want to suppot schildichat:// links in addition to element:// links.

This change adds support for schildichat:// links of the same format as
the element links.
2022-03-05 09:56:13 -08:00
ariskotsomitopoulos
bce5bc8389 Fix wrong versioning regex pattern
Add MSC3440 support using /version/ and /capabilities
2022-03-05 17:13:02 +02:00
Valere
33f9bc52cb Protect olm session from concurrent access 2022-03-04 19:21:19 +01:00
Ahmed Radhouane Belkilani
bcdf004082
Update the top bar in a room (#5213)
Remove typing message notification from room toolbar.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-03-04 16:38:53 +01:00
Onuray Sahin
2c611790db
Merge branch 'develop' into feature/ons/voice_message_scrubbing 2022-03-04 18:03:44 +03:00
Onuray Sahin
4cb432e497 Do not allow to flow RTL after summarized, playback time always flows LTR. 2022-03-04 17:47:34 +03:00
Onuray Sahin
601f10a6fb Support ltr and rtl flow of the recording waveform. 2022-03-04 17:16:09 +03:00
Onuray Sahin
aae75ce52f Always stop all voice actions and media player if app enters to the background. 2022-03-04 16:54:56 +03:00
Onuray Sahin
5168d715ce Support scrolling playback on recorded audio before sending. 2022-03-04 16:21:28 +03:00
SpiritCroc
37a68b4367 [merge] Fix ic_add_reaction color
Change-Id: Ieeff366c672499ed14291fe64338bd0d41332585
2022-03-04 12:11:30 +01:00
SpiritCroc
3d57cb880c Unread line: follow unread counter color
Change-Id: Ia3cd51364517276cfc438fe0f7700d11de7ff00a
2022-03-04 11:57:58 +01:00
SpiritCroc
0a4f07f07f Automatic SchildiChat string correction
Change-Id: I3b93d37a7ac0874203cb10e16693476c01b5fe5b
2022-03-04 11:43:01 +01:00
SpiritCroc
161780899e [merge] Make unread indicator accent color as before
Change-Id: I511adcfd2be159f1ba392525af6e60196a774901
2022-03-04 11:42:49 +01:00
SpiritCroc
2f5df9133f Merge tag 'v1.4.2' into sc
Change-Id: I8a96211645ff31284897d818ce93c7b5571fbd0f

Conflicts:
	library/ui-styles/src/main/res/values/styles_timeline.xml
	library/ui-styles/src/main/res/values/theme_black.xml
	library/ui-styles/src/main/res/values/theme_dark.xml
	library/ui-styles/src/main/res/values/theme_light.xml
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/store/db/RealmCryptoStoreMigration.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	vector/src/main/java/im/vector/app/features/home/HomeDrawerFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewState.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/TimelineEventController.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MergedHeaderItemFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/helper/MessageInformationDataFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/AbsBaseMessageItem.kt
	vector/src/main/java/im/vector/app/features/html/PillImageSpan.kt
	vector/src/main/java/im/vector/app/features/navigation/DefaultNavigator.kt
	vector/src/main/java/im/vector/app/features/navigation/Navigator.kt
	vector/src/main/res/layout/item_room.xml
	vector/src/main/res/values/config.xml
2022-03-04 11:42:30 +01:00
SpiritCroc
5331ad8911 Automatic revert to unchanged upstream strings, pt.1
Change-Id: I2cf821d62dab6a1c5bcbf7a3c124e57bd49ab60e
2022-03-04 10:48:35 +01:00
SpiritCroc
dd0037509e Apply corner roundness to image-related drawables
Background outline and time overlay

Change-Id: If6715bf11489609a9ad2aad831db9ee608c803b6
2022-03-04 10:21:40 +01:00
SpiritCroc
b56c1a3b0c Fix image corner radius for SC bubbles
Change-Id: I8cb2515f3f7985cf12ecc2b4a368f663cacfc0d0
2022-03-04 10:06:16 +01:00
Benoit Marty
1690a0b2cf
giving avatar/display name error dialogs human readable error messages (#5419)
- reuses the ErrorDialog logic which translates exceptions to human readable strings
2022-03-03 18:29:39 +01:00
Onuray Sahin
3bd4a4ccd3 Fix voice recorder start/pause states. 2022-03-03 19:54:13 +03:00
Adam Brown
54e23a2c55 giving avatar/display name error dialogs human readable error messages
- reuses the ErrorDialog logic which translates exceptions to human readable strings
2022-03-03 16:37:59 +00:00
SpiritCroc
fe5eaece47 Setting for more rounded bubbles
Closes https://github.com/SchildiChat/SchildiChat-android/issues/48

Change-Id: I51dabc18c1542dcd4b8d12769fe1cc76573441c5
2022-03-03 17:20:06 +01:00
Onuray Sahin
4254f46065 Support scrolling playback on timeline. 2022-03-03 17:59:51 +03:00
Yoan Pintas
6e6b04c57e
Merge pull request #4498 from vector-im/yostyle/fix_strandhogg
Override task affinity to prevent unknown activities running in our app tasks.
2022-03-03 15:05:29 +01:00
ariskotsomitopoulos
e4282e5f29 Merge branch 'develop' into feature/aris/thread_live_thread_list
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/relation/DefaultRelationService.kt
2022-03-03 13:56:59 +02:00
ariskotsomitopoulos
623e9257a5 Merge branch 'feature/aris/thread_live_thread_list' into feature/aris/threads_analytics 2022-03-03 12:56:12 +02:00
SpiritCroc
ad3beec3cf [merge] Make url previews utilize maximum width again
Change-Id: Ib0e6bbb2d898553f23c4d51a8c3e0242c6197bb8
2022-03-03 08:52:24 +01:00
SpiritCroc
8afa535fe6 [merge] Fix minimum bubble width for long sender names
Change-Id: I32aa8b8dfc40ce29e2414f04ae8933a836d9ebc3
2022-03-03 08:48:38 +01:00
Adam Brown
10f480b88d adding missing VectorOverrides param from test instance creation and removing unused VectorDatastore 2022-03-02 18:27:12 +00:00
Adam Brown
99e5a8f2fa
FTUE - Choose a display name (#5211)
* adding base choose name fragment with UI

* add click handling for the display name actions

* updating real account display name

* setting the initial disabled state when the view is created

* adding header padding which would have been a toolbar

* exiting the flow on display name updated or skipped, the next PR will introduce the profile picture screen

* updating view model state testing to take all emissions into account

* adding tests around the onboarding view model
- cases for the personalisation and display name actions

* using colorSecondary instead of accent as per quality script rule

* making use of viewevent delegating action for the back handling

* using debounced clicks

* consuming the back action when existing the display name fragment via viewmodel

* making the keyboard imeDone update the display name
2022-03-02 17:59:40 +00:00
SpiritCroc
a8f10a95da Fix attachments close button look
Rotating the attachments button to get a close button does not work
for us

Change-Id: I893a06d0671f75626229e71037f0b6bee774a74c
2022-03-02 16:43:43 +01:00
SpiritCroc
fa53abc91f Proper thread list title name color
Change-Id: I3e39db09a575190a62bd206dcd71b84db07305f6
2022-03-02 16:41:42 +01:00
SpiritCroc
b26b3186ac Hide username color override if unused
Change-Id: I93e40b06c518398ad27458b6425ce0bcae8ebd57
2022-03-02 16:39:56 +01:00
SpiritCroc
fd72d55dd0 Accent color for location map pin
Change-Id: I624f156ad7f44ab84328cee43ff3777e6a51f802
2022-03-02 16:27:21 +01:00
SpiritCroc
bd66326c40 Put emotes back into bubbles
Change-Id: I2c80095104039081e32785d9fd83477e610fda21
2022-03-02 16:22:26 +01:00
SpiritCroc
7ff40cb22d Threading-related theming
Change-Id: Idec928fa03c60235e2723c22139c6247020ef7b0
2022-03-02 16:07:50 +01:00
Onuray Sahin
243a714586 Remove 3rd party waveform library. 2022-03-02 17:46:09 +03:00
Onuray Sahin
ab2001cd7f Create a custom audio waveform view. 2022-03-02 17:45:27 +03:00
ariskotsomitopoulos
214e0efcd9 Add Markdown support to thread summaries and thread list 2022-03-02 13:47:08 +02:00
Adam Brown
0c628905de
Lifting debug overrides to their own abstraction (#5361)
* separating the debug overrides to their own abstraction
- rather than sharing the user facing vector data store

* inlining the debug flow getters and declarations
- also replaces funs with vals as the references are immutable

* adding changelog entry
2022-03-02 10:08:43 +00:00
Tiago Loureiro
ad8809196f Fix overflow on media cache size 2022-03-01 13:12:46 -03:00
NIkita Fedrunov
e65070793d Merge branch 'develop' into sync-analytics-plan 2022-03-01 09:15:19 +01:00
Benoit Marty
781a477056
Merge pull request #5292 from vector-im/feature/mna/4319-dm-space-members-list
#4319: Fix DM navigation in member profile screen
2022-02-28 21:37:09 +01:00
Benoit Marty
71aac37ec7
Merge pull request #5330 from vector-im/feature/fga/more_realm_fixing
Feature/fga/more realm fixing
2022-02-28 21:02:10 +01:00
ariskotsomitopoulos
e59f2bba0a Add analytics to threads 2022-02-28 17:13:06 +02:00
Maxime Naturel
96f041a773 Remove handling of direct message from timeline fragment 2022-02-28 14:58:58 +01:00
Maxime Naturel
46854b4b84 Moving DM creation/opening into the member profile screen 2022-02-28 14:58:58 +01:00
Maxime Naturel
836bf4e11e DRAFT TODO 2022-02-28 14:58:58 +01:00
Benoit Marty
80bc3af5fa
Merge pull request #5349 from vector-im/feature/mna/5005-save-image
#5005: Add save media icon in gallery
2022-02-28 14:23:17 +01:00
Benoit Marty
27905064e0
Merge pull request #5325 from vector-im/feature/eric/registration-feature-flag
#5307 Adds ForceLoginFallback feature flag to Login and Registration
2022-02-28 14:20:00 +01:00
Maxime Naturel
562780a169 Adding a FakeFile class for unit tests 2022-02-28 11:55:14 +01:00
ariskotsomitopoulos
eda723c230 Remove fetching thread summaries when homeserver do not support MSC3440 2022-02-28 12:35:27 +02:00
Maxime Naturel
0170171caa Adding missing spaces after comments 2022-02-28 10:28:45 +01:00
bmarty
ce9c5564c0 Sync analytics plan 2022-02-28 00:03:19 +00:00
Benoit Marty
561dcbcfa1 Remove translation of removed strings, using the IDE facility after a code inspection 2022-02-25 17:25:08 +01:00
Maxime Naturel
56c6301151 Adding unit tests 2022-02-25 16:39:26 +01:00
Maxime Naturel
cb27608c75 Removing base use case interface 2022-02-25 14:11:26 +01:00
Benoit Marty
fd17517675 Remove unused strings 2022-02-25 13:45:24 +01:00
Benoit Marty
85b59654ae Remove unused strings in build.gradle. Rely on BuildConfig fields only 2022-02-25 13:45:24 +01:00
Benoit Marty
b8a0aa724e
Merge pull request #5357 from vector-im/cgizard/ISSUE-5326
[Export e2ee keys] use appName instead of element
2022-02-25 12:03:56 +01:00
Maxime Naturel
6230dfc641 Removing section bloc comments 2022-02-25 12:01:21 +01:00
Maxime Naturel
4e4702cad8 Fixing date of file creation 2022-02-25 10:56:38 +01:00
Claire G
4860ed9131 replace empty space by - for debug app name 2022-02-25 10:04:30 +01:00
Maxime Naturel
aea78b70f1 Changing usage of viewModelScope to Session scope 2022-02-24 18:08:42 +01:00
Maxime Naturel
157feb1e4c Updating order of message actions 2022-02-24 17:39:41 +01:00
Maxime Naturel
a583db43c4 Updating TODOs 2022-02-24 17:39:41 +01:00
Maxime Naturel
4260d2f155 Updating Changelog entry 2022-02-24 17:39:41 +01:00
Maxime Naturel
882b143569 Permission and error handling 2022-02-24 17:39:41 +01:00
Maxime Naturel
4c09fb747b Moving base use case interface into core package 2022-02-24 17:39:41 +01:00
Maxime Naturel
cdb1a96664 Removing TODOs 2022-02-24 17:39:41 +01:00
Maxime Naturel
73ac3f3fda Fixing DI + observing events 2022-02-24 17:39:41 +01:00
Maxime Naturel
7d7b1f305e Calling ViewModel inside Fragment 2022-02-24 17:39:41 +01:00
Maxime Naturel
b17ce12c3d Calling use case inside ViewModel 2022-02-24 17:39:41 +01:00
Maxime Naturel
c6c46375d6 Creating a ViewModel 2022-02-24 17:39:40 +01:00
Maxime Naturel
374ac45505 Interface for UseCase 2022-02-24 17:39:40 +01:00
Maxime Naturel
38236e7815 OnDownload callback 2022-02-24 17:39:40 +01:00
Maxime Naturel
f64268efdb Adding download media use case 2022-02-24 17:39:40 +01:00
Maxime Naturel
e6995cbdd4 Draft 2022-02-24 17:39:40 +01:00
Maxime Naturel
0169396d7d Adding save icon into viewer 2022-02-24 17:39:40 +01:00
Maxime Naturel
042c57f9b8 Renaming some methods to be more concise 2022-02-24 17:39:40 +01:00
Maxime Naturel
6899b5b637 Creating dedicated attachment interaction listener 2022-02-24 17:39:40 +01:00
Maxime Naturel
3384a0caa0 TODO 2022-02-24 17:39:40 +01:00
ericdecanini
65242dfb47 Adds missing invalidation step to forceLoginFallback checkbox 2022-02-24 16:57:04 +01:00
Benoit Marty
40b1862cc3 Remove duplicated string
Template and no template version was present, it was a mistake.
2022-02-24 15:40:04 +01:00
ericdecanini
9f0cef7040 Removes unnecessary exhaustive on when statement 2022-02-24 15:39:27 +01:00
ericdecanini
8d0410d961 Removes Global doNothing function 2022-02-24 15:38:36 +01:00
ericdecanini
3d57d72a7e Reorders some functions within FtueAuthVariant 2022-02-24 15:33:06 +01:00
Benoit Marty
7516a1280e template_ is not required anymore 2022-02-24 15:32:24 +01:00
ericdecanini
92c6d59984 Adds private setting usage to FtueAuthVariant 2022-02-24 15:28:33 +01:00
ericdecanini
981393fefb Changes copy value of forceLoginFallback to it 2022-02-24 15:27:51 +01:00
ericdecanini
092761c118 Adds forceLoginFallback private setting view 2022-02-24 15:07:10 +01:00
ericdecanini
2917d4e4d6 Adds forceLoginFallback private setting 2022-02-24 15:01:18 +01:00
ericdecanini
4ebaa349c3 Reverts adding force login fallback flag to debug features 2022-02-24 14:45:48 +01:00
Weblate
515524584f Merge branch 'origin/develop' into Weblate. 2022-02-24 13:17:48 +00:00
Jeff Huang
8866ad32d7 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2783 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-02-24 13:16:57 +00:00
Ihor Hordiichuk
ec1195526a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2783 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-02-24 13:16:56 +00:00
Jozef Gaal
9504bd99a7 Translated using Weblate (Slovak)
Currently translated at 98.9% (2754 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-02-24 13:16:55 +00:00
lvre
6afc5824c4 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2783 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-02-24 13:16:51 +00:00
Kagami Sascha Rosylight
0046a3d697 Translated using Weblate (Korean)
Currently translated at 47.6% (1325 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2022-02-24 13:16:50 +00:00
Suguru Hirahara
8a66726dad Translated using Weblate (Japanese)
Currently translated at 94.5% (2632 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2022-02-24 13:16:50 +00:00
random
7ba60a0fb2 Translated using Weblate (Italian)
Currently translated at 100.0% (2783 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-02-24 13:16:49 +00:00
Linerly
99f1180e01 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2783 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-02-24 13:16:49 +00:00
Szimszon
01fe4c4d70 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2783 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-02-24 13:16:48 +00:00
Priit Jõerüüt
8d9b5eb0d5 Translated using Weblate (Estonian)
Currently translated at 99.9% (2781 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-02-24 13:16:47 +00:00
Kim Brose
c5286022f0 Translated using Weblate (German)
Currently translated at 99.8% (2780 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-02-24 13:16:46 +00:00
waclaw66
11342381ef Translated using Weblate (Czech)
Currently translated at 100.0% (2783 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-02-24 13:16:46 +00:00
Benoit Marty
5512439d36
Merge pull request #5157 from vector-im/feature/bma/config_poc
Create a new resource in config file for default setting value.
2022-02-24 14:15:19 +01:00
Suguru Hirahara
bf8389a7ec Translated using Weblate (Japanese)
Currently translated at 94.5% (2631 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2022-02-24 11:37:56 +00:00
Joe Sagawa
cc2653e602 Translated using Weblate (Japanese)
Currently translated at 94.5% (2631 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2022-02-24 11:37:53 +00:00
ariskotsomitopoulos
8b254212af Merge branch 'develop' into feature/aris/thread_live_thread_list 2022-02-24 12:45:08 +02:00
Suguru Hirahara
0dd51340b7 Translated using Weblate (Japanese)
Currently translated at 93.3% (2597 of 2783 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2022-02-23 22:15:26 +00:00