Commit graph

6843 commits

Author SHA1 Message Date
mfo
4ceadc3d28
fix(Users::Dossiers#brouillon): should only be accessible for having brouillon state 2025-01-06 14:07:11 +01:00
mfo
6a6a65b075
fix(spec): update specs 2025-01-03 13:58:41 +01:00
Colin Darie
ef62a48bd7
Merge pull request #11166 from demarches-simplifiees/fix-11124
ETQ instructeur, je reçois un mail « Des dossiers traités vont bientôt être supprimés » qui m’incite explicitement à « télécharger » - et non plus à « archiver » - mes dossiers
2024-12-20 16:46:26 +00:00
Colin Darie
520cef7022
Merge pull request #11163 from colinux/sva-without-declarative
ETQ admin je suis informé que je ne peux pas activer le SVA/SVR si la démarche est déclarative et vice-versa
2024-12-20 11:34:39 +00:00
Mathieu Magnin
eef8d95ec4
[#11103] Add test to improve coverage 2024-12-20 11:43:07 +01:00
Mathieu Magnin
55eb06974c
[#11103] Add include_archived flag on export 2024-12-20 11:43:06 +01:00
Mathieu Magnin
ff438df880
[#11124] fix wording 2024-12-20 11:21:41 +01:00
Colin Darie
43f5b14e5a
fix(sva): warn about conflict with declarative procedures
Closes #11162
2024-12-19 17:07:48 +01:00
Mathieu Magnin
5c45754341
Merge pull request #11156 from demarches-simplifiees/fix-current-user-triggers-authentication
Tech : Correction d'un comportement étrange sur la connexion par email / mot de passe
2024-12-19 16:03:48 +00:00
Corinne Durrmeyer
151c05074e
Merge pull request #10991 from demarches-simplifiees/a11y-form-fields
ETQ usager, je veux que les erreurs et les descriptions soient reliées aux champs concernés
2024-12-19 14:15:37 +00:00
Corinne Durrmeyer
c40277c0c6
fix(autosave): Add alternative text to icons 2024-12-19 13:44:34 +01:00
Mathieu Magnin
cfb7dcbb51
Override current_user by checking if a user is already authenticated to avoid triggering authentication if it is not the case https://github.com/heartcombo/devise/issues/5602\#issuecomment-1876164084 2024-12-19 12:02:28 +01:00
simon lehericey
9fff0087a9
fix: an invite cannot submit a fork (server side) 2024-12-19 11:05:44 +01:00
simon lehericey
49fbc9324f
fix: an invite can not submit a fork (UI side) 2024-12-19 11:05:44 +01:00
simon lehericey
4f95d0a155
pj attachment input described_by add champ.error_id target 2024-12-19 10:28:58 +01:00
simon lehericey
483b3c7f11
add hint_id to pj attachment described_by 2024-12-19 10:28:58 +01:00
simon lehericey
7b4d4dfe11
add role group on fieldset element 2024-12-19 10:28:58 +01:00
simon lehericey
96163d4ec1
spec on communes_component 2024-12-19 10:28:58 +01:00
simon lehericey
f25c40ef1c
spec for drop_down_list 2024-12-19 10:28:58 +01:00
simon lehericey
6e8e5a82b1
refactor: remove forbid_invite_submission!
submit_brouillon is only allowed for owner, so
- submit_brouillon is removed from ACTIONS_ALLOWED_TO_OWNER_OR_INVITE
- now that ensure_ownership! is trigger for a invite submit, the now duplicate forbid_invite_submission is removed
2024-12-19 10:22:44 +01:00
Colin Darie
4eb9322a4f
Merge pull request #11126 from colinux/fix-useless-exception
ETQ usager, pas d'erreur inutile lors d'un double callback FranceConnect
2024-12-19 08:32:23 +00:00
Paul Chavard
5e7585daea
ETQ Administrateur, je voudrais que les dossiers non terminés soient toujours sur la dernière révision 2024-12-18 11:41:39 +01:00
Mathieu Magnin
6e1a3b73ea
Merge pull request #11137 from demarches-simplifiees/fix-10952
ETQ Instructeur avec un compte en beta.gouv.fr ou modernisation.gouv.fr je suis automatiquement redirigé vers une connexion ProConnect
2024-12-17 16:00:40 +00:00
Colin Darie
cb5fa0050a
fix(fc): useless exception when user has already created 2024-12-17 15:59:01 +01:00
Colin Darie
123d363184
Merge pull request #11013 from colinux/admin-knows-api-fields
ETQ admin je suis informé des infos remontées par le champ SIRET
2024-12-17 14:12:58 +00:00
Colin Darie
bd90a79b48
Merge pull request #11144 from tchak/fix-fork-merge
fix(dossier): on fork merge, always remove previous champ version
2024-12-17 13:15:59 +00:00
Colin Darie
1f8325b172
Merge pull request #11131 from colinux/fix-edit-footer-logic
ETQ usager corrige le fait d'être informé d'un dossier inéligible dans certaines conditions
2024-12-17 10:47:03 +00:00
Colin Darie
467630c9d4
Merge pull request #11094 from colinux/fix-procedure-errors-summary-attestation
ETQ admin, corrige l'affichage dans le récap de modifications d'une erreur existant dans l'attestation v2
2024-12-17 10:40:22 +00:00
Colin Darie
d8ee89db29
fix(dossier): ineligibilite modal en construction/fork 2024-12-17 11:38:50 +01:00
Colin Darie
009e426c31
fix(dossier): show ineligibilite message on update 2024-12-17 11:38:49 +01:00
Colin Darie
eb682f1e64
refactor(admin): ineligibilite submit feedback 2024-12-17 11:38:49 +01:00
Colin Darie
a54f022353
fix(dossier/footer): don't say user can submit dossier when he can't 2024-12-17 11:38:48 +01:00
Paul Chavard
dc5bfb8159
fix(dossier): remove champ duplicates 2024-12-16 21:49:52 +00:00
Paul Chavard
9dd1973e18
fix(dossier): always remove previous champ version
If champ type_de_champ gets out of sync with its type, the persisted champ will not be part of the filled champs collection. In the merge code, we need to remove the previous champ, disregarding its type. The problem should have been caught earlier, but our unique index is not actually unique because our version of PG misses `NULLS NOT DISTINCT`. The unique index only works for champs in repetitions.
2024-12-16 21:49:51 +00:00
Kara Diaby
4c8c3be384
Adapte le style pour les avis 2024-12-16 15:57:17 +01:00
Kara Diaby
93a66de18b
fix apres retours 2024-12-16 15:57:16 +01:00
Kara Diaby
b0b203eaff
Améliore la liste des démarches pour l'interface instructeuer 2024-12-16 15:57:16 +01:00
Paul Chavard
6622d51741
migration(champs): remove non fillable champs and add repetition rows 2024-12-16 12:21:14 +00:00
simon lehericey
7b02aeb02e
fix spec 2024-12-13 11:37:21 +01:00
simon lehericey
5edd54b598
fix: verified_email from FC 2024-12-13 11:37:19 +01:00
simon lehericey
d3fb03082c
clean: french quote in trad file 2024-12-13 11:35:45 +01:00
Mathieu Magnin
9e03f94085
[#10952] Tests 2024-12-12 15:45:14 +01:00
simon lehericey
a362e95542
same for direct access by champ.value 2024-12-12 15:20:25 +01:00
simon lehericey
5f63ade97a
same for enums in columns 2024-12-12 13:20:12 +01:00
simon lehericey
c578c88f48
always show user choice even if no more in enum in columns 2024-12-12 13:20:05 +01:00
mfo
6e5aa90bc7
Merge pull request #10898 from mfo/US/navigation-accros-dossiers
ETQ instructeur, je peux passer au dossiers suivant ou au dossier précédent lorsque je visualise un dossiers d'un des onglet (a-suivre, tous, ...)
2024-12-11 14:03:48 +00:00
Paul Chavard
7462a43886
fix(dossier): add champs to dossiers in factories 2024-12-10 11:30:51 +01:00
Paul Chavard
b3701a12b4
fix(champ): always check if a champ is in a valid revision before validate 2024-12-10 11:30:51 +01:00
mfo
eea5758753
feat(Instructeurs#*): plugs next/prev dossier component on all required routes 2024-12-10 10:22:08 +01:00
mfo
b6e773f9fa
feat(Instructeurs::Dossiers#next/prev): add route to redirect user from a dossier id to either a next dossier, either a previous 2024-12-10 09:15:54 +01:00