Commit graph

12716 commits

Author SHA1 Message Date
Paul Chavard
701a28302e
refactor(dossier): remove unused scopes 2024-08-26 14:53:56 +02:00
Paul Chavard
bb2f590d18
refactor(repetition): use less champs and public_id methods 2024-08-26 14:53:56 +02:00
Eric Leroy-Terquem
fade633828
feat(routing): can create simple routing with address tdc 2024-08-26 11:16:47 +02:00
Eric Leroy-Terquem
8b4b4d7cb7
feat(conditional): can condition and route on address champ 2024-08-26 11:16:46 +02:00
mfo
03a72ccf06
fix(PopulateSiretValueJSONTask): some bad data prevent the task to finish 2024-08-26 10:10:34 +02:00
Lisa Durand
b586f23009
remove hidden at column from dossiers 2024-08-22 17:36:41 +02:00
Lisa Durand
8e7e8d9624
Merge pull request #10705 from demarches-simplifiees/email-expert-need-confirmation-ldu
ETQ expert, je dois confirmer mon mail
2024-08-22 12:53:52 +00:00
Paul Chavard
6a642c350e
Merge pull request #10709 from colinux/cojo-date-hint-localized
ETQ usager, j'ai une indication sur le format de date à saisir en fonction de mon navigateur
2024-08-22 10:12:19 +00:00
Colin Darie
e46f09dfb9
feat(cojo): date format hint is localized, depending on browser 2024-08-22 11:05:35 +02:00
mfo
70983c50f9
spec(normalized_address): add simple spec 2024-08-22 10:37:31 +02:00
mfo
8a42c6a7ad
Merge pull request #10708 from mfo/US/format-rna
ETQ tech je souhaite que les champs RNA ne puissent pas contenir d'espace sans quoi nos appels d'API remontent un URI::InvalidURIError
2024-08-22 08:36:38 +00:00
mfo
76f9373af5
fix(RNA.pattern): allows RNA with letters too, some territories can have letters too 2024-08-22 10:24:03 +02:00
mfo
53cbb1cace
fix(PopulateRnaJsonValue): some procedure had been deleted, can not find them 2024-08-22 10:24:03 +02:00
mfo
22e50d4c9e
fix(data): normalize invalid Champs::RNAChamp.values in db 2024-08-22 10:24:03 +02:00
mfo
abb2fa159c
feat(Champ.rna): avoid spaces that breaks API calls 2024-08-22 10:23:56 +02:00
mfo
7182a4e8d0
feat(identite_entreprise): prefer champ.value_json in order to ensure good department 2024-08-22 09:45:27 +02:00
mfo
fdff699d51
feat(champ.rnf/rna/siret): render normalized address the same way 2024-08-22 09:45:27 +02:00
Colin Darie
2b9fe12079
test(dolist): add some specs and remove unsupported email sent with attachments 2024-08-22 09:26:49 +02:00
Colin Darie
659d35e11f
test: fix for mutable string 2024-08-22 09:26:49 +02:00
Colin Darie
992c61b51a
fix: as of parsby 1.1, IO can be mutated during parsing
See 534f8a95b4/lib/parsby.rb (L572C11-L572C17)

Trace:
IOError: not modifiable string
    # parsby-1.1.1/lib/parsby.rb:572:in `ungetc'
    # parsby-1.1.1/lib/parsby.rb:572:in `ungetc'
    # parsby-1.1.1/lib/parsby.rb:539:in `block in restore'
    # parsby-1.1.1/lib/parsby.rb:539:in `each'
