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
Colin Darie
617c0e4c8f
fix(attestation): sticky header don't overlap above preview
2024-06-20 14:31:05 +02: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
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
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
151b3f83ed
chore(attestation): publish button on sticky header
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
Colin Darie
ad3c5a7493
chore(schema): add attestation_templates#state
2024-06-20 11:08:15 +02:00
Colin Darie
038df4e7e6
style(mailer): reduce app name logo size
2024-06-20 09:46:14 +02:00
mfo
d7f953f08c
Merge pull request #10525 from colinux/stats-dark
...
Pages stats au DSFR, déclinées en thème sombre et adaptées aux mobiles
2024-06-19 07:04:20 +00:00
Corinne Durrmeyer
20d6a37d85
Remve useless title
2024-06-18 14:39:08 +02:00
Corinne Durrmeyer
044ee25a41
Remove useless <nav>
2024-06-18 14:35:09 +02:00
Corinne Durrmeyer
e3a5944ccc
Standardisation: Replace 'account' by 'profile'
2024-06-18 14:24:54 +02:00
Corinne Durrmeyer
31bf30830d
Place the menu in the <nav> tag in desktop version
2024-06-18 14:24:54 +02:00
mfo
d1e983ed97
fix(EmailCheckerController): with partial email, should not raise error
2024-06-17 13:25:28 +02:00
Colin Darie
2252064259
style: cleanup stats.scss
2024-06-17 11:59:02 +02:00
Colin Darie
c288d340d8
style(stats): better responsive & dark theme for procedure stats
2024-06-17 11:59:01 +02:00
Colin Darie
266a7dbcdd
style(stats): better responsiveness & dark theme
2024-06-17 11:59:01 +02:00
Colin Darie
5a7316bc5b
chore(css): import segmented controls
2024-06-17 10:36:46 +02:00
Benoit Queyron
06b8194359
Merge pull request #10502 from demarches-simplifiees/etq-usager-bouton-jdma
...
ETQ usager : j'accède au bouton JDMA depuis la page Merci et depuis le mail de dépôt de dossier
2024-06-14 16:31:12 +00:00
Benoit Queyron
ee35dba37e
linter check
2024-06-14 18:04:16 +02:00
Benoit Queyron
cf787d322a
linter check
2024-06-14 17:43:13 +02:00
Benoit Queyron
98782f8bf0
suggestion de Colin
...
Co-authored-by: Colin Darie <colin@darie.eu>
2024-06-14 17:37:05 +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
e6d761b915
fix(dossier): see_more errors missing translation
2024-06-14 10:36:55 +02:00
Benoit Queyron
7a9b1a5763
Merge pull request #10517 from demarches-simplifiees/traduction-lien-connexion
...
ETQ Admin, Instructeur: fix traduction dans la page lien envoyé
2024-06-14 08:15:21 +00:00
Colin Darie
e283f2d8cd
chore(search): don't index on autosave
2024-06-13 14:12:00 +02:00
Benoit Queyron
88c957806f
fix link faq
2024-06-13 14:01:05 +02: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
Benoit Queyron
d124127f10
ajustements de front avec la page confirmation
2024-06-13 12:35:02 +02:00
Benoit Queyron
44cb588c42
mise en page & traduction page session
2024-06-13 12:08:37 +02:00
Colin Darie
9d4113befb
feat(helpscout): delete old conversations
2024-06-13 11:16:52 +02:00
Benoit Queyron
97ef01b075
Merge branch 'main' into etq-usager-bouton-jdma
2024-06-11 18:09:01 +02:00
Benoit Queyron
c5fa25ee78
unless to if condition
2024-06-11 17:45:51 +02:00
mfo
06a870a083
fix(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
ed3630e621
Merge pull request #10506 from colinux/fix-clipboad-targets
...
Bouton copier/coller: améliore support quand le clipboard n'est pas disponible
2024-06-11 09:59:38 +00: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
4d6b8d9536
Merge pull request #10507 from demarches-simplifiees/fix-clone-monavis
...
ETQ admin: je souhaite que le lien JDMA soit réinitialisé lors du clonage d'une procédure
2024-06-11 08:23:03 +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
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
080a818164
Merge pull request #10497 from mfo/US/download-dossier-on-merci
...
Amélioration: ETQ usager, je souhaite pouvoir télécharger mon dossier sur la page de confirmation de dépôt
2024-06-11 07:11:25 +00:00
Eric Leroy-Terquem
c893f8de99
Merge pull request #10505 from colinux/fix-api-v1-commentaire-pj
...
API v1: fix régression commentaire -> attachment url qui avait sauté
2024-06-10 14:04:44 +00:00
Eric Leroy-Terquem
603bb97679
fix(gallery): catch StandardError
2024-06-10 15:41:23 +02:00
Benoit Queyron
a8e382d0d0
fix(clone): le lien monavis est reinitialise lors du clonage
2024-06-10 14:55:51 +02:00
Colin Darie
1d4a8795c8
fix(clipboard): if unsupported, don't hide element when button is on another target
2024-06-10 14:28:50 +02:00
Colin Darie
915aec6894
chore(apiv1): fix regression with attachment url in commentaire
2024-06-10 13:06:31 +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
Benoit Queyron
0983f35dfd
ajout d'un helper pour la source
2024-06-10 11:09:55 +02:00
Benoit Queyron
d7a19bd421
ajout du JDMA au mail de depot de dossier (avec nb_source=email)
2024-06-07 18:20:28 +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
Benoit Queyron
a9b56459c8
on fait ouvrir dans un nouvel onglet
2024-06-07 12:52:27 +02:00
Benoit Queyron
0f1c1302a9
on affiche uniquement si JDMA activé
2024-06-07 12:32:55 +02:00
Benoit Queyron
f106e558c0
pour le site nb_source=site
2024-06-07 12:25:30 +02:00
mfo
ae103e049c
feat(DossiersController#merci): add download link
2024-06-06 17:35:02 +02:00
Colin Darie
fe0619af7f
Merge pull request #10296 from demarches-simplifiees/container-contact
...
ETQ usager, améliore le thème sombre et responsivité de la page contact
2024-06-06 15:33:29 +00:00
Colin Darie
1846ab469c
Merge pull request #10495 from colinux/activejob-log-request-id
...
Tech: log request_id enqueueing a job
2024-06-06 15:32:57 +00:00
Paul Chavard
2ecaee6fe2
fix(graphql): use null_session forgery protection on graphql controller to allow open data requests
2024-06-06 16:29:34 +02:00
Kara Diaby
e1002beaca
Met le conteneur au DSFR pour assurer la responsive sur la page contact
2024-06-06 10:46:40 +00:00
Colin Darie
bb3e53a6fe
chore(job): log request_id enqueueing a job
2024-06-06 12:07:19 +02:00
Eric Leroy-Terquem
f6e54a540b
chore(gallery): add activestorage error catching in job
2024-06-06 12:01:42 +02:00
Eric Leroy-Terquem
ffc0ddc446
chore(gallery): add activestorage error catching in front
2024-06-06 12:01:41 +02:00
Eric Leroy-Terquem
f73a1e1d54
refactor(gallery): add helper methods
2024-06-06 12:01:41 +02:00
Eric Leroy-Terquem
05ad5dcbd6
feat(gallery): display large variant for rare image types
2024-06-06 12:01:40 +02:00
Eric Leroy-Terquem
f3795ebc98
feat(gallery): add pdf previews
2024-06-06 12:01:40 +02:00
Benoit Queyron
ed496a45b4
ajout du texte introductif du bouton JDMA dans merci
2024-06-06 11:53:08 +02:00
Colin Darie
3a4e8b2a32
Merge pull request #10464 from demarches-simplifiees/remove-card-for-historique-modifications-V2
...
[admin] Simplifier interface en déplacant la tuile de modifs de l'historique du formulaire
2024-06-06 07:41:21 +00: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
Benoit Queyron
f15e4a2be3
Merge pull request #10470 from demarches-simplifiees/modfier-couleur-bloc-bienvenu
...
fix(asset cards): background none for welcome card admin in darkmode
2024-06-05 16:47:42 +00: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
Paul Chavard
994804e22d
Merge pull request #10486 from tchak/fix-api-preremplissage
...
fix(api): public api v1 should not inherit from api v1
2024-06-04 17:01:33 +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
Colin Darie
ec269a568c
fix(mailer): fix delivery prevented with bcc
2024-06-04 14:27:04 +02:00
Benoit Queyron
febcbf0d5a
using dsfr class for spacing
2024-06-04 13:45:59 +02:00