Commit graph

75 commits

Author SHA1 Message Date
Eric Leroy-Terquem
30f96a79c2 chore(bulk messages): update associations 2024-03-22 14:52:34 +01:00
Eric Leroy-Terquem
877e1f79cc fix(groupe instructeur): add a dependent destroy on contact information 2024-03-07 16:33:17 +01:00
Eric Leroy-Terquem
d92155a96a
Merge pull request #9714 from demarches-simplifiees/add-not-include-operator
ETQ admin je peux conditionner / router à partir d'un champ de type choix multiple avec l'opérateur "Ne contient pas"
2023-11-22 16:29:24 +00:00
Eric Leroy-Terquem
a54d55486c chore(routing): update routing_rule validation 2023-11-22 13:01:44 +01:00
Eric Leroy-Terquem
61ba089203 feat(manager): add routing rule in groupe instructeur show 2023-11-17 15:11:05 +01:00
Eric Leroy-Terquem
f945c02c3c feat(conditional): add exclude operator 2023-11-16 10:27:03 +01:00
Eric Leroy-Terquem
6c959d9d4e refactor(groupe instructeur): use logic validation system for routing
rule"
2023-11-06 17:44:40 +01:00
Eric Leroy-Terquem
cf80fd03e1 chore(routing): update routing_rule validations 2023-11-06 15:25:45 +01:00
Paul Chavard
d76123831c fix(drop_down_list): fix other option with combobox and some cleanup 2023-10-27 18:11:26 +02:00
Christophe Robillard
5482863eea add signature to groupe_instructeur 2023-09-22 10:24:16 +02:00
Eric Leroy-Terquem
60e5abd266 feat(routing): add departements options to value tag if routing by epci 2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
d1cf60585a feat(routing): add departements options to value tag if routing by communes 2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
e9760e5aa3 feat(routing): add regions options to value tag 2023-09-13 10:22:00 +02:00
krichtof
5aabce488b
Merge pull request #9425 from demarches-simplifiees/9356-service-gi
ETQ Usager, je veux voir dans mon dossier les informations de contact de mon groupe instructeur
2023-09-11 07:38:34 +00:00
Christophe Robillard
46dec40543 add contact information model 2023-09-08 11:04:06 +02:00
Eric Leroy-Terquem
32b446deee refactor(groupe instructeur): add valid_rule? method
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-05 15:59:11 +02:00
Eric Leroy-Terquem
e1ab65e62a feat(routing): can route from not_eq routing rules 2023-09-05 15:57:31 +02:00
LeSim
3e193675aa
Merge pull request #9392 from demarches-simplifiees/move-groupe-instructeur-validation-to-model
Tech : déplace une validation sur le groupe d'instructeurs défaut du controleur au modèle
2023-08-31 09:45:03 +00:00
Eric Leroy-Terquem
ca25788f07 feat(routing): use only department codes in routing rules 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
8d0fffe44f refactor(type de champ): extract codes_and_names method 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
4be9352781 feat(routing): add departements options to value tag 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
03202f3e98 chore(groupe instructeur): remove unused validation 2023-08-21 16:31:55 +02:00
Eric Leroy-Terquem
fc2c196cfa chore(groupe instructeur): move closed validation for defaut groupe to model 2023-08-21 16:31:54 +02:00
Martin
425d8867be amelioration(bulk_messages): ETQ instructeur, je peux envoyer un message aux usagers ayant un dossier en brouillon 2023-08-14 10:17:23 +02:00
Paul Chavard
0f6188a542 chore(annotate): remove model comments 2023-08-02 11:43:23 +02:00
Eric Leroy-Terquem
155a797aba feat(routing): update method checking if routling rule match tdc 2023-07-27 15:42:43 +02:00
Paul Chavard
04160b5d44 chore(dossier_assignment): avoid n+1 queries 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
f959450477
Merge pull request #9244 from demarches-simplifiees/refactor-routing-update
Tech : mise à jour du routage sans callback
2023-07-04 09:39:00 +00:00
Eric Leroy-Terquem
0c3426228f feat(routing): to_configure include invalid_rule and non_unic_rule 2023-07-04 10:04:35 +02:00
Eric Leroy-Terquem
b059e905cd feat(routing): add warning for groups with same rule 2023-07-04 09:53:00 +02:00
Eric Leroy-Terquem
b94e8edb67 refactor(routing): move toggle_routing to procedure model 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
3a667d39ba refactor(routing): rollback Procedure#instructeurs_self_management? 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
5416ec8226 refactor(routing): make toggle_routing public 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
2a3ffdf3c6 refactor(routing): do not use toggle_routing as a callback anymore 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
e78c22f33c refactor(groupe instructeur): extract method other_groupe_instructeurs 2023-06-15 14:14:47 +02:00
Eric Leroy-Terquem
50abf496fd add warning in gi pages in rule does not match tdc 2023-05-31 11:38:16 +02:00
simon lehericey
25ebfc4928 always set procedure.instructeurs_self_management_enabled to true when routing_enabled? 2023-05-31 11:38:16 +02:00
simon lehericey
5b0e0ced3c add groupes_management_component 2023-05-31 11:38:16 +02: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
simon lehericey
9c6af921e5 Use has_one defaut_procdre to avoid before destroy prepend 2023-04-19 13:52:42 +02:00
simon lehericey
bf737edec1 refactor: move serializer 2023-03-30 10:51:20 +02:00
simon lehericey
0ca7c805df feat(routing): serialize routing condition 2023-03-30 10:51:20 +02:00
Eric Leroy-Terquem
3ef6adccd6 feat(db): add routing column to groupe_instructeurs 2023-03-30 10:51:20 +02:00
Colin Darie
20d4a8153d
fix(groupe-instructeur): a closed groupe with an active groupe is a valid record 2023-03-02 16:34:18 +01:00
Paul Chavard
3c3629d151 refactor(instructeurs): add_instructeurs should add 2023-02-22 09:49:26 +01:00
Paul Chavard
fcd0f7c609 bring back find_or_create_instructeurs 2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
d0c432d939 refactor(groupe instructeur): move method to Instructeur model 2023-02-22 09:49:26 +01:00
Paul Chavard
afc1f12028 feat(graphql): implement add/remove instructeurs via API 2023-01-10 20:33:35 +01:00
Paul Chavard
378f3c5fb0 use join table instead of arrays 2023-01-05 16:20:18 +01:00
Paul Chavard
b8a9b7223c refactor(groupe_instructeur): improuve controller 2022-12-06 12:01:54 +01:00