mfo
9adb1bcf49
fix(ineligibilite_rules): cache bust champs.visible after checking for ineligibilite rules
...
Update app/models/dossier.rb
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-06-20 15:20:32 +02:00
Benoit Queyron
97ef01b075
Merge branch 'main' into etq-usager-bouton-jdma
2024-06-11 18:09:01 +02:00
mfo
f6a5e932b8
Merge pull request #10292 from mfo/US/elligible-on-submit
...
ETQ administrateur, je peux ajouter des conditions d'eligibilité auxquelles les dossiers doivent correspondre sans quoi l'usager ne peut déposer son dossier
2024-06-11 09:46:25 +00:00
mfo
f819da8921
tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage
2024-06-11 09:57:36 +02:00
mfo
a011576757
feat(procedure_revision.validates): ineligibilite_rules
2024-06-11 09:39:21 +02:00
mfo
c480bc00c3
feat(Users/Dossiers#submit_brouillon_or_en_construction): prevent transition to en_construction if ineligibilite_rules matches. pop error nicely
2024-06-11 09:32:54 +02:00
mfo
178685b34b
feat(TypeDeChampEditor): prevent to destroy a type de champ used by inligibilite rules
2024-06-11 09:32:54 +02:00
mfo
2210db3b81
feat(Dossier::EditFooterComponent): disable submit button when inligibilite_rules matches
2024-06-11 09:32:54 +02:00
mfo
5644692448
feat(Logic.computable?): add computable? to know if a ineligibilite_rules set is computable
2024-06-11 09:32:53 +02:00
mfo
5de4ce889f
feat(ProcedureRevision.ineligibilites_rules): keep track of changes and show it to admin for republication
2024-06-11 09:32:53 +02:00
mfo
aca3e38859
feat(ProcedureRevision.ineligibilite_rules): add ineligibilite_rules management to procedure revision based on conditional logic
2024-06-11 09:32:53 +02:00
mfo
12d23f1498
feat(Procedure::Cards::IneligibleDossier): add an ineligibilite dossier card to procedure dashboard
2024-06-11 09:32:53 +02:00
Benoit Queyron
a8e382d0d0
fix(clone): le lien monavis est reinitialise lors du clonage
2024-06-10 14:55:51 +02:00
Benoit Queyron
0983f35dfd
ajout d'un helper pour la source
2024-06-10 11:09:55 +02:00
mfo
73fe247c3d
feat(avis): ensure consistent ordering, use ASC ordering to give back most recent avis first
2024-06-05 17:50:32 +02:00
Kara Diaby
cb5ba455eb
Fixe bug sur toutes les démarches
2024-06-05 14:13:44 +00:00
mfo
5ef29a2f31
Merge pull request #10479 from mfo/us/enhance-procedure-validation
...
ETQ Admin, les erreurs liés aux formulaire usager et instructeurs sont plus consistantes
2024-06-05 05:14:45 +00: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
Paul Chavard
9753a91db6
feat(graphql): messages can be discarded through api
2024-06-04 17:41:26 +02:00
mfo
f14c88a54a
clean(spec): speed, avoid using with_all_champs factory. takes too much time when not needed
2024-06-04 15:34:34 +02:00
krichtof
45814fdbfb
Merge pull request #10454 from demarches-simplifiees/9827-add-specs
...
corrige quelques bugs de la feature export template (renommage dans le zip)
2024-06-04 13:18:12 +00:00
Christophe Robillard
ac23d5fb41
convert date with dash for export renaming
2024-06-04 10:32:14 +02:00
Paul Chavard
68c15ba99f
feat(champ): add updated_by column
2024-06-03 18:45:16 +02:00
simon lehericey
5d259ec47b
refactor(user): rename invite! -> invite_instructeur!
2024-05-31 14:53:49 +02:00
simon lehericey
607fbf5287
feat(user): block unverified_email from being sent
2024-05-31 14:53:49 +02:00
Kara Diaby
2371705efc
Merge pull request #10437 from demarches-simplifiees/feat/10332
...
Amélioration de la page toutes les démarches : Quick Wins
2024-05-29 13:50:04 +00:00
Paul Chavard
ed2f615f2b
Merge pull request #10468 from tchak/fix-handle-missing-siret-information
...
fix(dossier): handle missing siret information when dossier passe en instruction
2024-05-29 12:19:30 +00:00
Kara Diaby
7281f3ec1a
SQL pour renvoyer les zones dans ProcedureDetail
2024-05-29 11:45:31 +00:00
Paul Chavard
de209954e1
Merge pull request #10466 from tchak/fix-supprimes_recemment-should-include-archived
...
fix(instructeur): supprimes_recemment should include archived dossiers
2024-05-29 11:09:41 +00:00
Paul Chavard
eb9aad27c3
fix(dossier): handle missing siret information when dossier passe en instruction
2024-05-29 13:09:04 +02:00
Paul Chavard
5154231ccf
fix(dossier): batch operations to termine dossier should send emails
2024-05-29 11:31:58 +02:00
Paul Chavard
b06934b8d3
fix(instructeur): supprimes_recemment should include archived dossiers
2024-05-29 11:03:46 +02:00
Christophe Robillard
d61203e57c
remove dead code
2024-05-28 19:14:57 +02:00
Christophe Robillard
d9f7b6d1df
fix dossier directory for etablissement when export with export template
2024-05-28 18:25:38 +02:00
Christophe Robillard
2267ec98cf
fix dossier directory for attestation when export with export template
2024-05-28 18:25:37 +02:00
Christophe Robillard
ce6ebf3589
fix dossier directory for commentaire when export with export template
2024-05-28 18:25:37 +02:00
simon lehericey
fa06d17169
Feat(user): set email_verified_at when setting confirmed_at
2024-05-27 17:24:56 +02:00
simon lehericey
841c1cc845
Feat(user): verify user email during devise confirmation
2024-05-27 17:24:55 +02:00
Paul Chavard
1bca3c123b
chore(dossier): remove legacy update attributes
2024-05-27 10:33:37 +02:00
Colin Darie
3617368a35
fix(search): increase debounce delay because of too frequent brouillon updates
2024-05-27 09:57:05 +02:00
simon lehericey
e38999efda
perf(pj service): compute row_id without extraneous requests
2024-05-23 10:01:29 +02:00
simon lehericey
6184b33a18
perf(preloader): preloader use batch for batches
2024-05-23 10:01:29 +02:00
simon lehericey
ca12a56e6a
perf(zip): give champ to avoid seeking stable_id
2024-05-23 10:00:42 +02:00
simon lehericey
080bcd8628
refactor: DossierPreloader rename includes_for_dossier -> includes_for_champ
2024-05-23 10:00:41 +02:00
simon lehericey
e8a175d310
refactor: be explicite with memoization
2024-05-23 10:00:41 +02:00
simon lehericey
420520489d
refactor(tags_substitution): simplify
2024-05-23 10:00:41 +02:00
simon lehericey
d60e7906e0
refactor: memoize flat_tags
2024-05-23 10:00:41 +02:00
simon lehericey
e0c867f222
refactor: rename
2024-05-23 10:00:40 +02:00
simon lehericey
3af1cee240
refactor: simplify
2024-05-23 10:00:40 +02:00
simon lehericey
1c0bd3e0e5
refactor: remove unused data
2024-05-23 10:00:40 +02:00