Commit graph

11043 commits

Author SHA1 Message Date
Colin Darie
9bdf525ff1
Merge pull request #9863 from colinux/fix-message-html-injection
Tech: échappe les tags de données utilisateur dans les modèles pour email
2023-12-21 08:50:21 +00:00
Colin Darie
29df9ad09d
Merge pull request #9751 from tchak/departement-tags
feat(champs): expose more tags and api fields on rnf, address and commune
2023-12-21 08:45:01 +00:00
Colin Darie
e17c3bd046
Merge pull request #9839 from mfo/US/fix-filter-focus-out-with-not-selected-filter
correctif : ETQ instructeurs, lorsque je sors du composant de filtrage sans choisir une option, le site renvoie une erreur
2023-12-21 08:42:12 +00:00
Colin Darie
535a54ce97
Merge pull request #9874 from demarches-simplifiees/add-email-for-tiers-when-repasser-en-instruction-ldu
[Co-construction] Envoyer un mail au bénéficiaire si le dossier repasse en instruction
2023-12-21 08:32:10 +00:00
Lisa Durand
c311d6dc46 add url for civil code reference 2023-12-20 11:51:33 +01:00
Lisa Durand
3e872c5246 add email for tiers when repasser en instruction 2023-12-20 11:51:02 +01:00
Lisa Durand
e52bd9d6bf
Merge pull request #9855 from demarches-simplifiees/display-last-export-in-same-page-ldu
ETQ instructeur, j'ai besoin d'un accès très facile à mondernier export
2023-12-20 10:02:08 +00:00
Eric Leroy-Terquem
882d72d139 data(conditional): add a maintenance task to update conditions based on commune or epci champ 2023-12-19 17:39:40 +01:00
Eric Leroy-Terquem
e4632214fb data(conditional): add a maintenance task to update routing rules based on commune or epci champ 2023-12-19 17:39:39 +01:00
Eric Leroy-Terquem
954facdaff
Merge pull request #9798 from demarches-simplifiees/add-new-operators-to-conditional
Etq admin je peux conditionner/router avec les opérateurs "est dans mon département",  "n'est pas dans mon département",  "est dans ma région" et   "n'est pas dans ma région".
2023-12-19 16:10:59 +00:00
Lisa Durand
e6a4459633 refacto 2023-12-19 16:54:23 +01:00
Lisa Durand
f553f3c408
Merge pull request #9872 from demarches-simplifiees/add-badge-for-role-ldu
ETQ utilisateur avec plusieurs rôles, je m'y retrouve plus facilement
2023-12-19 11:01:28 +00:00
mfo
e75c4456e8
Merge pull request #9871 from mfo/US/add-pj-to-explication
ETQ administrateur, je peux ajouter une notice explicative a un champs explication
2023-12-19 10:44:03 +00:00
Lisa Durand
c767164e28 add expert in current_account and mode badge to the right 2023-12-19 11:33:48 +01:00
Martin
6f01a10846 tech(clean): move from custom spacer classes to dsfr spacer classes 2023-12-19 11:31:55 +01:00
Martin
4bc8eaa192 ui(ChampComponent): move TypeDeChamp.explication options in the right column of the editor 2023-12-19 11:31:28 +01:00
Lisa Durand
1541da9d39 add specific routes and action for polling 2023-12-19 11:10:03 +01:00
Martin
e43c2f1407 feat(procedure_revision.compate): track and show diff for TypeDeChamp.explication between draft and published revisions 2023-12-19 10:51:06 +01:00
Lisa Durand
0286d2b6fb add profiles in flash after sign-in if multiple profile 2023-12-19 10:33:26 +01:00
Martin
f7feca5fd1 feat(editable_champ.explication): show downloadable AttachedOne 2023-12-19 09:53:27 +01:00
Martin
37e8772eab feat(type_de_champ_editor.explication): add a Attached::One to TypeDeChamp.explication, named notice_explicative [cf, cerfa wording] 2023-12-19 09:52:27 +01:00
Lisa Durand
dfc09648d8 add badge with role in user dropdown in header 2023-12-18 14:39:27 +01:00
Colin Darie
e9ee405954
Merge pull request #9868 from colinux/blocking-pending-correction-ff
ETQ instructeur je peux de nouveau passer en correction un dossier avec corrections en attente
2023-12-18 13:29:39 +00:00
Colin Darie
1a56fe620e feat(correction): make pending corrections blocking by feature flag only 2023-12-18 14:12:45 +01:00
Lisa Durand
53f9f3cbdb add trad if export failed 2023-12-18 14:09:47 +01:00
Lisa Durand
a9ab1daf3a display alert only for instructeur who generated the export and if recent 2023-12-18 11:25:52 +01:00
Martin
7dd9e0d255 amelioration(editeur-de-champ): ETQ admin, une alert DSFR m'informe de la difference entre un champ PJ classique et un champ titre d'identité 2023-12-18 10:26:21 +01:00
simon lehericey
9bb89f7e3e fix(print): missing dossier var 2023-12-18 09:51:41 +01:00
Colin Darie
fa37c6c62b
fix(tags): escape user data tags for emails 2023-12-15 14:05:11 +01:00
Colin Darie
c0b444d747
Merge pull request #9847 from colinux/fix-style
Style: plusieurs améliorations mineures / thème sombre
2023-12-15 12:00:53 +00:00
mfo
b539fe1b65 amelioration(review): tech review
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-15 11:23:25 +01:00
Martin
0caacdaf59 amelioration(combobox): utilise une loupe plutot qu'un chevron bas pour les combobox en mode autocomplete 2023-12-15 11:23:25 +01:00
Martin
95fd6c2a69 tech(combobox): propage le changement de signature dans le reste de la codebase 2023-12-15 11:23:25 +01:00
Martin
d27e4fc693 amelioration(combobox): permet de passer des options au input[type=hidden], utilise cette option pour autosubmit uniquement un input [dans notre cas, ne soumet pas a l'input du combobox, mais a l'input hidden une fois le combobox selectionné] 2023-12-15 11:23:25 +01:00
Colin Darie
7ba13507ff
Merge pull request #9808 from colinux/remove-usager-antivirus
ETQ usager, je ne vois plus le statut "antivirus en cours" lorsque j'envoie un PJ
2023-12-14 19:53:34 +00:00
Colin Darie
9a5d908851
Merge pull request #9853 from mfo/US/fix-expert-link-to-dossiers
ETQ expert: lorsque je me connecte, je suis redirigé vers la page des avis, non pas vers la page de mes dossiers
2023-12-14 19:52:32 +00:00
Colin Darie
3b0e4e59d5
Merge pull request #9858 from colinux/fix-invite-html-injection
Tech: sanitize les messages utilisateurs dans les emails
2023-12-14 17:27:28 +00:00
Lisa Durand
569d4af6f7
Merge pull request #9706 from demarches-simplifiees/feat/9678
ETQ usager passant par un mandataire, je suis notifié des changements d'état de mon dossier par email
2023-12-14 16:57:07 +00:00
Eric Leroy-Terquem
2e547cd46f chore(routing): cannot create simple_routing with champs communes or epcis 2023-12-14 17:48:14 +01:00
Eric Leroy-Terquem
e40d1107ac chore(conditional): add not_in_departement and not_in_region operators 2023-12-14 17:48:14 +01:00
Eric Leroy-Terquem
3db21b633c chore(conditional): update champs to use in_region operators 2023-12-14 17:48:13 +01:00
Eric Leroy-Terquem
c9676020b4 chore(conditional): add in_departement and in_region operators 2023-12-14 17:48:13 +01:00
simon lehericey
016c392914 tech: add env var to disable cron scheduling 2023-12-14 17:12:19 +01:00
simon lehericey
b915fe13c3 refactor: remove individual_id as authorized parameter 2023-12-14 16:25:33 +01:00
LeSim
99d2ad3522
Merge pull request #9857 from demarches-simplifiees/remove_now_obsolete_pj_migration_jobs
Tech: suppression du cron et de la tache de migration des pjs vers des buckets dédiés.
2023-12-14 15:00:52 +00:00
Martin
1307e7262f amelioration(application_controller.roles): intègre aussi le role d'expert aux logs 2023-12-14 14:52:50 +01:00
mfo
186f85f81a
Merge pull request #9854 from mfo/US/fix-user-deletion-service-in-batches
Tech, correctif sur le service d'expiration des usagers inactif qui timeoutait via `.in_batches`. Utilise `.pluck(:id)`
2023-12-14 13:27:30 +00:00
simon lehericey
e75d87e76b chore(pjs_migration): remove now obsolete migration_jobs 2023-12-14 14:10:09 +01:00
Martin
b89f6cf0f1 correctif(user_deletion_service.perf): timeout via .in_batches. Utilise .pluck(:id) 2023-12-14 14:08:50 +01:00
Colin Darie
fd7839773b fix(email): sanitize user message 2023-12-14 12:51:56 +01:00