Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
d7119793
Commit
d7119793
authored
Apr 19, 2019
by
Govind Dixit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: typo in infreastructure
parent
57a8e1c8
Changes
59
Show whitespace changes
Inline
Side-by-side
Showing
59 changed files
with
82 additions
and
82 deletions
+82
-82
AppLifecycleObserver.kt
...main/java/chat/rocket/android/app/AppLifecycleObserver.kt
+1
-1
RocketChatApplication.kt
...ain/java/chat/rocket/android/app/RocketChatApplication.kt
+1
-1
SharedPreferencesMultiServerTokenRepository.kt
...astructure/SharedPreferencesMultiServerTokenRepository.kt
+1
-1
SharedPreferencesTokenRepository.kt
...cation/infrastructure/SharedPreferencesTokenRepository.kt
+1
-1
LoginPresenter.kt
...droid/authentication/login/presentation/LoginPresenter.kt
+1
-1
LoginOptionsPresenter.kt
...cation/loginoptions/presentation/LoginOptionsPresenter.kt
+1
-1
OnBoardingPresenter.kt
...entication/onboarding/presentation/OnBoardingPresenter.kt
+1
-1
RegisterUsernamePresenter.kt
...egisterusername/presentation/RegisterUsernamePresenter.kt
+1
-1
ResetPasswordPresenter.kt
...tion/resetpassword/presentation/ResetPasswordPresenter.kt
+1
-1
ServerPresenter.kt
...oid/authentication/server/presentation/ServerPresenter.kt
+1
-1
SignupPresenter.kt
...oid/authentication/signup/presentation/SignupPresenter.kt
+1
-1
TwoFAPresenter.kt
...d/authentication/twofactor/presentation/TwoFAPresenter.kt
+1
-1
ChatDetailsPresenter.kt
.../android/chatdetails/presentation/ChatDetailsPresenter.kt
+1
-1
MessageInfoPresenter.kt
...roid/chatinformation/presentation/MessageInfoPresenter.kt
+1
-1
ChatRoomPresenter.kt
...rocket/android/chatroom/presentation/ChatRoomPresenter.kt
+2
-2
MessageService.kt
...va/chat/rocket/android/chatroom/service/MessageService.kt
+3
-3
ChatRoomActivity.kt
.../java/chat/rocket/android/chatroom/ui/ChatRoomActivity.kt
+1
-1
UiModelMapper.kt
...ava/chat/rocket/android/chatroom/uimodel/UiModelMapper.kt
+1
-1
ChatRoomsFragmentModule.kt
...at/rocket/android/chatrooms/di/ChatRoomsFragmentModule.kt
+3
-3
ChatRoomsPresenter.kt
...cket/android/chatrooms/presentation/ChatRoomsPresenter.kt
+1
-1
ChatRoomsViewModel.kt
.../rocket/android/chatrooms/viewmodel/ChatRoomsViewModel.kt
+1
-1
ChatRoomsViewModelFactory.kt
.../android/chatrooms/viewmodel/ChatRoomsViewModelFactory.kt
+1
-1
CreateChannelPresenter.kt
...roid/createchannel/presentation/CreateChannelPresenter.kt
+1
-1
AppModule.kt
.../main/java/chat/rocket/android/dagger/module/AppModule.kt
+15
-15
LocalModule.kt
...ain/java/chat/rocket/android/dagger/module/LocalModule.kt
+1
-1
FavoriteMessagesPresenter.kt
...avoritemessages/presentation/FavoriteMessagesPresenter.kt
+1
-1
FilesPresenter.kt
.../chat/rocket/android/files/presentation/FilesPresenter.kt
+1
-1
MainPresenter.kt
...va/chat/rocket/android/main/presentation/MainPresenter.kt
+1
-1
MembersPresenter.kt
...t/rocket/android/members/presentation/MembersPresenter.kt
+1
-1
MentionsPresenter.kt
...ocket/android/mentions/presentention/MentionsPresenter.kt
+1
-1
PinnedMessagesPresenter.kt
...id/pinnedmessages/presentation/PinnedMessagesPresenter.kt
+1
-1
ProfilePresenter.kt
...t/rocket/android/profile/presentation/ProfilePresenter.kt
+2
-2
DirectReplyReceiver.kt
...main/java/chat/rocket/android/push/DirectReplyReceiver.kt
+1
-1
RefreshPermissionsInteractor.kt
...ket/android/server/domain/RefreshPermissionsInteractor.kt
+1
-1
RefreshSettingsInteractor.kt
...rocket/android/server/domain/RefreshSettingsInteractor.kt
+1
-1
ConnectionManager.kt
...rocket/android/server/infrastructure/ConnectionManager.kt
+1
-1
ConnectionManagerFactory.kt
...android/server/infrastructure/ConnectionManagerFactory.kt
+1
-1
DatabaseMessageMapper.kt
...et/android/server/infrastructure/DatabaseMessageMapper.kt
+1
-1
DatabaseMessagesRepository.kt
...droid/server/infrastructure/DatabaseMessagesRepository.kt
+1
-1
JobSchedulerInteractorImpl.kt
...droid/server/infrastructure/JobSchedulerInteractorImpl.kt
+1
-1
MemoryChatRoomsRepository.kt
...ndroid/server/infrastructure/MemoryChatRoomsRepository.kt
+1
-1
MemoryUsersRepository.kt
...et/android/server/infrastructure/MemoryUsersRepository.kt
+1
-1
RocketChatClientFactory.kt
.../android/server/infrastructure/RocketChatClientFactory.kt
+1
-1
SharedPreferencesAccountsRepository.kt
...ver/infrastructure/SharedPreferencesAccountsRepository.kt
+1
-1
SharedPreferencesPermissionsRepository.kt
.../infrastructure/SharedPreferencesPermissionsRepository.kt
+1
-1
SharedPreferencesSettingsRepository.kt
...ver/infrastructure/SharedPreferencesSettingsRepository.kt
+1
-1
SharedPrefsAnalyticsTrackingRepository.kt
.../infrastructure/SharedPrefsAnalyticsTrackingRepository.kt
+1
-1
SharedPrefsBasicAuthRepository.kt
...d/server/infrastructure/SharedPrefsBasicAuthRepository.kt
+1
-1
SharedPrefsConnectingServerRepository.kt
...r/infrastructure/SharedPrefsConnectingServerRepository.kt
+1
-1
SharedPrefsCurrentServerRepository.kt
...rver/infrastructure/SharedPrefsCurrentServerRepository.kt
+1
-1
SharedPrefsSortingAndGroupingRepository.kt
...infrastructure/SharedPrefsSortingAndGroupingRepository.kt
+1
-1
ChangeServerPresenter.kt
...cket/android/server/presentation/ChangeServerPresenter.kt
+1
-1
CheckServerPresenter.kt
...ocket/android/server/presentation/CheckServerPresenter.kt
+3
-3
PasswordPresenter.kt
...droid/settings/password/presentation/PasswordPresenter.kt
+1
-1
SettingsPresenter.kt
...rocket/android/settings/presentation/SettingsPresenter.kt
+2
-2
UserDetailsPresenter.kt
.../android/userdetails/presentation/UserDetailsPresenter.kt
+1
-1
RocketChatClient.kt
...a/chat/rocket/android/util/extensions/RocketChatClient.kt
+1
-1
VideoConferencePresenter.kt
...oid/videoconference/presenter/VideoConferencePresenter.kt
+1
-1
TokenRegistrationWorker.kt
...hat/rocket/android/push/worker/TokenRegistrationWorker.kt
+1
-1
No files found.
app/src/main/java/chat/rocket/android/app/AppLifecycleObserver.kt
View file @
d7119793
...
@@ -4,7 +4,7 @@ import androidx.lifecycle.Lifecycle
...
@@ -4,7 +4,7 @@ import androidx.lifecycle.Lifecycle
import
androidx.lifecycle.LifecycleObserver
import
androidx.lifecycle.LifecycleObserver
import
androidx.lifecycle.OnLifecycleEvent
import
androidx.lifecycle.OnLifecycleEvent
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.common.model.UserStatus
import
chat.rocket.common.model.UserStatus
import
kotlinx.coroutines.GlobalScope
import
kotlinx.coroutines.GlobalScope
import
kotlinx.coroutines.launch
import
kotlinx.coroutines.launch
...
...
app/src/main/java/chat/rocket/android/app/RocketChatApplication.kt
View file @
d7119793
...
@@ -24,7 +24,7 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
...
@@ -24,7 +24,7 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetSettingsInteractor
import
chat.rocket.android.server.domain.GetSettingsInteractor
import
chat.rocket.android.server.domain.SITE_URL
import
chat.rocket.android.server.domain.SITE_URL
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.setupFabric
import
chat.rocket.android.util.setupFabric
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
...
...
app/src/main/java/chat/rocket/android/authentication/infra
e
structure/SharedPreferencesMultiServerTokenRepository.kt
→
app/src/main/java/chat/rocket/android/authentication/infrastructure/SharedPreferencesMultiServerTokenRepository.kt
View file @
d7119793
package
chat.rocket.android.authentication.infra
e
structure
package
chat.rocket.android.authentication.infrastructure
import
chat.rocket.android.authentication.domain.model.TokenModel
import
chat.rocket.android.authentication.domain.model.TokenModel
import
chat.rocket.android.dagger.scope.PerActivity
import
chat.rocket.android.dagger.scope.PerActivity
...
...
app/src/main/java/chat/rocket/android/authentication/infra
e
structure/SharedPreferencesTokenRepository.kt
→
app/src/main/java/chat/rocket/android/authentication/infrastructure/SharedPreferencesTokenRepository.kt
View file @
d7119793
package
chat.rocket.android.authentication.infra
e
structure
package
chat.rocket.android.authentication.infrastructure
import
android.content.SharedPreferences
import
android.content.SharedPreferences
import
androidx.core.content.edit
import
androidx.core.content.edit
...
...
app/src/main/java/chat/rocket/android/authentication/login/presentation/LoginPresenter.kt
View file @
d7119793
...
@@ -16,7 +16,7 @@ import chat.rocket.android.server.domain.isLdapAuthenticationEnabled
...
@@ -16,7 +16,7 @@ import chat.rocket.android.server.domain.isLdapAuthenticationEnabled
import
chat.rocket.android.server.domain.isPasswordResetEnabled
import
chat.rocket.android.server.domain.isPasswordResetEnabled
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.isEmail
import
chat.rocket.android.util.extensions.isEmail
...
...
app/src/main/java/chat/rocket/android/authentication/loginoptions/presentation/LoginOptionsPresenter.kt
View file @
d7119793
...
@@ -15,7 +15,7 @@ import chat.rocket.android.server.domain.TokenRepository
...
@@ -15,7 +15,7 @@ import chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.favicon
import
chat.rocket.android.server.domain.favicon
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.serverLogoUrl
import
chat.rocket.android.util.extensions.serverLogoUrl
...
...
app/src/main/java/chat/rocket/android/authentication/onboarding/presentation/OnBoardingPresenter.kt
View file @
d7119793
...
@@ -7,7 +7,7 @@ import chat.rocket.android.server.domain.GetAccountsInteractor
...
@@ -7,7 +7,7 @@ import chat.rocket.android.server.domain.GetAccountsInteractor
import
chat.rocket.android.server.domain.GetSettingsInteractor
import
chat.rocket.android.server.domain.GetSettingsInteractor
import
chat.rocket.android.server.domain.RefreshSettingsInteractor
import
chat.rocket.android.server.domain.RefreshSettingsInteractor
import
chat.rocket.android.server.domain.SaveConnectingServerInteractor
import
chat.rocket.android.server.domain.SaveConnectingServerInteractor
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
kotlinx.coroutines.Dispatchers
import
kotlinx.coroutines.Dispatchers
...
...
app/src/main/java/chat/rocket/android/authentication/registerusername/presentation/RegisterUsernamePresenter.kt
View file @
d7119793
...
@@ -13,7 +13,7 @@ import chat.rocket.android.server.domain.TokenRepository
...
@@ -13,7 +13,7 @@ import chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.favicon
import
chat.rocket.android.server.domain.favicon
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.serverLogoUrl
import
chat.rocket.android.util.extensions.serverLogoUrl
...
...
app/src/main/java/chat/rocket/android/authentication/resetpassword/presentation/ResetPasswordPresenter.kt
View file @
d7119793
...
@@ -3,7 +3,7 @@ package chat.rocket.android.authentication.resetpassword.presentation
...
@@ -3,7 +3,7 @@ package chat.rocket.android.authentication.resetpassword.presentation
import
chat.rocket.android.authentication.presentation.AuthenticationNavigator
import
chat.rocket.android.authentication.presentation.AuthenticationNavigator
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.server.domain.GetConnectingServerInteractor
import
chat.rocket.android.server.domain.GetConnectingServerInteractor
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
...
...
app/src/main/java/chat/rocket/android/authentication/server/presentation/ServerPresenter.kt
View file @
d7119793
...
@@ -8,7 +8,7 @@ import chat.rocket.android.server.domain.GetAccountsInteractor
...
@@ -8,7 +8,7 @@ import chat.rocket.android.server.domain.GetAccountsInteractor
import
chat.rocket.android.server.domain.GetSettingsInteractor
import
chat.rocket.android.server.domain.GetSettingsInteractor
import
chat.rocket.android.server.domain.RefreshSettingsInteractor
import
chat.rocket.android.server.domain.RefreshSettingsInteractor
import
chat.rocket.android.server.domain.SaveConnectingServerInteractor
import
chat.rocket.android.server.domain.SaveConnectingServerInteractor
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.isValidUrl
import
chat.rocket.android.util.extensions.isValidUrl
...
...
app/src/main/java/chat/rocket/android/authentication/signup/presentation/SignupPresenter.kt
View file @
d7119793
...
@@ -13,7 +13,7 @@ import chat.rocket.android.server.domain.SaveCurrentServerInteractor
...
@@ -13,7 +13,7 @@ import chat.rocket.android.server.domain.SaveCurrentServerInteractor
import
chat.rocket.android.server.domain.favicon
import
chat.rocket.android.server.domain.favicon
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.privacyPolicyUrl
import
chat.rocket.android.util.extensions.privacyPolicyUrl
...
...
app/src/main/java/chat/rocket/android/authentication/twofactor/presentation/TwoFAPresenter.kt
View file @
d7119793
...
@@ -14,7 +14,7 @@ import chat.rocket.android.server.domain.TokenRepository
...
@@ -14,7 +14,7 @@ import chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.favicon
import
chat.rocket.android.server.domain.favicon
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.domain.wideTile
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.isEmail
import
chat.rocket.android.util.extensions.isEmail
...
...
app/src/main/java/chat/rocket/android/chatdetails/presentation/ChatDetailsPresenter.kt
View file @
d7119793
...
@@ -4,7 +4,7 @@ import chat.rocket.android.chatdetails.domain.ChatDetails
...
@@ -4,7 +4,7 @@ import chat.rocket.android.chatdetails.domain.ChatDetails
import
chat.rocket.android.chatroom.presentation.ChatRoomNavigator
import
chat.rocket.android.chatroom.presentation.ChatRoomNavigator
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
...
...
app/src/main/java/chat/rocket/android/chatinformation/presentation/MessageInfoPresenter.kt
View file @
d7119793
...
@@ -3,7 +3,7 @@ package chat.rocket.android.chatinformation.presentation
...
@@ -3,7 +3,7 @@ package chat.rocket.android.chatinformation.presentation
import
chat.rocket.android.chatroom.uimodel.UiModelMapper
import
chat.rocket.android.chatroom.uimodel.UiModelMapper
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
...
...
app/src/main/java/chat/rocket/android/chatroom/presentation/ChatRoomPresenter.kt
View file @
d7119793
...
@@ -33,8 +33,8 @@ import chat.rocket.android.server.domain.UsersRepository
...
@@ -33,8 +33,8 @@ import chat.rocket.android.server.domain.UsersRepository
import
chat.rocket.android.server.domain.uploadMaxFileSize
import
chat.rocket.android.server.domain.uploadMaxFileSize
import
chat.rocket.android.server.domain.uploadMimeTypeFilter
import
chat.rocket.android.server.domain.uploadMimeTypeFilter
import
chat.rocket.android.server.domain.useRealName
import
chat.rocket.android.server.domain.useRealName
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.server.infra
e
structure.state
import
chat.rocket.android.server.infrastructure.state
import
chat.rocket.android.util.extension.getByteArray
import
chat.rocket.android.util.extension.getByteArray
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.avatarUrl
...
...
app/src/main/java/chat/rocket/android/chatroom/service/MessageService.kt
View file @
d7119793
...
@@ -4,9 +4,9 @@ import android.app.job.JobParameters
...
@@ -4,9 +4,9 @@ import android.app.job.JobParameters
import
android.app.job.JobService
import
android.app.job.JobService
import
chat.rocket.android.db.DatabaseManagerFactory
import
chat.rocket.android.db.DatabaseManagerFactory
import
chat.rocket.android.server.domain.GetAccountsInteractor
import
chat.rocket.android.server.domain.GetAccountsInteractor
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.server.infra
e
structure.DatabaseMessageMapper
import
chat.rocket.android.server.infrastructure.DatabaseMessageMapper
import
chat.rocket.android.server.infra
e
structure.DatabaseMessagesRepository
import
chat.rocket.android.server.infrastructure.DatabaseMessagesRepository
import
chat.rocket.core.internal.rest.sendMessage
import
chat.rocket.core.internal.rest.sendMessage
import
chat.rocket.core.model.Message
import
chat.rocket.core.model.Message
import
dagger.android.AndroidInjection
import
dagger.android.AndroidInjection
...
...
app/src/main/java/chat/rocket/android/chatroom/ui/ChatRoomActivity.kt
View file @
d7119793
...
@@ -10,7 +10,7 @@ import androidx.fragment.app.Fragment
...
@@ -10,7 +10,7 @@ import androidx.fragment.app.Fragment
import
chat.rocket.android.R
import
chat.rocket.android.R
import
chat.rocket.android.chatroom.presentation.ChatRoomNavigator
import
chat.rocket.android.chatroom.presentation.ChatRoomNavigator
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.util.extensions.addFragment
import
chat.rocket.android.util.extensions.addFragment
import
chat.rocket.android.util.extensions.textContent
import
chat.rocket.android.util.extensions.textContent
import
dagger.android.AndroidInjection
import
dagger.android.AndroidInjection
...
...
app/src/main/java/chat/rocket/android/chatroom/uimodel/UiModelMapper.kt
View file @
d7119793
...
@@ -30,7 +30,7 @@ import chat.rocket.android.server.domain.baseUrl
...
@@ -30,7 +30,7 @@ import chat.rocket.android.server.domain.baseUrl
import
chat.rocket.android.server.domain.messageReadReceiptEnabled
import
chat.rocket.android.server.domain.messageReadReceiptEnabled
import
chat.rocket.android.server.domain.messageReadReceiptStoreUsers
import
chat.rocket.android.server.domain.messageReadReceiptStoreUsers
import
chat.rocket.android.server.domain.useRealName
import
chat.rocket.android.server.domain.useRealName
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.util.extension.isImage
import
chat.rocket.android.util.extension.isImage
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.ifNotNullNorEmpty
import
chat.rocket.android.util.extensions.ifNotNullNorEmpty
...
...
app/src/main/java/chat/rocket/android/chatrooms/di/ChatRoomsFragmentModule.kt
View file @
d7119793
...
@@ -15,9 +15,9 @@ import chat.rocket.android.server.domain.PermissionsInteractor
...
@@ -15,9 +15,9 @@ import chat.rocket.android.server.domain.PermissionsInteractor
import
chat.rocket.android.server.domain.PublicSettings
import
chat.rocket.android.server.domain.PublicSettings
import
chat.rocket.android.server.domain.SettingsRepository
import
chat.rocket.android.server.domain.SettingsRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.infra
e
structure.ConnectionManager
import
chat.rocket.android.server.infrastructure.ConnectionManager
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.core.RocketChatClient
import
chat.rocket.core.RocketChatClient
import
dagger.Module
import
dagger.Module
import
dagger.Provides
import
dagger.Provides
...
...
app/src/main/java/chat/rocket/android/chatrooms/presentation/ChatRoomsPresenter.kt
View file @
d7119793
...
@@ -13,7 +13,7 @@ import chat.rocket.android.server.domain.SettingsRepository
...
@@ -13,7 +13,7 @@ import chat.rocket.android.server.domain.SettingsRepository
import
chat.rocket.android.server.domain.SortingAndGroupingInteractor
import
chat.rocket.android.server.domain.SortingAndGroupingInteractor
import
chat.rocket.android.server.domain.useRealName
import
chat.rocket.android.server.domain.useRealName
import
chat.rocket.android.server.domain.useSpecialCharsOnRoom
import
chat.rocket.android.server.domain.useSpecialCharsOnRoom
import
chat.rocket.android.server.infra
e
structure.ConnectionManager
import
chat.rocket.android.server.infrastructure.ConnectionManager
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.retryDB
import
chat.rocket.android.util.retryDB
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
...
...
app/src/main/java/chat/rocket/android/chatrooms/viewmodel/ChatRoomsViewModel.kt
View file @
d7119793
...
@@ -9,7 +9,7 @@ import chat.rocket.android.chatrooms.adapter.LoadingItemHolder
...
@@ -9,7 +9,7 @@ import chat.rocket.android.chatrooms.adapter.LoadingItemHolder
import
chat.rocket.android.chatrooms.adapter.RoomUiModelMapper
import
chat.rocket.android.chatrooms.adapter.RoomUiModelMapper
import
chat.rocket.android.chatrooms.domain.FetchChatRoomsInteractor
import
chat.rocket.android.chatrooms.domain.FetchChatRoomsInteractor
import
chat.rocket.android.chatrooms.infrastructure.ChatRoomsRepository
import
chat.rocket.android.chatrooms.infrastructure.ChatRoomsRepository
import
chat.rocket.android.server.infra
e
structure.ConnectionManager
import
chat.rocket.android.server.infrastructure.ConnectionManager
import
chat.rocket.android.util.livedata.transform
import
chat.rocket.android.util.livedata.transform
import
chat.rocket.android.util.livedata.wrap
import
chat.rocket.android.util.livedata.wrap
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
...
...
app/src/main/java/chat/rocket/android/chatrooms/viewmodel/ChatRoomsViewModelFactory.kt
View file @
d7119793
...
@@ -5,7 +5,7 @@ import androidx.lifecycle.ViewModelProvider
...
@@ -5,7 +5,7 @@ import androidx.lifecycle.ViewModelProvider
import
chat.rocket.android.chatrooms.adapter.RoomUiModelMapper
import
chat.rocket.android.chatrooms.adapter.RoomUiModelMapper
import
chat.rocket.android.chatrooms.domain.FetchChatRoomsInteractor
import
chat.rocket.android.chatrooms.domain.FetchChatRoomsInteractor
import
chat.rocket.android.chatrooms.infrastructure.ChatRoomsRepository
import
chat.rocket.android.chatrooms.infrastructure.ChatRoomsRepository
import
chat.rocket.android.server.infra
e
structure.ConnectionManager
import
chat.rocket.android.server.infrastructure.ConnectionManager
import
javax.inject.Inject
import
javax.inject.Inject
class
ChatRoomsViewModelFactory
@Inject
constructor
(
class
ChatRoomsViewModelFactory
@Inject
constructor
(
...
...
app/src/main/java/chat/rocket/android/createchannel/presentation/CreateChannelPresenter.kt
View file @
d7119793
...
@@ -4,7 +4,7 @@ import chat.rocket.android.core.lifecycle.CancelStrategy
...
@@ -4,7 +4,7 @@ import chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.main.presentation.MainNavigator
import
chat.rocket.android.main.presentation.MainNavigator
import
chat.rocket.android.members.uimodel.MemberUiModelMapper
import
chat.rocket.android.members.uimodel.MemberUiModelMapper
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.model.RoomType
import
chat.rocket.common.model.RoomType
...
...
app/src/main/java/chat/rocket/android/dagger/module/AppModule.kt
View file @
d7119793
...
@@ -12,8 +12,8 @@ import chat.rocket.android.R
...
@@ -12,8 +12,8 @@ import chat.rocket.android.R
import
chat.rocket.android.analytics.AnalyticsManager
import
chat.rocket.android.analytics.AnalyticsManager
import
chat.rocket.android.analytics.AnswersAnalytics
import
chat.rocket.android.analytics.AnswersAnalytics
import
chat.rocket.android.analytics.GoogleAnalyticsForFirebase
import
chat.rocket.android.analytics.GoogleAnalyticsForFirebase
import
chat.rocket.android.authentication.infra
e
structure.SharedPreferencesMultiServerTokenRepository
import
chat.rocket.android.authentication.infrastructure.SharedPreferencesMultiServerTokenRepository
import
chat.rocket.android.authentication.infra
e
structure.SharedPreferencesTokenRepository
import
chat.rocket.android.authentication.infrastructure.SharedPreferencesTokenRepository
import
chat.rocket.android.chatroom.service.MessageService
import
chat.rocket.android.chatroom.service.MessageService
import
chat.rocket.android.dagger.qualifier.ForAuthentication
import
chat.rocket.android.dagger.qualifier.ForAuthentication
import
chat.rocket.android.dagger.qualifier.ForMessages
import
chat.rocket.android.dagger.qualifier.ForMessages
...
@@ -44,19 +44,19 @@ import chat.rocket.android.server.domain.SettingsRepository
...
@@ -44,19 +44,19 @@ import chat.rocket.android.server.domain.SettingsRepository
import
chat.rocket.android.server.domain.SortingAndGroupingRepository
import
chat.rocket.android.server.domain.SortingAndGroupingRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.UsersRepository
import
chat.rocket.android.server.domain.UsersRepository
import
chat.rocket.android.server.infra
e
structure.DatabaseMessageMapper
import
chat.rocket.android.server.infrastructure.DatabaseMessageMapper
import
chat.rocket.android.server.infra
e
structure.DatabaseMessagesRepository
import
chat.rocket.android.server.infrastructure.DatabaseMessagesRepository
import
chat.rocket.android.server.infra
e
structure.JobSchedulerInteractorImpl
import
chat.rocket.android.server.infrastructure.JobSchedulerInteractorImpl
import
chat.rocket.android.server.infra
e
structure.MemoryChatRoomsRepository
import
chat.rocket.android.server.infrastructure.MemoryChatRoomsRepository
import
chat.rocket.android.server.infra
e
structure.MemoryUsersRepository
import
chat.rocket.android.server.infrastructure.MemoryUsersRepository
import
chat.rocket.android.server.infra
e
structure.SharedPreferencesAccountsRepository
import
chat.rocket.android.server.infrastructure.SharedPreferencesAccountsRepository
import
chat.rocket.android.server.infra
e
structure.SharedPreferencesPermissionsRepository
import
chat.rocket.android.server.infrastructure.SharedPreferencesPermissionsRepository
import
chat.rocket.android.server.infra
e
structure.SharedPreferencesSettingsRepository
import
chat.rocket.android.server.infrastructure.SharedPreferencesSettingsRepository
import
chat.rocket.android.server.infra
e
structure.SharedPrefsAnalyticsTrackingRepository
import
chat.rocket.android.server.infrastructure.SharedPrefsAnalyticsTrackingRepository
import
chat.rocket.android.server.infra
e
structure.SharedPrefsBasicAuthRepository
import
chat.rocket.android.server.infrastructure.SharedPrefsBasicAuthRepository
import
chat.rocket.android.server.infra
e
structure.SharedPrefsConnectingServerRepository
import
chat.rocket.android.server.infrastructure.SharedPrefsConnectingServerRepository
import
chat.rocket.android.server.infra
e
structure.SharedPrefsCurrentServerRepository
import
chat.rocket.android.server.infrastructure.SharedPrefsCurrentServerRepository
import
chat.rocket.android.server.infra
e
structure.SharedPrefsSortingAndGroupingRepository
import
chat.rocket.android.server.infrastructure.SharedPrefsSortingAndGroupingRepository
import
chat.rocket.android.util.AppJsonAdapterFactory
import
chat.rocket.android.util.AppJsonAdapterFactory
import
chat.rocket.android.util.BasicAuthenticatorInterceptor
import
chat.rocket.android.util.BasicAuthenticatorInterceptor
import
chat.rocket.android.util.HttpLoggingInterceptor
import
chat.rocket.android.util.HttpLoggingInterceptor
...
...
app/src/main/java/chat/rocket/android/dagger/module/LocalModule.kt
View file @
d7119793
...
@@ -6,7 +6,7 @@ import chat.rocket.android.infrastructure.LocalRepository
...
@@ -6,7 +6,7 @@ import chat.rocket.android.infrastructure.LocalRepository
import
chat.rocket.android.infrastructure.SharedPreferencesLocalRepository
import
chat.rocket.android.infrastructure.SharedPreferencesLocalRepository
import
chat.rocket.android.server.domain.CurrentServerRepository
import
chat.rocket.android.server.domain.CurrentServerRepository
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.infra
e
structure.SharedPrefsCurrentServerRepository
import
chat.rocket.android.server.infrastructure.SharedPrefsCurrentServerRepository
import
chat.rocket.android.util.AppJsonAdapterFactory
import
chat.rocket.android.util.AppJsonAdapterFactory
import
chat.rocket.android.util.TimberLogger
import
chat.rocket.android.util.TimberLogger
import
chat.rocket.common.internal.FallbackSealedClassJsonAdapter
import
chat.rocket.common.internal.FallbackSealedClassJsonAdapter
...
...
app/src/main/java/chat/rocket/android/favoritemessages/presentation/FavoriteMessagesPresenter.kt
View file @
d7119793
...
@@ -3,7 +3,7 @@ package chat.rocket.android.favoritemessages.presentation
...
@@ -3,7 +3,7 @@ package chat.rocket.android.favoritemessages.presentation
import
chat.rocket.android.chatroom.uimodel.UiModelMapper
import
chat.rocket.android.chatroom.uimodel.UiModelMapper
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.model.roomTypeOf
import
chat.rocket.common.model.roomTypeOf
...
...
app/src/main/java/chat/rocket/android/files/presentation/FilesPresenter.kt
View file @
d7119793
...
@@ -5,7 +5,7 @@ import chat.rocket.android.core.lifecycle.CancelStrategy
...
@@ -5,7 +5,7 @@ import chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.files.uimodel.FileUiModel
import
chat.rocket.android.files.uimodel.FileUiModel
import
chat.rocket.android.files.uimodel.FileUiModelMapper
import
chat.rocket.android.files.uimodel.FileUiModelMapper
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.model.roomTypeOf
import
chat.rocket.common.model.roomTypeOf
...
...
app/src/main/java/chat/rocket/android/main/presentation/MainPresenter.kt
View file @
d7119793
...
@@ -3,7 +3,7 @@ package chat.rocket.android.main.presentation
...
@@ -3,7 +3,7 @@ package chat.rocket.android.main.presentation
import
chat.rocket.android.push.GroupedPush
import
chat.rocket.android.push.GroupedPush
import
chat.rocket.android.server.domain.RefreshPermissionsInteractor
import
chat.rocket.android.server.domain.RefreshPermissionsInteractor
import
chat.rocket.android.server.domain.RefreshSettingsInteractor
import
chat.rocket.android.server.domain.RefreshSettingsInteractor
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
javax.inject.Inject
import
javax.inject.Inject
import
javax.inject.Named
import
javax.inject.Named
...
...
app/src/main/java/chat/rocket/android/members/presentation/MembersPresenter.kt
View file @
d7119793
...
@@ -6,7 +6,7 @@ import chat.rocket.android.db.DatabaseManager
...
@@ -6,7 +6,7 @@ import chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.helper.UserHelper
import
chat.rocket.android.helper.UserHelper
import
chat.rocket.android.members.uimodel.MemberUiModel
import
chat.rocket.android.members.uimodel.MemberUiModel
import
chat.rocket.android.members.uimodel.MemberUiModelMapper
import
chat.rocket.android.members.uimodel.MemberUiModelMapper
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.model.roomTypeOf
import
chat.rocket.common.model.roomTypeOf
...
...
app/src/main/java/chat/rocket/android/mentions/presentention/MentionsPresenter.kt
View file @
d7119793
...
@@ -2,7 +2,7 @@ package chat.rocket.android.mentions.presentention
...
@@ -2,7 +2,7 @@ package chat.rocket.android.mentions.presentention
import
chat.rocket.android.chatroom.uimodel.UiModelMapper
import
chat.rocket.android.chatroom.uimodel.UiModelMapper
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.util.ifNull
import
chat.rocket.common.util.ifNull
...
...
app/src/main/java/chat/rocket/android/pinnedmessages/presentation/PinnedMessagesPresenter.kt
View file @
d7119793
...
@@ -3,7 +3,7 @@ package chat.rocket.android.pinnedmessages.presentation
...
@@ -3,7 +3,7 @@ package chat.rocket.android.pinnedmessages.presentation
import
chat.rocket.android.chatroom.uimodel.UiModelMapper
import
chat.rocket.android.chatroom.uimodel.UiModelMapper
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.model.roomTypeOf
import
chat.rocket.common.model.roomTypeOf
...
...
app/src/main/java/chat/rocket/android/profile/presentation/ProfilePresenter.kt
View file @
d7119793
...
@@ -11,8 +11,8 @@ import chat.rocket.android.main.presentation.MainNavigator
...
@@ -11,8 +11,8 @@ import chat.rocket.android.main.presentation.MainNavigator
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.RemoveAccountInteractor
import
chat.rocket.android.server.domain.RemoveAccountInteractor
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.util.extension.compressImageAndGetByteArray
import
chat.rocket.android.util.extension.compressImageAndGetByteArray
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
...
...
app/src/main/java/chat/rocket/android/push/DirectReplyReceiver.kt
View file @
d7119793
...
@@ -7,7 +7,7 @@ import android.content.Intent
...
@@ -7,7 +7,7 @@ import android.content.Intent
import
androidx.core.app.RemoteInput
import
androidx.core.app.RemoteInput
import
android.widget.Toast
import
android.widget.Toast
import
chat.rocket.android.R
import
chat.rocket.android.R
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
import
chat.rocket.core.internal.rest.sendMessage
import
chat.rocket.core.internal.rest.sendMessage
import
dagger.android.AndroidInjection
import
dagger.android.AndroidInjection
...
...
app/src/main/java/chat/rocket/android/server/domain/RefreshPermissionsInteractor.kt
View file @
d7119793
package
chat.rocket.android.server.domain
package
chat.rocket.android.server.domain
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
import
chat.rocket.core.internal.rest.permissions
import
chat.rocket.core.internal.rest.permissions
import
kotlinx.coroutines.Dispatchers
import
kotlinx.coroutines.Dispatchers
...
...
app/src/main/java/chat/rocket/android/server/domain/RefreshSettingsInteractor.kt
View file @
d7119793
package
chat.rocket.android.server.domain
package
chat.rocket.android.server.domain
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
import
chat.rocket.core.internal.rest.settings
import
chat.rocket.core.internal.rest.settings
import
kotlinx.coroutines.Dispatchers
import
kotlinx.coroutines.Dispatchers
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/ConnectionManager.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/ConnectionManager.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
androidx.lifecycle.MutableLiveData
import
androidx.lifecycle.MutableLiveData
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.db.DatabaseManager
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/ConnectionManagerFactory.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/ConnectionManagerFactory.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
chat.rocket.android.db.DatabaseManagerFactory
import
chat.rocket.android.db.DatabaseManagerFactory
import
timber.log.Timber
import
timber.log.Timber
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/DatabaseMessageMapper.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/DatabaseMessageMapper.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.db.model.*
import
chat.rocket.android.db.model.*
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/DatabaseMessagesRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/DatabaseMessagesRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.db.DatabaseManager
import
chat.rocket.android.db.Operation
import
chat.rocket.android.db.Operation
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/JobSchedulerInteractorImpl.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/JobSchedulerInteractorImpl.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
android.app.job.JobInfo
import
android.app.job.JobInfo
import
android.app.job.JobScheduler
import
android.app.job.JobScheduler
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/MemoryChatRoomsRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/MemoryChatRoomsRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
chat.rocket.android.server.domain.ChatRoomsRepository
import
chat.rocket.android.server.domain.ChatRoomsRepository
import
chat.rocket.core.model.ChatRoom
import
chat.rocket.core.model.ChatRoom
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/MemoryUsersRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/MemoryUsersRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
chat.rocket.android.server.domain.UsersRepository
import
chat.rocket.android.server.domain.UsersRepository
import
chat.rocket.android.server.domain.UsersRepository.Query
import
chat.rocket.android.server.domain.UsersRepository.Query
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/RocketChatClientFactory.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/RocketChatClientFactory.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
android.os.Build
import
android.os.Build
import
chat.rocket.android.BuildConfig
import
chat.rocket.android.BuildConfig
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/SharedPreferencesAccountsRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/SharedPreferencesAccountsRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
android.content.SharedPreferences
import
android.content.SharedPreferences
import
androidx.core.content.edit
import
androidx.core.content.edit
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/SharedPreferencesPermissionsRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/SharedPreferencesPermissionsRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
chat.rocket.android.infrastructure.LocalRepository
import
chat.rocket.android.infrastructure.LocalRepository
import
chat.rocket.android.server.domain.PermissionsRepository
import
chat.rocket.android.server.domain.PermissionsRepository
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/SharedPreferencesSettingsRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/SharedPreferencesSettingsRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
chat.rocket.android.infrastructure.LocalRepository
import
chat.rocket.android.infrastructure.LocalRepository
import
chat.rocket.android.infrastructure.LocalRepository.Companion.SETTINGS_KEY
import
chat.rocket.android.infrastructure.LocalRepository.Companion.SETTINGS_KEY
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/SharedPrefsAnalyticsTrackingRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/SharedPrefsAnalyticsTrackingRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
android.content.SharedPreferences
import
android.content.SharedPreferences
import
chat.rocket.android.server.domain.AnalyticsTrackingRepository
import
chat.rocket.android.server.domain.AnalyticsTrackingRepository
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/SharedPrefsBasicAuthRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/SharedPrefsBasicAuthRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
android.content.SharedPreferences
import
android.content.SharedPreferences
import
androidx.core.content.edit
import
androidx.core.content.edit
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/SharedPrefsConnectingServerRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/SharedPrefsConnectingServerRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
android.content.SharedPreferences
import
android.content.SharedPreferences
import
chat.rocket.android.server.domain.CurrentServerRepository
import
chat.rocket.android.server.domain.CurrentServerRepository
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/SharedPrefsCurrentServerRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/SharedPrefsCurrentServerRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
android.content.SharedPreferences
import
android.content.SharedPreferences
import
chat.rocket.android.server.domain.CurrentServerRepository
import
chat.rocket.android.server.domain.CurrentServerRepository
...
...
app/src/main/java/chat/rocket/android/server/infra
e
structure/SharedPrefsSortingAndGroupingRepository.kt
→
app/src/main/java/chat/rocket/android/server/infrastructure/SharedPrefsSortingAndGroupingRepository.kt
View file @
d7119793
package
chat.rocket.android.server.infra
e
structure
package
chat.rocket.android.server.infrastructure
import
android.content.SharedPreferences
import
android.content.SharedPreferences
import
chat.rocket.android.server.domain.SortingAndGroupingRepository
import
chat.rocket.android.server.domain.SortingAndGroupingRepository
...
...
app/src/main/java/chat/rocket/android/server/presentation/ChangeServerPresenter.kt
View file @
d7119793
...
@@ -9,7 +9,7 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
...
@@ -9,7 +9,7 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.SaveCurrentServerInteractor
import
chat.rocket.android.server.domain.SaveCurrentServerInteractor
import
chat.rocket.android.server.domain.SettingsRepository
import
chat.rocket.android.server.domain.SettingsRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.common.util.ifNull
import
chat.rocket.common.util.ifNull
import
javax.inject.Inject
import
javax.inject.Inject
...
...
app/src/main/java/chat/rocket/android/server/presentation/CheckServerPresenter.kt
View file @
d7119793
...
@@ -26,9 +26,9 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
...
@@ -26,9 +26,9 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.RemoveAccountInteractor
import
chat.rocket.android.server.domain.RemoveAccountInteractor
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.RefreshSettingsInteractor
import
chat.rocket.android.server.domain.RefreshSettingsInteractor
import
chat.rocket.android.server.infra
e
structure.ConnectionManager
import
chat.rocket.android.server.infrastructure.ConnectionManager
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.VersionInfo
import
chat.rocket.android.util.VersionInfo
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.casUrl
import
chat.rocket.android.util.extensions.casUrl
...
...
app/src/main/java/chat/rocket/android/settings/password/presentation/PasswordPresenter.kt
View file @
d7119793
...
@@ -4,7 +4,7 @@ import chat.rocket.android.analytics.AnalyticsManager
...
@@ -4,7 +4,7 @@ import chat.rocket.android.analytics.AnalyticsManager
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.helper.UserHelper
import
chat.rocket.android.helper.UserHelper
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
import
chat.rocket.common.RocketChatException
import
chat.rocket.common.RocketChatException
...
...
app/src/main/java/chat/rocket/android/settings/presentation/SettingsPresenter.kt
View file @
d7119793
...
@@ -9,8 +9,8 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
...
@@ -9,8 +9,8 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
import
chat.rocket.android.server.domain.PermissionsInteractor
import
chat.rocket.android.server.domain.PermissionsInteractor
import
chat.rocket.android.server.domain.RemoveAccountInteractor
import
chat.rocket.android.server.domain.RemoveAccountInteractor
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.domain.TokenRepository
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.server.presentation.CheckServerPresenter
import
chat.rocket.android.util.extension.gethash
import
chat.rocket.android.util.extension.gethash
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
...
...
app/src/main/java/chat/rocket/android/userdetails/presentation/UserDetailsPresenter.kt
View file @
d7119793
...
@@ -9,7 +9,7 @@ import chat.rocket.android.db.model.UserEntity
...
@@ -9,7 +9,7 @@ import chat.rocket.android.db.model.UserEntity
import
chat.rocket.android.server.domain.CurrentServerRepository
import
chat.rocket.android.server.domain.CurrentServerRepository
import
chat.rocket.android.server.domain.GetSettingsInteractor
import
chat.rocket.android.server.domain.GetSettingsInteractor
import
chat.rocket.android.server.domain.isJitsiEnabled
import
chat.rocket.android.server.domain.isJitsiEnabled
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.extensions.avatarUrl
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
...
...
app/src/main/java/chat/rocket/android/util/extensions/RocketChatClient.kt
View file @
d7119793
...
@@ -2,7 +2,7 @@ package chat.rocket.android.util.extensions
...
@@ -2,7 +2,7 @@ package chat.rocket.android.util.extensions
import
chat.rocket.android.db.model.MessageEntity
import
chat.rocket.android.db.model.MessageEntity
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.domain.model.Account
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.retryIO
import
chat.rocket.android.util.retryIO
import
chat.rocket.core.internal.rest.registerPushToken
import
chat.rocket.core.internal.rest.registerPushToken
import
chat.rocket.core.model.Message
import
chat.rocket.core.model.Message
...
...
app/src/main/java/chat/rocket/android/videoconference/presenter/VideoConferencePresenter.kt
View file @
d7119793
...
@@ -6,7 +6,7 @@ import chat.rocket.android.core.lifecycle.CancelStrategy
...
@@ -6,7 +6,7 @@ import chat.rocket.android.core.lifecycle.CancelStrategy
import
chat.rocket.android.helper.JitsiHelper
import
chat.rocket.android.helper.JitsiHelper
import
chat.rocket.android.helper.UserHelper
import
chat.rocket.android.helper.UserHelper
import
chat.rocket.android.server.domain.*
import
chat.rocket.android.server.domain.*
import
chat.rocket.android.server.infra
e
structure.ConnectionManagerFactory
import
chat.rocket.android.server.infrastructure.ConnectionManagerFactory
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.android.util.extension.launchUI
import
chat.rocket.common.model.RoomType
import
chat.rocket.common.model.RoomType
import
chat.rocket.common.model.roomTypeOf
import
chat.rocket.common.model.roomTypeOf
...
...
app/src/play/java/chat/rocket/android/push/worker/TokenRegistrationWorker.kt
View file @
d7119793
...
@@ -5,7 +5,7 @@ import chat.rocket.android.dagger.injector.AndroidWorkerInjection
...
@@ -5,7 +5,7 @@ import chat.rocket.android.dagger.injector.AndroidWorkerInjection
import
chat.rocket.android.extensions.await
import
chat.rocket.android.extensions.await
import
chat.rocket.android.infrastructure.LocalRepository
import
chat.rocket.android.infrastructure.LocalRepository
import
chat.rocket.android.server.domain.GetAccountsInteractor
import
chat.rocket.android.server.domain.GetAccountsInteractor
import
chat.rocket.android.server.infra
e
structure.RocketChatClientFactory
import
chat.rocket.android.server.infrastructure.RocketChatClientFactory
import
chat.rocket.android.util.extensions.registerPushToken
import
chat.rocket.android.util.extensions.registerPushToken
import
chat.rocket.common.util.ifNull
import
chat.rocket.common.util.ifNull
import
com.google.firebase.iid.FirebaseInstanceId
import
com.google.firebase.iid.FirebaseInstanceId
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment