seb-by-ouidou
0d2cd0fe5d
feat(procedure): hide as template
2023-09-19 11:21:27 +00:00
Eric Leroy-Terquem
588143f9fd
feat(routing): can create simple routing from epci tdc
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
370d853378
feat(routing): can create simple routing from communes tdc
2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
e255bb9929
refactor(routing): extract methods to create groups from tdcs
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
c2beca7d6d
feat(routing): can create simple routing from regions tdc
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
d0da808325
feat(routing): can add a routing rule with not_eq operator
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
2827db5263
feat(routing): can create simple routing from departements tdc
2023-08-29 15:50:42 +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
Eric Leroy-Terquem
7680d5093e
feat(routing): create routing rule for dropdown other option
2023-07-27 15:42:43 +02:00
Eric Leroy-Terquem
4749b43697
refactor(routing): use drop_down_options
2023-07-27 15:42:26 +02:00
Christophe Robillard
ef7b0c7377
alert admin with procedures without service
2023-07-27 10:08:30 +02:00
Christophe Robillard
beaf5751bb
alert admin with service without siret
2023-07-27 10:08:30 +02:00
simon lehericey
114bc9bd9b
clean: remove unused var
2023-07-19 09:56:35 +02:00
Eric Leroy-Terquem
0e58e10b82
refactor(DossierAssignment): move create_assignment to assign_to_groupe_instructeur
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
96d17d03ec
feat(DossierAssignment): create assignments when admin reaffect all dossiers
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
082db0ed02
feat(DossierAssignment): create Assignment when admin reaffect dossiers
2023-07-18 16:54:00 +02:00
Lisa Durand
7b1b771b25
fix fropdown navbar profile
2023-07-12 18:07:10 +02:00
Colin Darie
8c210e6fc7
feat(admin): config sva/svr
2023-07-11 10:01:45 +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
1923eb7d23
feat(routing): filter with only one form
2023-07-04 10:04:55 +02:00
Eric Leroy-Terquem
1b5f3a67eb
feat(routing): filter only groups to configure
2023-07-04 10:04:35 +02:00
Eric Leroy-Terquem
7598b0a513
remove previous routing sytem code
2023-07-03 14:58:45 +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
2eb3685d38
refactor(routing): do not disable instructeurs_self_management when reseting routing
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
d6fea4ed95
refactor(routing): toggle routing when custom routing
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
520050933e
refactor(routing): toggle routing when simple routing
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
f03d10e246
perf(routing): use instance variable of procedure
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
5929c8354c
refactor(routing): toggle routing when destroy group
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
ebb48b0aec
refactor(routing): toggle routing from controller
2023-07-03 14:47:56 +02:00
Lisa Durand
9338a73362
add possibility to override generated pj list by admin
2023-06-22 09:50:38 +02:00
Colin Darie
f675d2d1a7
Merge pull request #9196 from colinux/fix-admin-publication-errors
...
ETQ admin je veux voir les erreurs lorsque la (re-)publication échoue
2023-06-14 09:56:46 +00:00
Paul Chavard
b3aeb46c1b
fix(prefill): it should be possible to prefill a dossier on a test procedure
2023-06-14 09:14:12 +01:00
Colin Darie
889940af2a
fix(administrateur): renders errors when publication fails
2023-06-13 19:11:59 +02:00
Eric Leroy-Terquem
5f1709f62d
add a flash notice after reset draft
2023-06-13 09:34:48 +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
Eric Leroy-Terquem
692010fa32
destroy all groups but defaut
2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
526f70f9c0
add wizard
2023-05-31 11:38:16 +02:00
simon lehericey
01caa498d3
add simple_routing
2023-05-31 11:38:16 +02:00
simon lehericey
8b568c2035
add ajout
2023-05-31 11:38:16 +02:00
simon lehericey
6b3447d71b
add options
2023-05-31 11:38:16 +02:00
simon lehericey
174f7a7c53
add one_groupe_management_component
2023-05-31 11:38:16 +02:00
simon lehericey
142ac9173d
add groupes_search_component
2023-05-31 11:38:16 +02:00
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
...
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
Lisa Durand
7340206f81
rollback - add just one new field and use actual description field
2023-05-24 11:31:24 +02:00
Eric Leroy-Terquem
00561999ec
fix(type de champ): do not raise error if tdc already destroyed
2023-05-23 15:52:51 +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
Lisa Durand
7e39e8113b
feedback PR Colin
2023-05-16 17:54:37 +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
f563fb3269
Merge pull request #8990 from tchak/fix-limit-textarea-size
...
ETQ administrateur, je veux pouvoir limiter le nombre de caractères dans les champs "texte long"
2023-05-05 14:54:41 +00:00
Paul Chavard
fe041b4c6c
fix(textarea): fix character limit option
2023-05-05 16:36:51 +02:00
Paul Chavard
471da7eb61
Revert "Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739""
...
This reverts commit 909d726429
.
2023-05-05 16:36:51 +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
Nicolas Cavigneaux
940405cea8
fix: Avoid Brakeman warning about insecure redirect
2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
3aa6a5e28e
fix: url helper method calls for files
2023-05-03 11:35:28 +02:00
Paul Chavard
909d726429
Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739"
...
This reverts commit 04fbfa15b7
, reversing
changes made to aac1cc7161
.
2023-04-28 16:08:24 +02:00
Kara Diaby
f3f49941b6
Ajoute un compteur sur les champ de type textarea sur l'interface usager
2023-04-27 10:28:43 +02:00
LeSim
4c5e903673
Merge pull request #8887 from demarches-simplifiees/8839-filter-by-siret
...
Filtrer les démarches par service
2023-04-26 19:44:08 +00:00
Paul Chavard
586286cb08
Merge pull request #8916 from demarches-simplifiees/can-update-defaut-groupe-instructeur-2
...
feat(routage): permet de changer le groupe par défaut
2023-04-20 08:28:46 +00:00
simon lehericey
e64ac79f05
tech(refactor): much nicer code, thx LeSim
...
root -> rooted_tree
depth_cach -> walk
smal refactor
comment
remove form for header_section
remove seen_at from header section
header_section: champ -> header_section
champ_subree: remove if not
remove root_depth use header_section_level_value instead
remove unused include
remove ChampTreeComponent
rename ChampsSubtreeComponent to SectionComponent
use TreeableConcern only in section component
remove fields_for_champ_component
champs -> tail
add split_section_champ helper
refactor(editable_champ::header_section): keep same interface everywhere
fix(repetition): add spec for SectionComponent on repetitions
2023-04-20 08:22:02 +02:00
Martin
b9faa26560
amelioration(editeur-de-champs): permet de choisir un niveau de titre (de 1 à 3) pour les champs de type Champs::HeaderSectionChamp. Gère les erreurs dans le cas ou un administrateur supprimerait un HeaderSection qui casserait l'ordre des titre [ex: titre 1,2,3. et l'admin supprime le titre 1 et il reste que 2,3].
2023-04-20 08:22:02 +02:00
Eric Leroy-Terquem
aecd7559d2
feat(groupe instructeur): cannot disable default groupe instructeur
2023-04-19 13:52:42 +02:00
Eric Leroy-Terquem
09b05550ab
feat(groupe instructeur): cannot delete defaut_groupe_instructeur
2023-04-19 13:52:42 +02:00
simon lehericey
3889bdac73
refactor(routing): remove unused routing_params
2023-04-19 13:52:42 +02:00
simon lehericey
b38470368b
feat(routing): can change defaut groupe
2023-04-19 13:52:41 +02:00
Paul Chavard
8904516b85
chore(procedure): remove duplicate code
2023-04-19 13:00:37 +02:00
LeSim
c252748833
Merge pull request #8836 from demarches-simplifiees/improve-routing-rules-ux
...
feat(routing): nicer and safer ?
2023-04-17 08:23:15 +00:00
Paul Chavard
7054c2d9ef
fix(demarche): always reset outside of transactions
2023-04-13 11:05:38 +02:00
simon lehericey
c02319aa56
feat(routing): reset value if target as changed
2023-04-13 10:28:53 +02:00
simon lehericey
e27e18fdaf
refactor(routing): use selerialized logic in select value
2023-04-13 10:28:53 +02:00
simon lehericey
16565d099a
refactor(routing): add groupe_instructeur helper
2023-04-13 10:28:52 +02:00
simon lehericey
8b832396a3
feat(routing): server side: prevent changing tdc type if used for routing
2023-04-13 10:28:52 +02:00
simon lehericey
c1f67499aa
feat(routing): server side: prevent tdc deletion if used for routing
2023-04-13 10:28:52 +02:00
krichtof
78938b5a07
filter demarches by siret service
2023-04-12 18:53:57 +02:00
Eric Leroy-Terquem
eca11686e2
feat(routing): parse value
2023-03-30 10:53:00 +02:00
simon lehericey
b93e3776c4
feat(routing): add controller
2023-03-30 10:51:20 +02:00
Kara Diaby
74e4e2a1ce
controllers
2023-03-27 14:14:18 +02:00
Eric Leroy-Terquem
9e0753a710
fix(groupe instructeur mailer): do not notify if no added instructeurs
2023-03-08 11:03:33 +01:00
Eric Leroy-Terquem
9f0f5b0dc5
feat(groupe instructeur): allow import of many groups when procedure is not routed yet
2023-03-08 10:48:02 +01:00
Kara Diaby
cb0417aad4
Possibilité de selectionner plusieurs tags dans la page toutes les demarches
2023-03-03 11:50:47 +01:00
Eric Leroy-Terquem
f6c4986e86
feat(groupe instructeur mailer): do not notify group when instructeurs removed
2023-03-02 09:46:58 +01:00
Christophe Robillard
1d6c2fd7eb
display procedures without zones
2023-02-24 17:27:28 +01:00
Eric Leroy-Terquem
4ea1d7d33b
feat(groupe instructeurs import): notify added instructeurs
2023-02-23 10:56:55 +01:00
Eric Leroy-Terquem
a6e01d98ea
feat(instructeurs import): notify added instructeurs
2023-02-23 10:56:55 +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
Eric Leroy-Terquem
d45efa99bc
refactor(groupe_instructeurs): extract method for flash message at import
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
25df48f255
feat(groupe_instructeurs): import instructeurs in unrouted procedure with a proper CSV
2023-02-22 09:49:26 +01:00
Christophe Robillard
9bab4f9d76
display dossiers count for each procedure
2023-02-21 10:06:07 +01:00
Eric Leroy-Terquem
343cb5fce6
feat(groupe instructeur mailer): add emailing to added instructeurs
2023-02-20 15:41:19 +01:00
Paul Chavard
c0ad7853cb
fix(administrateur): procedure page n+1
2023-02-16 11:29:21 +01:00
Eric Leroy-Terquem
a46faf8cdf
feat(groupe instructeur mailer): make two kind of notifications for removed instructeur
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
5be58c8223
refactor(groupe instructeur mailer): rename mailer methods
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
cbf072961c
feat(groupe instructeur mailer): add emailing to removed instructeurs
2023-02-16 10:37:04 +01:00
Colin Darie
e626eb69ce
feat(admin): import groupe instructeurs csv when procedure is closed
2023-02-09 11:17:13 +01:00
Colin Darie
786c3d06d6
chore(sentry): set procedure tag to administrateur controller
2023-02-08 14:42:14 +01:00
Eric Leroy-Terquem
6cbc514d56
feat(groupe instructeurs): remove mailing when add instructeurs
2023-02-08 10:36:42 +01:00