Commit graph

12291 commits

Author SHA1 Message Date
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
Paul Chavard
bf3455bbf0
fix(api): public api v1 should not inherit from api v1 2024-06-04 10:43:37 +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
Paul Chavard
9de97c8593
Merge pull request #10484 from tchak/update-js-dependencies
chore(npm): update build dependencies
2024-06-03 12:39:41 +00:00
LeSim
57e9cccbbd
Merge pull request #10481 from demarches-simplifiees/super_admin_can_unblock_email
ETQ SuperAdmin, je peux débloquer les emails d'un usager
2024-06-03 09:58:48 +00:00
Paul Chavard
010ebb1a23
chore(npm): update build dependencies 2024-06-03 11:36:42 +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
72f7c1d632
Feat(SuperAdmin): super admin can unblock email 2024-05-31 16:30:22 +02: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
5d259ec47b
refactor(user): rename invite! -> invite_instructeur! 2024-05-31 14:53:49 +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
Paul Chavard
a39d736d8c
Merge pull request #10474 from tchak/lazy-stimulus-plugins
chore(js): lazy load lightbox and tiptap
2024-05-30 19:29:56 +00:00
Benoit Queyron
ab54b60489 add dsfr callout 2024-05-30 18:17:08 +02:00
Lisa Durand
ee203d1afc reorganize page config expert invites 2024-05-30 17:50:08 +02:00
Lisa Durand
1bc7cfd917 remove card historique des modifications 2024-05-30 17:47:57 +02:00
Lisa Durand
a900718299
Merge pull request #10459 from demarches-simplifiees/rename-footer-button-for-admin-ldu
[admin] Harmoniser navigation dans l'interface de configuration
2024-05-30 15:28:27 +00:00
LeSim
73e6a25d22
Merge pull request #10471 from demarches-simplifiees/fix_strange_bulk_email_queue_name
Tech: corrige le nom par defaut de la bulk_email_queue
2024-05-30 15:05:19 +00:00
Lisa Durand
4446d6d62a remove footer for admin pages with sticky footer 2024-05-30 17:05:01 +02:00
Lisa Durand
291271f04b fix linter and specs 2024-05-30 17:05:01 +02:00
Lisa Durand
2659d0f966 create component for footer 2024-05-30 17:05:01 +02:00
Lisa Durand
123a038c19 page accuse lecture 2024-05-30 17:05:01 +02:00
Lisa Durand
0df4b480fb page fin de depot 2024-05-30 17:05:01 +02:00
Lisa Durand
ba8b05ed6a page MonAvis 2024-05-30 17:05:01 +02:00
Lisa Durand
6f0cf19f0d page SVA SVR 2024-05-30 17:05:01 +02:00
Lisa Durand
06c784eb03 page api token 2024-05-30 17:05:01 +02:00
Lisa Durand
125c4a45fc page annotations 2024-05-30 17:05:01 +02:00
Lisa Durand
918b1312db page confi emails 2024-05-30 17:05:01 +02:00
Lisa Durand
233d6ee823 page avis externes 2024-05-30 17:05:01 +02:00
Lisa Durand
45fbbf774d page zones 2024-05-30 17:05:01 +02:00
Lisa Durand
1cec1b91c1 page modifications historique 2024-05-30 17:05:01 +02:00
Lisa Durand
659e4ffb61 page instructeurs 2024-05-30 17:05:01 +02:00
Lisa Durand
18585ce422 page administrateurs 2024-05-30 17:05:01 +02:00
Lisa Durand
1fe59c165f page service 2024-05-30 17:05:01 +02:00
Lisa Durand
10ac3fe693 page champs formulaire 2024-05-30 17:05:01 +02:00
Lisa Durand
9634cce8cd page presentation 2024-05-30 17:05:01 +02:00
Paul Chavard
8273870a2c
Merge pull request #10455 from tchak/feat-graphql-timestamps
feat(graphql): expose last_champ_updated_at and last_champ_private_updated_at on api
2024-05-30 13:42:57 +00:00
Benoit Queyron
eb70d63892 remove css fix 2024-05-30 13:47:01 +02:00
Paul Chavard
43c3d706ac
chore(js): lazy load lightbox and tiptap 2024-05-30 12:25:32 +02:00
simon lehericey
bcf3c0ff34
fix(jobs): fix default bulk_email_queue name 2024-05-30 10:24:52 +02:00
Paul Chavard
f2b3ffed5a
Merge pull request #10469 from tchak/task-commune-codes-batch
chore(task): run commune code fix on all champs of a procedure
2024-05-29 19:34:48 +00:00
Benoit Queyron
bd94c575d7 linter check 2024-05-29 17:35:40 +02:00
Benoit Queyron
823ee11d84 fix(asset cards): background none for welcome card admin in darkmode 2024-05-29 17:03:09 +02:00
Christophe Robillard
9f504dbefd precise export template source for zip exports 2024-05-29 16:09:13 +02:00
Paul Chavard
704cd60e04
chore(task): run commune code fix on all champs of a procedure 2024-05-29 15:56: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
Christophe Robillard
fc90648c79 fix: regenerate export from export template 2024-05-29 15:42:49 +02:00
Christophe Robillard
0ed166f510 export_template feature flag scoped by procedure 2024-05-29 14:38:05 +02: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
Kara Diaby
47aa3b7d4a Affichage des zones directement dans le tableau et suppression du nombre d'administrateurs 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
Eric Leroy-Terquem
4d34d6d4c5
chore(gallery): add lightgallery license key 2024-05-29 09:59:27 +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
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
simon lehericey
555df3a6d8
feat(User): add maintenance task to backfill email_verified_at 2024-05-27 17:24:56 +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
a8398a71b1
feat(graphql): expose last_champ_updated_at and last_champ_private_updated_at on api 2024-05-27 10:34:29 +02:00
Paul Chavard
1bca3c123b
chore(dossier): remove legacy update attributes 2024-05-27 10:33:37 +02:00
Colin Darie
8431771a61
Merge pull request #10448 from colinux/increase-search-debounce-delay
Tech: limite l'engorgement des DossierIndexSearchTermsJob
2024-05-27 08:18:37 +00:00