Commit Graph

11261 Commits

Author SHA1 Message Date
Benoit Marty
b161e5eb2e Add Kdoc on SpaceListFragment 2022-07-29 13:06:37 +02:00
Benoit Marty
07dc0d2e54 Rename layout for clarity 2022-07-29 13:06:37 +02:00
Benoit Marty
e9aab6331a Improve layout preview, item_group does not exist anymore. 2022-07-29 13:06:37 +02:00
Benoit Marty
59f00cd196
Merge pull request #6637 from vector-im/feature/bma/danger
Danger
2022-07-29 12:55:32 +02:00
Maxime NATUREL
c7d5ceca5d
Merge pull request #6644 from vector-im/feature/mna/notification-tap-lls
[Location Share] Open maximized map on tapping on live sharing notification (PSG-616)
2022-07-29 11:27:53 +02:00
ericdecanini
4f5ad816f1 Fixes AppStateHandlers in code after merge 2022-07-29 10:56:33 +02:00
Maxime NATUREL
3a5c139759 Converting drawable to bitmap for map symbol to fix invisible text 2022-07-29 10:14:00 +02:00
Benoit Marty
fb67499657 Knit: do not check node_modules folder 2022-07-29 10:02:40 +02:00
Benoit Marty
cc6dad3fce Ignore PluralsCandidate, I do not know why it is reported by Danger, since this is a warning. Also make this issue an error. 2022-07-29 10:02:40 +02:00
Adam Brown
67d4afa012 updating build versions for next release cycle 2022-07-29 09:02:17 +01:00
Benoit Marty
a2e8506600 Fix and suppress lint issue. RestrictedApi is for the usage of ShortcutInfoCompat.Builder. 2022-07-28 19:03:05 +02:00
Benoit Marty
eee418d1fd Migrate previous pinned Shortcut to the new Intent 2022-07-28 18:26:44 +02:00
Maxime NATUREL
b2e64e6265 Fixing missing clear on TabLayoutMediator when view is destroyed 2022-07-28 17:25:42 +02:00
Benoit Marty
6e0ca3958b Shortcuts must first start MainActivity to ensure the session is restored. 2022-07-28 16:19:28 +02:00
ericdecanini
d49f104332 Adds fab buttons 2022-07-28 15:09:57 +02:00
Adam Brown
bc856fd16c Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (2311 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-07-28 12:14:17 +00:00
Weblate
e9472d64f2 Merge branch 'origin/develop' into Weblate. 2022-07-28 11:12:31 +00:00
phardyle
ba25e6d6fb Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (2314 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-07-28 11:11:42 +00:00
Adam Brown
b409431b0f
Merge pull request #6666 from vector-im/feature/adm/missing-space-rooms
`Home` always showing all rooms
2022-07-28 12:10:36 +01:00
Adam Brown
d304624878 removing extra blank lines 2022-07-28 11:49:50 +01:00
Adam Brown
bb9459fcab adding test around sso url fetching 2022-07-28 11:41:40 +01:00
Adam Brown
8ef0850752 removing unused import 2022-07-28 11:05:28 +01:00
Adam Brown
09d840506e replacing inverted takeIf chain with positive when conditions 2022-07-28 11:04:35 +01:00
Maxime NATUREL
d60683d991
Merge pull request #6664 from vector-im/fix/mna/cancel-infinite-animation
Cancel infinite animations in TypingMessageDotsView
2022-07-28 11:48:26 +02:00
ericdecanini
590f99a5c2 Adds comments to SpaceStateHandler 2022-07-28 11:33:54 +02:00
ericdecanini
e6addd1319 Merge remote-tracking branch 'origin/develop' into task/eric/space-switching-unit-tests
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt
2022-07-28 11:25:14 +02:00
ericdecanini
a11d5ebdd9 Replaces TODOs 2022-07-28 11:24:00 +02:00
Adam Brown
e8476882fc providing a type for the NoFilter to avoid the ambiguity of the nullable param 2022-07-28 10:22:11 +01:00
Adam Brown
1ba8d29333 fixing rooms from other spaces being included in home due to wrong filter param
- we were passing null which meant no filter was being applied
2022-07-28 10:10:01 +01:00
Maxime NATUREL
a0534d8fcc
Merge pull request #6636 from vector-im/feature/mna/ended-state-map-live-location
[Location Share] - Expanded map state when no more live location shares (PSG-629)
2022-07-28 10:53:31 +02:00
Maxime NATUREL
fbd1009ebc Fixing missing cancel on infinite ObjectAnimators 2022-07-28 10:00:07 +02:00
Johan Smits
0fccedd68f Translated using Weblate (Dutch)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-07-28 06:32:57 +00:00
Auri B. P
f366211436 Translated using Weblate (Catalan)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-07-28 06:32:54 +00:00
phardyle
01555d5cb4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-07-28 06:32:52 +00:00
Przemysław Romanik
e612421be3 Translated using Weblate (Polish)
Currently translated at 99.0% (2293 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-07-28 06:32:52 +00:00
LinAGKar
128ff1f8eb Translated using Weblate (Swedish)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-07-28 06:32:47 +00:00
phardyle
aea0d2f2ca Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (2314 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-07-28 06:32:42 +00:00
Dinh Quang Tuyen
066d96912b Translated using Weblate (Vietnamese)
Currently translated at 88.9% (2060 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2022-07-28 06:32:28 +00:00
Adam Brown
c4831510ac adding tests around the state resetting 2022-07-27 17:17:36 +01:00
Adam Brown
a32a78751a adding test around login with username and password 2022-07-27 16:40:12 +01:00
Adam Brown
01bc275311
Merge pull request #6651 from vector-im/feature/adm/enable-ftue
FTUE - Enable onboarding FTUE flows
2022-07-27 16:38:35 +01:00
Adam Brown
87a0957d9a adding test around login with token 2022-07-27 16:37:35 +01:00
Adam Brown
e77688b3f4 adding splash action tests 2022-07-27 16:37:17 +01:00
ericdecanini
d3a1783e57 Adds invites to new home menu 2022-07-27 16:05:25 +02:00
ericdecanini
9a981bb1d5 Adds profile icon to toolbar 2022-07-27 15:37:31 +02:00
Adam Brown
64c875e017
add ticket reference for TODO 2022-07-27 14:05:39 +01:00
Adam Brown
0fcf7c7079
Merge pull request #6641 from vector-im/feature/adm/ftue-soft-exit-email-verification
FTUE - Allow editing email during email verification
2022-07-27 14:00:20 +01:00
Adam Brown
8639b69e73 removing unused imports 2022-07-27 13:21:17 +01:00
Jorge Martín
58ea816cae Ignore tests with broken mocks in APIs < 30. It looks like a mockk issue. 2022-07-27 14:02:18 +02:00
Jorge Martín
b468a9da33 Improve lock screen implementation. 2022-07-27 14:02:18 +02:00
Adam Brown
28362b53f8 enabling the ftue feature flags 2022-07-27 12:18:10 +01:00
Adam Brown
fe0c2fc57f adding UI test support for the ftue onboarding feature flags 2022-07-27 12:17:59 +01:00
Adam Brown
746191163a updating test verification interaction, there's no skip and we can press back instead 2022-07-27 12:17:03 +01:00
Adam Brown
067a030f19
Merge pull request #6649 from vector-im/feature/adm/auth-testing-results
FTUE - Test session feedback
2022-07-27 12:09:35 +01:00
Adam Brown
5cc96850af updating font scale access as the activity wait no longer works with the latest changes 2022-07-27 11:50:14 +01:00
Nikita Fedrunov
45bbf74db3
new room list implementation for EditLayout (#6618) 2022-07-27 12:17:07 +02:00
Adam Brown
f21a978608 removing unused imports 2022-07-27 10:33:34 +01:00
Adam Brown
12b6f54cf9 updating captcha icon 2022-07-27 10:16:41 +01:00
Adam Brown
abcde349f0 using invisible visibility to avoid loading spinner from jumping around and hiding the loading when resending the email 2022-07-27 10:08:26 +01:00
ericdecanini
7de82e0204 Adds white status and navigation bars 2022-07-27 11:04:53 +02:00
Maxime NATUREL
0750e80f04 Use context.obtainStyledAttributes instead of context.theme.obtainStyledAttributes 2022-07-27 11:04:14 +02:00
Adam Brown
87995abc7f updating verification copy to match latest 2022-07-27 09:40:39 +01:00
Adam Brown
b6695c7009 using dedicated sign in copy for the server selection header 2022-07-27 09:37:50 +01:00
Adam Brown
616c1d780f updating sign in specific subtitle for the server selection screen 2022-07-27 09:36:12 +01:00
Maxime NATUREL
47960c0dfd Use const to define banner background alpha 2022-07-27 10:29:14 +02:00
Maxime NATUREL
d62cf70b8c Add usage of TypedArray.use when possible 2022-07-27 10:28:43 +02:00
Benoit Marty
f37034c18e
Merge pull request #6643 from vector-im/feature/bma/fix_firebase_popup
Feature/bma/fix firebase popup
2022-07-26 20:15:05 +02:00
Adam Brown
653c97b40d disabling the server url selection submit button when the selection is empty 2022-07-26 17:19:20 +01:00
Adam Brown
2dae13f6c8 applying the password character limit to the keyboard done action 2022-07-26 17:05:25 +01:00
Adam Brown
e6df2b39b4 handling unverified email as a dialog error in the reset password flow with a friendly error message 2022-07-26 16:58:19 +01:00
Benoit Marty
e577320301 Change name of fun. 2022-07-26 17:47:49 +02:00
Benoit Marty
41d35e68a0 Inject SharedPreferences 2022-07-26 17:43:38 +02:00
Valere
8e2eb1903d
Merge pull request #6475 from vector-im/feature/bca/crypto_unable_self_verify
Handle case when device cannot be verified
2022-07-26 16:12:43 +02:00
ericdecanini
7334d909d5 Adds options menu 2022-07-26 16:00:46 +02:00
Maxime NATUREL
f3ad9e38c3 Update the notification when starting/stopping new live in room 2022-07-26 15:28:27 +02:00
Adam Brown
fd255039f3 adding tests around initialising the viewmodel and handling email send success actions 2022-07-26 14:26:03 +01:00
Maxime NATUREL
f56c315207 Dedicated notification builder and opening map on tap of notification 2022-07-26 14:33:40 +02:00
ericdecanini
5958559186 Styles collapsed title text 2022-07-26 14:31:02 +02:00
Benoit Marty
e5163ad9c3 Better safe than sorry. This popup should not show up on production version 2022-07-26 14:23:44 +02:00
Benoit Marty
c6b9dba041 Rename fun 2022-07-26 14:23:44 +02:00
Benoit Marty
1e8a8d4da0 Display the nightly popup only once a day 2022-07-26 14:23:44 +02:00
ericdecanini
a5039287b2 Adds feature flag functionality 2022-07-26 13:38:15 +02:00
Adam Brown
f6070ee9ca allowing the user to edit their email address after starting the verfication process
- the email verification screen is no longer a hard exit during the standard account creation flow, however if a authentication session is restored eg the app is killed and reopened whilst waiting for email verifcation, then pressing back will cause the flow to be restarted
2022-07-26 11:57:03 +01:00
Adam Brown
c66b1885ad allowing the child ftue fragments to determine if they're the back action is a hard exit 2022-07-26 11:53:04 +01:00
ericdecanini
3df337fa07 Adds new layout toolbar 2022-07-26 12:38:29 +02:00
Adam Brown
abab2a0db7 including knowledge of if the session was restored when fastforwarding to the waiting for email 2022-07-26 11:30:34 +01:00
Johannes Marbach
e9bd271642
Merge pull request #6634 from vector-im/johannes/ec-permission-shortcuts
Put EC permission shortcuts behind labs flag (PSG-630)
2022-07-25 20:38:22 +02:00
Maxime NATUREL
c3bc53fe48
Merge pull request #6626 from vector-im/feature/mna/open-map-on-tap-of-lls-status-bar
[Location sharing] - OnTap on the top live status bar, display the expanded map view (PSG-614)
2022-07-25 17:40:33 +02:00
Maxime NATUREL
d4186af761
Merge pull request #6608 from vector-im/feature/mna/ux-review-fixes-22-07-11
[Location sharing] - Small improvements of UI for live (PSG-613)
2022-07-25 16:42:48 +02:00
Maxime NATUREL
989c2ee967 Removing non necessary root binding 2022-07-25 15:37:11 +02:00
Maxime NATUREL
4cfb79d566 Small renamings to be more consistent 2022-07-25 14:49:49 +02:00
Maxime NATUREL
d0a9e9eda0 Reverting some after rebase changes 2022-07-25 14:37:31 +02:00
Maxime NATUREL
e1ea10e0a2 Adding attribute to set the start margin of icon 2022-07-25 14:17:07 +02:00
Maxime NATUREL
e51488bc57 Adding ended live banner view in the map screen 2022-07-25 12:01:10 +02:00
Benoit Marty
cc0c9c262c Less annoying Nightly dialog. 2022-07-25 11:18:53 +02:00
Benoit Marty
a06dc55848
Merge pull request #6629 from vector-im/feature/bma/nightyl_in_app_alert
Add in-app alert to let user know if a new version is available.
2022-07-25 10:40:42 +02:00
Maxime NATUREL
5e59eb474a Adding attribute to control alpha of the banner background 2022-07-25 10:36:28 +02:00
Benoit Marty
c28e7c86d4
Merge pull request #6341 from artkoenig/develop
Fixed issues with reporting sync state events from different threads
2022-07-25 10:21:12 +02:00
Johannes Marbach
d96d9575ed Add FLAG_IMMUTABLE
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-25 10:12:44 +02:00
Benoit Marty
4dd5fa7051 Shorter code. 2022-07-25 10:07:52 +02:00
Maxime NATUREL
732582b6fe Banner view for ended live 2022-07-25 10:03:55 +02:00
Johannes Marbach
3af663e91f Put EC permission shortcuts behind labs flag (PSG-630)
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-25 09:57:51 +02:00
Maxime NATUREL
1276b12188 Renaming banner view for running live 2022-07-25 09:51:18 +02:00
Maxime NATUREL
46684702a1 Hiding bottom sheet when no more lives 2022-07-25 09:51:18 +02:00
Maxime NATUREL
4a817fd9f5 Fixing dark/light loading of the correct map drawable 2022-07-25 09:50:54 +02:00
Maxime NATUREL
7f43a1bb06 Updating reply description text 2022-07-25 09:50:54 +02:00
Maxime NATUREL
4bb9a68603 Fixing title position inside banner for active live item 2022-07-25 09:50:54 +02:00
Maxime NATUREL
2a0331dc04 Fixing title position inside banner for loading and stop items 2022-07-25 09:50:54 +02:00
Maxime NATUREL
d632c866a2 Center crop the map 2022-07-25 09:50:54 +02:00
Maxime NATUREL
985e09a68c Remove abandoned TODO 2022-07-25 09:50:54 +02:00
Suleman Tariq
d5fa6f188c Added translation using Weblate (Urdu) 2022-07-23 18:23:13 +00:00
Glandos
ab1d899e1f Translated using Weblate (French)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-07-23 11:32:33 +00:00
waclaw66
5a994e7314 Translated using Weblate (Czech)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-07-23 11:32:30 +00:00
ssnfcmux
6c686351c4 Translated using Weblate (Arabic)
Currently translated at 42.0% (974 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-07-23 11:32:26 +00:00
Onuray Sahin
75de805417
Merge pull request #6616 from vector-im/feature/ons/element_call_widget
Support element call widget (PSG-627)
2022-07-22 19:03:03 +03:00
Benoit Marty
83f3229805 Add in-app alert to let user know if a new version is available. 2022-07-22 17:29:59 +02:00
Onuray Sahin
5c253bbd28 Code review fixes. 2022-07-22 17:21:23 +03:00
Onuray Sahin
6a9b496651
Merge pull request #6609 from vector-im/feature/ons/reset_zoom_level_on_user_focus
Live Location Sharing - Reset zoom level while focusing a user (PSG-624)
2022-07-22 14:50:36 +03:00
Onuray Sahin
792fca8400 Code review fix. 2022-07-22 14:48:58 +03:00
Onuray Sahin
23a25cf240 Rename widget action. 2022-07-22 14:36:02 +03:00
Onuray Sahin
242c14a156 Write test for the use case. 2022-07-22 14:34:06 +03:00
Onuray Sahin
d631c709d6 Create use case to check webview permissions. 2022-07-22 14:33:45 +03:00
Maxime NATUREL
70c9c8a21d Navigate to location live map when tapping the live status bar in timeline 2022-07-22 11:54:15 +02:00
Benoit Marty
0c289eba2b Fix crash observed on nightly build. MainActivity is not able to display alert because the theme is not compliant. Anyway we should not display alert on this screen. 2022-07-22 11:26:32 +02:00
Jeff Huang
cc15c12c41 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-07-22 02:32:50 +00:00
Ihor Hordiichuk
6fc15ea1ab Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-07-22 02:32:48 +00:00
Jozef Gaal
60e1c7c573 Translated using Weblate (Slovak)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-07-22 02:32:45 +00:00
lvre
d79e44d59f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-07-22 02:32:42 +00:00
random
08a5d7ecea Translated using Weblate (Italian)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-07-22 02:32:39 +00:00
Linerly
1624c8c73a Translated using Weblate (Indonesian)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-07-22 02:32:36 +00:00
Danial Behzadi
cca907c636 Translated using Weblate (Persian)
Currently translated at 100.0% (2315 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-07-22 02:32:34 +00:00
Priit Jõerüüt
bb13e1e437 Translated using Weblate (Estonian)
Currently translated at 99.6% (2307 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-07-22 02:32:31 +00:00
Auri B. P
11c1ae768a Translated using Weblate (Catalan)
Currently translated at 99.7% (2309 of 2315 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-07-22 02:32:28 +00:00
Onuray Sahin
81f3e4a360 Lint fixes. 2022-07-21 16:29:34 +03:00
Onuray Sahin
da780ac56f Open element call widget. 2022-07-21 16:26:10 +03:00
Onuray Sahin
0d4697b7e1 Show call icon if there is an active element call widget. 2022-07-21 15:55:51 +03:00
Benoit Marty
3d7733156e
Merge pull request #6612 from anoadragon453/patch-1
Fix a typo during registration
2022-07-21 14:12:30 +02:00
Benoit Marty
fabdc20887
Merge pull request #6548 from vector-im/feature/bma/realm_migration_bg
Realm migration bg
2022-07-21 14:08:03 +02:00
Onuray Sahin
7dfe5264cd Fix picture in picture mode. 2022-07-21 15:03:44 +03:00
Onuray Sahin
85b5713b24 Add a hangup button in pip mode. 2022-07-21 14:02:24 +03:00
Onuray Sahin
95783506a2 Stop javascript for non element call widgets. 2022-07-21 13:51:52 +03:00
Valere
fb05ab34d8
Merge pull request #6395 from vector-im/feature/bca/fix_invalid_qr_warning
Display specific message when verif code malformed
2022-07-21 12:36:46 +02:00
Johannes Marbach
5c55263cf6 Suppress webview / checkbox permission dialog
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-21 13:15:00 +03:00
Onuray Sahin
fd3b082a2c Open element call widget. 2022-07-21 13:13:14 +03:00
Valere
ac7b47b8b2 code reviews 2022-07-21 12:05:33 +02:00
Valere
6657d6c5af clean 2022-07-21 12:05:33 +02:00
Valere
9f3c8b6e5f Handle case when device cannot be verified 2022-07-21 12:05:33 +02:00
Onuray Sahin
f5ec7a312f Auto grant WebView permissions if they are already granted system level. 2022-07-21 12:56:12 +03:00
Onuray Sahin
a0eb2e733c Skip widget permissions for element call. 2022-07-21 12:41:22 +03:00
Onuray Sahin
85aba894d6 Support picture-in-picture mode for element call widget. 2022-07-21 12:35:11 +03:00
ericdecanini
d8668f70bc Rearranges imports 2022-07-21 11:34:49 +02:00
Onuray Sahin
b3a8052a51 Add element call widget type. 2022-07-21 12:30:55 +03:00
Onuray Sahin
61f05e78a3 Create custom widget args for element call. 2022-07-21 12:27:52 +03:00
Benoit Marty
3063c0da49 Avoid updating the UI every seconds 2022-07-21 11:19:36 +02:00
Benoit Marty
9dda647c52 Add Foreground service when data are updated. 2022-07-21 11:19:36 +02:00
Benoit Marty
b294c9a1fd Do not always start MainActivity first when launching HomeActivity 2022-07-21 11:19:36 +02:00
Benoit Marty
0bedfc8087 Add a message when migrating the data (after 1 seconds) 2022-07-21 11:19:36 +02:00
Benoit Marty
b7826c02a3 Start SDK before handling permalink or sharing to the app.
It also fixes a crash when trying to share to the app if there is no active session: `IncomingShareViewModel` injects the `session` in the constructor.
2022-07-21 11:19:36 +02:00
Benoit Marty
c8a2bfc738 Always start MainActivity to ensure that current session is set. 2022-07-21 11:19:36 +02:00
Benoit Marty
0dd9e943c7 Delegate the creation of the Session to MainActivity instead of VectorApplication to unblock the main thread.
This fix is not necessary anymore, since the session is restored either in `MainActivity` or in `VectorMessagingReceiver`.
Ref: b7a54ead68
2022-07-21 11:19:36 +02:00
Andrew Morgan
d8fa1cb2ed
Fix a typo during registration
terns -> terms
2022-07-21 10:12:43 +01:00
ericdecanini
a909779e08 Merge remote-tracking branch 'origin/develop' into task/eric/space-switching-unit-tests
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewModel.kt
2022-07-21 10:48:57 +02:00
ericdecanini
d8fdaf0477 Moves UiStateRepository stubbing to fake class 2022-07-21 10:38:31 +02:00
ericdecanini
1d77f99148 Adds RoomSummaryFixture 2022-07-21 10:37:33 +02:00
ericdecanini
f0ae458a54 Changes AppStateHandler to SpaceStateHandler 2022-07-21 10:10:44 +02:00
ericdecanini
9a649b6093 Adds tests for selectedSpaceFlow and activeSpaceId 2022-07-21 09:39:12 +02:00
ericdecanini
f770ae0653 Adds tests for persist space and backstack 2022-07-21 08:53:08 +02:00
ericdecanini
49992f682e Adds test for existing space 2022-07-21 08:12:04 +02:00
ericdecanini
9e1235d51f Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo034.kt
2022-07-20 16:44:33 +02:00
Onuray Sahin
10322545aa Move pin to center when clicked. 2022-07-20 16:57:48 +03:00
Onuray Sahin
0f3e4046e1 Animate camera while zooming to a user. 2022-07-20 15:57:56 +03:00
Onuray Sahin
372ff9ff97 Move to initial zoom level when a user is focused. 2022-07-20 15:57:30 +03:00
ericdecanini
0ad2051dd3 Improves plural used in strings 2022-07-20 14:48:38 +02:00
Weblate
2792c48a6e Merge branch 'origin/develop' into Weblate. 2022-07-20 12:26:40 +00:00
LinAGKar
3eb590ebe8 Translated using Weblate (Swedish)
Currently translated at 100.0% (2265 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-07-20 12:26:32 +00:00
Sveinn í Felli
653f699c28 Translated using Weblate (Icelandic)
Currently translated at 82.1% (1861 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-07-20 12:26:32 +00:00
Szimszon
b500fcd3d0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2265 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-07-20 12:26:32 +00:00
notramo
9a86ae670c Translated using Weblate (Hungarian)
Currently translated at 100.0% (2265 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-07-20 12:26:30 +00:00
ssnfcmux
79ba60c10d Translated using Weblate (Arabic)
Currently translated at 43.2% (979 of 2265 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-07-20 12:26:30 +00:00
Onuray Sahin
7f821f1285
Merge pull request #6587 from vector-im/feature/ons/fix_live_location_sharing_permission
Check user power level before sharing live location (PSG-620)
2022-07-20 15:01:32 +03:00
Eric Decanini
7ceef0045b
Merge pull request #6602 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.52
Bump libphonenumber from 8.12.51 to 8.12.52
2022-07-20 13:51:45 +02:00
Onuray Sahin
26a677edc2
Merge branch 'develop' into feature/ons/fix_live_location_sharing_permission 2022-07-20 13:40:55 +03:00
Eric Decanini
38ba61f144
Merge pull request #6200 from vector-im/bugfix/eric/upgrade-room-deduplication
Fixes room not being in space after upgrade
2022-07-20 12:30:42 +02:00
Eric Decanini
a0bf1787cb
Merge pull request #6593 from vector-im/task/eric/trailing-commas
Code style change: Trailing Commas
2022-07-20 11:46:53 +02:00
ericdecanini
ee941cf88d Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo033.kt
2022-07-20 10:56:07 +02:00
Maxime NATUREL
448b6e1c74
Merge pull request #6539 from vector-im/bugfix/mna/lls-status-bar-disappearing
[Location Share] - Wrong room live location status bar visibility in timeline (PSG-625)
2022-07-20 09:55:06 +02:00
dependabot[bot]
6332668b8c
Bump libphonenumber from 8.12.51 to 8.12.52
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.51 to 8.12.52.
- [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.51...v8.12.52)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 23:06:00 +00:00
Maxime NATUREL
c3105c8bb1
Merge pull request #6486 from vector-im/feature/mna/delete-lls
[Location sharing] - Delete action on a live message (PSG-523)
2022-07-19 16:43:41 +02:00
Maxime NATUREL
b08337e3a7
Merge pull request #6501 from vector-im/feature/mna/collapse-deleted-events
[Timeline] - Collapse redacted events (PSG-523)
2022-07-19 16:39:45 +02:00
ericdecanini
fbdbfb6be2 Post cherry pick fix 2022-07-19 16:20:59 +02:00
ericdecanini
e4c8c88cee Refactors AppStateHandler into interface implementation pattern 2022-07-19 16:19:44 +02:00
ericdecanini
4dccff4d78 Improves formatting in AppStateHandler 2022-07-19 16:19:25 +02:00
Onuray Sahin
9976b3b8ac
Merge pull request #6567 from vector-im/feature/ons/share_location_with_other_apps
Share location with other apps (PSG-242)
2022-07-19 17:08:36 +03:00
ericdecanini
8c53d2f9b0 Reformats modules 2022-07-19 15:11:42 +02:00
Benoit Marty
62f2fe1c16 Detekt: This explicit usage of it as the lambda parameter name can be omitted. [ExplicitItLambdaParameter] 2022-07-19 15:02:21 +02:00
Benoit Marty
70c62233d0
Merge pull request #6569 from vector-im/feature/adm/ftue-copy-review
FTUE - Copy review
2022-07-19 14:49:28 +02:00
Benoit Marty
70c8703b2b
Merge pull request #6545 from vector-im/feature/adm/ftue-combined-register-copy-review
FTUE - Combined register copy review
2022-07-19 14:44:29 +02:00
Maxime NATUREL
ecbd2d48a7 Replacing callback by a SharedFlow to notify of roomIds updates 2022-07-19 14:43:33 +02:00
Maxime NATUREL
33714b850f Make the status bar only visible in rooms where there is an active live 2022-07-19 14:43:33 +02:00
Maxime NATUREL
82391aa281 Replacing ViewEvent by a ViewState property 2022-07-19 14:43:33 +02:00