-
Notifications
You must be signed in to change notification settings - Fork 1
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
✨(dimail) get domain specification for DNS config #722
base: main
Are you sure you want to change the base?
Conversation
14261aa
to
7440711
Compare
Je n'ai pas tout à fait fini les tests... la review peut un peu attendre |
581fe50
to
7f3650f
Compare
J'ai 3 commits à la fin qui seront squashé si c'est ok, qui correspondent à du renommage. Je préfère les laisser comme ça si suite à la review c'était mieux la première version |
"""Return expected config of the domain.""" | ||
if domain.status == enums.MailDomainStatusChoices.ACTION_REQUIRED: | ||
client = DimailAPIClient() | ||
return client.get_domain_expected_config(domain) |
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.
I'm not sure we want a call to be triggered everytime + on list view it will be chaos.
954d060
to
602e803
Compare
Add missing migration after define ordering by created_at for Mailbox, MailDomain and MailDomainAccess by created_at.
Call dimail to get all the DNS configuration values to make an external domain work and save it in our db. Add the value to serializer for displaying.
Display DNS configuration required
Call dimail to get all the DNS configuration values to make an external domain work.
TODO:
Premier jet en attente d'une maquette de cette page:
Il reste un comportement bizarre avec le toaster il ne se met pas en premier plan avec la modal affichée.
Un fix à faire sur cunningham un jour peut être (@elvoisin)