Laurent Bossavit
4cb695c2bf
✨ (plugin) add CommuneCreation plugin
...
Add unit tests and refactor name normalization and zone naming.
2025-02-11 09:53:31 +01:00
Sabrina Demagny
0ca5fa5318
✨ (frontend) new status action required on domain
...
Display new status flag on mail domain.
2025-02-10 14:25:58 +01:00
Marie PUPO JEAMMET
4d3901b35d
✨ (auth) fix empty name from ProConnect
...
add proconnect scopes for names to be computed automatically
upon user creation
This commit fixes the way names are computed from ProConnect claims
2025-02-10 12:59:16 +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
Marie PUPO JEAMMET
3de495a489
🚚 (github) update all mentions to github repo
...
github repo moved from numerique-gouv to suitenumerique org
2025-02-07 14:26:27 +01:00
Sabrina Demagny
e297a025c3
🔖 (minor) release version 1.11.0
...
Update all version files and changelog for minor release.
2025-02-07 11:46:19 +01:00
Sabrina Demagny
579dbdee10
✨ (api) add count mailboxes to MailDomain serializer
...
Return number of mailboxes of a domain in our API.
2025-02-04 15:22:00 +01:00
Quentin BEY
b4a877381a
🐛 (teams) disable creation endpoint from abilities
...
When we don't allow the user to see the team creation button,
we also want to disable the corresponding API.
2025-02-04 15:20:48 +01:00
Sabrina Demagny
4df4172151
✨ (dimail) manage 'action required' status for MailDomain
...
Adapt fetch domain status call to manage internal and external
fixes required. Use the new status 'action required' to
manage actions expected from support.
Call a new dimail endpoint to run a fix for internal checks
when all external checks are OK.
2025-02-04 14:13:36 +01:00
Laurent Bossavit
e7af1fd591
🐛 (frontend) improve e2e tests avoiding race condition from mocks
...
Reorder mock setup with page.route so that it takes place before nav.
2025-02-04 14:03:35 +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
7f0e231474
✨ (api) restrict mailbox sync to enabled domains
...
Pending, failed and deactivated domains should not be sync'ed.
2025-02-03 13:47:02 +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
Quentin BEY
4011c8e8ed
🚑 ️(plugins) fix name from SIRET specific case
...
For some SIRET, there are no "liste_enseignes" (null), in such
cases we fallback on the global "company" name.
2025-01-30 15:55:58 +01:00
Sabrina Demagny
b98281fa72
🔖 (patch) release version 1.10.1
...
Update all version files and changelog for patch release.
2025-01-27 15:11:01 +01:00
Marie PUPO JEAMMET
227ecd0700
🐛 (dimail) fix imported mailboxes should be enabled instead of pending
...
Importing mailboxes creates pending mailboxes ... but these mailboxes are
already active and, for most, functional. We thus mark them as "enabled".
2025-01-27 11:23:26 +01:00
Sabrina Demagny
f969b118cb
✨ (dimail) management command to fetch domain status
...
Add a management command for a future cron to
to check and update regularly domains status
from dimail.
2025-01-24 19:33:45 +01:00
Sabrina Demagny
c48957612b
⚡ ️(api) add missing cache for stats endpoint
...
Add cache to display stats for anonymous
and improve some code.
2025-01-24 16:52:02 +01:00
Sabrina Demagny
e09e1d1b80
✨ (scripts) adapts release script
...
Adapts the release script after moving
the deployment part to a new repository.
2025-01-23 18:14:00 +01:00
Marie PUPO JEAMMET
615d5894c9
🔖 (minor) release version 1.10.0
...
Update all version files and changelog for minor release.
heml/env.d/preprod and prod directories are now on another repo.
2025-01-21 17:18:55 +01:00
Marie PUPO JEAMMET
870ef424f5
✨ (api) create stats endpoint
...
create stats endpoint to expose public metrics
2025-01-20 17:32:25 +01:00
Sabrina Demagny
defc18ea40
🐛 (backend) fix flaky test with search contact
...
Sometimes emails generated by faker in data field match search.
So it's necessary to create contacts with empty data field
to search contacts by full_name in tests.
2025-01-17 19:56:35 +01:00
Quentin BEY
182f9c1d17
🗃️ (teams) add Team dependencies as a tree
...
This provides the technical way to create Team trees.
The implementation is quite naive.
2025-01-17 19:00:14 +01:00
Sabrina Demagny
cd7135da00
🐛 (backend) fix flaky test with team access #646
...
Faker sometimes creates users whose name starts with "Ms." or "Mr."
The implemented test code computed the order without handling
these cases and failed.
2025-01-17 10:02:27 +01:00
Sabrina Demagny
0a795f6e6f
🧑💻 (dimail) remove 'NoneType: None' log
...
Fixes "NoneType: None" log appearing in debug mode.
2025-01-17 08:56:18 +01:00
Quentin BEY
76fc789eb6
✨ (organization) add admin action for plugin
...
This allows admin user to run the post creation plugins
from the organization list.
2025-01-16 09:28:38 +01:00
Laurent Bossavit
20cc173e93
✨ (anct) fetch and display organization names of communes
...
ANCT-specific extraction of organization names for communes, front
end changes to match.
2025-01-13 15:01:54 +01:00
Sabrina Demagny
4def80214c
✨ (frontend) display email if no username
...
Fallback to email if no username is defined for logged user.
2025-01-12 00:45:49 +01:00
Sabrina Demagny
2428229dbb
🐛 (frontend) fix flaky e2e test
...
Small hack to fix clicking on member action button.
Action button of the third member in the list could not
be clickable every time.
The member list table needs and will be improved soon.
2025-01-12 00:32:56 +01:00
Sabrina Demagny
9b9aa2aa37
🐛 (frontend) fix disable mailbox button display
...
Do not display disable/enable mailbox button
for viewers.
Only owner and admin can manage mailbox and use
this button.
2025-01-10 16:38:07 +01:00
Sabrina Demagny
b0b718e657
✨ (backend) add admin action to check domain health
...
Allow to select some domains to check and update status
thanks to a dimail call.
2025-01-09 13:59:00 +01:00
Sabrina Demagny
0abfd49fee
✨ (dimail) check domain health
...
Call dimail to check if a domain still works.
Turn domain into failure status if dimail returns broken state.
And enable domain if dimail returns ok state.
2025-01-09 12:55:23 +01:00
Sabrina Demagny
151f030582
🐛 (backend) fix dimail call despite mailbox creation failure on our side
...
When we try to create a duplicate email, a request
to dimail is sent despite a reject on our side.
To solve this issue, we call mailbox creation first
to benefit from validation of our Django model.
Mailbox creation try was called too late after dimail call.
So in attempt to create a duplicated email a request
to dimail was sent despite a failure in our side.
2024-12-26 19:43:04 +01:00
Laurent Bossavit
8fd55a61c5
✅ (e2e) change accounts to facilitate SIRET and add e2e test
...
We also add registration ID info to the /me endpoint, via serializers
2024-12-23 20:18:44 +01:00
Quentin BEY
469014ac41
🧑💻 (user) fix the User.language
...
The use of a lazy function here make the Django migration
detector to generate a migration every time we run `makemigrations`.
This is not mandatory to have a lazy here as the settings are loaded
once at runtime beginning.
As the choices makes noop migrations, we directly use the setting in
the initial migration.
2024-12-19 22:16:08 +01:00
Marie PUPO JEAMMET
e60bae4321
🔖 (patch) release version 1.9.1
...
Update all version files and changelog for patch release.
2024-12-18 15:48:45 +01:00
Sabrina Demagny
8865e250a0
🔖 (minor) release version 1.9.0
...
Update all version files and changelog for minor release.
2024-12-17 14:48:38 +01:00
Nathan Panchout
fa114b1064
✨ (frontend) disable mailbox and allow to create pending mailbox
...
Allow to disable or enable mailboxes.
And enable mailbox creation button when domain is pending to
allow creation of mailboxes in pending status.
2024-12-17 14:16:06 +01:00
Sabrina Demagny
a021e9eec6
🐛 (maildomain) fix domain access creation
...
During a new domain creation, a call to dimail is made
to create user/allow on dimail side before owner role creation
on our side.
So when user/allow creation on dimain side fails,
the owner role is not created on our side.
Therefore the domain is created but invisible on the user interface.
The user will probably try to create the same domain again
and see the error message 'this domain already exists'.
To avoid this we make sure to create owner role on our side
despite dimail failure and set domain to failed status to retry
later dimail access creation.
2024-12-17 10:56:44 +01:00
Quentin BEY
38a5f158b5
✨ (organizations) add siret to name conversion
...
This adds the plugin system to easily manage
Organization related customizations. This first
plugin tries (best effort) to get a proper name
for the Organization, using its SIRET. This
is French specificities but another plugin can
be defined for other cases.
2024-12-16 16:08:08 +01:00
Quentin BEY
9953dd2111
💄 (frontend) redirect home according to abilities
...
We try to detect the landing page according to user
permissions (abilities) instead of just the configuration
setting.
This will be improved when the homepage is developed
2024-12-16 11:43:46 +01:00
Sabrina Demagny
5d84e226b7
✨ (maildomain_access) add API endpoint to search users
...
Add new API endpoint to search for new users
to whom we can assign new roles.
2024-12-13 16:27:48 +01:00
Quentin BEY
6fde76fb46
✨ (contacts) add "abilities" to API endpoint data
...
Returns the possible actions to the frontend using the
model's `get_abilities`.
2024-12-13 11:52:10 +01:00
Quentin BEY
019ce99a86
✨ (contacts) filter list API with email
...
This allows to lookup onto emails for the "magic
filter" on the API list endpoint.
2024-12-12 18:22:53 +01:00
Quentin BEY
579aac264e
✨ (contacts) list profile contacts from same org
...
Allow the contact API to list "profile" contacts for
user of the same organization.
2024-12-12 18:22:53 +01:00
Sabrina Demagny
c54f010989
🔖 (minor) release version 1.8.0
...
Update all version files and changelog for minor release.
2024-12-12 17:18:50 +01:00
Sabrina Demagny
841a6c27ba
🐛 (backend) fix manage roles on domain admin view
...
Fix creation of new role to manage mail domain on admin interface
2024-12-12 16:19:51 +01:00
Sabrina Demagny
b060bbea51
🐛 (mailbox) fix activate mailbox feature
...
Fix 422 Unprocessable Entity error returned
by dimail because of some missing data sent.
2024-12-12 14:37:22 +01:00
Marie PUPO JEAMMET
54120eb179
✨ (dimail) automate allows requests to dimail
...
Automatically send user creation and allow creation requests to dimail
upon creating domain access.
2024-12-11 10:29:36 +01:00