Sabrina Demagny
9377a96e87
💄 (domains) remove useless bold text broken after fbb4797
...
Fix domain names displaying after fetch status
from dimail failure after commit fbb4797
2025-02-13 09:31:06 +01:00
Laurent Bossavit
d08198e44d
🔊 (prod) move logging config up to Base configuration class
...
This move makes it possible to set logging configuration on a per-deployment
basis in production.
2025-02-12 15:04:23 +01:00
Sabrina Demagny
e55468862d
🧑💻 (domains) change default ordering
...
Order by last created models MailDomain, Mailbox and MailDomainAccess.
2025-02-12 10:36:55 +01:00
Laurent Bossavit
fbb4797f29
🚨 (pytest) fix or suppress warnings during backend tests
...
Avoid unnecessary noise from testing processes
2025-02-11 16:52:26 +01:00
Sabrina Demagny
a2b2c71448
✨ (api) add required actions to fix domain
...
Send all informations about required actions
to do to fix a domain and full check domain
health from dimail too.
2025-02-11 13:07:14 +01:00
Sabrina Demagny
e1594493a7
🐛 (plugin) fix support email
...
Use a real email to contact support in case
of actions required on the domain in collectivite.fr
2025-02-11 11:15:45 +01:00
renovate[bot]
e903c5d4ca
⬆️ (dependencies) update python dependencies
2025-02-11 10:57:20 +01:00
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
Laurent Bossavit
a68f8171cb
✨ (plugin) add CommuneCreation plugin
...
Add E2E test to cover the API integration, access grant &c.
2025-02-11 09:53:31 +01:00
Laurent Bossavit
471f69d4ec
✨ (plugin) add CommuneCreation plugin
...
Extend plugin mechanism to be able to grant domain admin in Dimail
2025-02-11 09:53:31 +01:00
Laurent Bossavit
dc938d3159
✨ (plugin) add CommuneCreation plugin
...
Add test for zone creation call
2025-02-11 09:53:31 +01:00
Laurent Bossavit
87907d57de
✨ (plugin) add CommuneCreation plugin
...
Fix earlier test that was in error
2025-02-11 09:53:31 +01:00
Laurent Bossavit
57fd15100e
✨ (plugin) add CommuneCreation plugin
...
Add test for domain spec from Dimail
2025-02-11 09:53:31 +01:00
Laurent Bossavit
34c9dc6cd7
✨ (plugin) add CommuneCreation plugin
...
Introduces some machinery for testing and executing API orchestrations.
Rolls back some changes in NameFromSiret plugin.
2025-02-11 09:53:31 +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
Sabrina Demagny
ba3f6a504f
🌐 (backend) add missing translations
...
Re-run back-i18n-generate and back-i18n-compile
and add some missing translations
2025-02-07 22:11:37 +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
Sabrina Demagny
8a2b0d0a76
🐛 (backend) fix flaky test after add fr translations
...
Define user language to test invitation email content.
2025-02-03 15:24:39 +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
renovate[bot]
4fb5d87df9
⬆️ (dependencies) update python dependencies
2025-02-03 14:30:56 +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
2c15609c1e
🎨 (dimail) factorize dimail response upon successful mailbox creation
...
dimail's ok response upon mailbox creation is used in several tests.
All those tests now reference proper response available in fixtures.
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
Sabrina Demagny
9d9216cf39
🌐 (backend) add missing translations
...
Regenerate translations, translate some and
replace "Desk" and "Régie" to "La Régie".
2025-02-03 13:24:40 +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
renovate[bot]
6d618b4aff
⬆️ (dependencies) update python dependencies
2025-01-27 11:09:38 +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
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
Laurent Bossavit
914554e45c
🐛 (linting) fix linting errors arising from Ruff update
...
This update affects assertion messages in particular.
2025-01-21 00:42:47 +01:00
renovate[bot]
3f990e93b7
⬆️ (dependencies) update python dependencies
2025-01-21 00:42:47 +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
4ccea4655b
✨ (teams) add treebeard data to serializers
...
This will allow the frontend to represent teams as a
tree if needed.
2025-01-17 19:00:14 +01:00
Quentin BEY
45fd10fd2d
✨ (teams) return parent teams in resource server
...
Also return the parent teams in the user's team endpoints.
2025-01-17 19:00:14 +01:00
Quentin BEY
201864db3a
✨ (teams) return parent teams in API
...
Also return the parent teams in the user's team endpoints.
This is a first implementation which returns a flat list
of teams (not a tree). This is not really helpful, but
it allows to create hierarchical teams manually (via
admin) if an organization needs it.
2025-01-17 19:00:14 +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
Sabrina Demagny
6c8329405d
🧑💻 (setup_dimail_db) create missing access
...
Add missing John Doe access role on domain test.domain.com
2025-01-17 08:42:10 +01:00
Sabrina Demagny
ea3a45ea87
✅ (dimail) improve fetch domain status tests
...
Add missing test case and add a new fake data
for fetch domain status from dimail
2025-01-16 23:07:14 +01:00
Sabrina Demagny
86451df8b4
♻️ (tests) reorganization of test files
...
Create two new folders in mailbox_manager tests
2025-01-16 15:57:25 +01:00