Commit graph

582 commits

Author SHA1 Message Date
simon lehericey
edc4e60b81 use Current.contact_email in app 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
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
Lisa Durand
db244c821b remove ununcessary instance variable for current admin 2024-03-20 11:24:24 +01:00
simon lehericey
2c367846da refactor(js): radio_enabled_submit -> enable_submit_if_checked 2024-03-15 14:35:15 +01:00
Lisa Durand
e757eefd37 add message when path is already taken when publishing a procedure 2024-03-14 17:17:47 +01:00
Colin Darie
ee92668611
Merge pull request #9930 from demarches-simplifiees/add-external-link-to-procedure
ETQ admin lorsque je clos une démarche je peux alerter les usagers et je crée une page de fermeture si la démarche n'est pas redirigée dans DS
2024-03-12 15:03:30 +00:00
Eric Leroy-Terquem
8c322353c7 feat(procedure): add alert on admin show when procedure closed 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
c95f0f1cad feat(procedure): send notifications after closing 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
74903d79bf feat(procedure): update archiving to add closing reason and closing details 2024-03-11 15:48:28 +01:00
Paul Chavard
a898675145
Merge pull request #10081 from mfo/US/fix-motivation-tags
correctif(attestation): ETQ usager, je ne souhaite pas voir apparaitre des balaises HTML dans mon attestation au format pdf
2024-03-08 12:14:57 +00:00
Martin
d0e2df1aa0 fix(attestation): strip all tags from attestation 2024-03-08 09:57:28 +01:00
krichtof
1024557081
Merge pull request #10041 from demarches-simplifiees/10029-filter-kind-usager
ETQ admin, je peux filtrer toutes les démarches par type d'usager
2024-03-08 08:23:26 +00:00
Paul Chavard
1193c866bf refactor(dossier): has_annotations? 2024-03-04 10:59:11 +01:00
Christophe Robillard
26a86d8003 filter all demarches by kind usager 2024-02-23 16:04:27 +01:00
Colin Darie
4a45fdb3d6
fix(attestation): marianne label until 5 lines because of Economie & Finances long name 2024-02-22 12:19:08 +01:00
Colin Darie
2d039cd410
style(attestation): preview on side 2024-02-22 12:18:54 +01:00
Colin Darie
e34eca11e4
style(attestation): tools above editor 2024-02-22 12:18:53 +01:00
mfo
4f58795eaa
Merge pull request #10002 from mfo/US/dsfrize-instructeur-invitation-page
ETQ instructeur, la page de gestion des groupes d'instructeur est au format du DSFR
2024-02-16 06:37:49 +00:00
mfo
51c5244545 review(dsfr): enforce fr-container, fr-table, fr-spacers
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-15 16:11:16 +01:00
seb-by-ouidou
9ddd55d5cd feat: remove commentaire_component and replace it by message_component + replace commentaires/_form by messages/_form + few fixes 2024-02-15 07:50:20 +00:00
seb-by-ouidou
08cffda440 fix: few fixes after review 2024-02-13 11:19:52 +01:00
seb-by-ouidou
fba3cbe331 feat: as gestionnaire, contact gestionnaire of parent groupe 2024-02-13 11:19:52 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine 2024-02-12 09:33:23 +01:00
Colin Darie
70e92f7c6b
Merge pull request #9903 from colinux/attestation-ux
ETQ admin, je peux tester l'attestation v2
2024-02-06 08:09:53 +00:00
Colin Darie
f7484eb0e5
feat(attestation): list tags errors and substitute missing tag by libelle 2024-02-02 13:05:09 +01:00
seb-by-ouidou
46c19014f9 feat: notify administrateur and gestionnaire by email when new commentaire + for administrateur highlight card and commentaires if any unread 2024-02-02 12:52:36 +01:00
Colin Darie
6f49dd892d
fix(attestation): multiple tags improvements
- no menu when no matching tags
- insert a space after clicking a button
- allow no space before mention
2024-02-02 09:47:20 +01:00
Colin Darie
58064dc6cd
fix(attestation): improve autosubmit debounce due to tags interactions 2024-02-01 18:56:02 +01:00
Colin Darie
ce2ae53def
style(attestation): revamp bottom bar 2024-02-01 18:55:56 +01:00
Colin Darie
475406f3f2
style(attestation): improve editor UI & style 2024-02-01 18:55:55 +01:00
Colin Darie
443e41a6ed
style(attestation): group tags by section 2024-02-01 18:55:52 +01:00
Colin Darie
a842fefa7a
feat(attestation): inform that conditional champs are not tags-available 2024-02-01 18:55:51 +01:00
Colin Darie
d4c4b3a212
chore(attestation): preview link to PDF 2024-01-31 17:04:06 +01:00
Colin Darie
fe2661d37c
feat(attestation): can create an attestation v2 2024-01-31 17:04:05 +01:00
Colin Darie
fd829351e8
chore(attestation): browse between 2 versions 2024-01-31 17:04:03 +01:00
Colin Darie
d92200f80b
fix(attestation): various tiptap & axe fixes 2024-01-31 17:04:02 +01:00
Colin Darie
39d00c81de
feat(attestation): show template schema 2024-01-31 17:04:01 +01:00
Colin Darie
89a62bacbb
feat(attestation): intitules & footer limit of rows 2024-01-31 17:04:00 +01:00
Colin Darie
3391d75633
style(attestation): cap logo size in free layout 2024-01-31 17:03:56 +01:00
Colin Darie
8ba78d1cfe
feat(attestation): conditional official layout & logo (start) 2024-01-31 17:03:54 +01:00
Colin Darie
9c9daf162d
feat(attestation): render signature 2024-01-31 17:03:53 +01:00
Colin Darie
3b70b36d2d
feat(attestation): footer save, preview 2024-01-31 17:03:52 +01:00
Colin Darie
e19780445b
feat(attestation): upload de logo and signature 2024-01-31 17:03:51 +01:00
Colin Darie
277b4f4ec8
style(attestation): improve rendering with almost all nodes 2024-01-31 17:03:48 +01:00
Colin Darie
eaf4e24a55
feat(attestation): v2 edit form and tags style 2024-01-31 17:03:46 +01:00
Kara Diaby
46748091a6 Permet au Support de marquer une démarche comme modèle et de filtrer dans toutes les démarches 2024-01-31 09:30:14 +00:00
seb-by-ouidou
86c1e1136d feat: for administrateur on cards, replace label edit by see 2024-01-29 18:23:39 +01:00
seb-by-ouidou
6cd8b6d2df feat: for gestionnaire highlight card and commentaires if any unread 2024-01-29 18:23:39 +01:00
simon lehericey
df031a7563 feat(api): add a curl example to the api_token creation 2024-01-29 10:44:20 +01:00
simon lehericey
5eaa957c31 can edit api_token to change networks and name 2024-01-29 10:09:55 +01:00
simon lehericey
35e9a6e905 delete api token : remove unused template and use turbo 2024-01-29 10:09:55 +01:00
simon lehericey
588e58195c move api_tokens to admin module 2024-01-25 11:27:15 +01:00
seb-by-ouidou
9ff1e57feb feat: US5.1 US5.2 administrateur in admin 2024-01-22 14:36:38 +01:00
Colin Darie
a4db911585
perf(admin): remove 2 useless zones queries on each admin page due to navigation 2024-01-16 19:43:58 +01:00
Lisa Durand
42d91c1eee correction from PR reviews 2024-01-16 11:23:17 +01:00
Lisa Durand
6773843d52 add clickable summary in champ editor view for admin 2024-01-16 11:23:14 +01:00
mfo
0328446bee
Merge pull request #9861 from demarches-simplifiees/US/move-type-de-champ-with-select
ETQ administrateur, je peux deplacer un champ via un select
2024-01-15 13:09:56 +00:00
Martin
68e9d3513d tech(clean): drop drag and drop champs in editor, ux not ok 2024-01-12 11:00:29 +01:00
Martin
dce06f22a0 feat(type_de_champ_editor): add SelectChampTemplatePosition which feeds SelectChampPositionComponent options 2024-01-11 16:01:24 +01:00
seb-by-ouidou
c45e2eaccc feat: write message to gestionnaires as administrateur 2024-01-09 13:25:04 +01:00
simon lehericey
560c2d763c fix(view_component): use new slot name 2024-01-08 11:57:47 +01:00
Martin
4073804b00 feat(administrateurs/types_de_champ_controller#move_and_morph): add action to move and morph fields between two coordinates 2024-01-03 11:08:53 +01:00
seb-by-ouidou
e79de57fb5 fix: few fixes after review 2023-12-21 18:40:36 +01:00
seb-by-ouidou
c253e7dd65 feat: US5.1 US5.2 administrateur in admin 2023-12-21 18:40:36 +01:00
Colin Darie
f0e1c1688b
style(admin): convert new procedure radios to dsfr 2023-12-13 18:03:19 +01:00
mfo
f647ae5ddf
Merge pull request #9828 from mfo/US/doc-api-link-in-user-profile
amelioration(doc.api): ETQ administrateur, j'ai plus facilement accès à la bonne doc des API
2023-12-11 09:48:06 +01:00
Martin
6d576049b2 amelioration(doc-api): deprecie les webhooks [on a deja supprimé la doc il y a un moment]
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-11 09:45:41 +01:00
Colin Darie
60abc6ea6e fix(admin): warn when errors block revision publication 2023-12-05 18:31:20 +01:00
Colin Darie
d601daaee1
style: procedure administrateurs table as dsfr 2023-12-04 14:07:33 +01:00
Colin Darie
72b0bb3fa4
style(dsfr): convert jeton particulier form and card to dsfr 2023-12-04 14:07:30 +01:00
Colin Darie
d70b03c969
style: replace refuse legacy icon 2023-12-04 14:07:25 +01:00
Colin Darie
e9ab3352f1
style: replace legacy archive icon 2023-12-04 14:07:24 +01:00
Colin Darie
2a31fc68d7
style: replace legacy folder icon 2023-12-04 14:07:21 +01:00
Colin Darie
eff2b856df
style: replace in-progress legacy icon 2023-12-04 14:07:19 +01:00
Colin Darie
adfeac02e7
style: replace new-folder icon with remix/dsfr icon 2023-12-04 14:07:17 +01:00
Colin Darie
38bee3639d
style: replace legacy icon person 2023-12-04 13:34:33 +01:00
Paul Chavard
3c36300de6 feat(attestation): use tiptap editor controller 2023-11-29 12:07:42 +00:00
krichtof
fce2d8efa9
Merge pull request #9710 from demarches-simplifiees/9615-form-autosave
ETQ admin, je peux savoir quand mon formulaire a été sauvegardé pour la dernière fois
2023-11-23 23:17:14 +00:00
Christophe Robillard
2c6a9e7bf2 add autosave feedback when admin updates form 2023-11-23 13:35:53 +01:00
Colin Darie
3dd25c1ea6 fix(gestionnaires): apply navigation refactor to gestionnaires 2023-11-20 15:07:21 +01:00
Colin Darie
49cd10458c feat(announces): show Nouveautés link in main navigation 2023-11-20 15:07:20 +01:00
Colin Darie
a41c8f73ad refactor(nav): organize main navigation logic across profiles 2023-11-20 15:06:43 +01:00
Martin
3186b0aa68 tech(refactor): centralise/documente les constantes de duree de retentions dans le ns dedié à l'expiration 2023-11-17 11:33:14 +01:00
mfo
256babbf74
Merge pull request #9716 from mfo/US/tags.pre-wrap.text
correctif(tags): ETQ admin, je peux utiliser un tag referençant un type de champ dont le libellé contient deux espaces consécutif
2023-11-16 16:08:10 +00:00
Lisa Durand
1fa3425d4f
Merge pull request #9705 from demarches-simplifiees/setup-dark-mode-ldu
[Accessibilité] Configurer le mode "sombre"
2023-11-16 15:10:41 +00:00
Lisa Durand
b782bcdd2b
Merge pull request #9672 from demarches-simplifiees/add-confirmation-page-for-procedure-publication-ldu
[admin] Ajout d'une page de confirmation après la publication d'une procédure - mise en avant de l'URL à partager
2023-11-16 11:08:54 +00:00
Martin
dd31dbc450 correctif(mail_templates/_form.html.haml): force la preservation des espaces dans le code des balises, sinon un tag d'un type de champ ayant un libelle contenant deux espaces consécutif est invalide car il se fait manger par le rendu html 2023-11-16 10:31:35 +01:00
Lisa Durand
31cb62e27d improve dark mode for admin user 2023-11-15 19:09:11 +01:00
Lisa Durand
d403f851c6 fix specs with good aria attributes for tabs 2023-11-15 18:42:40 +01:00
Lisa Durand
11c8e408ef remove specific tabs css and use DSFR tabs 2023-11-15 18:42:40 +01:00
simon lehericey
af53a9b9db attestation_template v2: edit / update 2023-11-15 15:24:46 +01:00
simon lehericey
f6001c8eae attestation_template v2: show 2023-11-15 12:17:26 +01:00
Martin
d2657d83ac amelioration(chorus.update): oriente l'admin a remplir tous les champs du cadre budgetaire. une fois le cadre budgetaire renseigné, oriente l'admin a ajouter un champ EJ 2023-11-09 10:09:14 +01:00
Martin
395f2d9b04 amelioration(chorus.edit): ajoute un Dsfr::Callout pour documenter l'intention de la fonctionnalité aupres des des administrateurs 2023-11-09 10:09:14 +01:00
Lisa Durand
ac834b0c0a add confirmation page after publishing procedure for admin 2023-11-08 12:07:32 +01:00
Eric Leroy-Terquem
22feb48c29 chore(conditions): update views 2023-11-06 15:25:45 +01:00
Lisa Durand
be8303f1c4 feedback review - remove unused class and simplify method 2023-11-06 11:22:09 +01:00
Lisa Durand
1de9130ab5 fix not displaying select on page close procedure and make the 2 buttons redirect to this page 2023-10-30 15:02:26 +01:00
krichtof
62d2522300
display departement name filter, not only code
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-27 17:27:50 +02:00
Christophe Robillard
ef4113f8f9 filter all demarches by departement 2023-10-27 14:15:03 +02:00
mfo
ebea269f79
Merge pull request #9420 from mfo/US/chorus-tile
amelioration(tuile.chorus): ETQ admin, je peux saisir le cadre budgetaire d'une demarche de subvention pour faciliter le rapprochement d'un export DS a un export Chorus
2023-10-24 12:57:26 +00:00
Martin
79b5b25720 correctif(procedure.edit): le fixed-footer venait en sur-elevation des options avancées la ou il etait présent 2023-10-24 13:35:08 +02:00
Martin
857c1f0c21 amelioration(ChorusComponent): ameliore le rendu de la tuile si celle ci n'est que partiellement rempli 2023-10-19 07:31:14 +02:00
Martin
87f435d2d3 amelioration(procedure.chorus): ajoute le form component pour le 'crud' du ChorusConfiguration 2023-10-19 07:14:27 +02:00
Martin
fea0cb1c60 amelioration(procedure.chorus): connecte la tuile a un controller basique ayant les ACL 2023-10-19 07:14:27 +02:00
Martin
7d7a741a1a amelioration(procedure.chorus): ajoute la tuile chorus quand cette fonction est active sur la procedure 2023-10-19 07:14:27 +02:00
Lisa Durand
5a11ef783a change wording for button 'continue' 2023-10-18 10:36:39 +02:00
Lisa Durand
75c155c284 fix displaying add field button with turbo 2023-10-16 17:02:24 +02:00
Lisa Durand
2c73aa64a2 remove button from header for champs and annotations views & harmonize footer 2023-10-12 16:04:58 +02:00
Lisa Durand
7d7fbab5b2 add empty link instead of span on last breadcrumb item to improve display 2023-10-10 15:57:05 +02:00
simon lehericey
6fb9459d29 UI: small fixed 2023-10-03 12:24:28 +02:00
Colin Darie
c14b9abb45
fix(admin): remaining old asterisk on procedure form 2023-10-03 10:37:13 +02:00
krichtof
428ae4a45a
Merge pull request #9507 from demarches-simplifiees/9449-signature-groupe-instructeur
9449 ETQ instructeur ou admin, je peux apposer sur une attestation un tampon dédié à un groupe instructeur
2023-09-29 14:20:46 +00:00
Colin Darie
8ad87de461
Merge pull request #9539 from colinux/fix-admin-publish-order-buttons
ETQ admin le bouton de publication des modifications passe à gauche
2023-09-29 08:16:37 +00:00
Colin Darie
a835990f74 fix(admin): publish button of new version must be aligned before reset 2023-09-28 18:38:03 +02:00
Colin Darie
fc66f4b05d
refactor(exports): drop useless exports relation dependency for exports dropdown
Since the dropdown does not list download links anymore,
we don't have to pass them a dynamic exports list.

Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:08 +02:00
Colin Darie
82dd05c189
chore(exports): finders by groupe instructeurs compatible across exports components
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:07 +02:00
Lisa Durand
5a571a3535
create export page to list all the exports and remove links from the dropdown 2023-09-28 12:35:04 +02:00
Colin Darie
da06295191 chore(attestation): improve groupe instructeurs signature wording
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
934e86a465 refactor(attestation): groupe instructeur signature shared
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
ad10335888 feat(groupe-instructeur): admin can preview signature in attestation
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
3e1678c17a chore(attachments): always render allowed formats when list is short
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Christophe Robillard
c121a8b2dc admin can add groupe_instructeur signature 2023-09-22 10:24:16 +02:00
seb-by-ouidou
d29bbf6d4f
Merge branch 'main' into feature-ouidou/existing_procedure_hidden_as_template 2023-09-21 15:53:38 +02:00
seb-by-ouidou
0d2cd0fe5d feat(procedure): hide as template 2023-09-19 11:21:27 +00:00
krichtof
5aabce488b
Merge pull request #9425 from demarches-simplifiees/9356-service-gi
ETQ Usager, je veux voir dans mon dossier les informations de contact de mon groupe instructeur
2023-09-11 07:38:34 +00:00
Christophe Robillard
5b9fbf40ed fix: admin is redirected to admin groupe instructeur page
after creating or editing groupe instructeur service
2023-09-11 08:58:04 +02:00
Christophe Robillard
fa70cffa31 display groupe instructeur service for admin 2023-09-11 08:58:04 +02:00
Colin Darie
5e99250546 fix(admin): zones selector checkbox as dsfr 2023-09-05 11:02:29 +02:00
Paul Chavard
0ba0fd5058 feat(type_de_champ): insert an add champ button after each type de champ 2023-09-01 13:00:38 +02:00
LeSim
0272d8e05b
Merge pull request #9434 from mfo/US/typo-recercher
typo(rechercher): petite typo
2023-08-31 08:13:03 +00:00
Martin
0d5a1b6018 typo(rechercher): petite typo 2023-08-30 22:01:55 +02:00
Eric Leroy-Terquem
69eafa4dda
Merge pull request #9406 from demarches-simplifiees/can-route-from-departements-champ
ETQ admin je peux router depuis un champ département
2023-08-30 08:09:08 +00:00
Eric Leroy-Terquem
7355eb18cc style(routing): disable button with info at groups creation 2023-08-29 15:50:42 +02:00
Christophe Robillard
4f6d592d77 fix: display close when procedure depubliee 2023-08-14 17:51:56 +02:00
simon lehericey
70ca704c12 fix(display): add proper space and delimiter to procedure nb 2023-08-02 12:22:03 +02:00
Colin Darie
1c7bad2f5b
style(forms): convert various legacy admin forms to dsfr 2023-07-31 23:42:13 +02:00
Colin Darie
bf39ba4468
style(services): service form converted to dsfr 2023-07-31 23:42:11 +02:00
Paul Chavard
472962fb06
Merge pull request #9343 from adullact/feature-ouidou/dead_link_api_entreprise
fix(views): fix dead link to configure API entreprise token
2023-07-21 15:15:55 +00:00
seb-by-ouidou
8e0cac5537 fix(views): fix dead link to configure API entreprise token 2023-07-21 08:33:24 +00:00
Lisa Durand
68ca0a4f0d
Merge pull request #9323 from demarches-simplifiees/make-publication-page-clearer-for-admin
ETQ administrateur, je souhaite que la page "publier" soit plus claire
2023-07-20 14:04:28 +00:00
Lisa Durand
aaddce074f remove alert for link and add alert for test and small wording changes 2023-07-20 15:23:38 +02:00
Lisa Durand
e24c77b027 add more specific url for FAQ 2023-07-19 18:04:55 +02:00
Lisa Durand
faf5cb8034 small design review : icon - spaces - placeholder 2023-07-19 15:51:11 +02:00
Eric Leroy-Terquem
e8e9857dda style(reaffectation): apply dsfr to buttons 2023-07-18 16:54:00 +02:00
Lisa Durand
3e4fdc9004 change wording and margin 2023-07-17 17:46:26 +02:00