Commit graph

16686 commits

Author SHA1 Message Date
Colin Darie
fe0312b1d7 style(procedure/form): fix bg on input file within non-dsfr forms 2022-12-05 10:47:10 +01:00
Colin Darie
e3ddb7779f fix(form): multipart option must be set under "html" to ensure rendering as expected 2022-12-05 10:47:10 +01:00
Colin Darie
6ac0114992 test(attachments): more components tests & improvements 2022-12-05 10:47:10 +01:00
Colin Darie
fefc326e6b refactor(attachment): extract shared Attachment::ProgressComponent 2022-12-05 10:47:10 +01:00
Colin Darie
7cbe6bbaa4 fix(attachment): clone piece justificatives with multiple attachments 2022-12-05 10:47:10 +01:00
Colin Darie
b609c3dae4 refactor(attachment): bring batch user_can_destroy, update tests 2022-12-05 10:47:10 +01:00
Colin Darie
df135b080b refactor(attachment): remove useless id arg 2022-12-05 10:47:10 +01:00
Colin Darie
0a114270af refactor(attachment): update Attachment::EditComponent everywhere 2022-12-05 10:47:10 +01:00
Colin Darie
b13c5e56f6 refactor(piece_justificative): UX follows mockups 2022-12-05 10:47:10 +01:00
Colin Darie
84ca01bdf7 fix(piece_justicative): don't modify validator accepted formats in place
Previous implementation caused to add multiple times ".acidcsa".
2022-12-05 10:47:10 +01:00
Colin Darie
3e992589c5 style(piece_justificative): input ux & list accepted formats 2022-12-05 10:47:10 +01:00
Colin Darie
f66a0cf5a9 chore(piece_justificative): tells admins multiple files could be attached 2022-12-05 10:47:10 +01:00
Colin Darie
636645f686 refactor: minor piece_justificative_multiple? question mark use 2022-12-05 10:47:10 +01:00
Colin Darie
a726350f0d feat(procedure): allow admin to enable multiple uploads for piece justificative on existing procedures 2022-12-05 10:47:10 +01:00
Colin Darie
3affd1660f fix(api-v1): piece justificative serialization 2022-12-05 10:47:10 +01:00
Colin Darie
1f8d28c678 feat(piece_justificative): limit to 1 upload for existing procedures 2022-12-05 10:47:10 +01:00
Colin Darie
0014ce4b91 chore(schema): +procedures#piece_justificative_multiple 2022-12-05 10:47:10 +01:00
Colin Darie
ed1c6ec515 style(piece_justificative): use DSFR Téléchargement de fichiers for instructeurs & experts 2022-12-05 10:47:10 +01:00
Colin Darie
e1270d5ffe test(api): add a test to cover single (flat) attachment extension 2022-12-05 10:47:10 +01:00
Colin Darie
1138604748 feat(api): PieceJustificativeChamp: deprecate file in favor of files 2022-12-05 10:47:10 +01:00
Colin Darie
6a0379086d chore(piece_justificative): continue attachments refactor 2022-12-05 10:47:10 +01:00
Colin Darie
7ae6efe776 refactor(attachment): remove replace feature 2022-12-05 10:47:10 +01:00
Colin Darie
b8296c6d4d feat(piece_justificative): supports multiple files
Closes #7924
2022-12-05 10:47:10 +01:00
Colin Darie
ab1928dc33 style(attachment): enable underlined link on refresh link 2022-12-05 10:47:10 +01:00
Colin Darie
91f4971df2 feat(champ): has_one_attached => has_many_attached piece_justificative_file 2022-12-05 10:47:10 +01:00
Colin Darie
2cdbcbf0b6
Merge pull request #8175 from colinux/home-i18n
i18n: extraction home + meta titles
2022-12-05 10:45:40 +01:00
Colin Darie
ac234b7744 chore(footer): remove obsolete footer partial & i18n keys 2022-12-05 10:38:16 +01:00
Colin Darie
52b6502cbd test(a11y): ensure we don't mix aria-label and title on main pages
Actuellement, on fait le choix de ne pas avoir d'éléments porteurs à la
fois d'aria-label et title.
Bien qu'en principe l'aria-label quand elle est gérée par un navigateur,
prenne précédence sur le title, en pratique un bug dans NVDA cumule les 2
et rend la navigation difficile.

On prend donc le parti (provisoire?) de n'avoir que l'un ou l'autre.

Nous gardons le title si l'info qu'il contient est également pertinente
pour les navigateurs graphiques qui l'affichent en guise de tooltip ;
autrement on bascule sur l'aria-label qui est plus largement supporté
par les navigateurs a11y.
2022-12-05 10:38:16 +01:00
Colin Darie
f653a25cc2 fix(i18n/a11y): translate "Edit file" button title
Closes #8136
2022-12-05 10:38:16 +01:00
Colin Darie
762942f468 chore(i18n): translate meta title for main user pages 2022-12-05 10:38:16 +01:00
Colin Darie
70d4d7848b feat(i18n): more footer translations 2022-12-05 10:38:16 +01:00
Colin Darie
daefdc19af fix(footer): link to our new github org 2022-12-05 10:38:16 +01:00
Colin Darie
f15363e178 feat(i18n): basic home translation 2022-12-05 10:38:16 +01:00
Paul Chavard
83cf8168fa
Merge pull request #8191 from tchak/fix-allow-dev-delivery_method-config
fix(dev): fix helo integration
2022-12-05 09:18:28 +01:00
Paul Chavard
4778c773b3 fix(dev): fix helo integration 2022-12-02 19:13:56 +01:00
Kara Diaby
551aa3a9d5
Merge pull request #8150 from demarches-simplifiees/feat/8082
ETQ Instructeur, je souhaite voir : le numéro de dossier, le lien vers la démarche, la liste des administrateurs sur mon interface
2022-12-02 15:21:34 +01:00
Paul Chavard
36195acb29 feat(component): add CopyButtonComponent 2022-12-02 11:30:49 +01:00
Kara Diaby
1efcacd845 add copy button component 2022-12-02 11:30:49 +01:00
Kara Diaby
92b4c31293 tests 2022-12-02 11:30:49 +01:00
Kara Diaby
016f3701d8 routes 2022-12-02 11:30:49 +01:00
Kara Diaby
fe04244138 locales 2022-12-02 11:30:49 +01:00
Kara Diaby
d0ba0e2d63 layout 2022-12-02 11:30:48 +01:00
Kara Diaby
f5e4c28fc1 controller 2022-12-02 11:30:48 +01:00
Colin Darie
bc101b34cd
Merge pull request #8143 from colinux/feat-instructeur-list-archiver-email
feat(instructeurs): list archiver email
2022-12-01 18:37:26 +01:00
Colin Darie
6803fbeddb feat(instructeurs): list archiver email & date 2022-12-01 18:27:18 +01:00
Paul Chavard
9836069397
Merge pull request #8184 from tchak/fix-quotes
fix(typography): fix quotes
2022-12-01 18:25:10 +01:00
Paul Chavard
00556715d6 fix(typography): fix quotes 2022-12-01 17:59:11 +01:00
mfo
c0668f7d0e
Merge pull request #8185 from mfo/US/sanitize-img
amelioration(sanitize): assainit aussi les balises <img>
2022-12-01 17:58:49 +01:00
Martin
235da8b04a amelioration(sanitize): assainie aussi les balises <img> 2022-12-01 17:42:24 +01:00
Paul Chavard
13e5d6bb0d
Merge pull request #8183 from tchak/fix-dossier-vide-pdf-link
fix(dossier): fix links to empty pdf templates
2022-12-01 17:41:41 +01:00