Lisa Durand
7539d2ddea
fix specs
2024-07-10 16:11:38 +02:00
Lisa Durand
42633c0012
Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into instructeur-invitation-include-typo-suggestion-ldu
2024-07-10 14:58:55 +02:00
Paul Chavard
c17351e50a
refactor(combo): use new multicombobox
2024-07-05 09:36:33 +02:00
Lisa Durand
8ff2bbbaab
fix specs
2024-07-04 14:41:37 +02:00
Lisa Durand
f163c04da6
add typo detection and suggestion for admin adding instructeurs
2024-07-03 16:53:23 +02:00
Lisa Durand
c8906d20b8
add reusable code in concern for typo detection email
2024-07-03 16:09:34 +02:00
Colin Darie
a53fc0fac9
fix(admin): invitation for experts not having an account
2024-07-02 16:15:24 +02:00
Colin Darie
5e25547b7b
fix(attestation): don't delete v1 published when building a v2
2024-07-02 14:10:23 +02:00
mfo
896ee76d74
Merge pull request #10524 from mfo/US/expert-invitation-by-admin
...
ETQ administrateur, lorsque je gère ma liste d'expert invités sur une démarche, je suis guidé pour eviter les typos
2024-07-01 09:59:15 +00:00
mfo
77bf93dfc2
feat(experts_procedures#create): link to typo errors
2024-07-01 11:01:38 +02:00
mfo
e6a3f210d4
fix(experts_procedures#create): ensure to reload expert list after addition
2024-07-01 10:46:06 +02:00
mfo
ced634295e
clean(tech): EmailChecker, use class method, not instance
2024-07-01 10:40:55 +02:00
Lisa Durand
d7893b9102
instructeur need to confirm mail after invitation
2024-06-25 15:14:26 +02:00
mfo
f83c565297
fix(expert_procedure): flash once
2024-06-25 14:42:00 +02:00
mfo
afa9821edb
perf(InvitationWithTypoComponent): check email once from controller, forward actuel/suggestion email from ctrl to view
2024-06-25 14:37:54 +02:00
mfo
2bb7584246
feat(administrateurs/experts_procedures#create): avoid typo on expert
...
list management
2024-06-25 14:04:01 +02:00
Colin Darie
ccf5b255ed
Merge pull request #10465 from colinux/attestations-v2-prod
...
ETQ admin je peux activer la délivrance des attestations v2 (sous feature flag)
2024-06-24 08:56:31 +00:00
mfo
24d7b0b014
fix(ineligibilite_rules): prevent admin to enable ineligibilite rules without rules
2024-06-20 15:35:36 +02:00
Colin Darie
ce998f7864
feat(attestation): already published without publication when procedure is draft
2024-06-20 14:15:06 +02:00
Colin Darie
cf58c48843
feat(attestation): can toggle activation
2024-06-20 14:15:05 +02:00
Colin Darie
cd07ee173f
feat(attestation): can reset draft attestation
2024-06-20 14:15:05 +02:00
Colin Darie
a540f8dccb
feat(attestation): can render & attach attestations v2
2024-06-20 14:15:05 +02:00
Colin Darie
11d29f5574
chore(attestation): publish a v2 attestation
2024-06-20 11:08:15 +02:00
mfo
aca3e38859
feat(ProcedureRevision.ineligibilite_rules): add ineligibilite_rules management to procedure revision based on conditional logic
2024-06-11 09:32:53 +02:00
Lisa Durand
ba8b05ed6a
page MonAvis
2024-05-30 17:05:01 +02:00
Lisa Durand
06c784eb03
page api token
2024-05-30 17:05:01 +02:00
Kara Diaby
7281f3ec1a
SQL pour renvoyer les zones dans ProcedureDetail
2024-05-29 11:45:31 +00:00
Christophe Robillard
be0c0311c5
use export template for admin archives
2024-05-23 10:00:35 +02: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
Colin Darie
b336e1b606
chore(admin): fix hardcoded application names in translations
2024-04-16 17:55:09 +02:00
Lisa Durand
ee91f47c5a
add AR component and page on admin view
2024-04-15 10:46:29 +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
Eric Leroy-Terquem
773de2dbf2
chore(groupe_instructeurs): do not reaffect bulk messages anymore
2024-03-22 14:56:54 +01:00
Martin
2281e3de4b
fixup! feat(type_de_champ_editor): move champs after another champ.
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
simon lehericey
46087e4577
raise Error if generation fail
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
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
Lisa Durand
db244c821b
remove ununcessary instance variable for current admin
2024-03-20 11:24:24 +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
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
Christophe Robillard
26a86d8003
filter all demarches by kind usager
2024-02-23 16:04:27 +01:00
Colin Darie
c70d848788
fix(attestation): preload revisions & types de champs
2024-02-22 12:19:09 +01:00
Martin
72a3f6e89c
refactor(export/archives): holds user profile asking for the archive or export
2024-02-16 11:23:38 +01:00
Martin
85fa75e8f0
perf(mail_template/attestation): preload procedure revisions
2024-02-13 17:11:21 +01:00
Eric Leroy-Terquem
7b539c72b1
Merge pull request #9955 from demarches-simplifiees/fix-simple-routing
...
ETQ admin je peux faire un routage simple à partir d'un type de champ communes ou epci
2024-02-13 07:56:42 +00: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
7e02342518
feat(attestation): tiptap default attestation
2024-02-01 18:55:58 +01:00
Colin Darie
475406f3f2
style(attestation): improve editor UI & style
2024-02-01 18:55:55 +01:00
Colin Darie
16478651a9
test(attestation): more tests for v2
2024-02-01 18:55:53 +01:00
Colin Darie
40353fee04
feat(attestation): replace tags in preview for v2
2024-02-01 18:55:50 +01:00
Colin Darie
fe2661d37c
feat(attestation): can create an attestation v2
2024-01-31 17:04:05 +01:00
Colin Darie
1123222b36
chore(schema): add version to attestation_templates
2024-01-31 17:03:59 +01:00
Colin Darie
e19780445b
feat(attestation): upload de logo and signature
2024-01-31 17:03:51 +01:00
Colin Darie
16cdff8425
feat(tiptap): detect first body paragraph for spacing, handle empty nodes
2024-01-31 17:03:47 +01:00
Colin Darie
eaf4e24a55
feat(attestation): v2 edit form and tags style
2024-01-31 17:03:46 +01:00
Eric Leroy-Terquem
b04f152733
fix(routing): can create simple routing with communes and epci tdc
2024-01-31 15:27:45 +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
a5d95b2d9d
fix: fix activate gestionnaire and activate administrateur
2024-01-29 18:23:39 +01:00
mfo
77ca3dd28a
Merge pull request #9922 from mfo/US/nplus_one_in_summary
...
perf(TypeDeChampEditor): faster
2024-01-29 10:58:05 +00:00
Martin
f1f471a020
feat(ProcedureRevisionPreloader): find PRTDCs and children first, then dispatch on all revision. Apply to admin/procedure/:id/modifications
2024-01-29 11:38:36 +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
Martin
b9bbe70ec5
perf(Administrateurs::ConditionsController#*): better perfs
2024-01-26 15:09:55 +01:00
Martin
01752bc2e8
perf(ProcedureRevisionPreloader): preload revision quickly
2024-01-26 14:47:44 +01:00
Martin
ecc83edf4f
wip
2024-01-26 13:43:10 +01:00
Martin
0e5768ec5b
fixup! perf(editor): better perf to add, destroy, update, move up, move down and move with number
2024-01-26 09:45:59 +01:00
Martin
60800b6113
perf(editor): better perf to add, destroy, update, move up, move down and move with number
2024-01-25 15:49:44 +01:00
Martin
50d148d412
perf(types_de_champs_controller): preload procedure to avoid n+1 query in champs_summary
2024-01-25 14:19:55 +01:00
simon lehericey
588e58195c
move api_tokens to admin module
2024-01-25 11:27:15 +01:00
seb-by-ouidou
a6ca4b668e
feat: answer message to administrateur as gestionnaire
2024-01-22 14:36:38 +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
69346ad41f
tech(review): implement some pair review suggestions
2024-01-12 11:00:29 +01:00
seb-by-ouidou
c45e2eaccc
feat: write message to gestionnaires as administrateur
2024-01-09 13:25:04 +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
c253e7dd65
feat: US5.1 US5.2 administrateur in admin
2023-12-21 18:40:36 +01:00
Eric Leroy-Terquem
954facdaff
Merge pull request #9798 from demarches-simplifiees/add-new-operators-to-conditional
...
Etq admin je peux conditionner/router avec les opérateurs "est dans mon département", "n'est pas dans mon département", "est dans ma région" et "n'est pas dans ma région".
2023-12-19 16:10:59 +00:00
Martin
e43c2f1407
feat(procedure_revision.compate): track and show diff for TypeDeChamp.explication between draft and published revisions
2023-12-19 10:51:06 +01:00
Martin
37e8772eab
feat(type_de_champ_editor.explication): add a Attached::One to TypeDeChamp.explication, named notice_explicative [cf, cerfa wording]
2023-12-19 09:52:27 +01:00
Eric Leroy-Terquem
2e547cd46f
chore(routing): cannot create simple_routing with champs communes or epcis
2023-12-14 17:48:14 +01:00
mfo
28bbfc7b3a
Merge pull request #9800 from colinux/fix-publication-revision-errors
...
ETQ admin je suis prévenu si des erreurs sur la démarche empêchent la publication de révision
2023-12-08 17:14:14 +00:00
Colin Darie
60abc6ea6e
fix(admin): warn when errors block revision publication
2023-12-05 18:31:20 +01:00
Paul Chavard
3de0367ed9
fix(email_template): less magic - less bugs !
2023-11-29 20:36:44 +00: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
9c641ccee1
remove flash success messages
2023-11-23 17:10:29 +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
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
Lisa Durand
b02edd15dc
remove condition - Colin feedback review
2023-11-16 11:03:33 +01:00
simon lehericey
9fc6c3b641
attestation_template v2 : add feature flag
2023-11-15 15:24:46 +01:00
simon lehericey
791954af1b
attestation_template v2: add weasyprint integration
2023-11-15 15:24:46 +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
Kara Diaby
fa874a0ea3
Permet de configurer le mail de réexamen du dossier par l'administrateur
2023-11-10 08:54:27 +00:00