Commit graph

11308 commits

Author SHA1 Message Date
ericdecanini
1bf36dce92 Merge remote-tracking branch 'origin/develop' into feature/eric/new_fab 2022-08-05 17:11:00 +02:00
ericdecanini
41d859dc5b Merge remote-tracking branch 'origin/develop' into feature/eric/space-list-modal
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-05 17:10:36 +02:00
Adam Brown
81897a179e
Merge pull request #6741 from vector-im/feature/adm/focus-errors
FTUE - Focus errors showing on wrong page
2022-08-05 15:12:47 +01:00
ericdecanini
e6508e8a5a Cleans up epoxy class for NewSpaceSummaryItem and adds ellipsize to header 2022-08-05 16:08:05 +02:00
ericdecanini
0567fa3e53 Changes header text of bottom sheet to Change Space 2022-08-05 15:45:53 +02:00
Adam Brown
2683e9209b resetting the analytics datastore via reflection 2022-08-05 14:24:53 +01:00
Nikita Fedrunov
03afd2932c
NewHomeDetailFragment now shows correct list fragment (#6740) 2022-08-05 14:51:47 +02:00
Adam Brown
5864ce4348 adding rule to force a new session to be started for instrumentation tests 2022-08-05 13:08:21 +01:00
ericdecanini
90f2b93763 Appends to comment in SpaceListFragment and refactors SpaceListBottomSheet class name 2022-08-05 12:39:52 +02:00
ericdecanini
a821f34fc0 Adds drag and drop to space list 2022-08-05 12:37:02 +02:00
Adam Brown
b375dd14f7 removing unused line 2022-08-05 11:18:53 +01:00
ericdecanini
0506c9abfd Fixes bottom sheet intermittently not having the correct height 2022-08-05 11:59:22 +02:00
ericdecanini
ff71e69b0e Makes space list work inside spaces 2022-08-05 11:48:11 +02:00
Maxime NATUREL
2dc92caa30
Merge pull request #6712 from vector-im/feature/mna/map-loading-error
[Location Share] Render fallback UI when map fails to load (PSG-607)
2022-08-05 11:17:37 +02:00
Adam Brown
f0bd5dc2dd
Merge pull request #6744 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.53
Bump libphonenumber from 8.12.52 to 8.12.53
2022-08-05 08:45:02 +01:00
dependabot[bot]
30a8f22028
Bump libphonenumber from 8.12.52 to 8.12.53
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.52 to 8.12.53.
- [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.52...v8.12.53)

---
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-08-04 23:10:43 +00:00
Maxime NATUREL
65c6e578eb Moving setup of map in onViewCreated + moving reference assignment of MapView 2022-08-04 16:58:28 +02:00
Maxime NATUREL
2b8632ebe7 Adding missing trailing comma 2022-08-04 16:58:28 +02:00
Maxime NATUREL
72377c9e7e Fixing after rebase 2022-08-04 16:58:28 +02:00
Maxime NATUREL
ec5f874a81 Fixing code formatting issues 2022-08-04 16:58:28 +02:00
Maxime NATUREL
008e07d03e Handling map loading error in live location maximized map 2022-08-04 16:58:28 +02:00
Maxime NATUREL
a30076a2ab Creating location.preview package 2022-08-04 16:58:28 +02:00
Maxime NATUREL
6972622bc6 Handling map loading error in timeline 2022-08-04 16:58:28 +02:00
Maxime NATUREL
e0e06c6ac8 Handling map loading error in sharing and preview fragment 2022-08-04 16:58:28 +02:00
Maxime NATUREL
87ca9606b3 Keep the previous loading map error string for timeline 2022-08-04 16:58:28 +02:00
Maxime NATUREL
6572a1a331 Fix missing icon in error view 2022-08-04 16:58:28 +02:00
Maxime NATUREL
b83acf373d Adding error view in preview and sharing fragments 2022-08-04 16:58:28 +02:00
Maxime NATUREL
8f91278d1a Creating custom view for map loading error 2022-08-04 16:58:28 +02:00
Maxime NATUREL
64c25f073c Calling directly the ViewModel clear method instead of using a view action 2022-08-04 16:57:14 +02:00
Maxime NATUREL
81cba3d275 Using ViewModel to handle clearing of audio controller 2022-08-04 16:57:14 +02:00
Maxime NATUREL
8b8a4f3d7b Fixing missing clear on audio tracker listeners 2022-08-04 16:57:14 +02:00
Adam Brown
f40cf13048 fixing login/account creation errors showing when navigating to another screen
- was caused by the lost focus callback being triggered by onPause, fixed by only triggering if the current view is in the resumed state
2022-08-04 14:25:05 +01:00
Adam Brown
99de618bed adding edit text ids so that the content can automatically be restored by the fragment manager 2022-08-04 14:18:03 +01:00
Maxime NATUREL
dd69b254f9
Merge pull request #6654 from vector-im/feature/mna/update-sending-period-lls
[Location share] Update minimum sending period to 5 seconds for a live
2022-08-04 14:17:00 +02:00
Adam Brown
a4ea47e740 catching username availabilty exceptions and handling as user facing error 2022-08-04 11:58:31 +01:00
ericdecanini
79e6dd074a Makes bottom sheet dismiss on space change 2022-08-04 11:41:00 +02:00
ericdecanini
b4ed380caf Finalises home and add bottom sheet buttons 2022-08-03 22:49:21 +02:00
ericdecanini
5d183654b1 Fixes bug where bottom sheet sometimes renders with the wrong height 2022-08-03 21:54:05 +02:00
Maxime NATUREL
bfd9dcbca2
Merge pull request #6681 from vector-im/fix/mna/leak-tab-layout-mediator
[FTUE] Memory leak on FtueAuthSplashCarouselFragment
2022-08-03 14:18:41 +02:00
Adam Brown
4bff816056 fixing auto merge compile error 2022-08-03 08:30:10 +01:00
ericdecanini
aa24debd87 Adds new space list controller 2022-08-02 22:49:58 +02:00
Adam Brown
8aaf185a8e
Merge pull request #6517 from vector-im/feature/adm/build-config
Avoiding direct `BuildConfig` usage
2022-08-02 18:07:17 +01:00
ericdecanini
55d8b6a819 Merge remote-tracking branch 'origin/develop' into feature/eric/space-list-modal 2022-08-02 18:07:34 +02:00
Maxime NATUREL
ac8597e745
Merge pull request #6676 from vector-im/fix/mna/fix-memory-leaks-lls
[Location sharing] - Fix the memory leaks (PSG-656)
2022-08-02 18:01:48 +02:00
Eric Decanini
e2ed4b4ae1
Merge pull request #6655 from vector-im/feature/eric/app-layout-toolbar
New App Layout Toolbar
2022-08-02 17:44:53 +02:00
ericdecanini
ab4eda18bf Adds SpacesBottomSheet 2022-08-02 17:44:27 +02:00
Maxime NATUREL
a53de92b10
Merge pull request #6688 from vector-im/fix/mna/missing-text-on-map-symbol
[Location sharing] Invisible text on map symbol
2022-08-02 16:38:11 +02:00
Adam Brown
2ee52f2062 fixing import ordering 2022-08-02 15:31:13 +01:00
Adam Brown
d1a63ccd2d removing unused import 2022-08-02 14:32:12 +01:00
Adam Brown
3c1e183ed6 using low privacy log from the vector module for code within vector, instead of the sdk flag 2022-08-02 14:32:12 +01:00
Adam Brown
9b1def3c1d updating variable casing as they're no longer const val or file level 2022-08-02 14:32:12 +01:00
Adam Brown
8b9d1bb0d8 making use of the existing sdk int provider instead of supplying it via the BuildMeta 2022-08-02 14:32:12 +01:00
Adam Brown
cb59d82846 extracting the notification action ids to their own file 2022-08-02 14:31:46 +01:00
Adam Brown
fe1019f29f using Config strict mode flag directly within the Application as the build meta can't be injected before super application.onCreate 2022-08-02 14:31:46 +01:00
Adam Brown
3d207f93f1 removing unused imports and fixing missing full stop on docs 2022-08-02 14:31:46 +01:00
Adam Brown
cceac66504 moving build flavor information to the build meta 2022-08-02 14:31:46 +01:00
Adam Brown
18943e3453 removing unused buildconfig option 2022-08-02 14:31:46 +01:00
Adam Brown
df02f505ad moving git versioning to the buildMeta abstraction 2022-08-02 14:31:46 +01:00
Adam Brown
d42c27bfe0 lifting the low privacy build config to the config 2022-08-02 14:31:46 +01:00
Adam Brown
811b2e8c75 accessing the notification action ids via a dedicated class which builds upon the application id 2022-08-02 14:31:46 +01:00
Adam Brown
9fe3fc69dd extracting the config models to their own files 2022-08-02 14:31:46 +01:00
Adam Brown
cc4aae0f4a replacing DEBUG build config flag with injectable property 2022-08-02 14:31:46 +01:00
Adam Brown
b6d052e58d lifting voip setting to a voip config 2022-08-02 14:31:46 +01:00
Adam Brown
56afac26ad creating a location sharing config for holding the map tiler key 2022-08-02 14:31:46 +01:00
Adam Brown
012485b8e3 lifting the live location sharing build flag to the config along with debug toggle 2022-08-02 14:31:46 +01:00
Adam Brown
f14aabcd22 ports the key sharing strategy to the config 2022-08-02 14:31:46 +01:00
Adam Brown
e795e9da52 porting the onboarding variant selection to the config 2022-08-02 14:31:45 +01:00
Adam Brown
87a8c786f7 moving the voice message limit to the config module 2022-08-02 14:31:24 +01:00
Adam Brown
274b1a149c moving analytics config to the config module, it's now up to forks to opt out rather than relying on the package name to not be vector 2022-08-02 14:31:23 +01:00
Jorge Martin Espinosa
c848615636
Disable 'Enable biometrics' option if there are not biometric authenticators enrolled. (#6714)
* Disable 'Enable biometrics' option if there are not biometric authenticators enrolled.

* Improve biometric pref enabled check

* Fix changelog issue

* Address review comments. Add extra catch clauses to key migrations.

* Add tests for key migrators
2022-08-02 15:31:08 +02:00
ericdecanini
b0a9b482e7 Adds issue numbers to unimplemented FAB clicks 2022-08-02 15:18:45 +02:00
Adam Brown
3fe7a9d8d5
Merge pull request #6588 from vector-im/dependabot/gradle/io.gitlab.arturbosch.detekt-1.21.0
Bump io.gitlab.arturbosch.detekt from 1.20.0 to 1.21.0
2022-08-02 12:56:45 +01:00
Maxime NATUREL
c926b4cc69 Fix moving some components to dedicated package 2022-08-02 10:47:38 +02:00
Maxime NATUREL
e311d0e469 Fixing missing cleanUp of the LocationSharingAndroidService 2022-08-02 10:36:32 +02:00
Maxime NATUREL
2c10d9dcaa Fixing missing call to timer.cancel() when view is detached 2022-08-02 10:35:42 +02:00
Maxime NATUREL
f44d8b0b20 Fixing missing call to SymbolManager.onDestroy() 2022-08-02 10:35:42 +02:00
Maxime NATUREL
72e2951c3e Fixing missing cleanUp on RecyclerView 2022-08-02 10:35:42 +02:00
Maxime NATUREL
9781656c1d Fixing leak on bottomSheetController callback 2022-08-02 10:35:42 +02:00
Maxime NATUREL
4f71741107 Fixing leak on OnSymbolClickListener 2022-08-02 10:35:42 +02:00
Maxime NATUREL
49ad37a7f6 Using Duration to have clearer syntax 2022-08-02 09:27:27 +02:00
Maxime NATUREL
004f40bff5 Setting 5 seconds for min period of update for location tracking 2022-08-02 09:13:16 +02:00
Maxime NATUREL
8571fd0ba9 Fix after rebase 2022-08-02 09:09:19 +02:00
Maxime NATUREL
be696f5a5c Align naming of components for the live location feature 2022-08-02 09:09:19 +02:00
Adam Brown
1411fdd99f Merge branch 'hotfix/v1.4.31' into develop 2022-08-01 18:29:55 +01:00
Adam Brown
fde2aee69a Merge branch 'hotfix/v1.4.31' of github.com:vector-im/element-android into hotfix/v1.4.31 2022-08-01 17:50:22 +01:00
Adam Brown
0c4c695b9c adding missing fullstops in to docs 2022-08-01 17:15:50 +01:00
Adam Brown
e0349b27ed updating version for hotfix release 2022-08-01 16:51:19 +01:00
Adam Brown
9114630bba replacing single context thread with semaphore
- avoids the need for a dedicated long living thread instance
2022-08-01 16:23:41 +01:00
Adam Brown
3725921400 using injectable dispatchers instead of direct usage 2022-08-01 16:14:49 +01:00
Adam Brown
6b754f3e03 avoiding unneeded main context switch 2022-08-01 15:12:39 +01:00
Adam Brown
410a7b525f reusing the suspend scope 2022-08-01 13:13:00 +01:00
Adam Brown
fedbe048ba creating a dedicated threadsafe Session instance initializer in order to attempt to restore session when they're not yet created in memory 2022-08-01 13:11:19 +01:00
phardyle
6671a100ad Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-01 03:50:35 +00:00
Fork Liang
91b0465caa Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-08-01 03:50:33 +00:00
Eric Decanini
ddaf1128ac
Merge pull request #6598 from vector-im/task/eric/space-switching-unit-tests
Space Switching Refactoring and Unit Tests
2022-07-29 16:21:33 +02:00
ericdecanini
406a67827c Adds scroll behaviour to FABs 2022-07-29 15:48:21 +02:00
ericdecanini
8e7e320e40 Finalises new layout FABs 2022-07-29 15:28:55 +02:00
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