Commit graph

11271 commits

Author SHA1 Message Date
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
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
40353fee04
feat(attestation): replace tags in preview for v2 2024-02-01 18:55:50 +01:00
mfo
86fb28bda0
Merge pull request #9956 from mfo/US/amelioration-rebase
tech(perf.rebase): améliore la performance pour réconcilier les dossiers d'une procédure lorsqu'un administrateur change le formulaire (donc nouveau milésime 🍷)
2024-01-31 17:26:25 +00:00
Martin
437b3d2a61 fix(perf): last n+1 2024-01-31 17:06:16 +01:00
Martin
47ff3086af fix(rebase): preload revision too 2024-01-31 17:06:16 +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
1123222b36
chore(schema): add version to attestation_templates 2024-01-31 17:03:59 +01:00
Colin Darie
dfa07c1c5d
style(attestation): editor sections border instead of background 2024-01-31 17:03:58 +01:00
Colin Darie
3391d75633
style(attestation): cap logo size in free layout 2024-01-31 17:03:56 +01:00
Colin Darie
1c3254755d
chore(schema): add official layout to attestation templates 2024-01-31 17:03:55 +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
bb19674339
feat(attestation): improve tags suggestion UX, can validate on click 2024-01-31 17:03:50 +01:00
Colin Darie
277b4f4ec8
style(attestation): improve rendering with almost all nodes 2024-01-31 17:03:48 +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
Colin Darie
84b8fe4b64
style(attestation): add missing remix icons 2024-01-31 17:03:44 +01:00
Colin Darie
3aae580e26
fix(editor): don't labellize tags with double dash 2024-01-31 17:03:43 +01:00
Colin Darie
d01dc82e8c
refactor(attestation): remove footer from doc structure 2024-01-31 17:03:41 +01:00
Colin Darie
45071b7bb6
fix(tiptap): don't fail on node without content 2024-01-31 17:03:40 +01:00
mfo
fcb2d93056
Merge pull request #9954 from mfo/US/procedure-logo-size
ETQ admin les logos de démarches gardent une résolution convenable
2024-01-31 16:01:07 +00:00
Martin
b964ac6a7a perf(rebase): includes champs.types de champs instead of n+1 on this one 2024-01-31 16:20:50 +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
Martin
6360ae25b0 feat(procedure.logo): avoid to resize logo to the smallest scale otherwise it gets pixelated 2024-01-31 14:33:28 +01:00
Kara Diaby
17a471e880
Merge pull request #9939 from demarches-simplifiees/feat/9937
ETQ Super-Admin, je souhaite marquer une démarche comme modèle
2024-01-31 10:21:30 +00:00
Lisa Durand
3c57b64b1c
Merge pull request #9950 from demarches-simplifiees/fix-duplication-text-for-tiers-in-instructeur-table
Instructeur: corrige une redondance de texte dans le tableau quand un dossier est pour un tiers
2024-01-31 10:18:27 +00: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
Kara Diaby
94389bb66d layout 2024-01-31 09:30:14 +00:00
Kara Diaby
53372edd02 back 2024-01-31 09:30:14 +00:00
Martin
0650598706 fix(archive.content): include infos administratives in pj generation 2024-01-31 10:22:07 +01:00
Colin Darie
3ea718a3f5
Merge pull request #9664 from adullact/feature-ouidou/admin_creation_delegation_follow_commentaire
ETQ gestionnaire, j'ai un suivi des messages au sein de mes groupes
2024-01-31 08:56:29 +00:00
Lisa Durand
bb236f6c0d fix duplication text for tiers in instructeur table 2024-01-31 09:38:26 +01:00
Colin Darie
df1dd19eac
Merge pull request #9946 from colinux/fix-procedure-external-url
Tech: fix le job de vérification des liens externes des procédures lorsqu'un autre attribut est en erreur
2024-01-29 17:31:38 +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
seb-by-ouidou
a5d95b2d9d fix: fix activate gestionnaire and activate administrateur 2024-01-29 18:23:39 +01:00
Colin Darie
533ce8d7ba fix(procedure-url-check): don't fail when other attribute have an error 2024-01-29 15:42:35 +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
Lisa Durand
173e7d3226 remove hard coded color for better dark mode display 2024-01-29 14:19:50 +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
Colin Darie
a2c43f7fcc
Merge pull request #9941 from colinux/warn-usager-transfer-email
ETQ usager je suis mieux prévenu lors de la suppression d'un dossier en attente de transfert
2024-01-29 10:48:50 +00:00
Colin Darie
5671e9ab19
Merge pull request #9942 from mfo/US/i18n/users/confirmations/new
ETQ usager, la page de confirmation de compte est lisible en anglais
2024-01-29 10:41:24 +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
Martin
0643d15196 i18n(users/confirmations#new): i18n this page 2024-01-29 11:25:18 +01:00
Colin Darie
a582fef1e5
Merge pull request #9934 from colinux/fix-export-link-witout-file
ETQ instructeur, n'affiche pas encore de lien vers un export quand le fichier n'est pas encore disponible
2024-01-29 10:11:33 +00:00
Colin Darie
531a4cb0c4
fix(usager): warn transfered dossier deletion with email 2024-01-29 10:57:45 +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
d4322bf947 feat(clipboard): can temporary hide for nicer animation 2024-01-29 10:44:20 +01:00
LeSim
e12c663d21
Merge pull request #9940 from demarches-simplifiees/can_edit_again_a_token
Admin: je peux modifier le nom et les réseaux d'un jeton d'API
2024-01-29 09:21:21 +00: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
Colin Darie
c02171ede7
Merge pull request #9936 from colinux/badge-corrige
ETQ instructeur, je vois un badge Corrigé lorsque le dossier a été corrigé
2024-01-29 08:57:54 +00:00
Colin Darie
b64a32444c
Merge pull request #9935 from colinux/transfer-empty-no-fail
Tech: plus d'erreur lorsque l'email de transfert n'a plus de dossier associé
2024-01-29 08:43:50 +00: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
simon lehericey
97f335c36a add a cron job to send expiration notice 2024-01-26 10:18:16 +01:00
simon lehericey
6353c10955 add APIToken expiration mailer 2024-01-26 10:18:16 +01:00
simon lehericey
d909e2c8ea add various expiring scopes to APIToken 2024-01-26 10:15:37 +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
aae26a863a perf(admin#dashboard): skip validation of PJ 2024-01-25 17:29:39 +01:00
Martin
271ac14fad perf(draft_changed?): do not try to compare revisoin if they are not loaded 2024-01-25 17:20:30 +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
4f0e247883 perf(types_de_champs_controller): avoid n+1 query in select_champ_template_position_component 2024-01-25 14:19:55 +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
Colin Darie
50b9813b4d
Merge pull request #9932 from colinux/lock-submit-fork
Correctif: ETQ usager, je ne peux pas soumettre 2x mes modifications en parallèle
2024-01-25 11:37:56 +00:00
Colin Darie
4aa1306536
feat(transfer): make it silent in case dossier had been destroyed between queuing and processing
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-01-25 11:31:12 +01:00
simon lehericey
588e58195c move api_tokens to admin module 2024-01-25 11:27:15 +01:00
simon lehericey
3ded9a2a57 feat(api): add some turbo when possible 2024-01-25 11:17:44 +01:00
simon lehericey
9a0dd45385 feat(api): add invalid ip addr error 2024-01-25 11:17:44 +01:00
simon lehericey
eae07cab8c refactor(api): use the new api token creation wizard 2024-01-25 11:17:44 +01:00
simon lehericey
852eedbc50 refactor(api): create api_token with validity and network filtering 2024-01-25 11:17:44 +01:00
simon lehericey
943368c68f feature(api): setup securite 2024-01-25 11:17:44 +01:00
simon lehericey
8a9e5754a1 feature(api): setup autorizations 2024-01-25 11:17:44 +01:00
simon lehericey
1d7b6a6a54 feature(api): setup name 2024-01-25 11:17:44 +01:00
simon lehericey
47076063bb feature(api): remove update 2024-01-25 11:17:44 +01:00
simon lehericey
b635c940ae refactor(UI api token): add more information to api token list
- network filtering
- validity
- last used

remove creation logic
2024-01-25 11:17:43 +01:00
Colin Darie
27cfae8c6a
chore(dossier): warn user that deletion also means transfer cancellation 2024-01-25 11:03:54 +01:00
simon lehericey
a23eb80d22 fix(profil): use fr-container 2024-01-25 10:51:58 +01:00
simon lehericey
7e8555923f feature(api): add ensure_token_is_not_expired to api_controller v1 and v2 2024-01-25 10:51:58 +01:00
simon lehericey
d8bc38bc69 feature(api): add ensure_authorized_network for api_controller v1 and v2 2024-01-25 10:51:58 +01:00
simon lehericey
6e5678d1c2 feature(api): add forbidden_network? to api_token 2024-01-25 10:51:58 +01:00
simon lehericey
4c94eca7c0 clean(ui): remove useless warning 2024-01-25 10:51:58 +01:00
Colin Darie
8e6a1c58b2 feat(correction): badge Corrigé when a correction has been resolved
Closes #9928
2024-01-24 17:26:34 +01:00
Kara Diaby
261932b56f
Merge pull request #9890 from demarches-simplifiees/feat/9725
ETQ expert, je souhaite être notifié des nouveaux messages
2024-01-24 13:17:57 +00:00
Colin Darie
520a7c4402
fix(exports): don't try to link to an export when file is not yet attached 2024-01-24 13:36:25 +01:00
Raphaël Dubigny
7584c17342
Remove user_email input autofocus on agent page
This avoid automatic scroll on page load so the AgentConnect button is visible.
2024-01-24 12:00:32 +01:00
Kara Diaby
ac29cfbfdb Envoie un email à l'expert en cas de nouveau commentaire de l'usager dans la messagerie 2024-01-24 10:48:17 +00:00
Colin Darie
56f8b61866
feat(dossiers): lock submit en construction to avoid merge collisions with double submits 2024-01-24 10:58:40 +01:00
Martin
2952987ad8 refactor(spec): stop using procedure type de champs traits as :with_datetime, :with_xxx in favor of :types_de_champ_public which keeps position in check 2024-01-23 17:30:22 +01:00