2024-08-22 09:26:48 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
Colin Darie
3796210928
Merge pull request #10707 from colinux/fix-unpublished-changes-button
ETQ admin: corrige le nouveau bouton de publication d'une démarche
2024-08-21 15:48:45 +00:00
Colin Darie
4c1e67bd65
Merge pull request #10704 from mfo/US/fix-populate-rna-maintenance-task
Correctif: tache de maintenance des données RNA pour permettre la recherche
2024-08-21 15:45:18 +00:00
Colin Darie
eccfde848f
feat(admin): disable publish button when there are errors 2024-08-21 17:38:07 +02:00
Colin Darie
d0837c58f5
fix(admin): publish modifications button must be PUT 2024-08-21 17:38:07 +02:00
Colin Darie
6efd9ae747
refactor(admin): rename procedures/_unpublished_changes_{navbar,sticky} partial 2024-08-21 17:38:04 +02:00
mfo
0ed5206d9f
fix(PopulateRNAJSONValueTask): edge case, one champ raises an URI::InvalidURIError 2024-08-21 16:36:22 +02:00
Lisa Durand
3cf3dc4623
make email confirmation more generic 2024-08-21 16:23:56 +02:00
Lisa Durand
ea354d46c4
Create new invitation email if expert not confirm 2024-08-21 16:19:51 +02:00
Kara Diaby
4a93579e71
Ajoute une sticky navbar si il y a une modification de démarche déjà publiée 2024-08-21 10:23:02 +00:00
mfo
ec9a03ac17
Merge pull request #10693 from mfo/US/filter-by-json-path-3
ETQ instructeur, je peux filtrer par les donnée de champs issues d'API, a commencer par RNA/RNF SIRET
2024-08-21 09:50:47 +00:00
Paul Chavard
1d15689989
Merge pull request #10701 from tchak/refactor-virtual-displayable
refactor(columns): rename virtual to displayable
2024-08-21 09:37:51 +00:00
mfo
750842f742
feat(Column::JSONPathColumn): allow search by json path column
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-08-21 10:23:39 +02:00
Colin Darie
c1f4bd0ba3
Merge pull request #10700 from colinux/fix-persisting-pp-error
ETQ instructeur, n'affiche pas 2 fois le message de réinitialisation du tableau de dossiers
2024-08-21 07:23:15 +00:00
Paul Chavard
271602082b
refactor(columns): rename virtual to displayable 2024-08-20 18:46:19 +02:00
Colin Darie
8c6a7a8528
fix(instructeur): don't display twice pp error on get requests 2024-08-20 18:30:20 +02:00
Colin Darie
8cdd7ef4df
Merge pull request #10699 from mfo/US/hotfix-pp
Correctif: rattrape les données inconsistantes pour la présentation des tableaux instructeurs qui se font detruire a la 1ere connection
2024-08-20 16:16:26 +00:00
Colin Darie
6b9af51e31
Merge pull request #10698 from colinux/fix-strftime-on-non-numeric-field
ETQ instructeur, ne plante pas en essayant de formater une date quand c'est pas une date
2024-08-20 15:59:02 +00:00
mfo
3662e38366
hotfix(ProcedurePresentation): backfill invalid procedure presentation private tabel name for type de champs private 2024-08-20 17:58:55 +02:00
Colin Darie
fe2e8ae793
fix(instructeur): never try to strftime on non date value 2024-08-20 17:33:04 +02:00
Colin Darie
6b6cf091e0
Merge pull request #10697 from colinux/fix-row-deleted-dossier
ETQ instructeur, corrige l'affichage expliquant la raison pour laquelle l'usager a supprimé (ou expiré) un dossier
2024-08-20 15:20:39 +00:00
Lisa Durand
49e9d4a683
Merge pull request #10627 from demarches-simplifiees/simplify-tabs-supprimes-ldu
[UX] Simplifier l'interface avec un onglet unique pour les dossiers supprimés
2024-08-20 14:50:42 +00:00
Colin Darie
b2931a9dde
fix(instructeur): dossier hidden by user reason interpolation 2024-08-20 16:15:13 +02:00
Colin Darie
87cc8a7241
fix(dossier): render PJ champ respects profile context 2024-08-20 15:52:30 +02:00
Colin Darie
e6c2926426
fix(xss): injection from pj malicious filename would trick browser and lead to XSS injection 2024-08-20 15:51:54 +02:00
Lisa Durand
16864cc868
fix test 2024-08-20 15:47:09 +02:00
Lisa Durand
286758e933
create component to display deleted dossiers 2024-08-20 15:26:15 +02:00
Lisa Durand
5281ab966a
add deleted dossiers in menu for instructeurs 2024-08-20 15:26:15 +02:00
Lisa Durand
066a2bea85
use main navigation to display deleted dossier for user 2024-08-20 15:26:14 +02:00
Lisa Durand
a0a9270a61
remove deleted dossier from filter and search 2024-08-20 15:26:14 +02:00
Lisa Durand
30df5aa89a
add page link and page to access deleted dossier historique 2024-08-20 15:26:14 +02:00
Lisa Durand
ab483a8959
simplifie tabs supprimes and reduce to one 2024-08-20 15:26:09 +02:00
Colin Darie
e4d460965f
Merge pull request #10690 from mfo/US/normalize-addresses-for-rnf-rna-siret
ETQ Tech, les adresses des champs siret / rna / rnf sont normalisées pour une recherche homogène via les filtres
2024-08-20 10:11:48 +00:00
mfo
92ffd69bf1
doc(instance): explicite quand/comment faire tourner ces taches 2024-08-20 11:37:21 +02:00
Colin Darie
1e53e3bfef
Merge pull request #10661 from demarches-simplifiees/feat/10460
ETQ admin, je veux que l'email du déposant ne puisse pas être similaire à l'email du mandataire
2024-08-20 09:34:03 +00:00
Colin Darie
66bf0cca6e
Merge pull request #10688 from colinux/delete-yabeda-rails
Tech: remove yabeda-rails et yabeda-graphql
2024-08-20 09:26:39 +00:00
LeSim
befe74b801
Merge pull request #9758 from demarches-simplifiees/purge_supprimer_dol
Tech: quand un dossier est définitivement supprimé, on ne garde que le log (DOL) concernant sa suppression
2024-08-20 09:26:33 +00:00
mfo
bc7264ee08
Merge pull request #10625 from demarches-simplifiees/US/cleanup-procedure-presentation
ETQ tech, je souhaite isoler le concept des colonnes extractable/cherchable/affichable d'une demarche
2024-08-20 09:04:23 +00:00
Colin Darie
3b3697a67e
Merge pull request #10691 from colinux/fix-attestation-footer
ETQ usager, l'attestation v2 gère mieux les pieds de page
2024-08-20 08:57:25 +00:00
simon lehericey
28b338452a
feat(dossier_purge): when the dols are purged, only keep supprimer dol but destroy its data
Note, the only remaining data are dossier_id, automatic_operation, digest and bill_id, created_at
2024-08-20 10:55:32 +02:00
Colin Darie
e314365083
chore: remove yabeda-graphql 2024-08-20 10:53:28 +02:00
mfo
a66bd46082
data(backfill): Champs::SiretChamp.value_json [±1.4M occurences] 2024-08-20 10:31:23 +02:00
mfo
917f25dcfd
data(backfill): Champs::RnaChamp.value_json [±7.5k occurences] 2024-08-20 10:31:23 +02:00
mfo
4bf5725d6d
data(backfill): Champs::RnfChamp.value_json [±400 occurences] 2024-08-20 10:31:23 +02:00
mfo
d866309d45
feat(rnf/rna/siret): normalize address in champs.value_json 2024-08-20 10:31:23 +02:00
Paul Chavard
ba92216504
Merge pull request #10614 from tchak/graphql-only-allow-saved-queries-without-token
secu(graphql): without a token, only saved queries are allowed
2024-08-20 08:11:48 +00:00
Colin Darie
e35809db28
fix(attestation): html format expand a4 background even if because there is a single page 2024-08-19 18:36:35 +02:00
Colin Darie
1dbd198092
fix(attestation): footer must be in before flexible content in order to be repeated on each page 2024-08-19 18:35:23 +02:00
Colin Darie
b33f542cf4
fix(attestation): nowrap footers & pages counter 2024-08-19 16:15:29 +02:00
mfo
dba6f9b3aa
refactor(Facet): to column 🚀 2024-08-19 15:46:14 +02:00
mfo
b910705353
move tdc facets builder to tdc 2024-08-19 15:30:08 +02:00
mfo
b6464c1963
tech: use facet_id to sort fields 2024-08-19 15:30:08 +02:00
mfo
743ff8c8a9
extract Instructeurs::FacetTableHeaderComponent wrapping sort logic 2024-08-19 15:30:08 +02:00
mfo
31255b69cc
move/rename faceting components within their instructeur ns 2024-08-19 15:30:08 +02:00
simon lehericey
61051771a7
stay the old way for the moment ? 2024-08-19 15:30:07 +02:00
simon lehericey
ef63579e2e
clean facets_concern 2024-08-19 15:30:07 +02:00
mfo
60c6c86d70
ProcedurePresentation.displayable_fields_for_select -> InstructeurFacetPickerComponent.displayable_fields_for_select 2024-08-19 15:29:59 +02:00
mfo
41ea39abb1
ProcedurePresentation.filterable_fields_options -> InstructeurFilterComponent.filterable_fields_options 2024-08-19 15:29:59 +02:00
simon lehericey
379c9fb812
procedure should provide its facets 2024-08-19 15:29:59 +02:00
simon lehericey
e19f1bd8c2
sortable? -> sorted_by 2024-08-19 15:29:59 +02:00
simon lehericey
14c5c26bb6
rubocop 2024-08-19 15:29:59 +02:00
simon lehericey
c5c2d5782d
lets keep it private 2024-08-19 15:29:59 +02:00
simon lehericey
7a1c25271d
small refactors 2024-08-19 15:29:56 +02:00
simon lehericey
772424ff5e
move field_enum to instructeur filter component 2024-08-19 15:28:36 +02:00
simon lehericey
73293b0d06
give facet object instead of field_id to instructeur_filter_component 2024-08-19 15:28:36 +02:00
simon lehericey
437e632f6a
move facet_find to Facet.find 2024-08-19 15:28:36 +02:00
simon lehericey
969282e453
remove last field_hash 2024-08-19 15:28:36 +02:00
simon lehericey
305b8c13c7
! BREAKING : break previous filter by type_de_champ_private
simplify type_de_champ_private -> type_de_champ, fix spec, add facet_spec
2024-08-19 15:28:36 +02:00
simon lehericey
2239172fac
move facets list to facets 2024-08-19 15:28:36 +02:00
simon lehericey
49eaf10bce
fields -> facets 2024-08-19 15:28:36 +02:00
simon lehericey
5c09581228
move id to facet and search_by facet_id 2024-08-19 15:28:34 +02:00
mfo
41eb99ce5a
fix(dossier_projection_service.rb): do not fwd internal id_value_h to the view by deep duping fields 2024-08-19 15:27:50 +02:00
mfo
b3cb3e974e
refactor(Facet): extract Facet from ProcedurePresentation
Co-Authored-By: LeSim <mail@simon.lehericey.net>

