Commit graph

56 commits

Author SHA1 Message Date
mfo
f819da8921
tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage 2024-06-11 09:57:36 +02:00
mfo
e3a24d53ea
tech(refactor): procedure::error_summary and dossier::ErrorsFullMessagesComponent use same behaviour to compact/expand errors 2024-06-11 09:39:20 +02:00
mfo
ef3ca9839b feat(procedure.validation): extract validation context: types_de_champ_public_editor, types_de_champ_private_editor and publication [combining both contextes]. validate conditions, headers_sections, regexp on type_de_champ_private too. dry validation 2024-06-04 18:25:24 +02:00
mfo
84c1a485e5 feat(Procedure.for_tiers_enabled): allow super admin to disable for_tiers 2024-05-06 15:56:22 +02:00
Lisa Durand
1246ef02b6
remove interpolation in duree_conservation… field 2024-04-16 17:55:12 +02:00
Lisa Durand
5231ce71a3
follow-up : admin better procedure infos form 2024-04-16 17:55:11 +02:00
Colin Darie
b336e1b606
chore(admin): fix hardcoded application names in translations 2024-04-16 17:55:09 +02: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
Eric Leroy-Terquem
74903d79bf feat(procedure): update archiving to add closing reason and closing details 2024-03-11 15:48:28 +01:00
Christophe Robillard
26a86d8003 filter all demarches by kind usager 2024-02-23 16:04:27 +01:00
Kara Diaby
46748091a6 Permet au Support de marquer une démarche comme modèle et de filtrer dans toutes les démarches 2024-01-31 09:30:14 +00:00
Eric Leroy-Terquem
42027e9db9 feat(manager): add champs de routage in procedure show 2023-11-17 15:11:05 +01:00
Lisa Durand
1de9130ab5 fix not displaying select on page close procedure and make the 2 buttons redirect to this page 2023-10-30 15:02:26 +01:00
Lisa Durand
aaddce074f remove alert for link and add alert for test and small wording changes 2023-07-20 15:23:38 +02:00
Lisa Durand
faf5cb8034 small design review : icon - spaces - placeholder 2023-07-19 15:51:11 +02:00
Lisa Durand
3e4fdc9004 change wording and margin 2023-07-17 17:46:26 +02:00
Lisa Durand
b86de113bd add i18n for publication page 2023-07-17 17:24:12 +02:00
Colin Darie
7225f1b023
fix(sva): not compatible with declarative procedure 2023-07-11 10:02:47 +02:00
Colin Darie
eb7f1f199a
feat(sva): block configuration changes when procedure is published 2023-07-11 10:01:46 +02:00
Eric Leroy-Terquem
7598b0a513 remove previous routing sytem code 2023-07-03 14:58:45 +02:00
Lisa Durand
9338a73362 add possibility to override generated pj list by admin 2023-06-22 09:50:38 +02:00
Eric Leroy-Terquem
2cc0baf4db fix typos in model locales 2023-06-12 15:13:25 +02:00
Colin Darie
ec244f1a94
fix(procedure): auto_archive_on must be in future 2023-06-01 16:49:52 +02:00
Lisa Durand
83884e08e3 remove duplicate translation and improve english translations 2023-05-25 17:24:23 +02:00
Lisa Durand
1c409f0145 use DSFR input components for form 2023-05-25 10:18:26 +02:00
Lisa Durand
7340206f81 rollback - add just one new field and use actual description field 2023-05-24 11:31:24 +02:00
Lisa Durand
4a51a9a351 add two more fields for procedure description what et and for_who 2023-05-22 15:36:48 +02:00
Paul Chavard
ce466d072a feat(manager): display procedure state and unpublished date 2023-04-19 19:59:54 +02:00
Christophe Robillard
5de0c8722e i18n for procedure attributes and values 2022-12-16 15:51:49 +01:00
Paul Chavard
00556715d6 fix(typography): fix quotes 2022-12-01 17:59:11 +01:00
Paul Chavard
c73b650f85 feat(attestation): validate attestation tags 2022-11-23 12:26:26 +01:00
Paul Chavard
29bdd82b59 refactor(procedure): types_de_champ -> active_revision.types_de_champ_public 2022-11-17 13:54:14 +01:00
Paul Chavard
b020cb31b6 fix(publication): improuve publication warnings 2022-11-08 10:20:35 +00:00
Christophe Robillard
29be3812af i18n for status 2022-10-31 16:12:02 +01:00
Colin Darie
3ae62d9c3a fix(routage): typo nommination => nomination 2022-10-11 10:03:14 +02:00
Martin
39990b90e3 correctif(traduction): certaines colonnes des démarches n'étaient pas traduite 2022-10-11 09:33:48 +02:00
Martin
405a885160 feat(procedure.max_duree_conservation_dossiers_dans_ds): make it more flexible 2022-10-05 17:27:09 +02:00
Martin
24c8dc5829 feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12 2022-07-18 14:08:53 +02:00
Martin
be090a1bec feat(administrateur/procedure#create): allow admin to add a lien to the DPO, allow user to consult link to dpo. enhance spec on _procedure_footer.html
Update spec/views/users/_procedure_footer.html.haml_spec.rb

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-04-27 15:09:02 +02:00
Pierre de La Morinerie
d680602c84 models: validate private types_de_champ 2022-02-01 12:37:16 +01:00
Pierre de La Morinerie
e8e37cce15 models: refactor the types_de_champ validators
Context: we want to validate public and private types_de_champ
separately.

Before we validated the whole revision (and then validators themselves
enumerated all champs, public and private).

Now we validate the actual public types_de_champ, which will let us
validate separately the private types_de_champ.
2022-02-01 12:37:16 +01:00
Pierre de La Morinerie
99c77046d2 models: improve error message for invalid champs
Avoid prepending the message with 'Draft revision '
2021-11-30 13:34:41 +01:00
Pierre de La Morinerie
745e19bb8e localize 2021-09-16 09:07:47 +02:00
Paul Chavard
e429c79eb1 Allow administrators to set themselves démarches as déclaratives 2019-12-04 12:30:26 +01:00
Paul Chavard
7b947feae4 Rename demarche archivée to demarche close 2019-11-28 15:07:16 +01:00
Paul Chavard
52e84f2ffe Add graphql object types 2019-09-24 10:47:21 +02:00
Pierre de La Morinerie
0eb21fe8c4 manager: localize model names 2018-11-13 11:20:12 +01:00
Paul Chavard
6e4d111e09 Refactor and fix procedure update error handling 2018-10-30 15:59:37 +01:00
Paul Chavard
78dc582588 Remove ProcedurePath 2018-10-30 12:01:45 +01:00
Frederic Merizen
42765efb91 [#1946] Add validation to durees conservation 2018-06-01 16:46:39 +02:00