Paul Chavard
96e49d54cd
reafctor(logic): remove tests and accept unspecified behaviour
2024-07-08 15:44:30 +02:00
Colin Darie
ba6fdc4748
feat: /commencer alert about draft procedure
2024-07-08 11:32:37 +02:00
Colin Darie
28e8c786fa
chore: don't wrap "en test" tag/breadcrumb
2024-07-08 11:32:37 +02:00
mfo
75a6c8b4b6
Merge pull request #10555 from mfo/US/normalize-number-cahmp
...
tech: Normalisation des champs de type number/decimal pr enlever les espace blanc à la saisi
2024-07-08 07:31:29 +00:00
Paul Chavard
89fb0abe6e
fix(spec): fix system test
2024-07-05 09:36:33 +02:00
Paul Chavard
9f9243499c
refactor(combobox): fix specs
2024-07-05 09:36:33 +02:00
Paul Chavard
cb01f15570
refactor(champ): update champ commune
2024-07-05 09:36:33 +02:00
Paul Chavard
4e8b29b21c
refactor(js): remove old code
2024-07-05 09:36:33 +02:00
mfo
a8573febaa
clean(spec): remove since its now forced by a before_validation
2024-07-05 09:34:26 +02:00
Lisa Durand
8ff2bbbaab
fix specs
2024-07-04 14:41:37 +02:00
mfo
c50f949acd
feat(Champs::number*): normalize values by stripping spaces.
2024-07-04 09:56:23 +02:00
Colin Darie
68cf6b58a3
Merge pull request #10574 from colinux/fix-experts-invits
...
ETQ admin, fix l'invitation d'experts n'ayant pas de compte DS
2024-07-02 17:33:11 +02:00
Colin Darie
b3ccfc16c4
Merge pull request #10547 from colinux/mandatory-by-default
...
ETQ admin, un nouveau champ est obligatoire par défaut
2024-07-02 14:26:29 +00:00
Colin Darie
a53fc0fac9
fix(admin): invitation for experts not having an account
2024-07-02 16:15:24 +02:00
Colin Darie
b2514dd16c
Merge pull request #10567 from colinux/fix-hardcoded-name
...
Tech: corrige le nom de l'application hardcodé dans un email
2024-07-02 12:36:19 +00:00
Colin Darie
5e25547b7b
fix(attestation): don't delete v1 published when building a v2
2024-07-02 14:10:23 +02:00
Lisa Durand
337689333e
Merge pull request #10559 from demarches-simplifiees/change-button-print-to-download-for-user-ldu
...
ETQ usager, je veux pouvoir télécharger mon dossier sans avoir à passer par le bouton "imprimer"
2024-07-02 08:54:16 +00:00
Eric Leroy-Terquem
5397c84918
clean: remove failing maintenance tasks
2024-07-02 09:58:28 +02:00
Colin Darie
eee6e5e651
Merge pull request #10483 from colinux/fast-tests
...
Tech (tests): default administrateur fixtures
2024-07-01 21:35:11 +00:00
Colin Darie
2041623ded
test: merge similar examples
2024-07-01 22:36:31 +02:00
Colin Darie
9e80962ea5
test: default administrateur as fixtures
2024-07-01 22:36:31 +02:00
Lisa Durand
8b4e12a407
replace wording, use download instead of print
2024-07-01 17:20:55 +02:00
Colin Darie
f40b71f450
test(type_de_champ): mandatory by default, like schema
2024-07-01 17:00:49 +02:00
mfo
896ee76d74
Merge pull request #10524 from mfo/US/expert-invitation-by-admin
...
ETQ administrateur, lorsque je gère ma liste d'expert invités sur une démarche, je suis guidé pour eviter les typos
2024-07-01 09:59:15 +00:00
Colin Darie
327ebf106f
fix(mailer): hardcoded application name
2024-07-01 10:55:58 +02:00
mfo
e6a3f210d4
fix(experts_procedures#create): ensure to reload expert list after addition
2024-07-01 10:46:06 +02:00
Lisa Durand
159cc942f6
Merge pull request #10549 from demarches-simplifiees/new-instructeur-need-mail-confirmation-ldu
...
ETQ nouvel instructeur, je dois confirmer mon mail
2024-07-01 08:45:57 +00:00
mfo
ced634295e
clean(tech): EmailChecker, use class method, not instance
2024-07-01 10:40:55 +02:00
Lisa Durand
75403ba949
add specs
2024-06-26 10:57:40 +02:00
mfo
cfda807b66
fix(data): decimal number having spaces are no more exportable
2024-06-25 21:17:46 +02:00
mfo
476c7df160
bug(Champs::DecimalNumberChamp.for_export): should be able to cast a number wrapped with a string having leading/trailing spaces
2024-06-25 17:05:33 +02:00
Colin Darie
828c539469
Merge pull request #10546 from colinux/fix-flaky-brouillon
...
Tests: fix JS log events
2024-06-25 14:12:52 +00:00
Lisa Durand
d7893b9102
instructeur need to confirm mail after invitation
2024-06-25 15:14:26 +02:00
mfo
554141bb67
fix(spec): broken
2024-06-25 14:52:01 +02:00
mfo
2bb7584246
feat(administrateurs/experts_procedures#create): avoid typo on expert
...
list management
2024-06-25 14:04:01 +02:00
Colin Darie
e9920c76d5
feat(faq): can add dsfr alert from markdown
2024-06-24 16:28:35 +02:00
Colin Darie
55cc48b785
test: JS_LOG allows multiple events
2024-06-24 15:29:56 +02:00
Eric Leroy-Terquem
1ab77cede9
Merge pull request #10512 from demarches-simplifiees/safer-gallery
...
Technique : mise à jour de la galerie et transformation des images uniquement côté jobs
2024-06-24 10:16:57 +00:00
Eric Leroy-Terquem
c94c2f55c8
task(pj): create representations for latest pieces jointes
2024-06-24 11:13:37 +02:00
Eric Leroy-Terquem
0c95a098a5
feat(gallery): do not create representations in web machines
2024-06-24 11:13:36 +02:00
Colin Darie
ccf5b255ed
Merge pull request #10465 from colinux/attestations-v2-prod
...
ETQ admin je peux activer la délivrance des attestations v2 (sous feature flag)
2024-06-24 08:56:31 +00:00
Colin Darie
5ac2315b5a
Merge pull request #10535 from mfo/US/page-procedure-show
...
Améliroation, ETQ instructeur le nombre de dossier par page passe de 25 a 100
2024-06-24 08:14:56 +00:00
mfo
4e67255405
feat(instructeurs/procedure#show): increase dossier page size but keep request count same
2024-06-21 16:50:08 +02:00
mfo
2ee6f2350a
Merge pull request #10536 from mfo/US/summary-in-instructeur-demande
...
ETQ instructeur, je peux naviguer dans le formulaire de l'usager via un sommaire, idem pour les annotations privées.
2024-06-21 14:44:50 +00:00
mfo
4c5e0c245c
tech(spec): perf, instructeurs/procedures#show, start tracking request count on procedure show
2024-06-21 16:19:32 +02:00
mfo
4caeecadff
Merge pull request #10534 from mfo/US/fix-ineligibilite-rules-check-without-rules
...
Correctif: ETQ admin, je ne peux pas activer l'inéligibilité des dossiers sans règles d'inéligibilité
2024-06-21 09:47:43 +00:00
mfo
d46dc7055d
feat(instructeurs/dossiers): add summary to dossier.champs and dossier.champ_private views, also extract summary in
...
two component. one of type de champ editor. one for viewable champs
2024-06-21 11:06:45 +02:00
mfo
5a5ebfb235
Merge pull request #10531 from mfo/US/add-champ-summary-to-annotations
...
ETQ administrateur, je peux naviguer dans l'editeur des annotations en utilisant le sommaire façon editeur des champs du formulaire
2024-06-21 08:34:12 +00:00
mfo
6eaf870cbf
feat(administrateurs/procedure#annotations): add summary
2024-06-21 05:50:24 +02:00
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