clean(code): no comment 🎶
2024-08-19 15:27:39 +02:00
Kara Diaby
88cd4a94dd
Ajoute la validation sur le modèle Individual 2024-08-19 12:51:39 +00:00
simon lehericey
9d847ef57a
fix: do not show notifications filter on unfollowed dossiers 2024-08-19 11:46:42 +02:00
Corinne Durrmeyer
9e87662c8f
Distinguish links from content 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
e358f196e9
Change help__content to help-content to conform linting Regex 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
bbfcb689d3
Change help menu design pattern (offline pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
bc95b5b323
Change help menu design pattern (instructor pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
33eece94fd
Change help menu design pattern (user pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
399f020047
Replace span with h1 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
5501be17c6
Remove legacy code 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
87ab67fee5
Replace aria-label with visually-hidden label 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
f3bca9bfeb
Replace paragraphs with list 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
e847e9263e
Add label to icons carrying information 2024-08-14 09:56:51 +02:00
benoitqueyron
ae87fd72fd
views/instructeurs/procedures/_dossiers_actions: fix http verb 2024-08-12 17:11:03 +02:00
benoitqueyron
67d9ef2eac
fix alert info on dossiers_list & deleting the delete procedure button for published procedure 2024-08-07 17:23:51 +02:00
Paul Chavard
065000cae3
Merge pull request #10674 from colinux/really-fix-rnf
ETQ usager, permet de saisir un champ RNF en ignorant les espaces/tabulations
2024-08-01 18:09:21 +00:00
Colin Darie
c2159ca0bf
fix(contact): allow deletion of contact form of users having dossiers 2024-08-01 19:44:44 +02:00
Colin Darie
720a312b00
fix(rnf): really normalize spaces
Fix #10653
2024-08-01 18:54:50 +02:00
Paul Chavard
25d4e7dfee
fix(rnf): no crash on identifiers with spaces 2024-08-01 18:00:46 +02:00
Colin Darie
3469527637
fix(contact): use user email when no email was specified 2024-08-01 16:43:28 +02:00
Paul Chavard
807d43a9a7
feat(graphql): add desarchiver mutation 2024-08-01 09:50:01 +02:00
Colin Darie
e415c79ade
refactor(contact): builtin piece jointe attachment 2024-07-31 17:08:02 +02:00
Colin Darie
4b6d3ee16d
refactor(contact): support => contact 2024-07-31 17:08:02 +02:00
Colin Darie
e71c1781a9
fix(contact): add missing notices locales 2024-07-31 17:08:02 +02:00
Colin Darie
5af32b46f4
refactor(contact): form is persisted in db before pushed to HS 2024-07-31 17:08:01 +02:00
Colin Darie
4bc0a04106
chore(schema): add contact_forms 2024-07-31 17:08:01 +02:00
Colin Darie
ff62e99e7b
refactor(contact): suggest email correction, strict email validation, fix admin form 2024-07-31 11:23:17 +02:00
Colin Darie
49be3a797a
refactor(input): don't duplicate hint logic 2024-07-31 11:23:17 +02:00
Colin Darie
90e6c8a6f6
Merge pull request #10603 from demarches-simplifiees/bug-input-pj-apres-suppression
ETQ Admin (bug), je veux pouvoir modifier des PJ sans recharger la page
2024-07-30 12:14:11 +00:00
Colin Darie
e467be1dbc
fix(dossier): can download an expired dossier 2024-07-30 14:06:43 +02:00
Paul Chavard
bced38eb78
Merge pull request #10665 from demarches-simplifiees/a11y-fix-suspect-email
Accessibilité : Assure la restitution par les TA du bloc de suggestion de l'adresse mail
2024-07-30 09:53:01 +00:00
Corinne Durrmeyer
523a295be0
Replace aria-live with focus shift 2024-07-30 11:42:29 +02:00
Paul Chavard
9d7d7da85a
Merge pull request #10572 from demarches-simplifiees/add-pj-from-messagerie-to-gallery
ETQ instructeur je peux voir les pjs envoyées par la messagerie dans l‘onglet "pièces jointes"
2024-07-30 09:35:14 +00:00
Paul Chavard
337eaff3f0
Merge pull request #10602 from demarches-simplifiees/fix-routing-fields-list
Correctif : ouvre l‘assistant de routage à tous les types de champ conditionnables
2024-07-30 09:01:24 +00:00
Benoit Queyron
81932915c6
suppresion du form_object_name dans input_id 2024-07-30 10:39:12 +02:00
Paul Chavard
4e180f8f05
Merge pull request #10642 from mfo/US/api.dossier_modifier_annotation_drop_down_list
Amélioration, ETQ consommateur de l'API graphql, je souhaite pouvoir modifier une annotation de type choix simple
2024-07-30 08:25:05 +00:00
Paul Chavard
9aa86031cc
Merge pull request #10660 from colinux/fix-attestation-draft
ETQ admin sur une démarche en brouillon, l'attestation v2 est créé en brouillon si on a déjà une v1 active
2024-07-30 08:12:55 +00:00
Paul Chavard
12c11c563f
Merge pull request #10656 from colinux/fix-when-removing-all-displayed-fields
ETQ instructeur, pas d'erreur quand on veut enlever la dernière colonne affichée dans le tableau
2024-07-30 08:11:02 +00:00
Paul Chavard
c559028990
Merge pull request #10649 from colinux/fix-attestation-titles-multilines
ETQ usager mon attestation v2 n'a pas ses titres chevauchés lorsqu'ils passent sur 2 lignes
2024-07-30 08:09:17 +00:00
Colin Darie
8d70f68146
fix(attestation): link to published v1 from v2 2024-07-29 17:06:55 +02:00
Colin Darie
2689bc6721
fix(attestation): build v2 draft on draft procedure when a v1 is published 2024-07-29 17:06:54 +02:00
Colin Darie
25014a71b8
Merge pull request #10659 from colinux/fix-devise-confirmation-leak
ETQ usager, redirige les utilisateurs déjà confirmés qui réutilisent le lien de confirmation
2024-07-29 12:15:21 +00:00
Colin Darie
a6554aa7bf
fix(users): don't expose email of accounts already confirmed 2024-07-29 12:07:02 +02:00
Paul Chavard
2fe40343a7
Merge pull request #10646 from colinux/faq-allow-custom-image-attributes
Accessibilité: permet au markdown FAQ d'intégrer n'importe quel attribut html dans les `<img>`
2024-07-29 08:27:04 +00:00
Corinne Durrmeyer
afa43ef84c
Merge pull request #10654 from demarches-simplifiees/a11y-forgotten-password
Améliore l'accessibilité de la page mot de passe oublié
2024-07-26 14:08:42 +00:00
Colin Darie
6a6e643771
fix(instructeurs): don't fail when removing all displayed fields 2024-07-26 15:55:02 +02:00
LeSim
12c174f6cf
Merge pull request #10548 from demarches-simplifiees/choose_pjs_to_export
ETQ Instructeur, je peux choisir les pjs que j'exporte
2024-07-26 11:43:02 +00:00
simon lehericey
0dbeb822e4
layout: add possibiilty to export outdated pjs 2024-07-26 13:34:51 +02:00
simon lehericey
e9abdcbbf1
make it beautiful 2024-07-26 13:34:50 +02:00
simon lehericey
57f698853f
some layouts 2024-07-26 13:34:50 +02:00
simon lehericey
393db312c2
a little js 2024-07-26 13:34:50 +02:00
simon lehericey
c4403bffeb
work on controller 2024-07-26 13:34:50 +02:00
simon lehericey
30e79b735d
route: allow standard path helper to work
for example `form_with model: [:instructeur, procedure, export_template]`
2024-07-26 13:34:49 +02:00
simon lehericey
248da3a896
work on validator 2024-07-26 13:34:49 +02:00
simon lehericey
057868a48e
small work on tiptap 2024-07-26 13:34:49 +02:00
simon lehericey
f973c59c9a
stop exporting bills with export_template 2024-07-26 13:34:49 +02:00
simon lehericey
33244f6d70
adapt pieces_justificatives_service to new export_template.attachment_path 2024-07-26 13:34:49 +02:00
simon lehericey
8906a59635
simplify export_template model and spec 2024-07-26 13:34:49 +02:00