Commit graph

13325 commits

Author SHA1 Message Date
Eric Leroy-Terquem
ad98bafeca
feat(gallery): notify instructeur if pieces jointes added in avis 2024-11-05 16:53:40 +01:00
Eric Leroy-Terquem
d10df6e17c
feat(gallery): add attachments from avis 2024-11-05 16:53:40 +01:00
LeSim
e95e86faae
Merge pull request #9952 from demarches-simplifiees/better_api_token_edition
Admin: permet d'éditer la liste des démarches accessibles par un jeton d'api
2024-11-05 14:37:51 +00:00
simon lehericey
775e423914
can remove a demarche 2024-11-05 15:24:50 +01:00
simon lehericey
bc583e0fe2
can add a demarche 2024-11-05 15:24:50 +01:00
Corinne Durrmeyer
1e18b66012
Merge pull request #11016 from demarches-simplifiees/a11y-miscellaneous
Corrige diverses coquilles
2024-11-05 14:23:15 +00:00
simon lehericey
928c12e065
update using turbo 2024-11-05 15:05:00 +01:00
simon lehericey
b7af591e8d
extract libelle_id_procedures 2024-11-05 15:05:00 +01:00
Eric Leroy-Terquem
a2446c429a
Merge pull request #10935 from demarches-simplifiees/update-instruction-options-interface
ETQ admin j'ai une nouvelle interface pour les options de l'instruction
2024-11-05 14:00:46 +00:00
Eric Leroy-Terquem
d979bf6c68
feat(instruction options management): add routable champs by category 2024-11-05 14:41:37 +01:00
Eric Leroy-Terquem
264594fd58
feat(instruction options management): update alert info and confirmation 2024-11-05 14:41:37 +01:00
mfo
9ec59669c3
Merge pull request #10989 from mfo/US/fix-navigation-after-add-instructeur
ETQ instructeur, après avoir invité un instructeur sur ma démarche, je souhaite pouvoir continuer a naviguer dans ma liste d'instructeur
2024-11-05 13:39:06 +00:00
Corinne Durrmeyer
82963efb60
fix(typo) Correct misspelled attribute 2024-11-05 14:25:07 +01:00
Corinne Durrmeyer
4ad4f9be0b
fix(outdated code) Remove useless condition 2024-11-05 14:23:08 +01:00
Corinne Durrmeyer
95acc0adb6
Add context to delete button 2024-11-05 14:17:22 +01:00
Eric Leroy-Terquem
c10bec342a
Merge pull request #11012 from demarches-simplifiees/update-export-administration-info
ETQ superadmin je peux générer les exports adaptés pour la newsletter
2024-11-05 12:44:45 +00:00
mfo
47f2194e92
fix(Administrateurs::GroupesInstructeur#add_instructeur): re-rendering a template lead to miss usage of pagination. redirect after add_instructeur 2024-11-05 11:34:05 +01:00
Corinne Durrmeyer
d61078d01a
Merge pull request #11003 from demarches-simplifiees/a11y-improve-hint-restitution
ETQ usager, utilisant un lecteur d'écran je veux être informé du nombre de caractères restants ou en trop dans un textarea
2024-11-05 10:01:20 +00:00
Colin Darie
594fc517d1
Merge pull request #10943 from colinux/feat-admin-prefill-service
ETQ admin mes informations de nouveau service sont pré-remplies à partir d'API publiques
2024-11-05 09:54:53 +00:00
Paul Chavard
d1565a67a0
Merge pull request #11011 from demarches-simplifiees/US/extract-pj-column
ETQ tech, je peux acceder aux pj via les columns
2024-11-05 09:39:25 +00:00
Colin Darie
4e80f16b9f
Merge pull request #10974 from demarches-simplifiees/remove_empty_brouillon
Tech: ajoute un scope pour détecter les brouillons vides
2024-11-05 09:32:16 +00:00
Corinne Durrmeyer
d0bb869549
Merge pull request #11009 from demarches-simplifiees/a11y-rnf-rna
ETQ usager utilisant un lecteur d'écran, je veux être informé du résultat retourné par la recherche d'un numéro RNF
2024-11-05 09:30:04 +00:00
Eric Leroy-Terquem
ddb238ccd0
Merge pull request #11007 from demarches-simplifiees/can-condition-on-pays-champ
ETQ admin je peux conditionner / router depuis un champ pays
2024-11-05 09:26:20 +00:00
mfo
9d13ebb3ff
feat(pj): add specialized column for attachments 2024-11-05 10:09:59 +01:00
Eric Leroy-Terquem
2ff224ec47
refactor(manager data exports): extract method to generate csv 2024-11-05 10:00:14 +01:00
Eric Leroy-Terquem
d5de21fac4
feat(manager data exports): add exports for newsletter 2024-11-05 10:00:14 +01:00
Eric Leroy-Terquem
7cf81d3e9b
refactor(manager data exports): renaming methods 2024-11-05 10:00:14 +01:00
LeSim
4f0713a764
Merge pull request #11005 from demarches-simplifiees/work_on_json_path_column
ETQ Instructeur, je peux voir et filtrer sur les données retournées par API
2024-11-05 08:46:44 +00:00
simon lehericey
c364be12f1
rework ChampColumn.value 2024-11-05 09:38:29 +01:00
simon lehericey
ea57a97c06
introduce tdc_type 2024-11-05 09:38:27 +01:00
simon lehericey
52aaff5ffc
breaking: simplify linked_drop_down_column column_id 2024-11-05 09:38:27 +01:00
simon lehericey
0b2bc68d48
remove unused type_de_champ_private string 2024-11-05 09:38:27 +01:00
simon lehericey
7e9b68ed0e
fix projection 2024-11-05 09:38:27 +01:00
simon lehericey
8507733250
use champ_column.stable_id 2024-11-05 09:38:27 +01:00
simon lehericey
74e6834ce2
use path instead of value_column in linked_drop_down 2024-11-05 09:38:27 +01:00
simon lehericey
de8cad888e
LinkedDropDownColumn is also a ChampColumn by the way 2024-11-05 09:38:26 +01:00
simon lehericey
9d6304e7d4
TitreIdentite is a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
a4617abb0e
rework JSONPathColumn to be a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
d03d5d0dae
add ChampColumn 2024-11-05 09:38:26 +01:00
Corinne Durrmeyer
d1c9da0a0a
fix(RNA) Add translation of missing error message 2024-11-04 17:05:03 +01:00
Corinne Durrmeyer
a3c3db5434
fix(outdated code) Remove useless class 2024-11-04 17:05:02 +01:00
Corinne Durrmeyer
f59834015f
fix(RNF verification) Return search results to assistive technology 2024-11-04 17:05:02 +01:00
Lisa Durand
dcf56616c3
rename ProcedureLabel by Label part 2 2024-11-04 16:48:47 +01:00
Lisa Durand
468c159b52
handle label color translation and class name 2024-11-04 16:48:47 +01:00
Lisa Durand
9595730fde
feedback PR - prettier url and other style improvement 2024-11-04 16:48:47 +01:00
Lisa Durand
507ea70398
improve color selection for Admin and improve generic label lists 2024-11-04 16:48:47 +01:00
Lisa Durand
725a97da7e
admin can modify procedure labels 2024-11-04 16:48:46 +01:00
Lisa Durand
35dee477ea
rename ProcedureLabel by Label 2024-11-04 16:48:44 +01:00
Lisa Durand
1a3f73eb01
dont display tags on show if no label in procedure 2024-11-04 16:48:11 +01:00
Lisa Durand
84c2965edf
fix scss linter 2024-11-04 16:48:11 +01:00
Colin Darie
fd38288cf8
fix(label): don't html_safe user label from bdd 2024-11-04 16:48:11 +01:00
Lisa Durand
e723c9e365
create generic label for procedure in controller instead of using a hook 2024-11-04 16:48:11 +01:00
Lisa Durand
f68f4c88eb
correction after first review 2024-11-04 16:48:11 +01:00
Lisa Durand
c0dc487732
add css to custom tags and display labels with correct UI 2024-11-04 16:48:11 +01:00
Lisa Durand
9ab49a08b1
remove old badge css and only use DSFR 2024-11-04 16:48:11 +01:00
Lisa Durand
3a45524d39
add column label to procedure table 2024-11-04 16:48:00 +01:00
simon lehericey
a5b8b936d5
a column can override its column_id 2024-11-04 16:34:38 +01:00
Lisa Durand
d0b1292060
instructeur can add and delete labels on dossier show 2024-11-04 16:05:35 +01:00
Lisa Durand
2006dd283f
create dossier_labels 2024-11-04 16:05:35 +01:00
Lisa Durand
96cfb6cc43
create generic labels for old and new procedure 2024-11-04 16:05:35 +01:00
Lisa Durand
9dd224c3c7
create procedure_labels 2024-11-04 16:05:31 +01:00
Colin Darie
8b3634ea76
refactor(service): dedicated route for prefill from siret 2024-11-04 15:13:42 +01:00
Colin Darie
384d089cb3
feat(service): prefill first service with AgentConnect siret 2024-11-04 12:50:49 +01:00
Colin Darie
7742703081
refactor(service): concurrent prefill API calls 2024-11-04 12:50:49 +01:00
Colin Darie
065d380b70
feat(service): prefill type organisme from API Entreprise 2024-11-04 12:50:49 +01:00
Colin Darie
68cca71318
feat(service): prefill contact information UI interactions 2024-11-04 12:50:49 +01:00
Colin Darie
21dc77e587
fix(input): don't show success feedback when value was not set 2024-11-04 12:48:13 +01:00
Colin Darie
8dc47c1b93
feat(service): prefill contact information from annuaire service public 2024-11-04 12:48:13 +01:00
Colin Darie
a4054053f7
refactor(admin): move siret input up 2024-11-04 12:48:13 +01:00
Corinne Durrmeyer
f457c174ee
fix(character_limit) Return number of remaining or excess characters to screen reader 2024-11-04 12:17:34 +01:00
Corinne Durrmeyer
1c99a7c187
fix(character_limit_base) Displays the number of characters recommended for everyone 2024-11-04 12:15:11 +01:00
Corinne Durrmeyer
83c942c338
Merge pull request #10993 from demarches-simplifiees/a11y-specific-fields
ETQ usager, je veux que le titre du modèle de pièce jointe reprenne l'intitulé visible
2024-11-04 10:47:00 +00:00
Paul Chavard
415be4f9ea
feat(type_de_champ): test value casts 2024-11-04 11:16:05 +01:00
Paul Chavard
aeb1d1c53a
refactor(champ): move champ.blank? implementation to type_de_champ 2024-11-04 11:16:05 +01:00
Eric Leroy-Terquem
30aa0b71d0
feat(routing): can create simple routing with pays tdc 2024-11-04 11:09:58 +01:00
Eric Leroy-Terquem
b29893a843
feat(conditional): can condition and route with pays tdc 2024-11-04 11:09:37 +01:00
Paul Chavard
7fddec484d
refactor(column): no more java 🎉 get_value -> value 2024-10-31 21:36:13 +01:00
Paul Chavard
503da1d160
chore: implement special columns 2024-10-31 13:57:23 +01:00
Paul Chavard
e9991573e7
chore: columns on some champs at this point do not make sense 2024-10-31 13:29:15 +01:00
Paul Chavard
e2ace4f6bd
chore: only create columns on fillable champs 2024-10-31 13:29:15 +01:00
simon lehericey
f27598f235
fix: assign_to.procedure_presentation should return an ActiveModel::Errors if needed
the caller will then calls `errors.full_messages`
2024-10-31 11:03:06 +01:00
simon lehericey
59b7b3dc91
tag old methods to be remove in a next pr 2024-10-31 11:03:06 +01:00
simon lehericey
c28087ba3b
move human_value_for_filter to filter_buttons_component 2024-10-31 11:03:06 +01:00
simon lehericey
f50e63ea40
remove useless conversion 2024-10-31 11:03:06 +01:00
simon lehericey
1268f323cb
move filter button to component and use plug it to new route 2024-10-31 11:03:06 +01:00
simon lehericey
a0671a1321
remove prefix, use status in controller 2024-10-31 10:54:29 +01:00
simon lehericey
b4ed393a55
extract column_filter_value 2024-10-31 10:54:28 +01:00
simon lehericey
c8332b5e22
column: add more identifier 2024-10-31 10:54:28 +01:00
simon lehericey
13356f26c3
remove procedure from component signature 2024-10-31 10:54:28 +01:00
simon lehericey
d421d41e16
plug refresh_column_filter to dedicated controller 2024-10-31 10:54:28 +01:00
simon lehericey
7ed0b91351
plug column_filter, column_picker, column_header in new controller 2024-10-31 10:54:28 +01:00
simon lehericey
d8e63221b5
extract a procedure_presentation controller 2024-10-31 10:26:43 +01:00
simon lehericey
ab9a0fc34f
remove extraneous flatten compact 2024-10-30 18:34:11 +01:00
simon lehericey
5981de90a2
use Columns::DossierColumn 2024-10-30 18:30:38 +01:00
simon lehericey
96cd4fda72
ensure exported columns existed in main columns function 2024-10-30 18:28:25 +01:00
simon lehericey
d618f7cc0f
only expose chorus col when necessary 2024-10-30 18:28:25 +01:00
simon lehericey
92a863d48c
remove_all as there is no some_usager_columns 2024-10-30 18:28:25 +01:00
simon lehericey
2181a917a2
move col def to private when possible 2024-10-30 18:28:25 +01:00
mfo
656080538b
review(pull/10591#discussion_r1818942794): remove tested enum labels 2024-10-30 18:28:25 +01:00
mfo
fa50e21101
review(pull/10591#discussion_r1818919818): export without user id 2024-10-30 18:28:24 +01:00
mfo
cbb9854f4c
review(pull/10591#discussion_r1818916426): extract groupe_instructeurs_column and followers_instructeurs_email_column 2024-10-30 18:28:24 +01:00
mfo
3bed049a29
tech(style): prefix columns builders by their table, easier to understand 2024-10-30 18:28:24 +01:00
mfo
fc45e537cf
review(pull/10591#discussion_r1818914395): extract and dry archived/motivation column 2024-10-30 18:28:24 +01:00
mfo
d9fc48ad70
review(10591#discussion_r1818752344): homogenize interface for columns builders 2024-10-30 18:28:24 +01:00
mfo
8afe4374c7
review(pull/10591#discussion_r1818744664): extract some column builder 2024-10-30 18:28:23 +01:00
Christophe Robillard
df71c6a689
align columns naming and order for filter and add for export
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-30 18:28:23 +01:00
LeSim
0e589fc7ad
Merge pull request #10984 from demarches-simplifiees/fix-image-processor-job-errors
Technique : gestion des cas d'erreurs de ImageProcessorJob
2024-10-30 14:43:43 +00:00
Corinne Durrmeyer
861514dba9
Add translations to card component 2024-10-30 14:53:01 +01:00
mfo
54c9e46df0
feat(shared/_piece_justificative_template): forward traduction for better naming of download title element
Co-Authored-By: Corinne Durrmeyer <corinne@inseo.fr>
2024-10-30 09:51:05 +01:00
Paul Chavard
c6329ef10a
feat(column): add column get_value 2024-10-30 08:10:50 +01:00
Corinne Durrmeyer
f72c55631c
fix(trad): Add traduction to supporting document 2024-10-29 16:47:16 +01:00
Corinne Durrmeyer
340595cc86
fix(trad): Remove useless entries 2024-10-29 12:37:21 +01:00
Corinne Durrmeyer
10909c8879
Merge pull request #10965 from demarches-simplifiees/a11y-process-screen-2
Restitution des bandeau de statut (erreur ou succès)
2024-10-28 10:34:38 +00:00
mfo
af878ca5b7
Merge pull request #10988 from mfo/US/fix-exports-recasting-simple-to-multiple
Correctif: ETQ instructeur je peux exporter des mes dossiers au format xlsx même si le formulaire usager a changer
2024-10-28 08:55:55 +00:00
mfo
e24caeb4e2
Merge pull request #10986 from demarches-simplifiees/typo
Admin: corrige une typo dans le panneau d'inélégibilité
2024-10-25 14:06:47 +00:00
mfo
d66487138f
fix(sentry#6013588148): allowing recasting from drop_down_list to multiple_drop_down_list raises due to call to .selected_options 2024-10-25 13:49:32 +02:00
simon lehericey
6898287dac
fix: typo in ineligibilite panel 2024-10-25 11:07:35 +02:00
Eric Leroy-Terquem
93fcd4ad49
fix(image processing): do not uninterlace if no png path 2024-10-24 18:48:27 +02:00
Eric Leroy-Terquem
4dc13cc56c
fix(image processing): process only authorized image and pdf types 2024-10-24 18:48:27 +02:00
Eric Leroy-Terquem
e6845cd94d
fix(image processing): handle case of blob without attachments 2024-10-24 18:48:27 +02:00
Paul Chavard
406516a346
fix(email-checker): success can have no suggestions 2024-10-24 13:17:54 +02:00
simon lehericey
d32a4a24d9
fix: do not allow empty filter in views 2024-10-24 12:06:33 +02:00
simon lehericey
b22f049318
fix: do not allow empty filter in models 2024-10-24 12:06:32 +02:00
Paul Chavard
c56aa67297
Merge pull request #10980 from colinux/helpscout-more-validation
ETQ tech, réduit le bruit Helpscout sur Sentry
2024-10-24 09:31:51 +00:00
Eric Leroy-Terquem
56b1355f71
Merge pull request #10970 from demarches-simplifiees/add-multicombobox-in-instructeur-interface
ETQ instructeur je peux ajouter plusieurs instructeurs à la fois
2024-10-24 07:38:42 +00:00
Colin Darie
eaa3350b77
feat(contact): delete contact forms when max attempts has been reached 2024-10-23 17:05:27 +02:00
Colin Darie
4b48ee02cd
fix(helpscout): limit retries to a few hours 2024-10-23 16:58:15 +02:00
Colin Darie
84ae13eb6b
fix(helpscout): don't create conversation with an empty attachment 2024-10-23 16:57:54 +02:00
mfo
84870615d8
feat(flash_messages): dry up code and ensure turbo_force: :server otherwise morphing does not refresh page with new attrs 2024-10-23 16:13:30 +02:00
Corinne Durrmeyer
f3d0968da1
Enable restitution of morphed messages 2024-10-23 14:57:55 +02:00
Corinne Durrmeyer
c91d8698bd
Remove useless note for screen readers 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
536160f83e
Remove useless aria-live attribute 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
e21ebc75e1
Explain context of the 'revoke authorization' link to assistive technologies 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
fd049f6025
Improve status message delivery to assistive technologies 2024-10-23 14:00:24 +02:00
Corinne Durrmeyer
4e64eb1af5
Hide pesudo-element content from assistive technologies 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
48f1cd4a4a
Enhance contrast of notification dot 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
b0b1cdbbeb
Remove duplicate id 2024-10-23 14:00:23 +02:00
Corinne Durrmeyer
a1abaa4ac2
Replace span by div & tab-index by tabindex 2024-10-23 14:00:23 +02:00
Paul Chavard
1b188f65b0
Merge pull request #10977 from tchak/champ-oui-non-improve-format-on-export
ETQ Instructeur, je veux pouvoir faire la différence entre un champ Oui/Non vide et “Non”
2024-10-23 09:24:57 +00:00
Benoit Queyron
2b8e2b41da
Merge pull request #10968 from demarches-simplifiees/tech-nettoyage-options-header-section
Tech: task, nettoyage des options des header_section
2024-10-23 09:23:53 +00:00
Paul Chavard
05913b4409
Merge pull request #10978 from tchak/fix-some-sentry-js-errors
fix(js): fix sentry errors
2024-10-23 09:23:22 +00:00
benoitqueyron
1169dae310
task: clean header_section options 2024-10-23 10:35:07 +02:00
Mathieu Magnin
ba54890632
Merge pull request #10967 from demarches-simplifiees/fix-10966
Fix 500 when email is malformed
2024-10-23 07:23:07 +00:00
Paul Chavard
b5c7e78bbf
fix(js): fix sentry errors 2024-10-22 22:14:45 +02:00
Paul Chavard
08490bfb82
ETQ Instructeur, je veux pouvoir faire la difference entre un champ Oui/Non vide et “Non” 2024-10-22 21:18:17 +02:00
Eric Leroy-Terquem
81cbda0553
feat(instructeurs): can add many instructeurs 2024-10-22 17:31:31 +02:00
Thibaut Poullain
5195ebd5c7
🛠️ Fix | Procedure minimal admins presence 2024-10-22 17:01:57 +02:00
Paul Chavard
857f68c912
Merge pull request #10975 from tchak/refactor-export-repetition
refactor(export): do not use dossier.champs in export
2024-10-22 12:34:29 +00:00
Benoit Queyron
4844696f5c
Merge pull request #10973 from demarches-simplifiees/etq-admin-bug-affichage-service
ETQ Admin: amélioration de l'affichage des services
2024-10-22 12:04:51 +00:00
Paul Chavard
51a8c3cf98
refactor(export): do not use dossier.champs in export 2024-10-22 12:31:40 +02:00