Commit graph

12526 commits

Author SHA1 Message Date
simon lehericey
e8a175d310
refactor: be explicite with memoization 2024-05-23 10:00:41 +02:00
simon lehericey
420520489d
refactor(tags_substitution): simplify 2024-05-23 10:00:41 +02:00
simon lehericey
d60e7906e0
refactor: memoize flat_tags 2024-05-23 10:00:41 +02:00
simon lehericey
e0c867f222
refactor: rename 2024-05-23 10:00:40 +02:00
simon lehericey
3af1cee240
refactor: simplify 2024-05-23 10:00:40 +02:00
simon lehericey
1c0bd3e0e5
refactor: remove unused data 2024-05-23 10:00:40 +02:00
simon lehericey
43fb1ddeb5
refactor: remove target in tags 2024-05-23 10:00:40 +02:00
simon lehericey
585810553f
refactor(suffix): be consistent with index suffix 2024-05-23 10:00:39 +02:00
simon lehericey
b656867836
refactor(pj_service): do not query for pj_index 2024-05-23 10:00:39 +02:00
simon lehericey
6d757db20b
fix: champ.row_index and test pjs_for_champs 2024-05-23 10:00:39 +02:00
simon lehericey
1b734aeaed
refactor: simplify preview 2024-05-23 10:00:39 +02:00
simon lehericey
c51792b936
refactor(UI): move extension warning near pjs 2024-05-23 10:00:39 +02:00
simon lehericey
4a900d8121
refactor(UI): add file extension and number to preview 2024-05-23 10:00:38 +02:00
simon lehericey
2dffa9aaa2
refactor: extract preview 2024-05-23 10:00:38 +02:00
simon lehericey
c8b3b4b45a
refactor: renaming 2024-05-23 10:00:38 +02:00
simon lehericey
6445337be7
refactor(pj_list): extract pj list in a concern and simplify 2024-05-23 10:00:38 +02:00
Christophe Robillard
e235131c4c
add export template feature flag 2024-05-23 10:00:38 +02:00
Christophe Robillard
cec73e07a5
move preview to be aligned with form 2024-05-23 10:00:37 +02:00
Christophe Robillard
213522f23f
remove useless tiptap controller 2024-05-23 10:00:37 +02:00
Christophe Robillard
40d7b81e16
add some explanations for export template 2024-05-23 10:00:37 +02:00
Christophe Robillard
4e1552a9eb
add sample messagerie in preview 2024-05-23 10:00:37 +02:00
Christophe Robillard
565f6f44e5
make private some methods 2024-05-23 10:00:37 +02:00
Christophe Robillard
aeb4bd2ff1
add original-filename tag 2024-05-23 10:00:36 +02:00
Christophe Robillard
9f715e84d5
add i18n for export template 2024-05-23 10:00:36 +02:00
Christophe Robillard
43c862ed4d
list export templates for groupes instructeur of current instructeur 2024-05-23 10:00:36 +02:00
Christophe Robillard
2c28d97f3f
destroy export_template 2024-05-23 10:00:35 +02:00
Christophe Robillard
93f1fd5ebf
add export template lists 2024-05-23 10:00:35 +02:00
Christophe Robillard
be0c0311c5
use export template for admin archives 2024-05-23 10:00:35 +02:00
Christophe Robillard
4a79ecf301
add new export template link 2024-05-23 10:00:35 +02:00
Christophe Robillard
5aac2ecdc4
rename editor css class
Co-authored-by: Colin Darie <colin@darie.eu>
2024-05-23 10:00:35 +02:00
Christophe Robillard
fd9335f129
style editor tags 2024-05-23 10:00:35 +02:00
Christophe Robillard
2a4bfdd40b
can use export template from export_dropdown_component 2024-05-23 10:00:34 +02:00
Christophe Robillard
357c07456c
generate export with export_template 2024-05-23 10:00:34 +02:00
Christophe Robillard
7a39752630
rename root directory in zip export 2024-05-23 10:00:34 +02:00
Christophe Robillard
7661b8b1b2
add export_template to exports 2024-05-23 10:00:34 +02:00
Christophe Robillard
a12d6b4af0
preview content export 2024-05-23 10:00:33 +02:00
Christophe Robillard
f5813b4e55
create and update export templates 2024-05-23 10:00:33 +02:00
Christophe Robillard
95c308dc51
add specific tags 2024-05-23 10:00:33 +02:00
Christophe Robillard
a248eba641
export template: set default values 2024-05-23 10:00:33 +02:00
Christophe Robillard
dbf46b1f02
extract DOSSIER_ID_TAG 2024-05-23 10:00:32 +02:00
Christophe Robillard
bbb6309b4f
procedure: add pieces_jointes_exportables_list 2024-05-23 10:00:32 +02:00
Christophe Robillard
25ab2420fe
validate export template 2024-05-23 10:00:32 +02:00
Christophe Robillard
24922605cd
add pj for export template 2024-05-23 10:00:32 +02:00
Christophe Robillard
d1c3b84ea2
add export template model 2024-05-23 10:00:32 +02:00
Christophe Robillard
93ad0f4bda
[tiptap] convert tiptap json to path 2024-05-23 10:00:31 +02:00
Paul Chavard
c405b3cf77
Merge pull request #10439 from tchak/improuve-react-types
chore(ts): improuve some types
2024-05-22 13:49:45 +00:00
Eric Leroy-Terquem
47fe6ccf6c
fix(gallery): keep variants but rollback pdf previews 2024-05-22 13:57:47 +02:00
Paul Chavard
dd81baabe2 chore(ts): improuve some types 2024-05-22 08:53:51 +02:00
Colin Darie
dfc1563cfd
Merge pull request #10435 from mfo/fix-clone-private-attachment
Correctif: ETQ usager, lorsque je clone mon dossier, je ne clone pas les PJs des annotations privées
2024-05-21 19:19:06 +00:00
mfo
29ef5b313c
fix(data): clean Champs::PieceJustificativeChamp for annotations that had been cloned 2024-05-21 14:35:51 +02:00
Lisa Durand
1ff641ed34
Merge pull request #10356 from govpf/feature/better_place_for_the_move_champ_after_in_champ_editor
ETQ Administrateur les actions sur un champ dans l'editeur (déplacement, suppression,...) sont rassemblés en bas de chaque champ
2024-05-21 09:11:46 +00:00
mfo
4ea601de79
fix(champs.pj.clone): stop cloning private piece_justificative_file when user clone his dossier 2024-05-21 09:50:27 +02:00
mfo
4629092ab6
Merge pull request #10423 from mfo/fix-maintenance-task-for-tiers
Correctif: MaintenanceTask pour corriger les dossiers declarés pour un tiers mais sans avoir renseigné les infos du tiers
2024-05-21 07:19:53 +00:00
Colin Darie
c2b1d7aaaf
Merge pull request #10261 from colinux/ignore-search-terms-2
Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
2024-05-21 07:07:10 +00:00
Christian Lautier
602cf92901 Champ editor: Move champ header to footer 2024-05-17 16:15:37 -10:00
Lisa Durand
7cfd9becc8
avoid performing job if attachment is created on existed blob 2024-05-17 11:03:40 +02:00
Lisa Durand
affb1820d8
add PDF preview in view for gallery 2024-05-17 11:03:39 +02:00
Lisa Durand
93c3761107
add specs 2024-05-17 11:03:39 +02:00
Lisa Durand
b4a7b4bfbd
create a job for all image treatments 2024-05-17 11:03:38 +02:00
Lisa Durand
96238da249
add service to rotate jpg attachment automatically 2024-05-17 11:03:37 +02:00
Colin Darie
c794f654ea
Merge pull request #10426 from colinux/fix-accuse-lecture-procedure-draft
ETQ admin corrige l'acceptation de dossier d'une démarche brouillon avec accusé de lecture
2024-05-16 18:36:27 +00:00
Colin Darie
55ee9cd6bf
Merge pull request #10422 from colinux/better-sanitize-stats-year
Tech (carte): ignore silencieusement les params invalides
2024-05-16 17:53:17 +00:00
Colin Darie
3d52601155
fix(carte): gracefully ignore invalid year and kind params
Empêche d'envoyer une date invalide à PG et polluer les logs.
2024-05-16 16:58:42 +02:00
Colin Darie
2d57ec4056 fix(accuse-lecture): don't crash on dossier acceptance when procedure is still draft 2024-05-16 16:18:35 +02:00
Colin Darie
a41ba205d0
chore(faq): translate english interface (not faq content) 2024-05-16 12:26:06 +02:00
Colin Darie
64de0cb146
refactor(faq): update links to new internal links 2024-05-16 11:43:59 +02:00
Colin Darie
8d99e28da5
chore(faq): cache I/O on showing faq 2024-05-16 11:43:58 +02:00
Colin Darie
b0503b4f28
chore(faq): cache depends on app version 2024-05-16 11:43:58 +02:00
Colin Darie
0581c67d6c
refactor: extract ApplicationVersion version from sentry 2024-05-16 11:43:58 +02:00
Colin Darie
d05aee0c67
feat(faq): variabilize application name, host, contact_email 2024-05-16 11:43:58 +02:00
Colin Darie
472a9ae2ef
chore(faq): more faq 2024-05-16 11:43:58 +02:00
Colin Darie
d855c94fbf
feat(faq): breadcrumb 2024-05-16 11:43:57 +02:00
mfo
a01bbd68c7
fix(backfill_invalid_dossiers): not tested, typo 2024-05-16 09:48:05 +02:00
Colin Darie
7a5cb7dbd2
feat(faq): can render images 2024-05-16 09:39:23 +02:00
Colin Darie
08c237c028
feat(faq): list FAQs 2024-05-16 09:39:21 +02:00
Colin Darie
ae78224bac
feat(faq): link siblings FAQs of same category 2024-05-16 09:39:01 +02:00
Colin Darie
9af2c4f244
feat: show a simple FAQ 2024-05-16 09:35:19 +02:00
Paul Chavard
b12627f074 fix(dossier): fix n+1 on header sections 2024-05-15 17:57:44 +02:00
Colin Darie
241da41c4c
Merge pull request #10419 from colinux/switch-domain-feature-user
Tech: l’affichage du bandeau .gouv.fr sticky à l'user
2024-05-15 15:41:48 +00:00
Paul Chavard
bcd3f3b471 refactor(champs): change views to use new urls with stable_id and row_id 2024-05-15 16:51:26 +02:00
mfo
68a624be9e
fix(data): backfill invalid dossier for tiers without tiers info 2024-05-15 14:42:37 +02:00
mfo
50735919c8
fix(for_tiers): do not update for_tiers column to render the form. otherwise user could switch to dossier.for_tiers without filling mandataire required fields when he updates his identity 2024-05-15 14:36:52 +02:00
Colin Darie
7f25f1eba1
chore: switch domain feature sticky to user 2024-05-15 10:27:31 +02:00
Lisa Durand
40e952e8d2
Merge pull request #10417 from demarches-simplifiees/follow-up-accuse-lecture-ldu
[ETQ admin] Je veux comprendre pourquoi je ne peux pas personnaliser mes mails si l'accusé de lecture est activé
2024-05-15 07:42:19 +00:00
Christian Lautier
55a4c73f4a Stick to DSFR design. 2024-05-14 08:17:26 -10:00
Christian Lautier
592f040ada Procedure champ editor: place the 'Move champ after' selection in the champ's header. 2024-05-14 08:17:26 -10:00
Lisa Durand
5195c8a56f add explanation and desactivate links for email customisation if AR is activated 2024-05-14 11:40:53 +02:00
Paul Chavard
a1db089681 fix(champ): champ value formatters should check champ type 2024-05-13 17:00:46 +02:00
Colin Darie
d4e6e2effa
Merge pull request #10413 from demarches-simplifiees/fix-typo
Corrige des fautes de frappe
2024-05-13 14:43:43 +00:00
mfo
ef4fb441e0
Merge pull request #10393 from demarches-simplifiees/fix-page-listing-titles
Amélioration de la hiérarchie de titres sur les pages de listing et suppression d'un lien vide
2024-05-13 14:31:30 +00:00
mfo
928c3c4016
Merge pull request #10396 from demarches-simplifiees/fix-missing-label
Restaurer l'affichage du label "Filtrer par démarche" sur les pages Usager
2024-05-13 14:31:27 +00:00
Corinne Durrmeyer
8d9b701120
Replace aria_hidden by aria-hidden 2024-05-13 16:05:14 +02:00
Colin Darie
71c1d7ac9a
feat(brouillon): index search terms debounced when updating brouillon 2024-05-13 15:55:39 +02:00
Corinne Durrmeyer
8fd6f58beb
feat(fix-typo) : Correct incorrect abbreviations 2024-05-13 15:55:22 +02:00
Paul Chavard
f766a6fb5e fix(dossier): fix projected value on linked_drop_down_list 2024-05-13 15:32:04 +02:00
Corinne Durrmeyer
e4979bc1a1
Specifie the function of the submit button 2024-05-13 15:30:46 +02:00
Corinne Durrmeyer
3c6133276b
Replace autosubmit by submit button 2024-05-13 15:30:46 +02:00
Corinne Durrmeyer
beda1814c8
Improve searchbar layout 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
df489cc688
Modify id and for values to avoid conflict due to duplicate identifiers 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
6f1b41b1a7
Remove .fr-search-bar .fr-label styles. And unse .sr-only instead 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
03409a798f
Display 'Filter by procedure' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
32114c0132
Modify 'Search a file' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
ac6b552acb
Modify 'Filter by procedure' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
93c7b3f817
Fix typo 2024-05-13 15:30:45 +02:00
Colin Darie
4f69b35ee2
Merge pull request #10410 from colinux/fix-export-mismatch-tdc
Tech: tag sentry `procedure` sur le job d'exports pour faciliter le debuggage
2024-05-13 14:46:37 +02:00
Colin Darie
dbcc17b5d4
Merge pull request #10409 from colinux/fix-attestation-departement
Correctif: génération des attestations pour les champs départements
2024-05-13 14:46:23 +02:00
Colin Darie
c790ab9065
Merge pull request #10399 from demarches-simplifiees/nice_delimiter
ETQ Administrateur, je vois le numero de ma démarche avec un separateur de millier
2024-05-13 12:25:19 +00:00
Colin Darie
1615b8ea28
chore(export): set sentry tag procedure id 2024-05-13 14:01:43 +02:00
Colin Darie
ea821e1eac fix: departement_type_de_champ#champ_value_for_tag bad signature 2024-05-13 13:29:30 +02:00
Colin Darie
e01f5b7993
refactor(search): index search terms only when necessary 2024-05-08 10:35:04 +02:00
Corinne Durrmeyer
907bc8d97d
Instructor : Remove empty link 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
74f1f19a15
Expert : Standardize title 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
c518018020
Admin - Add main title 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
4a9213455a
Admin - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
Corinne Durrmeyer
2dc6e3fbc3
Instructor - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
Corinne Durrmeyer
f0544d77e9
User - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
simon lehericey
24a8257e47
ux: cni are not exposed by zip or api 2024-05-07 14:49:43 +02:00
Kara Diaby
b048a2b042 BUGFIX : La démarche modèle clonée n'est plus modèle 2024-05-07 09:49:29 +00:00
mfo
9518982166
Merge pull request #10346 from mfo/US/permit-to-disable-tiers-bloc
ETQ administrateur, je souhaite pouvoir conditionner l'affichage du bloc " Pour un bénéficiaire : membre de la famille, proche, mandant, professionnel en charge du suivi du dossier…"
2024-05-07 09:23:07 +00:00
mfo
15e464d246
Merge pull request #10309 from mfo/US/section_component_use_html_with_semantic_meaning
tech(a11y): Les champs répétables n'englobent pas leurs champs enfant dans un `fieldset` si il n'y a qu'un seul champ enfant. Idem pour les checkbox uniques
2024-05-07 07:52:22 +00:00
Colin Darie
6733b2884f
feat(search): index mandataire name 2024-05-06 18:58:52 +02:00
Colin Darie
39b0327237
refactor(search): rename update search terms => index search terms 2024-05-06 18:57:39 +02:00
Colin Darie
797bd6b94b
fix(search): preload before updating search terms because we access all champs 2024-05-06 18:57:04 +02:00
Colin Darie
4408824882
fix(dossier): update search terms when etablissement or individual changed 2024-05-06 18:57:03 +02:00
Colin Darie
ee465b38ff
feat(search): debounce update search terms 2024-05-06 18:57:00 +02:00
Colin Darie
2e763d5e92
perf(search): ignore search_terms columns, use raw sql instead 2024-05-06 17:16:34 +02:00
Colin Darie
300264bf10
fix: procedure closed details link on 'Plus d'informations' words 2024-05-06 16:41:37 +02:00
mfo
84c1a485e5 feat(Procedure.for_tiers_enabled): allow super admin to disable for_tiers 2024-05-06 15:56:22 +02:00
mfo
b40cc2a54e feat(individual.validation): add missing strict_email validation 2024-05-06 15:56:22 +02:00
mfo
f6046d801f feat(individual_form_component): add missing required on notification method 2024-05-06 15:56:22 +02:00
mfo
95de0d6239 tech(refactor): identity blocks 2024-05-06 15:56:22 +02:00
Eric Leroy-Terquem
3d5e0043a6
refacto: remove unused small variant 2024-05-06 15:52:06 +02:00
Eric Leroy-Terquem
db8de9e657
fix(gallery): display attachments tab only if attachments in dossier 2024-05-06 15:52:06 +02:00
Eric Leroy-Terquem
479fdb9dbe
feat(gallery): can close gallery when clicking on browser back button 2024-05-06 15:52:05 +02:00
Eric Leroy-Terquem
c6a2cb0240
style(gallery): update gallery demande UI 2024-05-06 15:52:05 +02:00
Colin Darie
0dd4bafdfd refactor(pj): more readable as_multiple logic 2024-05-06 09:49:02 +00:00
Colin Darie
9e3bf50e61 chore(messagerie): mention multiple files are possible 2024-05-06 09:49:02 +00:00
Colin Darie
6748551240 chore(messagerie): add missing label on comment form 2024-05-06 09:49:02 +00:00
Colin Darie
3b7b18ef90 style(pj-messagerie): same spacing as in PJ champ 2024-05-06 09:49:02 +00:00
Colin Darie
5374100866 fix(messagerie): fix submit for gestionnaires 2024-05-06 09:49:02 +00:00
Kara Diaby
46bec10aa2 lib 2024-05-06 09:49:02 +00:00
Kara Diaby
5488067801 api 2024-05-06 09:49:02 +00:00
Kara Diaby
be056a1258 tasks 2024-05-06 09:49:02 +00:00
Kara Diaby
bf622eb3ed service and serializer 2024-05-06 09:49:02 +00:00
Kara Diaby
b69d8249c5 controller 2024-05-06 09:49:02 +00:00
Kara Diaby
981e7ff244 javascript 2024-05-06 09:49:02 +00:00
Kara Diaby
7092583b0a layout 2024-05-06 09:49:02 +00:00
Kara Diaby
bec9af90e8 models 2024-05-06 09:49:02 +00:00
Kara Diaby
1e9b7fbbb6 components 2024-05-06 09:49:02 +00:00
simon lehericey
c9fbe6d5cc
ui: add html delimiter to procedure numbre 2024-05-03 15:57:48 +02:00
Corinne Durrmeyer
717166f61c
Fix typo 2024-05-03 10:18:05 +02:00
Eric Leroy-Terquem
4b53808b5c
fix(gallery): add variants on thumbnails 2024-04-29 21:35:20 +02:00
simon lehericey
d2987582f1
chore(blob): add maintenance task to recompute blob checksum 2024-04-29 10:06:33 +02:00
mfo
91f07f86e4
fix(Champ.checkbox): single checkbox should not be wrapped in fieldset. single checkbox uses fr-checkbox not fr-radio
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-24 18:00:40 +02:00
mfo
64dcd2b0d2
fix(repetition): useless fieldset 2024-04-24 17:37:58 +02:00
Paul Chavard
0f6b39d5ca fix(task): fix BackfillCommuneCodeFromNameTask 2024-04-24 16:22:20 +02:00
Paul Chavard
ecd8ea9ee5 refactor(dossier): use new serialization in dossier project service 2024-04-24 13:27:20 +02:00
Paul Chavard
244dcfcc23 refactor(export): improuve specs 2024-04-24 13:27:20 +02:00
Paul Chavard
39364961ab refactor(export): expose new interface on type de champ and use it in champs 2024-04-24 13:27:20 +02:00
Paul Chavard
371b8b0b46 refactor(export): remove old formatting code from champs 2024-04-24 13:27:20 +02:00
Paul Chavard
99834e0cf5 refactor(export): move formatting logic to type de champ 2024-04-24 13:27:20 +02:00
Paul Chavard
ea42dec5a4 chore(patron): build real demarche and dossier for page patron 2024-04-23 21:56:14 +02:00
LeSim
6c70a3db28
Merge pull request #10374 from colinux/watermark-dj
ETQ instructeur: rétablit l'affichage du filigrane des Titres d'identité
2024-04-23 15:22:28 +00:00
Colin Darie
9658a0ca47
fix(watermark): fix watermark text
Current attributes are not set in jobs
2024-04-23 14:59:46 +02:00
Paul Chavard
2bc076e1fb fix(dossier): fix and optimize dossier projection service 2024-04-23 11:38:53 +02:00
mfo
62a2aee923 feat(api.playground): playground is accessible to anyone. allow user to fill in headers 2024-04-23 11:19:38 +02:00
LeSim
9ae734c122
Merge pull request #10365 from tchak/refactor-dossier-champ-by-stable-id-attribute-keys
refactor(champs): do not depend on attributes hash key in old code
2024-04-23 07:18:08 +00:00
Colin Darie
5348543dbe
fix(demande): pj thumbnail with loading="lazy" 2024-04-22 22:33:51 +02:00
Eric Leroy-Terquem
388470f186
fix(gallery): add a feature flag on gallery demande 2024-04-22 20:55:13 +02:00
Paul Chavard
95bb09a1f8 refactor(champs): do not depend on attributes hash key in old code 2024-04-22 18:38:59 +02:00
Paul Chavard
741712141a refactor(champs): add new champs controllers urls with stable_id and row_id 2024-04-22 13:55:02 +02:00
Paul Chavard
1021a31f7b refactor(dossier): use update_champs_private and update_champs_public methods 2024-04-22 13:55:02 +02:00
Paul Chavard
ee57d00507 refactor(champs): add new champ find strategy 2024-04-22 13:55:02 +02:00
Paul Chavard
fbd48abc9c refactor(graphql): use champ_for_update method 2024-04-22 13:55:02 +02:00
Paul Chavard
25e009df78 refactor(prefill): use champ_for_update method 2024-04-22 13:55:01 +02:00
Paul Chavard
0c7bc6b555 feat(dossier): add methods to upsert champ values 2024-04-22 13:55:01 +02:00
Paul Chavard
c479d46b47 refactor(champs): extract dossier champ related methods in to a concern 2024-04-22 13:55:01 +02:00
Colin Darie
c52ff5cdeb
Merge pull request #10357 from demarches-simplifiees/fix_dolist_gouv_sender
Tech: pour le prestataire de mail dolist, choisit le bon sender_id en fonction du domaine utilisé (migration gouv.fr)
2024-04-22 09:43:34 +00:00
Lisa Durand
a0b172566d
feat(gallery): small ui adjustments 2024-04-22 11:09:12 +02:00
Eric Leroy-Terquem
321d198f64
feat(gallery): add gallery to demande page 2024-04-22 11:09:12 +02:00
Eric Leroy-Terquem
29dea52a7e
chore: add truncate option to show and download component 2024-04-22 11:09:11 +02:00
Eric Leroy-Terquem
7c6c3608c9
feat(gallery): use authorized content types 2024-04-22 11:09:11 +02:00
Eric Leroy-Terquem
f02cb19fd4
feat(gallery): display pieces jointes in a gallery 2024-04-22 11:09:10 +02:00
Colin Darie
a30d202971
Merge pull request #10352 from colinux/sva-visible
ETQ admin, tout le monde voit la tuile pour activer le SVA/SVR
2024-04-22 08:26:58 +00:00
Paul Chavard
5788997519
Merge pull request #10347 from tchak/cleanup-dossier-user
fix(dossier): always use user_email_for instead of user.email
2024-04-22 08:22:51 +00:00
Paul Chavard
761ecf95b1
Merge pull request #10348 from demarches-simplifiees/fix_cron_operations_signature
Tech: repare le job de signature des operations
2024-04-22 08:22:38 +00:00
Paul Chavard
7d4148202c
Merge pull request #10265 from tchak/yabeda-graphql
chore(yabeda): add graphql metrics
2024-04-22 08:21:51 +00:00
Eric Leroy-Terquem
e4d517bf10
Merge pull request #10311 from demarches-simplifiees/allow-rerouting-of-dossier-if-routing-configured-after-procedure-publication
ETQ tech je peux re-router les dossiers d'une démarche si le routage a été configuré après publication - suite
2024-04-22 07:55:30 +00:00
Paul Chavard
3dbb2266d2 chore(yabeda): add graphql metrics 2024-04-22 09:34:40 +02:00
simon lehericey
9e33b1ee6d
fix: allow unsigned expert when restricted list 2024-04-19 13:03:09 +02:00
simon lehericey
45fa700561
fix: choose dolist sender depending on the mail domain 2024-04-19 10:59:04 +02:00
simon lehericey
2745be5672
chore: remove old code 2024-04-19 08:48:17 +02:00
simon lehericey
a10a59b265
perf: only load id digest 2024-04-19 08:48:17 +02:00
simon lehericey
8f8b63ac6a
fix: load the dols day by day 2024-04-19 08:48:17 +02:00
Colin Darie
2f1b1ba5fe
fix(mailers): hardcode default url options host because APP_HOST is not yet migrated 2024-04-18 18:44:32 +02:00
simon lehericey
21e8fc54e2
chore: put dol_to_cold_storage back to low_priority 2024-04-18 17:10:21 +02:00
Colin Darie
63aecdd85a chore(sva): always enable card but form submit needs feature flag 2024-04-18 16:09:36 +02:00
mfo
4041bfa160
Merge pull request #10317 from mfo/US/aria-labelled-by-error-message
ETQ Usager, je souhaite que mon screen reader verbalise les erreurs sur les champs unique contenu dans un `fieldset`
2024-04-18 08:53:12 +00:00
Paul Chavard
6644f8157f fix(dossier): always use user_email_for instead of user.email 2024-04-18 10:21:32 +02:00
mfo
8453e121d7
feat(champ.errors): add aria-labelledby error on champs wrapped within a fieldset, make error messages always present and aria-live: assertive on validation error
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
2024-04-18 10:00:27 +02:00
mfo
1a0a603234
Merge pull request #10316 from mfo/US/better-error-message-on-siret-champ
ETQ usager, j'aimerais que les champs siret soient mieux verbalisés par le screen reader
2024-04-18 07:11:18 +00:00
Colin Darie
46545ee846
Merge pull request #10341 from colinux/dsfr-1.11
Tech: upgrade DSFR 1.10 => 1.11
2024-04-17 15:50:32 +00:00
Paul Chavard
2c9f809a46
Merge pull request #10250 from mfo/US/add-missing-validators
tech(champs.validators): dry and standardize champs.validations
2024-04-17 15:06:47 +00:00
mfo
009738f26b
Merge pull request #10313 from mfo/US/stop-using-placeholder-and-title-attribute
ETQ usage, je souhaite que les aides à la saisie soient vocalisées par le screenreader
2024-04-17 14:57:14 +00:00
Colin Darie
5ae0fa0d7d fix(dsfr): v1.11 requires meta[name=format-detection] 2024-04-17 16:41:32 +02:00
Colin Darie
251d512b73 fix(dsfr): v1.11.1 removes aria-haspopup from burger button 2024-04-17 16:37:26 +02:00
simon lehericey
ca4ab4cfe1
fix: multi FC do not change const 2024-04-17 15:33:37 +02:00
Colin Darie
b4ee26b9e7 style: cleanup generic form css override 2024-04-17 11:48:27 +02:00
LeSim
6165df277b
Merge pull request #10342 from demarches-simplifiees/dirty_fix_to_make_fc_work_again
hack: always use default redirect_uri
2024-04-17 09:45:21 +00:00
simon lehericey
2424885adf
hack: always use default redirect_uri 2024-04-17 11:36:35 +02:00
Colin Darie
09dd31829a
Merge pull request #10286 from demarches-simplifiees/fix-app-name-hardcoded
ETQ admin: form des infos de démarche plus lisible
2024-04-17 08:14:39 +00:00
mfo
d8b7aa14f6
feat(Champ.rna): do not use title attribute on champ.rna
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-17 07:31:33 +02:00
mfo
36c253edbb
clean(Champ.siret): title not needed 2024-04-17 07:31:32 +02:00
mfo
cab3a55f45
fix(Champ.dossier_link): do not use placeholder, use hint 2024-04-17 07:31:32 +02:00
mfo
94891b8695
fix(Champ.number): remove placeholder 2024-04-17 07:31:32 +02:00
mfo
83c6bf1f0e
feat(Champ.siret): on invalid, set error message on InputStatutErrorMessage. on valid, set info message on siret info component
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-17 06:30:16 +02:00
mfo
aca67a2274
tech(refactor.champs.validation): all champs validation use :validate_champ_value_or_prefill? 2024-04-17 06:27:26 +02:00
mfo
c6e21fb7bd
feat(champs.contextual_validation): extract contextual methods validation in module 2024-04-17 06:27:25 +02:00
Colin Darie
331dfd3044
Merge pull request #10339 from colinux/fix-instructeurs-notification
ETQ instructeur, fix position de la pastille de notification
2024-04-16 16:12:41 +00:00
simon lehericey
981003975c
refactor: use last_sign_in_at as confirmed_at is not reliable 2024-04-16 17:58:30 +02:00
simon lehericey
d95ce505a8
feat: suggest recently added user even if its not confirmed 2024-04-16 17:58:30 +02:00
simon lehericey
8d95df2250
feat: do not suggest unconfirmed experts 2024-04-16 17:58:30 +02:00
simon lehericey
1502635327
refactor: experts emails pluck 2024-04-16 17:58:30 +02:00
simon lehericey
5cd780251b
refactor: mutualize email_expert logic 2024-04-16 17:58:29 +02:00
Colin Darie
7c6bcb268d
chore(admin): improve non declarative radio label 2024-04-16 17:55:17 +02:00
Colin Darie
2515f46fea
style(admin): minor spacing improvements in procedure form 2024-04-16 17:55:16 +02:00
Lisa Durand
ec26ebb807
use radio rich style for more readability 2024-04-16 17:55:15 +02:00
Lisa Durand
227d740a76
remove css change and add all fieldsets 2024-04-16 17:55:14 +02:00
Lisa Durand
1246ef02b6
remove interpolation in duree_conservation… field 2024-04-16 17:55:12 +02:00
Lisa Durand
5231ce71a3
follow-up : admin better procedure infos form 2024-04-16 17:55:11 +02:00
Colin Darie
b1570a40f9
wip: admin: better procedure infos form 2024-04-16 17:55:10 +02:00
Colin Darie
b336e1b606
chore(admin): fix hardcoded application names in translations 2024-04-16 17:55:09 +02:00
Colin Darie
94c176d791 style(notification): fix pastille position in dossiers list 2024-04-16 15:59:53 +02:00
Colin Darie
71b0592b0a
Merge pull request #10336 from colinux/fix-address-without-postcode
Usager: fix champ adresse dans un TOM sans code postal dans la BAN (ex. Nouvelle-Calédonie à Nouméa)
2024-04-16 13:45:04 +00:00
Colin Darie
db65c9178e
fix(address): BAN does not return postcode for some TOM like Nouvelle-Calédonie
But we have to fallback to an empty string because API graphql / serializer
expects a non-null attribute.
2024-04-16 15:37:56 +02:00
Paul Chavard
f95bd5d1f2
Merge pull request #10327 from tchak/remove-stable-id-delegate
refactor(champ): remove stable_id delegate to type_de_champ
2024-04-16 13:14:08 +00:00
simon lehericey
2f946c1592
refactor: put dol cold storage migration to its own queue 2024-04-16 13:48:12 +02:00
Paul Chavard
ee56a7da21 refactor(champ): remove stable_id delegate to type_de_champ 2024-04-16 12:10:07 +02:00
Lisa Durand
7a80574afc
Merge pull request #10190 from demarches-simplifiees/add-AR-feature-ldu
ETQ Admin je peux configurer une démarche avec accusé de lecture
2024-04-16 09:58:13 +00:00
Lisa Durand
49ed6d0b14 add demo video url on admin homepage 2024-04-16 10:34:28 +02:00
simon lehericey
6982b2d5e8
refactor: do not enqueue antivirus job for safe blob 2024-04-16 09:57:31 +02:00
Colin Darie
e3dbbf2009
Merge pull request #10235 from colinux/page-404
Pages d'erreur personnalisées / au dsfr
2024-04-15 21:12:04 +00:00
Paul Chavard
d857ad1d0a
Merge pull request #10323 from tchak/fix-commune-with-blank-codes
fix(commune): no crash on blank codes
2024-04-15 11:48:16 +00:00
Paul Chavard
7163571764
Merge pull request #10325 from colinux/fix-add-row-without-champ
Tech: pas d'erreur si un usager essaie d'ajouter une ligne d'un champ répétition sans enfant
2024-04-15 11:48:04 +00:00
Colin Darie
4da13f5dc2 fix(repetition): don't fail when trying to add a row of repetition without champ
Cf procedure#31063 which have stable_id#1078289 without children
2024-04-15 13:15:18 +02:00
Paul Chavard
f4f1d5bcd9 chore(task): backfill commune code from name task 2024-04-15 12:12:05 +02:00
Lisa Durand
c6e2e6445c add instructeur feedback on accuse de lecture agreement 2024-04-15 12:10:28 +02:00
Paul Chavard
bde496b739
Merge pull request #10322 from tchak/chore-backfill-stable-id-custom-limit
chore(task): backfill stable_id with custom limit
2024-04-15 09:28:21 +00:00
LeSim
716099e2d7
Merge pull request #10321 from demarches-simplifiees/add_maintenance_task_to_move_dol_to_cold_storage
Tech: ajoute une tache de maintenance pour rattraper les dossier operation log qui n'ont leur data sur le cold storage
2024-04-15 09:20:43 +00:00
Lisa Durand
a29719a15c small adjustments from PR feedbacks 2024-04-15 11:15:13 +02:00
Lisa Durand
13aeb4f4d9 Correction Sim PR - use dynamic application name
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-04-15 11:15:13 +02:00
Lisa Durand
71268c7f3b hide decision from email for tiers if procedure has accuse de lecture 2024-04-15 11:15:13 +02:00
Lisa Durand
1cf3db5899 hide dossier with accuse de lecture in user list when using state filter 2024-04-15 11:15:13 +02:00
Lisa Durand
5bbc4cab50 hide decision displayed in messagerie with auto commentaire 2024-04-15 11:15:13 +02:00
Lisa Durand
8fe9b174eb hide decision displayed in badge for user 2024-04-15 11:15:13 +02:00
Lisa Durand
e486f789f6 add AR in user view - hide decision on second dossier tab 2024-04-15 11:15:13 +02:00
Lisa Durand
8eda069bfc add AR in user view - hide decision on first dossier tab 2024-04-15 11:15:13 +02:00
Lisa Durand
ae08044ff2 create AR email and send it at the right time 2024-04-15 11:15:05 +02:00
Paul Chavard
ea47ba3747 fix(commune): no crash on blank codes 2024-04-15 11:01:15 +02:00
Lisa Durand
ee91f47c5a add AR component and page on admin view 2024-04-15 10:46:29 +02:00
Paul Chavard
ef2aa217ff chore(task): backfill stable_id with custom limit 2024-04-15 10:43:39 +02:00
simon lehericey
d419508b68
fix: reduce a join query size 2024-04-15 10:34:39 +02:00
simon lehericey
120eb4253c
data: add naive maintenance task to cold storage dol 2024-04-15 10:16:14 +02:00
mfo
cb2dd3dd3a
Merge pull request #10314 from mfo/US/enhance-a11y-on-carte-champs
ETQ Usager je souhaite que le champ carte soit plus accessible
2024-04-14 13:25:06 +00:00
mfo
d4e8227827
Merge pull request #10312 from mfo/US/ensure-dsfr-style-on-some-champs
ETQ usager, je veux que tous les champs aient un style DSFR
2024-04-12 13:41:16 +00:00
mfo
3e89921683
Merge pull request #10315 from mfo/US/drop-usage-of-invalid-aria
ETQ usager : pas d'`aria-invalid`
2024-04-12 11:55:58 +00:00
mfo
f1935eb7a0
Merge pull request #10318 from mfo/US/better-error-messages
ETQ Usager, je souhaite avoir des messages d'erreur homogènes et comprehensibles
2024-04-12 11:55:39 +00:00
mfo
b9907ac9ce
fix(Champ.rnf): add missing fr-input dsfr class name
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 12:01:00 +02:00
mfo
1989c3e75b
fix(Champ.carte): add missing label to search input instead of placeholder
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 11:56:34 +02:00
mfo
d7cacde727
feat(champ.aria): do not use aria-invalid from time to time [standardization]
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 11:54:09 +02:00
mfo
35c92ee906
feat(champs.errors.format): better format for error below champs
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-12 11:50:43 +02:00
mfo
938f5043a4
feat(champs.validation): standardize champ error messages 2024-04-12 11:39:43 +02:00
mfo
d8a8fb53ce
feat(Champ.carte): some error style on carte 2024-04-12 10:59:42 +02:00
mfo
a052341c93
fix(Champ.address): add missing fr-select dsfr class name 2024-04-12 10:45:37 +02:00
mfo
626f3780f6
fix(Champ.commune): add missing fr-select dsfr class name 2024-04-12 10:45:24 +02:00
mfo
c22438fb75
feat(Champ.annuaire_education): add missing fr-input class name 2024-04-12 10:45:12 +02:00
Eric Leroy-Terquem
84ab6d08b8
feat(routing): make assignment mode auto when all dossiers are reaffected to defaut groupe. so that all dossiers can be re routed 2024-04-12 10:27:21 +02:00
mfo
4773d9ebad
feat(Champ.repetition): hide destroy button of first repetition row when the repetition is mandatory 2024-04-12 09:29:00 +02:00
Colin Darie
a93a4cd5ce
chore: specific 422 error page 2024-04-11 18:19:32 +02:00
Colin Darie
5b98fd7c6d
chore: generic customized error page 2024-04-11 18:19:31 +02:00
Colin Darie
5d23b37f59
chore: custom dynamic & static 500 pages 2024-04-11 18:19:30 +02:00
Colin Darie
7dcd4ba538
feat: customized page 404 2024-04-11 18:19:29 +02:00
Paul Chavard
4d90b1f662
Merge pull request #10303 from colinux/update-admin-transfer-copy
ETQ admin: améliore le style de la page oubliée "Envoyer une copie de ma démarche"
2024-04-11 14:48:42 +00:00
Eric Leroy-Terquem
1e50223267
Merge pull request #10293 from demarches-simplifiees/re-router-tous-les-dossiers-d-une-demarche
ETQ tech je peux relancer le routage pour tous les dossiers en construction d'une démarche
2024-04-11 13:27:43 +00:00
simon lehericey
bda9c4b455
fix: drop unused column and fk procedure_revisions.attestation_template_id which block procedure.destroy 2024-04-11 13:38:38 +02:00
simon lehericey
ab4a6b1c7d
fix: rescue and sentry log procedure.purge_discarded to avoid blowing up the whole job 2024-04-11 13:22:37 +02:00
Colin Darie
efc1b2201a style(admin): Envoyer une copie form in dsfr 2024-04-11 12:52:03 +02:00
Paul Chavard
fe508c0a73
Merge pull request #10302 from tchak/ignore-attestation_template_id
chore(db): ignore attestation_template_id
2024-04-11 10:30:37 +00:00
Paul Chavard
2de2d8af45
Merge pull request #10301 from demarches-simplifiees/more_work_on_city_address
Tech: simplifie le code address dans les champs commune
2024-04-11 10:15:47 +00:00
Paul Chavard
d5b08d2ebb
Merge pull request #10298 from mfo/US/fix-move-after
ETQ Admin, quand je deplace les champs apres d'autre champ, ne pas griser le champs precedent
2024-04-11 10:07:35 +00:00
Paul Chavard
ceae749746 chore(db): ignore attestation_template_id 2024-04-11 12:03:06 +02:00
simon lehericey
124433b781
refactor: commune_champ 2024-04-11 11:57:18 +02:00
simon lehericey
c77b66feef
refactor: api_geo_services raises if wrong dep or city code 2024-04-11 11:56:53 +02:00
Paul Chavard
4cdaef3a08
Merge pull request #10300 from tchak/chore-stable_id-task
fix(stable_id): recursive job to fill stable_ids
2024-04-11 09:53:56 +00:00
LeSim
e7f31e4d49
Merge pull request #10297 from demarches-simplifiees/fix_dossier_operation_log_move_to_cold_storage
Tech: améliore la performance du job du stockage a froid des traces fonctionnelles
2024-04-11 09:47:37 +00:00
Paul Chavard
9bfc4119b1 fix(stable_id): recursive job to fill stable_ids 2024-04-11 11:45:03 +02:00
Lisa Durand
5b3277bb31
Merge pull request #10270 from demarches-simplifiees/ux-remove-icon-file-in-tableau-instructeur-ldu
ETQ instructeur, j'ai une colonne vide s'il n'y a pas les checkbox des actions multiples
2024-04-11 09:25:26 +00:00
mfo
45d45c0d05
feat(type_de_champ_editor): allow admin to move champ after previous champ. useless but better a11y 2024-04-11 11:00:08 +02:00
simon lehericey
34fae2831f
refactor: add dol_move_batch job which are enqueued by the cron 2024-04-11 10:58:34 +02:00
Colin Darie
dfbe53dcc5
fix(cron): really schedule jobs on sidekiq instead of running them 2024-04-10 18:03:47 +02:00
simon lehericey
344f0d2c80
fix: graphql new normalization 2024-04-10 10:57:37 +02:00
simon lehericey
5567570d74
more robust normalization 2024-04-10 10:57:37 +02:00
Lisa Durand
758673a355
Merge pull request #10280 from demarches-simplifiees/ux-improve-usager-filter-dropdown-ldu
[UX] Améliorer les filtres d'un dossier sur le tableau de bord d'un usager
2024-04-10 07:18:55 +00:00
Eric Leroy-Terquem
51312b178e
task(routing): reroute dossiers en construction 2024-04-09 17:17:49 +02:00
simon lehericey
23060da306
fix: do not url encode error message in sentry 2024-04-09 14:25:17 +02:00
simon lehericey
92ba1a12ce
chore: use space instead of tab 2024-04-09 14:25:17 +02:00
simon lehericey
f55328c15d
fix: maintenance task to backfill city_name 2024-04-09 11:44:11 +02:00
Colin Darie
4bbe136987
Merge pull request #10283 from demarches-simplifiees/fix-main-menu-a11y
Remplacement de l'attribut `aria-current="page"` par `aria-current="true"` lorsque le lien concerne un ensemble de pages
2024-04-09 08:57:09 +00:00
Colin Darie
c7d2caf1b7
Merge pull request #10266 from demarches-simplifiees/fix-a11y-contact-page
Amélioration de l'accessibilité de la page de contact.
2024-04-09 08:17:24 +00:00
Colin Darie
6e9bae4f0c
Merge pull request #10289 from colinux/fix-preferred-domain
Tech: n'assigne pas le domaine préféré à l'inscription/connexion si la feature n'est pas activée
2024-04-09 08:15:32 +00:00
Colin Darie
3c7018fd31 fix: don't set preferred domain on signup/signin unless feature is enabled 2024-04-09 10:04:18 +02:00
Colin Darie
25892f594c
fix(jobs): don't enqueue crons to default adapter anymore 2024-04-08 18:27:31 +02:00
Lisa Durand
09d4ed760f add missing views and change position for notif 2024-04-08 12:10:00 +02:00
Paul Chavard
df8ad3f709 fix(adresse): fallback to city name if commune not found 2024-04-08 11:49:37 +02:00
Paul Chavard
707d3980c0
Merge pull request #10171 from tchak/fix-perf-filters
perf(filter): we query by stable_id - no need to check type_de_champ private attribute
2024-04-08 09:24:54 +00:00
Corinne Durrmeyer
fd54c15144
feat(fix-aria-current-mainmenu) : Transform aria-current='page' into aria-current='true' when the current link targets several pages - fix #8559 #8135 2024-04-08 11:22:44 +02:00
Lisa Durand
e2d83d87d2 change wording in usager filter and target css to combobox component 2024-04-08 10:41:39 +02:00
LeSim
12406643d9
Merge pull request #10268 from demarches-simplifiees/sidekiq_cron
Tech: déplace les cron job sur sidekiq
2024-04-08 08:32:06 +00:00
LeSim
6855213435
Merge pull request #10273 from demarches-simplifiees/discard_champ_fetch_job_on_not_found
Tech:  supprime les fetch_external_data_job lorsque le champ correspond n'existe plus
2024-04-08 08:13:06 +00:00
LeSim
22830fd7f6
Merge pull request #10275 from demarches-simplifiees/fix_api_entreprise_status
Tech: corrige le mécanisme de surveillance des fournisseurs d entreprise.api.gouv.fr
2024-04-08 08:08:38 +00:00
Paul Chavard
c5c671f391
Merge pull request #10234 from tchak/type-de-champ-paths
feat(champ): add paths to type_de_champ
2024-04-08 08:07:30 +00:00
simon lehericey
e82a8787d5
dirty fix: avoid changing preferred domain 2024-04-05 15:26:12 +02:00
Paul Chavard
ce95fe1794
Merge pull request #10255 from demarches-simplifiees/fix-move-after-edit-list
ETQ Administrateur : Amélioration de l'accessibilité et de l'ergonomie de la liste d'édition du formulaire "déplacer après"
2024-04-05 11:39:55 +00:00
Paul Chavard
80b3f0c0b3 fix(champ): no validate on hidden champs 2024-04-05 13:24:57 +02:00
simon lehericey
2e2f4706c5
deduplicate and add error management 2024-04-05 12:30:43 +02:00
simon lehericey
42f0b87c39
remove api_up? 2024-04-05 12:27:54 +02:00
simon lehericey
7b33963a67
add and use api_djepva_up? 2024-04-05 12:27:26 +02:00
simon lehericey
e994738a2e
add and use api_insee_up? 2024-04-05 12:26:44 +02:00
simon lehericey
ac695a2151
fix: discard DeserializationError on fetch external data job 2024-04-05 10:42:44 +02:00
Corinne Durrmeyer
a46286f9df
feat(improve-contact-page-a11y) : Add missing h2 to footer 2024-04-05 09:35:28 +02:00
Corinne Durrmeyer
339dd7ef98
feat(improve-contact-page-a11y) : Add missing lang attributes - fix #6772 2024-04-05 09:35:22 +02:00
Paul Chavard
742e6f4a92 perf(filter): we query by stable_id - no need to check type_de_champ private attribute 2024-04-04 19:01:47 +02:00
Paul Chavard
282ce1322c fix(stats): more accurat stats about deleted dossiers 2024-04-04 19:00:48 +02:00
Paul Chavard
81c325f938 chore(task): another attempt to backfill stable_id 2024-04-04 17:55:38 +02:00
Lisa Durand
5155049873 remove column with checkbox if no batch actions 2024-04-04 17:17:03 +02:00
simon lehericey
42af5a9149
make cron_job work with both delayed_job and sidekiq 2024-04-04 16:38:38 +02:00
Paul Chavard
38a703034e feat(champ): expose paths 2024-04-04 16:13:23 +02:00
Corinne Durrmeyer
8039464541
feat(improve-contact-page-a11y) : Replace %span.mandatory * with AsteriskMandatoryComponent 2024-04-04 14:53:51 +02:00
Corinne Durrmeyer
9dab2afc11
feat(improve-contact-page-a11y) : Replace 'All fields are mandatory.' with 'Fields marked by an asterisk are mandatory' - fix #10264 2024-04-04 14:53:51 +02:00
Corinne Durrmeyer
5523dd4b35
feat(improve-contact-page-a11y) : Remove useless <h2> around paragraphs - fix #8212 #10264 2024-04-04 14:53:51 +02:00
Paul Chavard
9593e8825f chore(browser): be more agressive about browser deprecation 2024-04-04 13:53:41 +02:00
Colin Darie
c005991470
Merge pull request #10230 from demarches-simplifiees/fix-alert-for-closed-procedures-in-dossiers-list
Correctif : affiche correctement le lien vers la page de fermeture dans la liste des dossiers
2024-04-04 09:44:55 +00:00
Colin Darie
8af3f07181
Merge pull request #10231 from colinux/fix-gouv-fr-banner
Tech: petites corrections pour le .gouv
2024-04-04 09:02:03 +00:00
Eric Leroy-Terquem
8d7c078f92
fix(dossiers list): display link correctly 2024-04-04 09:44:37 +02:00
Corinne Durrmeyer
1cd552c79f
feat(move_after_edit_list) : Add new line at end of file to avoid lint error 2024-04-04 09:39:40 +02:00
Colin Darie
0c4a4c8764
Merge pull request #10232 from demarches-simplifiees/redirect-fermeture-to-commencer-if-procedure-not-closed
Correctif: redirige la page fermeture vers la page commencer si la démarche n'est pas fermée
2024-04-04 07:34:23 +00:00
Colin Darie
df59503ab7
Merge pull request #10224 from colinux/mail-host
Tech (mailers): `from`, liens et application en respectent le preferred domain du destinataire
2024-04-04 07:25:43 +00:00
LeSim
3f54d46f19
Merge pull request #10258 from demarches-simplifiees/fix_strange_locale
tech: verifie que la locale est disponible
2024-04-03 07:11:12 +00:00
simon lehericey
fc8d5adf2f
fix: avoid buggy locale from user 2024-04-02 21:53:56 +02:00
Colin Darie
8c0375fe6f
chore: easier to test .gouv / new host using APP_HOST 2024-04-02 19:36:39 +02:00
Colin Darie
033b2fa63d
chore(banner): easier with hardcoded .gouv.fr name 2024-04-02 19:36:37 +02:00
Colin Darie
d5515fca33
fix(banner): not closed form tag broke JS 2024-04-02 19:36:35 +02:00
Colin Darie
95e80d6ce3
fix(layout): header text alignemnt 2024-04-02 19:25:46 +02:00
Colin Darie
36fc535386
refactor(mailer): for devise mailer set locale in dedicated action 2024-04-02 19:25:44 +02:00
Colin Darie
172aeec3dc
chore(mail): replace textual logo with simple logo + application name as text 2024-04-02 18:47:53 +02:00
Colin Darie
df198a8946
style(mailer): big button in dsfr style 2024-04-02 18:47:51 +02:00
Colin Darie
68ee4a3404
feat(mail): use contextualized Current.application_name 2024-04-02 18:47:48 +02:00
Colin Darie
8b9d4c87f7
refactor(mailer): more thread safe defaults tweaks 2024-04-02 18:47:47 +02:00
Colin Darie
21991d7253
feat(mail): link with hosts for recipient for user mailer 2024-04-02 18:47:46 +02:00
Colin Darie
5bf580b6ac
feat(mail): link with hosts for recipient for notification mailer 2024-04-02 18:47:45 +02:00
Colin Darie
f8a9e72aa2
feat(mail): from and link with host for recipient in dossier_mailer 2024-04-02 18:47:44 +02:00
Colin Darie
3512e071d3
feat(mail): devise mailer respect user preferred host for any mail 2024-04-02 18:47:43 +02:00
Colin Darie
d14fe83261
feat(mail): devise confirmation instructions respect user preferred host 2024-04-02 18:47:41 +02:00
Paul Chavard
0006a12aea
Update app/models/dossier.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-04-02 18:09:29 +02:00
Paul Chavard
7cf1cdb47b fix(champ): do not expose champs without row_id in repetitions 2024-04-02 17:51:57 +02:00
Corinne Durrmeyer
84f0165520
feat(move_after_edit_list) : Remove useless aria attribute - fix #10254 2024-04-02 17:23:25 +02:00
Corinne Durrmeyer
d54bac71bf
feat(move_after_edit_list) : Improve the "move after" edit list - fix #10206 2024-04-02 17:23:25 +02:00
Corinne Durrmeyer
a5a7e880eb
feat(move_after_edit_list) : Correct a typo - fix #10254 2024-04-02 17:23:25 +02:00
LeSim
2ea45d5dba
Merge pull request #10251 from colinux/exports-reduce-memory
Tech (exports): télécharge les PJ > 10mb en chunks pour ne pas les mettre en mémoire
2024-04-02 14:48:33 +00:00
Colin Darie
fe12df1892
Merge pull request #10252 from demarches-simplifiees/more_log_to_adresse_controller
Tech: ajoute des metadata pour débugger un pb sur l'adresse controller
2024-04-02 14:16:37 +00:00
Paul Chavard
94aef62e87
Merge pull request #10253 from tchak/chore-task-stable-id
chore(task): reduce batch size of fill stable id task
2024-04-02 14:10:22 +00:00
Paul Chavard
61a6f0b382
Merge pull request #10243 from demarches-simplifiees/small_job_fixes
Tech: petites corrections pour éviter les réessais inutile sur les jobs de mail et de rnf
2024-04-02 14:09:55 +00:00
Paul Chavard
792bf47658 chore(task): reduce batch size of fill stable id task 2024-04-02 15:55:44 +02:00
Colin Darie
e23e2d9c31
perf(export): download in chunks files >= 10 mb 2024-04-02 15:54:46 +02:00
simon lehericey
57927a3783
chore: more log to address controller errors 2024-04-02 15:47:11 +02:00
mfo
b245d9b063
Merge pull request #10220 from demarches-simplifiees/fix-drop-down-missing-hint
ETQ usager : Champ choix multiple, ajouter une aide a a la saisie
2024-04-02 09:28:34 +00:00
mfo
84f0891a8b
Merge pull request #10245 from demarches-simplifiees/US/fix-attestation-link
correctif(lien.attestation): ETQ expert, je souhaite avoir accès à l'attestation même si je ne suis pas instructeur
2024-04-02 08:14:37 +00:00
mfo
e40ef51f61
Merge pull request #10247 from colinux/fix-export-memory-leak
Tech: fix memory leak pendant le téléchargement des PJ des exports
2024-04-02 08:14:28 +00:00
mfo
3a895fbd4a
tech(review): add a guard clause to prevent missing pdf, enhance specs 2024-04-02 10:04:22 +02:00
simon lehericey
8405c83c12
fix: do not retry rnf bad request 2024-04-02 10:00:07 +02:00
simon lehericey
dd6c558541
fix: discard deserialization error as there are raised from AR not found 2024-04-02 10:00:06 +02:00
mfo
4da36531d4
Merge pull request #10242 from demarches-simplifiees/US/fix-decimal-number-validator
Correctif(annotations privées): ETQ instructeur, je ne pouvais modifier une annotation quand un usager avait saisi des valeur de champs incorrectes
2024-04-02 07:13:07 +00:00
Colin Darie
f9af570cab perf(export): fix memory leak after large files downloads 2024-04-01 20:03:35 +02:00
Paul Chavard
13005b0a4a fix(dossier): enqueue jobs after commit 2024-04-01 19:00:25 +02:00
Paul Chavard
5d302fb6ac refactor(dossier): extract aasm callbacks in to a concern 2024-04-01 18:55:08 +02:00
mfo
e08aa7d28b
wip(validates): prefill and validate_champ_value? on all other missing validation checks 2024-04-01 07:36:14 +02:00
mfo
284a10e235
fix(Champs::EngagementJuridiqueChamp): validates Champs::EngagementJuridiqueChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
mfo
ff527517c9
fix(Champs::CiviliteChamp): validates Champs::CiviliteChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
mfo
94ea16c894
fix(Champs::BooleanChamp): validates Champs::BooleanChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
mfo
d7f152f4af
fix(Champs::PhoneChamp): validates Champs::PhoneChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
mfo
374d763084
fix(Champs::IntegerNumberChamp): validates Champs::IntegerNumberChamp respecting it's validation context. 2024-04-01 07:18:13 +02:00
mfo
fd5faad31f
fix(Champs::PaysChamp): validates Champs::PaysChamp respecting it's validation context. Also do not save value when external_id/code can't be found by lookup 2024-04-01 07:18:13 +02:00
mfo
04f3b6a844
fix(Champs::DecimalNumberChamp): validates Champs::DecimalNumberChamp respecting it's validation context 2024-04-01 07:07:11 +02:00
Martin
2944a0c2c3
fix(expert.attestation.url): was pointing to attestation_instructeur_dossier_path, so did not worked when expert was not instructeur. use active_storage_link, secured enough because served to authenticated users as well as expiring link 2024-03-30 06:20:11 +01:00
Paul Chavard
46c5830306
Merge pull request #10238 from demarches-simplifiees/fix-mailbox-missing-link
ETQ usager : ajout d'un lien vers la messagerie dans les dossiers en attente de correction
2024-03-28 16:56:17 +00:00
Paul Chavard
3c336c437a chore(task): optimize maintenance task 2024-03-28 17:35:17 +01:00
Corinne Durrmeyer
d5af837872 feat(messagerie_missing_link): Add link to messaging system in the alert block - fix #10198 2024-03-28 11:55:09 +01:00
Eric Leroy-Terquem
78530f9823
fix(fermeture): redirect to commencer if procedure not closed 2024-03-27 12:16:04 +01:00
Lisa Durand
65b8f6881a
Merge pull request #10143 from demarches-simplifiees/float-too-many-decimal-ldu
ETQ admin, je veux que le champ nombre décimal ne prenne que 3 chiffres après la virgule
2024-03-27 10:05:35 +00:00
Lisa Durand
a3ab6dd257 add validation on decimal max 3 digits after coma 2024-03-27 10:55:10 +01:00
mfo
465de75e6b
Merge pull request #10215 from demarches-simplifiees/US/catch-oomed-jobs
tech(export_job): sometimes ExportJob are OOMed, in those cases jobs are stuck and never retried. release lock and increase attempts
2024-03-27 09:34:46 +00:00
Kara Diaby
bfc68f8377
Merge pull request #10216 from demarches-simplifiees/dark_mode_admin_mails
ETQ Admin, je souhaite voir l'éditeur de mail adapté au dark mode
2024-03-26 20:04:21 +00:00
Corinne Durrmeyer
ba290110e5 feat(multiple_drop_down_list): Replace blank option 2024-03-26 15:39:27 +01:00
Martin
be47152096 tech(export_job): sometimes ExportJob are OOMed, in those cases jobs are stuck and never retried. release lock and increase attemps 2024-03-26 15:29:04 +01:00
Corinne Durrmeyer
ab6a76ad46 feat(multiple_drop_down_list) : Add missing space - fix #10185 2024-03-26 15:27:59 +01:00
Colin Darie
d161589e2f fix(api-entreprise): Context is not defined in jobs 2024-03-26 12:45:28 +01:00
Paul Chavard
06d81dcfaf
Merge pull request #10169 from tchak/refactor-champ-public_id
fix(champ): use public_id in views
2024-03-26 10:31:13 +00:00
Paul Chavard
6ad0b901b6 fix(champ): use public_id in views 2024-03-26 11:23:23 +01:00
Kara Diaby
8da7ff7eaa editeur mail administrateur : adaptation pour le dark mode 2024-03-26 11:14:17 +01:00
Paul Chavard
b02ba1e909 feat(textarea): autoresize textareas 2024-03-25 19:53:29 +01:00
Colin Darie
b3d2ca1486
Merge pull request #10203 from colinux/dev-warn-visible
Tech: bannière indiquant staging / env de test plus visible
2024-03-25 17:31:03 +00:00
Colin Darie
6977d0e89f
style(dev): staging env more visible 2024-03-25 15:58:55 +01:00
Paul Chavard
f589129ef5 chore(attachment): remove unused replace code 2024-03-25 15:13:14 +01:00
Eric Leroy-Terquem
536a03bbb4
Merge pull request #10180 from demarches-simplifiees/update-bulk-messages-associations
Technique : Mise à jour de l'association bulk messages - procédures
2024-03-25 13:35:23 +00:00
Eric Leroy-Terquem
b1e8c2ab49
Merge pull request #10182 from demarches-simplifiees/remove-closing-attributes-from-cloned-procedures
Correctif : supprime les closing attributes lors du clonage d'une démarche
2024-03-25 13:23:27 +00:00
Eric Leroy-Terquem
7d28a2f38b
Merge pull request #10132 from demarches-simplifiees/add-alert-on-accepted-files-if-closed-procedure
ETQ usager je vois un message d'alerte dans la liste de mes dossiers sur mes dossiers terminés sur une démarche close
2024-03-25 10:24:34 +00:00
Eric Leroy-Terquem
d01cd3a310
refacto(dossier list): do not use html safe 2024-03-25 11:16:06 +01:00
Eric Leroy-Terquem
bfd4ae9d50
refacto(dossier list): use model method en_construction_ou_instruction? 2024-03-25 11:15:35 +01:00
Eric Leroy-Terquem
5754d01242
feat(dossier): add alert on dossiers list for dossiers termines on closed procedures 2024-03-25 11:15:34 +01:00
Colin Darie
e31cd40adc fix(banner): correct http/https protocol for dev/prod 2024-03-25 09:54:05 +01:00
Eric Leroy-Terquem
a726d34404 fix(cloned procedures): reset closing attributes 2024-03-22 17:07:22 +01:00
Eric Leroy-Terquem
e712cf5f23 task(procedure): fix open procedures with closing reason 2024-03-22 16:00:36 +01:00
Eric Leroy-Terquem
773de2dbf2 chore(groupe_instructeurs): do not reaffect bulk messages anymore 2024-03-22 14:56:54 +01:00
Eric Leroy-Terquem
30f96a79c2 chore(bulk messages): update associations 2024-03-22 14:52:34 +01:00
Martin
2281e3de4b fixup! feat(type_de_champ_editor): move champs after another champ. 2024-03-22 10:10:28 +01:00
Martin
8eb6e5d6bb feat(type_de_champ_editor): can't move champ after his previousSibling, nor after himself, noop 2024-03-22 10:10:28 +01:00
Martin
44cdb14fb9 feat(type_de_champ_editor): move champs after another champ. 2024-03-22 10:10:28 +01:00
Martin
b8a155a7ee feat(type_de_champ_editor): show tdc position indexed starting at 1 not 0 2024-03-22 10:10:28 +01:00
Martin
0cff8668fa fix(dossier.pdf): code path not tested reached a typo 2024-03-22 09:26:50 +01:00
Martin
862af8a9f6 fix(dosser#show.pdf): missing user indirection on fci 2024-03-22 08:45:19 +01:00
Martin
015e606f50 fix(dossier.has_many.france_connect_informations): wip 2024-03-22 07:47:02 +01:00
Colin Darie
b6526cfad9
Merge pull request #10172 from colinux/fix-banner-domain
Tech: fix pour la bannière du domaine
2024-03-21 21:04:30 +00:00
simon lehericey
46087e4577 raise Error if generation fail 2024-03-21 21:03:21 +01:00
simon lehericey
76f7222e7a add metadata to pdf 2024-03-21 21:03:21 +01:00
simon lehericey
77744f510e add upstream context to weasyprint html generation 2024-03-21 21:03:21 +01:00
LeSim
a8f2274939
Merge pull request #10174 from demarches-simplifiees/do_not_cache_application_name_on_landing
Tech: sort le nom de l'application du cache dans la page de landing
2024-03-21 18:08:52 +00:00
mfo
d00b146dc3
Merge pull request #10165 from mfo/US/add_champ_descriptor_id
feat(api): add champs.champDescriptorId so champRepetitions.rows[x] has a uniq id
2024-03-21 17:05:56 +00:00
simon lehericey
5c416105ee do not cache application name on landing 2024-03-21 17:38:00 +01:00
Colin Darie
d8b35e2e77 feat(banner-domain): hide error msg by default because while redirecting, we briefly see the banner 2024-03-21 17:20:03 +01:00
Colin Darie
dd0dba2959 fix(domain-banner): oops 2024-03-21 17:18:54 +01:00
Colin Darie
17f9992722
Merge pull request #10040 from colinux/cross-domain-component
Prépare la bannière informant du changement de nom de domaine, avec redirection automatique le cas échéant
2024-03-21 14:58:29 +00:00
Eric Leroy-Terquem
058350df53 fix(administrateur): can delete administrateur with a discarded procedure with no dossier 2024-03-21 14:27:53 +01:00
Eric Leroy-Terquem
9139bfbf48 clean(administrateur): remove dead code 2024-03-21 14:27:53 +01:00
Eric Leroy-Terquem
6a77bbb6c9 fix(administrateur): can be deleted only if other admin or dossiers on all procedures included with discarded 2024-03-21 14:27:52 +01:00
simon lehericey
fa47eea07e oups 2024-03-21 14:01:52 +01:00
Colin Darie
f768801b7d
feat(registration): set preferred host on signup/signin 2024-03-21 13:15:36 +01:00
Colin Darie
41a02d1ead
feat: notify sentry when connection test on new host fail 2024-03-21 13:15:35 +01:00
Colin Darie
2f4444bd5e
chore: mark preferred domain to new domain when closing notice 2024-03-21 13:15:34 +01:00
Colin Darie
a16f88f8af
chore(schema): add preferred_domain to users 2024-03-21 12:21:19 +01:00
Colin Darie
4dd24f0925
chore: cross domain banner between APP_HOST_LEGACY and APP_HOST 2024-03-21 12:21:16 +01:00
simon lehericey
2ea6a5d25c remove now useless biz_dev module 2024-03-21 11:54:03 +01:00
simon lehericey
a42f85ef05 remove useless administration_id in invite_admin and invite_administrateur! 2024-03-21 11:54:02 +01:00
Martin
22fa2e61b4 feat(api): add champs.champDescriptorId so champRepetitions.rows[x] has a uniq id 2024-03-21 10:29:33 +01:00
simon lehericey
44b113e433 fix brakeman 2024-03-21 10:06:09 +01:00
simon lehericey
1dfd3bf573 use Current.application_base_url in app 2024-03-21 10:06:09 +01:00
simon lehericey
4c3b0229eb set Current.application_base_url 2024-03-21 10:06:09 +01:00
simon lehericey
72a2b764dc add demarches.gouv.fr as sender of automatic emails 2024-03-21 10:06:09 +01:00
simon lehericey
edc4e60b81 use Current.contact_email in app 2024-03-21 10:06:09 +01:00
simon lehericey
d13910dac4 set Current.contact_email 2024-03-21 10:06:09 +01:00
simon lehericey
efa35e04a5 use Current.application_name in app excluding mail 2024-03-21 10:06:09 +01:00
simon lehericey
b9fcb25f1a set Current.application_name 2024-03-21 10:06:08 +01:00
Kara Diaby
6222a3b797
Merge pull request #10164 from demarches-simplifiees/feat/10151
ETQ instructeur, je souhaite voir la gestion des notifications instructeurs au DSFR
2024-03-21 08:51:07 +00:00
Eric Leroy-Terquem
a89b471b5c
Merge pull request #10163 from demarches-simplifiees/fix-bulk-message-maintenance-task
fix(maintenance task): fix query and add a test
2024-03-21 08:26:09 +00:00
Kara Diaby
84890f954b gestion des notifications instructeurs au DSFR 2024-03-21 04:02:53 +00:00
mfo
086cc1537b
Merge pull request #10068 from mfo/US/user-has-many-fcis
tech(User.FranceConnect): un usager peut avoir plusieurs profils FranceConnect, pas uniquement un
2024-03-20 16:30:39 +00:00
Eric Leroy-Terquem
dd7a407187 fix(maintenance task): fix query and add a test 2024-03-20 15:24:21 +01:00
Eric Leroy-Terquem
73d6609eb3
Merge pull request #10158 from demarches-simplifiees/fix-closing-reason-form
Correctif : ETQ admin je ne peux pas fermer une démarche en redirigeant sans choisir la nouvelle démarche
2024-03-20 13:28:40 +00:00
Lisa Durand
6c5c744411
Merge pull request #10119 from demarches-simplifiees/add-explanation-when-publish-with-same-url-ldu
ETQ admin j'ai un message d'explication si j'utilise une URL déja utilisée lors de la publication d'une démarche
2024-03-20 13:21:59 +00:00
Eric Leroy-Terquem
280f1ac3c7 refactor(procedure): add a prefix to closing_reason enum 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
579fe2c933 chore(procedure): remove unnecessary safe operator 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
234f0d7a75 fix(data): update closing_reason to other if no replaced_by_procedure_id 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
e55531c6f4 fix(procedure): validates presence of replaced_by_id if procedure redirected 2024-03-20 14:04:59 +01:00
Lisa Durand
db244c821b remove ununcessary instance variable for current admin 2024-03-20 11:24:24 +01:00
Paul Chavard
eff03aaf23 refactor(dossier): label indexes based on type_de_champ not champ 2024-03-20 09:58:47 +01:00
Paul Chavard
33125c691e
Merge pull request #10145 from tchak/fix-clone-with-stable-id
fix(champ): fill stable_id and stream when cloning from old champs
2024-03-20 08:29:12 +00:00
simon lehericey
75db5ee320 replace AGENT_CONNECT_ENABLED and move AC conf to optionnal env 2024-03-19 21:17:45 +01:00
simon lehericey
df0298ac42 simply deal with multiple agent_connect_information by taking the last used 2024-03-19 21:17:45 +01:00
simon lehericey
ca17524559 Allow instructeur to have multiple agent_connect_information
AC will return two different sub depending of the domain demarches.gouv.fr or ds.
Both agent_connect_information are stored and the corresponding instructeur is found by its email.
We do not store anymore the agent_connect_id on the instructeur as the are many.
2024-03-19 21:17:45 +01:00
simon lehericey
2f6147308c use ac gouv conf when needed 2024-03-19 21:17:44 +01:00
simon lehericey
bdcc65ff4a fix: delete AgentConnect cookies instead of nullify 2024-03-19 21:17:44 +01:00
simon lehericey
759d729bf3 use AC autoconf discovery end_session_endpoint 2024-03-19 21:17:44 +01:00
simon lehericey
916407ec95 remove secret indirection and fetch AC conf once for all 2024-03-19 21:17:44 +01:00
simon lehericey
4997a81639 remove one indirection 2024-03-19 21:17:44 +01:00
Colin Darie
ee4af30725
Merge pull request #10153 from colinux/fix-closing-procedure-not-found
ETQ usager, pas d'erreur 500 lorsque j'accède à une démarche "fermée" qui n'existe pas
2024-03-19 15:31:46 +00:00
Colin Darie
0977bd39d9
Merge pull request #10155 from demarches-simplifiees/tchak-patch-1
task(champs): update champs for each dossier
2024-03-19 15:29:37 +00:00
Paul Chavard
40fb95978a
each -> find_each 2024-03-19 16:20:24 +01:00
Colin Darie
02cb64aa6e fix(combo-legacy): fieldset group has changed its id pattern 2024-03-19 16:16:45 +01:00
Paul Chavard
bda2d80dea
task(champs): update champs for each dossier 2024-03-19 16:08:56 +01:00
Colin Darie
b686e299a1
fix(procedure): format date with I18n helper 2024-03-19 14:46:02 +01:00
Colin Darie
370aa074d2
fix(procedure): don't crash when procedure does not exist on /fermerture path 2024-03-19 14:46:00 +01:00
Paul Chavard
8479300328 fix(champs): run mentainance task on all records 2024-03-19 14:25:36 +01:00
Paul Chavard
ebe762ee5d
Merge pull request #10146 from colinux/fix-champ-built-updated-at
Tech: pas de comparaison avec champ#updated_at lorsque le champ n'est pas persisté
2024-03-19 11:38:48 +00:00
Colin Darie
455086c1d7
fix(champs): don't fail on updated_at comparison when champ is not persisted 2024-03-19 11:46:08 +01:00
Paul Chavard
f2b3cbcf2e
Merge pull request #10147 from mfo/clean-fix-champ-missing
tech(clean): drop unusable maintenance task
2024-03-19 08:32:09 +00:00
Martin
291e6b0550 fix(fix_missing_champs_task): rake_puts present in spec, not in prod 2024-03-19 09:18:30 +01:00
Martin
9d94448763 tech(clean): drop unusable task (i'm not able to use my own csv_collection for task maintenance [that the expected format?, who knows]). now use https://github.com/demarches-simplifiees/demarches-simplifiees.fr/pull/10139, takes an array of procedure, find dossiers with missing champs, run the fixer. 2024-03-19 05:28:38 +01:00
Paul Chavard
a962e2d94e fix(champ): fill stable_id and stream when cloning from old champs 2024-03-18 20:04:53 +01:00
Paul Chavard
0f93ea2156 fix(dossier): select the right stable_id 2024-03-18 19:20:10 +01:00
mfo
aafe6a7bb6
Merge pull request #10139 from mfo/US/fix-missing-champs-task
fix(data): apply fix missing champ via task. FV dossiers are poping way too much at helpdesk
2024-03-18 17:26:45 +00:00
Paul Chavard
a9166c8d8e
Merge pull request #10140 from tchak/fix-count-in-mentenance-task
fix(champs): use approximate count in the task
2024-03-18 17:09:12 +00:00
Paul Chavard
c5892a1ca2
Merge pull request #10141 from tchak/fix-rows-order
fix(champs): fix rows order
2024-03-18 16:56:21 +00:00
Martin
2dac74916f fix(data): apply fix missing champ via task. FV dossiers are poping way too much at helpdesk
Co-authored-by: Colin Darie <colin@darie.eu>
2024-03-18 17:53:21 +01:00
Paul Chavard
f21192bb06
Merge pull request #10123 from tchak/fix-multiple-champ-copies-bug
fix(champ): fix multiple champ copies bug
2024-03-18 16:46:17 +00:00
Paul Chavard
818dcc32da fix(champs): fix rows order 2024-03-18 17:26:41 +01:00
Paul Chavard
750b38bbf4 fix(champs): use approximate count in the task 2024-03-18 17:06:24 +01:00
Lisa Durand
72c4b23821 add last_champ_updated_at in export 2024-03-18 16:10:26 +01:00
simon lehericey
dca3727253 proper agent connect logout mechanism 2024-03-18 14:02:53 +01:00
simon lehericey
597342fe9d small session refactor 2024-03-18 14:02:53 +01:00
simon lehericey
31b84fd770 store id_token 2024-03-18 14:02:53 +01:00
simon lehericey
063445b892 add logout route 2024-03-18 14:02:18 +01:00
Kara Diaby
e73318e3bb
Merge pull request #10127 from demarches-simplifiees/feat/10005
ETQ expert, je veux pouvoir gérer les notifications que je reçois depuis mon interface
2024-03-18 12:27:37 +00:00
Kara Diaby
09d479321b corrections après retours 2024-03-18 11:50:29 +00:00
Kara Diaby
f41dcc69d8 model 2024-03-18 11:50:29 +00:00
Kara Diaby
9424d020bc controller 2024-03-18 11:50:29 +00:00
Kara Diaby
24d67dc6f3 concern 2024-03-18 11:50:29 +00:00
Kara Diaby
e824118aea layout 2024-03-18 11:50:29 +00:00
Lisa Durand
b8cf19337f
Merge pull request #10131 from demarches-simplifiees/wording-page-stats-ldu
ETQ instructeur je souhaite mieux comprendre le graph "avancée des dossiers" en changeant le terme "démarrés"
2024-03-18 11:49:20 +00:00
Paul Chavard
1b2315cd45 fix(champ): fix multiple champ copies bug 2024-03-18 12:13:22 +01:00
Colin Darie
61c203e97e
Merge pull request #10122 from goulvench/patch-1
[Nitpick] Adjust vertical spacing in segmented-control-item
2024-03-18 11:12:35 +00:00
Paul Chavard
e8b2e77b65
Merge pull request #10133 from demarches-simplifiees/add-owner-on-dossier-list-when-many-invitations-ldu
ETQ invité, ajouter l'owner du dossier dans la liste des dossiers
2024-03-18 11:03:16 +00:00
Paul Chavard
8abe3fce79 add stable_id and stream 2024-03-18 11:34:55 +01:00
Lisa Durand
93c21d5639
use method to display email (PR review)
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2024-03-18 11:27:50 +01:00
Lisa Durand
90331f6e52 add dossier owner on dossier list when there is invitation 2024-03-18 11:15:39 +01:00
Lisa Durand
6b916493cb change wording on page stats 2024-03-18 10:39:11 +01:00
Eric Leroy-Terquem
0a00d801bc fix(data): update procedures with invalid mon avis 2024-03-18 10:11:09 +01:00
Eric Leroy-Terquem
94f37b6708
Merge pull request #10125 from demarches-simplifiees/destroy-procedure-without-administrateur-and-without-dossier
Correctif : supprime les démarches sans administrateur ni dossier
2024-03-18 08:48:52 +00:00
Paul Chavard
900db5624f refactor(champs): if champ not found - build it 2024-03-17 23:51:45 +01:00
Paul Chavard
fd2e253ebc refactor(champs): use ViewableChamp::SectionComponent 2024-03-17 23:51:45 +01:00
Paul Chavard
378e15e083 fix(api_geo): include Paris, Lyon and Marseille code INSEE in local data 2024-03-15 22:33:26 +01:00
Eric Leroy-Terquem
6322532805 fix(data): destroy procedure if no administrateur and no dossier 2024-03-15 16:30:03 +01:00
Eric Leroy-Terquem
eae149f49d chore(administrateur): destroy procedure if no administrateur and no dossier 2024-03-15 16:16:10 +01:00
simon lehericey
ce3a156a46 refactor(file retrieval): use ciphered query params instead of cookie to move email 2024-03-15 14:42:28 +01:00
simon lehericey
7e6792c616 feat(file retrieval): add dossier_transfer_log 2024-03-15 14:35:15 +01:00
simon lehericey
84398b147d feat(file retrieval): post select only if selection 2024-03-15 14:35:15 +01:00
simon lehericey
2c367846da refactor(js): radio_enabled_submit -> enable_submit_if_checked 2024-03-15 14:35:15 +01:00
simon lehericey
96a8e7888e feat(file retrieval): select procedure to recover 2024-03-15 14:35:14 +01:00
simon lehericey
e91eeadccb feat(file retrieval): add recovery_service 2024-03-15 14:35:14 +01:00
simon lehericey
cd7fd5832c feat(file retrieval): post targeted email 2024-03-15 14:35:14 +01:00
simon lehericey
d86bebdd03 feat(file retrieval): ensure collectivite territoriale 2024-03-15 14:35:14 +01:00
simon lehericey
fac365e01d feat(file retrieval): ensure agent connect is used 2024-03-15 14:35:14 +01:00
simon lehericey
d3955d48ee feat(file retrieval): contact support if not col ter 2024-03-15 14:35:14 +01:00
simon lehericey
b7c48acf86 feat(file retrieval): basic UI skeleton 2024-03-15 14:35:14 +01:00
simon lehericey
a60a082ec5 feat(file retrieval): add api_recherche_entreprises_service 2024-03-15 14:35:14 +01:00
simon lehericey
c1199af83d feat(file retrieval): attach agent_connect_information to instructeur 2024-03-15 14:35:14 +01:00
simon lehericey
277ac1259a feat(file retrieval): create agent connect information 2024-03-15 14:35:14 +01:00
Goulven Champenois
561e050d47
[Nitpick] Adjust vertical spacing in segmented-control-item
This small fix adjusts vertical spacing for the text inside `segmented-control-item`. Padding before: `0 15 4 15`, padding after: `4 15`.
The `.segmented-control-item` class is only used on the stats page, so there won't be any unwanted side-effects. Since the same variable is used for top and bottom, changes to the `--li-bottom` variable won't break vertical alignment.
2024-03-15 10:17:25 +01:00
Lisa Durand
e757eefd37 add message when path is already taken when publishing a procedure 2024-03-14 17:17:47 +01:00
Paul Chavard
4e023ebed0
Merge pull request #10106 from colinux/limit-service-geocoding-to-insee-code
Super-Admins: évite que le géocodage des services tombe sur une mauvaise commune
2024-03-14 16:16:03 +00:00
Paul Chavard
29335800b7
Merge pull request #10115 from colinux/fix-instructeur-exports-turbo
ETQ instructeur: corrige la mise à jour automatique du bandeau de statut d'un export après sa création
2024-03-14 16:15:35 +00:00
Paul Chavard
4cadc0554a
Merge pull request #10116 from colinux/minor-admin-fix
ETQ admin: ajoute des messages manquants dans la liste des modifications d'annotations privées
2024-03-14 16:14:52 +00:00