-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use 'flowcrypt.com/shared-tenant-fes' instead of 'flowcrypt.com/api' #2171
Conversation
…pt.com/api'. Refactored code.| #2162
FlowCrypt/src/main/java/com/flowcrypt/email/FlowCryptApplication.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/response/api/LinkMessageResponse.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/response/api/MessageReplyResponse.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiService.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiService.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/util/GeneralUtil.kt
Outdated
Show resolved
Hide resolved
@tomholub Please relook the current changes while I'm working on fixing tests. |
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiRepository.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiRepository.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiService.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/FlowcryptApiRepository.kt
Outdated
Show resolved
Hide resolved
...pt/src/main/java/com/flowcrypt/email/jetpack/workmanager/HandlePasswordProtectedMsgWorker.kt
Outdated
Show resolved
Hide resolved
...pt/src/main/java/com/flowcrypt/email/jetpack/workmanager/RefreshClientConfigurationWorker.kt
Outdated
Show resolved
Hide resolved
...pt/src/main/java/com/flowcrypt/email/jetpack/workmanager/RefreshClientConfigurationWorker.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/ui/activity/fragment/MainSignInFragment.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/util/GeneralUtil.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/jetpack/viewmodel/ClientConfigurationViewModel.kt
Outdated
Show resolved
Hide resolved
...pt/src/main/java/com/flowcrypt/email/jetpack/workmanager/HandlePasswordProtectedMsgWorker.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiClientRepository.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiClientRepository.kt
Outdated
Show resolved
Hide resolved
… 'useFES' field to 'useCustomerFesUrl'). Refactored code.| #2162
@tomholub Please relook. I've added the requested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's improving a lot, see comments
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiClientRepository.kt
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiClientRepository.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiClientRepository.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiClientRepository.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/ApiClientRepository.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/api/retrofit/RetrofitApiServiceInterface.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/jetpack/viewmodel/ComposeMsgViewModel.kt
Outdated
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/ui/activity/fragment/CreateMessageFragment.kt
Show resolved
Hide resolved
FlowCrypt/src/main/java/com/flowcrypt/email/ui/activity/fragment/MainSignInFragment.kt
Outdated
Show resolved
Hide resolved
@tomholub I think I've added changes that were requested to migrate to
it means we decide at the setup screen whether will we use a custom FES server or not. After the setup screen, we don't use a custom FES server if it failed at the setup screen. If it is possible I propose adding that functionality via a separate PR. The current PR is already not simple. If yes, I will ask Mart to recheck #2197 and after that, we will be ready to merge it. |
yes, the parts after setup can be done in a future version. so ok for @martgil to re check functionality now |
# Conflicts: # FlowCrypt/build.gradle
@ioanmo226 Please make the final review. |
Can I merge this PR with after my review? or waiting some other things? |
Yes, we are ready to merge it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR added using 'flowcrypt.com/shared-tenant-fes' instead of 'flowcrypt.com/api'
close #2162
close #2138
Tests (delete all except exactly one):
todo
To be filled by reviewers
I have reviewed that this PR... (tick whichever items you personally focused on during this review):