Commit graph

194 commits

Author SHA1 Message Date
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
d0b1292060
instructeur can add and delete labels on dossier show 2024-11-04 16:05:35 +01:00
Eric Leroy-Terquem
3b054c5369
refactor(views): do not use instance variable in views 2024-10-11 13:14:20 +02:00
Eric Leroy-Terquem
c6ab05dcc5
fix(gallery): display pieces_jointes tab if any attachments 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
3bc232e81e
feat(gallery): update gallery item badge class after seen 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
d9f604e8ce
feat(gallery): notify instructeur if pieces jointes updates 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
bae752f1aa
refactor(gallery): add attachment_gallery_item component 2024-10-11 10:41:03 +02:00
Paul Chavard
6254b50de9
Revert "Revert "Merge pull request #10771 from tchak/refactor-champs-revert""
This reverts commit 10a1ae5534.
2024-09-23 10:21:07 +02:00
simon lehericey
10a1ae5534
Revert "Merge pull request #10771 from tchak/refactor-champs-revert"
This reverts commit c902061ebf, reversing
changes made to b4ed11c788.
2024-09-19 11:09:01 +02:00
Paul Chavard
c94d1b7eea
cleanup: more concistent methods usage 2024-09-17 10:29:34 +02:00
Colin Darie
e7443c2308
Revert "Champ related cleanups and refactoring" 2024-08-30 16:43:30 +02:00
Paul Chavard
3ef6f450da
cleanup: more concistent methods usage 2024-08-26 14:53:56 +02:00
Colin Darie
e6c2926426
fix(xss): injection from pj malicious filename would trick browser and lead to XSS injection 2024-08-20 15:51:54 +02:00
Paul Chavard
9d7d7da85a
Merge pull request #10572 from demarches-simplifiees/add-pj-from-messagerie-to-gallery
ETQ instructeur je peux voir les pjs envoyées par la messagerie dans l‘onglet "pièces jointes"
2024-07-30 09:35:14 +00:00
Lisa Durand
5c26073af7
small refacto with hidden_by_expired? method 2024-07-24 17:07:47 +02:00
Lisa Durand
9346020889
dont use depreciated column hidden_at 2024-07-24 17:06:30 +02:00
Lisa Durand
8b88fafc25
add correct action for instructeur 2024-07-24 17:06:30 +02:00
Lisa Durand
c2abceaa72
hide expired dossiers instead of delete them 2024-07-24 17:06:30 +02:00
Eric Leroy-Terquem
3bbcda9c04
refactor(dossier): refactor pieces jointes 2024-07-22 10:07:39 +02:00
Eric Leroy-Terquem
59ddaf5b0b
feat(gallery): add pjs from messagerie to gallery 2024-07-22 10:07:39 +02:00
Paul Chavard
c17351e50a
refactor(combo): use new multicombobox 2024-07-05 09:36:33 +02:00
Colin Darie
d36d7b0d48
chore(instructeurs): sections summary only on xl screens 2024-07-01 10:32:44 +02:00
mfo
2f6772c879
tech(review): add missing sticky behaviour to summary for instructeur
Co-Authored-By: LeSim <mail@simon.lehericey.net>
2024-06-21 16:03:58 +02:00
mfo
d46dc7055d
feat(instructeurs/dossiers): add summary to dossier.champs and dossier.champ_private views, also extract summary in
two component. one of type de champ editor. one for viewable champs
2024-06-21 11:06:45 +02:00
Eric Leroy-Terquem
f73a1e1d54
refactor(gallery): add helper methods 2024-06-06 12:01:41 +02:00
Eric Leroy-Terquem
05ad5dcbd6
feat(gallery): display large variant for rare image types 2024-06-06 12:01:40 +02:00
Eric Leroy-Terquem
f3795ebc98
feat(gallery): add pdf previews 2024-06-06 12:01:40 +02:00
Eric Leroy-Terquem
47fe6ccf6c
fix(gallery): keep variants but rollback pdf previews 2024-05-22 13:57:47 +02:00
Lisa Durand
affb1820d8
add PDF preview in view for gallery 2024-05-17 11:03:39 +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
4b53808b5c
fix(gallery): add variants on thumbnails 2024-04-29 21:35:20 +02:00
Colin Darie
5348543dbe
fix(demande): pj thumbnail with loading="lazy" 2024-04-22 22:33:51 +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
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
cf684ffd40
Merge pull request #10050 from tchak/fix-batch-motivation
ETQ Instructeur je veux attribuer la motivation correcte à ma décision
2024-03-05 17:01:54 +00:00
Paul Chavard
1850d80b82 refactor(dossier): use new champs_for_revision method 2024-03-04 10:59:11 +01:00
Paul Chavard
529461f3b6 fix(instructeur): motivations from different states should not conflict 2024-02-28 13:42:44 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine 2024-02-12 09:33:23 +01:00
Lisa Durand
a14d587722 fix missing local when calling partial user_infos 2024-02-07 15:11:29 +01:00
Eric Leroy-Terquem
6203b1fd05
Merge pull request #9879 from demarches-simplifiees/cleaning-conditional-and-routing-code
Tech : nettoyage du code conditionnel et routage
2024-01-29 13:43:52 +00:00
Colin Darie
8e6a1c58b2 feat(correction): badge Corrigé when a correction has been resolved
Closes #9928
2024-01-24 17:26:34 +01:00
Eric Leroy-Terquem
24563a3c18 fix(personnes impliquees): display reaffectations block only if procedure is routed 2023-12-22 10:57:53 +01:00
Colin Darie
e9ee405954
Merge pull request #9868 from colinux/blocking-pending-correction-ff
ETQ instructeur je peux de nouveau passer en correction un dossier avec corrections en attente
2023-12-18 13:29:39 +00:00
Colin Darie
1a56fe620e feat(correction): make pending corrections blocking by feature flag only 2023-12-18 14:12:45 +01:00
simon lehericey
9bb89f7e3e fix(print): missing dossier var 2023-12-18 09:51:41 +01:00