Colin Darie
e34eca11e4
style(attestation): tools above editor
2024-02-22 12:18:53 +01:00
Colin Darie
bacfc0c5d1
Merge pull request #10015 from mfo/US/feat-export-include-mandataire
...
ETQ instructeur, ETQ API les exports contiennent plus de donnée (mandataire & info de france connection france connect)
2024-02-22 10:33:15 +00:00
Colin Darie
3492bf398f
Merge pull request #10026 from colinux/usager-form-improvements
...
ETQ Usager : légères améliorations de lisibilité et d'espacement sur le formulaire
2024-02-22 08:51:57 +00:00
mfo
aaf5f08f25
Merge pull request #10020 from mfo/US/a11y-invite-with-nice-feedback
...
ETQ usager utilisant un lecteur d'écran: l'envoie d'une invitation est confusant (le form reste rempli, le message de confirmation n'est pas lu)
2024-02-22 06:02:26 +00:00
Colin Darie
01ab59c2ed
style(form): position correctly the mandatory star on checkbox when text is on multiple lines
2024-02-21 18:04:33 +01:00
Colin Darie
e1eba45739
style: improve readibility of updated-at/rebase notices, closer to dsfr colors
2024-02-21 18:04:32 +01:00
Colin Darie
896f48a7b3
style(form): fix spacing before error in inlined elements
2024-02-21 18:04:31 +01:00
mfo
8579736c03
Merge pull request #10025 from colinux/fix-filter-too-long-error
...
ETQ instructeur, message d'erreur plutôt que crash lorsqu'on ajoute un filtre trop long (plus de 100 caractères)
2024-02-21 14:51:26 +00:00
mfo
b361da97e6
Merge pull request #10024 from colinux/fix-clipboard-blocked
...
Tech: cache le bouton de c/c lorsque le navigateur bloque l'accès au clipboard
2024-02-21 14:51:22 +00:00
Martin
a4a232dda2
a11y(invite): rework invite menu for easier readability by screen reader
2024-02-21 15:49:55 +01:00
Martin
77927e41bc
feat(api.mandataire): add missing mandataire_first_name/last_name
...
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-21 15:15:55 +01:00
Martin
c2675dfb4d
feat(export.user): add when user passthru FranceConnect or not
2024-02-21 14:44:49 +01:00
Martin
c9235c8a3d
feat(export.for_tier): add to export
2024-02-21 14:44:49 +01:00
Colin Darie
5f5756a034
Merge pull request #10017 from mfo/US/a11y-after-signup
...
ETQ usager utilisant un lecteur d'écran: la page de demande de confirmation de compte ne concentre pas le lecteur d'écran sur le champ pour renvoyer un mail de confirmation
2024-02-21 12:25:35 +00:00
Colin Darie
41a27fbad2
Merge pull request #10014 from mfo/US/better-expert-exports
...
ETQ expert: je retrouve mes avis confidentiel dans les exports. ETQ instructeur, je retrouve les fichiers joint a une demande d'avis expert
2024-02-21 11:25:58 +00:00
Colin Darie
76d903b04e
Merge pull request #10011 from adullact/feature-ouidou/admin_creation_delegation_review
...
ETQ gestionnaire d'admins: sépare les commentaires par origine + correctifs
2024-02-21 11:21:45 +00:00
Colin Darie
5ab1d45b8a
fix(instructeur): don't crash when adding a filter too long
2024-02-21 12:13:47 +01:00
Colin Darie
bda8d66047
fix(clipboard): hide clipboard button when clipboard is blocked
2024-02-21 10:55:24 +01:00
seb-by-ouidou
52db6f712f
separate commentaires by origin + few fixes
2024-02-21 09:47:03 +00:00
Paul Chavard
5a8859cd28
Merge pull request #10018 from tchak/fix-address-champ
...
fix(champ): do not reset data on champs without fetch_external_data
2024-02-21 09:06:24 +00:00
Colin Darie
1671a783a2
Merge pull request #10021 from colinux/fix-email-subject-double-encode
...
ETQ usager je dois voir de vraies apostrophes à la place de `'` dans les sujets d'email
2024-02-21 08:33:44 +00:00
Paul Chavard
702b9dd8b3
fix(champ): do not reset data on champs without fetch_external_data
2024-02-21 08:54:08 +01:00
Martin
48336f0ca4
a11y(users/confirmations#new): avoid autofocus on input to resend the mail, otherwise screen reader goes straight to the input
2024-02-21 07:56:00 +01:00
Paul Chavard
12598229a7
chore(browser): mark samsung browser as supported browser
2024-02-20 20:22:05 +01:00
Colin Darie
c05aaa5f35
fix(email): dynamic subject should be escaped, cf RFC 2047 which have its own encoding
2024-02-20 18:29:41 +01:00
Colin Darie
560d50f52d
fix(dropdown-multiple): a valid option starting by [ may not be a JSON value
2024-02-20 17:41:53 +01:00
Martin
6117aa503f
a11y(flash_message): make them assertive, feedback from a request is the priority.
2024-02-20 17:26:13 +01:00
Martin
11eb0a9c56
feat(invite): i18n create/destroy
2024-02-20 17:22:47 +01:00
Martin
497146081d
fix(monavisvalidator): restrict to known domains
2024-02-20 11:51:00 +01:00
mfo
de4369db29
Merge pull request #10010 from mfo/US/fix-expert-signup
...
amelioration(expert.signup): passe la page de creation de compte expert au dsfr
2024-02-19 16:43:31 +00:00
Martin
a151a304e2
feat(pj_service): add expert's avis (even when confidential) to exports asked by same expert
2024-02-19 16:22:08 +01:00
Martin
dd39ac313b
feat(pj_service): add introduction_file to exports
2024-02-19 16:21:26 +01:00
Martin
8dc3103ac1
fix(champs.email): allow nil
2024-02-19 15:13:20 +01:00
Martin
e788846894
feat(expert.signup): dsfrize
2024-02-19 11:28:38 +01:00
Paul Chavard
46b12c0c3d
Merge pull request #9990 from tchak/refactor-adresse-champ
...
refactor(address): use directly BAN data
2024-02-16 16:42:17 +00:00
Martin
1a424beb6f
fix(tags): libelle with double dash, becomes double underscore. no worries it was already broken
2024-02-16 14:00:18 +01:00
Paul Chavard
20307f1d21
refactor(address): use directly BAN data
2024-02-16 12:15:14 +01:00
Martin
2200310877
fixup! tech(refactor): extract clone logic inside its own class
2024-02-16 11:23:39 +01:00
Martin
32e8f34511
refactor(PiecesJustificativesService): stop passing flags, pass user_profile and manage ACL from the service itself
2024-02-16 11:23:39 +01:00
Martin
83690529ca
tech(refactor): inline PiecesJustificativesService.serialize_champs_as_pjs(object) within DossierSerializer
2024-02-16 11:23:39 +01:00
Martin
56ed901703
tech(clean): remove dead code
2024-02-16 11:23:39 +01:00
Martin
3e64a3bbbc
tech(refactor): extract clone logic inside its own class
2024-02-16 11:23:39 +01:00
Martin
72a3f6e89c
refactor(export/archives): holds user profile asking for the archive or export
2024-02-16 11:23:38 +01:00
mfo
4dfb3b86ef
Merge pull request #10000 from mfo/US/groupe-instructeur-manageable-for-routee-procedure
...
ETQ administrateur, je peux gerer la liste des instructeurs même si le routage est activé sur ma démarche
2024-02-16 09:26:06 +00:00
mfo
cc53946d22
Merge pull request #9978 from mfo/US/enforce-real-email-validation
...
feat(email): stricter validation
2024-02-16 09:25:58 +00:00
Martin
c719a42f8a
feat(procedure.instructeurs_self_management_enabled): backfill instructeurs_self_management_enabled since routing_enabled is not one of the option conditionning it
2024-02-16 10:08:36 +01:00
Colin Darie
fc482c1607
Merge pull request #10008 from colinux/fix-draft-procedure-description-cache
...
ETQ admin: correction du cache de la liste des PJ d'une démarche en brouillon
2024-02-16 07:22:22 +00: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
3e9abd73e4
Merge pull request #10004 from mfo/add_missing_acl_on_instructeurs_self_management_enabled
...
secu(instructeurs/groupes_instructeurs): s'assure que seul les instructeurs d'une demarche ayant la gestion activé puisse acceder aux ecrans
2024-02-16 06:37:45 +00:00
Colin Darie
a783c50026
fix(commencer): cache on description of draft procedure
...
Des changements dans le formulaire d'une démarche en brouillon
ne mettent pas à jour la cache_key de la procedure, donc au fait au plus
simple pour éviter un cache stale dans ces cas là.
2024-02-15 18:45:13 +01:00
Martin
a274629719
fix(instructeurs/groupes_instructeurs#*): add some ACL here
2024-02-15 17:11:25 +01:00
Martin
b6c2742cda
bug(instructeurs/groupes_instructeurs#*): any ACL here ?
2024-02-15 17:11:25 +01:00
Martin
8488e74bbb
review(suggestion): better code with reviews, normalize Champs::EmailChamp.value, simplier default strict validation activation
...
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-15 16:41:00 +01:00
Martin
5f77c0cd06
feat(email.validation): expand email validation to Avis, ContactInformation, Invite, DossierTransfert
2024-02-15 16:41:00 +01:00
Martin
05193e1d1e
feat(User.validation): validates email when env var is present
2024-02-15 16:41:00 +01:00
Martin
25f92a7760
feat(email.validator): define a strict email validator, validates Champs::EmailChamp.value only on validation context
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-02-15 16:41:00 +01: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
Martin
2f32468d36
feat(instructeurs/groupes_instructeur): dsfrize
2024-02-15 15:34:22 +01:00
Martin
5407011668
feat(procedure.routing): allow admin to manage instructeur even when procedure has some routing
2024-02-15 13:40:48 +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
Paul Chavard
f5f94d9e52
Merge pull request #9989 from tchak/fix-allow-to-edit-more-geo-areas
...
ETQ usager je peux éditer jusqu'à 50 points ou éléments sélectionnés dans le champ carte
2024-02-14 21:13:09 +00:00
Colin Darie
bd3c2c070a
Merge pull request #9957 from demarches-simplifiees/finalize-rna-rnf-ldu
...
ETQ instructeur et consommateur API, la vue du champ RNA est harmonisée avec le champ RNF
2024-02-14 15:30:54 +00:00
Colin Darie
a9b24b897e
Merge pull request #9971 from demarches-simplifiees/harmonize-merci-message-from-admin-apercu-to-user-ldu
...
ETQ admin, je veux que le message de fin de dépot d'une démarche déclarative soit correct
2024-02-14 15:14:20 +00:00
mfo
3237ea8e9f
Merge pull request #9991 from mfo/US/fix-attestation-template-revision-preloader
...
perf(mail_template/attestation): preload procedure revisions
2024-02-14 08:58:16 +00:00
Martin
85fa75e8f0
perf(mail_template/attestation): preload procedure revisions
2024-02-13 17:11:21 +01:00
Colin Darie
48644ae407
Merge pull request #9846 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_contact_parent_gestionnaires
...
Délégation de compte: ETQ gestionnaire je peux contacter les gestionnaires des groupes parents
2024-02-13 14:42:03 +00:00
Paul Chavard
7d9cb4d497
Merge pull request #9988 from tchak/refactor-logic-compute-sub-values
...
refactor(logic): compute sub champ values
2024-02-13 14:22:09 +00:00
Paul Chavard
ff95a812e2
fix(combobox): always sort on the client
2024-02-13 12:26:43 +01:00
Paul Chavard
cf10b68d0d
fix(geo_area): allow up to 50 geo_area to be edited
2024-02-13 12:09:03 +01:00
Paul Chavard
93635b3516
refactor(logic): compute sub champ values
2024-02-13 11:57:31 +01: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
Paul Chavard
641a33e1e0
Merge pull request #9985 from tchak/fix-update-dossier-en-construction
...
ETQ Usager, je ne veux pas voir un message d'alerte indiquant que la démarche est close lorsque je modifie un dossier en construction
2024-02-13 09:38:08 +00:00
Lisa Durand
f57be9e455
fix(dossier): harmonize merci message from admin apercu to user
2024-02-13 09:28:47 +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
Paul Chavard
034015384b
fix(dossier): do not warn about closed demarche when updating a fork
2024-02-13 08:19:19 +01:00
Lisa Durand
f09ab62620
add rna type de champ to harmonize api with rnf
2024-02-12 17:20:07 +01:00
Lisa Durand
a756ab0a63
add address infos for rna in show
2024-02-12 17:20:06 +01:00
Lisa Durand
9e3f28e87b
add rnf and rna address in form view
2024-02-12 17:20:05 +01:00
Colin Darie
7251a5ca01
Merge pull request #9983 from colinux/fix-address-champ
...
ETQ instructeur: fix génération d'attestation avec une balise "nom de la commune" depuis un champ adresse
2024-02-12 15:48:11 +00:00
Colin Darie
bfb98554ff
fix(active-storage): don't fail on analyzing a blob derivated by watermark
...
Quand l'analyse du job se produit après le watermark, elle doit comparer
le checksum avec celui du fichier filigrané.
2024-02-12 16:30:58 +01:00
Colin Darie
ea89c2e8dd
fix(attestation): tag commune_name from address
2024-02-12 15:08:05 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine
2024-02-12 09:33:23 +01:00
Colin Darie
e3f233cd51
fix(rubocop): Layout/ExtraSpacing et Layout/SpaceAroundOperators
2024-02-12 09:33:22 +01:00
Colin Darie
eeef6176b7
fix(rubocop): Rails/PluckInWhere
2024-02-12 09:33:19 +01:00
Colin Darie
6ab3fa1cf4
fix(rubocop): Rails/RedundantActiveRecordAllMethod
2024-02-12 09:33:18 +01:00
Colin Darie
0da2843f26
fix(rubocop): Rails/FindEach
2024-02-12 09:33:17 +01:00
Colin Darie
9639d68ebf
fix(checkbox): show mandatory icon on mandatory champ
...
Closes #9891
2024-02-09 12:52:21 +01:00
Colin Darie
c4bdef3a1c
Merge pull request #9979 from mfo/US/fix-point-input
...
ETQ usager: fix comportement des marqueurs de la carte dans les blocs répétables
2024-02-09 10:03:50 +00:00
Martin
4209eec021
fix(cartes): PointInput should not add point to all map on page
2024-02-09 10:41:35 +01:00
Colin Darie
162d8ca752
Merge pull request #9974 from colinux/fix-delai-declarative-instruction
...
ETQ usager je vois de nouveau le délai d'instruction pour les démarches déclaratives en instruction
2024-02-09 09:16:18 +00:00
Paul Chavard
d9f195a74b
fix map zoom hook
2024-02-09 09:24:58 +01:00
Martin
53ae5eeb5b
feat(map): stop flyTo/panTo on champ carte by default
2024-02-09 09:23:17 +01:00
Martin
32dcb411ca
feat(repetition.carte): add carte to repetition, just to test it
2024-02-09 09:23:17 +01:00
Paul Chavard
23592087ae
refactor(instructeur): use precomputed timestamps
2024-02-08 18:36:04 +01:00
Colin Darie
2e68fddd68
Merge pull request #9976 from colinux/carte-design
...
ETQ usager: le champ carte est un peu plus design (passage au DSFR)
2024-02-08 16:47:12 +00:00
Colin Darie
0bb25765d9
style(carte): passe l'UI au DSFR
2024-02-08 17:25:22 +01:00
Colin Darie
1f731ad14a
chore(ign): match proper style to layers
2024-02-08 16:23:15 +01:00
Paul Chavard
163e6f807e
chore(ign): update to geoplateforme
2024-02-08 16:23:08 +01:00
Colin Darie
8f1818511a
fix(demarche): estimated delay display for declarative en instruction
2024-02-08 12:47:58 +01:00
Colin Darie
b1203faa69
Merge pull request #9973 from demarches-simplifiees/add-padding-in-email-footer-ldu
...
ETQ usager, améliore le footer dans les emails de démarche avec un petit espace supplémentaire
2024-02-08 11:10:25 +00:00
Eric Leroy-Terquem
79ff2ba779
feat(combobox): can paste many terms separated by semicolons
2024-02-08 11:53:47 +01:00
Colin Darie
0111329b56
Merge pull request #9963 from colinux/fix-datafixer
...
Tech: fix maintenance task invokation `AddDossiersMissingChampsTask`
2024-02-08 10:29:27 +00:00
Colin Darie
8361938511
Merge pull request #9972 from colinux/upgrade-administrate
...
Tech: update administrate from 0.18.0 to 0.20.1 (manager)
2024-02-08 10:26:52 +00:00
Lisa Durand
048dd7dd74
add padding in email footer
2024-02-07 17:06:31 +01:00
Colin Darie
88a24e6c0f
Merge pull request #9970 from demarches-simplifiees/remove-estimated-delay-for-procedure-declarative-ldu
...
ETQ usager, je n'ai pas besoin du détail des délais d'instruction pour les démarches déclaratives
2024-02-07 16:00:31 +00:00
Colin Darie
1e2a6d0461
fix(manager): update templates and make everything works
2024-02-07 16:54:23 +01:00
Lisa Durand
52b334e48b
dont display estimated delay for declarative procedure
2024-02-07 16:21:24 +01:00
Lisa Durand
a14d587722
fix missing local when calling partial user_infos
2024-02-07 15:11:29 +01:00
mfo
8d658c60d8
Merge pull request #9953 from mfo/US/fix-archive-without-annotations
...
correctif: ETQ admin, je souhaite retrouver les annotations privées dans les archives
2024-02-07 10:05:42 +00:00
Colin Darie
fb14afc530
fix(rna): real RNA identifier could contain at least 1 letter, despite of specs
2024-02-06 15:02:57 +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
c9b9338f6e
fix(maintenance): dossiers missing champs fixer invokation
2024-02-05 17:01:35 +01:00
seb-by-ouidou
c2c54083e8
feat: display tree structure of a group
2024-02-05 09:30:24 +01:00
Colin Darie
460240713f
Merge pull request #9668 from adullact/feature-ouidou/admin_creation_delegation_commentaire_email_notification
...
Délégation de compte admin: notification par email à l'ajout d'un commentaire
2024-02-02 14:09:22 +00:00
Colin Darie
eb55abebfc
style(attestation): fix for headings style and spacing following charte
2024-02-02 13:49:22 +01:00
Colin Darie
72e59b6473
fix(attestation): can remove headings
2024-02-02 13:18:42 +01:00
Colin Darie
a1359c243e
style(attestation): fix h3 font-size
2024-02-02 13:08:55 +01: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
Eric Leroy-Terquem
4ccb61981d
feat(manager): add dossiers invites in user dashboard
2024-02-02 10:27:20 +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
7e02342518
feat(attestation): tiptap default attestation
2024-02-01 18:55:58 +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
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
Colin Darie
716e4bbe5d
Merge pull request #9645 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_answer_administrateur
...
Feature ouidou/admin creation delegation gestionnaire answer administrateur
2024-01-22 15:45:58 +00:00
Martin
0f194a5e8e
refactor(procedure_revision): without renumber, use types_de_champ_public factory for ordered champs
2024-01-22 14:57:04 +01:00
mfo
89d2c57cb2
review(sim): some review suggestions
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-01-22 14:57:04 +01:00
Martin
5c049a1c0f
feat(update_draft_revision_type_de_champs_task): force to use real position otherwise have to process parent_coordinates...
2024-01-22 14:57:04 +01:00
Martin
434cd77030
poc(spec): renumber only at one point
2024-01-22 14:57:04 +01:00
Martin
a9c0d3e7e9
tech(clean): avoid useless indirection, cleanup some code complexity, rubocopify
2024-01-22 14:57:04 +01:00
Martin
a78a6b6f34
feat(remove_type_de_champ): stop renumbering all procedure_revision_type_de_champ on remove_type_de_champ
2024-01-22 14:57:04 +01:00
Martin
4d97c5bc8a
feat(move_type_de_champ): stop renumbering all procedure_revision_type_de_champ on move_type_de_champ
2024-01-22 14:57:04 +01:00
Martin
4b57ed871a
feat(add_type_de_champ): stop renumbering all procedure_revision_type_de_champ
2024-01-22 14:57:04 +01:00
seb-by-ouidou
0bb189d027
feat: replace fail by flast alert
2024-01-22 14:36:38 +01:00
seb-by-ouidou
a6ca4b668e
feat: answer message to administrateur as gestionnaire
2024-01-22 14:36:38 +01:00
seb-by-ouidou
b19413643c
feat: write message to gestionnaires as administrateur
2024-01-22 14:36:38 +01:00
seb-by-ouidou
9ff1e57feb
feat: US5.1 US5.2 administrateur in admin
2024-01-22 14:36:38 +01:00
seb-by-ouidou
e6474f0d14
feat: US4.3.9 children management
2024-01-22 14:36:38 +01:00
seb-by-ouidou
96dd6bec52
feat: US4.3 update and delete groupe gestionnaire
2024-01-22 14:36:38 +01:00
Colin Darie
2f53a017b4
Merge pull request #9886 from colinux/export-ff-active-revision-first
...
Tech exports: feature flat pour trier les colonnes par révision récente puis position plutôt que mélanger les révisions entre elles
2024-01-22 12:21:32 +00:00
Colin Darie
58c00b2d4e
feat(export): can sort by revision first, instead of mixing revisions
2024-01-22 12:03:30 +01:00
Colin Darie
7892b54aa6
fix(discarded-dossiers): don't crash whole job when a single dossier causes an error
2024-01-17 13:15:42 +01:00
Colin Darie
1a8f839a7e
Merge pull request #9915 from colinux/fix-admin-memory-leak
...
Perf: remplace les `OpenStruct` par des objets plus performants
2024-01-17 08:59:01 +00: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
Colin Darie
e1102ed993
perf(admin): fix N+1 on procedures zones on every admin page
2024-01-16 19:43:56 +01:00
Colin Darie
4408f0f4fb
perf(zone): replace OpenStruct by a Struct label model
2024-01-16 19:43:25 +01:00
Colin Darie
e807752a78
perf(type-de-champ): replace stable_self OpenStruct by Struct model
2024-01-16 19:43:23 +01:00
Colin Darie
fa74cdb4c7
perf(null-zone): replace open struct by struct
2024-01-16 19:43:22 +01:00
Colin Darie
461e311d3d
perf(admin): replace ProcedureDetail open struct with proper struct
2024-01-16 19:43:19 +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
Lisa Durand
d9b75ce0a2
Merge pull request #9882 from demarches-simplifiees/add-dossier-reference-in-transfer-email
...
Je veux que le numéro du dossier apparaisse dans l'email de demande de transfert
2024-01-15 15:39:09 +00: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
Colin Darie
8a83fd2ce0
fix(recherche): show notification indicator for instructeurs
2024-01-12 10:09:34 +01:00
Martin
e7eee7ba72
spec(move_and_morph): add some spec and lint with rubocop/haml/eslint
2024-01-11 16:12:09 +01:00
Martin
857a1fc496
fix(select_champ_position): rewire for more robust and easier implementation which work with repetition avoiding double submit
2024-01-11 16:01:24 +01:00
Martin
b4d32e656f
feat(ChampComponent): add procedure_revision_type_de_champ.position to ui
2024-01-11 16:01:24 +01:00
Martin
dce06f22a0
feat(type_de_champ_editor): add SelectChampTemplatePosition which feeds SelectChampPositionComponent options
2024-01-11 16:01:24 +01:00
Martin
11de4bdfb6
feat(types_de_champ_editor.ts): wires move_and_morph with type de champs editor [for now, the select is empty and will be synced]
2024-01-11 16:01:24 +01:00
simon lehericey
586e4ed613
to be sure, delete possible email_merge_token if correct password merge
2024-01-11 11:33:38 +01:00
simon lehericey
e12dbe7aad
use email_merge_token in email merge
2024-01-11 11:33:38 +01:00
simon lehericey
ca08b80c3e
use email_merge_token in mailer
2024-01-11 11:33:38 +01:00
simon lehericey
fca28a3ebd
use email_merge_token in mail_merge_with_existing_account route
2024-01-11 11:33:38 +01:00
simon lehericey
90f145e17a
add email_merge_token to france connect information
2024-01-11 11:33:38 +01:00
simon lehericey
4c7b494c9d
be consistent in france_connect_email sanitation
2024-01-11 11:33:38 +01:00
simon lehericey
6bad272825
style
2024-01-11 11:33:38 +01:00
Colin Darie
0dd3b16d10
Merge pull request #9637 from adullact/feature-ouidou/admin_creation_delegation_administrateur_contact_gestionnaire
...
Delégation de compte admin: ETQ admin je peux contacter mon/mes gestionnaires de groupe
2024-01-11 09:04:34 +00:00
mfo
e2cb833a51
Merge pull request #9896 from mfo/US/fix-combobox-with-not-trimmed-option
...
fix(combobox): some old procedure still have options with trailing white spaces. ensure to trim selected value as well as options.value for better comparison
2024-01-11 08:40:11 +00:00
seb-by-ouidou
c45e2eaccc
feat: write message to gestionnaires as administrateur
2024-01-09 13:25:04 +01:00
seb-by-ouidou
07dd7a1283
feat: US4.3.8 administrateur management
2024-01-09 13:25:04 +01:00
Colin Darie
103e39159b
style(admin): fix alignement in editor with type de champ used by routing
2024-01-08 18:13:33 +01:00
Colin Darie
bdff9a6064
style(admin): improve dark theme on editor section titles & borders
2024-01-08 18:03:07 +01:00
simon lehericey
560c2d763c
fix(view_component): use new slot name
2024-01-08 11:57:47 +01:00
mfo
a0248bf08b
Merge pull request #9888 from mfo/US/validate-epci-by-code
...
Correctif: Le noms des EPCIs changent, ce qui bloque la validation et ou demande a resaisir le champs
2024-01-08 09:56:09 +00:00
Martin
6c5f6dd6f6
fix(combobox): some old procedure still have options with trailing white spaces. ensure to trim selected value as well as options.value for better comparison
2024-01-08 10:29:43 +01:00
Martin
fa07c21ec3
fix(champs.epci): epci names change over time. remap when it occurs
2024-01-04 07:17:15 +01:00
mfo
9df978f6fa
Merge pull request #9887 from mfo/US/fix-fci-missing-device-callback
...
Correctif: ETQ usager invité, lorsque je crée mon compte via FC, je ne retrouve pas mes invitations
2024-01-04 06:15:14 +00: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
mfo
e076de2f12
Merge pull request #9889 from mfo/US/allow-dossier-link-in-repetitions
...
amelioration: ETQ admin je peux utiliser les champs de type dossier dans les répétitions
2024-01-02 08:47:55 +00:00
mfo
002a14188d
Merge pull request #9875 from mfo/US/hint-regexp
...
ETQ admin, quand je configure un type de champ regexp, j'ai une petite mention sur le bornage de celle ci
2023-12-27 09:43:05 +00:00
Martin
7c5a297bc7
feat(repetitions): allow dossiers links in repetitions
2023-12-26 17:39:01 +01:00
Martin
92730e266b
fix(FranceConnect): missing after_confirmation callback, leading to invalites invitations when user france connect
2023-12-26 15:00:15 +01:00
LeSim
d4b4274d26
Merge pull request #9885 from demarches-simplifiees/fix-a-few-typos
...
Corrections de typos
2023-12-22 22:48:11 +00:00
Eric Leroy-Terquem
a56fa60c78
fix typos
2023-12-22 11:39:09 +01:00
mfo
d69dc6e2c9
Merge pull request #9884 from mfo/US/fix-missing-trad-on-new-commencer
...
correctif: ETQ usager naviguant sur le site en anglais, j'aimerais que le bloc pour choisir si je depose le dossier pour moi ou qqun d'autre soit traduit
2023-12-22 10:09:00 +00:00
Eric Leroy-Terquem
24563a3c18
fix(personnes impliquees): display reaffectations block only if procedure is routed
2023-12-22 10:57:53 +01:00
Eric Leroy-Terquem
cf97af0d7e
chore(groupe_instructeurs): remove dead code replaced by routing rules
...
component
2023-12-22 10:57:53 +01:00
Eric Leroy-Terquem
547a4d95b7
chore(logic): commune and epci champs are always compute with compute_value_json
2023-12-22 10:57:53 +01:00
Martin
ff09130180
fix(i18n): add missing i18n on /commencer
2023-12-22 10:48:10 +01:00
Colin Darie
deab400057
Merge pull request #9578 from adullact/feature-ouidou/admin_creation_delegation_administrateur_pages
...
Feature ouidou/admin creation delegation administrateur pages
2023-12-22 09:06:58 +00:00
Martin
cc02618bfe
feat(TypeDeChampEditor.regexp): add hint regarding regexp begin/finish
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-22 09:47:04 +01:00
mfo
c4adee6278
Merge pull request #9878 from mfo/US/fix-not-type-ej-in-api
...
API: cast le type de champ EJ
2023-12-22 07:20:13 +00: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
seb-by-ouidou
91602ee1c1
feat: US1.10 administrateur in manager
2023-12-21 18:40:36 +01:00
Colin Darie
6f7d786783
Merge pull request #9880 from demarches-simplifiees/api_token_store_last_used_ips
...
API: stocke les ips utilisées pour accéder à l'API
2023-12-21 16:18:00 +00:00
Lisa Durand
ff284a1c96
add more info in notify transfer email
2023-12-21 16:58:33 +01:00
Martin
989a7ba787
feat(API): cast type de champ EJ in a dedicated graphql type
2023-12-21 16:21:31 +01:00
Eric Leroy-Terquem
4c82f2c9d7
fix(champ value): fix compute_value_json on departement champ
2023-12-21 16:21:08 +01:00
simon lehericey
afb6eacf57
feature(api): store any ip used
2023-12-21 16:02:11 +01:00
Colin Darie
9bdf525ff1
Merge pull request #9863 from colinux/fix-message-html-injection
...
Tech: échappe les tags de données utilisateur dans les modèles pour email
2023-12-21 08:50:21 +00:00
Colin Darie
29df9ad09d
Merge pull request #9751 from tchak/departement-tags
...
feat(champs): expose more tags and api fields on rnf, address and commune
2023-12-21 08:45:01 +00:00
Colin Darie
e17c3bd046
Merge pull request #9839 from mfo/US/fix-filter-focus-out-with-not-selected-filter
...
correctif : ETQ instructeurs, lorsque je sors du composant de filtrage sans choisir une option, le site renvoie une erreur
2023-12-21 08:42:12 +00:00
Colin Darie
535a54ce97
Merge pull request #9874 from demarches-simplifiees/add-email-for-tiers-when-repasser-en-instruction-ldu
...
[Co-construction] Envoyer un mail au bénéficiaire si le dossier repasse en instruction
2023-12-21 08:32:10 +00:00
Lisa Durand
c311d6dc46
add url for civil code reference
2023-12-20 11:51:33 +01:00
Lisa Durand
3e872c5246
add email for tiers when repasser en instruction
2023-12-20 11:51:02 +01:00
Lisa Durand
e52bd9d6bf
Merge pull request #9855 from demarches-simplifiees/display-last-export-in-same-page-ldu
...
ETQ instructeur, j'ai besoin d'un accès très facile à mondernier export
2023-12-20 10:02:08 +00:00
Eric Leroy-Terquem
882d72d139
data(conditional): add a maintenance task to update conditions based on commune or epci champ
2023-12-19 17:39:40 +01:00
Eric Leroy-Terquem
e4632214fb
data(conditional): add a maintenance task to update routing rules based on commune or epci champ
2023-12-19 17:39:39 +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
Lisa Durand
e6a4459633
refacto
2023-12-19 16:54:23 +01:00
Lisa Durand
f553f3c408
Merge pull request #9872 from demarches-simplifiees/add-badge-for-role-ldu
...
ETQ utilisateur avec plusieurs rôles, je m'y retrouve plus facilement
2023-12-19 11:01:28 +00:00
mfo
e75c4456e8
Merge pull request #9871 from mfo/US/add-pj-to-explication
...
ETQ administrateur, je peux ajouter une notice explicative a un champs explication
2023-12-19 10:44:03 +00:00
Lisa Durand
c767164e28
add expert in current_account and mode badge to the right
2023-12-19 11:33:48 +01:00
Martin
6f01a10846
tech(clean): move from custom spacer classes to dsfr spacer classes
2023-12-19 11:31:55 +01:00
Martin
4bc8eaa192
ui(ChampComponent): move TypeDeChamp.explication options in the right column of the editor
2023-12-19 11:31:28 +01:00
Lisa Durand
1541da9d39
add specific routes and action for polling
2023-12-19 11:10:03 +01: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
Lisa Durand
0286d2b6fb
add profiles in flash after sign-in if multiple profile
2023-12-19 10:33:26 +01:00
Martin
f7feca5fd1
feat(editable_champ.explication): show downloadable AttachedOne
2023-12-19 09:53:27 +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
Lisa Durand
dfc09648d8
add badge with role in user dropdown in header
2023-12-18 14:39:27 +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
Lisa Durand
53f9f3cbdb
add trad if export failed
2023-12-18 14:09:47 +01:00
Lisa Durand
a9ab1daf3a
display alert only for instructeur who generated the export and if recent
2023-12-18 11:25:52 +01:00
Martin
7dd9e0d255
amelioration(editeur-de-champ): ETQ admin, une alert DSFR m'informe de la difference entre un champ PJ classique et un champ titre d'identité
2023-12-18 10:26:21 +01:00
simon lehericey
9bb89f7e3e
fix(print): missing dossier var
2023-12-18 09:51:41 +01:00
Colin Darie
fa37c6c62b
fix(tags): escape user data tags for emails
2023-12-15 14:05:11 +01:00
Colin Darie
c0b444d747
Merge pull request #9847 from colinux/fix-style
...
Style: plusieurs améliorations mineures / thème sombre
2023-12-15 12:00:53 +00:00
mfo
b539fe1b65
amelioration(review): tech review
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-15 11:23:25 +01:00
Martin
0caacdaf59
amelioration(combobox): utilise une loupe plutot qu'un chevron bas pour les combobox en mode autocomplete
2023-12-15 11:23:25 +01:00
Martin
95fd6c2a69
tech(combobox): propage le changement de signature dans le reste de la codebase
2023-12-15 11:23:25 +01:00
Martin
d27e4fc693
amelioration(combobox): permet de passer des options au input[type=hidden], utilise cette option pour autosubmit uniquement un input [dans notre cas, ne soumet pas a l'input du combobox, mais a l'input hidden une fois le combobox selectionné]
2023-12-15 11:23:25 +01:00
Colin Darie
7ba13507ff
Merge pull request #9808 from colinux/remove-usager-antivirus
...
ETQ usager, je ne vois plus le statut "antivirus en cours" lorsque j'envoie un PJ
2023-12-14 19:53:34 +00:00
Colin Darie
9a5d908851
Merge pull request #9853 from mfo/US/fix-expert-link-to-dossiers
...
ETQ expert: lorsque je me connecte, je suis redirigé vers la page des avis, non pas vers la page de mes dossiers
2023-12-14 19:52:32 +00:00
Colin Darie
3b0e4e59d5
Merge pull request #9858 from colinux/fix-invite-html-injection
...
Tech: sanitize les messages utilisateurs dans les emails
2023-12-14 17:27:28 +00:00
Lisa Durand
569d4af6f7
Merge pull request #9706 from demarches-simplifiees/feat/9678
...
ETQ usager passant par un mandataire, je suis notifié des changements d'état de mon dossier par email
2023-12-14 16:57:07 +00:00
Eric Leroy-Terquem
2e547cd46f
chore(routing): cannot create simple_routing with champs communes or epcis
2023-12-14 17:48:14 +01:00
Eric Leroy-Terquem
e40d1107ac
chore(conditional): add not_in_departement and not_in_region operators
2023-12-14 17:48:14 +01:00
Eric Leroy-Terquem
3db21b633c
chore(conditional): update champs to use in_region operators
2023-12-14 17:48:13 +01:00
Eric Leroy-Terquem
c9676020b4
chore(conditional): add in_departement and in_region operators
2023-12-14 17:48:13 +01:00
simon lehericey
016c392914
tech: add env var to disable cron scheduling
2023-12-14 17:12:19 +01:00
simon lehericey
b915fe13c3
refactor: remove individual_id as authorized parameter
2023-12-14 16:25:33 +01:00
LeSim
99d2ad3522
Merge pull request #9857 from demarches-simplifiees/remove_now_obsolete_pj_migration_jobs
...
Tech: suppression du cron et de la tache de migration des pjs vers des buckets dédiés.
2023-12-14 15:00:52 +00:00
Martin
1307e7262f
amelioration(application_controller.roles): intègre aussi le role d'expert aux logs
2023-12-14 14:52:50 +01:00
mfo
186f85f81a
Merge pull request #9854 from mfo/US/fix-user-deletion-service-in-batches
...
Tech, correctif sur le service d'expiration des usagers inactif qui timeoutait via `.in_batches`. Utilise `.pluck(:id)`
2023-12-14 13:27:30 +00:00
simon lehericey
e75d87e76b
chore(pjs_migration): remove now obsolete migration_jobs
2023-12-14 14:10:09 +01:00
Martin
b89f6cf0f1
correctif(user_deletion_service.perf): timeout via .in_batches. Utilise .pluck(:id)
2023-12-14 14:08:50 +01:00
Colin Darie
fd7839773b
fix(email): sanitize user message
2023-12-14 12:51:56 +01:00
Eric Leroy-Terquem
7ad0005671
Merge pull request #9852 from demarches-simplifiees/add-region-code-in-communes-and-departements-json
...
Tech : ajoute region-code aux communes et departements json
2023-12-14 10:54:36 +00:00
krichtof
fb3df0e73e
Merge pull request #9851 from demarches-simplifiees/fix-footer-stats
...
ETQ instructeur, la position du pied de page pour la page de statistiques d'une procédure est corrigée
2023-12-14 10:24:30 +00:00
Martin
6def2609f1
amelioration(liens-suivis): persiste la page a laquelle il doit etre redirigé apres une connexion
2023-12-14 10:47:04 +01:00
Martin
4380fecd73
amelioration(expert.sign-in): ETQ expert, je suis redirigé vers la page listant les avis a donner ap connexion
2023-12-14 10:47:04 +01:00
Lisa Durand
2f1259709a
fix email content
2023-12-14 10:01:13 +01:00
Eric Leroy-Terquem
57b6522536
data(geo): update api_geo_data take task to store region_code in departements and communes json
2023-12-14 09:36:50 +01:00
Christophe Robillard
e8b13e4a6e
fix footer position for procedure stats page
2023-12-14 09:21:47 +01:00
Colin Darie
c76213cb87
fix(users): don't show procedures filter when there are not enough procedures
2023-12-13 18:03:22 +01:00
Colin Darie
f0e1c1688b
style(admin): convert new procedure radios to dsfr
2023-12-13 18:03:19 +01:00
Lisa Durand
9f962150c3
add polling to refresh alert in view
2023-12-13 17:04:52 +01:00
Colin Darie
b384da73a3
style: fix download attestation button in dark mode
2023-12-13 16:07:33 +01:00
simon lehericey
f0a28ab1e8
Revert "Merge pull request #9835 from demarches-simplifiees/update_openid_connect"
...
This reverts commit 2e59ef97c9
, reversing
changes made to d0372ec608
.
2023-12-13 14:09:50 +01:00
Lisa Durand
8b3596244e
improve color for new release
2023-12-13 12:07:46 +01:00
Colin Darie
01d12c9bb4
Merge pull request #9840 from colinux/maintenance-task-update-tdc
...
ETQ superadmin je peux mettre à jour le brouillon d'une révision à partir d'un CSV
2023-12-13 10:15:41 +00:00
Colin Darie
715c800788
Merge pull request #9821 from colinux/en-attente-block-instruction
...
ETQ instructeur je ne peux pas passer en instruction un dossier en attente de correction
2023-12-13 10:02:32 +00:00
Lisa Durand
f34090f8fd
display last export alert in view
2023-12-13 10:26:33 +01:00
Kara Diaby
57dfe2b0f6
Améliorations après retours PR
2023-12-13 09:21:09 +00:00
Lisa Durand
68c7599e58
align form with adjusting DSFR class
2023-12-12 22:35:11 +00:00
Lisa Durand
43f5f4e030
fix test
2023-12-12 22:35:11 +00:00
Lisa Durand
d0e2f281cc
fix tests
2023-12-12 22:35:11 +00:00
Lisa Durand
f6f18e9c86
send email to tiers if notification by email is set
2023-12-12 22:35:11 +00:00
Kara Diaby
2ac9c13c4a
Models
2023-12-12 22:35:11 +00:00
Kara Diaby
061da95aaf
Controllers
2023-12-12 22:35:11 +00:00
Kara Diaby
ee9c918ee8
Layout
2023-12-12 22:35:11 +00:00
Kara Diaby
6ced107403
Migration
2023-12-12 22:35:11 +00:00
krichtof
fbf0ccde20
Merge pull request #9817 from demarches-simplifiees/9784-footer
...
ETQ admin et instructeur, j'ai un pied de page
2023-12-12 14:54:01 +00:00
krichtof
246d53fa99
Merge pull request #9754 from demarches-simplifiees/9435-transfer-dossier
...
En tant que superadmin, je peux transférer un dossier d'un utilistateur à un autre
2023-12-12 14:44:39 +00:00
Christophe Robillard
122a6b6f5b
revoke superadmin dossier transfer
2023-12-12 15:25:39 +01:00
Christophe Robillard
7cfe0ad2a8
log when support team initiated dossier transfer
2023-12-12 15:25:39 +01:00
Christophe Robillard
a74ecb1f99
indicates when support team initiated dossier transfer
2023-12-12 15:25:39 +01:00
Colin Darie
c0771ad903
fix(dossier): passe en instruction with auto-archive even with pending correction
2023-12-12 15:05:46 +01:00
Colin Darie
3d21262e89
test(declarative): clarify intention with pending correction & declarative procedure
2023-12-12 15:05:45 +01:00
Colin Darie
c26b59722d
feat(instructeur): pending correction blocks passer en instruction
...
Closes #9731
2023-12-12 15:05:44 +01:00
Colin Darie
ecc3638d81
chore(dsfr): include tooltip component
2023-12-12 15:05:42 +01:00
Colin Darie
f9c4846fde
Merge pull request #9571 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_group_administrateur_management
...
Feature ouidou/admin creation delegation gestionnaire page group administrateur management
2023-12-12 10:41:28 +00:00
Colin Darie
acbddb5c29
style(gestionnaire): minor style improvements
...
Co-Authored-By: krichtof <christophe.robillard@beta.gouv.fr>
2023-12-12 11:31:02 +01:00
LeSim
2e59ef97c9
Merge pull request #9835 from demarches-simplifiees/update_openid_connect
...
Tech: met a jour la dépendance openid_connect pour être compatible avec openssl v3
2023-12-12 09:02:49 +00:00
LeSim
d0372ec608
Merge pull request #9836 from demarches-simplifiees/add_agent_connect_access_to_landing_page
...
ETQ instructeur: j'accède à la page d'agent connect depuis un button dédié sur la page d'accueil
2023-12-11 19:09:08 +00:00
Colin Darie
6a2e68b697
feat(admin): task removing type de champ from draft revision from a csv
2023-12-11 19:04:49 +01:00
Colin Darie
7618b8c549
feat(admin): task updating libelles, description, mandatory and positions on draft revision
...
Co-Authored-By: mfo <mfo@users.noreply.github.com>
2023-12-11 18:41:20 +01:00
Christophe Robillard
48397b9526
move general footer row from users to application directory
2023-12-11 16:37:52 +01:00
Christophe Robillard
7e3c47f5cf
show footer for agent
2023-12-11 15:50:33 +01:00
Christophe Robillard
d7a8430201
use default footer for application
...
based on old 'users/dossiers/_index_footer'
2023-12-11 15:38:26 +01:00
LeSim
1d088c37c3
Merge pull request #9832 from demarches-simplifiees/do_not_prefill_totp
...
SuperAdmin: ne préremplit pas le code totp
2023-12-11 14:02:59 +00:00
simon lehericey
a811a72ab2
chore(agent_connect): update code to work with newer openid connect
...
remove AGENT_CONNECT_JWKS env key
2023-12-11 15:02:24 +01:00
Colin Darie
968b2cfb0a
Merge pull request #9818 from colinux/correction-remove-from-message
...
ETQ instructeur, ma demande de correction est supprimée (résolue) lorsque je supprime son message associé
2023-12-11 13:07:43 +00:00
simon lehericey
d4d225361b
refactor(header): align buttons
2023-12-11 12:25:15 +01:00
simon lehericey
96dffb8951
feat(agent connect): add agent connect button to landing page
2023-12-11 12:13:49 +01:00
Colin Darie
17c4b6288d
fix(message): improve translation about correction deletion
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-12-11 11:43:54 +01:00
Martin
8650744064
correctif(procedure/statistiques): utilise le nouveau composant pour afficher les delais de traitement
2023-12-11 11:27:00 +01:00
simon lehericey
0b542c3b98
fix(otp): do not autocomplete ever changing code
2023-12-11 09:52:58 +01:00
mfo
b56d5199e2
Merge pull request #9820 from mfo/US/filter-dossier-with-combobox
...
ETQ instructeur, lorsque je veux filtrer les dossiers d'une démarche, je peux utiliser un autocomplete
2023-12-11 09:48:58 +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
mfo
cf7e499cde
Merge pull request #9816 from mfo/US/api-chorus-configuration
...
amelioration(api): ajoute la configuration chorus aux API GraphQL
2023-12-11 09:46:46 +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
adc005da53
Merge pull request #9831 from demarches-simplifiees/formatage-motivation
...
ETQ usager ou instructeur, la motivation est bien formatée sur la page du dossier
2023-12-11 08:34:57 +00:00
seb-by-ouidou
96adffb5f5
fix: remove brouillon from repousser_expiration
2023-12-09 06:27:00 +01:00
seb-by-ouidou
8c1bc9e62f
feat: batch action for repousser_expiration depuis expirant
2023-12-09 06:27:00 +01:00
seb-by-ouidou
9031de803b
feat: batch action for passer_en_instruction depuis a_suivre
2023-12-09 06:27:00 +01:00
seb-by-ouidou
5c80f6c3f0
feat: batch action for desarchiver
2023-12-09 06:27:00 +01:00
seb-by-ouidou
c0c2e35881
feat: batch action for restaurer
2023-12-09 06:27:00 +01:00
seb-by-ouidou
5ec95d781c
feat: batch action for supprimer
2023-12-09 06:27:00 +01:00
mfo
e868d62ffd
Merge pull request #9814 from demarches-simplifiees/fix-deleted-dossiers-link-for-instructeur-ldu
...
[Bug] ETQ instructeur je peux accéder à la page des dossiers supprimés
2023-12-08 18:49:45 +00: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
mfo
c9a49c2b56
Merge pull request #9829 from demarches-simplifiees/9807-email-depot
...
ETQ personne morale, mon adresse email figure dans l'attestation de dépôt
2023-12-08 17:03:47 +00:00
Christophe Robillard
7f0ece3729
format motivation in dossier overview
2023-12-08 17:50:19 +01:00
Christophe Robillard
d744e3b92d
add email to attestation depot when personne morale
2023-12-08 17:04:31 +01:00
mfo
25654d071c
Merge pull request #9824 from demarches-simplifiees/9823-no-dossier
...
ETQ usager sans dossier, je peux savoir comment trouver une démarche
2023-12-08 16:03:08 +00:00
Martin
202fd7e099
amelioration(doc.api): utilise le bon lien pour la doc des APIs, ajoute le lien sur la section des jetons d'api sur la page profil usager
2023-12-08 16:55:03 +01:00
Martin
1f13000537
amelioraiton(instructeur.filtres): utilise un combobox pour rechercher le type de champs
2023-12-08 16:10:18 +01:00
Christophe Robillard
91f77f09ae
help user without dossier
2023-12-08 15:14:04 +01:00
krichtof
269e7e1432
Merge pull request #9802 from demarches-simplifiees/9726-mail-utilise
...
ETQ usager, je veux retrouver l'email utilisé pour mon compte dans les mails automatiques
2023-12-07 16:35:29 +00:00
mfo
b28cbd9736
Merge pull request #9708 from mfo/US/better-estimation-on-treatment-time
...
ETQ usager, l information de durée de traitement des 90 percentile peut être trompeur
2023-12-07 16:09:39 +00:00
Martin
a66fd42450
amelioration(estimation_delay): evite des estimations de date similaire
2023-12-07 16:47:16 +01:00
Martin
643110c342
amelioration(api): ajoute la configuration chorus aux API GraphQL
2023-12-07 15:46:28 +01:00
Colin Darie
accd7864ff
feat(correction): deleting a comment resolves the related correction
...
Cf #9731
2023-12-07 15:41:50 +01:00
Christophe Robillard
b2690d782e
display user email in service footer
2023-12-07 15:16:04 +01:00
mfo
6a4bb0656d
Merge pull request #9797 from demarches-simplifiees/US/fix-reset-expiring-dossiers-job
...
correctif(ResetExpiringDossiersJob): timeout sur la prod, utilise une requete plus générique mais plus rapide [on ne scope pas aux dossiers ayant ete notifies, on les reset tous car ca timeouté
2023-12-07 14:08:43 +00:00
Colin Darie
0f1980b1c3
refactor(pj): don't poll on antivirus when submitting a pj
...
Closes #9733
2023-12-07 14:29:09 +01:00
mfo
aed65a4db2
Merge pull request #9813 from mfo/US/api.document.email-usager
...
documentation(api): ou trouver l'email de l'usager qui dépose le dossier
2023-12-07 13:22:10 +00:00
Lisa Durand
6deadd107d
fix broken link to access deleted dossiers for instructeurs
2023-12-07 09:59:30 +01:00
Martin
f26a4bc041
amelioration(delai.traitement): revoie l'affichage du delais d'instruction
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-07 09:19:52 +01:00
Martin
474fde3380
amelioration(procedure.usual_traitement_time_for_recent_dossiers): divise en 3 groupe l'estimation de la duree de traitement
2023-12-07 09:19:52 +01:00
Martin
3ac4163f33
documentation(api): ou trouver l'email de l'usager qui dépose le dossier
2023-12-06 20:17:30 +01:00
Lisa Durand
f27ef80553
Merge pull request #9812 from demarches-simplifiees/fix-bug-motivation-textarea-ldu
...
[Bug] Fix des placeholders et des icones du dropdown instruction (actions multiples)
2023-12-06 16:38:24 +00:00
Lisa Durand
f311f9e7d8
fix actions multiples dropdown instruction
2023-12-06 16:57:29 +01:00
Martin
b0e818f8f1
correctif(ResetExpiringDossiersJob): timeout sur la prod, utilise une requete plus générique mais plus rapide [on ne scope pas aux dossiers ayant ete notifies, on les reset tous car ca timeouté
2023-12-06 16:45:14 +01:00
seb-by-ouidou
e34307b50c
fix: fixes after review
2023-12-06 14:47:39 +01:00
seb-by-ouidou
564c3c04fa
feat: US4.3.8 administrateur management
2023-12-06 14:47:39 +01:00
Colin Darie
0d9d7c9725
fix(icons): fix remix icons on non latest chrome
2023-12-06 14:11:59 +01:00
Colin Darie
eb42ea9a2d
refactor(admin): improve links & message of PublicationWarningComponent
2023-12-05 18:51:12 +01:00
Christophe Robillard
961c7c5be4
fix format for motivation in notification mail
2023-12-05 18:50:50 +01:00
Colin Darie
60abc6ea6e
fix(admin): warn when errors block revision publication
2023-12-05 18:31:20 +01:00
Colin Darie
58af217477
fix(cache): depends on locale
2023-12-05 16:13:49 +01:00
Colin Darie
a9397ff5d3
Merge pull request #9776 from demarches-simplifiees/best-regards
...
Rend la signature dans les emails plus neutre
2023-12-05 13:52:26 +00:00
mfo
d90c55c29e
Merge pull request #9762 from tchak/fix-email-template
...
fix(email_template): less magic - less bugs !
2023-12-05 09:56:53 +00:00
Colin Darie
6674884c25
Merge pull request #9774 from colinux/perf-user-dossiers
...
ETQ usager l'affichage de la liste de mes dossiers va beaucoup plus vite
2023-12-05 08:59:45 +00:00