Commit graph

6150 commits

Author SHA1 Message Date
mfo
43a7364229
Merge pull request #10522 from mfo/US/fix-submitted-dossier-error
Correctif: ETQ admin, j'aimerais pouvoir modifier le message de confirmation de dépôt de dossier
2024-06-21 03:22:48 +00:00
Colin Darie
372c732458
Merge pull request #10513 from colinux/helpscount-api
ETQ opérateur je peux supprimer les vieilles conversations helpscout
2024-06-20 19:57:46 +00:00
mfo
84cdeaa4cc
Merge pull request #10527 from mfo/US/fix-eligibilite-rules-caching-champs.visible
fix(eligibilite_rules): checking for eligibilites rules should not cache champs.visible
2024-06-20 14:11:11 +00:00
mfo
24d7b0b014
fix(ineligibilite_rules): prevent admin to enable ineligibilite rules without rules 2024-06-20 15:35:36 +02:00
mfo
cbe8d92f81
Merge pull request #10530 from demarches-simplifiees/a11y-fix-nav
Correction de la structure de navigation
2024-06-20 13:25:54 +00:00
Colin Darie
666b51fa9c
fix(textarea): merge data controllers from opts & autoresize 2024-06-20 14:31:05 +02:00
Colin Darie
f2669fbca8
fix(attestation): fix unspecified_attestation_champs for v2 2024-06-20 14:15:06 +02:00
Colin Darie
a2c0379127
test(attestation): preview pdf 2024-06-20 14:15:06 +02:00
Colin Darie
70aee9c9de
refactor(autosave): extract in component, better wording for attestation 2024-06-20 14:15:06 +02:00
Colin Darie
ce998f7864
feat(attestation): already published without publication when procedure is draft 2024-06-20 14:15:06 +02:00
Colin Darie
5bda9d0c63
test(attestation): fix wording after rebase 2024-06-20 14:15:05 +02:00
Colin Darie
cf58c48843
feat(attestation): can toggle activation 2024-06-20 14:15:05 +02:00
Colin Darie
cd07ee173f
feat(attestation): can reset draft attestation 2024-06-20 14:15:05 +02:00
Colin Darie
a540f8dccb
feat(attestation): can render & attach attestations v2 2024-06-20 14:15:05 +02:00
Colin Darie
ffd8c5617a
chore(attestation): card link to v2 if exist 2024-06-20 11:08:16 +02:00
Colin Darie
11d29f5574
chore(attestation): publish a v2 attestation 2024-06-20 11:08:15 +02:00
Colin Darie
4af6957237
fix(attestation): dup keep all attributes 2024-06-20 11:08:15 +02:00
Colin Darie
c5c24c01d8
chore(attestation): procedure#attestation_template always returns the published attestation 2024-06-20 11:08:15 +02:00
Corinne Durrmeyer
e5959b6081
Update test file 2024-06-18 15:13:54 +02:00
mfo
8cbf4753ff
bug(ineligibilite_rules): caching champs.visible without re-validation afterward means we can skip conditions 2024-06-17 16:40:31 +02:00
mfo
d1e983ed97
fix(EmailCheckerController): with partial email, should not raise error 2024-06-17 13:25:28 +02:00
Colin Darie
eaee4164a6
Merge pull request #10515 from colinux/contact-form-async
ETQ opérateur, le form de contact devient asynchrone et l'antivirus passe sur les PJ
2024-06-14 10:29:24 +00:00
Colin Darie
2dda5e44f9
chore(kredis): use default shared connection name, fixing dossier index debounce 2024-06-14 11:53:36 +02:00
mfo
2e1e1c060b
fix(dossier_submitted_message#edit): missing dossier for preview 2024-06-14 11:42:42 +02:00
Colin Darie
6fde2ede06
Merge pull request #10510 from colinux/tech-candies
Tech : 2 petites choses pratiques
2024-06-13 13:05:43 +00:00
Colin Darie
a1469b04fe
refactor(support): create HS conversation in async and run virus scanner on attachments 2024-06-13 13:27:51 +02:00
Colin Darie
939bc37eab
test(vcr): automatically redact bearer tokens 2024-06-13 11:16:53 +02:00
Colin Darie
9d4113befb
feat(helpscout): delete old conversations 2024-06-13 11:16:52 +02:00
mfo
8cb902821f bug(draft_types_de_champ_private.condition): condition must be validated with upper_tdcs. considering that types_de_champ_private can have a condition using a types_de_champ_public, we have to include all types_de_champs_public plus only types_de_champs_private.upper_tdcs 2024-06-11 16:05:45 +02:00
Colin Darie
7553a5fc52
test: don't trace coverage by default in local machines 2024-06-11 14:46:23 +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
03381c05b3
Merge pull request #10499 from mfo/US/email-check-with-levenshtein
tech: ETQ usager je souhaite une verification de mes mails plus efficace
2024-06-11 08:55:28 +00:00
mfo
8e3d45b0b1
review(pr): some enhancement, tx @colinux
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-06-11 10:48:10 +02: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
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
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
be5f580237
feat(Users/Dossiers#update): track changes live and pop modal when ineligibilite_rules matches 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
mfo
ab522a3e40
Merge pull request #10503 from mfo/US/fix-condition-validator-on-private-champ-using-public-tdc
Correctif: ETQ admin, je souhaite pouvoir utiliser des champs public pour conditionner une annotation privée
2024-06-10 09:33:22 +00:00
mfo
27b86f9848
fix(TypesDeChamp::ConditionValidator): allow to use types_de_champ_public on condition for types_de_champ_private 2024-06-10 11:26:01 +02:00
mfo
d2ccea700b
bug(TypesDeChamp::ConditionValidator): should allow to use types_de_champ_public on condition for types_de_champ_private 2024-06-10 09:35:29 +02:00
mfo
66eb3dc821
feat(email_check): change strategy to check email, dropping email_buttler package and using a custom EmailChecker 2024-06-07 16:09:32 +02:00
mfo
c813c02975
feat(EmailChecker.check): add class to search for typo in email addresses 2024-06-07 15:13:50 +02:00
Eric Leroy-Terquem
48c092a74a
test(gallery): test gallery helper 2024-06-06 12:17:56 +02:00
Eric Leroy-Terquem
05ad5dcbd6
feat(gallery): display large variant for rare image types 2024-06-06 12:01:40 +02:00
Colin Darie
d9451aa64b
Merge pull request #10463 from demarches-simplifiees/reorganize-config-expert-ldu
[admin] améliorer configuration des experts invités
2024-06-06 07:16:49 +00: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
mfo
f98517852f feat(spec.procedure_administrateurs_spec): les navigation and cases 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
Colin Darie
ec269a568c
fix(mailer): fix delivery prevented with bcc 2024-06-04 14:27:04 +02: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
Kara Diaby
8e093e88c2 Ajoute la méthode Acronomyze comme helper pour être utilisé sur la page toutes les démarches 2024-06-03 07:50:09 +00:00
Paul Chavard
27f15bbe07
Merge pull request #10070 from tchak/remove-vite-legacy
chore(js): remove vite legacy build
2024-05-31 19:56:17 +00:00
simon lehericey
819fa2cde2
feat(User): always allow reset_password_instructions 2024-05-31 14:53:50 +02:00
simon lehericey
7c514e3585
feat(user): always allow invitation mail 2024-05-31 14:53:50 +02:00
simon lehericey
8104157da6
feat(user): always allow devise mail 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
Paul Chavard
d44822cc1c
chore(js): remove vite legacy build 2024-05-31 14:17:59 +02:00
LeSim
abd2dae7a0
Merge pull request #10472 from demarches-simplifiees/block_dubious_email_adresse
Tech: block l'envoi de mails à des adresses douteuses
2024-05-31 08:32:43 +00:00
mfo
a278aac92f fix(spec): maj broken spec on main 2024-05-31 08:24:55 +02:00
Lisa Durand
ee203d1afc reorganize page config expert invites 2024-05-30 17:50:08 +02:00
Lisa Durand
291271f04b fix linter and specs 2024-05-30 17:05:01 +02:00
simon lehericey
14294af5dc
tech: block dubious emails address 2024-05-30 12:35:04 +02:00
Christophe Robillard
acf6579aa4 add missing specs to export template 2024-05-29 14:38:05 +02:00
Kara Diaby
db0b32a99a Test la méthode parsed_latest_zone_labels 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
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
c0a95ab525 add specs to pieces_justificatives_service 2024-05-28 18:25:48 +02:00
Christophe Robillard
bc4deb1fc2 add specs to export templates controller 2024-05-28 18:25:38 +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
4232cc98c7 fix dossier directory for motivation when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
08c079ca0b fix dossier directory for avis 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
Christophe Robillard
06cbb65d4e spec: simplify export template factory 2024-05-28 18:25:37 +02:00
Christophe Robillard
5846fb4417 fix spec titles 2024-05-28 18:25:37 +02:00
simon lehericey
1cf9535bea
feat(User): verify mandat email during creation 2024-05-27 17:24:56 +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
eaf9773e9e
chore(job): DossierIndexSearchTerms in low_priority queue 2024-05-27 09:55:24 +02:00
simon lehericey
0869168bd3
spec: test champs_id_row_index 2024-05-23 10:07:36 +02:00
simon lehericey
d3b700326d
spec: fix 2024-05-23 10:01:29 +02:00
simon lehericey
e38999efda
perf(pj service): compute row_id without extraneous requests 2024-05-23 10:01:29 +02:00
simon lehericey
8628ec1621
perf(spec): new record !
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2024-05-23 10:01:29 +02:00
simon lehericey
a7e29c4ea6
perf(spec): new count ! 2024-05-23 10:00:42 +02:00
simon lehericey
fa7d5cfa33
fix test 2024-05-23 10:00:41 +02:00
simon lehericey
d60e7906e0
refactor: memoize flat_tags 2024-05-23 10:00:41 +02:00