Paul Chavard
471da7eb61
Revert "Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739""
...
This reverts commit 909d726429
.
2023-05-05 16:36:51 +02:00
Paul Chavard
7a6f46a8ad
Merge pull request #9002 from tchak/feat-procedure-clone-preview-published
...
ETQ Administrateur, je veux cloner la version publiée des démarches en production
2023-05-05 14:36:03 +00:00
Paul Chavard
91a1064f33
Merge pull request #9000 from tchak/chore-update-dependencies
...
ETQ développeur, je veux que les dépendances npm soient à jour
2023-05-05 14:34:24 +00:00
Martin
2135985583
correctif(procedure.clone): ET admin, je souhaite pouvoir cloner une procedure ayant deux groupes d'instructeur ayant le dernier fermé
2023-05-05 11:09:06 +02:00
Paul Chavard
11065946ce
fix(instructeur): fix dossiers suivis filter (merge behavior change in rails 7)
2023-05-04 18:24:18 +02:00
Paul Chavard
616188bfe3
feat(administrateur): when clone or preview procedure should use published revision if not the owned
2023-05-04 16:15:55 +02:00
Kara Diaby
e0071cf1bb
Merge pull request #8995 from demarches-simplifiees/feat/8969
...
ETQ administrateur , je souhaite prévisualiser la démarche depuis l'interface "toutes les démarches
2023-05-04 13:43:07 +00:00
Colin Darie
da178e354d
Merge pull request #8999 from colinux/fix-export-attachment-filenames
...
ETQ instructeur, ne plante pas un export s'il contient des PJ avec des noms de fichiers invalides
2023-05-04 13:35:39 +00:00
Colin Darie
5be8865675
fix(export): sanitize filename containing unsafe chars for storage
...
Pourrait fixer des problèmes de dezip sous windows de zip.
2023-05-04 14:36:44 +02:00
Colin Darie
f615facbba
fix(export): don't fail when trying to write a file name > 255 bytes
2023-05-04 14:36:33 +02:00
Paul Chavard
c8fc839acb
chore(npm): fix update dependencies
2023-05-04 14:13:41 +02:00
Paul Chavard
7f991a67e2
Revert "Revert "Merge pull request #8985 from tchak/chore-update-dependencies""
...
This reverts commit e744ed99d2
.
2023-05-04 14:01:35 +02:00
Lisa Durand
c039414872
feedback PR review
2023-05-04 12:39:06 +02:00
Kara Diaby
c2296630fa
Ajout de la prévisualisation de la démarche dans la page toutes les démarches
2023-05-04 10:56:59 +02:00
Paul Chavard
88bb0cc532
Merge pull request #8989 from tchak/fix-presentation-filters
...
ETQ Instructeur, je ne veux pas d'erreurs quand les filtres ne sont pas trouvés
2023-05-04 08:45:56 +00:00
Colin Darie
93c08072ba
fix(attestation): allow redirection to our static domain for attestation
2023-05-04 10:31:38 +02:00
Lisa Durand
eb09a7480e
remove role from filter component a11y to fix specs
2023-05-03 17:48:04 +02:00
Lisa Durand
9fd9bdc7c0
add tag to display and remove active filters
2023-05-03 16:47:27 +02:00
simon lehericey
9c8020b05c
feat(admin): add initiation procedure for a new admin
2023-05-03 15:08:21 +02:00
Lisa Durand
7aca10377c
change no file message if filters are selected
2023-05-03 12:06:30 +02:00
Colin Darie
6616acb825
chore(super-admin): update devise-two-factor v5 with otp_secret encrypted attribute
2023-05-03 11:35:32 +02:00
Colin Darie
61ebb27e86
fix(redirect): allow other hosts when required
2023-05-03 11:35:31 +02:00
Colin Darie
d31016973c
chore(schema): model annotations accordingly to schema
2023-05-03 11:35:31 +02:00
Colin Darie
e8e785b953
refactor(rubocop): fix Rails/ToFormattedS
2023-05-03 11:35:30 +02:00
Nicolas Cavigneaux
940405cea8
fix: Avoid Brakeman warning about insecure redirect
2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
01e0276f53
fix: MonAvisEmbed custom validation
2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
61c3ff54d5
fix: JWT token custom validation
2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
3aa6a5e28e
fix: url helper method calls for files
2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
f78b415c51
fix: edit_component field_name signature
...
field_name is called by
actionview-7.0.4.2/lib/action_view/helpers/tags/base.rb who pass 3
arguments. We need to be compliant in order to make it valid.
We reuse the same method signature with nil default values as those
params are not being used.
2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
388ccca263
fix redefinition of signed_id
Rails method by supporting options as arg
2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
8f6beb1093
fix: Rails 7 preloader now take named arguments
2023-05-03 10:10:38 +02:00
Martin
c8ab1e8e03
amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement
2023-05-03 07:36:42 +02:00
Lisa Durand
530d36b6df
use dropdown to hide filter form
2023-05-02 19:07:53 +02:00
Lisa Durand
6113c0b75e
improve/add translations
2023-05-02 15:10:36 +02:00
Lisa Durand
24eca40f66
add from_depose_at filter
2023-05-02 10:32:38 +02:00
Lisa Durand
21ed6abcad
add from_created_at filter
2023-05-02 09:37:03 +02:00
Paul Chavard
fc391fb553
fix(instructeur): no crash when filters not found
2023-05-01 11:34:11 +02:00
Paul Chavard
46f9148fa4
Merge pull request #8984 from tchak/fix-api-entreprise-status
...
ETQ usager, je veux être avertie si l'API entreprise est HS
2023-04-28 14:25:02 +00:00
Paul Chavard
f2c1c071b4
Revert "Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique"
...
This reverts commit d3eda28f35
, reversing
changes made to 6394996e7f
.
2023-04-28 16:10:20 +02:00
Paul Chavard
909d726429
Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739"
...
This reverts commit 04fbfa15b7
, reversing
changes made to aac1cc7161
.
2023-04-28 16:08:24 +02:00
Paul Chavard
e744ed99d2
Revert "Merge pull request #8985 from tchak/chore-update-dependencies"
...
This reverts commit 1e5c7516bc
, reversing
changes made to 60bc6b0839
.
2023-04-28 15:47:24 +02:00
Lisa Durand
39f534b3d7
add states filter for usager
2023-04-28 15:28:04 +02:00
Paul Chavard
1e5c7516bc
Merge pull request #8985 from tchak/chore-update-dependencies
...
ETQ développeur, je veux que les dépendances npm soient à jour
2023-04-28 10:00:40 +00:00
LeSim
6ffa0183d7
Merge pull request #8983 from mfo/US/fix-reset-counter-css-offset
...
correctif(titre-de-section): ETQ usager, je souhaite que les titres de sections ne soient pas préfixé d'un 0.
2023-04-28 09:44:17 +00:00
Paul Chavard
ba590ff262
chore(npm): update dependencies
2023-04-27 23:02:39 +02:00
Paul Chavard
99abdf45e7
fix(api-entreprise): use new status endpoint
2023-04-27 22:39:44 +02:00
Julie Salha
8cde00d0e1
update download link procedure footer
2023-04-27 17:31:07 +02:00
Julie Salha
45898decba
update structure, content and translations procedure footer
2023-04-27 17:31:07 +02:00
Julie Salha
f5da547083
update structure management content procedure footer
2023-04-27 17:31:07 +02:00
Julie Salha
fe5e29c200
update information link dinum root footer
2023-04-27 17:31:07 +02:00
Julie Salha
84cbf1cf88
update structure and attributes simple footer
2023-04-27 17:31:07 +02:00
Julie Salha
1ca80ba617
update root footer esponsive
2023-04-27 17:31:07 +02:00
Julie Salha
a2a37cddf8
update wording root footer logo
2023-04-27 17:31:07 +02:00
Julie Salha
ffeace8940
update footer account creation page
2023-04-27 17:31:07 +02:00
Julie Salha
3262c5bf00
reinitilization branch
2023-04-27 17:31:07 +02:00
Julie Salha
0a900d72ea
add footer to profile page
2023-04-27 17:31:07 +02:00
Julie Salha
2eea0e21b5
add footer to page: transfer your file
2023-04-27 17:31:07 +02:00
Martin
9612555cd1
correctif(titre-de-section): ETQ usager, je souhaite que les titres de sections ne soient pas préfixé d'un 0.
2023-04-27 16:00:43 +02:00
Kara Diaby
04fbfa15b7
Merge pull request #8844 from demarches-simplifiees/feat/7739
...
Ajoute un compteur sur les champ texte
2023-04-27 13:53:20 +00:00
Lisa Durand
aac1cc7161
Merge pull request #8971 from demarches-simplifiees/add-filter-for-usagers
...
[fix] Pagination interface usager - onglets disparaissent si pas sur la page 1
2023-04-27 13:46:15 +00:00
Lisa Durand
b76c0a36e8
fix specs
2023-04-27 15:26:10 +02:00
Paul Chavard
1d10e59e63
fix(commune): fix ‘undefined’ departement codes
2023-04-27 12:07:43 +02:00
Colin Darie
b0f4c578a6
Merge pull request #8978 from colinux/refactor-dolist-module
...
Tech: ne mélange pas class & module Dolist, supprime adapter SMTP
2023-04-27 09:52:42 +00:00
Paul Chavard
a64549d716
Merge pull request #8956 from tchak/update-coldwired
...
ETQ usager, je veux que le focus suive les changement d'interface
2023-04-27 09:31:45 +00:00
Paul Chavard
f9b8dac024
feat(champ): use new data-turbo-focus-group to manage focus on multiple drop down
2023-04-27 10:40:14 +02:00
Paul Chavard
5343c229a2
chore(turbo): update coldwired and fix focus in turbo
2023-04-27 10:40:14 +02:00
mfo
79a7877a09
Merge pull request #8961 from mfo/US/fix-fieldset-max-width
...
ETQ usager, quand une les balises <select> avec une <option> ayant un libelle tres long, le select prends la largueur du contenu de l'option et force un scroll horizontal sur la page
2023-04-27 08:33:29 +00:00
Kara Diaby
f3f49941b6
Ajoute un compteur sur les champ de type textarea sur l'interface usager
2023-04-27 10:28:43 +02:00
Paul Chavard
a59f44bcbc
Merge pull request #8976 from tchak/fix-dossier-continue-latest
...
ETQ usager, je ne veux pas bypasser la vérification de SIRET
2023-04-27 08:10:24 +00:00
Colin Darie
5cc2712873
refactor(dolist): drop smtp deliver method
2023-04-27 10:09:29 +02:00
Colin Darie
f7a80eb905
fix: dolist module/class mismatch
2023-04-27 10:09:00 +02:00
Martin
bbd565edee
correctif(ui): les balises <select> avec un balise <option> à rallonge prenent la largueur du contenu de l'option
...
Update app/components/editable_champ/drop_down_list_component.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-27 10:05:07 +02:00
Paul Chavard
cb752d1857
fix(dossier): do not bypass depositaire check on modifier path
2023-04-27 09:52:10 +02:00
Martin
44c84b94ca
amelioration(titre-de-section): saute un niveau de profondeur pour les titres de section
2023-04-27 09:29:51 +02:00
LeSim
4c5e903673
Merge pull request #8887 from demarches-simplifiees/8839-filter-by-siret
...
Filtrer les démarches par service
2023-04-26 19:44:08 +00:00
Paul Chavard
249c7729d9
Merge pull request #8962 from mfo/US/fix-date-input-edge
...
ETQ usager utilisant microsoft Edge, les champs de type date sont mal alignés
2023-04-26 18:33:55 +00:00
Paul Chavard
a41713c837
Merge pull request #8968 from demarches-simplifiees/fix_defaut_groupe_instructeur_again
...
Correctif: definit le groupe instructeur par defaut pour certaines procedure clonées
2023-04-26 17:59:13 +00:00
Eric Leroy-Terquem
432ec027cc
Merge pull request #8959 from victormours/fix-webinaire-typo
...
Correction de faute de frappe sur la page de présentation aux administrations
2023-04-26 17:28:46 +00:00
Paul Chavard
c7066573f6
Merge pull request #8921 from demarches-simplifiees/8827-user-path-translations-fix
...
ETQ usager, je veux que mon interface soit traduite en anglais
2023-04-26 17:17:35 +00:00
Martin
9a0b06b4bd
correctif(ui.edge): les champs de type date etaient mal alignés
2023-04-26 19:17:03 +02:00
Victor Mours
f72d9e9784
Fix typo on webinaire
2023-04-26 19:00:57 +02:00
Paul Chavard
d3eda28f35
Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique
...
ETQ usager, je veux que les champs de type adresse électronique soit validé
2023-04-26 16:52:02 +00:00
Paul Chavard
6394996e7f
Merge pull request #8963 from tchak/fix-revision-changes-delete-champs-message
...
ETQ administrateur, je veux être averti si des données seront supprimées sur les dossiers lors de la publication d’une nouvelle révision
2023-04-26 15:12:31 +00:00
Paul Chavard
e16de77418
Update app/components/procedure/revision_changes_component.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-26 15:01:46 +02:00
Lisa Durand
74b28a995f
paginate only dossiers that we display to fix empty tabs when not on page 1
2023-04-26 11:42:29 +02:00
Lisa Durand
e393132fd8
Merge pull request #8936 from demarches-simplifiees/add-yes-no-column-for-instructeurs
...
[instructeur] ajout du nb de réponses oui/non aux avis dans le tableau d'une procedure
2023-04-26 09:05:58 +00:00
simon lehericey
0934a672fe
fix: defaut_groupe_instructeur for a cloned procedure from another admin without a group with default label
2023-04-26 10:52:31 +02:00
LeSim
1a704f0479
Merge pull request #8966 from mfo/US/fix-avis-remind-with-question
...
ETQ instructeur, je peux relancer une demande d'avis meme si celui ci contient une question
2023-04-26 08:09:41 +00:00
LeSim
c8ed0532ed
Merge pull request #8948 from colinux/fix-geoarea-geometry-blank
...
ETQ Usager, champ carte: ne permet pas d'enregistrer une geometry null pour ne pas casser les exports
2023-04-26 10:15:25 +02:00
Colin Darie
21a829ec1e
fix(conditionel): error when using operator eq/not_eq with a multi dropdown
2023-04-26 09:58:00 +02:00
Martin
1ae40f1a22
correctif(instructeurs/avis_controller#remind): ETQ instructeur, je peux relancer une demande d'avis meme si celui ci contient une question
2023-04-26 07:46:21 +02:00
Colin Darie
02fab28ad6
Merge pull request #8964 from colinux/pdf-no-unbreakable
...
ETQ Utilisateur, je ne veux pas de caractère invalide dans l'état du dossier en PDF
2023-04-25 22:29:47 +00:00
Colin Darie
0a2b24aea2
fix(pdf): remove unbreakable spaces from dossier state, which are invalid in PDF
2023-04-25 18:36:49 +02:00
Paul Chavard
26798e8ed9
fix(revision): show a warning when champs will be deleted
2023-04-25 18:04:17 +02:00
Lisa Durand
7a530ae24c
fix wrong variable name
2023-04-25 15:43:21 +02:00
mfo
fdb361c207
Merge pull request #8955 from tchak/fix-typo
...
ETQ instructeur, je veux pouvoir accéder à mes annotations privées
2023-04-25 12:47:49 +00:00
Lisa Durand
d52ee477b0
remove '+' and use variable in I18n
2023-04-25 14:30:39 +02:00
Lisa Durand
384b7f9fac
simplify humanized groupe instructeur filter
2023-04-25 14:15:40 +02:00
Lisa Durand
26ff82dbe4
Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into user-dashboard/add-alert-WIP-last-dossier
2023-04-25 13:01:40 +02:00
Paul Chavard
08ed5e0d87
fix(type_de_champ): should use dossier revision instead of type_de_champ revision
2023-04-25 12:00:42 +02:00
Paul Chavard
eae58ae5b0
fix(type_de_champ): type_champs_private -> types_de_champ_private
2023-04-25 11:59:32 +02:00
Lisa Durand
3678015413
remove scope not_archived for brouillon
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-04-25 10:56:59 +02:00
Julie Salha
e6004d83f3
Merge branch 'main' into 8827-user-path-translations-fix
2023-04-25 09:36:05 +02:00
Lisa Durand
f5ffd1ad5e
Merge pull request #8947 from demarches-simplifiees/user-dashboard/add-pagination
...
[refonte usager] Tableau de bord - Améliorer pagination
2023-04-24 14:08:08 +00:00
Lisa Durand
402112583d
fix test with good classname in js for batch
2023-04-24 10:54:53 +02:00
Martin
8c78008b4d
correctif(usager.depot-dossier): ETQ usager, les titres de section conditionnés etait visible meme si la condition n'etait pas remplie
2023-04-24 10:47:20 +02:00
Lisa Durand
75415cf6dc
Fix typo issue
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-24 10:26:03 +02:00
Colin Darie
f7880352f0
Merge pull request #8941 from mfo/US/fixed-dossier-stalled-auto-processing
...
correctif(procedure.declarative): ETQ administrateur d'une procedure declarative, certains de mes dossiers restent en construction [ex: l'object storage est down, le dossier reste bloqué]
2023-04-22 16:13:01 +00:00
Colin Darie
25956c5141
fix(geoarea): geometry must not be nil
2023-04-22 16:23:39 +02:00
Lisa Durand
1c20a9160c
add dsfr style pagination for all users
2023-04-21 17:19:17 +02:00
Martin
9dec6f1611
correctif(procedure.declarative): ETQ administrateur d'une procedure declarative, certains de mes dossiers restent en construction [ex: l'object storage est down, le dossier reste bloqué]
2023-04-21 15:45:45 +02:00
Colin Darie
925ebef551
Merge pull request #8934 from colinux/fix-markdown-in-url
...
ETQ utilisateur je ne veux pas perdre les _ au sein d'urls dans mes messages
2023-04-21 13:28:56 +00:00
Colin Darie
4f78aac297
Merge pull request #8944 from colinux/manager-replace-by-procedure
...
ETQ super-admin je peux éditer l'attribut d'une démarche qui pointe vers la démarche qui la remplace
2023-04-21 13:20:47 +00:00
Colin Darie
2775158052
Merge pull request #8943 from tchak/fix-dossier-can-create-new-dossiers
...
ETQ usager, je peux créer de nouveaux dossiers sur la démarche qui remplace la démarche fermée
2023-04-21 13:18:43 +00:00
Colin Darie
fb54ca1469
fix(markdown): don't convert underscore within urls or emails
2023-04-21 14:07:10 +02:00
Colin Darie
446ff5f28f
feat(manager): edit procedure#replaced_by_procedure_id
2023-04-21 13:04:19 +02:00
Lisa Durand
1b02857662
add pagination title and add missing DSFR style on table
2023-04-21 12:53:57 +02:00
simon lehericey
a202a57988
fix: defaut_groupe_instructeur_id for a cloned procedure
2023-04-21 12:20:50 +02:00
Paul Chavard
52d63a1b02
fix(dossier): user can create new dossiers when closed procedure is replaced
2023-04-21 11:18:27 +01:00
Colin Darie
8f6681d2a3
Merge pull request #8937 from mfo/fix-procedure-pdf-without-repetitions
...
ETQ administrateur, je m'attends a ce qu'au moins 3 répétition soient présentes dans le formulaire au format PDF
2023-04-21 09:43:04 +00:00
Colin Darie
a8ae706efd
Merge pull request #8938 from mfo/US/annotation-privee-value-other
...
bug(instructeurs.annotations): ETQ instructeurs, lorsque je saisie une autre valeur dans un champ de type choix simple, celle ci n'est pas sauvegardé
2023-04-21 09:27:07 +00:00
Martin
b5e6c3d02a
correctif(instructeurs.annotations): pour un champ de type choix simple, l'ordre des parametres value, value_other doit etre respecté sinon le 'setters' Champs::DropDownListChamp.value=
passe après le setter Champs::DropDownListChamp.value_other=
, ce qui a pour effet de supprimer la value
2023-04-21 09:57:23 +02:00
Eric Leroy-Terquem
06de9bf4b4
do not use notifier verb in the wrong way
2023-04-21 09:56:32 +02:00
krichtof
c2461f230c
validate value for email champ
2023-04-20 18:27:02 +02:00
Lisa Durand
34697a3085
add missing translation for filter groupe instructeur
2023-04-20 17:32:36 +02:00
Martin
2db21c8789
correctif(administrateurs/procedure#dossier_vide): affiche 3 répétition sur le formulaire pdf d'une démarche
2023-04-20 16:19:03 +02:00
Lisa Durand
65730bcfcb
display avis_anwser yes/no in table
2023-04-20 15:55:31 +02:00
Paul Chavard
88f680a265
Merge pull request #8930 from tchak/fix-champ-commune-spaces
...
ETQ usager, je voudrai pouvoir remplir un code postal avec des espaces
2023-04-20 08:40:38 +00:00
Paul Chavard
586286cb08
Merge pull request #8916 from demarches-simplifiees/can-update-defaut-groupe-instructeur-2
...
feat(routage): permet de changer le groupe par défaut
2023-04-20 08:28:46 +00:00
Paul Chavard
4a2e499679
fix(commune): should accept postal codes with spaces
2023-04-20 10:16:48 +02:00
simon lehericey
e64ac79f05
tech(refactor): much nicer code, thx LeSim
...
root -> rooted_tree
depth_cach -> walk
smal refactor
comment
remove form for header_section
remove seen_at from header section
header_section: champ -> header_section
champ_subree: remove if not
remove root_depth use header_section_level_value instead
remove unused include
remove ChampTreeComponent
rename ChampsSubtreeComponent to SectionComponent
use TreeableConcern only in section component
remove fields_for_champ_component
champs -> tail
add split_section_champ helper
refactor(editable_champ::header_section): keep same interface everywhere
fix(repetition): add spec for SectionComponent on repetitions
2023-04-20 08:22:02 +02:00
Martin
cc2c856ec2
amelioration(bloc-repetable): wrap les blocs repetatable dans des fieldsets
2023-04-20 08:22:02 +02:00
Martin
88abefb370
tech(remaniement): isole la logique de rendu au champs_subtree_component
2023-04-20 08:22:02 +02:00
Martin
3b5d1bd55b
tech(remaniement): extraction du passage d'une liste de champs a un simili arbre
2023-04-20 08:22:02 +02:00
Martin
ad77b9321b
amelioration(formulaire-usager): groupes les champs suivant un titre de section dans une balise html de type <fieldset> de sorte a améliorer l'accessibilite de la plateforme
2023-04-20 08:22:02 +02:00
Martin
b9faa26560
amelioration(editeur-de-champs): permet de choisir un niveau de titre (de 1 à 3) pour les champs de type Champs::HeaderSectionChamp. Gère les erreurs dans le cas ou un administrateur supprimerait un HeaderSection qui casserait l'ordre des titre [ex: titre 1,2,3. et l'admin supprime le titre 1 et il reste que 2,3].
2023-04-20 08:22:02 +02:00
Paul Chavard
38b806a1e0
Merge pull request #8929 from tchak/feat-display-procedure-state-in-manager
...
ETQ opérateur, je voudrais pouvoir consulter plus facilement l’état d’une démarche
2023-04-19 19:11:42 +00:00
Paul Chavard
39ba03783a
Merge pull request #8928 from tchak/feat-api-public-stats
...
ETQ citoyen, je voudrais avoir accès aux statistiques des démarches closes
2023-04-19 19:11:34 +00:00
Paul Chavard
ce466d072a
feat(manager): display procedure state and unpublished date
2023-04-19 19:59:54 +02:00
Paul Chavard
418d3b55d0
feat(stats): give access to stats on closed procedures
2023-04-19 18:31:58 +02:00
Colin Darie
e5df31fd66
fix(yaml): yes & no are reserved keywords in yaml, so they have to be quoted
2023-04-19 18:26:40 +02:00
Paul Chavard
63b7a83689
feat(graphql): log dossier and procedure id on dossier fetch endoint
2023-04-19 18:00:08 +02:00
Colin Darie
9728493bda
Merge pull request #8924 from colinux/rubocop-upgrades
...
Tech: update rubocop, active nouveaux cops Rails/*
2023-04-19 13:37:10 +00:00
Paul Chavard
de858243c0
Merge pull request #8925 from tchak/fix-procedire-remove-duplicate-code
...
chore(procedure): remove duplicate code
2023-04-19 12:26:34 +00:00
simon lehericey
9c6af921e5
Use has_one defaut_procdre to avoid before destroy prepend
2023-04-19 13:52:42 +02:00
Eric Leroy-Terquem
aecd7559d2
feat(groupe instructeur): cannot disable default groupe instructeur
2023-04-19 13:52:42 +02:00
Eric Leroy-Terquem
09b05550ab
feat(groupe instructeur): cannot delete defaut_groupe_instructeur
2023-04-19 13:52:42 +02:00
simon lehericey
79131cc294
fix spec
2023-04-19 13:52:42 +02:00
simon lehericey
3889bdac73
refactor(routing): remove unused routing_params
2023-04-19 13:52:42 +02:00
simon lehericey
86733248f3
wording pour coller a Routage et Gestion des groupes
2023-04-19 13:52:41 +02:00
simon lehericey
b3ce3820a9
refactor(ui): use proper title
2023-04-19 13:52:41 +02:00
simon lehericey
43b0eae3ee
refactor(ui): enough space for button
2023-04-19 13:52:41 +02:00
simon lehericey
b38470368b
feat(routing): can change defaut groupe
2023-04-19 13:52:41 +02:00
simon lehericey
95ab81fd1c
feat(routing): use procedure.defaut_groupe_instructeur_id to find defaut_groupe_instructeur
2023-04-19 13:52:41 +02:00
mfo
73184c6dac
Merge pull request #8907 from mfo/US/dolist-silence-some-errors
...
amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce
2023-04-19 11:49:01 +00:00
Paul Chavard
8904516b85
chore(procedure): remove duplicate code
2023-04-19 13:00:37 +02:00
Colin Darie
1af404c5e7
chore(rubocop): fix Rails/WhereMissing
2023-04-19 12:55:14 +02:00
Colin Darie
f4ad5289cd
chore(rubocop): fix Rails/RedundantPresenceValidationOnBelongsTo
2023-04-19 12:55:14 +02:00
Colin Darie
6eec42135d
chore(rubocop): fix Rails/DotSeparatedKeys
2023-04-19 12:55:14 +02:00
Colin Darie
20f0b64736
chore(rubocop): fix Rails/WhereNotWithMultipleConditions
2023-04-19 12:55:14 +02:00
Colin Darie
e9649b667e
chore(rubocop): fix Rails/IgnoredColumnsAssignment
2023-04-19 12:55:14 +02:00
Colin Darie
8fa5e0dbb8
chore(rubocop): fix Rails/UnusedIgnoredColumns
2023-04-19 12:55:14 +02:00
Colin Darie
7aba5ccc3e
chore(rubocop): fix Rails/DurationArithmetic
2023-04-19 12:55:13 +02:00
Colin Darie
160178b8f8
chore(rubocop): fix Rails/ExpandedDateRange
2023-04-19 12:55:13 +02:00
Colin Darie
bd8e8633e7
chore(rubocop): fix Rails/CompactBlank
2023-04-19 12:55:13 +02:00
Colin Darie
b273e7b67e
chore(rubocop): fix Rails/RootPathnameMethods and assimiled cops
2023-04-19 12:55:13 +02:00
Colin Darie
ca11ec8380
chore(rubocop): fix Rails/OutputSafety
2023-04-19 12:55:12 +02:00
Colin Darie
3317f19323
chore(rubocop): fix Rails/ContentTag
2023-04-19 12:55:12 +02:00
Paul Chavard
05cfb4055d
fix(dossier): improuve dossier state display
2023-04-19 12:27:16 +02:00
Paul Chavard
7bf31c6278
Merge pull request #8850 from tchak/feat-refactor-drop-downs
...
Simplifie l'implémentation des champs "liste d'options" et "listes d'options liées"
2023-04-19 09:59:10 +00:00
Martin
534ce34f87
amelioration(Dolist::ApiSender): lève une Dolist::IgnorableError afin de l'inscrire dans l'historique des EmailEvent
2023-04-19 11:22:13 +02:00
Martin
8fa2bbb67d
amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce
2023-04-19 11:22:13 +02:00
github-merge-queue[bot]
a286af8a70
Merge pull request #8918 from tchak/graphql-add-error-codes
...
ETQ intégrateur API, je voudrais avoir des codes d'erreur plus précis
2023-04-19 09:00:32 +00:00
github-merge-queue[bot]
c439a286a8
Merge pull request #8902 from demarches-simplifiees/bug-disable-select-all-actions-multiples
...
[bug] actions multiples > désactiver la checkbox select_all quand action en cours
2023-04-18 21:52:21 +00:00
Julie Salha
c6aff63ce7
remove phone contact accessibility statement
2023-04-18 17:25:20 +02:00
github-merge-queue[bot]
82f81cef21
Merge pull request #8913 from demarches-simplifiees/fix-display-search-results
...
[bug display] Améliorer l'affichage des resultats de recherche
2023-04-18 13:35:02 +00:00
github-merge-queue[bot]
26e516ea72
Merge pull request #8888 from tchak/graphql-improuve-stored-query
...
ETQ intégrateur API, je voudrais avoir accès aux dossiers récemment supprimés d’un groupe instructeur
2023-04-18 13:25:31 +00:00
Paul Chavard
0912a30eb0
feat(dossier): use turbo on select with other
2023-04-18 15:24:23 +02:00
Paul Chavard
eb599394e0
feat(dossier): use turbo on linked lists
2023-04-18 15:24:23 +02:00
Paul Chavard
ae1ec87397
feat(graphql): add code to timeout errors
2023-04-18 15:22:11 +02:00
Paul Chavard
f70532a844
feat(graphql): global not found error handling
2023-04-18 15:22:11 +02:00
Paul Chavard
fbae6d941d
feat(graphql): add error codes to graphql errors
2023-04-18 15:22:11 +02:00
Paul Chavard
2a09f1d505
fix(graphql): return empty arrays from loaders when loading collections
2023-04-18 15:20:43 +02:00
Julie Salha
f80cccba93
reset component yes no structure
2023-04-18 14:54:01 +02:00
Julie Salha
f039b6687a
add translations account confirmation page
2023-04-18 14:11:58 +02:00
Julie Salha
b1dfc83c17
add translations upload group notice
2023-04-18 14:04:32 +02:00
Julie Salha
be16cb6f5e
add missing translations footer email change password
2023-04-18 13:56:50 +02:00
github-merge-queue[bot]
110a8aec97
Merge pull request #8919 from tchak/graphql-stub-fake-files-meta
...
ETQ intégrateur API, je ne veux pas avoir d'erreurs lorsque j'interroge les métadonnées de certains fichiers
2023-04-18 11:56:32 +00:00
Julie Salha
c37a54b65b
add translations profile identification tokens
2023-04-18 13:51:41 +02:00
github-merge-queue[bot]
7a2805d001
Merge pull request #8912 from demarches-simplifiees/user-dashboard/switch-place-for-searchbar
...
[refonte usager] Tableau de bord - Déplacer la barre de recherche proche des dossiers
2023-04-18 11:47:49 +00:00
Julie Salha
93c5c52e19
add translations for yes-no radios form and update dsfr styles
2023-04-18 13:43:11 +02:00
Lisa Durand
c565ed415b
change scope and alert location after UI modification
2023-04-18 12:03:10 +02:00
Paul Chavard
bd07441b7e
fix(graphql): stub metadata on fake files interfaces
2023-04-18 11:36:40 +02:00
Paul Chavard
ca9fa71667
feat(graphql): improuve stored query
2023-04-17 18:43:00 +02:00
Paul Chavard
bf6cc25063
feat(graphql): expose pendingDeletedDossiers on groupe instructeur
2023-04-17 18:43:00 +02:00
Paul Chavard
5437727517
chore(api-geo): bump cache keys
2023-04-17 14:29:24 +02:00
LeSim
c252748833
Merge pull request #8836 from demarches-simplifiees/improve-routing-rules-ux
...
feat(routing): nicer and safer ?
2023-04-17 08:23:15 +00:00
Lisa Durand
e140d1cc7a
restore the hidden overflow from DSFR on table
2023-04-17 10:08:43 +02:00
Lisa Durand
4ed29268bf
fix table display for search result
2023-04-14 17:42:37 +02:00
Paul Chavard
cb6875352e
fix(dossier): désactiver la checkbox select_all quand action en cours
2023-04-14 17:41:22 +02:00
Lisa Durand
f762323017
change searchbar from header to dashboard for user
2023-04-14 16:28:37 +02:00
mfo
e8218821a0
Merge pull request #8908 from mfo/US/doc-dolist-tracking
...
amelioration(dolist): desactive le tracking http
2023-04-14 09:12:04 +00:00
Martin
a47b19bee9
amelioration(dolist): desactive le tracking http
2023-04-14 10:11:09 +02:00
Lisa Durand
229ce67a5d
Add 'visible_by_user' - review PR
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-04-14 10:10:22 +02:00
Paul Chavard
98caf41a36
fix(dossier): find communes outside of departement
2023-04-13 13:09:56 +02:00
Paul Chavard
21b548d32b
fix(dossier): delete all champs starting with children
2023-04-13 11:08:10 +02:00
Paul Chavard
7054c2d9ef
fix(demarche): always reset outside of transactions
2023-04-13 11:05:38 +02:00
simon lehericey
f6948cfd5e
feat(routing): record first groupe as default_groupe_instructeur
2023-04-13 10:36:42 +02:00
Eric Leroy-Terquem
cade677355
feat(db): add defaut_groupe_instructeur_id column to procedures
2023-04-13 10:36:42 +02:00
simon lehericey
c02319aa56
feat(routing): reset value if target as changed
2023-04-13 10:28:53 +02:00
simon lehericey
9fe8f98a17
refactor(routing): add id to option to help morph
2023-04-13 10:28:53 +02:00
simon lehericey
e27e18fdaf
refactor(routing): use selerialized logic in select value
2023-04-13 10:28:53 +02:00
simon lehericey
16565d099a
refactor(routing): add groupe_instructeur helper
2023-04-13 10:28:52 +02:00
simon lehericey
8b832396a3
feat(routing): server side: prevent changing tdc type if used for routing
2023-04-13 10:28:52 +02:00
Eric Leroy-Terquem
9ea75a5bd1
feat(routing): ui side: prevent changing tdc type if used for routing
2023-04-13 10:28:52 +02:00
simon lehericey
c1f67499aa
feat(routing): server side: prevent tdc deletion if used for routing
2023-04-13 10:28:52 +02:00
simon lehericey
3f55fddcef
feat(routing): ui side: prevent tdc deletion if used for routing
2023-04-13 10:28:52 +02:00
simon lehericey
213d463ff4
feat(routing): small UI polish
2023-04-13 10:28:52 +02:00
Eric Leroy-Terquem
c4d64d9775
feat(routing): add message if no type de champs routable
2023-04-13 10:28:52 +02:00
simon lehericey
80b5f6bc1d
feat(champ_component): add errors banner
2023-04-13 10:28:52 +02:00
simon lehericey
362c220587
fix(champ_component): enable preview
2023-04-13 10:28:52 +02:00
simon lehericey
6e255489a5
feat(routing): fix test
2023-04-13 10:28:51 +02:00
Paul Chavard
8d89e2aec6
Merge pull request #8889 from tchak/chore-commune-remove-fallback
...
chore(dossier): remove fallback from commune champ
2023-04-12 17:33:14 +00:00
krichtof
6ed6f1ae58
add service siret filter in all demarches view
2023-04-12 18:53:57 +02:00
krichtof
78938b5a07
filter demarches by siret service
2023-04-12 18:53:57 +02:00
Lisa Durand
bf8c218d3a
Disabled select_all checkbox if all checkboxes are disabled
2023-04-12 16:58:15 +02:00
Lisa Durand
b0df654346
add heading level customization to callout component to fix a11y issue
2023-04-11 16:32:57 +02:00
Lisa Durand
bc3e67ab94
add alert on user dashboard to edit last editable dossier
2023-04-11 15:50:17 +02:00
Eric Leroy-Terquem
eda48567ef
fix link for csv example file
2023-04-11 14:36:35 +02:00
Paul Chavard
def32a3615
chore(dossier): remove fallback from commune champ
2023-04-11 10:49:01 +02:00
Colin Darie
54c9690289
Merge pull request #8886 from colinux/fix-delete-admin-without-published-procedure
...
fix(admin): peut supprimer un admin sans démarche publiée, sans service
2023-04-11 07:17:54 +00:00
Colin Darie
a413d2fa9c
fix(admin): can delete an admin without published procedure
2023-04-07 16:10:10 +02:00
Paul Chavard
a6e3ea4839
fix(dossier): normalize champs commune data
2023-04-07 16:02:13 +02:00
Paul Chavard
0d1aa5cf96
Merge pull request #8867 from tchak/feat-graphql-commune-type
...
feat(graphql): expose commune and departement information on address
2023-04-07 10:35:32 +00:00
Paul Chavard
aaae3f461d
feat(graphql): expose commune and departement information on address
2023-04-07 12:13:41 +02:00
Paul Chavard
207ce21327
fix(dossier): instructeur actions should be buttons and not links
2023-04-07 12:12:15 +02:00
Paul Chavard
0b95a912c6
Merge pull request #8858 from tchak/feat-refactor-dossier-link-champ
...
feat(dossier): use turbo to select linked dossier
2023-04-07 08:49:11 +00:00
Paul Chavard
79fee39888
Merge pull request #8872 from tchak/fix-champ-multiselect
...
fix(dossier): selecting blank option should not empty selection
2023-04-06 14:32:35 +00:00
Paul Chavard
ffb332159f
fix(dossier): selecting blank option should not empty selection
2023-04-06 15:24:52 +02:00
Paul Chavard
a2f7d1df72
fix(graphql): pendingDeletedSince should not crash
2023-04-06 15:07:48 +02:00
Paul Chavard
f9b7859bf7
Merge pull request #8868 from tchak/fix-api-entreprise-adapter
...
fix(api-entreprise): do not crash when siret not found
2023-04-06 10:00:59 +00:00
Paul Chavard
7ea443f86a
Merge pull request #8860 from demarches-simplifiees/ay11-actions-multiples
...
[a11y] actions multiples
2023-04-05 16:41:06 +00:00
Paul Chavard
d1d5bc2e67
fix(api-entreprise): do not crash when siret not found
2023-04-05 18:38:13 +02:00
Paul Chavard
6511836f2d
Merge pull request #8865 from tchak/graphql-improuve-logs
...
feat(graphql): improuve logs
2023-04-05 12:34:36 +00:00
Paul Chavard
a5733002ed
feat(graphql): improuve logs
2023-04-05 13:56:26 +02:00
Paul Chavard
b8f639721e
Merge pull request #8864 from colinux/fix-date-not-parseable
...
fix(date): ne crash pas lorsqu'un champ date n'as pas une date standard
2023-04-05 11:48:48 +00:00
Colin Darie
5e62aa7d21
fix(date): don't crash when date value is not parseable
2023-04-05 12:42:28 +02:00
Paul Chavard
52c8b0b297
feat(dossier): use turbo to select linked dossier
2023-04-05 11:40:03 +02:00
Paul Chavard
dee0952b2a
fix(graphql): demandeur personne morale can be in degraded mode
2023-04-05 11:20:18 +02:00
Lisa Durand
058f1fe6e5
add focus on button when select all
2023-04-05 10:59:59 +02:00
Lisa Durand
c9d21f2b4d
add dossier id in checkbox aria-label
2023-04-05 10:40:20 +02:00
Lisa Durand
f1c313eb49
add 'scope: col' to table th
2023-04-05 10:13:34 +02:00
Lisa Durand
9065e57e62
add aria-sort on sortable column
2023-04-05 10:05:51 +02:00
Paul Chavard
020f501a02
Merge pull request #8846 from tchak/fix-graphql-accepter
...
fix(graphql): return better errors when dossiers cannot change state
2023-04-04 15:42:54 +00:00
Paul Chavard
a778e1083b
fix(graphql): return better errors when dossiers cannot change state
2023-04-04 17:24:30 +02:00
krichtof
7250c0cca7
Merge pull request #8855 from demarches-simplifiees/8854-manager-zones
...
WIP [manager] affiche les zones d'une procédure donnée
2023-04-04 14:50:38 +00:00
Christophe Robillard
7d94d321e9
[manager] display zones for a procedure
2023-04-04 16:36:04 +02:00
Martin
75657b5484
correctif(administrateur.merge): la fusion de compte entre admin devrait dissocie les services des procedures supprimées
2023-04-04 16:29:24 +02:00
Lisa Durand
6b1ecde852
add role status
2023-04-04 16:04:00 +02:00
Paul Chavard
2a48228552
fix(dossier): improuve commune champ rendering in pdf
2023-04-04 16:01:16 +02:00
Paul Chavard
ed33f1916a
fix(commune): to_s should always return a string
2023-04-04 15:32:03 +02:00
Paul Chavard
12f0c03bac
Merge pull request #8847 from tchak/feat-improuve-dossier-remove
...
fix(dossier): an invited user can remove (leave) a dossier
2023-04-04 13:10:18 +00:00
Paul Chavard
e2d5834dc2
Update app/models/user.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-04 15:02:20 +02:00
Lisa Durand
96740152c8
Merge pull request #8852 from demarches-simplifiees/bug-display-btn-logique-conditionnelle
...
[bug] Changer couleur de fond pour faire apparaitre bouton conditionnelle sur les sections
2023-04-04 09:10:03 +00:00
Paul Chavard
750be8d735
Merge pull request #8849 from demarches-simplifiees/8589-accessibility-environment
...
a11y : add mobile environment test to accessibility statement
2023-04-04 08:49:44 +00:00
mfo
2c32e38383
Merge pull request #8851 from demarches-simplifiees/fix_condtion_check_on_children
...
fix(condition_check_on_children): give proper upper tdc to child cond…
2023-04-04 08:48:02 +00:00
Lisa Durand
b1e9fca9b2
add lighter blue for section type background
2023-04-04 10:36:32 +02:00
simon lehericey
fd927fd116
fix(condition_check_on_children): give proper upper tdc to child condition check
2023-04-04 10:24:11 +02:00
Lisa Durand
dde64415ae
Merge pull request #8845 from demarches-simplifiees/remove-dossiers-termines-from-avis-views
...
[bug] retirer les notifications + compteur des avis pour les dossiers terminés
2023-04-04 08:20:48 +00:00
Julie Salha
0d9beaa223
add mobile environment test
2023-04-04 08:36:43 +02:00
Paul Chavard
0864666d0a
fix(dossier): an invited user can remove (leave) a dossier
2023-04-03 20:10:44 +02:00
Lisa Durand
2f012578eb
remove dossier termine from avis views
2023-04-03 18:20:17 +02:00
Paul Chavard
fce78bbf30
feat(dossier): multiselect without react
2023-04-03 16:54:50 +02:00
Paul Chavard
b3f58a24cb
fix(dossier): add value_json to dossier projection
2023-04-03 16:25:32 +02:00
Paul Chavard
8945777b56
Merge pull request #8835 from tchak/fix-champ-commune
...
fix(commune): improuve label and error message
2023-04-03 09:56:57 +00:00
Paul Chavard
b0673c0127
Merge pull request #8837 from demarches-simplifiees/bug-special-character-in-email
...
[fix] bug dans le sujet des mails de notification si le libelle de la procedure contient un apostrophe
2023-04-03 09:39:13 +00:00
Paul Chavard
ed62d171ce
fix(commune): improuve label and error message
2023-04-03 11:24:32 +02:00
mfo
4336184fc8
Merge pull request #8833 from mfo/US/fix-valid-conditions-on-repetition
...
correctif(revision.validation-des-conditions): les conditions dans un bloc répétable ne remontenpt pas dans le composant ErrorsSummary
2023-03-31 15:03:12 +00:00
Lisa Durand
e1260a3df8
fix wrong encoding of special character in email notification subject
2023-03-31 16:58:41 +02:00
mfo
54d88e7dd0
Merge pull request #8699 from mfo/US/8661
...
a11y(bloc-repetable): amélioration des interactions avec les répétitions d'un bloc répétable
2023-03-31 14:39:23 +00:00
Martin
a53c32b41e
correctif(validation-des-conditions): les conditions dans un bloc repetable identifient les conditions invalident
...
Update app/models/procedure_revision.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-03-31 16:38:27 +02:00
Martin
035da4403f
chore(a11y): mutualise la gestion des <button> qui font des action POST/DESTROY dans un composant unique
2023-03-31 16:15:40 +02:00
LeSim
b003fd8be8
Merge pull request #8774 from E-L-T/add-routing-to-groupe-instructeurs
...
Add routing rules to groupe instructeurs
2023-03-31 10:16:51 +00:00
Martin
21701a1e37
patch(demarche.lien_demarche): ignore cette colonne pr la supprimer plus tard
2023-03-31 09:57:27 +02:00
Lisa Durand
7351580a65
Merge pull request #8811 from demarches-simplifiees/allow-instructeur-to-delete-pj
...
ETQ instructeur je veux pouvoir supprimer la pj pendant l'instruction
2023-03-31 07:46:55 +00:00
Martin
d161a624c5
a11y(bloc-repetable): ETQ usager qui navigue au clavier, lorsque je supprime une repetition, le focus revient soit sur le premier champ de la derniere repetition, soit sur le bouton ajouter une repetition [si il y a pas de repetition presente]
2023-03-31 08:51:39 +02:00
Martin
8b6a7689fa
a11y(bloc-repetable.repetition): ajoute une repetition via un bouton et non un lien
2023-03-31 08:51:39 +02:00
Martin
92d3f9c192
a11y(bloc-repetable.repetition): supprime une repetition via un bouton et non un lien
2023-03-31 08:51:39 +02:00
Martin
a3f1e1926a
a11y(bloc-repetable): ETQ usager qui navigue au clavier, lorsque j'ajoute un champs repetable, le focus vient sur le 1er champs du bloc repetable
2023-03-31 08:51:39 +02:00
Colin Darie
28656a96cd
fix(footer): add missing a11y external link attributes
2023-03-30 23:16:07 +02:00
Colin Darie
ef8906cb88
fix(footer): update maison france service link
2023-03-30 23:16:07 +02:00
Lisa Durand
6a544c210a
Merge pull request #8829 from demarches-simplifiees/fix-small-details-on-expert-views
...
[Fix] Petites améliorations de la vue expert
2023-03-30 16:23:00 +00:00
Lisa Durand
8f0861fba0
fix linter
2023-03-30 17:41:21 +02:00
Lisa Durand
ada417991a
fix fil d'ariane in expert header
2023-03-30 17:23:42 +02:00
Colin Darie
0c3cc31fcd
feat(manager): add id column to use it as replacement for created_at sorts
2023-03-30 15:45:03 +02:00
Colin Darie
e60c92957d
fix(manager): don't break DS by sorting Dossier by created_at
2023-03-30 15:41:07 +02:00
Colin Darie
294725ae67
Merge pull request #8826 from colinux/fix-explanation-collapse
...
Fix champ explication: cache le texte qui doit être caché
2023-03-30 11:22:14 +00:00
Colin Darie
e36dc19cc4
fix(explication): render collapsible text into collapse element
2023-03-30 12:46:31 +02:00
simon lehericey
41cb62b5c7
add full system spec
2023-03-30 12:31:48 +02:00
Paul Chavard
c909e0ad16
Merge pull request #8823 from tchak/chore-update-dependencies
...
chore(npm): update dependencies
2023-03-30 09:25:02 +00:00