mfo
d90c55c29e
Merge pull request #9762 from tchak/fix-email-template
...
fix(email_template): less magic - less bugs !
2023-12-05 09:56:53 +00:00
mfo
dbfbaf4cea
Merge pull request #9757 from mfo/US/fix-extends-duree-conservation-dossier
...
correctif(expiration): etends la durée de conservation des dossiers quand la duree de conservation d'une procedure change
2023-12-04 09:18:45 +00:00
Paul Chavard
3de0367ed9
fix(email_template): less magic - less bugs !
2023-11-29 20:36:44 +00:00
Martin
57d7b385ec
correctif(expiration): etends la durée de conservation des dossiers quand la duree de conservation d'une procedure change
2023-11-28 16:59:41 +01:00
Colin Darie
64400b512c
Merge pull request #9677 from govpf/feature-ouidou/clone_procedure_with_feature_flags
...
ETQ admin, les procédures clonées conservent les features flags
2023-11-28 08:21:02 +00:00
seb-by-ouidou
c4ca381bed
feat: enable features on cloned procedure
2023-11-27 12:00:27 +01:00
Colin Darie
5d747ba0c2
fix(procedure): list piece justificative in repetitions
2023-11-27 11:08:39 +01:00
Martin
66cf41b6d2
amelioration(procedure.duree_conservation_dossiers_dans_ds_changes): reset les flag d'expirations lorsqu'on change la date de conservation des dosseirs d'une procedure
2023-11-17 11:33:14 +01:00
Martin
3186b0aa68
tech(refactor): centralise/documente les constantes de duree de retentions dans le ns dedié à l'expiration
2023-11-17 11:33:14 +01:00
Kara Diaby
c53d35401e
Tests
2023-11-10 08:54:27 +00:00
Eric Leroy-Terquem
70cc8dac4c
fix(procedure): do not route cloned procedures from different admin
2023-09-21 15:24:17 +02:00
Christophe Robillard
587960cfd9
clone groupe instructeur service
...
if admin owns original procedure
2023-09-11 08:58:04 +02:00
Paul Chavard
08f0184700
fix(procedure): accept dpo emails with accents
2023-07-18 15:16:31 +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
Colin Darie
6fa7ed1c1f
Merge pull request #9279 from colinux/fix-email-default-template
...
Correctif: utilise le template d'email de notification par défaut quand la démarche n'a pas personnalisé le sien
2023-07-06 09:30:04 +00:00
Colin Darie
edc790be8f
test: remove false positive warning about expect.not_to raise(SpecificError) syntax
2023-07-06 10:56:01 +02:00
Paul Chavard
9cfbc75f25
spec(procedure): test url validator
2023-07-06 10:27:43 +02:00
Colin Darie
ec244f1a94
fix(procedure): auto_archive_on must be in future
2023-06-01 16:49:52 +02:00
simon lehericey
6148f24387
Revert "Merge pull request #9002 from tchak/feat-procedure-clone-preview-published"
...
This reverts commit 7a6f46a8ad
, reversing
changes made to 4513c52213
.
2023-05-12 11:29:11 +02:00
Paul Chavard
7a6f46a8ad
Merge pull request #9002 from tchak/feat-procedure-clone-preview-published
...
ETQ Administrateur, je veux cloner la version publiée des démarches en production
2023-05-05 14:36:03 +00:00
Martin
2135985583
correctif(procedure.clone): ET admin, je souhaite pouvoir cloner une procedure ayant deux groupes d'instructeur ayant le dernier fermé
2023-05-05 11:09:06 +02:00
Paul Chavard
616188bfe3
feat(administrateur): when clone or preview procedure should use published revision if not the owned
2023-05-04 16:15:55 +02:00
simon lehericey
0934a672fe
fix: defaut_groupe_instructeur for a cloned procedure from another admin without a group with default label
2023-04-26 10:52:31 +02:00
simon lehericey
dce2bf3209
spec: move procedure.clone in subject, to enable future before
2023-04-26 10:47:51 +02:00
simon lehericey
a202a57988
fix: defaut_groupe_instructeur_id for a cloned procedure
2023-04-21 12:20:50 +02:00
Colin Darie
7aba5ccc3e
chore(rubocop): fix Rails/DurationArithmetic
2023-04-19 12:55:13 +02:00
simon lehericey
f6948cfd5e
feat(routing): record first groupe as default_groupe_instructeur
2023-04-13 10:36:42 +02:00
Colin Darie
d6887f8aa4
fix(procedure): clone reset estimated_dossiers_count
2023-03-07 19:11:30 +01:00
Christophe Robillard
9ff88db48c
publish only some opendata procedures for datagouv
...
- only published or closed procedures
- only procedures with flag opendata
- only procedures with 4 or more dossiers
- only procedures without word "mail" in lien_site_web
- only procedures without word "intra" in lien_site_web
2023-02-28 17:02:08 +01:00
Christophe Robillard
bd92291f8a
cache dossiers count
2023-02-21 10:06:07 +01:00
simon lehericey
528b2c2b88
fix(procedure): valid juridique on create and publication
2023-01-11 14:05:17 +01:00
Christophe Robillard
11a18516b2
remove feature flag zonage
2022-12-21 09:02:16 +01:00
Paul Chavard
cafda4f6f0
refactor(attestation_template): move to procedure
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
e6288c39f2
refactor(dossier): champs -> champs_public
2022-11-10 22:44:39 +00:00
Paul Chavard
95f65900d3
refactor(active_storage): no download on clone
2022-11-10 12:25:55 +00:00
Paul Chavard
33fc8a45ab
feat(emails): show email errors on procedure page
2022-11-04 09:08:41 +00:00
Paul Chavard
03c714e86d
test(flipper): cleanup flipper calls in tests
2022-10-12 14:14:30 +02:00
simon lehericey
ceaf8ebbe7
fix: orphan tdc due to reset_draft
2022-10-07 17:44:30 +02:00
Christophe Robillard
272c8cae09
cannot publish a procedure if no zones
2022-10-07 10:48:35 +02:00
Christophe Robillard
bdcb451d3c
procedure publiee must have one zone at least
2022-10-07 10:48:35 +02:00
Martin
a256dfbaa0
fix(spec): missed a failed spec previously. sorry
2022-10-06 15:34:29 +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
5f2b290407
feat(Procedure.clone): reset subject.duree_conservation_dossiers_dans_ds when procedure.duree_conservation_etendue_par_ds was extended. only extends it on demand otherwise admin could clone old procedure with higher duree_conservation_dossiers_dans_ds
2022-08-31 14:56:00 +02:00
Martin
6e31decc2d
feat(Procedure.clone): stop cloning procedure service which is confusing for some administrateurs
2022-08-31 14:56:00 +02:00
Paul Chavard
2d7803cd48
refactor(spec): use new procedure.types_de_champ factory
2022-08-04 12:10:32 +02:00
Paul Chavard
21d47fa875
test(factory): spec new procedure.types_de_champ factory
2022-08-02 16:21:33 +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
Paul Chavard
fb37f8c5a8
fix(dossier): fix some reset draft changes edge cases
2022-07-06 16:52:12 +02:00