Commit graph

11122 commits

Author SHA1 Message Date
seb-by-ouidou
c45e2eaccc feat: write message to gestionnaires as administrateur 2024-01-09 13:25:04 +01:00
seb-by-ouidou
07dd7a1283 feat: US4.3.8 administrateur management 2024-01-09 13:25:04 +01:00
Colin Darie
103e39159b style(admin): fix alignement in editor with type de champ used by routing 2024-01-08 18:13:33 +01:00
Colin Darie
bdff9a6064 style(admin): improve dark theme on editor section titles & borders 2024-01-08 18:03:07 +01:00
simon lehericey
560c2d763c fix(view_component): use new slot name 2024-01-08 11:57:47 +01:00
mfo
a0248bf08b
Merge pull request #9888 from mfo/US/validate-epci-by-code
Correctif: Le noms des EPCIs changent, ce qui bloque la validation et ou demande a resaisir le champs
2024-01-08 09:56:09 +00:00
Martin
6c5f6dd6f6 fix(combobox): some old procedure still have options with trailing white spaces. ensure to trim selected value as well as options.value for better comparison 2024-01-08 10:29:43 +01:00
Martin
fa07c21ec3 fix(champs.epci): epci names change over time. remap when it occurs 2024-01-04 07:17:15 +01:00
mfo
9df978f6fa
Merge pull request #9887 from mfo/US/fix-fci-missing-device-callback
Correctif: ETQ usager invité, lorsque je crée mon compte via FC, je ne retrouve pas mes invitations
2024-01-04 06:15:14 +00:00
Martin
4073804b00 feat(administrateurs/types_de_champ_controller#move_and_morph): add action to move and morph fields between two coordinates 2024-01-03 11:08:53 +01:00
mfo
e076de2f12
Merge pull request #9889 from mfo/US/allow-dossier-link-in-repetitions
amelioration: ETQ admin je peux utiliser les champs de type dossier dans les répétitions
2024-01-02 08:47:55 +00:00
mfo
002a14188d
Merge pull request #9875 from mfo/US/hint-regexp
ETQ admin, quand je configure un type de champ regexp, j'ai une petite mention sur le bornage de celle ci
2023-12-27 09:43:05 +00:00
Martin
7c5a297bc7 feat(repetitions): allow dossiers links in repetitions 2023-12-26 17:39:01 +01:00
Martin
92730e266b fix(FranceConnect): missing after_confirmation callback, leading to invalites invitations when user france connect 2023-12-26 15:00:15 +01:00
LeSim
d4b4274d26
Merge pull request #9885 from demarches-simplifiees/fix-a-few-typos
Corrections de typos
2023-12-22 22:48:11 +00:00
Eric Leroy-Terquem
a56fa60c78 fix typos 2023-12-22 11:39:09 +01:00
mfo
d69dc6e2c9
Merge pull request #9884 from mfo/US/fix-missing-trad-on-new-commencer
correctif: ETQ usager naviguant sur le site en anglais, j'aimerais que le bloc pour choisir si je depose le dossier pour moi ou qqun d'autre soit traduit
2023-12-22 10:09:00 +00:00
Martin
ff09130180 fix(i18n): add missing i18n on /commencer 2023-12-22 10:48:10 +01:00
Colin Darie
deab400057
Merge pull request #9578 from adullact/feature-ouidou/admin_creation_delegation_administrateur_pages
Feature ouidou/admin creation delegation administrateur pages
2023-12-22 09:06:58 +00:00
Martin
cc02618bfe feat(TypeDeChampEditor.regexp): add hint regarding regexp begin/finish
Co-authored-by: LeSim <mail@simon.lehericey.net>
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-22 09:47:04 +01:00
mfo
c4adee6278
Merge pull request #9878 from mfo/US/fix-not-type-ej-in-api
API: cast le type de champ EJ
2023-12-22 07:20:13 +00:00
seb-by-ouidou
e79de57fb5 fix: few fixes after review 2023-12-21 18:40:36 +01:00
seb-by-ouidou
c253e7dd65 feat: US5.1 US5.2 administrateur in admin 2023-12-21 18:40:36 +01:00
seb-by-ouidou
91602ee1c1 feat: US1.10 administrateur in manager 2023-12-21 18:40:36 +01:00
Colin Darie
6f7d786783
Merge pull request #9880 from demarches-simplifiees/api_token_store_last_used_ips
API: stocke les ips utilisées pour accéder à l'API
2023-12-21 16:18:00 +00:00
Lisa Durand
ff284a1c96 add more info in notify transfer email 2023-12-21 16:58:33 +01:00
Martin
989a7ba787 feat(API): cast type de champ EJ in a dedicated graphql type 2023-12-21 16:21:31 +01:00
Eric Leroy-Terquem
4c82f2c9d7 fix(champ value): fix compute_value_json on departement champ 2023-12-21 16:21:08 +01:00
simon lehericey
afb6eacf57 feature(api): store any ip used 2023-12-21 16:02:11 +01:00
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
Eric Leroy-Terquem
7ad0005671
Merge pull request #9852 from demarches-simplifiees/add-region-code-in-communes-and-departements-json
Tech : ajoute region-code aux communes et departements json
2023-12-14 10:54:36 +00:00
krichtof
fb3df0e73e
Merge pull request #9851 from demarches-simplifiees/fix-footer-stats
ETQ instructeur, la position du pied de page pour la page de statistiques d'une procédure est corrigée
2023-12-14 10:24:30 +00:00
Martin
6def2609f1 amelioration(liens-suivis): persiste la page a laquelle il doit etre redirigé apres une connexion 2023-12-14 10:47:04 +01:00
Martin
4380fecd73 amelioration(expert.sign-in): ETQ expert, je suis redirigé vers la page listant les avis a donner ap connexion 2023-12-14 10:47:04 +01:00
Lisa Durand
2f1259709a fix email content 2023-12-14 10:01:13 +01:00
Eric Leroy-Terquem
57b6522536 data(geo): update api_geo_data take task to store region_code in departements and communes json 2023-12-14 09:36:50 +01:00
Christophe Robillard
e8b13e4a6e fix footer position for procedure stats page 2023-12-14 09:21:47 +01:00
Colin Darie
c76213cb87
fix(users): don't show procedures filter when there are not enough procedures 2023-12-13 18:03:22 +01:00
Colin Darie
f0e1c1688b
style(admin): convert new procedure radios to dsfr 2023-12-13 18:03:19 +01:00
Lisa Durand
9f962150c3 add polling to refresh alert in view 2023-12-13 17:04:52 +01:00
Colin Darie
b384da73a3
style: fix download attestation button in dark mode 2023-12-13 16:07:33 +01:00
simon lehericey
f0a28ab1e8 Revert "Merge pull request #9835 from demarches-simplifiees/update_openid_connect"
This reverts commit 2e59ef97c9, reversing
changes made to d0372ec608.
2023-12-13 14:09:50 +01:00
Lisa Durand
8b3596244e improve color for new release 2023-12-13 12:07:46 +01:00
Colin Darie
01d12c9bb4
Merge pull request #9840 from colinux/maintenance-task-update-tdc
ETQ superadmin je peux mettre à jour le brouillon d'une révision à partir d'un CSV
2023-12-13 10:15:41 +00:00
Colin Darie
715c800788
Merge pull request #9821 from colinux/en-attente-block-instruction
ETQ instructeur je ne peux pas passer en instruction un dossier en attente de correction
2023-12-13 10:02:32 +00:00
Lisa Durand
f34090f8fd display last export alert in view 2023-12-13 10:26:33 +01:00
Kara Diaby
57dfe2b0f6 Améliorations après retours PR 2023-12-13 09:21:09 +00:00
Lisa Durand
68c7599e58 align form with adjusting DSFR class 2023-12-12 22:35:11 +00:00
Lisa Durand
43f5f4e030 fix test 2023-12-12 22:35:11 +00:00
Lisa Durand
d0e2f281cc fix tests 2023-12-12 22:35:11 +00:00
Lisa Durand
f6f18e9c86 send email to tiers if notification by email is set 2023-12-12 22:35:11 +00:00