Kara Diaby
a26df43577
User : Ajoute le type de champ Expression régulière coté utilisateur
2023-10-16 08:53:52 +00:00
Kara Diaby
c22e36c35c
Si l'exemple ne passe pas la regexp, la publication de la démarche est imopssible
2023-10-16 08:53:52 +00:00
Kara Diaby
9bf1c65dec
Procedure Revision and tests
2023-10-16 08:53:52 +00:00
Kara Diaby
3b5bbb0779
Add new type de champ expression_reguliere with tests
2023-10-16 08:53:52 +00:00
Eric Leroy-Terquem
dbb68f29da
Merge pull request #9602 from demarches-simplifiees/fix-invalid-phones
...
Correction : tâche Rake pour corriger les numéros de téléphone invalides
2023-10-16 07:22:22 +00:00
Paul Chavard
89582d2e09
feat(dossier): use new combobox on champ adresse
2023-10-12 20:18:08 +02:00
Paul Chavard
ae450a2d2b
feat(combobox): add a setting to load options from an API
2023-10-12 20:18:08 +02:00
Eric Leroy-Terquem
a960395edb
fix(db): add phone fixer
2023-10-12 16:47:05 +02:00
Lisa Durand
2c73aa64a2
remove button from header for champs and annotations views & harmonize footer
2023-10-12 16:04:58 +02:00
Paul Chavard
8b23f2a555
chore(browser): reduce browser support scope
2023-10-12 15:28:07 +02:00
seb-by-ouidou
0fdbfbd0b8
feat: add env var CERTIGNA_ENABLED to disable certigna if not used
2023-10-12 15:03:53 +02:00
Lisa Durand
5e8d59244e
Merge pull request #9560 from demarches-simplifiees/instructeur-filter-display-select-for-multiple-field
...
ETQ instructeur si j'utilise un filtre de type choix, les valeurs possibles s'affichent dans un select
2023-10-12 07:51:04 +00:00
Lisa Durand
da8a887083
fix commit suggestions from GH
2023-10-11 17:48:20 +02:00
Lisa Durand
3c2d913a44
Update app/models/type_de_champ.rb
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-11 17:12:23 +02:00
Lisa Durand
d1d2f30833
Update app/models/type_de_champ.rb
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-11 17:12:05 +02:00
Lisa Durand
6380859668
Update app/models/type_de_champ.rb
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-11 17:11:44 +02:00
Lisa Durand
2360e5e115
fix specs
2023-10-11 16:33:45 +02:00
seb-by-ouidou
8b1a14e16a
feat: add test for GroupeGestionnaire#remove
2023-10-11 13:13:23 +00:00
seb-by-ouidou
ea7a5e6761
feat: US4.3.7.1 init manage gestionnaires of a group
2023-10-11 13:13:23 +00:00
Lisa Durand
b125f921ea
harmonize rna display for instructeur and usager - add grey card like siret
2023-10-11 12:14:00 +02:00
Paul Chavard
19a641deca
Merge pull request #9591 from tchak/fix-delay-submit-to-autosave-end
...
fix(dossier): delay submit to autosave end
2023-10-11 09:52:00 +00:00
seb-by-ouidou
b5fb06a641
feat: US1.6 /manager/gestionnaires/<idGestionnaire>
2023-10-11 09:38:42 +02:00
seb-by-ouidou
d5637ac7aa
feat: remove_gestionnaire
2023-10-11 09:38:42 +02:00
seb-by-ouidou
b100c8380e
FEAT: init admins group
2023-10-11 09:38:42 +02:00
LeSim
b7d6e9e30f
Merge pull request #9589 from demarches-simplifiees/fix_suivi
...
fix suivi on mobile by using ds fr
2023-10-10 19:55:17 +00:00
Paul Chavard
de9d3501b5
fix(dossier): delay submit to autosave end
2023-10-10 19:13:11 +02:00
Colin Darie
dded825d1e
Merge pull request #9587 from colinux/fix-landing-admin
...
Landing administrateur : fix design des éléments "DS en chiffres"
2023-10-10 16:00:08 +00:00
Colin Darie
2eabbebfba
Merge pull request #9586 from colinux/avis-perf
...
Expert: accélère les pages de liste d'avis et d'affichage des dossiers
2023-10-10 15:59:56 +00:00
simon lehericey
cffd9d5a4d
fix suivi on mobile by using ds fr
2023-10-10 17:23:16 +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
Colin Darie
a16a8bfbaa
style(admin landing): fix design for features numbers
2023-10-10 15:56:24 +02:00
Colin Darie
816a85800e
refactor(expert): preload dossier
2023-10-10 15:36:24 +02:00
Colin Darie
9985cdccec
refactor(expert): no n+1 user on avis index
2023-10-10 15:36:21 +02:00
Paul Chavard
7a01889563
use maintenance tasks gem
2023-10-10 15:11:08 +02:00
mfo
ade95f5f5f
Merge pull request #9582 from demarches-simplifiees/US/fix-export-job
...
correctif(tech.export): il arrive que des exports soient mal identifié (le content-type), ce qui par la suite renvoie des exports vide (0kb)
2023-10-10 12:22:54 +00:00
LeSim
34dcf4ae9f
Merge pull request #9523 from demarches-simplifiees/destroy_blob_not_found_in_migrations
...
Lors de la migration des pjs, détruit les blobs qui n'existent pas dans l'espace de stockage
2023-10-10 10:49:26 +00:00
LeSim
75d2ad9a4d
Merge pull request #9579 from demarches-simplifiees/previous_dossier
...
ETQ usager, lorsque j'ai déjà des dossiers sur une procédure, la page de garde me donne de meilleurs liens
2023-10-10 10:20:47 +00:00
krichtof
78058bc52a
Merge pull request #9550 from demarches-simplifiees/9542-reactivation-procedure
...
ETQ admin, je suis averti que je ne peux pas réactiver une démarche tant que la date limite de dépôt de dossiers n'est pas dans le futur
2023-10-10 09:45:51 +00:00
simon lehericey
6d550802db
fix: 4 less queries
2023-10-10 11:28:29 +02:00
simon lehericey
9861f16a05
fix: avoid queries in the view
2023-10-10 11:28:29 +02:00
simon lehericey
51aba39787
fix: simplify queries
2023-10-10 11:28:29 +02:00
simon lehericey
ec60c884e3
fix: locales go to dedicated file
2023-10-10 11:28:29 +02:00
simon lehericey
5b4c3df54c
feat: when previous dossiers exist, show a preview
2023-10-10 11:28:29 +02:00
simon lehericey
95fb3671fb
feat: when previous dossiers existing, redirect to list filtered by procedure_id
2023-10-10 11:28:29 +02:00
Christophe Robillard
73953a8a57
fix sentry capture message for webhook
2023-10-10 11:00:58 +02:00
Martin
f4430cebb0
bug(export.identify): la clé pour declarer que le fichier a deja ete identifie [content_type] est identified, pas identify
2023-10-10 10:39:46 +02:00
Lisa Durand
b7868798ae
add region and department champs in choice method
2023-10-10 10:37:20 +02:00
mfo
def659e599
Merge pull request #9558 from mfo/US/avis-in-exports
...
amelioration(dossier.export): ajoute les piece justificative des avis dans les exports
2023-10-09 13:12:22 +00:00
Martin
1d8a1617d7
amelioration(dossier.export): intègre les avis dans les exports [n'inclu pas les pieces justificatives des avis confidentiels pour les expert, inclu les piece justificatives des avis confidentiel pour les instructeurs ]
2023-10-09 14:53:46 +02:00
Colin Darie
539a84b5e4
Merge pull request #9576 from colinux/fix-sections-conditional
...
ETQ usager le form n'accumule pas l'espacement vertical des champs conditionnés consécutifs
2023-10-09 12:44:23 +00:00
Colin Darie
5314af52f2
Merge pull request #9575 from colinux/exports-fix-dossiers-count
...
ETQ instructeur: corrige le décompte du nombre de dossiers exportés une fois l'export généré
2023-10-09 12:40:36 +00:00
Colin Darie
e3b05f7e20
Merge pull request #9556 from demarches-simplifiees/fix_conditionnal
...
Administrateur : correction de l'affichage du bouton "logique conditionnelle" dans l'éditeur de champ
2023-10-09 11:19:22 +00:00
Colin Darie
22a2188917
style(form): don't cumulate vertical margins with fieldset and inlined elements
2023-10-09 13:15:17 +02:00
Colin Darie
5ea7c15251
style(champ civilite): better vertical margin between label & fieldset
2023-10-09 13:15:15 +02:00
Colin Darie
9e5ade817a
fix(form): conditional hides fieldset__element so vertical margins are not cumulated
2023-10-09 13:15:13 +02:00
krichtof
7b9f44ec42
Merge pull request #9573 from demarches-simplifiees/add-sentry-to-webhook-call
...
remonte les erreurs dans Sentry lorsqu'un appel webhook est en erreur
2023-10-09 10:11:08 +00:00
Christophe Robillard
3fdc3a15be
add sentry context to webhook call
2023-10-09 11:42:13 +02:00
Colin Darie
428b869181
fix(exports): display exact number of dossiers count at time generation
2023-10-09 11:23:16 +02:00
Colin Darie
640f729413
feat(exports): persist instructeur requestor & dossiers count
2023-10-09 11:23:15 +02:00
Colin Darie
760005de35
chore(schema): add dossiers_count & instructeur_id to exports
2023-10-09 11:23:12 +02:00
Eric Leroy-Terquem
ff700b19bb
fix(editable_champ): can enter negative decimal number
2023-10-06 15:43:59 +02:00
Eric Leroy-Terquem
c53b0a1c9e
fix(editable_champ): can enter negative number
2023-10-06 15:43:59 +02:00
Eric Leroy-Terquem
e17d694b30
fix(editable_champ): can enter negative integer number
2023-10-06 15:43:59 +02:00
Lisa Durand
cde8c614e6
display a select for input of choice type in instructeur filter
2023-10-05 11:32:07 +02:00
Eric Leroy-Terquem
e6b98a1e82
doc(routage): add link to routage doc in options page
2023-10-04 14:23:25 +02:00
Colin Darie
a2f18dff49
fix(pdf): preload dossier so PDF generation is much faster on big procedures
2023-10-03 18:29:55 +02:00
Colin Darie
28ebb045d8
fix(demande): preload dossier so page is much faster on big procedures
2023-10-03 18:07:20 +02:00
mfo
86773a9118
Merge pull request #9557 from mfo/US/fix-ui-quirks
...
correctif(design): certains formulaire ne respectaient pas la chartre du DSFR
2023-10-03 14:30:54 +00:00
Colin Darie
0ad1e88018
Merge pull request #9555 from colinux/pdf-with-avis-question
...
ETQ instructeur, le PDF d'un dossier intègre les questions et messages des avis experts
2023-10-03 14:01:52 +00:00
Martin
d4e6242b62
correctif(users.merge): le formulaire pour fusionner un compte existant avec un compte france connect n'est pas au format DSFR
2023-10-03 16:00:03 +02:00
Martin
15d683964e
correctif(users.confirmation): le formulaire n'est pas au format DSFR
2023-10-03 15:55:51 +02:00
Paul Chavard
d14ba89ed2
Merge pull request #9553 from colinux/remove-optional-mention
...
ETQ usager, plus de mention "facultatif" sur les champs optionnels
2023-10-03 13:48:38 +00:00
Martin
8e036152f1
correctif(profil#show): un champ a moitié invisible qui n'était pas thémé au DSFR
2023-10-03 15:42:25 +02:00
mfo
98d483ec32
Merge pull request #9552 from demarches-simplifiees/US/fix-export-with-file-bigger-than-4Go
...
correctif(export): lorsqu'un export .zip fait plus de 4Go, le fait del'assigner via file.attach(blob) declenche soit un identify soit un virus scanner qui par la suite le vide sur le bucket
2023-10-03 13:40:12 +00:00
simon lehericey
564939e83a
fix: allow conditional on first child of bloc based on the first champ
...
The upper_coordinates were wrong in administrateur/type_de_champ_controller. The upper coordinates outside the bloc where missing.
with the following tdc:
- number
- bloc
- text # this text can be conditioned by the number
2023-10-03 15:17:50 +02:00
Martin
a2e6727b4b
correctif(export): lorsqu'un export .zip fait plus de 4Go, le fait de l'assigner via file.attach(blob) declenche soit un identify soit un virus scanner qui par la suite le vide sur le bucket
2023-10-03 14:43:52 +02:00
Colin Darie
9673485904
chore(flipper): delete disable_label_optional_champ_2023_06_29 feature flag
2023-10-03 14:37:41 +02:00
Colin Darie
8c66f4d6df
chore(form): remove "optional" mention because people never fill them
...
Closes #9540
2023-10-03 14:37:20 +02:00
Colin Darie
b90fb2f998
fix(pdf): show avis message & question before answer
...
Closes #9548
2023-10-03 14:27:08 +02:00
seb-by-ouidou
9b26bf911c
fix: fixes after tchak s review
2023-10-03 13:51:57 +02:00
seb-by-ouidou
44b4b5d0ab
feat: rename admins_group_manager to gestionnaire
2023-10-03 13:51:57 +02:00
seb-by-ouidou
e9c143f226
fix: split into smaller PR
2023-10-03 13:51:57 +02:00
seb-by-ouidou
e2f792b44b
FEAT: init admins group
2023-10-03 13:51:57 +02:00
simon lehericey
6fb9459d29
UI: small fixed
2023-10-03 12:24:28 +02:00
Colin Darie
e1dab5bb39
Merge pull request #9549 from colinux/form-identite-fix-accessibilite
...
ETQ usager, le formulaire d'identité est un peu plus accessible
2023-10-03 09:23:48 +00:00
Christophe Robillard
ba56c79325
admin can't reactivate procedure if auto archive on past
2023-10-03 11:11:17 +02:00
Colin Darie
c14b9abb45
fix(admin): remaining old asterisk on procedure form
2023-10-03 10:37:13 +02:00
Colin Darie
1fbfc9fce1
chore(form): InputComponent with asterisk on required inputs
2023-10-03 10:37:12 +02:00
Colin Darie
b85a897237
fix(form): improve identity form a11y & markup
2023-10-03 10:37:11 +02:00
Paul Chavard
d53a00137c
feat(dossier): enable conditional annotations
2023-10-02 15:41:27 +02:00
Colin Darie
202ba6bbe6
Merge pull request #9544 from colinux/form-champ-scroll-margin
...
ETQ usager aère le form quand on clic sur une ancre d'un champ en erreur
2023-10-02 07:44:58 +00:00
Colin Darie
2900c4cde2
Merge pull request #9545 from demarches-simplifiees/9514-ui-admin
...
Rend moins anxiogène le message d'alerte avant publication de changement d'un formulaire
2023-10-02 07:35:18 +00:00
Colin Darie
bda55299d3
chore(bundle): update scss-lint 0.59 => 0.60
2023-10-02 09:33:45 +02:00
Paul Chavard
619e545238
Merge pull request #9543 from colinux/fix-perf-instructeurs-home
...
ETQ instructeur, la page de mes démarches est un peu plus rapide
2023-09-29 17:51:55 +00:00
Christophe Robillard
1bab324444
improve wording for breaking changes
2023-09-29 17:40:06 +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
Christophe Robillard
f5d77a528c
refactor(attestation_template): make code more readable
...
Co-Authored-By: simon lehericey <mail@simon.lehericey.net>
2023-09-29 15:37:24 +02:00
Colin Darie
eb3878b288
style(form): add spacing above label when scrolling to anchor
2023-09-29 15:20:14 +02:00
krichtof
1ef9ea0a96
Merge pull request #9524 from demarches-simplifiees/9502-contact-admin-sans-siret
...
Notifier par mail les admin de services sans siret
2023-09-29 12:11:42 +00:00
mfo
af6fd9d14c
Merge pull request #9531 from colinux/fix-form-markup
...
ETQ usager le formulaire est aéré grâce au bon markup du DSFR
2023-09-29 12:04:59 +00:00
Colin Darie
04071073e5
refactor(instructeurs): faster procedures listing
2023-09-29 13:09:54 +02:00
Christophe Robillard
20d70d2b1c
notify admin with service without siret
2023-09-29 11:37:34 +02: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
f942610d32
Merge pull request #9473 from demarches-simplifiees/create-export-page-V2-ldu
...
[Export] Créer une page d'export et sortir les liens des dropdowns
2023-09-28 17:15:31 +00:00
mfo
e1fe1188de
Merge pull request #9491 from mfo/US/better-error-summary
...
amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
2023-09-28 17:01:09 +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
95ceee38c7
chore(form): don't try to put invalid group classes for non fillable inputs
2023-09-28 18:33:28 +02:00
Colin Darie
60882e0844
chore(form): respect dsfr fr-fieldset and elements expected markup
2023-09-28 18:33:26 +02:00
Martin
d8220395c8
amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
...
Update app/components/dossiers/errors_full_messages.rb
Update app/components/dossiers/errors_full_messages/errors_full_messages.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-28 17:50:47 +02:00
Colin Darie
0920b97e4d
fix(admin/archives): fix markup axe issue
2023-09-28 15:34:09 +02:00
Colin Darie
75bf30bed2
feat(champ-numbers): format value in input to a backend compatible value
2023-09-28 15:26:35 +02:00
Colin Darie
123114be81
fix(conditional): don't .to_i/to_f => 0 an invalid number
2023-09-28 15:26:34 +02:00
Colin Darie
aac7de208f
chore(champs-number): render as text input to validate them when invalid
...
Les input=number n'ont pas de value lorsque la valeur saisie n'est pas un
nombre. Par conséquent dans ces cas là, nous ne pouvions faire remonter
au backend pour validation / enregistrement, et il n'y avait aucun
feedback signalement l'erreur à l'usager.
On les convertit en inputs texte, avec les adaptations nécessaires
pour montrer le pavé numérique sur mobile, et un style correct.
2023-09-28 15:26:33 +02:00
Colin Darie
d4198869fb
chore(exports): dropdown menu re-uses the same pending export or create a fresh one
...
Pour permettre d'avoir des données fraiches dans un export tout
en conservant l'historique des exports,
la demande d'export depuis le menu créé toujours un nouvel export sauf:
- si un autre export identique est déjà en préparation
- si un autre export identique s'est terminé il y a moins de 5 minutes
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 15:23:31 +02:00
Colin Darie
d9687f7418
chore(exports): minor wording improvements and clarifications
2023-09-28 12:35:26 +02:00
Colin Darie
ec46faf690
fix(exports): don't duplicate exports when belonging to multiple groupe instructeurs
2023-09-28 12:35:24 +02:00
mfo
00a6d02d21
fix(exports): block exports page to super admins so they can't download exports
2023-09-28 12:35:23 +02:00
Colin Darie
2283c7eba7
test(exports): minimal coverage for ExportLinkComponent
2023-09-28 12:35:22 +02:00
Colin Darie
daa8eac9cc
style(exports): download link instead of button
2023-09-28 12:35:21 +02:00
Colin Darie
307ba68970
feat(exports): humanize status name
2023-09-28 12:35:20 +02:00
Colin Darie
3af93735a3
feat(exports): turbo poll for pending exports
2023-09-28 12:35:19 +02:00
Colin Darie
ed057737a5
feat(exports): name the dossiers count
2023-09-28 12:35:18 +02:00
Lisa Durand
c7cd5d2189
improve UX for export page
2023-09-28 12:35:16 +02:00
Lisa Durand
58a143b2c7
improve wording and display for export page
2023-09-28 12:35:15 +02:00
Lisa Durand
282df1b44b
add link to export page in flash message for instructeur
2023-09-28 12:35:14 +02:00
Colin Darie
a867c9a998
feat(instructeurs): notification badge when a new export has been generated
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:13 +02:00
Colin Darie
99f5b39dbb
fix(exports): force regenerate export with same statut filter
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:12 +02:00
Colin Darie
edb030bb4c
refactor(exports): regenerating exports redirect (back) to exports page
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:11 +02:00
Colin Darie
ca0b5c9cb9
refactor(exports): destroy errorable on force to ensure we have fresh export
...
Il semblerait que le destroy échoue parfois silencieusement pour une raison
inconnue, ce qui empêche le create_or_find_export de se dérouler
à cause de la contrainte d'unicité (il rollback), ce qui conduit ensuite
à un comportement inattendu: re-téléchargement de l'ancienne archive
alors qu'on voulait la regénérer.
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:09 +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
simon lehericey
23b68fa5aa
pj_migration: destroy blob if not found
2023-09-28 10:41:33 +02:00
Lisa Durand
a559bf54eb
Merge pull request #9517 from demarches-simplifiees/change-tabs-for-instructeur-dashboard-ldu
...
[instructeur] Mettre en avant les démarches closes avec des dossiers à traiter
2023-09-28 07:32:07 +00:00
Lisa Durand
db4c8619a9
Update app/views/instructeurs/procedures/index.html.haml
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:51:44 +02:00
Lisa Durand
91018d8f8f
Update app/controllers/instructeurs/procedures_controller.rb
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:51:07 +02:00
Lisa Durand
46e492496e
Update app/controllers/instructeurs/procedures_controller.rb
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:50:55 +02:00
Colin Darie
2cc2c9f77d
Merge pull request #9520 from demarches-simplifiees/filter-instructeur-exclude-en-attente-ldu
...
[instructeur] je veux pouvoir filtrer les dossiers "en construction" sans avoir ceux "en attente de corrections"
2023-09-27 11:57:35 +00:00
krichtof
63ca98b5b6
Merge pull request #9529 from demarches-simplifiees/fix-contact-information
...
Fix contact information
2023-09-27 11:33:41 +00:00
Christophe Robillard
2a39cfead7
fix: display contact info on footer of notif mail
2023-09-27 12:49:24 +02:00
Christophe Robillard
6035a16ecc
fix: can display contact_info nom on footer
2023-09-27 12:09:00 +02:00
Eric Leroy-Terquem
774e375f44
feat(conditional): can condition on departement champ value
2023-09-27 10:22:12 +02:00
Lisa Durand
129230af88
exclude dossiers with pending correction when instructeur filters on 'en_construction'
2023-09-26 16:36:39 +02:00
krichtof
da62a5ec79
Merge pull request #9518 from demarches-simplifiees/9497-description-champs
...
ETQ usager, je suis aidé à la saisie par une description des champs
2023-09-26 13:58:02 +00:00
Christophe Robillard
abad463bb1
remove placeholder for decimal number component
2023-09-25 18:17:04 +02:00
Christophe Robillard
168616b8c6
remove placeholder for phone component
2023-09-25 18:17:04 +02:00
Christophe Robillard
18e5c32363
remove placehoder for rna component
2023-09-25 18:17:04 +02:00
Christophe Robillard
8bacb30e36
remove placeholder for iban component
2023-09-25 18:17:04 +02:00
Christophe Robillard
bd3f7eeb38
remove placeholder for siret component
2023-09-25 18:17:04 +02:00
Christophe Robillard
ae08f044ed
remove placeholder for email component
2023-09-25 18:17:04 +02:00
Christophe Robillard
3ff7bc7234
display max size and format as hint
2023-09-25 18:17:04 +02:00
Christophe Robillard
e972514ec6
remove useless blank line
2023-09-25 18:17:04 +02:00
Christophe Robillard
9c2c378588
use model locales for titre identite hint
2023-09-25 18:17:04 +02:00
Lisa Durand
a4c79e953b
change 'published' tabs by 'en cours' to highlight closed procedure with 'en cours' files
2023-09-25 15:34:37 +02:00
krichtof
f019f1e316
Merge pull request #9345 from adullact/feature-ouidou/existing_procedure_hidden_as_template
...
ETQ superadmin, je peux masquer une démarche de la liste des démarches proposées à la création
2023-09-25 08:46:31 +00:00
Eric Leroy-Terquem
1060aadff7
Merge pull request #9504 from demarches-simplifiees/do-not-route-cloned-procedures-if-admin-is-different
...
Correction : désactive le routage des procédures clonées si l'admin n'est pas aussi admin de la procédure parente
2023-09-22 09:10:42 +00: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
d231ec35f4
refactor(attestation): groupe instructeur add signature shared
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
4c7664d61c
fix(admin): missing siret & service alert don't override action alert
...
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
Christophe Robillard
c02e6f2a77
feat(groupe-instructeur): instructeur can add signature in attestation
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
Colin Darie
44578ba65c
fix(attachment): keep direct_upload behavior in poll url
...
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
Christophe Robillard
5482863eea
add signature to groupe_instructeur
2023-09-22 10:24:16 +02:00
Christophe Robillard
7529294845
fix: uninterlace only interlaced png
2023-09-22 10:24:16 +02:00
Christophe Robillard
46edaed6bc
extract uninterlace_png method
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
5b9423bab3
fix: remove hidden_at_as_template from filter
2023-09-21 13:50:23 +00:00
Eric Leroy-Terquem
70cc8dac4c
fix(procedure): do not route cloned procedures from different admin
2023-09-21 15:24:17 +02:00
Eric Leroy-Terquem
5e4d96654f
fix(dossier clone): always rebase cloned dossiers
2023-09-21 13:50:40 +02:00
Martin
04fe3ad2b6
correctif(repetition.commune): ETQ usager, lorsque j'ai plus d'une repetition ayant un champ commune, les ids des options des input[type=radio] des communes partageant le meme code postal ne sont pas uniques, on boucle sur la 1ere repetition
2023-09-20 17:56:17 +02:00
simon lehericey
4a17dec87b
refactor procedure_controller
2023-09-20 14:11:10 +02:00
simon lehericey
40a15b9be4
refactor dossier_controller
2023-09-20 14:11:10 +02:00
simon lehericey
c248f96f31
fixup base controller
2023-09-20 14:11:10 +02:00
simon lehericey
118242dbd2
refactor api_controller
2023-09-20 14:11:09 +02:00
simon lehericey
2664c3671f
api_tokens_controller: only use turbo
2023-09-20 14:11:09 +02:00
simon lehericey
954c5334ef
use new procedure in view
2023-09-20 14:11:09 +02:00
simon lehericey
9047c2a7de
api_tokens_controller: extract become full_access
2023-09-20 14:11:09 +02:00
simon lehericey
9b440b6c44
api_tokens_controller: extract disallow_procedure
2023-09-20 14:11:09 +02:00
simon lehericey
2a109d3aa4
api_tokens_controller: use before_action set_api_token
2023-09-20 14:11:09 +02:00
simon lehericey
01efae960b
fix component
2023-09-20 14:11:09 +02:00
simon lehericey
05a8fd8ee1
refactor of api_token
2023-09-20 14:11:09 +02:00
simon lehericey
24fd12ed70
explicit about different contexts
2023-09-20 14:11:09 +02:00
simon lehericey
f434c6a6ad
refactor: try base controller
2023-09-20 14:11:09 +02:00
simon lehericey
40ed59a231
rename find_and_verify => authenticate
2023-09-20 14:11:09 +02:00
simon lehericey
87933d3567
introduce token bearer
2023-09-20 14:11:09 +02:00
simon lehericey
0b03ba4d68
remove v1/v2 api token logic
2023-09-20 14:11:09 +02:00
Lisa Durand
83957a41cd
add min height for table with max 2 files to display dropdown
2023-09-19 17:50:38 +02:00
seb-by-ouidou
0d2cd0fe5d
feat(procedure): hide as template
2023-09-19 11:21:27 +00:00
Paul Chavard
b1dc376d1d
fix(champs-editor): add dsfr classes to select elements
2023-09-19 11:09:29 +02:00
Paul Chavard
cf3a35724c
fix(champs-editor): remove unnecessary background color
2023-09-19 11:09:09 +02:00
LeSim
e6f8400cfd
Merge pull request #9477 from demarches-simplifiees/can-route-from-epci-champ
...
ETQ admin je peux router par département depuis le champ EPCI
2023-09-19 08:21:26 +00:00
LeSim
29c52d191e
Merge pull request #9487 from mfo/US/fix-expert-invitation
...
correctif(expert.invite-autre-expert): ETQ expert, je ne pouvais pas demander d'autres avis d'expert
2023-09-19 08:16:53 +00:00
LeSim
3f9f7d59a2
Merge pull request #9489 from colinux/form-identity-siret-dsfr
...
ETQ usager le form pour renseigner son SIRET passe au DSFR et est dispo en anglais
2023-09-19 08:14:03 +00:00
Colin Darie
bccad19e13
chore(siret): translate identity siret form
2023-09-18 19:11:27 +02:00
mfo
25d7333ac3
Update app/controllers/experts/avis_controller.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-18 16:55:07 +02:00
Colin Darie
8358fec884
fix(prefill): don't create Individual for non-individual procedures
...
Closes #9486
2023-09-18 16:45:02 +02:00
Martin
aa10f23b43
correctif(expert.invite-autre-expert): ETQ expert, je ne pouvais pas demander d'autres avis d'expert
2023-09-18 16:23:42 +02:00
Colin Darie
3be39f5a58
style(identite): passe le form d'identité siret au DSFR
2023-09-18 15:05:31 +02:00
Paul Chavard
ae2d9bba47
Merge pull request #9479 from tchak/graphql-fix-pending-deleted-dossiers-sort
...
fix(graphql): improuve sort for pending deleted dossiers
2023-09-18 09:17:26 +00:00
mfo
2e2782c8b0
Merge pull request #9478 from mfo/US/fix-manager-dossier-show
...
correctif(manager#dossiers/show): ETQ superadmin, l'affichage d'un dossier pouvait timeouter car non préloadé
2023-09-18 08:36:54 +00:00
Martin
d203ab2321
amelioration(mail.invitation_instructeur): ajout d'une mention à AgentConnect ds le mail d'invitation des instructeurs
...
Update app/views/agent_connect/agent/index.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/agent_connect/agent/index.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/agent_connect/agent/index.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update config/locales/views/agent_connect/agent/fr.yml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-18 09:48:41 +02:00
Eric Leroy-Terquem
aac9182ce4
wording(routing): update routing configuration notice
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
967139ec88
feat(routing): make routing engine work with epci champ
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
588143f9fd
feat(routing): can create simple routing from epci tdc
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
60e5abd266
feat(routing): add departements options to value tag if routing by epci
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
cf7c7d9761
feat(routing): add epci to routable_types_de_champ
2023-09-18 09:32:07 +02:00
Martin
876e5ef231
amelioration(design): utilise le modele du dsfr pour avoir les boutons en pleinne largueur sur les page de connexion/creation de compte
2023-09-15 17:42:27 +02:00
Martin
038b4cd10b
amelioration(agent_connect): ameliore le design pour fitter aux maquettes ainsi que change le message comme quoi la feature est dispo pour tous
2023-09-15 17:42:27 +02:00
Paul Chavard
21b9a491cb
fix(graphql): improuve sort for pending deleted dossiers
2023-09-15 16:15:43 +02:00
Paul Chavard
fb917a221d
feat(combobox): use ComboboxComponent on drop_down_list champs
2023-09-15 14:49:13 +02:00
Paul Chavard
85024174d4
feat(combobox): implement ComboboxComponent
2023-09-15 14:48:25 +02:00
Paul Chavard
bea8cba6ce
feat(combobox): implement ComboboxController
2023-09-15 14:48:25 +02:00
Paul Chavard
1a531d018f
feat(combobox): implement ComboboxUI
2023-09-15 14:48:25 +02:00
Paul Chavard
628bef562b
feat(combobox): implement Combobox
2023-09-15 14:48:25 +02:00
Martin
720056e844
correctif(manager#dossiers/show): preload un dossier sur le manager
2023-09-15 11:34:20 +02:00
Eric Leroy-Terquem
0454d2066e
Merge pull request #9474 from demarches-simplifiees/can-route-from-commune-champ
...
ETQ admin je peux router par département depuis un type de champ communes
2023-09-15 08:18:24 +00:00
Eric Leroy-Terquem
956048ffea
refactor(type de champ): extract routable? method
2023-09-15 10:02:14 +02:00
Lisa Durand
7311bcebb9
Merge pull request #9363 from demarches-simplifiees/dashboard-usager/make-search-work-with-procedure-filter
...
[refonte usager] Tableau de bord - rendre recherche complémentaire avec filtre par procédure
2023-09-13 12:55:42 +00:00
Colin Darie
f28739d648
Merge pull request #9372 from colinux/svr
...
Admin: permet l'activation du SVR
2023-09-13 12:08:39 +00:00
Colin Darie
50a5e363bd
fix(pdf): enlève des espaces insécables qui étaient affichés comme "?" dans le pdf
2023-09-13 13:50:27 +02:00
Colin Darie
680919a68f
feat(svr): instructor filters with svr wording specific
2023-09-13 13:50:26 +02:00
Colin Darie
d7a9bee63e
feat(svr): instructor menu actions with svr actions
2023-09-13 13:50:25 +02:00
Colin Darie
d7297067af
fix(sva): examples dates in documentation
2023-09-13 13:50:24 +02:00
Colin Darie
e8000adecf
feat(svr): refuses automatically a dossier
2023-09-13 13:50:23 +02:00
Colin Darie
69e673e47e
feat(svr): enablable from configuration
2023-09-13 13:50:22 +02:00
Eric Leroy-Terquem
632314bc0e
wording(routing): update routing configuration notice
2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
46ff36c2bc
feat(routing): make routing engine work with commune champ
2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
370d853378
feat(routing): can create simple routing from communes tdc
2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
d1cf60585a
feat(routing): add departements options to value tag if routing by communes
2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
50d0587a81
feat(routing): add communes to routable_types_de_champ
2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
97bfdc774d
wording(routing): update routing configuration notice
2023-09-13 10:22:01 +02:00
Eric Leroy-Terquem
d37fb90b2f
feat(routing): make routing engine work with region champ
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
e255bb9929
refactor(routing): extract methods to create groups from tdcs
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
c2beca7d6d
feat(routing): can create simple routing from regions tdc
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
e9760e5aa3
feat(routing): add regions options to value tag
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
5afaa458e2
feat(routing): add regions to routable_type_de_champ
2023-09-13 10:22:00 +02:00
Colin Darie
c9bde31ef2
Merge pull request #9470 from colinux/improve-watermark
...
ETQ instructeur: nouveau filigrane des titres d'identité qui améliore la lisibilité des images
2023-09-12 12:09:58 +00:00
Colin Darie
201b31bf36
refactor(watermark): small text based watermarked to increase document visibility
2023-09-12 13:04:31 +02:00
LeSim
fdb30b9546
Merge pull request #9471 from demarches-simplifiees/feat/9467
...
ETQ Instructeur, je souhaite avoir un autocomplete lorsque je demande l'avis aux experts
2023-09-12 07:51:22 +00:00
LeSim
31db8429b3
Merge pull request #9475 from colinux/favicons-updates
...
Favicons: ajout de l'apple touch icon + mise à jour avec vraies couleurs de la charte graphique
2023-09-12 07:45:54 +00:00
LeSim
fc4d59ec7b
Merge pull request #9469 from demarches-simplifiees/fix_doomed_archive_creation_job
...
fix(archive): ne réessaye de construire une archive périmée
2023-09-12 07:43:19 +00:00
Colin Darie
6e5c466e57
style: update favicons with chart color, apple touch icon and shortcuts names
2023-09-11 17:48:12 +02:00
Kara Diaby
7472b17009
Autocomplete pour instructeurs qui veulent affecter un expert au dossier, avec tous les experts sollicités sur la démarche
2023-09-11 09:13:04 +00:00
Lisa Durand
2f5310a470
Merge pull request #9457 from demarches-simplifiees/create-export-page-ldu
...
Reorganisation des boutons sur l'interface instructeur
2023-09-11 07:59:20 +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
c5d02cdd6a
display telephone and horaires of service
...
even if the dossier is not in brouillon state
2023-09-11 08:58:04 +02:00
Christophe Robillard
587960cfd9
clone groupe instructeur service
...
if admin owns original procedure
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
Christophe Robillard
af195d9158
display for user groupe instructeur service when available
2023-09-11 08:58:04 +02:00
Christophe Robillard
e9ff4292fa
instructeur can destroy groupe instructeur service
2023-09-11 08:58:04 +02:00
Christophe Robillard
41b2c9355b
instructeur can update contact information for groupe instructeur
2023-09-11 08:58:04 +02:00
Christophe Robillard
ba0d3fa678
instructeur can create contact information for groupe instructeur
2023-09-11 08:58:03 +02:00
Christophe Robillard
46dec40543
add contact information model
2023-09-08 11:04:06 +02:00
simon lehericey
9cb94f92a6
fix(archive): do not retry 25 times if the related objected does not exist no more
2023-09-07 16:53:37 +02:00
simon lehericey
5534190c89
chore: build openstack client without calling now private service.client
2023-09-07 15:57:39 +02:00
Damien Le Thiec
be02dd965f
Add link and query examples with identity prefill
2023-09-07 10:17:19 +02:00
simon lehericey
4cbb8e91f2
Workable draft prefill identity (no link or query help)
2023-09-07 10:17:19 +02:00
Eric Leroy-Terquem
6198de1f43
Merge pull request #9466 from demarches-simplifiees/track-dossiers-with-no-groupe-instructeur
...
Fix brouillon dossiers with forced_groupe_instructeur
2023-09-06 16:30:38 +00:00
LeSim
56f1627b26
Merge pull request #9465 from colinux/fix-log-destruction-trace
...
ETQ exploitant: amélioration du log de destruction de dossier
2023-09-06 15:30:37 +00:00
Eric Leroy-Terquem
d63787cf5c
fix(routing): create assignments even for brouillon dossiers (it used to be possible for brouillon dossiers to have a groupe instructeur)
2023-09-06 17:28:01 +02:00
Eric Leroy-Terquem
9d0447c14a
fix(routing): track assigned dossiers without groupe_instructeur
2023-09-06 17:28:01 +02:00
Colin Darie
31db96cf41
fix(log): fix caller of log destroyed dossiers
2023-09-06 16:32:47 +02:00
LeSim
d8bfe07246
Merge pull request #9461 from colinux/fix-spinner-position
...
ETQ usager, fix position du spinner pour les champs conditionnels
2023-09-06 14:32:09 +00:00
LeSim
d69636c411
Merge pull request #9230 from colinux/log-destroyed-dossiers
...
Tech: log technique de la destruction de dossiers
2023-09-06 14:17:57 +00:00
Colin Darie
20c7921abe
chore(log): log destroyed dossiers
2023-09-06 16:07:18 +02:00
Lisa Durand
c6a6a584af
Merge pull request #9463 from demarches-simplifiees/fix-dropdown-invisible-input-with-dsfr-update
...
[fix] Selecteur de filtres pour instructeurs - le champ est invisible
2023-09-06 12:28:52 +00:00
Lisa Durand
bf64110b20
put back max value length
2023-09-06 14:07:26 +02:00
Colin Darie
95159feb25
fix(spinner): remove obsolete siret spinner
2023-09-06 13:17:01 +02:00
Colin Darie
d56e3908ac
style(spinner): fix positioning for conditional champs
2023-09-06 13:16:41 +02:00
Kara Diaby
be55bba553
tests
2023-09-06 10:51:58 +00:00
Lisa Durand
5fed1c0330
make dropdown filter for instructeur to DSFR
2023-09-06 12:40:01 +02:00
Kara Diaby
47f305216f
champ civilite au DSFR
2023-09-06 09:02:25 +00:00
Lisa Durand
5fe5320127
style checkbox for notification as regular checkbox instead of switch button
2023-09-05 18:07:04 +02:00
Lisa Durand
387c89f23c
move personnalize button inside the table
2023-09-05 17:14:18 +02:00
Eric Leroy-Terquem
32b446deee
refactor(groupe instructeur): add valid_rule? method
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-05 15:59:11 +02:00
Eric Leroy-Terquem
a7859a8a9c
clean(routing): use translations for operator_tag
2023-09-05 15:57:31 +02:00
Eric Leroy-Terquem
d0da808325
feat(routing): can add a routing rule with not_eq operator
2023-09-05 15:57:31 +02:00
Eric Leroy-Terquem
e1ab65e62a
feat(routing): can route from not_eq routing rules
2023-09-05 15:57:31 +02:00
simon lehericey
9e0aadd2dd
fix: always add an empty option in mandatory
2023-09-05 14:18:44 +02:00
Colin Darie
253ddc56e2
Merge pull request #9454 from demarches-simplifiees/update-dependencies
...
chore(npm): update dependencies
2023-09-05 09:34:06 +00:00
Colin Darie
606a56807a
Merge pull request #9453 from colinux/fix-layout-zones
...
ETQ admin, fix UX du formulaire de design de zones
2023-09-05 09:14:12 +00:00
Colin Darie
5e99250546
fix(admin): zones selector checkbox as dsfr
2023-09-05 11:02:29 +02:00
Paul Chavard
65de28a97c
chore(npm): update dependencies
2023-09-05 10:53:02 +02:00
LeSim
b39e6ebf28
Merge pull request #9450 from colinux/sva-improve-repasser-en-instruction-flow
...
ETQ instructeur d'une démarche SVA/SVR je visualise mieux un dossier terminé qui est repassé en instruction
2023-09-05 08:45:52 +00:00
Colin Darie
f8c6863c4c
Merge pull request #9447 from adullact/fix/fix_faq_link_confirmer_compte_chaque_connexion
...
fix: fix link confirmer_compte_chaque_connexion_url to faq
2023-09-04 16:20:19 +00:00
krichtof
6ca53f4d2c
Merge pull request #9448 from demarches-simplifiees/9436-instructeurs-procedure-manager
...
ETQ superadmin, je vois pour une procédure la liste des instructeurs et des groupe instructeurs
2023-09-04 16:15:32 +00:00
Lisa Durand
f0821ce467
remove recherche action from user controller and route
2023-09-04 16:42:19 +02:00
Lisa Durand
5ff5923612
make dossiers search compatible with filter by procedure
2023-09-04 16:42:19 +02:00
Colin Darie
b5e2c9b860
fix(sva): improvements when a dossier has already been terminated
2023-09-04 16:09:01 +02:00
Christophe Robillard
d79219a46b
display instructeurs and groupe instructeurs in procedure manager view
2023-09-04 13:47:33 +02:00
Martin
4d2307f683
amelioration(choix.simple): lorsqu'il y a un champ autre, le positionne proprement
2023-09-04 10:55:48 +02:00
Martin
9f5a64b7cb
amelioration(ui): pas de bordure en bas des inputs
2023-09-04 10:55:48 +02:00
Martin
9a754e4559
amelioration(choix.multiple): utilise le aria-pressed plutot qu'une class custom
2023-09-04 10:55:48 +02:00
Martin
094f4f3ce6
tech(refacto): extrait la logique de rendu du dsfr sur les composants
2023-09-04 10:55:48 +02:00
Martin
f54ab0bf96
amelioration(form): utilise les bonnes classes DSFR pour divers composants
2023-09-04 10:55:48 +02:00
Martin
2c04be5289
amelioration(champs.multiple_dropdown_list): passe le champs choix multiple au DSFR, l'encapsule dans un fieldset
2023-09-04 10:55:48 +02:00