Sabrina Demagny
45bafe04de
♻️ (backend) rename DomainInvitation
...
All models relacted to mail domain are prefixed
with "MailDomain". Do the same for mail domain invitations.
2025-03-06 13:01:04 +01:00
Marie PUPO JEAMMET
9ee1ef5ba0
🗃️ (models) create abstract BaseInvitation and DomainInvitation models
...
create abstract BaseInvitation models to factorize common elements between
existing Invitation model team-side and new DomainInvitation model
2025-03-05 16:30:24 +01:00
Sabrina Demagny
d5b154fbe0
🐛 (mailbox) fix migration to fill dn_email field
...
Fix AttributeError
'Mailbox' object has no attribute 'get_email'
2025-03-04 14:07:16 +01:00
Quentin BEY
db6cdadd72
✨ (oidc) add django-oauth-toolkit w/ configuration
...
This allows to use `people` as an identity provider using
OIDC and local users.
This commit is partial, because it does not manage a way to
create "local" users and the login page is the admin one, which
can't be used for non staff users or login with email.
2025-03-03 12:24:43 +01:00
Quentin BEY
8faa049046
🗃️ (mailbox_manager) add organization to domain
...
To be able to provide a SIRET in the ProConnect IdP process
we need to be able to link a mail domain to its organization.
For now this is not mandatory, as we can't detect the organization
and need a frontend process to clarify it.
2025-03-03 12:24:43 +01:00
Sabrina Demagny
3893fdf4d7
✨ (domains) get domain expected config for DNS
...
Call dimail to get DNS configuration values
to make an external domain work and save it in our db.
Add values to serializer for displaying.
2025-02-17 19:28:43 +01:00
Sabrina Demagny
95f19f7c6c
🩹 (domains) add missing migrations after define ordering
...
Add missing migration after define ordering by created_at
for Mailbox, MailDomain and MailDomainAccess by created_at.
2025-02-14 18:37:32 +01:00
Sabrina Demagny
961bceb64e
✨ (domains) store last check domain results
...
Store results of last dimail check on a domain.
2025-02-10 12:24:37 +01:00
Sabrina Demagny
418db6194a
✨ (domains) add support email field on MailDomain
...
Add new field on MailDomain to allow contact support
if some actions are required to fix domain.
2025-02-10 11:37:07 +01:00
Sabrina Demagny
d48a3ff677
✨ (domains) add action required status on MailDomain
...
Create a new domain status to handle cases where
action is required from an external domain owner
for a domain to be fully functional.
2025-02-03 15:24:32 +01:00
Marie PUPO JEAMMET
cd94dc5091
✨ (dimail) send pending mailboxes upon domain activation
...
send creation requests to dimail for all pending mailboxes
when domain goes from "pending" to "enabled".
2025-02-03 13:47:02 +01:00
Sabrina Demagny
a57070bfb8
🩹 (mailbox) fix status of current mailboxes
...
All mailboxes created so far should be in active status
2024-11-21 23:20:51 +01:00
Marie PUPO JEAMMET
863c85e3f0
👔 (dimail) allow creation of "pending" mailboxes
...
Previously, mailbox creation was restricted to "enabled" domains.
We now allow users to create mailboxes on pending and failed domains.
Mailboxes thus created have the "pending" mailboxes status.
2024-11-19 10:29:21 +01:00
Marie PUPO JEAMMET
ba30b1d3ee
🗃️ (models) remove 'secret' field from mailbox model
...
We remove 'secret' field, as it won't be of use in interactions
between la Régie and dimail. Régie credentials will be stored and used
as project variable.
2024-09-09 18:18:00 +02:00
Marie PUPO JEAMMET
f5c7abcd20
🗃️ (mailboxes) migrate local part field modification
...
"+" character was removed from valid character for mailbox creation
this commit adds migration file for database to be up-to-date
2024-08-30 14:35:58 +02:00
Marie PUPO JEAMMET
2c82f38c59
🗃️ (domains) add "secret" field to domains
...
add a "secret" field to domain model. This secret will be used as
password in mail provisioning API.
2024-08-09 13:37:20 +02:00
Sabrina Demagny
c00c59b301
✨ (mail) add first_name and last_name for Mailbox
...
Mail provisioning API needs a full name to create a new mailbox.
2024-08-07 15:03:09 +02:00
Sabrina Demagny
eba9fb2d09
🚸 (models) use a viewer role for MailDomainAccess
...
Rename member role to viewer role for MailDomainAccess.
A viewer is only allowed to see list of mailboxes
created for a domain. It makes more sense to name it viewer.
2024-08-05 15:05:15 +02:00
Sabrina Demagny
955a3dd226
✨ (models) add MailDomain status
...
Add some status to allow to create mailboxes only for an active domain
2024-07-10 16:17:42 +02:00
Sabrina Demagny
b4bafb6efb
✨ (mailbox_manager) modify API to get maildomain
...
Access to maildomain by slug name
2024-06-13 15:10:04 +02:00
Marie PUPO JEAMMET
df24c24da1
✨ (api) add CRUD for mailbox manager MailDomain models
...
Add create,list,retrieve and delete actions for MailDomain model.
2024-04-19 18:45:50 +02:00
Marie PUPO JEAMMET
cca6c77f00
🗃️ (models) add MailDomain, MailDomainAccess and Mailbox models
...
Additional app and models to handle email addresses creation in Desk.
2024-04-16 15:47:33 +02:00