Commit graph

11545 commits

Author SHA1 Message Date
Eric Leroy-Terquem
6322532805 fix(data): destroy procedure if no administrateur and no dossier 2024-03-15 16:30:03 +01:00
Eric Leroy-Terquem
eae149f49d chore(administrateur): destroy procedure if no administrateur and no dossier 2024-03-15 16:16:10 +01:00
simon lehericey
ce3a156a46 refactor(file retrieval): use ciphered query params instead of cookie to move email 2024-03-15 14:42:28 +01:00
simon lehericey
7e6792c616 feat(file retrieval): add dossier_transfer_log 2024-03-15 14:35:15 +01:00
simon lehericey
84398b147d feat(file retrieval): post select only if selection 2024-03-15 14:35:15 +01:00
simon lehericey
2c367846da refactor(js): radio_enabled_submit -> enable_submit_if_checked 2024-03-15 14:35:15 +01:00
simon lehericey
96a8e7888e feat(file retrieval): select procedure to recover 2024-03-15 14:35:14 +01:00
simon lehericey
e91eeadccb feat(file retrieval): add recovery_service 2024-03-15 14:35:14 +01:00
simon lehericey
cd7fd5832c feat(file retrieval): post targeted email 2024-03-15 14:35:14 +01:00
simon lehericey
d86bebdd03 feat(file retrieval): ensure collectivite territoriale 2024-03-15 14:35:14 +01:00
simon lehericey
fac365e01d feat(file retrieval): ensure agent connect is used 2024-03-15 14:35:14 +01:00
simon lehericey
d3955d48ee feat(file retrieval): contact support if not col ter 2024-03-15 14:35:14 +01:00
simon lehericey
b7c48acf86 feat(file retrieval): basic UI skeleton 2024-03-15 14:35:14 +01:00
simon lehericey
a60a082ec5 feat(file retrieval): add api_recherche_entreprises_service 2024-03-15 14:35:14 +01:00
simon lehericey
c1199af83d feat(file retrieval): attach agent_connect_information to instructeur 2024-03-15 14:35:14 +01:00
simon lehericey
277ac1259a feat(file retrieval): create agent connect information 2024-03-15 14:35:14 +01:00
Goulven Champenois
561e050d47
[Nitpick] Adjust vertical spacing in segmented-control-item
This small fix adjusts vertical spacing for the text inside `segmented-control-item`. Padding before: `0 15 4 15`, padding after: `4 15`.
The `.segmented-control-item` class is only used on the stats page, so there won't be any unwanted side-effects. Since the same variable is used for top and bottom, changes to the `--li-bottom` variable won't break vertical alignment.
2024-03-15 10:17:25 +01:00
Paul Chavard
4e023ebed0
Merge pull request #10106 from colinux/limit-service-geocoding-to-insee-code
Super-Admins: évite que le géocodage des services tombe sur une mauvaise commune
2024-03-14 16:16:03 +00:00
Paul Chavard
29335800b7
Merge pull request #10115 from colinux/fix-instructeur-exports-turbo
ETQ instructeur: corrige la mise à jour automatique du bandeau de statut d'un export après sa création
2024-03-14 16:15:35 +00:00
Paul Chavard
4cadc0554a
Merge pull request #10116 from colinux/minor-admin-fix
ETQ admin: ajoute des messages manquants dans la liste des modifications d'annotations privées
2024-03-14 16:14:52 +00:00
Colin Darie
8fa6e04c53
fix(export): turbo poll when creating an export 2024-03-14 14:04:25 +01:00
Colin Darie
505b48bfb6
chore(admin): add missing translations for revision changes in private champs 2024-03-14 13:17:39 +01:00
Colin Darie
0c2d1b2cf6
Merge pull request #10111 from colinux/fix-procedure-logo-dark-theme
Usager: logos transparents de démarches plus visible avec le thème sombre
2024-03-14 11:28:10 +00:00
Colin Darie
4d53bdcae5
chore: remove download link of pdf form of closed procedure 2024-03-14 10:47:13 +01:00
Colin Darie
7fbf3feb5d
style(dark): minor dark theme fix text in button 2024-03-14 10:06:52 +01:00
Colin Darie
0bf7f26112
style(dark): white background behind transparent procedure logos in dark theme 2024-03-14 10:06:51 +01:00
Eric Leroy-Terquem
0a8075d8a4 fix(maintenance task): pass a collection instead of an array 2024-03-13 16:02:25 +01:00
Eric Leroy-Terquem
237b21025a fix(data): update procedure with duree_conservation greater than max_duree 2024-03-13 11:09:36 +01:00
Colin Darie
4ce8e75001 chore(service): maintenance tasks refreshing geocoding 2024-03-13 11:02:14 +01:00
Colin Darie
578f19b000 chore(service): limit geocoding area to INSEE code commune 2024-03-13 10:40:39 +01:00
mfo
5dda05d710
Merge pull request #10100 from mfo/US/cleanup-champs-after-passer-en-construction
fix(email_validation): allow email with specific format
2024-03-12 17:09:39 +01:00
Colin Darie
a8a23f55a6
Merge pull request #10097 from colinux/fix-email-event-with-invalid-to-fields
Tech: pas d'erreur EmailEvent lorsque le message ne peut pas avoir plusieurs destinataires
2024-03-12 15:29:52 +00:00
Colin Darie
fc1c6bb412
Merge pull request #10103 from tchak/dossier-vide-from-procedure
refactor(dossier_vide): use types_de_champ instead of empty dossier
2024-03-12 15:29:24 +00:00
Colin Darie
ee92668611
Merge pull request #9930 from demarches-simplifiees/add-external-link-to-procedure
ETQ admin lorsque je clos une démarche je peux alerter les usagers et je crée une page de fermeture si la démarche n'est pas redirigée dans DS
2024-03-12 15:03:30 +00:00
Colin Darie
a5c142a702
Merge pull request #10101 from mfo/fix-merge-fork
fix(rebase): destroy_all to cascade on dependencies
2024-03-12 14:51:49 +00:00
Colin Darie
0d2f5547e0
Merge pull request #10076 from mfo/US/fix-expert-dossier-export
correctif(Export.export): ETQ expert téléchargeant un dossier et toutes ses PJs, la messagerie n'est pas dans l'export quand la procedure ne l'autorise pas. L'export ne contient pas les annotations privées
2024-03-12 14:09:48 +00:00
Paul Chavard
aa0aea1543 refactor(dossier_vide): use types_de_champ instead of empty dossier 2024-03-12 14:23:07 +01:00
Colin Darie
5f826cfd88
Merge pull request #10095 from demarches-simplifiees/fix_multiple_error_message_on_regexp
Admin: corrige un bug ou un message d'erreur d expression regulière apparaissait plusieurs fois
2024-03-12 13:07:25 +00:00
Colin Darie
745d7d62b5
Merge pull request #10096 from colinux/fix-add-instructeur-without-valid-email
ETQ instructeur je ne dois pas pouvoir inviter un instructeur avec une adresse email invalide
2024-03-12 11:11:36 +00:00
Martin
064f926428 fix(rebase): destroy_all to cascade on dependencies (destroy geoareas) 2024-03-12 11:39:00 +01:00
Martin
2468d528fd fix(email_validation): use truemail regexp 2024-03-12 11:29:31 +01:00
mfo
a106394e89
Merge pull request #10098 from colinux/dont-report-every-invalid-auth-token
Tech: ne remonte plus que 10% des InvalidAuthenticityToken errors
2024-03-12 09:04:57 +00:00
Lisa Durand
2d186a7292 add svg in view 2024-03-11 17:29:47 +01:00
Colin Darie
00d023184d
chore(sentry): don't report every InvalidAuthenticityToken 2024-03-11 17:06:38 +01:00
Eric Leroy-Terquem
a5cfafbf27 db(bulk messages): backfill bulk_messages with procedure_id 2024-03-11 16:59:06 +01:00
Eric Leroy-Terquem
31ba16da02 db(bulk messages): destroy bulk_messages without procedure or groupe instructeur 2024-03-11 16:59:06 +01:00
Eric Leroy-Terquem
c96d86a64b style(procedure removed banner): add links for email and telephone 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
d3c26591c8 feat(user dossiers): update messages when procedure is closed 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
d800213920 feat(procedure): add closing details page 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
facb38b539 db(procedure): add a maintenance task to backfill closed procedures with closing reason 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
8c322353c7 feat(procedure): add alert on admin show when procedure closed 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
c95f0f1cad feat(procedure): send notifications after closing 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
1bbf35a6ba dsfr(toggle): add attributes to toggle component 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
74903d79bf feat(procedure): update archiving to add closing reason and closing details 2024-03-11 15:48:28 +01:00
Paul Chavard
a865e00f4d fix(apply_diff): one more time 2024-03-11 15:13:56 +01:00
Colin Darie
de56eadb43 fix(email): don't fail when to header is invalid when email contains < 2024-03-11 13:11:25 +01:00
Colin Darie
bfba80a5ce fix(instructeur): don't try to create instructeur with an invalid email 2024-03-11 12:29:06 +01:00
mfo
d9b6db8ebc
Merge pull request #10092 from mfo/US/fix-dossier-vide
correctif(dossier.pdf): ETQ usager, je souhaite pouvoir visualiser un formularie au format PDF
2024-03-11 10:56:02 +00:00
simon lehericey
2bec15b78f fix multiple error message on regexp 2024-03-11 11:41:31 +01:00
Paul Chavard
9afe71529e fix(addresse): lookup for city, departement and region name in local db 2024-03-11 10:49:56 +01:00
Martin
75ea596e48 fix(commencer#dossier_vide): use repetition added_champs from repetition instead of creating/iterating over not persisted champs 2024-03-11 10:15:42 +01:00
Paul Chavard
72e27eb7b4 fix(dossier): safely remove child champs in apply_diff 2024-03-11 09:17:03 +01:00
Martin
5b9276e1ba Revert "Merge pull request #10082 from tchak/fix-address-city_name"
This reverts commit 3febf1bafd, reversing
changes made to 6ec7a87bcb.
2024-03-08 17:15:28 +01:00
mfo
14266232a4
Merge pull request #10084 from mfo/US/fix-rebase-when-repetition-was-removed
fix(rebase): rebase a dossier when its repetition had been removed on newer version of published_revision crashes
2024-03-08 16:15:00 +01:00
Martin
4a26b61d1b fix(rebase): rebase a dossier when its repetition had been removed on newer version does not crash 2024-03-08 15:55:50 +01:00
Paul Chavard
5c8a5248a2 fix(section): display sections inside repetitions 2024-03-08 15:53:20 +01:00
Paul Chavard
b219b366ff
Merge pull request #10083 from tchak/fix-migration-task
fix(effectif): bug in maintenance task
2024-03-08 14:34:56 +00:00
Paul Chavard
3febf1bafd
Merge pull request #10082 from tchak/fix-address-city_name
fix(graphql): no crash on address type without city_name
2024-03-08 13:40:47 +00:00
Paul Chavard
6ec7a87bcb
Merge pull request #10080 from demarches-simplifiees/add-dependent-destroy-on-contact-information
Correctif : supprime l'information de contact à la suppression du groupe instructeur
2024-03-08 12:15:27 +00:00
Paul Chavard
a898675145
Merge pull request #10081 from mfo/US/fix-motivation-tags
correctif(attestation): ETQ usager, je ne souhaite pas voir apparaitre des balaises HTML dans mon attestation au format pdf
2024-03-08 12:14:57 +00:00
Paul Chavard
0a96405376 fix(effectif): bug in maintenance task 2024-03-08 13:09:09 +01:00
Paul Chavard
9629395450 fix(graphql): no crash on address type without city_name 2024-03-08 12:53:53 +01:00
mfo
0013528deb
Merge pull request #10065 from mfo/US/secu-email
fix(email.validation): some nasty tests
2024-03-08 09:05:03 +00:00
Martin
d0e2df1aa0 fix(attestation): strip all tags from attestation 2024-03-08 09:57:28 +01:00
krichtof
1024557081
Merge pull request #10041 from demarches-simplifiees/10029-filter-kind-usager
ETQ admin, je peux filtrer toutes les démarches par type d'usager
2024-03-08 08:23:26 +00:00
Eric Leroy-Terquem
6651b36fe4 db(migration): add closing_reason and closing_details to procedure 2024-03-07 19:00:46 +01:00
Eric Leroy-Terquem
877e1f79cc fix(groupe instructeur): add a dependent destroy on contact information 2024-03-07 16:33:17 +01:00
Paul Chavard
3b13595a41
Merge pull request #10027 from mfo/US/input-state-valid-after-update
correctif(Champs::Civilite): ETQ usager, j'aimerais que le champs de type civilité ait le même style d'erreur que les autres
2024-03-07 14:03:06 +00:00
simon lehericey
8dea936d41 double callback on FC based on the request host 2024-03-07 12:14:58 +01:00
Martin
f4d2f1ddf5 fix(export.pdf): expert should not have access to messagerie when it was disabled 2024-03-07 08:39:32 +01:00
Christophe Robillard
c01914bc24 update zones for new government 2024-03-06 21:18:09 +01:00
Martin
84f995bd47 fix(expert.export): expert should not have access to include_infos_administration 2024-03-06 17:28:47 +01:00
Martin
0519dece96 fix(Champs::Civilite): fix dsfr missing red feedback, add green feedback 2024-03-06 15:56:36 +01:00
Eric Leroy-Terquem
418bb8c00f fix(attestation depot): define organisme on contact_information as on service 2024-03-06 10:47:19 +01:00
Eric Leroy-Terquem
43e870e9ec fix(attestation depot): run routing engine before sending notifications 2024-03-06 10:47:19 +01:00
Eric Leroy-Terquem
3f6b6ccc63 fix(attestation depot): display groupe information contact if dossier is routed 2024-03-06 10:47:19 +01:00
Paul Chavard
cf684ffd40
Merge pull request #10050 from tchak/fix-batch-motivation
ETQ Instructeur je veux attribuer la motivation correcte à ma décision
2024-03-05 17:01:54 +00:00
Paul Chavard
a9bf809ea3
Merge pull request #10069 from mfo/US/fix-spread-dossier-deletion-task
tech(spread_dossier_deletion_task): query on date time range not on date
2024-03-05 15:27:09 +00:00
Martin
0ea90e036e fix(email.validation): some nasty tests 2024-03-05 16:27:07 +01:00
Paul Chavard
1243cfefeb fix(entreprise): graphql effectif 2024-03-05 16:00:28 +01:00
Martin
4f85082034 fix(spread_dossier_deletion_task): query on date time range not on date 2024-03-05 14:25:16 +01:00
Paul Chavard
a247ec6c12
Merge pull request #9695 from tchak/use-types-de-champ-as-source-of-truth
refactor(dossier): use revision as source of truth to diplay champs
2024-03-04 15:03:02 +00:00
Paul Chavard
7a727e2bd2
Merge pull request #10051 from demarches-simplifiees/fix-france-connect-warning
Correction : etq usager je ne vois pas le bandeau indiquant que je suis connecté avec France Connect
2024-03-04 11:44:25 +00:00
Paul Chavard
124466a6a2
Merge pull request #10060 from tchak/fix-improuve-municipalities-handling-by-ban-api
fix(adress): show postal code on municipalities
2024-03-04 11:11:38 +00:00
Paul Chavard
c596b6e37d
Merge pull request #10061 from tchak/fix-adresse-champ
fix(address): nullify data when empty or invalid address is entered
2024-03-04 10:54:07 +00:00
Eric Leroy-Terquem
125724d416 feat(dossier): display france connect information notice only to instructeur 2024-03-04 11:30:19 +01:00
Paul Chavard
662917799b refactor(dossier): remove champ ordered scope 2024-03-04 10:59:11 +01:00
Paul Chavard
1193c866bf refactor(dossier): has_annotations? 2024-03-04 10:59:11 +01:00
Paul Chavard
9b26dedab4 refactor(dossier): make new methods arguments named 2024-03-04 10:59:11 +01:00
Martin
436caa2305 fix(repetition): re-add repetition style and indexing 2024-03-04 10:59:11 +01:00