Commit graph

11728 commits

Author SHA1 Message Date
Benoit Marty
bdfbbbb2e6
Merge pull request #7020 from vector-im/feature/nfe/app_layout_all_screens_test
fixed allscreens sanity test for enabled app layout flag
2022-09-07 13:57:17 +02:00
ericdecanini
3c6efd673e Allows you to open an invite by clicking the invite cell 2022-09-07 11:58:47 +02:00
Benoit Marty
c408621bd5
Merge pull request #7054 from vector-im/feature/bma/fix_invite_to_room_in_space
Fix invite to room in space
2022-09-07 11:53:34 +02:00
Benoit Marty
80507dac00
Merge pull request #7024 from vector-im/bugfix/eric/new-layout-recents-padding
New Layout - Fixes padding of recents item selectable background
2022-09-07 11:00:36 +02:00
Benoit Marty
199195dcbd
Merge pull request #7039 from vector-im/feature/eric/new-layout-update-icons
New Layout - Replace space icon (and release notes image)
2022-09-07 10:57:23 +02:00
ericdecanini
64c8789ef2 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs 2022-09-07 10:35:44 +02:00
Eric Decanini
da88b37ec7
Merge pull request #7040 from vector-im/bugfix/eric/new-layout-missing-header
New Layout - Adds missing space list header
2022-09-07 10:31:31 +02:00
Benoit Marty
2ba00b3845 If we need the FragmentManager, let's require to have a FragmentActivity. 2022-09-07 10:14:29 +02:00
Benoit Marty
fe484e84f4 Fix clicking on invite does not work. Fix #7053
We need the FragmentManager to display a bottom sheet.
2022-09-07 10:01:31 +02:00
Benoit Marty
c5d3eaffb9
Merge pull request #7041 from vector-im/feature/bma/debug_release_note
Debug release note
2022-09-07 09:40:48 +02:00
Maxime NATUREL
2148270773 Update unit tests 2022-09-07 09:32:48 +02:00
Maxime NATUREL
6e9b2baf6f Rendering inactive status in SessionInfoView 2022-09-07 09:32:48 +02:00
Maxime NATUREL
52d05b373c Fix post rebase 2022-09-07 09:32:47 +02:00
Maxime NATUREL
1ad585e154 Adding last seen details + fix observation of wrong deviceId in ViewModel 2022-09-07 09:32:47 +02:00
Maxime NATUREL
d12bb09273 Adding learn more link in verification status details 2022-09-07 09:32:47 +02:00
Maxime NATUREL
fde7072bc7 Unit tests for computing trust level of device 2022-09-07 09:32:47 +02:00
Maxime NATUREL
38a04c3655 Unit tests for GetCurrentSessionCrossSigningInfoUseCase 2022-09-07 09:32:47 +02:00
Maxime NATUREL
3f30cf0bee Updating existing unit tests 2022-09-07 09:32:47 +02:00
Maxime NATUREL
78c2b10b89 Navigation from other session item 2022-09-07 09:32:47 +02:00
Maxime NATUREL
f4865df50c Show info in overview screen 2022-09-07 09:32:47 +02:00
Maxime NATUREL
52006c1bb4 Renaming CurrentSessionView into SessionInfoView to be more generic 2022-09-07 09:32:47 +02:00
Maxime NATUREL
a5ee4faef4 Introducing some reusable usecases 2022-09-07 09:32:47 +02:00
Maxime NATUREL
b995f798f9 Adding unit tests for viewModel 2022-09-07 09:32:47 +02:00
Maxime NATUREL
0c3310dd16 Adding unit tests for the new use case 2022-09-07 09:32:47 +02:00
Maxime NATUREL
68f106efac Adding use case to get full device info for a given device id 2022-09-07 09:32:47 +02:00
Maxime NATUREL
2a599d9760 Small renamings/reorganization in CryptoService 2022-09-07 09:32:47 +02:00
Maxime NATUREL
3eb29b4661 Renaming view state 2022-09-07 09:32:47 +02:00
Maxime NATUREL
26dbd31717 Unit tests for navigator 2022-09-07 09:32:47 +02:00
Maxime NATUREL
ebf707dca9 Navigation from current session 2022-09-07 09:32:45 +02:00
Maxime NATUREL
969663786b Renaming header list view to be consistent 2022-09-07 09:32:09 +02:00
ericdecanini
afbb76f341 Fixes lint error 2022-09-07 08:36:52 +02:00
Jorge Martín
273999ee88 Fix voice recording tests 2022-09-06 20:08:29 +02:00
ericdecanini
6c2363471d Unlocks the drawer layout when not new layout 2022-09-06 18:01:36 +02:00
ericdecanini
9564c8f144 Changes some preferences to be enabled or disabled by labs flag 2022-09-06 17:32:08 +02:00
ericdecanini
d77ce27953 Fixes wrong use of feature flag instead of labs flag 2022-09-06 17:31:52 +02:00
Benoit Marty
b4fcffbdf9 Add missing points. 2022-09-06 17:11:25 +02:00
Benoit Marty
22f8ace4c4
Merge pull request #6957 from vector-im/sync-analytics-plan
Sync analytics plan
2022-09-06 17:09:52 +02:00
ericdecanini
b7efd6384c Changes vector feature preference key and function name for clarity 2022-09-06 16:07:12 +02:00
Benoit Marty
f54979ce13 Add some debug tools about ReleaseNotesActivity.
- reset the show status
- display this Activity
2022-09-06 15:50:48 +02:00
ericdecanini
593a04ea25 Adds missing space list header 2022-09-06 15:41:30 +02:00
ericdecanini
31a3552e26 Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs
# Conflicts:
#	vector/src/main/java/im/vector/app/features/settings/VectorSettingsLabsFragment.kt
2022-09-06 15:32:00 +02:00
ericdecanini
468c7b600c Re-adds feature flag 2022-09-06 15:30:19 +02:00
Benoit Marty
16fad63e49 Better to call setAppLayoutOnboardingShown when we are sure the Activity has been run. 2022-09-06 15:15:59 +02:00
Benoit Marty
b3eac52e3f
Merge pull request #7022 from vector-im/feature/nfe/app_layout_hide_filters_for_space
hide favourites and dms filters for a selected space, if they are empty
2022-09-06 14:56:53 +02:00
Benoit Marty
1c35e5ae9c
Merge pull request #6986 from vector-im/feature/nfe/invites_empty_state
empty state for new invites screen
2022-09-06 14:56:06 +02:00
Benoit Marty
4e0735c759
Merge pull request #7021 from vector-im/feature/nfe/app_layout_settings_update
obsolete settings are hidden when app layout flag is enabled
2022-09-06 14:53:51 +02:00
ericdecanini
91b4918526 Merge remote-tracking branch 'origin/feature/nfe/app_layout_hide_filters_for_space' into feature/eric/new-layout-labs 2022-09-06 14:46:12 +02:00
ericdecanini
5e0d84bb25 Uses referenced default value for new layout labs flag 2022-09-06 14:42:54 +02:00
ericdecanini
707ff27371 Replaces spaces icon (and corresponding release notes image) 2022-09-06 14:34:42 +02:00
ericdecanini
a851b0aa96 Fixes lint error 2022-09-06 13:31:57 +02:00
ericdecanini
24509543b9 Replaces feature flag with labs flag 2022-09-06 12:48:03 +02:00
Benoit Marty
3c7889c95d Some cleanup 2022-09-06 11:36:44 +02:00
Nikita Fedrunov
7cc7444bd5
applayout release experience (#7003) 2022-09-06 11:32:11 +02:00
Benoit Marty
6a3bef591c
Merge pull request #6994 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-embedded_fcm_distributor-2.1.3
Bump android-embedded_fcm_distributor from 2.1.2 to 2.1.3
2022-09-06 11:16:14 +02:00
ericdecanini
8f614d82ae Fixes padding of selectable background in recents item 2022-09-06 10:26:43 +02:00
NIkita Fedrunov
e0c455a476 update according to code review 2022-09-06 10:08:32 +02:00
Eric Decanini
ab989e9ff0
Merge pull request #7015 from vector-im/bugfix/eric/recents-bg-color
New Layout - Fixes recents background color not matching app bar
2022-09-06 08:25:38 +02:00
Eric Decanini
e2ba576318
Merge pull request #7016 from vector-im/bugfix/eric/new-layout-accessibility-fixes
New Layout Accessibility Fixes
2022-09-06 08:25:29 +02:00
Eric Decanini
d6b7fcebde
Merge pull request #7018 from vector-im/bugfix/eric/new-layout-login-avatar
App Layout - Fixes avatar not showing on fresh login
2022-09-06 08:25:19 +02:00
NIkita Fedrunov
ee300cf11d hide favourites and dms filters for a selected space, if they are empty 2022-09-06 07:54:16 +02:00
NIkita Fedrunov
891173c04a compilation error fixed 2022-09-06 07:18:45 +02:00
Jorge Martín
0a1c7561bd Use embedded libopus encoder for devices that somehow lack the official one 2022-09-06 07:14:55 +02:00
NIkita Fedrunov
9a29c79233 obsolete settings are hidden when app layout flag is enabled 2022-09-06 00:41:58 +02:00
NIkita Fedrunov
67b7bc3d83 fixed allscreens sanity test for enabled app layout flag 2022-09-06 00:00:35 +02:00
ericdecanini
83b8a0ea94 Fixes avatar not shown on fresh login 2022-09-05 22:27:18 +02:00
Eric Decanini
daacf35411
Merge pull request #7013 from vector-im/bugfix/eric/new-layout-sync-state
New Layout - Fixes sync state not being visible
2022-09-05 21:18:48 +02:00
ericdecanini
289ed86be7 Fixes recents carousel saying name twice in talkback 2022-09-05 20:53:03 +02:00
ericdecanini
93ce7f8db5 Fixes home screen talkback jumping to fabs too early 2022-09-05 20:52:45 +02:00
Benoit Marty
f54d792bbf
Merge pull request #7014 from vector-im/feature/bma/fix_fdroid_crash
Feature/bma/fix fdroid crash
2022-09-05 20:45:29 +02:00
ericdecanini
05f7850a01 Adds space name to expand / collapse chevron content description in space bottom sheet 2022-09-05 20:28:11 +02:00
NIkita Fedrunov
61cf3c3125 review changes 2022-09-05 18:56:43 +02:00
ericdecanini
5e00fe54ae Fixes bg and divider colors and top margin of recents 2022-09-05 18:39:12 +02:00
Nikita Fedrunov
efe5eb0501
App layout Home screen empty states (#7007) 2022-09-05 18:11:25 +02:00
ericdecanini
ad49b4513c Fixes recents background color not matching app bar 2022-09-05 18:07:22 +02:00
Jorge Martin Espinosa
ae653eb672
Catch race condition while recording voice audio (#7009) 2022-09-05 15:57:16 +00:00
ericdecanini
896895b43e Fixes sync state not visible in new layout 2022-09-05 17:46:17 +02:00
Benoit Marty
7879289877 Remove useless field. They are defined in vector-app now. 2022-09-05 17:35:03 +02:00
NIkita Fedrunov
ecd1776085 removed obsolete cast 2022-09-05 16:51:38 +02:00
Nikita Fedrunov
b37996e4c3
space switcher empty spaces (#6988) 2022-09-05 16:11:50 +02:00
NIkita Fedrunov
8314eb71c0 Merge branch 'develop' into feature/nfe/invites_empty_state 2022-09-05 12:32:01 +02:00
bmarty
0f4deb7067 Sync analytics plan 2022-09-05 00:03:36 +00:00
Prat T
6917e97f49
Suggest @room when @channel, @everyone, or @here is typed in composer (#6529)
Signed-off-by: Prat T <pt2121@users.noreply.github.com>
2022-09-03 17:26:45 -07:00
Maxime NATUREL
9dc0a36ca0 Apply correct tint to inactive status drawable 2022-09-02 16:15:42 +02:00
Maxime NATUREL
c53a8f3288 Creation of a viewState for the SecurityRecommendationView 2022-09-02 16:15:42 +02:00
Maxime NATUREL
fbff8d6408 Use a different date format when device is inactive 2022-09-02 16:15:42 +02:00
Maxime NATUREL
5791a4d3cd Using plurals when needed 2022-09-02 15:00:53 +02:00
Maxime NATUREL
2b50208a23 Post rebase fix 2022-09-02 14:37:49 +02:00
Onuray Sahin
8d378408c5 Code review fixes. 2022-09-02 14:28:28 +02:00
Onuray Sahin
ed1244aa8f Fix description of inactive sessions. 2022-09-02 14:28:27 +02:00
Onuray Sahin
396da93a93 Test inactive sessions use case. 2022-09-02 14:28:27 +02:00
Onuray Sahin
aeb64892fa Move inactive session logic into use case. 2022-09-02 14:28:27 +02:00
Onuray Sahin
abd826561d Fix image background. 2022-09-02 14:28:27 +02:00
Onuray Sahin
32f1a660f5 Format layout. 2022-09-02 14:28:27 +02:00
Onuray Sahin
58846038ce Render security recommendations. 2022-09-02 14:28:25 +02:00
Onuray Sahin
c23a4e4601 Implement security recommendation view class. 2022-09-02 14:28:01 +02:00
Onuray Sahin
e6c9409156 Create generic security recommendations view. 2022-09-02 14:28:01 +02:00
Onuray Sahin
7e8bbda856 Create security recommendations view layout. 2022-09-02 14:28:01 +02:00
Onuray Sahin
55d0a06fc1 Create security recommendations section header. 2022-09-02 14:27:59 +02:00
dependabot[bot]
da73550493
Bump android-embedded_fcm_distributor from 2.1.2 to 2.1.3
Bumps android-embedded_fcm_distributor from 2.1.2 to 2.1.3.

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-embedded_fcm_distributor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 23:10:39 +00:00
Adam Brown
bddb37ef7a
Merge pull request #6981 from vector-im/feature/adm/allow-optional-emails
Allowing optional email registration
2022-09-01 16:30:20 +01:00
Adam Brown
22ce829645 moving all the strings to a dedicated libray/strings module 2022-09-01 14:58:07 +01:00
Adam Brown
b632d95086 removing extra change_space string 2022-09-01 14:56:39 +01:00
Weblate
a6f2549ad9 Merge branch 'origin/develop' into Weblate. 2022-09-01 12:51:27 +00:00
Benoit Marty
ed13177376
Merge pull request #6982 from p1gp1g/fix/autoplay-sticker
Fix autoplayed animated sticker
2022-09-01 14:43:23 +02:00
NIkita Fedrunov
5003459962 empty state for new invites screen 2022-09-01 14:39:13 +02:00
Adam Brown
81f6f768fb formatting function arguments to be on separate lines 2022-09-01 12:46:49 +01:00
phardyle
43b96b64e5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-09-01 06:32:45 +00:00
Nui Harime
2bbf28aa17 Translated using Weblate (Russian)
Currently translated at 99.0% (2321 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-09-01 06:32:45 +00:00
Johan Smits
795439a40d Translated using Weblate (Dutch)
Currently translated at 100.0% (2344 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-09-01 06:32:43 +00:00
Vri
778da5bb3a Translated using Weblate (German)
Currently translated at 99.2% (2327 of 2344 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-09-01 06:32:42 +00:00
sim
45f44bd1af Improve sticker visibility
Increase its size and set timestamp inside
2022-08-31 23:06:40 +02:00
sim
8e362f6919 Hide playContentView for autoplayed animated stickers 2022-08-31 23:06:32 +02:00
Jorge Martín
3ef3e3760d Fix crash on PIN code settings screen 2022-08-31 20:06:32 +02:00
Adam Brown
62e8beadf8 allowing optional emails
- when the email stage is non mandatory, email emails are treated as a dummy step, as per the legacy flow
2022-08-31 17:40:35 +01:00
Benoit Marty
318352f1bd
Merge pull request #6978 from vector-im/feature/bma/null_room
Fix crash when opening an unknown room
2022-08-31 17:51:13 +02:00
Onuray Sahin
6341cf92a3
Merge pull request #6946 from vector-im/feature/ons/device_manager_other_session_list
[Device Manager] Render other sessions (PSG-668)
2022-08-31 17:01:20 +03:00
Benoit Marty
fe42cdc582 Fix formatting issue. 2022-08-31 15:39:19 +02:00
Benoit Marty
0950e41526
Merge pull request #6967 from vector-im/feature/bma/fix_crashes
Fix crashes
2022-08-31 15:25:57 +02:00
Benoit Marty
1ced47fbd2 Display an error message when the room is not known. 2022-08-31 15:13:45 +02:00
Benoit Marty
f56f4e1160 Make room and timeline nullable. Sometimes use initialState.roomId instead of room.roomId. 2022-08-31 11:58:43 +02:00
Benoit Marty
388cb16481 Remove unused method 2022-08-31 11:15:58 +02:00
Benoit Marty
3ed66d636b Rework: avoid shortcut to access ViewModel state. 2022-08-31 11:15:32 +02:00
Benoit Marty
b6deff8a0b Remove useless code. Returned value is not used. observeRoomSummary() is called a few lines above. 2022-08-31 11:11:27 +02:00
Benoit Marty
36e3abece6 Handle missing external application when trying to Record a Video or on other cases.
https://github.com/matrix-org/element-android-rageshakes/issues/42362
2022-08-31 10:41:05 +02:00
Benoit Marty
98ce9899ff Fix incorrectly caught exception 2022-08-31 10:41:05 +02:00
Adam Brown
177049ba91 merging with develop 2022-08-31 09:16:01 +01:00
Adam Brown
18a9846071 moving application based tests to the vector-app module
- they require the VectorApplication to trigger
2022-08-31 09:16:01 +01:00
Adam Brown
7837252f5f applying missing nightly build type config 2022-08-31 09:16:01 +01:00
Adam Brown
713e1ef2ed merging with develop 2022-08-31 09:16:01 +01:00
Adam Brown
d2ca4edc6d lifting the application launcher colour to the application module 2022-08-31 09:16:01 +01:00
Adam Brown
c7f945c8b5 lifting the application config and icon to the application module 2022-08-31 09:16:00 +01:00
Adam Brown
cfe5a4d212 using entry point instead of manually fetching fields from application 2022-08-31 09:16:00 +01:00
Adam Brown
5c994ebfdd lifting the phonenumber dependency to the deps file and exposing as api for the app level module 2022-08-31 09:16:00 +01:00
Adam Brown
2d61e71409 using the vector-app module to handle recursively applying lint 2022-08-31 09:16:00 +01:00
Adam Brown
4d3e21d046 reusing lint file 2022-08-31 09:16:00 +01:00
Adam Brown
615ab414ff moving imports around to match application/library split 2022-08-31 09:16:00 +01:00
Adam Brown
ad398d8caa moving font certs file to the module that uses it 2022-08-31 09:16:00 +01:00
Adam Brown
1ff340b018 lifting the manifest provider references to the app module manifest 2022-08-31 09:16:00 +01:00
Adam Brown
ddaaa1aaeb avoid clashing buildconfig and moving placeholders to the modules which uses them 2022-08-31 09:16:00 +01:00
Adam Brown
2e81056b1e adding library support for the android-stem plugin 2022-08-31 09:16:00 +01:00
Adam Brown
f0bc18d5ca introducing vector-app module to act as the top level application 2022-08-31 09:16:00 +01:00
Adam Brown
fc8aa16105 using build meta for application id 2022-08-31 09:16:00 +01:00
Adam Brown
bbbea4f316 using non final id reference for stub id, ids in library modules are not final 2022-08-31 09:16:00 +01:00
Nikita Fedrunov
657796c8b5
new app layout is enabled (#6959) 2022-08-31 10:06:01 +02:00
Eric Decanini
b0fb1f908e
Space Switching: Space Invites (#6924) 2022-08-30 15:30:51 +02:00
Onuray Sahin
357a859cdc Cleanup recyclerview. 2022-08-30 16:28:02 +03:00
Onuray Sahin
ec85199250 Code review fixes. 2022-08-30 15:51:53 +03:00
Onuray Sahin
66fa5ca98e Code review fixes. 2022-08-30 15:47:00 +03:00
Adam Brown
3319ed95dd
Merge pull request #6953 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-embedded_fcm_distributor-2.1.2
Bump android-embedded_fcm_distributor from 2.1.1 to 2.1.2
2022-08-30 08:55:38 +01:00
Nikita Fedrunov
14e3753183
fabs are moved from HomeRoomListFragment to NewHomeDetailFragment (#6943) 2022-08-29 13:26:39 +02:00