Commit graph

5879 commits

Author SHA1 Message Date
Martin
44cdb14fb9 feat(type_de_champ_editor): move champs after another champ. 2024-03-22 10:10:28 +01:00
Martin
b8a155a7ee feat(type_de_champ_editor): show tdc position indexed starting at 1 not 0 2024-03-22 10:10:28 +01:00
Martin
015e606f50 fix(dossier.has_many.france_connect_informations): wip 2024-03-22 07:47:02 +01:00
simon lehericey
46087e4577 raise Error if generation fail 2024-03-21 21:03:21 +01:00
Colin Darie
17f9992722
Merge pull request #10040 from colinux/cross-domain-component
Prépare la bannière informant du changement de nom de domaine, avec redirection automatique le cas échéant
2024-03-21 14:58:29 +00:00
Eric Leroy-Terquem
058350df53 fix(administrateur): can delete administrateur with a discarded procedure with no dossier 2024-03-21 14:27:53 +01:00
Eric Leroy-Terquem
9139bfbf48 clean(administrateur): remove dead code 2024-03-21 14:27:53 +01:00
Colin Darie
f768801b7d
feat(registration): set preferred host on signup/signin 2024-03-21 13:15:36 +01:00
Colin Darie
4dd24f0925
chore: cross domain banner between APP_HOST_LEGACY and APP_HOST 2024-03-21 12:21:16 +01:00
simon lehericey
2ea6a5d25c remove now useless biz_dev module 2024-03-21 11:54:03 +01:00
simon lehericey
a42f85ef05 remove useless administration_id in invite_admin and invite_administrateur! 2024-03-21 11:54:02 +01:00
simon lehericey
5288ee4ab9 fix spec 2024-03-21 10:06:09 +01:00
Eric Leroy-Terquem
a89b471b5c
Merge pull request #10163 from demarches-simplifiees/fix-bulk-message-maintenance-task
fix(maintenance task): fix query and add a test
2024-03-21 08:26:09 +00:00
mfo
086cc1537b
Merge pull request #10068 from mfo/US/user-has-many-fcis
tech(User.FranceConnect): un usager peut avoir plusieurs profils FranceConnect, pas uniquement un
2024-03-20 16:30:39 +00:00
Eric Leroy-Terquem
dd7a407187 fix(maintenance task): fix query and add a test 2024-03-20 15:24:21 +01:00
Eric Leroy-Terquem
73d6609eb3
Merge pull request #10158 from demarches-simplifiees/fix-closing-reason-form
Correctif : ETQ admin je ne peux pas fermer une démarche en redirigeant sans choisir la nouvelle démarche
2024-03-20 13:28:40 +00:00
Lisa Durand
6c5c744411
Merge pull request #10119 from demarches-simplifiees/add-explanation-when-publish-with-same-url-ldu
ETQ admin j'ai un message d'explication si j'utilise une URL déja utilisée lors de la publication d'une démarche
2024-03-20 13:21:59 +00:00
Eric Leroy-Terquem
234f0d7a75 fix(data): update closing_reason to other if no replaced_by_procedure_id 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
e55531c6f4 fix(procedure): validates presence of replaced_by_id if procedure redirected 2024-03-20 14:04:59 +01:00
Paul Chavard
eff03aaf23 refactor(dossier): label indexes based on type_de_champ not champ 2024-03-20 09:58:47 +01:00
simon lehericey
ca17524559 Allow instructeur to have multiple agent_connect_information
AC will return two different sub depending of the domain demarches.gouv.fr or ds.
Both agent_connect_information are stored and the corresponding instructeur is found by its email.
We do not store anymore the agent_connect_id on the instructeur as the are many.
2024-03-19 21:17:45 +01:00
simon lehericey
759d729bf3 use AC autoconf discovery end_session_endpoint 2024-03-19 21:17:44 +01:00
Colin Darie
455086c1d7
fix(champs): don't fail on updated_at comparison when champ is not persisted 2024-03-19 11:46:08 +01:00
mfo
aafe6a7bb6
Merge pull request #10139 from mfo/US/fix-missing-champs-task
fix(data): apply fix missing champ via task. FV dossiers are poping way too much at helpdesk
2024-03-18 17:26:45 +00:00
Martin
2dac74916f fix(data): apply fix missing champ via task. FV dossiers are poping way too much at helpdesk
Co-authored-by: Colin Darie <colin@darie.eu>
2024-03-18 17:53:21 +01:00
Paul Chavard
f21192bb06
Merge pull request #10123 from tchak/fix-multiple-champ-copies-bug
fix(champ): fix multiple champ copies bug
2024-03-18 16:46:17 +00:00
Lisa Durand
72c4b23821 add last_champ_updated_at in export 2024-03-18 16:10:26 +01:00
simon lehericey
dca3727253 proper agent connect logout mechanism 2024-03-18 14:02:53 +01:00
simon lehericey
31b84fd770 store id_token 2024-03-18 14:02:53 +01:00
Kara Diaby
e73318e3bb
Merge pull request #10127 from demarches-simplifiees/feat/10005
ETQ expert, je veux pouvoir gérer les notifications que je reçois depuis mon interface
2024-03-18 12:27:37 +00:00
Kara Diaby
30df608a99 tests 2024-03-18 11:50:29 +00:00
Lisa Durand
b8cf19337f
Merge pull request #10131 from demarches-simplifiees/wording-page-stats-ldu
ETQ instructeur je souhaite mieux comprendre le graph "avancée des dossiers" en changeant le terme "démarrés"
2024-03-18 11:49:20 +00:00
Paul Chavard
1b2315cd45 fix(champ): fix multiple champ copies bug 2024-03-18 12:13:22 +01:00
Paul Chavard
8abe3fce79 add stable_id and stream 2024-03-18 11:34:55 +01:00
Lisa Durand
6b916493cb change wording on page stats 2024-03-18 10:39:11 +01:00
Eric Leroy-Terquem
94f37b6708
Merge pull request #10125 from demarches-simplifiees/destroy-procedure-without-administrateur-and-without-dossier
Correctif : supprime les démarches sans administrateur ni dossier
2024-03-18 08:48:52 +00:00
Paul Chavard
900db5624f refactor(champs): if champ not found - build it 2024-03-17 23:51:45 +01:00
Paul Chavard
fd2e253ebc refactor(champs): use ViewableChamp::SectionComponent 2024-03-17 23:51:45 +01:00
Paul Chavard
378e15e083 fix(api_geo): include Paris, Lyon and Marseille code INSEE in local data 2024-03-15 22:33:26 +01:00
Eric Leroy-Terquem
6322532805 fix(data): destroy procedure if no administrateur and no dossier 2024-03-15 16:30:03 +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
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
a60a082ec5 feat(file retrieval): add api_recherche_entreprises_service 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
Lisa Durand
e757eefd37 add message when path is already taken when publishing a procedure 2024-03-14 17:17:47 +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
Colin Darie
8fa6e04c53
fix(export): turbo poll when creating an export 2024-03-14 14:04: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
578f19b000 chore(service): limit geocoding area to INSEE code commune 2024-03-13 10:40:39 +01:00
Lisa Durand
1ce4d17ad5
Merge pull request #9961 from demarches-simplifiees/amelioration-wording-co-construction-ldu
ETQ usager: Mentionne d'autres acteurs possibles dans la description de la co-construction
2024-03-12 16:55:21 +00: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
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
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
2468d528fd fix(email_validation): use truemail regexp 2024-03-12 11:29:31 +01:00
Colin Darie
00d023184d
chore(sentry): don't report every InvalidAuthenticityToken 2024-03-11 17:06:38 +01:00
Eric Leroy-Terquem
5a098df525 test(procedure): add a system spec to test closing 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
c95f0f1cad feat(procedure): send notifications after closing 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
Colin Darie
bfba80a5ce fix(instructeur): don't try to create instructeur with an invalid email 2024-03-11 12:29:06 +01: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
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
0e54ca314d bug(rebase): rebase a dossier when its repetition had been removed on newer version of published_revision crashes 2024-03-08 15:46:11 +01: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
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
9425f2cc58 fix(user.france_connect_informations): has_many, not has_one 2024-03-08 09:44:21 +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
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
Christophe Robillard
05a7198442 remove useless spec 2024-03-06 21:18:09 +01: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
Martin
b468da9964 bug(user.fcis): users using more than one FranceConnect identity provider can not be destroyed 2024-03-05 14:03:02 +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
Eric Leroy-Terquem
125724d416 feat(dossier): display france connect information notice only to instructeur 2024-03-04 11:30:19 +01:00
Paul Chavard
f3a97876bd fix(champ): champs are not ordered anymore 2024-03-04 10:59:11 +01:00
Paul Chavard
2eb1f54aa1 refactor(dossier_loader): ignore champs from old revisions 2024-03-04 10:59:11 +01:00
Paul Chavard
8687d73a73 refactor(dossier): clone only current revision champs 2024-03-04 10:59:11 +01:00
Paul Chavard
deb19177f7 refactor(test): update tests 2024-03-04 10:59:11 +01:00
Martin
eb6b23347b fix(data): avoid destroying 2M dossiers in one day due to error in Cron::ExpiredDossiersTermineDeletionJob 2024-03-04 10:52:49 +01:00
Paul Chavard
e6d15172a0 fix(spec): update vcr cassette 2024-03-04 10:42:19 +01:00
Colin Darie
f342bcb58b
test(flipper): instance reset is now out-of-box 2024-03-03 00:13:03 +01:00