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
Eric Leroy-Terquem
eca11686e2
feat(routing): parse value
2023-03-30 10:53:00 +02:00
Eric Leroy-Terquem
6f6bbd6ca1
feat(routing): put routing logic behind a feature flag
2023-03-30 10:52:53 +02:00
simon lehericey
e950363d21
feat(routing): add routing component
2023-03-30 10:51:20 +02:00
simon lehericey
3cede55d41
feat(routing): add routing engine
2023-03-30 10:51:20 +02:00
simon lehericey
b93e3776c4
feat(routing): add controller
2023-03-30 10:51:20 +02:00
simon lehericey
bf737edec1
refactor: move serializer
2023-03-30 10:51:20 +02:00
simon lehericey
0ca7c805df
feat(routing): serialize routing condition
2023-03-30 10:51:20 +02:00
Eric Leroy-Terquem
3ef6adccd6
feat(db): add routing column to groupe_instructeurs
2023-03-30 10:51:20 +02:00
simon lehericey
1592006f63
feat(procedure): defaut_group_instructeur is the first created
2023-03-30 10:51:20 +02:00
Paul Chavard
3eae17b7cb
feat(graphql): log type and timeout errors
2023-03-30 09:18:00 +02:00
Paul Chavard
3ea28b57e2
chore(npm): update dependencies
2023-03-29 16:01:56 +02:00
Paul Chavard
f1658dedc5
feat(commune): translate messages in component
2023-03-29 15:42:33 +02:00
Colin Darie
f274748acd
Merge pull request #8820 from colinux/fix-autolink-renderer
...
Fix: autolink manuellement les liens qui ne sont pas des urls
2023-03-29 15:42:33 +02:00
mfo
8efd191e0f
Merge pull request #8817 from mfo/US/fix-expert-export
...
correctif(export.pdf): ETQ expert, lorsque j'exporte un dossier au format PDF, celui ci contenient les avis non confidentiels ainsi que mes avis
2023-03-29 15:42:33 +02:00
Colin Darie
49e016ba58
fix: handle all autolinks manually
...
On ne peut pas appeler super() qui est en méthode en C, pas en ruby.
Donc on doit gérer manuellement les cas possibles.
2023-03-29 15:42:33 +02:00
Colin Darie
891842d194
Merge pull request #8814 from demarches-simplifiees/webinaire-link-fix
...
Webinaire link fix
2023-03-29 15:42:33 +02:00
Kara Diaby
af830e94c3
Garde les tags dans les params lors de la pagination
2023-03-29 15:42:33 +02:00
Colin Darie
6ddbda34a2
fix(avis): don't list question_answer radios on empty question
2023-03-29 15:42:33 +02:00
Lisa Durand
518d075dc9
small changes for better readability
2023-03-29 10:26:42 +02:00
Lisa Durand
044d03b524
fix button display
2023-03-29 10:26:42 +02:00
Lisa Durand
df701f2a8f
fix linter
2023-03-29 10:26:42 +02:00
Lisa Durand
92bc95014a
add cancel button and delete pj button in batch context
2023-03-29 10:26:42 +02:00
Lisa Durand
dc46430c40
display link to delete PJ in instruction button
2023-03-29 10:26:42 +02:00
Lisa Durand
3137f508ed
make cancel button to reset form for instruction button
2023-03-29 10:26:42 +02:00
Kara Diaby
12e0b232dc
Garde les tags dans les params lors de la pagination
2023-03-28 21:47:02 +02:00
Martin
c6e9674de2
correctif(export.pdf): ETQ expert, lorsque j'exporte un dossier au format PDF, celui ci contenient les avis non confidentiels ainsi que mes avis
2023-03-28 17:16:34 +02:00
Martin
4f9c45c489
bug(export.pdf): ETQ expert, lorsque j'exporte un dossier, celui ci devrait contenir les avis non confidentiels ainsi que mes avis
2023-03-28 16:55:12 +02:00
Paul Chavard
76da68c3fb
feat(commune): prefill by postal code and insee
2023-03-28 16:34:19 +02:00
Paul Chavard
666db74b09
feat(graphql): add postalCode to champ commune
2023-03-28 16:34:19 +02:00
Paul Chavard
dc605015b3
feat(commune): chose commune by postal code
2023-03-28 16:34:19 +02:00
Paul Chavard
a4e96d5256
feat(apigeo): add communes_by_postal_code method
2023-03-28 16:34:19 +02:00
Paul Chavard
9d26a38997
chore(champ): remove unused react code
2023-03-28 16:34:19 +02:00
Colin Darie
4865fb368f
fix(avis): don't list question_answer radios on empty question
2023-03-28 15:38:13 +02:00
Colin Darie
b26f477fe1
Merge pull request #8810 from demarches-simplifiees/ask-avis-remove-specific-css-v2
...
[UX] améliorer UX de la demande d'avis - partie 2 CSS
2023-03-27 14:02:13 +00:00
Lisa Durand
ac886d011a
merge form view expert and instructeur
2023-03-27 14:59:49 +02:00
Lisa Durand
0424f9dff8
merge avis_list view expert and instructeur
2023-03-27 14:59:49 +02:00
Lisa Durand
9dc3ef7368
remove specific css for avis and fix broken display in list of avis for instructeurs
2023-03-27 14:59:49 +02:00
Kara Diaby
2f9c375fad
layout
2023-03-27 14:14:18 +02:00
Kara Diaby
74e4e2a1ce
controllers
2023-03-27 14:14:18 +02:00
Colin Darie
5dd6456e4a
Merge pull request #8799 from tchak/fix-collapsible_explanation
...
fix(dossier): champ explication collapsible explanation should be formatted
2023-03-27 11:27:39 +00:00
Colin Darie
5520af0be2
Merge pull request #8800 from demarches-simplifiees/8589-accessibility-statement
...
a11y - 8589 accessibility statement (static page)
2023-03-27 11:27:29 +00:00
Colin Darie
ca05b4a892
Merge pull request #8808 from colinux/manager-disable-multilpe-upload
...
Manager: permet l'override de l'upload multiple de PJ
2023-03-27 09:42:56 +00:00
Colin Darie
1a9f9a5803
fix(accessibility-statement): dynamic content depending of instance
2023-03-27 11:36:13 +02:00
Julie Salha
ed3b2cca6f
update content statement
2023-03-27 10:39:56 +02:00
Julie Salha
5a237333eb
add structure static page accessibility statement
2023-03-27 10:37:32 +02:00
Colin Darie
9a38da09ed
Merge pull request #8762 from demarches-simplifiees/8589-legal-notice
...
Accessibilité: internalise la page de mentions légales
2023-03-27 08:12:34 +00:00
Lisa Durand
d079f3ac98
Merge pull request #8770 from demarches-simplifiees/ask-question-in-avis-ux-part
...
[UX] améliorer UX de la demande d'avis
2023-03-24 10:50:33 +00:00
Colin Darie
6d3c0de2ab
fix(legal): use constant url
2023-03-23 19:01:19 +01:00
Chaïb Martinez
c1c083654f
Change text
2023-03-23 16:49:48 +01:00
Colin Darie
6bcddc5631
feat(manager): allow edit of procedure#piece_justificative_multiple
2023-03-23 11:57:40 +01:00
Paul Chavard
275150d727
feat(graphql): expose pendingDeletedDossiers
...
fix #8785
2023-03-22 19:40:43 +01:00
Colin Darie
a96ccba92c
Merge pull request #8798 from colinux/fix-simple-renderer-missing-title
...
a11y: ajoute l'attribut title précisant l'ouverture dans un nouvel onglet dans le simple renderer
2023-03-22 15:47:17 +00:00
Paul Chavard
f8b01811c1
fix(dossier): champ explication collapsible explanation should be formatted
2023-03-22 14:59:41 +01:00
Colin Darie
40a303f6a6
fix(a11y): add a title in simple renderer links and autolinks
...
Closes #8095
2023-03-22 14:05:06 +01:00
Lisa Durand
7c58071c10
Merge pull request #8792 from demarches-simplifiees/fix-css-multi-select-react
...
[fix] css multi select react
2023-03-22 11:11:18 +00:00
Lisa Durand
aa9c94a20e
fix display in view and export if answer is 'no'
2023-03-22 11:56:52 +01:00
Paul Chavard
ee1df3f05f
fix(dossier): fix rebasing submitted dossiers private champs type changes
2023-03-22 11:43:08 +01:00
Paul Chavard
0eceed4126
Merge pull request #8793 from tchak/chore-update-dependencies
...
chore(npm): update dependencies
2023-03-22 10:19:22 +00:00
Colin Darie
799876dfcc
Merge pull request #8794 from colinux/a11y-upload-contrast
...
a11y: augmente le contraste de la barre de progression lorsqu'elle a le focus
2023-03-22 10:15:32 +00:00
Colin Darie
688dcc020f
fix(a11y): increase upload progress bar contrast when focused
...
Closes #8555
2023-03-22 11:05:05 +01:00
Colin Darie
dbd658d2bb
Merge pull request #8791 from colinux/manager-exports
...
Manager: créé un dashboard exports
2023-03-22 09:44:45 +00:00
Christophe Robillard
0a715bc79e
add doc to some graphql fields
2023-03-22 10:31:46 +01:00
Paul Chavard
234846eb33
graphql(playground): build with vite
2023-03-22 10:19:56 +01:00
Lisa Durand
d8ecb8527f
fix css multi select react
2023-03-22 10:07:51 +01:00
Lisa Durand
a01564adcd
create component for sidemenu and add locales for raw text
2023-03-22 09:30:26 +01:00
Lisa Durand
4a2982dc37
fix tests and linter
2023-03-22 09:30:26 +01:00
Lisa Durand
c1b5daadef
remove unused view and routes from instructeurs avis
2023-03-22 09:30:26 +01:00
Lisa Durand
d21ff7a762
add sidemenu for instructeurs instead of links at top of page
2023-03-22 09:30:26 +01:00
Lisa Durand
79552b496b
add 3rd view for expert - form to ask avis to another expert
2023-03-22 09:30:26 +01:00
Lisa Durand
c51e6aa2e6
split form and avis answers in 2 views for experts and add sidemenu
2023-03-22 09:30:26 +01:00
Lisa Durand
603d66e020
split form and avis answers in 2 views for instructeurs
2023-03-22 09:30:26 +01:00
Colin Darie
08c68ef970
feat(manager): exports dashboard
2023-03-22 09:29:09 +01:00
Colin Darie
ab84222ce4
fix(manager): archives must not be downloadable from manager
2023-03-22 09:29:09 +01:00
LeSim
dcf1bcc16c
Merge pull request #8784 from tchak/fix-use-required
...
fix(champ): use champ.required?
2023-03-21 16:43:19 +00:00
Lisa Durand
f27e362cae
fix validation of yes-no question in avis
2023-03-21 17:07:05 +01:00
Colin Darie
45eb53c26a
chore(legal): rename legal notice controller to a StaticPages
2023-03-21 12:44:04 +01:00
Colin Darie
3a9b2d99e3
Merge pull request #8776 from colinux/fix-deadlocks
...
Fix: corrige peut-être des deadlocks postgresql sur le champ SIRET
2023-03-21 11:11:46 +00:00
Julie Salha
c71a41de13
update DSFR styles
2023-03-21 12:08:01 +01:00
Paul Chavard
af7e16c372
fix(champ): use champ.required?
2023-03-21 11:23:45 +01:00
Paul Chavard
4dc95417c5
fix(champ): use champ.mandatory?
2023-03-21 11:23:33 +01:00
Paul Chavard
b750be75d6
Merge pull request #8782 from tchak/fix-champ-carte-too-many-features
...
fix(dossier): do not show features list if more then 20
2023-03-21 10:18:05 +00:00
Julie Salha
f181882c85
update links legal notices
2023-03-21 10:25:51 +01:00
Julie Salha
4c62e2b569
clean CSS
2023-03-21 10:05:50 +01:00
Julie Salha
8523d310bf
update DSFR styles
2023-03-21 10:05:50 +01:00
Julie Salha
d43b4badc4
fix PR URL and DSFR styles
2023-03-21 10:05:50 +01:00
Julie Salha
24a744537f
remove custom css
2023-03-21 10:05:50 +01:00
Julie Salha
5a065cd5a9
fix PR indentation(5)
2023-03-21 10:05:50 +01:00
Julie Salha
92c79b32b9
fix PR indentation(4)
2023-03-21 10:05:50 +01:00
Julie Salha
b5829cbc5a
fix PR indentation(3)
2023-03-21 10:05:50 +01:00
Julie Salha
7897196302
fix PR indentation(2)
2023-03-21 10:05:50 +01:00
Julie Salha
cc6ceb580b
fix PR indentation
2023-03-21 10:05:50 +01:00
Julie Salha
7af378688e
add static page legal notices
2023-03-21 10:05:50 +01:00
Paul Chavard
281ee20af9
fix(dossier): do not show features list if more then 20
2023-03-20 18:30:00 +01:00
simon lehericey
1ffeaf6c34
feat(siret): add copy shortcut on siret
2023-03-20 17:45:58 +01:00
Colin Darie
f8d075c187
fix(siret): remove message "nous récupérons…" without siret
2023-03-20 14:32:14 +01:00
Colin Darie
954652fcf5
fix(champ): may fix pg deadlocks: autosave already saves value at the same time
2023-03-20 14:32:14 +01:00
krichtof
da49497f0b
Merge pull request #8726 from demarches-simplifiees/disable-otp-4-super-admin
...
desactive le 2FA suivant la config
2023-03-20 10:34:27 +00:00
Lisa Durand
893ee5801e
Merge pull request #8743 from demarches-simplifiees/ask-question-in-avis
...
[instructeurs] Je peux poser une question dans une demande d'avis
2023-03-17 15:10:51 +00:00
Colin Darie
83a3421537
Merge pull request #8769 from colinux/fix-annotations-privees-champ-type-mismatch
...
Fix: crash d'annotations privées à cause d'une incohérence avec leur type de champ
2023-03-16 15:55:56 +00:00
Colin Darie
397b5ac489
Merge pull request #8765 from colinux/pdf-timeout-carte-generation
...
Fix dossier/pdf: remplace les feature collections du champ carte par les libellés de sélection utilisateur
2023-03-16 15:40:00 +00:00
simon lehericey
ca63cc34ab
feat(token depreciation): add mail alert
2023-03-16 16:16:45 +01:00
simon lehericey
9ae4dbd4af
feat(token depreciation): add alert on profile
2023-03-16 15:39:33 +01:00
Colin Darie
5231ad8d7d
fix(dossier/pdf): champ carte with geo area labels instead of future collection
...
Parfois des geo areas sont extrêmement détaillés avec des milliers de points,
et empêchaient la génération de PDF avec l'ensemble des feature
collections.
A la place on liste les labels de type "un ligne de 85 m"
2023-03-16 15:38:21 +01:00
Paul Chavard
f4f55183de
Merge pull request #8768 from tchak/fix-graphql-attachement
...
fix(graphql): return empty array when no attachments
2023-03-16 10:44:50 +00:00
Lisa Durand
215c989a6c
add question_answer in pdf and change local for optional field
2023-03-16 11:32:05 +01:00
Lisa Durand
ee2f795dec
pr feedbacks - add validation for yes/no answer - improve locales use
2023-03-16 11:32:05 +01:00
Lisa Durand
3b3d5182bf
add new column to spreadsheets
2023-03-16 11:32:05 +01:00
Lisa Durand
38c84115e6
reorganise file order for more consistency
2023-03-16 11:32:05 +01:00
Lisa Durand
eddd7a2192
add flash alert if email field empty
2023-03-16 11:32:05 +01:00
Lisa Durand
1cbafd1e0b
remove unused view instruction for instructeur
2023-03-16 11:32:05 +01:00
Lisa Durand
5b0570d289
add new fields to serializer
2023-03-16 11:32:05 +01:00
Lisa Durand
0679fdc55f
delete duplicated form file
2023-03-16 11:32:05 +01:00
Lisa Durand
a4a99a72ec
first step to add question in experts avis
2023-03-16 11:32:05 +01:00
Paul Chavard
4ba3c0e650
fix(graphql): return empty array when no attachments
2023-03-16 10:59:08 +01:00
simon lehericey
8b5d493f12
clean: log current_user in api v2, when not using token_v3
2023-03-16 10:06:23 +01:00
simon lehericey
7a6658700e
clean: log current_user in api v1
2023-03-16 10:06:23 +01:00
simon lehericey
c0ca9f156e
clean: remove unused Current.instructeur
2023-03-15 21:51:02 +01:00
simon lehericey
a984c21f64
clean: remove unused Current.administrateur
2023-03-15 21:51:02 +01:00
Paul Chavard
d481222110
refactor(graphql): extract compute_demarche_authorization
2023-03-15 19:09:49 +01:00
Paul Chavard
42e74dfc76
feat(api_token): enable fin graned access rights on tokens
2023-03-15 19:09:49 +01:00
Paul Chavard
8ee13f1719
feat(api_token): add allowed_procedure_ids and write_access
2023-03-15 19:09:49 +01:00
Paul Chavard
85d31632e3
feat(graphql): add read_only check to mutations
2023-03-15 19:09:49 +01:00
Paul Chavard
64f79bb6d8
feat(api_token): add allowed_procedure_ids to api tokens
2023-03-15 19:09:49 +01:00
Colin Darie
84271526f3
fix(admin): translation keys for private revision changes
2023-03-15 19:00:17 +01:00
Colin Darie
e2ec46a5ba
chore(sentry): set dossier scope for instructeurs as well
2023-03-15 18:59:44 +01:00
Colin Darie
b628cf85cd
feat(siret): render siret formatted like INSEE
2023-03-15 12:43:56 +01:00
Colin Darie
37afd142cb
fix(entreprise): don't leak entreprise name if it's not diffusable
2023-03-15 12:43:56 +01:00
Colin Darie
fc0f9ce193
Merge pull request #8757 from colinux/manager-save-click-to-admin
...
Manager: liens directs vers les pages ETQ admin et ETQ instructeur d'une démarche
2023-03-14 15:55:01 +00:00
Paul Chavard
53e6ad135f
Update app/controllers/concerns/turbo_champs_concern.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-03-14 15:22:13 +01:00
Paul Chavard
c521724cf4
Update app/components/dossiers/edit_footer_component.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-03-14 15:22:13 +01:00
Paul Chavard
cbaa77fca7
feat(annotations): activate autosave
2023-03-14 15:22:13 +01:00
Lisa Durand
ff10a03ffe
Merge pull request #8755 from demarches-simplifiees/adjust-badge-for-usager
...
[design] Corriger l'alignement des badges du dossier côté usager
2023-03-14 13:11:57 +00:00
LeSim
2d203d6461
Merge pull request #8756 from colinux/fix-cron-expired-dossiers-brouillon
...
fix(job): ExpiredDossiersDeletionJob détruit en batch les dossiers en brouillon expirés
2023-03-14 12:35:41 +00:00
Lisa Durand
2554f72668
remove useless class in html
2023-03-14 11:04:19 +01:00
Colin Darie
219c50ccaa
feat(manager): direct link to procedure admin & instructeur pages
2023-03-13 11:01:14 +01:00
Colin Darie
520142a9c6
fix(job): Cron::ExpiredDossiersDeletionJob destroy brouillon expired in batch
2023-03-13 10:32:53 +01:00
Lisa Durand
17c8450450
adjust badge alignement for users dossiers
2023-03-10 17:54:10 +01:00
mfo
df05c4fbc5
Merge pull request #8754 from mfo/US/fix-duree-conservation-dans-ds
...
correctif(procedure.maj): quand la duree conservation dans ds est supérieur a 12, on ne pouvait plus mettre a jour la procedure
2023-03-10 09:28:31 +00:00
Lisa Durand
1f03130d52
Merge pull request #8728 from demarches-simplifiees/revoke-usager-transfert-demande
...
[usager] peut révoquer une demande de transfert
2023-03-10 09:21:59 +00:00
Martin
0b3f279012
correctif(procedure.maj): utilise procedure.max_duree_conservation_dossiers_dans_ds plutot que duree_conservation_etendue_par_ds pour contraindre la saisie du champs duree_conservation_dossiers_dans_ds
2023-03-10 10:18:29 +01:00
Colin Darie
6a2a7fa2d0
Merge pull request #8753 from colinux/fix-auto-numering-in-repetition
...
Fix(dossier): ne numérote pas automatiquement les titres de section dans les répétitions
2023-03-09 15:41:57 +00:00
Colin Darie
88efef0718
Merge pull request #8749 from colinux/fix-tags-persistence
...
Administrateur: ne supprime pas les tags quand on n'interagit pas avec la liste de sélection
2023-03-09 15:25:15 +00:00
Colin Darie
6243e5fb92
Merge pull request #8748 from colinux/fix-clone-estimated-dossier
...
Administrateur: le clone d'une démarche ne copie pas le cache du nombre de dossiers
2023-03-09 15:25:08 +00:00
Colin Darie
bc1ade02c0
Merge pull request #8750 from colinux/fix-jobs
...
Jobs: rallonge durée max pour les exports, fix des timeouts, isole DossierRebase
2023-03-09 15:22:30 +00:00
Colin Darie
f33d192142
fix(dossier): don't auto-number header sections in repetitions
2023-03-09 16:15:56 +01:00
Colin Darie
4288f28ac8
chore(job): same max_run_time between ArchiveCreationJob and ExportJob
2023-03-09 15:37:13 +01:00
Colin Darie
697aeeb348
refactor(job): DossieRebaseJob in new queue so they don't interfere with others
...
Ces jobs sont empilés par milliers d'un coup et peuvent mettre des dizaines
de minutes à s'écouler. On ne veut pas que ça interfère avec d'autres jobs,
notamment les scans antivirus qui, si retardés, empilent des "poll" pour
connaitre le status du fichier.
2023-03-09 15:18:14 +01:00
Lisa Durand
6ba47b731b
refacto destroy action and add spec for unauthorized user
2023-03-09 14:58:47 +01:00
Lisa Durand
507d01dd44
use dsfr table for transfer receiver view
2023-03-09 14:58:44 +01:00
Lisa Durand
3d5bf40c0f
allow transfer sender to revoke a transfer
2023-03-09 14:57:59 +01:00
Colin Darie
9e6d06fd9c
fix(job): attempt to fix a pg timeout int Cron::NotifyDraftNotSubmittedJob
2023-03-08 18:45:02 +01:00
Colin Darie
86f15b8c05
chore(job): config delayed job for long-living export jobs
2023-03-08 18:37:41 +01:00
Colin Darie
6b87c290cb
fix(cron): PurgeOldEmailEvent in batches
2023-03-08 15:31:10 +01:00
Colin Darie
d20114f978
chore(sentry): use "procedure" tag everywhere for a better debug experience
2023-03-08 13:48:44 +01:00
Eric Leroy-Terquem
72b6dacfbd
fix(API): remove notification to group when instructeurs removed
2023-03-08 11:59:58 +01:00
Eric Leroy-Terquem
6c277e8678
fix(groupe instructeur API): move condition to catch error
2023-03-08 11:59:58 +01:00
Eric Leroy-Terquem
a150aa33ef
feat(GroupeInstructeurSupprimerInstructeurs): add notification for removed instructeurs via API
2023-03-08 11:59:58 +01:00
Eric Leroy-Terquem
ac0d7a67a1
feat(GroupeInstructeurAjouterInstructeurs): add notification for added instructeurs via API
2023-03-08 11:59:58 +01:00
Eric Leroy-Terquem
b2f3a7af4c
feat(GroupeInstructeurSupprimerInstructeurs): enable emailing for unrouted procedures
2023-03-08 11:59:55 +01:00
Colin Darie
c112018ec3
fix(administrateur): tags persistence when non interacting with tags combobox
2023-03-08 11:27:31 +01:00
Eric Leroy-Terquem
9e0753a710
fix(groupe instructeur mailer): do not notify if no added instructeurs
2023-03-08 11:03:33 +01:00
Eric Leroy-Terquem
e1906febcc
feat(groupe instructeur): can enable routing from import
2023-03-08 10:48:02 +01:00
Eric Leroy-Terquem
9f0f5b0dc5
feat(groupe instructeur): allow import of many groups when procedure is not routed yet
2023-03-08 10:48:02 +01:00
Colin Darie
d6887f8aa4
fix(procedure): clone reset estimated_dossiers_count
2023-03-07 19:11:30 +01:00
Colin Darie
126819939b
Merge pull request #8678 from colinux/fix-explication-read-more-button
...
fix(a11y): improve Explication "lire plus" accessibility
2023-03-07 15:37:02 +00:00
Martin
2b99bbd836
correctif(cadastre): certaines parcelles cadastrales ne contiennent pas la surface. cf: cadastre : numero: 4120 commune: 73094 prefixe: 000 section: A à CREST VOLAND
2023-03-07 14:42:44 +01:00
Martin
5e24c0e19a
correctif(dossier.export.pdf): l'export au format pdf d'un dossier ayant un champ de type repetition contenant un titre est bien sous-sectionné
2023-03-07 07:00:28 +01:00
mfo
6e86a0e622
Merge pull request #8744 from mfo/US/8737/correctif-export-sans-avis-expert
...
correctif(export.zip): integre les avis dans l'export au format pdf du dossier
2023-03-06 15:35:57 +00:00
Colin Darie
d87495c5fc
Merge pull request #8723 from colinux/fix-failing-jobs
...
Attempts to fix timeout and errors cron jobs
2023-03-06 14:02:55 +00:00
Martin
c470cca9ab
correctif(export.zip): integre les avis dans l'export au format pdf du dossier
2023-03-06 14:58:26 +01:00
Colin Darie
43613009d6
fix(job): Cron::WeeklyOverviewJob simplified and respect dolist API rate limiting
2023-03-06 14:39:55 +01:00
Colin Darie
f8f14830a6
fix(missing-antivirus-job): retry when backend is unavailable
2023-03-06 14:39:55 +01:00
Lisa Durand
875d5b7ce5
Merge pull request #8710 from demarches-simplifiees/use-DSFR-class-badge-for-dossier-states
...
[Design] Implémentation des classes DSFR pour les badges d'état des dossiers
2023-03-06 11:45:42 +00:00
Lisa Durand
4a75dffa08
simplification for duplicated when and re-implement .label class in case it is still used
2023-03-06 12:27:21 +01:00
Lisa Durand
d65050ff44
Merge pull request #8701 from demarches-simplifiees/improve-instruction-dropdown
...
[instructeurs] amelioration UX du bouton d'instruction
2023-03-06 10:45:00 +00:00
Colin Darie
35674838d1
Merge pull request #8720 from demarches-simplifiees/feat/8549
...
ETQ administrateur, je souhaite filtrer avec plusieurs tags
2023-03-06 10:19:22 +00:00
Colin Darie
8722ee028d
Merge pull request #8729 from colinux/fix-groupe-instructeur-wrongly-invalid
...
fix(groupe-instructeur): un groupe instructeur inactif est valide tant qu'il reste un groupe actif
2023-03-06 10:13:16 +00:00
Kara Diaby
cb0417aad4
Possibilité de selectionner plusieurs tags dans la page toutes les demarches
2023-03-03 11:50:47 +01:00
Lisa Durand
d334d70f13
use DSFR class for dossier states badge
2023-03-02 16:37:05 +01:00
Lisa Durand
99c5a1f298
use DSFR classes for btn and form inside the dropdown
2023-03-02 16:34:58 +01:00
Lisa Durand
7130ea7e99
fix specs
2023-03-02 16:34:58 +01:00
Lisa Durand
a4932a749c
improve UX of instruction dropdown menu
2023-03-02 16:34:58 +01:00
Colin Darie
20d4a8153d
fix(groupe-instructeur): a closed groupe with an active groupe is a valid record
2023-03-02 16:34:18 +01:00
Damien Le Thiec
687c05e6d1
Merge pull request #8622 from demarches-simplifiees/fix/stored_query_issue
...
Dossier prefill get without stored queries
2023-03-02 14:01:04 +00:00
Lisa Durand
54f17ad3c7
Merge pull request #8630 from demarches-simplifiees/harmonize-actions-for-instructeurs
...
[instructeurs] Uniformiser les actions pour les instructeurs sur la page tableau et dossier
2023-03-02 13:28:23 +00:00
Paul Chavard
e89e31c66f
Merge pull request #8725 from mfo/US/fix-change-pj
...
correctif(admin/procedures#champs): ajoute le formulaire pour supprimer une PJ
2023-03-02 13:01:32 +00:00
Paul Chavard
6647be216b
Merge pull request #8722 from E-L-T/do-not-notify-group-when-instructeurs-removed
...
feat(groupe instructeur): do not notify group when instructeurs removed
2023-03-02 12:51:23 +00:00
Martin
81c389a465
correctif(admin/procedures#champs): ajoute le formulaire pour supprimer une PJ
2023-03-02 13:51:00 +01:00
Christophe Robillard
6af01077b6
disable 2FA according to config
...
2FA is disabled for superadmin unless `SUPER_ADMIN_OTP_ENABLED` is equal
to `enabled` (default value)
2023-03-02 13:47:48 +01:00
Colin Darie
e9585632d9
fix(job): hopefully fix pg timeouts in Cron::PurgeUnattachedBlobsJob
2023-03-02 13:42:04 +01:00
Paul Chavard
ac00a91984
fix(graphql): fix etablissement in degraded mode
2023-03-02 13:32:17 +01:00
Eric Leroy-Terquem
f6c4986e86
feat(groupe instructeur mailer): do not notify group when instructeurs removed
2023-03-02 09:46:58 +01:00
Colin Darie
9512ac467c
fix(job): attempt for timeout on Cron::ExpiredDossiersDeletionJob
2023-03-01 19:00:52 +01:00
sebastiencarceles
00fa8dc895
transform value to also populate external id
2023-03-01 14:03:54 +01:00
sebastiencarceles
a7b21fcd7c
let address champ be prefillable
2023-03-01 14:03:54 +01:00
Colin Darie
f752dd7085
Merge pull request #8718 from tchak/feat-old-browsers-datetime
...
fix(datetime): improuve datetime field on old browsers
2023-03-01 11:52:11 +00:00
Paul Chavard
d3ef0fcf79
fix(datetime): improuve datetime field on old browsers
2023-03-01 12:30:25 +01:00
Christophe Robillard
6851a9ee52
falsify opendata flag for some procedures
...
`procedures:falsify_opendata_procedures` rake task allows to falsify
opndata flag for procedures listed in csv file given in input (with only
one column : id column)
2023-03-01 11:47:11 +01:00
Paul Chavard
ef970dbfe5
Merge pull request #8716 from tchak/feat-number-input
...
fix(form): disable scroll wheel on number inputs
2023-03-01 10:31:38 +00:00
Paul Chavard
983c533eef
fix(form): disable scroll wheel on number inputs
2023-03-01 11:11:37 +01:00
krichtof
5840c8c7f9
Merge pull request #8711 from demarches-simplifiees/8708-demarches-publiques
...
Ne pas publier le descriptif de toutes les procedures sur datagouv
2023-03-01 10:09:47 +00:00
Damien Le Thiec
8a7cb3f1fe
Merge branch 'main' into fix/stored_query_issue
2023-03-01 10:22:40 +01:00
Colin Darie
3f15647b8e
refactor(a11y/combosearch): every combo with screen reader better support
2023-03-01 09:38:45 +01:00
Colin Darie
71d43e9591
feat(a11y/combosearch): translatations for screen reader
2023-03-01 09:38:44 +01:00
Colin Darie
acffd45a22
feat(a11y/combosearch): add aria-ownws props
...
However it may be redundant due to aria-controls presence.
Cf #8643
2023-03-01 09:36:08 +01:00
Colin Darie
07579c9a58
feat(a11y/combosearch): announce results to screen readers
...
From http://haltersweb.github.io/Accessibility/autocomplete.html
Closes #8643
2023-03-01 09:36:08 +01:00
Colin Darie
6dd7e867d2
feat(a11y/combosearch): add screen reader instructions
...
Cf #8643
2023-03-01 09:36:07 +01:00
Sébastien Carceles
3c0eaae24c
Merge pull request #8625 from demarches-simplifiees/prefill/annuaire-education
...
feat(dossier): prefill annuaire education champ
2023-03-01 08:20:59 +00:00
Colin Darie
ee6e3911cd
Merge pull request #8712 from colinux/fix-annotations-privees-auto-numbering
...
fix(annotations-privees): initialisation de la numérotation automatique
2023-02-28 17:53:22 +00:00
Paul Chavard
c8571f0ee4
Merge pull request #8639 from tchak/a11y-progress-bar
...
refactor(progress): move progress bar markup to haml
2023-02-28 17:50:22 +00:00
Paul Chavard
f31241e067
fix(graphql): fix etablissement as_degraded_mode?
2023-02-28 18:09:13 +01:00
Colin Darie
c05cc4a42d
fix(annotations-privees): auto counter was not properly enabled
2023-02-28 17:49:39 +01:00
Christophe Robillard
9ff88db48c
publish only some opendata procedures for datagouv
...
- only published or closed procedures
- only procedures with flag opendata
- only procedures with 4 or more dossiers
- only procedures without word "mail" in lien_site_web
- only procedures without word "intra" in lien_site_web
2023-02-28 17:02:08 +01:00
Damien Le Thiec
a6db8a6556
Remove prefill token expire at
2023-02-28 16:54:52 +01:00
Paul Chavard
47a8d33d85
refactor(progress_bar): should be a component
2023-02-28 16:36:18 +01:00
Julie Salha
af31e097fb
Add a11y attributes progressbar
...
Peux-tu également prévoir une traduction pour l'attribut aria-label stp ? ("File upload").
N'hésite pas si tu as des questions.
2023-02-28 16:36:18 +01:00
Paul Chavard
97f0df0598
refactor(progress): move progress bar markup to haml
2023-02-28 16:36:18 +01:00
Paul Chavard
294a5135ce
feat(public/api): add dossier state api
2023-02-28 16:35:25 +01:00
sebastiencarceles
f52554b5a3
review: update value with async fetch
...
1 - spec cover the job which fetches external data
2 - refactor the job with guard clauses
3 - delegate update operation to the champ itself
4 - annuaire education: override the update operation
to let the value be populated by the fetched data
5 - prefilling: don't fetch data synchronously
2023-02-28 14:53:08 +01:00
sebastiencarceles
d7bfb9dc18
enrich value from education api
2023-02-28 14:23:38 +01:00
Paul Chavard
c339f609c0
fix(demarches): improuve turbo refresh on demarches page
2023-02-28 14:05:23 +01:00
sebastiencarceles
71f1e785ab
let annuaire education champ be prefillable
2023-02-28 13:26:35 +01:00
krichtof
dee499d386
Merge pull request #8706 from demarches-simplifiees/all_demarches_even_without_zones
...
liste toutes les démarches, même celles non associées à des zones
2023-02-28 10:58:07 +00:00
Colin Darie
cc6ea04539
Merge pull request #8702 from colinux/fix-ban-shortcut-noresult
...
fix(combo-address): provide a valid empty response
2023-02-28 09:00:21 +00:00
sebastiencarceles
a08bb1bddc
fix epci: all possible values
2023-02-28 08:37:52 +01:00
sebastiencarceles
2ae2d99e93
fix communes: all possible values
2023-02-28 08:36:43 +01:00
Colin Darie
396f545cf2
fix(comboadress): provide a valid empty response
2023-02-27 18:41:02 +01:00
Lisa Durand
07bb27a3af
add repasser_en_instruction to dossiers expirants
2023-02-27 17:57:46 +01:00
Lisa Durand
e076981571
add comment in dsfr.scss
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-02-27 17:49:48 +01:00
Colin Darie
da5618b9fc
Merge pull request #8673 from colinux/translate-help-dropdown
...
Accessibilité: traduit les menus contextuels d'aide, normalise l'affichage et les icônes (dsfr)
2023-02-27 16:40:27 +00:00
Colin Darie
ae93d3927e
refactor(dossier): extract sections logic in a concern
2023-02-27 17:29:22 +01:00
Colin Darie
8156e1cc01
feat(admin): notice about auto numbering of header section
2023-02-27 17:29:22 +01:00
Colin Darie
1981bfc88e
feat(tdc): strip libelle so header section titles always start with something
2023-02-27 17:29:22 +01:00
Colin Darie
d7880f7e58
feat(dossier/pdf): header sections numbering
2023-02-27 17:29:22 +01:00
Colin Darie
3de089d6c7
fix(conditional): dynamic title counters using css
...
Closes #8086
2023-02-27 17:29:22 +01:00
Colin Darie
4d1a5f230c
feat(a11y/i18n): inject user locale to chat / crisp
2023-02-27 17:23:43 +01:00
Colin Darie
8a340b6f74
fix(upload): missing i18n key
2023-02-27 17:23:43 +01:00
Colin Darie
a931bea712
feat(a11y/i18n): translate skiplinks
2023-02-27 17:23:43 +01:00
Colin Darie
7a67345d49
refactor(help_dropdown): fix font sizes & use dsfr icons
2023-02-27 17:23:43 +01:00
Colin Darie
11fb3a5ca8
fix(i18n): translate contextual procedure help dropdown
...
Cf #8665
2023-02-27 17:23:43 +01:00
Paul Chavard
7076d6d99e
fix(turbo): rerender only top part of the header
2023-02-27 16:06:11 +01:00
sebastiencarceles
35f4874b69
allow integers only
2023-02-27 15:16:40 +01:00
sebastiencarceles
13229158bd
let dossier link champ be prefillable
2023-02-27 15:14:39 +01:00
sebastiencarceles
0e3126cf83
review: readability
2023-02-27 14:35:11 +01:00
sebastiencarceles
39545671f3
refacto: better error management
2023-02-27 14:35:11 +01:00
Sébastien Carceles
e89c8385a4
fetch association data when editing the dossier
2023-02-27 14:35:11 +01:00
sebastiencarceles
33fa40eda2
don't clean the rna champ value
...
Cleaning the value is useless, when fetching the association,
as the value will be re-written by the dossier update, when the user
fills in the dossier.
Furthermore we need the value to persist when prefilling the champ.
2023-02-27 14:35:11 +01:00
Sébastien Carceles
7e55aca107
allow rna prefill
2023-02-27 14:35:11 +01:00
sebastiencarceles
396ebbcf2b
refactor rna controller to use that new ability
2023-02-27 14:31:58 +01:00
sebastiencarceles
7d65a34bc6
rna champ can fetch it's own association
2023-02-27 14:31:58 +01:00
Lisa Durand
636e6aa6cb
fix broken tabs with turbostream
2023-02-27 14:30:10 +01:00
Sébastien Carceles
e16f2bc39d
Merge branch 'main' into prefill/siret
2023-02-27 14:13:03 +01:00
sebastiencarceles
becf4da70a
fix raison social fetch
2023-02-27 13:54:35 +01:00
Paul Chavard
2a6065ea31
Merge pull request #8694 from tchak/fix-filter-options
...
fix(filter): fix find type de champ by stable_id
2023-02-27 12:48:25 +00:00
sebastiencarceles
30eef3e128
review: detailled error message
2023-02-27 13:45:16 +01:00
Sébastien Carceles
2ad4e4c01f
refacto: better error management
2023-02-27 13:45:16 +01:00
Sébastien Carceles
b6c74b0e83
fetch etablissement when editing the dossier
2023-02-27 13:45:16 +01:00
Sébastien Carceles
df2eaa9542
don't clean the siret champ value
...
Cleaning the value is useless, when fetching the etablissement,
as the value will be re-written by the dossier update, when the user
fills in the dossier.
2023-02-27 13:45:16 +01:00
Sébastien Carceles
3eb76d8a43
allow siret prefilling
2023-02-27 13:45:16 +01:00
Sébastien Carceles
88136daf14
refactor siret controller to use that new ability
2023-02-27 13:39:31 +01:00
Sébastien Carceles
5876dab096
siret champ can fetch it's own etablissement
2023-02-27 13:39:31 +01:00
Paul Chavard
b9080e2ff5
Merge pull request #8698 from tchak/fix-adresse-select
...
fix(autocomplete): avoid double escape of query params
2023-02-27 11:32:46 +00:00
sebastiencarceles
da6ce0f528
add example
2023-02-27 12:20:11 +01:00
Paul Chavard
68fd34a732
fix(autocomplete): avoid double escape of query params
2023-02-27 12:01:12 +01:00
sebastiencarceles
76c9d1ada5
add possible values
2023-02-27 11:53:25 +01:00
sebastiencarceles
40b7ea3af2
transform the input value to assignable attributes
2023-02-27 11:51:24 +01:00
sebastiencarceles
46091cb6b4
let communes champ be prefillable
2023-02-27 11:50:25 +01:00
sebastiencarceles
83802a507a
return communes with the APIGeoService
2023-02-27 11:47:34 +01:00
Damien Le Thiec
67bbacbb05
Merge pull request #8513 from demarches-simplifiees/feature/prefill_repetible
...
Prefill repeatable
2023-02-27 09:58:53 +00:00
Damien Le Thiec
d7592afdd1
Draft session management Prefill get
2023-02-27 10:48:59 +01:00
Lisa Durand
6487e2c27e
implement turbostream back for state change in dossier view
2023-02-24 17:54:53 +01:00
Christophe Robillard
4e8a6f6b11
show published_at only if exist
2023-02-24 17:45:01 +01:00
Christophe Robillard
1d6c2fd7eb
display procedures without zones
2023-02-24 17:27:28 +01:00
Paul Chavard
14d889b317
fix(procedure): fix translations in changes component
2023-02-24 13:39:03 +01:00
Paul Chavard
531c5ec056
fix(filter): fix find type de champ by stable_id
2023-02-24 13:32:46 +01:00
mfo
3b51654024
Merge pull request #8680 from tchak/more-communes
...
feat(apigeo): enable all zones on departements api
2023-02-24 10:49:46 +01:00
mfo
ec4c702ac5
Merge pull request #8692 from mfo/hs/2162307059/2015014
...
correctif(filtres): les filtres par colonne se font par stable_id, non pas par id
2023-02-24 10:41:28 +01:00
Martin
ff9bb8a3cc
correctif(annotations-privee): ajout du delete form component pour supprimer une annotation privee
2023-02-24 10:19:41 +01:00
Martin
fc1bb68a3a
correctif(filtres): les filtres par colonne se font par stable_id, non pas par id
2023-02-24 09:39:16 +01:00
Paul Chavard
bdb15aaa4a
feat(apigeo): enable all zones on departements api
2023-02-23 17:28:02 +01:00
Paul Chavard
21f47dcb01
feat(procedure): include deleted dossiers in stats
2023-02-23 17:14:25 +01:00
Lisa Durand
b03748d3dd
fix actions rules for archived and expirant dossiers
2023-02-23 17:03:55 +01:00
Paul Chavard
eb3039aeca
fix(demarche): exclude preview and deleted dossiers from stats
2023-02-23 16:38:40 +01:00
Lisa Durand
76947a5ccf
add mention if user_deleted and move dossier info back to info_generales
2023-02-23 16:05:43 +01:00
Lisa Durand
90a7ecef52
rename state button to instruction button
2023-02-23 16:05:38 +01:00
Christophe Robillard
38fa7a44c3
publish opendata demarches only if they are publiees or closes
2023-02-23 15:47:18 +01:00
Martin
a584279020
chore(deadcode): drop deadcode
2023-02-23 15:23:20 +01:00
Martin
c00c4936b2
correctif(a11y): traite aussi les avis d'expert avec la nouvelle methode de rendu des textes saisis par des admin/instructeur/expert
2023-02-23 15:23:20 +01:00
Martin
8a44e6a03c
correctif(a11y): #8179 , quand la messagerie est desactivée. supprime les br et utilise le nouveau mode de rendu pour afficher les horaires saisies par l'administration
2023-02-23 15:23:20 +01:00
Martin
fd203f5bb7
correctif(a11y): #8105 format les messages de la messageries avec la nouvelle methode pour rendre les textes saisies par les admin et les instructeurs
2023-02-23 15:23:20 +01:00
Martin
a68d89b183
correctif(a11y): #8168 , dans le footer d'une procedure, ne pas afficher pas la list-item horaire/telephone si les deux sont vides. Sinon afficher uniquement les informations disponibles
2023-02-23 15:23:20 +01:00
Martin
571268dd77
correctif(a11y): #8168 , ajout d'une option pour forcer l'usage d'une classe en fonction dy type de balise rendu par SimpleFormatComponent
2023-02-23 15:23:20 +01:00
Martin
c8e9b2f008
correctif(a11y): #8105 , pour les callout, utilise un div wrappant du contenu html
2023-02-23 15:23:20 +01:00
Martin
4fd799390b
correctif(a11y): #8107 (et d'autres), utilise le nouveau composant pour rendre les textes saisies par les admins accessible
2023-02-23 15:23:20 +01:00
Martin
4d8b4e078b
amelioration(a11y): extrait un nouveau composant pour rendre du texte saisi par un humain accessible
2023-02-23 15:23:20 +01:00
Eric Leroy-Terquem
58ec1b1688
Merge pull request #8681 from E-L-T/notify-added-instructeurs-from-import
...
feat(instructeurs import): notify added instructeurs from import
2023-02-23 10:12:20 +00:00
Eric Leroy-Terquem
2f0a46386f
Merge pull request #8675 from E-L-T/allow-links-in-flash-messages
...
fix(flash messages): allow links in flash messages
2023-02-23 10:02:41 +00:00
Damien Le Thiec
17f8475b07
Refacto comparaison typed id
2023-02-23 11:00:09 +01:00
Eric Leroy-Terquem
4ea1d7d33b
feat(groupe instructeurs import): notify added instructeurs
2023-02-23 10:56:55 +01:00
Eric Leroy-Terquem
a6e01d98ea
feat(instructeurs import): notify added instructeurs
2023-02-23 10:56:55 +01:00
Eric Leroy-Terquem
d516d2a3eb
feat(groupe instructeur): add a confirm modal before import
2023-02-23 10:56:55 +01:00
Lisa Durand
8d44c327f7
add 2 icons and make delete button in red
2023-02-23 10:56:33 +01:00
Eric Leroy-Terquem
127f86e8ae
feat(flash messages): add a helper method to keep link when sanitizing
2023-02-23 10:26:46 +01:00
Damien Le Thiec
61d2edc42e
Cache champ attributes
2023-02-22 20:05:36 +01:00
Damien Le Thiec
731cd56594
Merge branch 'main' into feature/prefill_repetible
2023-02-22 19:49:06 +01:00
Damien Le Thiec
ca29079c27
Fix rubocop
2023-02-22 19:40:52 +01:00
Damien Le Thiec
fbe4fe251a
Fix format prefill repetition
2023-02-22 19:32:25 +01:00
Lisa Durand
fddcce8b7b
fix specs
2023-02-22 18:17:06 +01:00
Colin Darie
fc6051a4b9
fix(a11y/upload): role=status on progress antivirus & watermark
...
Cf #8555
2023-02-22 14:03:55 +01:00
Colin Darie
e4af86fb96
fix(a11y): explication "lire plus" styled as button
...
Cf #8662
2023-02-22 12:56:31 +01:00
Paul Chavard
3c3629d151
refactor(instructeurs): add_instructeurs should add
2023-02-22 09:49:26 +01:00
Paul Chavard
302ddb9951
refactor(instructeurs): use add_instructeurs in import service
2023-02-22 09:49:26 +01:00
Paul Chavard
fcd0f7c609
bring back find_or_create_instructeurs
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
d0c432d939
refactor(groupe instructeur): move method to Instructeur model
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
7e97825fd2
refactor(instructeurs import service): use groupe_instructeur model methods
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
d45efa99bc
refactor(groupe_instructeurs): extract method for flash message at import
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
25df48f255
feat(groupe_instructeurs): import instructeurs in unrouted procedure with a proper CSV
2023-02-22 09:49:26 +01:00
Colin Darie
8a3bb0c38e
fix(instructeurs): combobox layout in "personnes impliquees" tab
...
Closes #8527
2023-02-21 18:20:30 +01:00
Martin
f6fb1ceca5
correctif(attachement_edit): ajoute le cmmposant <form> pour supprimer un attachment via le nouveau <button>
2023-02-21 16:41:18 +01:00
Paul Chavard
9c0cd8979a
fix(graphql): context should correctly preserve demarche authorization state
2023-02-21 16:06:39 +01:00
Damien Le Thiec
2052bc7840
Remove dependency type_de_champ -> procedure
2023-02-21 16:00:58 +01:00
Paul Chavard
e56d51e0f6
fix(graphql): fix demarcheUrl
2023-02-21 10:57:43 +01:00
Christophe Robillard
9bab4f9d76
display dossiers count for each procedure
2023-02-21 10:06:07 +01:00
Christophe Robillard
c5acd82e6e
update dossiers count when passing to construction
2023-02-21 10:06:07 +01:00
Christophe Robillard
bd92291f8a
cache dossiers count
2023-02-21 10:06:07 +01:00
Martin
eca44ce60e
correctif(a11y): il est recommandé d'utilser un boutton pour la suppression d'un element. le bouton etant deja dans un form, nous ne pouvons pas utiliser le button_to. Extraction d'un form pour soumettre la suppression des pjs par des input pointant sur ce form
...
Update app/components/attachment/edit_component/edit_component.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
Update app/views/shared/dossiers/_edit.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
amelioration(attachment.destroy): force l'usage de turbo
2023-02-21 08:22:50 +01:00
Eric Leroy-Terquem
daef99109e
fix(groupe instructeur mailer): add translation for Bonjour
2023-02-20 15:59:42 +01:00
Eric Leroy-Terquem
7b12ec3ffe
refactor(groupe instructeur mailer): move translations in dedicated files
2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
343cb5fce6
feat(groupe instructeur mailer): add emailing to added instructeurs
2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
7c86df9d35
clean(groupe instructeur mailer): remove unused view
2023-02-20 15:40:32 +01:00
Damien Le Thiec
deb51e3880
Manage GET prefill by creating a dossier
2023-02-20 15:35:14 +01:00
Martin
a89f5d373f
amelioration(procedures#filtres): filtre par regions avec un enum sur la collection des regions normalisés
2023-02-20 11:47:14 +01:00
Martin
68de0c6566
correctif(procedures#filtres): le filtre par departement ne fonctionnait plus. utilise un enum sur la collection des departements possible normalisés
2023-02-20 11:47:14 +01:00
Damien Le Thiec
d2452980fe
Fix merge conflict spec
2023-02-16 20:17:05 +01:00
Damien Le Thiec
dce4c84f9a
Merge branch 'main' into feature/prefill_repetible
2023-02-16 17:08:30 +01:00
Damien Le Thiec
6231c75e07
Fix tests conflicts
2023-02-16 16:58:55 +01:00
Colin Darie
c968aa63d3
fix(a11y/password form): describedby rel with input and password rules
2023-02-16 16:15:40 +01:00
Colin Darie
31c99e935a
refactor(admin): migrate password form to DSFR components
2023-02-16 16:15:40 +01:00
Colin Darie
4f7839039d
refactor(password-complexity): as component for better form integration
2023-02-16 16:15:40 +01:00
Colin Darie
1f930dfe23
feat(user): can show password when editing password
2023-02-16 16:15:40 +01:00
Julie Salha
0e5deda86c
add scrolling functionnality for description procedure
2023-02-16 11:44:26 +01:00
Paul Chavard
c0ad7853cb
fix(administrateur): procedure page n+1
2023-02-16 11:29:21 +01:00
Sébastien Carceles
8c67df7130
review: use selected options
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-02-16 10:49:15 +01:00
sebastiencarceles
e344b97d51
review: readability
2023-02-16 10:49:15 +01:00
sebastiencarceles
d5ffd61ab6
validate values inclusion
2023-02-16 10:49:15 +01:00
sebastiencarceles
d648ac31c2
add prefill decorator for multiple drop down list
2023-02-16 10:49:15 +01:00
sebastiencarceles
cbe2dc9c2d
let the multiple drop down list be prefillable
2023-02-16 10:49:15 +01:00
Eric Leroy-Terquem
a46faf8cdf
feat(groupe instructeur mailer): make two kind of notifications for removed instructeur
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
5be58c8223
refactor(groupe instructeur mailer): rename mailer methods
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
cbf072961c
feat(groupe instructeur mailer): add emailing to removed instructeurs
2023-02-16 10:37:04 +01:00
Paul Chavard
ade9811d10
Revert "Merge pull request #8635 from tchak/graphql-with-traces"
...
This reverts commit 76520ec77d
, reversing
changes made to 2c729ff396
.
2023-02-16 10:07:07 +01:00
Martin
0fe027f408
a11y(main_menu): utilise aria-current=true plutot que avec page
2023-02-16 09:45:32 +01:00
Paul Chavard
74c6d45b74
feat(graphql): add tracing support for managers
2023-02-15 18:18:45 +01:00
Damien Le Thiec
96b9ec3f42
First fix tests
2023-02-15 18:13:16 +01:00
Damien Le Thiec
539b9e4f10
Merge branch 'main' into feature/prefill_repetible
2023-02-15 17:53:06 +01:00
Damien Le Thiec
4876d583b6
Merge branch 'main' into feature/prefill_repetible
2023-02-15 17:39:19 +01:00
Colin Darie
1de936e1d6
fix(procedures/all): table layout issue
2023-02-15 15:33:50 +01:00
Damien Le Thiec
5a89a2dbe4
Use Stable ID for repetitions prefill
2023-02-15 12:15:34 +01:00
sebastiencarceles
07b5a3b4b5
manage types de champ with multiple example values
2023-02-15 12:14:11 +01:00
sebastiencarceles
edf90a77f3
validate epci to reject incorrect prefill values
2023-02-15 12:14:11 +01:00
sebastiencarceles
5ac80f968a
add possible and example values
2023-02-15 12:14:11 +01:00
sebastiencarceles
f836f57e98
transform the input value to assignable attributes
...
Use the prefill decorator to transform the input value (for example
['01', '200042935']) into assignables attributes (for example
{ code_departement: '01', value: '200042935' }), in order to let the
champ be prefilled successfully.
2023-02-15 12:14:11 +01:00
sebastiencarceles
0f483668cf
let epci champ be prefillable
2023-02-15 12:14:11 +01:00
Paul Chavard
f6b528e497
chore(geo_area): normalize all geo_areas
2023-02-15 11:58:59 +01:00
Paul Chavard
8b74a6f39b
fix(geometry): implement our own bbox to replace rgeo
2023-02-15 11:58:59 +01:00
Martin
c45f15ff61
correctif(procedure/all.xsls): deconnecte le lien de telechargement de toutes les demarche de turbo
2023-02-15 11:26:21 +01:00
Damien Le Thiec
2533ca50d4
Merge branch 'main' into feature/prefill_repetible
2023-02-15 11:07:56 +01:00
Lisa Durand
b7a5f8bf7f
extract actions and info from dropdown
2023-02-14 17:57:50 +01:00
sebastiencarceles
6f65a4c2fe
🚨 line length
2023-02-14 13:49:41 +01:00
sebastiencarceles
681e1cf518
♻️ refactor possible_values impl for clarity
2023-02-14 13:45:30 +01:00
Julie Salha
6db07ca2a3
fix PR wording
2023-02-14 12:26:57 +01:00
Julie Salha
4fee6f3626
update label button
2023-02-14 12:17:44 +01:00
sebastiencarceles
a07446da6c
♻️ rename method for clarity
2023-02-14 11:45:39 +01:00
sebastiencarceles
0159a10969
🐛 make possible_values_list method public
2023-02-14 11:41:35 +01:00
sebastiencarceles
a77a0e2c7f
⚰️ dead code is dead
2023-02-14 11:35:35 +01:00
Julie Salha
81bc898cfb
optimization burger menu dsfr
2023-02-14 11:09:36 +01:00
sebastiencarceles
67ef3a16fa
review: put example values in translation yamls
2023-02-14 09:23:52 +01:00
Sébastien Carceles
12abf9045b
add external_id and value validation
2023-02-14 09:23:11 +01:00
Sébastien Carceles
a235829ddd
add possible and example values
2023-02-14 09:19:55 +01:00
Sébastien Carceles
cd3a72ddce
make departements champ prefillable
2023-02-14 09:19:19 +01:00
Damien Le Thiec
802a23057b
Microtest dossier prefill get without stored queries
2023-02-13 18:15:24 +01:00
mfo
76ef4ae96e
Merge pull request #8613 from colinux/email-template-subject-length
...
Email: limite le sujet généré à 100 caractères et utilise le sujet par défaut si le modèle est vide
2023-02-13 17:31:04 +01:00
sebastiencarceles
f0ffae8320
migrate(champs): normalize departements
2023-02-13 16:32:34 +01:00
Lisa Durand
58c287dad9
instructeur header dossier view restructuration
2023-02-13 15:41:18 +01:00
Damien Le Thiec
899c8a6589
Add documentation json parse rescue repetition
2023-02-13 14:17:53 +01:00
Martin
0a386994e5
correctif(messagerie): autorise l'usage des balises <a> dans la messagerie quand les messages viennent de l'administration
2023-02-13 13:45:08 +01:00
Martin
13cbbe9138
typo(fix): text+e
2023-02-13 11:43:44 +01:00
Sébastien Carceles
1a72b80f8f
fix: "remove" a champ to prefill ( #8612 )
...
* fix: "remove" a champ to prefill
Removing a champ to prefill on /preremplir used to fail, because of a
collusion (having the same form multiple times on un page looks like a
bad idea, when it comes to multiple input fields).
* fix specs
2023-02-13 08:17:22 +00:00
Damien Le Thiec
ea126612a1
Refacto to_assignable_attributes for prefill_repetition
2023-02-12 13:02:30 +01:00
Damien Le Thiec
fc94aaaa21
Use "to_assignable_attributes"
2023-02-12 11:55:28 +01:00
Damien Le Thiec
4a6841c009
Fix linter
2023-02-11 22:51:37 +01:00
Damien Le Thiec
dbb92e7fd3
Merge branch 'main' into feature/prefill_repetible
2023-02-11 22:40:56 +01:00
Damien Le Thiec
2a3ba28343
Fix tests possible value prefill
2023-02-11 22:27:16 +01:00
Damien Le Thiec
a4d707f942
Improve format prefill possible_values (tests missing)
2023-02-09 18:08:51 +01:00
Colin Darie
aeb602a63d
fix(mail): default subject fallback when subject template is empty
...
Closes #8448
2023-02-09 17:49:43 +01:00
Colin Darie
5526cb5173
fix(mail): limit generated subjects to 100 characters
2023-02-09 17:39:56 +01:00
Damien Le Thiec
4b0e6ea382
Convert datetime field to datetime_local ( #8572 )
...
* Convert datetime field to datetime_local
* Fix tests
* Add value formatting view datetime component
* Add helper datetime component value
2023-02-09 15:18:38 +01:00
sebastiencarceles
3404b5aa0b
review: wordings
2023-02-09 13:51:52 +01:00
sebastiencarceles
6c5b82ebbf
filter out locale from stored query params
...
As 'locale' isn't a param we want to prefill a dossier, we ignore it
and remove it from the stored query params.
2023-02-09 13:51:52 +01:00
sebastiencarceles
b3af9108cb
harmonize get and post: go to prefilled file
2023-02-09 13:51:52 +01:00
sebastiencarceles
e212055ef8
tell when query params have been stored
2023-02-09 13:51:52 +01:00
Julie Salha
bc06600b0d
optimization return to the line of longs links
2023-02-09 13:05:28 +01:00
Colin Darie
e626eb69ce
feat(admin): import groupe instructeurs csv when procedure is closed
2023-02-09 11:17:13 +01:00
Colin Darie
a4329b6699
chore(export/job): set procedure_id for sentry
2023-02-09 11:06:54 +01:00
Colin Darie
964f3829c6
fix(export/job): race condition when export was already generated
2023-02-09 11:06:54 +01:00
Colin Darie
8a859402ad
chore(mailer): setup Services Publics+ by env var so instances can have their owns
2023-02-09 10:47:53 +01:00
Colin Darie
d78c75620a
chore(mailer): services publics + only for Termine "states"
2023-02-09 10:47:53 +01:00
Colin Darie
82ad6346cc
chore(service-plus): replace svg by png, micro improve layout for clients compat
2023-02-09 10:47:53 +01:00
Lisa Durand
dfb1863d92
add logo service plus
2023-02-09 10:47:53 +01:00
Lisa Durand
2396ff3355
add service plus in notification emails
2023-02-09 10:47:53 +01:00
Paul Chavard
5f0e9f7313
fix(graphql): fixing couple of n+1
2023-02-09 10:37:44 +01:00
Kara Diaby
f212fa1008
Permet de cloner une démarche depuis la page toutes les démarches
2023-02-09 08:28:30 +00:00
Damien Le Thiec
c5f1f80d25
Add prefill params tests repetition
2023-02-08 17:38:51 +01:00
Paul Chavard
f22cc8812b
secu(graphql): log full queries and variables
2023-02-08 15:10:27 +01:00
Paul Chavard
1693e46acb
fix(dossier): prevent crash when updating champs in rebase
2023-02-08 14:56:26 +01:00
Colin Darie
786c3d06d6
chore(sentry): set procedure tag to administrateur controller
2023-02-08 14:42:14 +01:00
Colin Darie
0958053c72
chore(dossier): can destroy dossier having dossier_batch_operations
...
Ça peut arriver lors des démarches en test, avec des dossiers tests
en cours d'instruction.
2023-02-08 14:42:14 +01:00
Paul Chavard
dc9a455d22
fix(dossier): prevent crash in rebase
2023-02-08 11:11:14 +01:00
Eric Leroy-Terquem
0e60d6bb11
clean(groupe instructeurs): remove unused method
2023-02-08 10:36:42 +01:00
Eric Leroy-Terquem
6cbc514d56
feat(groupe instructeurs): remove mailing when add instructeurs
2023-02-08 10:36:42 +01:00
Colin Darie
6fa692d22e
fix(dolist): don't delivery by API emails having bcc
2023-02-07 16:51:44 +01:00
Julie Salha
9f61b0db19
remove last commit
2023-02-07 10:34:28 +01:00
Julie Salha
cf99c0450d
remove aria-label attribute burger menu
2023-02-07 10:31:57 +01:00
Martin
d2cd2d2b7b
amelioration(a11y): upload, quand on supprime un fichier, refocus sur l'input d'upload. quand on ajoute un fichier, refocus sur le fichier ajouté
2023-02-06 17:19:11 +01:00
Martin
c3fd555e6c
amelioration(a11y.invites): focus sur la liste des invitations lorsqu'on ajoute un invite a un dossier
2023-02-06 17:19:11 +01:00
Martin
ddc04a03a4
amelioration(a11y): permet les interactions clavier via les touches entrée et espace pour ouvrir et fermer le menu depliant quand le focus est sur le bouton
2023-02-06 17:19:11 +01:00
Kara Diaby
984ef67827
Prend en compte uniquement les procédures publiées dans les propositions de tags
2023-02-06 17:03:51 +01:00
Colin Darie
51338eebb1
fix(admin/conditional): don't break when target champ is empty but a value is still referenced
2023-02-06 16:49:39 +01:00
Paul Chavard
6924b8e46d
feat(dossier): optional repetition champ should not add first row
2023-02-06 11:53:32 +01:00
Paul Chavard
4ec9a4be37
fix(dossier): do not crash when a repetition is empty
2023-02-06 11:53:32 +01:00
Colin Darie
bfb96b6cb3
chore(sentry): sample traces JS, 0.1 for a start
2023-02-06 11:52:30 +01:00
Martin
1ee67d511d
amelioration(mails): permet a nos mails d'inclure des balises <a> pour faciliter l'usage des mail envoyés
2023-02-06 11:01:28 +01:00
simon lehericey
a1487e9923
fix: allow a tag in various admin text
2023-02-06 11:01:28 +01:00
Martin
f4cc8078b4
amelioration(EmailEvent): purge les email_events vieux de plus de un mois
...
Update app/models/email_event.rb
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/jobs/cron/purge_old_email_event_job.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-02-06 10:35:57 +01:00
Martin
f952e42ad1
amelioration(BalancerDeliveryMethod): evite d'envoyer les mails av PJ car pour le moment c'est une fonction payante chez Dolist 🤯
2023-02-03 17:19:36 +01:00
Martin
6a25120f80
amelioration(dolist_api): echoue avec un fail pour remonter dans notre gestion des retry
2023-02-03 17:19:36 +01:00
Martin
2de9026c13
amelioration(dolist_api): forward le message_id afin de faciliter les investigations
2023-02-03 17:19:36 +01:00
Lisa Durand
f80fe9680f
corrections from Sim review
2023-02-03 15:13:06 +01:00
Lisa Durand
f1a378bf03
dont'use DSFR component - add a line inside the table instead
2023-02-03 15:13:06 +01:00
Lisa Durand
1d1f5ad567
improve translation
2023-02-03 15:13:06 +01:00
Lisa Durand
3fdfc38faf
fix linter js
2023-02-03 15:13:06 +01:00
Lisa Durand
9aa6c55d1f
replace partial by component
2023-02-03 15:13:06 +01:00
Lisa Durand
1a79eb9717
change checkbox tag to hidden field
2023-02-03 15:13:06 +01:00
Lisa Durand
93a85ca4b0
add limit of 500 dossiers
2023-02-03 15:13:06 +01:00
Lisa Durand
5802f3f7cf
injected dossier_ids in front
2023-02-03 15:13:06 +01:00
Lisa Durand
4d1f164c43
be more specific on the count of dossiers we display in the table
2023-02-03 15:13:06 +01:00
mfo
48503e0743
Merge pull request #8533 from colinux/feat-dolist-send-mail-api
...
Email: API Dolist pour envoyer des emails transactionnels
2023-02-03 14:36:53 +01:00
Eric Leroy-Terquem
ff5fecef25
fix(dossiers_transfers): can destroy dossiers_transfers
2023-02-03 13:48:39 +01:00
Damien Le Thiec
63e7c17fda
First tests for prefill repetition
2023-02-03 12:14:18 +01:00
Julie Salha
31e4a7fe19
Merge branch 'main' into a11y-8225-navigation
2023-02-03 09:34:03 +01:00
Julie Salha
b39d658c06
fix translations tabs menu
2023-02-03 09:17:16 +01:00
Julie Salha
0e4a332706
Update app/views/administrateurs/procedures/index.html.haml
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-02-03 08:17:08 +01:00
Colin Darie
6d675579a5
feat(reset-pwd): warn users token link will override previous links
2023-02-02 22:15:10 +01:00
Colin Darie
a221c57fbc
feat(manager): resend reset password instructions
2023-02-02 22:15:10 +01:00
Julie Salha
c1ed6aa177
optimization burger menu
2023-02-02 16:46:46 +01:00
Colin Darie
6b011b8b44
chore(dolist): helper so we know if mail is sendable by API
2023-02-02 16:11:52 +01:00
Julie Salha
2db959531a
optimization navigation accessibility
2023-02-02 16:04:42 +01:00
Colin Darie
6a3de1b57a
chore(dolist): cache sender_id so we don't request it at each send
2023-02-02 16:02:27 +01:00
Colin Darie
9641a40ea7
chore(mailer): MailDeliveryError with original exception backtrace
2023-02-02 15:59:18 +01:00
Colin Darie
7fa966548c
fix(mailer): missing procedure logo for DossierMailer
2023-02-02 15:58:32 +01:00
Colin Darie
61cd9aa8c7
feat(dolist): send mail having attachments
2023-02-02 15:52:20 +01:00
Colin Darie
41c196f2ec
feat(dolist): send email from API
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-02-02 14:52:33 +01:00
simon lehericey
7461d84018
feat(log): log ip and correlation id
2023-02-02 11:20:05 +01:00
Paul Chavard
2971100081
fix(dossier): do not try to rebase if procedure is not published
2023-02-02 10:11:46 +01:00
Eric Leroy-Terquem
05a61d0cf2
fix(instructeurs): breadcrumbs with right wordings and links
2023-02-01 17:52:37 +01:00
Lisa Durand
3a82558c3f
use super instead of run_at
2023-02-01 17:06:04 +01:00
Lisa Durand
120fbb0ef7
Overload the finished_at
2023-02-01 17:06:04 +01:00
Lisa Durand
d0a131dc55
change the way we set the finished_at on batch operation job to fix alert display bug
2023-02-01 17:06:04 +01:00
Paul Chavard
dd2d3d4626
fix(task): improuve after party backfill_dossiers_repetitions
2023-02-01 15:27:07 +01:00
Damien Le Thiec
e7c78321d9
Fix new failing tests
2023-02-01 13:35:32 +01:00
Paul Chavard
3ad5e7d3b9
fix(tags): can edit tags on published demarches
2023-02-01 11:11:04 +01:00
Colin Darie
fa0f72aaba
feat(procedure): hide estimated fill duration when super admin disabled it
...
Closes #8466
2023-02-01 11:02:55 +01:00
Colin Darie
8e35c0a465
feat(manager): can disable estimated duration visibility
2023-02-01 11:02:55 +01:00
Colin Darie
eb9cd90ee8
chore(schema): +procedure#estimated_duration_visible
2023-02-01 11:02:55 +01:00
Paul Chavard
8bf0d9c5ec
fix(dossier): backfill missing repetition champs
2023-02-01 10:36:46 +01:00
Paul Chavard
9c83939431
fix(dossier): fix adding repetition in a new revision
2023-02-01 10:36:46 +01:00
Eric Leroy-Terquem
b306dea5cf
refactor(avis): rename revive by remind
2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
2475bb1098
feat(avis): add remind text in view
2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
004bf5be38
feat(avis): add remind_by! method
2023-02-01 09:55:46 +01:00
Colin Darie
d5fe29f666
chore(upload): hint about firewall blocking file upload
2023-01-31 17:09:28 +01:00
Damien Le Thiec
5a7b740f58
Clean rubocop alerts
2023-01-31 17:06:00 +01:00
Damien Le Thiec
4a07fd6223
Merge branch 'main' into feature/prefill_repetible
2023-01-31 16:49:40 +01:00
Damien Le Thiec
e1748a2666
Fix "see more" link for prefillable fields
2023-01-31 16:48:38 +01:00
Damien Le Thiec
d7b01255fe
Merge branch 'main' into feature/prefill_repetible
2023-01-31 16:39:00 +01:00
Martin
2edfcdd652
correctif(liens.invitations): utilise le mapping rails as: :target_model, sinon on requete uniquement par l'id du model, qui peut etre problématique en cas de relation polymorphiques avec des ensembles d'id se superposant
2023-01-31 16:33:31 +01:00
Damien Le Thiec
f91cc05d95
Small fix link to prefill type de champ
2023-01-31 16:24:32 +01:00
Damien Le Thiec
20ba96ba3c
POST working with prefill query example for repeating fields
2023-01-31 14:54:23 +01:00
Martin
88553eec9b
correctif(dossier_transfer): le transfer de dossier vers un email contenant des majuscule ne fonctionnait pas
2023-01-31 14:52:57 +01:00
Colin Darie
5cddb1c74e
fix(procedure_presentation): options groupe_instructeur for that procedure only
2023-01-31 13:55:06 +01:00
Colin Darie
be020e1031
fix(dropdown): error when click outside before unloading menu
...
Co-Authored-by: mfo <mfo@users.noreply.github.com>
2023-01-31 12:09:50 +01:00
Paul Chavard
dcbe16603a
fix(dossier): fix parser with dashes
2023-01-31 10:40:48 +01:00
Colin Darie
efea44b9ba
fix(combobox): form submission when form has combobox and input file without file selected
2023-01-31 09:44:41 +01:00
Paul Chavard
ca05fb753b
fix(only_present_on_draft?): broken when type_de_champ is removed from later revisions
2023-01-31 09:26:50 +01:00
mfo
b1d94317b2
Merge pull request #8529 from colinux/fix-pdf-annotations-privees
...
fix(instructeurs): exports PDF avec annotations privées
2023-01-31 09:23:59 +01:00
Colin Darie
36d5569114
fix(instructeurs): pdf in exports include info administration
2023-01-30 18:38:54 +01:00
Colin Darie
ef864021f7
refactor(pj_service): explicit options with_{bills,champs_private} because expert & instructeurs does not need the same
2023-01-30 18:04:09 +01:00
Martin
3fbe44b09a
correctif(typo): remplace le dernier usage de morph par replace
2023-01-30 16:38:53 +01:00
sebastiencarceles
bad7b24bf2
fix: add title to new tab link
2023-01-30 15:17:59 +01:00
Colin Darie
3402279b08
fix(menu_component): tag html options must be set as keyword args, not hash
2023-01-30 15:03:16 +01:00
Sébastien Carceles
d3e0046e9b
prefill: open possible values in a new tab ( #8524 )
2023-01-30 14:55:46 +01:00
Martin
dbe64cf0c8
correctif(date_champ): renforce la validation avec le parsing de la date plutot qu'une approche par regexp
2023-01-30 13:01:24 +01:00
Julie Salha
1175edd64e
fix PR index
2023-01-30 12:46:04 +01:00
Julie Salha
a59f3a142e
fix PR index
2023-01-30 12:46:04 +01:00
Julie Salha
160520c406
contact standardize links
2023-01-30 12:46:04 +01:00
Colin Darie
3265fff30e
fix(dropdown): wait "other" input to be disabled before autosave
...
Fix le workflow suivant pour un champ drop down avec option "autre" :
- on choisit la valeur "autre" avec une valeur => ça autosave la bonne valeur
- on choisit finalement une autre valeur proposée => l'autosave envoyait
la nouvelle valeur, et toujours la valeur "other" car l'input n'était pas encore
`disabled`. Par conséquent la valeur other overridait la valeur choisie
et ça provoquait des erreurs en cascade, notamment dans le conditionnel.
2023-01-30 12:16:25 +01:00
Colin Darie
c15ad573bc
feat(dropdown/a11y): "other" input with label and autofocus
2023-01-30 12:16:25 +01:00
Paul Chavard
6cacfbdf32
refactor(dossier): refactor rebase
2023-01-30 12:01:11 +01:00
Paul Chavard
2f4e85f163
fix(dossier): set rebased_at only on changed champs
2023-01-30 12:01:11 +01:00
Paul Chavard
626b28ca16
perf(tags parser): improuve parser perf
2023-01-30 11:52:35 +01:00
Paul Chavard
d82620d1ff
fix(attestation template): validate on edit form load
2023-01-30 11:52:35 +01:00
Colin Darie
ec1ae25bb4
fix(stimulus): on handler having target
2023-01-30 11:34:24 +01:00
Eric Leroy-Terquem
1b67f93c66
feat(avis): add reminded_at field to avis
2023-01-30 11:13:23 +01:00
Paul Chavard
298721f90d
fix(dossier): fix clone with data
2023-01-30 10:58:26 +01:00
Julie Salha
61042cd51e
fix PR
2023-01-30 10:24:22 +01:00
Julie Salha
d059e3d5ff
sign in remove tags used only for presentation
2023-01-30 10:24:22 +01:00
Julie Salha
59980fa3dd
update html tags card-title
2023-01-30 10:07:20 +01:00
Damien Le Thiec
81df033282
First draft repeatable
2023-01-26 17:57:57 +01:00
Julie Salha
2a9a79a673
footer remove br tags
2023-01-26 17:41:02 +01:00
Colin Darie
923ee59e92
refactor(instructeurs/perf): don't load anymore geo areas for each champ because of header
...
Economise 1 requête par champ sur chaque page instructeur d'un dossier
à cause du header juste pour savoir s'il faut afficher
le bouton d'export GeoJSON.
2023-01-26 14:57:45 +01:00
Julie Salha
5f3ac1c61c
update structure search engine
2023-01-26 14:11:21 +01:00
Martin
1b1bd5b57d
fixup! amelioration(app/views/instructeurs/procedures/_dossiers_filter.html.haml): passe le popover des filtres des dossiers sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
927d6791e7
amelioration(app/views/users/dossiers/show/_print_dossier.html.haml): passe le dropdown de telechargement d'un dossier en un simple bouton
2023-01-26 11:13:23 +01:00
Martin
6bdbf565cc
amelioration(app/views/users/dossiers/_identity_dropdown.html.haml): passe le menu de gestion d'identité d'un dossier usager au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
b3e3f083b8
amelioration(app/views/shared/help/_help_dropdown_procedure.html.haml
...
): passe le menu d'aide sur une procedure par un usager au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
34c5bb70e7
amelioration(app/views/shared/help/_help_dropdown_instructeur.html.haml): passe le menu d'aide instructeur au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
3dc4a51bf3
amelioration(app/views/shared/help/_help_dropdown_dossier.html.haml): passe le menu d'aide sur un dossier au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
2c8781ff98
amelioration(app/views/invites/_dropdown.html.haml): passe le popover d'invitation sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
e53d350a6f
amelioration(app/views/instructeurs/procedures/show.html.haml): passe le popover de la personnalisation du tableau des dossiers sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
1095957fb9
amelioration(views/instructeurs/procedures/_dossier_actions.html.haml): passe le popover de gestion d'un dossier sur la vue des dossiers sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
6ff81a6680
amelioration(views/instructeurs/dossiers/_state_button.html.haml): passe le popover d'instruction sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
2805714931
amelioration(instructeurs/dossiers/_header_actions): passe les menu d'impression et de telechargement sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
9a12b97424
amelioration(expert/avis/header): passe d'un dropdown avec un element pour telecharger le dossier au composant dsfr de telechargement de fichier
2023-01-26 11:13:23 +01:00
Martin
cd75c7a1de
amelioration(export): passe les exports sur le nouveau dropdown
2023-01-26 11:13:23 +01:00
Martin
2be0f5aa99
amelioration(menu): extraction des menu dans un composant ruby pour ne pas dupliquer les changements aria partout ds la codebase
2023-01-26 11:13:23 +01:00
Paul Chavard
508cdec33f
fix(morph): ids should not start with numbers
2023-01-26 10:42:22 +01:00
Colin Darie
51f2ad6248
fix(scss): form borders & padding
2023-01-26 10:39:13 +01:00
Colin Darie
5bff5542f1
refactor(spinner): dependent-conditions on champ wrapper instead of each champ
2023-01-26 09:06:30 +01:00
Colin Darie
26236a11ba
feat(autosave): conditional spinner on all manager champs
2023-01-26 09:06:30 +01:00
Colin Darie
c6bdfc7401
feat(autosave): don't show loader when response is very fast
2023-01-26 09:06:30 +01:00
Colin Darie
587a4c4d95
style(spinner): replace legacy spinner
2023-01-26 09:06:30 +01:00
Colin Darie
3a48f201ee
style(autosave/conditional): new a11y spinner proposition
2023-01-26 09:06:30 +01:00
Colin Darie
51c1736d00
refactor(conditional): extract in a ChampConditionalConcern with tests
2023-01-26 09:06:30 +01:00
Colin Darie
7c13449b4f
feat(conditional): show loader during autosave when other champs are dependent of it
2023-01-26 09:06:30 +01:00
Colin Darie
81f00774af
feat(logic): operators sources
2023-01-26 09:06:30 +01:00
Paul Chavard
5b9e534b3f
chore(turbo): morph all the things
2023-01-25 13:45:26 +01:00
Julie Salha
4fc6cb0c34
Merge branch 'main' into a11y-8181-messaging-input-control
2023-01-25 12:20:01 +01:00
Julie Salha
43797029af
Merge branch 'main' into a11y-8151-update-style-link-sens-message
2023-01-24 16:34:33 +01:00
Julie Salha
2d61d94a46
add label textarea message
2023-01-24 16:31:46 +01:00
Julie Salha
a52159e104
Merge branch 'main' into a11y-8224-update-styles-actions-button
2023-01-24 15:48:52 +01:00
Julie Salha
3177faf854
Merge branch 'main' into a11y-8151-update-style-link-sens-message
2023-01-24 15:48:15 +01:00
Julie Salha
82f049b49c
update style link dsfr
2023-01-24 15:00:26 +01:00
Kara Diaby
b18d76dff6
Ne prend pas en compte les tags sur les démarches en brouillon
2023-01-24 14:53:27 +01:00
Julie Salha
4cd9f641c4
update styles actions buttons list folders
2023-01-24 14:32:00 +01:00
Sébastien Carceles
49ce255e29
feat(dossier): prefill region champ ( #8442 )
...
* make regions champ prefillable
* add possible and example value
* add external_id and value validation
2023-01-24 11:25:17 +00:00
Martin
4990c448b1
amelioration(mail.prioritaire): en plus des mails de device, ajoute la gestion du routage des autres mails critique
2023-01-24 11:49:53 +01:00
Colin Darie
d7f170b57a
fix(combobox): let direct upload finish before submitting form
...
Quand un form pour lequel on intercepte le submit a un direct upload,
on laisse le direct upload gérer le submit manuellement pour attendre la
fin de l'upload ; autrement le form est parfois soumis sans la référence
au fichier, ce qui provoque des erreurs rails `InvalidSignature`.
2023-01-24 09:51:05 +01:00
mfo
84a667b8bd
Merge pull request #8454 from tchak/feat-epci
...
feat(types de champ): add EPCI champ
2023-01-23 16:56:18 +01:00
Sébastien Carceles
92c769de4f
fix(prefill): code pays display ( #8477 )
...
* show translated text AND possible values
* show less possible values
* show countries possible values
2023-01-23 14:08:20 +00:00
Martin
a73c3d8bdf
fix(attestation): re-essaie une fois de telecharger le logo/signature au moment de generer l'attestation. sinon on peut se retrouver avec des dossier qui restent en status en construction alors qu'ils devraient etre automatiquement soit en instruction, soit accepte
2023-01-23 14:24:07 +01:00
Martin
4b895b71c4
fix(user/dossiers#show): ne fait pas apparaitre les champs conditionnel non visible dans l'export pdf d'un dossier
2023-01-23 14:02:29 +01:00
mfo
1926aa283d
Merge pull request #8425 from adullact/fix/procedure-custom-retention
...
Fix du support d'une durée personnalisée de conservation des dossiers
2023-01-23 12:11:29 +01:00
Damien Le Thiec
962016e32e
Schema graph_ql ( #8406 )
...
* First draft schema graph_ql
* Add tests for json schema procedures
2023-01-23 11:31:06 +01:00
Sébastien Carceles
68ddae7382
feat(demarche): prefilling stats ( #8436 )
...
* force json content type for POST / PATCH / PUT
* add specs about stats dossiers funnel
* new endpoint to render stats about a procedure
2023-01-20 13:28:02 +00:00
Paul Chavard
a4cbbe721e
feat(types de champ): add EPCI champ
2023-01-20 11:32:36 +01:00
Paul Chavard
f38ee8f03f
feat(dossier): implement refresh_after_update on champs
2023-01-20 11:05:25 +01:00
Paul Chavard
8f1ae99413
fix(graphql): remove deprecated options from introspection query
2023-01-20 09:54:50 +01:00
Martin
ffd6a10618
clean(api/v2/base_controller): remove potential confusion
2023-01-19 18:09:38 +01:00
Martin
52380d5249
fix(api): on fixe avec avec des tests le prob de token
2023-01-19 17:40:19 +01:00
simon lehericey
84d08d4d24
fix(expert_export): an expert export excludes annotation and avis
2023-01-19 12:09:16 +01:00
Paul Chavard
b40b6267ad
chore(layout): remove unused file
2023-01-19 11:56:46 +01:00
Marc Bouvier
8688671439
add strike banner
2023-01-19 11:56:46 +01:00
Sébastien Carceles
0046338e6a
fix(prefill): don't mark the dossier as prefilled when it's not ( #8464 )
...
A dossier should not be marked as prefilled when it's not, meaning
when no prefill params are given.
2023-01-19 10:51:56 +00:00
Martin
8528939b75
correctif(champs/repetitions#remove): les row id etant des ulid commence par un int. utiliser l'ulid comme selecteur css n'est pas valide. il faut donc avoir un selecteur CSS 'safe', et envoyer le row_id
2023-01-19 10:48:01 +01:00
Martin
3dc26efc61
infra(monitoring): ajoute le webhook pour les notifier des incidents cote sib
2023-01-19 09:50:25 +01:00
Colin Darie
00643b968d
chore(serializer): add sentry tags to have more details when serialization failed
2023-01-18 19:23:25 +01:00
Colin Darie
b549a0ba83
fix(instructeurs): notify that dossier can be terminer if a siret champ is in degraded mode
2023-01-18 19:23:25 +01:00
Colin Darie
428dd9bf1a
fix(dossier): we can't terminer any dossier having etablissements in degraded mode
...
Closes #8449
2023-01-18 19:23:25 +01:00
Kara Diaby
eac5a42a32
model
2023-01-18 18:46:42 +01:00
Kara Diaby
04b86e9c55
controller
2023-01-18 18:46:42 +01:00
Kara Diaby
b81c36c6b8
layout
2023-01-18 18:46:42 +01:00
Paul Chavard
b5dc71e975
fix(graphql): demarche with pj should return schema
2023-01-18 18:06:10 +01:00
Paul Chavard
e19af241ca
feat(graphql): expose pays, region and departement options in schema
2023-01-18 13:46:40 +01:00
Paul Chavard
c04e39a74d
fix(graphql): annotationDescriptors should not be exposed as opendata
2023-01-18 13:46:40 +01:00
Paul Chavard
cdb3ce65cb
feat(graphql): expose more information on demarche descriptor
2023-01-18 13:46:40 +01:00
Paul Chavard
ed1754e1fb
refactor(graphql): make champ descriptor an interface
2023-01-18 13:30:02 +01:00
Damien Le Thiec
3a8a50a216
Allow prefill pays type de champs ( #8344 )
...
* Allow prefill pays type de champs
* Avoid conditional prefil params for pays champ
* Clean pays data with batch update
* Fix bug and add test batch update pays value
* Improve performance batch_update_pays
* Fix associated country code problem
* Fix after party task name
* Format country name if needed in batch update
2023-01-18 12:52:38 +01:00
SebastienGt
bd42e93bc6
Correction pour flash.now
2023-01-18 10:03:55 +01:00
SebastienGt
1fd26fad54
Correction
2023-01-18 10:03:55 +01:00
SebastienGt
05d0870cce
Correction
2023-01-18 10:03:55 +01:00
SebastienGt
981ae0625f
Correction
2023-01-18 10:03:55 +01:00
SebastienGt
b14167837c
Decalage notice
2023-01-18 10:03:55 +01:00
SebastienGt
0cb7bd2424
Merging
2023-01-18 10:03:55 +01:00
SebastienGt
0507bb673d
Simplification du code en supprimant if
2023-01-18 10:03:55 +01:00
Sebastien
c37ed7a7a1
Adding console output when saving failed
2023-01-18 10:03:55 +01:00
Colin Darie
deb40caae1
feat(manager): schedule a dolist report from manager
2023-01-18 09:56:40 +01:00
Colin Darie
1947fcf72b
feat(manager): allow to add a footer below index without always overriding index
2023-01-18 09:56:40 +01:00
Colin Darie
784b0458fe
feat(dolist): consolidate dispatched events with delivered emails
2023-01-18 09:56:40 +01:00
Sébastien Carceles
5c7b2ba1f3
feat(dossier): prefill drop down list champ ( #8361 )
...
* feat(dossier): prefill drop down list champ
* decorate the types de champ to avoid if / else
In order to avoid doing if this a drop down ? / else at several places,
we decorate the types de champ and let the decorator give the possible
and example values.
* show all possible values when there are too many
* allow to prefill 'other' option
* review: remove duplicate
* review: refactor for readability
* validate that value is in options
* review: exclude disabled options
2023-01-18 09:47:22 +01:00
Paul Chavard
2f17793900
feat(autosubmit): data-no-autosubmit can disable only some event types
...
this is useful on inputs with datalist for example where we want to only autosubmit on change
2023-01-18 09:26:47 +01:00
Paul Chavard
e4eb54e87a
fix(autosubmit): addEventListener with capture for focus events
2023-01-18 09:25:41 +01:00
simon lehericey
8e75b6ff77
fix(send_dossier): avoid leaking instructeur emails
2023-01-17 16:57:56 +01:00
Colin Darie
ef3546e9f1
fix(email-event): apparently mail subject could be null
2023-01-17 16:46:54 +01:00
Colin Darie
13479fc88e
fix(admin): display of procedure admins count
2023-01-17 16:02:08 +01:00
Colin Darie
6615165b2e
refactor(mailer): extract dolist logic into its concern
2023-01-17 14:26:11 +01:00
Colin Darie
ce7e674159
feat(mailer): make errors interceptable by jobs so they will retry
...
Comme on intercepte chaque `StandardError` pour le monitoring des mails
en erreur, l'erreur n'était plus visible par le job, et les emails
étaient perdus.
A la place on re-raise une autre erreur pour que le job échoue afin de
retry plus tard. Pour ne pas être "avalée" par le rescue_from,
cette erreur doit héritée d'`Exception` plutôt que `StandardError`.
NB: il faudrait parvenir à écrire un test pour vérifier ce comportement.
Pour être vérifié en dev, il faut activer `raise_delivery_errors`
comme en production.
2023-01-17 14:26:11 +01:00
Paul Chavard
dad393355b
chore(db): remove unused columns
2023-01-17 12:49:22 +01:00
Julie Salha
a2fe2bf4c6
fix error linter continous integration(2)
2023-01-17 12:41:29 +01:00
Julie Salha
fb09c49871
fix error linter continous integration
2023-01-17 12:41:29 +01:00
Julie Salha
96fbf70696
update styles number label
2023-01-17 12:41:29 +01:00
Julie Salha
deddd1fcbe
update styles hero text responsive
2023-01-17 12:41:29 +01:00
Julie Salha
15f3fd4e73
remove br tags
2023-01-17 12:41:29 +01:00
Paul Chavard
b5c189de63
fix(graphql): n+1 on single dossier loading
2023-01-17 11:23:21 +01:00
Paul Chavard
7f9414012e
refactor(turbo): use @coldwired/actions
2023-01-16 21:40:10 +01:00
Paul Chavard
5f192f93e0
refactor(js): make generic format controller
2023-01-16 21:23:33 +01:00
Paul Chavard
5ccf57b488
fix(js): use on
instead of addEventListener
to ensure cleanup
2023-01-16 16:37:36 +01:00
Paul Chavard
d16c490779
feat(stimulus): allow on
with target
2023-01-16 16:37:36 +01:00
Paul Chavard
a0878ffde5
feat(turbo): prevent scroll on form submits
2023-01-16 15:59:43 +01:00
Paul Chavard
a9d4ff85e6
refactor(js): more autosubmit controllers
2023-01-16 15:59:43 +01:00
Paul Chavard
44488c7014
feat(dossier): use select in filters bygroupe instructeur
2023-01-16 14:00:08 +01:00
Hadrien Blanc
2d19444b93
add 'pas' on the link title
2023-01-16 13:15:04 +01:00
Lisa Durand
eadd84bfb4
authorize follow and unfollow for all dossier states
2023-01-16 11:14:29 +01:00
Lisa Durand
db3085fa33
design : make filter buttons tertiary and dropdown secondary
2023-01-16 11:14:29 +01:00
Lisa Durand
06c6a4ab0c
add action 'unfollow' to page 'suivis'
2023-01-16 11:14:29 +01:00
Lisa Durand
2f666b487e
add action 'repasser en construction' to page 'suivis'
2023-01-16 11:14:29 +01:00
Paul Chavard
f971a42e7d
fix(js): fix submitter attributes not recognised by safari
2023-01-12 17:58:23 +01:00
Damien Le Thiec
5e26acb0e1
Make date and datetime prefillable ( #8304 )
...
* Make date and datetime prefillable
* Format in ISO8601 format
2023-01-12 17:42:02 +01:00
Damien Le Thiec
d5bfe84381
Nettoyage des dossiers préremplis abandonnés ( #8341 )
...
* Clean prefilled dossiers
2023-01-12 16:14:42 +01:00
François Vantomme
e794d4f77b
fix(procedure): deal nicely with custom NEW_MAX_DUREE_CONSERVATION
2023-01-12 14:37:54 +01:00
François Vantomme
d60d626a91
fix(procedure): use NEW_MAX_DUREE_CONSERVATION as number field max limit
2023-01-12 14:37:37 +01:00
Paul Chavard
7f2a7e18d3
chore(npm): update build dependencies
2023-01-12 12:27:14 +01:00
Paul Chavard
c7c6d50df6
refactor(js): use autosubmit controller in procedure/all pages
2023-01-12 12:01:19 +01:00
Paul Chavard
289d48f697
refactor(js): use autosubmit controller in filter_component
2023-01-12 11:58:46 +01:00
Paul Chavard
5d7284b8da
refactor(js): use autosubmit controller in notified_toggle_component
2023-01-12 11:58:46 +01:00
Paul Chavard
88866d0413
refactor(autosubmit): split and improuve autosubmit and turbo controller
2023-01-12 11:58:46 +01:00
Paul Chavard
3e0adc15db
refactor(demarches): use turbo-frame
2023-01-12 11:30:14 +01:00
Martin
e22038784d
typo(page.dossier-envoye): typo
2023-01-12 11:01:06 +01:00
Paul Chavard
e8b10fd320
fix(procedure): return most recent demarche for a given path
2023-01-12 10:23:12 +01:00
Paul Chavard
b663939674
feat(graphql): add demarcheCloner mutation
2023-01-11 23:38:12 +01:00
Paul Chavard
3f2a91b855
fix(graphql): properly handle demarche and demarche_descriptor resolution
2023-01-11 23:38:12 +01:00
Paul Chavard
5641c2b078
fix(groupe_instructeur): only show to administrators the number of visible files
2023-01-11 21:49:08 +01:00
Martin
822eda7c42
correctif(safe_mailer): fix bug sur de la synthax
2023-01-11 20:29:51 +01:00
Colin Darie
01f227e1c7
fix(mailer): dolist header in devise mailer
2023-01-11 18:52:14 +01:00
Martin
3e6b82ed9e
amelioration(safe_mailer): ajoute au manager la fonction pour configurer le routage des mails sur un fournisseur unique
...
Update app/mailers/devise_user_mailer.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-01-11 17:32:24 +01:00
Martin
d535735155
amelioration(devise_mailer): oriente les mails de devise vers un fournisseur quand cela est configuré
2023-01-11 17:13:05 +01:00
Martin
2f43ffc940
data(safe_mailer): ajout d'un object permetant d'orienter les mails vers un unique fournisseur au cas ou l'autre soit down
2023-01-11 17:13:05 +01:00
Martin
733ba01695
amelioration(balancer_delivery_method): implemente le fait de forcer la methode de delivery au niveau de notre balancer de fournisseur demail
2023-01-11 17:13:05 +01:00
LeSim
02f411b3b5
Merge pull request #8407 from tchak/chore-update-dependencies
...
chore(npm): update dependencies
2023-01-11 16:53:24 +01:00
Lisa Durand
8ba13cb685
humanize raison sociale from api_entreprise in adapter
2023-01-11 14:42:38 +01:00
simon lehericey
528b2c2b88
fix(procedure): valid juridique on create and publication
2023-01-11 14:05:17 +01:00
simon lehericey
9043bed3a0
refactor(procedure_presentation): add required tags
2023-01-11 14:05:17 +01:00
Colin Darie
e63e4fc975
fix(sentry/rna): add error context when RNA schema failed
2023-01-11 12:30:02 +01:00
Colin Darie
820cb4bd27
fix(rna): some associations don't have date_publication
...
https://sentry.io/organizations/demarches-simplifiees/issues/3698792231/events/fde901fac5a44129adcafc891d59d086/?project=1429550
2023-01-11 12:30:02 +01:00
Paul Chavard
e6d5033184
clean(js): remove console
2023-01-11 12:11:55 +01:00
Paul Chavard
f17ae44952
fix(dossier): disable buttons when selection is canceled
2023-01-11 11:50:25 +01:00
François Vantomme
08d276472b
refactor(links): use localized FAQ URLs
2023-01-11 11:28:03 +01:00
François Vantomme
fe518fed8c
refactor(links): move FAQ from footer to common scope
2023-01-11 11:28:03 +01:00
François Vantomme
faa5dda761
refactor(links): use FAQ URL locale everywhere
2023-01-11 11:28:03 +01:00
simon lehericey
bd3fbbce49
add schema and annotation
2023-01-11 11:19:24 +01:00
Colin Darie
05b517a847
fix(mailer): observers on balancer and balanced delivery methods
...
- Les observers doivent être déclarés *avant*
le chargement de nos delivery methods (Sendinblue & Dolist),
sinon ils seront ignorés par ces derniers
- dans le balancer, on ne peut pas appeler `.deliver` une seconde fois,
sinon les observers (et interceptors) sont invoqués deux fois.
2023-01-11 00:57:16 +01:00
Paul Chavard
afc1f12028
feat(graphql): implement add/remove instructeurs via API
2023-01-10 20:33:35 +01:00
Paul Chavard
0557b84eed
feat(graphql): expose current_administrateur when using new tokens
2023-01-10 20:07:38 +01:00
Paul Chavard
af33d5d65c
refactor(repetition): use row_id instead of row
2023-01-10 19:31:41 +01:00
Paul Chavard
77a0033b3e
feat(batch_operation): enable only available operations
2023-01-10 19:03:32 +01:00
Lisa Durand
7abf51ca81
split filter in 2 partials too display filters tags on its own div to have more spaces
2023-01-10 18:05:23 +01:00
Lisa Durand
d856969790
add a bit of logic to display batch buttons : if more than 3 we group them in a dropdown
2023-01-10 18:05:23 +01:00
Martin
0ef46b6f07
amelioration(instructeurs/dossiers#show): supprime le double chargement des champs et annotations privées
2023-01-10 17:36:05 +01:00
François Vantomme
0e3fe055e4
fix(archive): typo on flash notice
2023-01-10 17:23:48 +01:00
Colin Darie
e501750fb4
chore(sentry): ignore error on password input with password manager
2023-01-10 16:22:43 +01:00
Colin Darie
d563a4fa66
feat(manager): email events with collection filters of delivery methods
2023-01-10 16:07:35 +01:00
Colin Darie
d58e6a2f9c
refactor(email): remove pseudonymization, it will be done at dump-time
2023-01-10 16:07:35 +01:00
Colin Darie
d911bc02c0
refactor(mailer): set dolist header in DeviseUserMailer
2023-01-10 16:07:35 +01:00
Colin Darie
5ae5de0d9c
refactor(email): log event when error occurs before recipients was set
2023-01-10 16:07:35 +01:00
Colin Darie
1f51267b25
chore(manager): link email users to events
2023-01-10 16:07:35 +01:00
Colin Darie
b9c1799e60
refactor(mailer): shared error concern
2023-01-10 16:07:35 +01:00
Colin Darie
812376cfb2
fix(manager): default resource order
2023-01-10 16:07:35 +01:00
Colin Darie
22e2749357
chore(manager): basic dashboard for EmailEvents
2023-01-10 16:07:35 +01:00
Colin Darie
0a22c1d2f0
chore(email): log smtp errors
2023-01-10 16:07:35 +01:00
Colin Darie
6cb2389eef
chore(email): add an observer which log the emails dispatched
2023-01-10 16:07:35 +01:00
Colin Darie
07167cead9
chore(schema): create email_events
2023-01-10 16:07:35 +01:00
Colin Darie
0a890acc33
fix(conditional): huge perf improvement by caching champ visibility
...
Hyper nécessaire lorsqu'il y a des champs qui dépendent d'autres champs
en cascade.
Co-authored-by: simon lehericey <mail@simon.lehericey.net>
Co-authored-by: mfo <martin@sharypic.com>
2023-01-10 11:41:08 +01:00
Paul Chavard
5128b9a086
refactor(demarches): use turbo_stream template
2023-01-10 09:48:32 +01:00
Martin
0ce293d2e0
fix(instructeurs/dossier#show): missing preload on dossier
2023-01-09 14:29:47 +01:00
Lisa Durand
67c104c8eb
affiner le scope
2023-01-09 11:58:51 +01:00
Lisa Durand
25a7fa5a34
add bulk action 'follow'
2023-01-09 11:58:51 +01:00
Sébastien Carceles
177dec2bdb
feat(dossier): add dossier id to prefill response ( #8382 )
2023-01-06 13:46:27 +00:00
Paul Chavard
416550c6ea
refactor(batch): simplify stimulus controller
2023-01-06 14:25:46 +01:00
Paul Chavard
5a4cefc5c5
fix(dossier): fix rebase with drop down options
2023-01-06 14:15:46 +01:00
Sébastien Carceles
06b8a0f734
feat(dossier): prefill boolean champs ( #8381 )
2023-01-06 14:01:59 +01:00
Martin
1944624082
fix(PiecesJustificativesService.safe_attachment): utilise la nouvelle API pour comparer le resultat du scan antivirus
2023-01-06 10:54:27 +01:00
Paul Chavard
dfe65136be
refactor(repetition): add row_id to champs
2023-01-05 18:04:54 +01:00
Paul Chavard
940f8c0474
fix(graphql): fix departements with alphanumeric codes
2023-01-05 17:33:03 +01:00
Lisa Durand
5a4a5d89fd
remove highlight paragraph from the fluid container
2023-01-05 17:22:53 +01:00
Lisa Durand
b65a3d4baf
puts filters in span to display correctly multiples filters
2023-01-05 17:22:53 +01:00
Lisa Durand
080747f60b
reorganise multiple buttons on top of table from instructeur procedure view
2023-01-05 17:22:53 +01:00
Lisa Durand
4afb873afc
feedbacks from Martin
2023-01-05 16:20:18 +01:00
Martin
3918757dc9
correctif(test): desormais l'association batch_operations.groupe_instructeurs passe par le dossier. Mise a jour des tests
2023-01-05 16:20:18 +01:00
Martin
018a94f43b
correctif(batch_operation): empeche de changer l'etat d'un dossier en cas d'erreur. et s'assure de delinker le dossier en cas de dossier invalid
2023-01-05 16:20:18 +01:00
Lisa Durand
8df0147fd1
fix linter
2023-01-05 16:20:18 +01:00
Lisa Durand
7fcc892398
imrpove dropdown bulk action style
2023-01-05 16:20:18 +01:00
Lisa Durand
1ecdf5f544
remove manipulating checkbox with JS and set just one form instead of 2
2023-01-05 16:20:18 +01:00
Lisa Durand
59468fe351
add justificatif_motivation field to batch operation accepter
2023-01-05 16:20:18 +01:00
Lisa Durand
1bc0609543
add motivation field to batch operation accepter
2023-01-05 16:20:18 +01:00
Lisa Durand
d7ebb67889
implement first step - accepte without motivation and PJ
2023-01-05 16:20:18 +01:00
Paul Chavard
378f3c5fb0
use join table instead of arrays
2023-01-05 16:20:18 +01:00
Paul Chavard
26e02c7173
fix(template): trix will transform double spaces in
2023-01-05 13:23:24 +01:00
Sébastien Carceles
fa6fc077b4
normalize boolean values ( #8320 )
...
* extract parent for yes no and checkbox champs
* checkbox stores true / false instead of on / off
* normalize blank value to nil
* normalize invalid value to false
* after party task: normalize checkbox values
* after party task: normalize yes_no values
2023-01-05 11:18:27 +00:00
Sébastien Carceles
22ecbc2ffb
remove preremplir admin button ( #8366 )
2023-01-05 10:31:48 +01:00
Colin Darie
b89fc16999
style(instructeurs/expiration): convert banner to DSFR
2023-01-04 13:15:10 +01:00
Colin Darie
c05c765ba7
style(user/expiration): convert banner to DSFR
2023-01-04 13:15:10 +01:00
Colin Darie
6a9afdc2fc
fix(dossier/i18n): correct pluralization of delay expiration button
2023-01-04 13:15:10 +01:00
Colin Darie
0b033a7025
refactor(email): improve wording of automatic deletion to user
...
Closes #7688
2023-01-04 13:15:10 +01:00
Colin Darie
7d16ae83e8
refactor(email): improve wording of near deletion to user
...
Closes #7688
2023-01-04 13:15:10 +01:00
Paul Chavard
c4a30084fe
refactor(virus_scan): remove lock
2023-01-04 12:12:11 +01:00
Paul Chavard
6e18090fb3
refactor(virus_scan_result): use column instead of metadata on blob
2023-01-04 12:12:11 +01:00
Paul Chavard
d469bca0ae
refactor(watermark): use column instead of metadata on blob
2023-01-04 12:07:08 +01:00
Sébastien Carceles
456be420fa
feat(demarche): describe dossier prefilling with POST ( #8298 )
...
* feat(demarche): describe dossier prefilling with POST
* show response example
2023-01-04 07:31:31 +00:00
Martin
c35d33a5a8
amelioration(role): utilise le role de status plutot que celui de alert afin d'eviter les confusion sur les role aria
2023-01-03 16:52:30 +01:00
Martin
a4d6692bc6
accessibilite(pages-authentification): evolutions des pages de connexion/creation de compte pour respecter le DSFR et supporter une meilleure accessibilite
...
Update app/components/dsfr/input_component/input_component.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-01-03 16:26:05 +01:00
Colin Darie
008e04e356
fix(home/i18n): cache key in views must depend of locale
2023-01-03 15:43:42 +01:00
mfo
5a0e1db0a4
Merge pull request #8350 from colinux/a11y-demande-dossier
...
fix(a11y): html structure in dossier summary
2023-01-03 15:40:24 +01:00
Martin
76301d4c32
correctif(api_entreprise_token): les nouveaux tokens stockent les roles dans sous la clé scopes et non plus roles
2023-01-03 15:32:50 +01:00
Sébastien Carceles
20136b7ac8
feat(demarche): create and prefill a dossier with POST request ( #8233 )
...
* add base controller for public api
* add dossiers controller with basic checks
* create the dossier
* ensure content-type is json
* prefill dossier with given values
* mark a dossier as prefilled
When a dossier is prefilled, it's allowed not to have a user.
Plus, we add a secure token to the dossier, which we will need later to set a
user after sign in / sign up.
* set user as owner of an orphan prefilled dossier
When a visitor comes from the dossier_url answered by the public api,
the dossier is orphan:
- when the user is already authenticated: they become the owner
- when the user is not authenticated: they can sign in / sign up / france_connect
and then they become the owner
So here is the procedure:
- allow to sign in / sign up / france connect when user is unauthenticated
- set dossier ownership when the dossier is orphan
- check dossier ownership when the dossier is not
- redirect to brouillon path when user is signed in and owner
* mark the dossier as prefilled when it's prefilled
(even with a GET request, because it will be useful later on, for
exmample in order to cleanup the unused prefilled dossiers)
* system spec: prefilling dossier with post request
2023-01-03 14:46:10 +01:00
Colin Darie
9d3b2f6027
fix(a11y): html structure in dossier summary
...
Closes #8162
2023-01-02 18:06:50 +01:00
Eric Leroy-Terquem
f82fba3e2f
add folders number for instructor group
2023-01-02 15:43:13 +01:00
Kara Diaby
f7cb24ce40
Supprime le feature flag pour que tous les administrateurs puissent ajouter des tags sur les démarches
2023-01-02 11:13:31 +01:00
Damien Le Thiec
ffdb6c0104
Merge branch 'main' into improvement/link_to_dossier_description
2023-01-02 10:15:39 +01:00
Damien Le Thiec
775eb16d95
Add link to prefill description from procedure show
2022-12-29 16:11:59 +01:00
Damien Le Thiec
e6d4b3061e
Improve text for prefill description page
2022-12-29 10:56:42 +01:00
mfo
acd461c110
Merge pull request #8342 from mfo/US/naf-can-be-nil
...
correctif(PersonneMoraleType): il arrive que le code naf d'une entreprise puisse ne pas exister [trop vieux pour etre mappable]
2022-12-28 16:02:42 +01:00
Martin
aeca2b28e4
correctif(PersonneMoraleType): il arrive que le code naf d'une entreprise puisse ne pas exister [trop vieux pour etre mappable]
2022-12-28 15:38:22 +01:00
mfo
1f5db1faf2
Merge pull request #8340 from mfo/US/fix-champs-pays
...
sentry(3830513995): champs pays peut avoir un external_id a '', test la presence d'external_id sinon on peut renvoyer du nil via Champs::PaysChamp.name
2022-12-28 09:51:18 +01:00
Martin
a2d3ec7a21
sentry(3830513995): champs pays peut avoir un external_id a '', test la presence d'external_id sinon on peut renvoyer du nil via Champs::PaysChamp.name
2022-12-27 16:28:34 +01:00
mfo
31735e16d8
Merge pull request #8339 from mfo/US/fix-departement-champs
...
Us/fix departement champs
2022-12-27 16:01:35 +01:00
Martin
186d4e6539
correctif(ChampDepartement): gere les departement a 3 codes
2022-12-27 14:55:57 +01:00
Paul Chavard
0e73415904
feat(revision): improuve changes dashboard
2022-12-27 11:06:51 +00:00
Paul Chavard
9b3fa4dd3c
refactor(revision): changes should be domain objects
2022-12-27 10:58:53 +00:00
Paul Chavard
7aa6f172dc
feat(revision): show number of pending dossiers for each revision
2022-12-27 10:58:53 +00:00
Martin
48c80e9387
correctif(api/v1): ajoute la methode manquante for_api sur le type de champs departement
2022-12-27 11:45:43 +01:00
Martin
3732c079a7
correctif(champ.normalize): enleve les null chars uniquement si il y en a. sinon on rappel value=() avec nos champs surchargeant ce setter
2022-12-27 11:43:34 +01:00
mfo
72791bd5b6
Merge pull request #8337 from mfo/US/instructeur#telecharger_pjs
...
correctif(instructeurs/dossier#telecharger_pjs): ne pas inclure les bills et horodatage quand on telecharge un dossier unitairement
2022-12-27 09:07:48 +01:00
Paul Chavard
0b10c73bcf
feat(prefill): allow to prefill private annotations
2022-12-26 22:14:17 +00:00
Paul Chavard
4a4ce67ef6
fix(dossier): explicitly send draft notification email
2022-12-26 22:02:33 +00:00
Paul Chavard
fc4afb9793
fix(pays): some Île are written with î for some reason…
2022-12-26 21:54:45 +00:00
Martin
da8e876dd3
a11y(dossier.status): ajout de l'attribut role=alert aux status du dossier
...
fix(a11y): role status et non alert
2022-12-26 17:45:43 +01:00
mfo
99a652c297
Merge pull request #8267 from mfo/a11y/use-alert-for-dossier-state
...
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-26 17:44:59 +01:00
Martin
69aed18b46
correctif(instructeurs/dossier#telecharger_pjs): ne pas inclure les bills et horodatage quand on telecharge un dossier unitairement
2022-12-26 17:11:10 +01:00
Damien Le Thiec
9e083ea3f7
Merge branch 'main' into feature/prefill_civility
2022-12-26 11:31:52 +01:00
mfo
62813f3d74
Merge pull request #8323 from tchak/fix-graphql-champs
...
feat(graphql): add pays champ to API
2022-12-22 13:51:02 +01:00
mfo
e3bf0d8fec
Merge pull request #8327 from tchak/feat-rebase-after-repasser-en-instruction
...
feat(dossier): rebase after repasser en instruction
2022-12-22 13:50:43 +01:00
mfo
f7cdbe56ab
Merge pull request #8326 from tchak/feat-allow-rebase-champs-with-value-made-mandatory
...
feat(dossier): allow to rebase champs with value made mandatory
2022-12-22 13:49:09 +01:00
Paul Chavard
f4f38982b4
feat(dossier): rebase after repasser en instruction
2022-12-22 13:44:03 +01:00
Paul Chavard
6363206c44
fix(dossier): when rebase creates a champ always push in to champs
2022-12-22 13:44:03 +01:00
Paul Chavard
4c516a6991
feat(dossier): allow to rebase champs with value made mandatory
2022-12-22 13:08:04 +01:00
Martin
087ad18936
correctif(visuel): les trix-editor avec un contenu long ont un max-height
2022-12-22 12:47:17 +01:00
Paul Chavard
072156d38e
feat(graphql): add pays champ to API
2022-12-22 11:56:45 +01:00
Paul Chavard
f17690b1d3
feat(graphql): expose departement and region
2022-12-21 14:03:02 +01:00
Paul Chavard
bd9fe7eb7c
feat(export): add pays, region and departement codes
2022-12-21 14:03:02 +01:00
Paul Chavard
3f0f5e381f
refactor(regions): champ regions to use simple select
2022-12-21 14:03:02 +01:00
Paul Chavard
e0b0a42bc3
refactor(departements): champ departements to use simple select
2022-12-21 14:03:02 +01:00
Paul Chavard
f7c1dff22a
refactor(pays): champ pays to use simple select
2022-12-21 14:03:02 +01:00
Paul Chavard
4d4c378724
feat(api_geo): add api_geo service
2022-12-21 14:03:02 +01:00
François Vantomme
993c1b8676
fix(batch operation): ensure to append bigint to SQL array
2022-12-21 11:59:55 +01:00
Colin Darie
66e2db909c
style(alert): no double link underline, there is already DSFR
2022-12-21 10:48:31 +01:00
Martin
9dbe4845b3
correctif(a11y.contact-page): #8058 (utiliser le type email sur l'input prenant l'email de l'usager), #8056 (ajuster les erreurs de contraste par l'usage des composants du DSFR)
2022-12-21 10:48:31 +01:00
Christophe Robillard
cfc2aec334
display all demarches only if zonage enabled
2022-12-21 09:02:16 +01:00
Christophe Robillard
11a18516b2
remove feature flag zonage
2022-12-21 09:02:16 +01:00
Paul Chavard
227296682b
fix(dossier): clone should include more attachments
2022-12-20 21:30:32 +01:00
Colin Darie
7cc7c414ad
style(instructeurs): improve dossier header layout
...
Closes #8292
2022-12-20 19:07:00 +01:00
Colin Darie
c673950e56
fix(instructeurs): behavior of sort by notifications checkbox (updated_at desc)
2022-12-20 15:51:47 +01:00
Damien Le Thiec
c4e427642f
Allow prefill civility
2022-12-20 14:38:05 +01:00
Sébastien Carceles
e4a7a4c391
hide values and examples for unprefillable champs ( #8309 )
...
* hide values and examples for unprefillable champs
* put prefillable champs first
2022-12-20 13:37:25 +00:00
Christophe Robillard
a0da04e83c
use config.ds_opendata_enabled
...
don't use anymore opendata feature flag
2022-12-20 12:52:56 +01:00
Christophe Robillard
edffd0a7a8
extract ds_opendata_enabled
2022-12-20 12:52:56 +01:00
Christophe Robillard
daa4411abe
Revert "unschedule export demarches opendata"
...
This reverts commit da0738c661
.
`ExportAndPublishDemarchesPubliqjesJob` is now schedulable
2022-12-20 12:52:56 +01:00
Sébastien Carceles
dd0a05c1d8
feat(prefill): add possible values ( #8299 )
...
* update layout in order to show possible values
* filter out non fillable types de champ
2022-12-20 11:04:42 +01:00
Damien Le Thiec
d9bc44ac8b
Fix css bug code_blocks ( #8301 )
2022-12-20 09:45:13 +01:00
Kara Diaby
7bdc7c2cad
manager procedure controller
2022-12-19 15:28:09 +01:00
Kara Diaby
86e1d1dd97
layout
2022-12-19 15:28:09 +01:00
Martin
4e201a245b
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-19 15:16:57 +01:00
Sébastien Carceles
0a10a08c21
feat(demarche): describe procedure prefilling ( #8187 )
...
* feat(demarche): description
Show the description of an opendata procedure (published or draft),
with help about how to prefill a dossier for this procedure.
Co-authored-by: Damien Le Thiec <damien.lethiec@gmail.com>
2022-12-19 11:32:09 +00:00
Martin
2be4441a70
amelioration(attestion.et.mail): deduplique les message d'erreur, améliore les messages d'erreur, gère la pluralisation des erreurs lorsque plusieurs tags sont concernés
2022-12-19 09:28:46 +01:00
Martin
dd74834689
amelioration(attestation.et.mail): desactive les tags sur les champs conditionnés et informe l'usager que ca arrivera
2022-12-19 09:28:46 +01:00
Martin
ef389eab41
amelioration(attestation.et.mail): repositionne les messages d'erreur lié à la substitution des balises a proximité du formulaire pour faciliter la comprehension. passage des champs au DSFR
2022-12-19 09:28:46 +01:00
Christophe Robillard
672e56a099
schedule job during a no-busy time
2022-12-16 18:02:36 +01:00
Christophe Robillard
f1595d1f50
wrap resultset tuples in ProcedureDetail
2022-12-16 15:51:49 +01:00
Christophe Robillard
5de0c8722e
i18n for procedure attributes and values
2022-12-16 15:51:49 +01:00
Christophe Robillard
f3f8bc74c7
fetch procedure info on demand
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
Co-authored-by: Martin <martin@sharypic.com>
2022-12-16 15:51:49 +01:00
Christophe Robillard
112fae8f00
improve style
2022-12-16 15:51:49 +01:00
Christophe Robillard
3a660349ad
export all demarches
2022-12-16 15:51:49 +01:00
Christophe Robillard
cea92c0488
perf: remove n+1 queries to count admin
2022-12-16 15:51:49 +01:00
Christophe Robillard
d167a3ec71
fix: select distinct procedures
2022-12-16 15:51:49 +01:00
Colin Darie
acb227bffe
feat(pdf): list department with champ commune
2022-12-16 10:25:54 +01:00
Eric Leroy-Terquem
2645ac85f7
update wording and order in types de champ select
2022-12-16 09:30:36 +01:00
Paul Chavard
cb5b60ccda
Revert "Revert "Merge pull request #7907 from tchak/feat-cond-repetitions""
...
This reverts commit 0d10d36cb0
.
# Conflicts:
# app/models/dossier.rb
# app/models/dossier_preloader.rb
2022-12-15 19:09:25 +01:00
Lisa Durand
2fff6faed6
fix checkbox rendering in all pages
2022-12-15 14:46:05 +01:00
Paul Chavard
17901d9be2
fix(fetch): always use post http method
2022-12-15 11:52:11 +01:00
Sébastien Carceles
b8ff0ba4a2
feat(demarche): sign up when prefilling a dossier ( #8247 )
...
* store prefill params in session
Instead of using query params on /dossier/new, we assume the user comes
from /commencer/:path, which is the new prefill link.
There, we store the prefill params in session, and use them to prefill
the dossier when creating it, in /dossiers/new.
* spec: cover the case
* review: serialize with json instead of yaml
* review: rename method
* review: store only query params
* review: comment why we dont override already stored params
2022-12-15 10:58:17 +01:00
Lisa Durand
ff7c1fef65
adapt button icons to bulk action
2022-12-15 10:04:25 +01:00
Lisa Durand
89730b485b
add bulk action feature for 'passer_en_instruction'
2022-12-15 10:04:25 +01:00
Colin Darie
7ff04c1a05
style(instructeurs): human/i18n value for state filter
2022-12-15 09:34:10 +01:00
Colin Darie
7ff6455440
style(instructeurs): convert filters to DSFR tags
2022-12-15 09:34:10 +01:00
Colin Darie
84aabd4187
style(instructeurs): convert some dropdowns buttons to DSFR
2022-12-15 09:34:10 +01:00
mfo
74cd385b35
Merge pull request #8274 from tchak/fix-parent-dossiers
...
fix(dossier): parent_dossiers is really cloned_dossiers
2022-12-15 09:20:10 +01:00
Paul Chavard
243a8301bb
fix(dossier): authorize passage en instruction if auto archive is on and is in the past
2022-12-14 22:16:13 +01:00
Colin Darie
a2f8ab37bc
style(instructeurs): fix dropdown visibility when table height is short
2022-12-14 18:57:34 +01:00
Colin Darie
ae296e70ed
style(instructeurs): table dossiers in full width in a fluid container
2022-12-14 18:57:33 +01:00
Paul Chavard
59bdd4bd92
fix(tags): relax parser roules
2022-12-14 17:53:36 +01:00
Paul Chavard
9149e0fcd7
feat(revision): allow more dossiers to rebase
2022-12-14 17:42:27 +01:00
Paul Chavard
5dfb96383a
fix(types_de_champ): ensure we always reset dossier after demarche changes
2022-12-14 17:42:27 +01:00
Paul Chavard
1f54986ab8
clean(admin): remove unused code from old controller
2022-12-14 17:42:27 +01:00
Colin Darie
3a9a71079a
Merge branch 'main' into pj-en-construction-replace
2022-12-14 16:59:48 +01:00
Paul Chavard
1b95809f14
refactor(dossier): flatten champ attributes
2022-12-14 13:03:06 +01:00
Paul Chavard
0d10d36cb0
Revert "Merge pull request #7907 from tchak/feat-cond-repetitions"
...
This reverts commit 1900f8ff4c
, reversing
changes made to febffc2d64
.
# Conflicts:
# app/models/dossier.rb
2022-12-14 11:25:45 +01:00
Colin Darie
a3425f5074
chore(i18n): translate missing attachments titles keys
2022-12-14 09:58:15 +01:00
Colin Darie
013a05f24a
feat(piece_justificative): replace with multiple attachments for dossier en_construction
2022-12-14 09:58:15 +01:00
Colin Darie
4049240c2c
feat(piece_justificative): allow user to replace a PJ for dossier en_construction
2022-12-14 09:58:15 +01:00
Paul Chavard
ece70efbea
refactor(dossier): improuve dossiers_safe_scope on batch operation
2022-12-14 09:45:53 +01:00
Paul Chavard
9510142cd8
fix(dossier): parent_dossiers is really cloned_dossiers
2022-12-14 09:44:19 +01:00
Paul Chavard
8c173e45bf
fix(admin): go to the right tab when click on breadcrumb link
2022-12-13 15:55:10 +01:00
Colin Darie
c93eba38ea
chore(turbo-poll): convert to setInterval, turbo morph compatible.
...
Interval is not exponential anymore, so increase max checks.
2022-12-08 20:36:15 +01:00
Colin Darie
4824363879
refactor(attachment): rename user_can_download -> explicit view_as
...
- link: shows a simple link to open attachment
- download: shows complete DSFR download UI
2022-12-08 20:36:15 +01:00
Colin Darie
7c5d27d8e9
feat(attachment): allow user to "view" a file without the complete download UI
2022-12-08 20:36:15 +01:00
Colin Darie
7719ce1865
chore(attachment): increase poll antivirus timeout and make it clear it's not blocker
2022-12-08 20:36:15 +01:00
Paul Chavard
7929b7d0d7
clean(api_token): remove administrateur token support
2022-12-08 17:35:21 +01:00
Martin
e018d2975d
amelioration(administrateur/carte-email): la carte des emails affichait toujours 'A configurer'. Desormais si les 5 mail configurable on ete modifiés, on affiche 'Validé' + on affiche le nombre de mail personnalisé
2022-12-08 16:25:08 +01:00
sebastiencarceles
69d61913f5
review: unauthorize complex champs
2022-12-08 15:27:39 +01:00
sebastiencarceles
bf03e3b35a
review: prefix typed ids with 'champ_'
2022-12-08 15:27:39 +01:00
sebastiencarceles
11fed2c934
review: champs exist because stable ids exist
2022-12-08 15:27:39 +01:00
sebastiencarceles
a5c1c68a91
review: style
2022-12-08 15:27:39 +01:00
Sébastien Carceles
9dfb498806
review: prefer if to unless
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2022-12-08 15:27:39 +01:00
Damien Le Thiec
006a1257b5
Refacto prefill_params construction (remove merge)
2022-12-08 15:27:39 +01:00
sebastiencarceles
373e8aeadb
review: validate prefilled champs only
2022-12-08 15:27:39 +01:00
sebastiencarceles
1e21a3d3e1
review: query the db only once
2022-12-08 15:27:39 +01:00
sebastiencarceles
ab30af5fe5
review: move Prefillable to concern directory
2022-12-08 15:27:39 +01:00
sebastiencarceles
3939644030
validate prefilled champs when editing brouillon
2022-12-08 15:27:39 +01:00
sebastiencarceles
79ef48cafb
make the dossier prefillable
2022-12-08 15:27:39 +01:00
sebastiencarceles
f4e1a09e73
prepare prefilled values from ctrl params
2022-12-08 15:27:39 +01:00
sebastiencarceles
24802985a2
feat(dossier): prefill dossier from query params
2022-12-08 15:27:39 +01:00
Paul Chavard
52a32051c4
feat(dossier): add dossier.champs_public_all
2022-12-08 09:38:12 +01:00
Paul Chavard
d513c364d8
feat(cond): enable conditional on champs in repetitions
2022-12-08 09:38:12 +01:00
Paul Chavard
6ce7064ffd
feat(dossier): add repetition champs to champs_for_condition
2022-12-08 09:38:12 +01:00
Colin Darie
40a1eaaaed
fix(annuaire-education): schema should not require adresse_1, type_contrat_prive attributes
...
https://sentry.io/organizations/demarches-simplifiees/issues/3328955794/events/147affe4b73b43a391c257b97d298bb9/?project=1429550
2022-12-07 22:23:34 +01:00
simon lehericey
fe8bd15939
feat(timestamp): ensure signature is openssl compatible
2022-12-07 19:28:01 +01:00
simon lehericey
86cda6a0b9
fix(timestamp spec): rewind io after before_save check
2022-12-07 19:28:01 +01:00
simon lehericey
de2c5c69be
feat(timestamp): use certigna to timestamp
2022-12-07 19:28:01 +01:00
simon lehericey
172a9d5599
feat(timestamp): add certigna
2022-12-07 19:28:01 +01:00
Paul Chavard
52c8fc7e8d
feat(api_token): api v2 use new token
2022-12-07 18:19:37 +01:00
Paul Chavard
a47a056ee8
feat(api_token): api v1 use new token
2022-12-07 18:19:37 +01:00
Paul Chavard
3c21090a88
feat(api_token): add profile api token card
2022-12-07 18:19:37 +01:00
Paul Chavard
3d1f57df83
feat(api_token): add api token controller
2022-12-07 18:19:37 +01:00
Paul Chavard
ebbada752f
feat(api_token): add APIToken model
2022-12-07 18:19:37 +01:00
Lisa Durand
64134d1b08
fix deleted notification in table after batch feature implementation
2022-12-07 16:21:15 +01:00
Paul Chavard
30a5c592e6
refactor(graphql): use shorthand syntax in mutations
2022-12-07 13:21:55 +01:00
Paul Chavard
4fe081e4be
fix(dossier): send notifications on declarative dossiers
2022-12-07 13:14:59 +01:00
Paul Chavard
bb47e8d2ab
fix(dossier): dossier.repasser_en_construction! should take disable_notification
2022-12-07 13:14:59 +01:00
Paul Chavard
e6fa7f0a9f
feat(graphql): update stored query to use files instead of file
2022-12-07 12:06:55 +01:00
Paul Chavard
c008cad1f9
feat(graphql): prepare avis and messages to handle multiple files
2022-12-07 12:06:55 +01:00
Colin Darie
f4eb32af29
fix(messagerie): attachment open in new tab
2022-12-06 16:44:24 +01:00
Colin Darie
182bfcd3e3
style(attachment): delete button replaces bullet when user can download + destroy
2022-12-06 16:37:10 +01:00
Colin Darie
5b20713893
style(attachment): fix antivirus badge when uploading as downloadable
2022-12-06 16:37:10 +01:00
Colin Darie
f4d403a81c
fix(apiv1): piece_justificative continue to returns a single attachment
2022-12-06 15:47:06 +01:00
Martin
2eaa06b22b
correctif(export.pjs): sur l'export, les champs de type piece justificative renvoyent un tableau de la meme dimension quelque soit le nombre de pj joint
2022-12-06 15:22:53 +01:00
Paul Chavard
b8a9b7223c
refactor(groupe_instructeur): improuve controller
2022-12-06 12:01:54 +01:00
Paul Chavard
f49a1baeec
refactor(groupe_instructeur): remove mailer should take a list of instructeurs
2022-12-06 12:01:54 +01:00
Paul Chavard
9fe93ded7f
refactor(groupe_instructeur): add instructeur.find_or_invite
2022-12-06 12:01:54 +01:00
Colin Darie
4ba76e6844
fix(api-v1): dossier -> avis -> piece_justificative_file_attachment relation name
2022-12-06 11:48:42 +01:00
Paul Chavard
ed4d5cb36a
refactor(demarche): make declarative demarche processing syncroneous
2022-12-06 11:41:25 +01:00
Martin
91ef618a42
clean(code): stick to usage of present?/empty? instead of count zero etc
2022-12-06 11:28:48 +01:00
Martin
8f1478b00f
clean(deadcode): remove deadcode
2022-12-06 11:28:48 +01:00
Martin
b5f69c8961
review(dossier.reload): evite de recharger le batch qui peut etre confusant
2022-12-06 11:28:48 +01:00
Martin
7c65af3be0
poc(batch_operation_alert): simplier wording
2022-12-06 11:28:48 +01:00
Lisa Durand
3d2f0ebb88
add icon on submit button and simplify i18n
2022-12-06 11:28:48 +01:00
Martin
ea8bd13bcf
poc(batch_operation.purge): nettoie les batch terminé ou inutiles
2022-12-06 11:28:48 +01:00
Martin
6556fda218
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Lisa Durand
0563ac391b
small css adjustements to improve table display
2022-12-06 11:28:48 +01:00
Martin
b0ae2e8a0f
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Martin
5875f9b572
spec(batch_operation): system spec batch operation poc
2022-12-06 11:28:48 +01:00
Lisa Durand
7b3cbcb8f6
display batch operation alerts
2022-12-06 11:28:48 +01:00
Lisa Durand
2615da1e28
setup seen_at to hide alert when batch is finished and alert has been seen
2022-12-06 11:28:48 +01:00
Lisa Durand
6859882a58
display batch operation alert to instructeur groups not only instructeur
2022-12-06 11:28:48 +01:00
Lisa Durand
c52443f221
change flash alert wording and display message in show if dossier is in batch
2022-12-06 11:28:48 +01:00
Lisa Durand
1beb219fdd
display batch operation alerts
2022-12-06 11:28:48 +01:00
Martin
e5944eed34
poc(batch_operation): habtm groupe instructeurs, permettra de visualiser plus facilement les batch en cours pour les instructeurs du meme groupe
2022-12-06 11:28:48 +01:00
Martin
eaf72162da
poc(batch_operation): some rewrite to avoid various conflict (when an instructeur try to create a job with an incompatible dossier regarding the current task). also soome cleanup to isole spec in least involved model
2022-12-06 11:28:48 +01:00
Martin
4266ab93c5
poc(batch_operation): track dossier processed safely
2022-12-06 11:28:48 +01:00
Martin
7a51ecec5d
poc(batch_operation): quand un dossier est dans un batch, impossible de faire les actions : archive, unarchive, follow, unfollow, passer_en_instruction, repasser_en_construction, repasser_en_instruction, terminer, restore, destroy, extend_conservation
2022-12-06 11:28:48 +01:00
Martin
35dbc4021e
poc(batch_operation): show locked files
2022-12-06 11:28:48 +01:00
Martin
beb39027d0
poc(batch_operation.ui): implement simple ui to trigger a batch of current page
2022-12-06 11:28:48 +01:00
Martin
7df86c50fb
poc(batch_operations_controller): implement simple [not yet with procedure_presentation] action to create a batch operation
2022-12-06 11:28:48 +01:00
Martin
b11dbafc59
poc(batch_operation_job): implement archive dossiers with async behaviour, lock, run_at, finished_at, failed_dossier_ids, success_dossier_ids
2022-12-06 11:28:48 +01:00
Martin
61f4cded75
poc(batch_operation): just the model and some specs and a poc for archive them without async
2022-12-06 11:28:48 +01:00
Martin
9193581ae2
correctif(admin/procedures/configuration): pour une procedure, la tuile instructeurs est considérée valide si le routage est activé ou si il y a des instructeurs declarés
...
Update app/components/procedure/card/instructeurs_component/instructeurs_component.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-12-06 10:20:17 +01:00
Colin Darie
a2e80cfcca
fix(clone-rescue): when record was invalid
2022-12-05 18:19:17 +01:00
Colin Darie
00e1e90cb6
fix: multipart upload on instructeurs import & acceptation avec PJ
...
Les options html dans un `form_tag` ne doivent pas être définies
sous la clé `html` mais directement à la "racine".
Fix régression introduite dans #7958
2022-12-05 17:28:12 +01:00
Martin
1cdfc9ded0
amelioration(liens-de-telechargement): permet de specifier si le lien de téléchargement se fait sur l'onglet actuel ou vers un nouvel onglet
2022-12-05 15:59:50 +01:00
simon lehericey
8771205679
clean(flipper): remove unused expert_not_allowed_to_invite
2022-12-05 12:22:29 +01:00
Colin Darie
f7d6350e05
fix(a11y/identite): indicates that all fields are required
...
Closes #8096
2022-12-05 11:37:36 +01:00
Colin Darie
b9d6397a9b
fix(pj_template): private proxy template url so their links are non expirable
...
Closes #7920
2022-12-05 11:30:00 +01:00
Colin Darie
c98021e58a
chore(attachment): input name attribute follows form object name for nested attributes
2022-12-05 10:47:10 +01:00
Colin Darie
6e8302101f
fix(attachments): cleanup useless kwarg
2022-12-05 10:47:10 +01:00
Colin Darie
cb2afc74b0
style(attachments): better UX when we can try to upload without network
2022-12-05 10:47:10 +01:00
Colin Darie
42b84384dd
fix(a11y/attachment): associate input to label, no empty id
2022-12-05 10:47:10 +01:00
Colin Darie
1db40de70e
style(attachments): improve when we can download our multiple attachments (dossier en_construction)
2022-12-05 10:47:10 +01:00
Colin Darie
920f90d2e3
chore(titre_identite): render template if exists
2022-12-05 10:47:10 +01:00
Colin Darie
3e617f34ec
chore(admin): can download an uploaded PJ template
2022-12-05 10:47:10 +01:00
Colin Darie
42363e0b0d
refactor(attachment): extract PendingPoll component
2022-12-05 10:47:10 +01:00
Colin Darie
b110e58f2f
refactor(attachment): extract i18n
2022-12-05 10:47:10 +01:00
Colin Darie
2f84346ba3
fix(dossier/sticky-footer): above dsfr buttons have a z-index = 1
2022-12-05 10:47:10 +01:00
Colin Darie
fe0312b1d7
style(procedure/form): fix bg on input file within non-dsfr forms
2022-12-05 10:47:10 +01:00
Colin Darie
e3ddb7779f
fix(form): multipart option must be set under "html" to ensure rendering as expected
2022-12-05 10:47:10 +01:00
Colin Darie
6ac0114992
test(attachments): more components tests & improvements
2022-12-05 10:47:10 +01:00
Colin Darie
fefc326e6b
refactor(attachment): extract shared Attachment::ProgressComponent
2022-12-05 10:47:10 +01:00
Colin Darie
7cbe6bbaa4
fix(attachment): clone piece justificatives with multiple attachments
2022-12-05 10:47:10 +01:00
Colin Darie
b609c3dae4
refactor(attachment): bring batch user_can_destroy, update tests
2022-12-05 10:47:10 +01:00
Colin Darie
df135b080b
refactor(attachment): remove useless id
arg
2022-12-05 10:47:10 +01:00
Colin Darie
0a114270af
refactor(attachment): update Attachment::EditComponent everywhere
2022-12-05 10:47:10 +01:00
Colin Darie
b13c5e56f6
refactor(piece_justificative): UX follows mockups
2022-12-05 10:47:10 +01:00
Colin Darie
84ca01bdf7
fix(piece_justicative): don't modify validator accepted formats in place
...
Previous implementation caused to add multiple times ".acidcsa".
2022-12-05 10:47:10 +01:00
Colin Darie
3e992589c5
style(piece_justificative): input ux & list accepted formats
2022-12-05 10:47:10 +01:00
Colin Darie
f66a0cf5a9
chore(piece_justificative): tells admins multiple files could be attached
2022-12-05 10:47:10 +01:00
Colin Darie
636645f686
refactor: minor piece_justificative_multiple? question mark use
2022-12-05 10:47:10 +01:00
Colin Darie
a726350f0d
feat(procedure): allow admin to enable multiple uploads for piece justificative on existing procedures
2022-12-05 10:47:10 +01:00
Colin Darie
3affd1660f
fix(api-v1): piece justificative serialization
2022-12-05 10:47:10 +01:00
Colin Darie
1f8d28c678
feat(piece_justificative): limit to 1 upload for existing procedures
2022-12-05 10:47:10 +01:00
Colin Darie
0014ce4b91
chore(schema): +procedures#piece_justificative_multiple
2022-12-05 10:47:10 +01:00
Colin Darie
ed1c6ec515
style(piece_justificative): use DSFR Téléchargement de fichiers for instructeurs & experts
2022-12-05 10:47:10 +01:00
Colin Darie
1138604748
feat(api): PieceJustificativeChamp: deprecate file
in favor of files
2022-12-05 10:47:10 +01:00
Colin Darie
6a0379086d
chore(piece_justificative): continue attachments refactor
2022-12-05 10:47:10 +01:00
Colin Darie
7ae6efe776
refactor(attachment): remove replace feature
2022-12-05 10:47:10 +01:00
Colin Darie
b8296c6d4d
feat(piece_justificative): supports multiple files
...
Closes #7924
2022-12-05 10:47:10 +01:00
Colin Darie
ab1928dc33
style(attachment): enable underlined link on refresh link
2022-12-05 10:47:10 +01:00
Colin Darie
91f4971df2
feat(champ): has_one_attached => has_many_attached piece_justificative_file
2022-12-05 10:47:10 +01:00
Colin Darie
ac234b7744
chore(footer): remove obsolete footer partial & i18n keys
2022-12-05 10:38:16 +01:00
Colin Darie
52b6502cbd
test(a11y): ensure we don't mix aria-label and title on main pages
...
Actuellement, on fait le choix de ne pas avoir d'éléments porteurs à la
fois d'aria-label et title.
Bien qu'en principe l'aria-label quand elle est gérée par un navigateur,
prenne précédence sur le title, en pratique un bug dans NVDA cumule les 2
et rend la navigation difficile.
On prend donc le parti (provisoire?) de n'avoir que l'un ou l'autre.
Nous gardons le title si l'info qu'il contient est également pertinente
pour les navigateurs graphiques qui l'affichent en guise de tooltip ;
autrement on bascule sur l'aria-label qui est plus largement supporté
par les navigateurs a11y.
2022-12-05 10:38:16 +01:00
Colin Darie
f653a25cc2
fix(i18n/a11y): translate "Edit file" button title
...
Closes #8136
2022-12-05 10:38:16 +01:00
Colin Darie
762942f468
chore(i18n): translate meta title for main user pages
2022-12-05 10:38:16 +01:00
Colin Darie
70d4d7848b
feat(i18n): more footer translations
2022-12-05 10:38:16 +01:00
Colin Darie
f15363e178
feat(i18n): basic home translation
2022-12-05 10:38:16 +01:00
Paul Chavard
36195acb29
feat(component): add CopyButtonComponent
2022-12-02 11:30:49 +01:00
Kara Diaby
1efcacd845
add copy button component
2022-12-02 11:30:49 +01:00
Kara Diaby
fe04244138
locales
2022-12-02 11:30:49 +01:00
Kara Diaby
d0ba0e2d63
layout
2022-12-02 11:30:48 +01:00
Kara Diaby
f5e4c28fc1
controller
2022-12-02 11:30:48 +01:00
Colin Darie
6803fbeddb
feat(instructeurs): list archiver email & date
2022-12-01 18:27:18 +01:00
Paul Chavard
00556715d6
fix(typography): fix quotes
2022-12-01 17:59:11 +01:00
Paul Chavard
886a409abf
fix(dossier): fix links to empty pdf templates
2022-12-01 17:35:01 +01:00
Paul Chavard
ece68076a7
feat(dossier): add some metadata to archive and remove operation log
2022-11-30 16:20:13 +01:00
Colin Darie
cd87390262
fix(a11y/dossiers): add a caption to dossiers table (critere 5.4)
...
Closes #8090
2022-11-30 13:41:13 +01:00
Colin Darie
80106bf4e6
fix(a11y/search): table th/td associations (critère 5.7)
...
Closes #8094
2022-11-30 13:41:13 +01:00
Colin Darie
3a2fae9cc2
fix(a11y): table having role=presentation (critere 5.3)
...
Closes #8154
2022-11-30 13:41:13 +01:00
Colin Darie
8baac2087e
style(mobile): fix burger menu alignment: we need a left icon (match UX)
2022-11-30 12:08:59 +01:00
Colin Darie
436c1951cc
fix(locale-switcher): attributes & wording issues
...
Cf #8059
2022-11-30 12:08:59 +01:00
Paul Chavard
a90dada104
fix(patron): dossier should have a procedure and champ should delegate to dossier
2022-11-30 10:54:03 +01:00
Colin Darie
8c16eb1543
fix(a11y): more external link having title saying it will open in new tab
2022-11-30 09:27:46 +01:00
Colin Darie
ff879eb0c2
fix(a11y/dossier): fix non explicit link (6.1)
...
Closes #8136
2022-11-30 09:27:46 +01:00
Colin Darie
edc2eaac30
fix(footer/home): add missing rel noopener/noreferer on external links
2022-11-30 09:27:46 +01:00
Colin Darie
4d00fcc2d9
fix(a11y/home): add missing title attributes
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
720995f48f
fix(a11y/footer): add "new tab" suffix on title links
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
e60fb1f0c1
fix(a11y/footer): img with alt for beta gouv logo
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
c55148f694
fix(a11y): root title link more explicit + i18n
...
Closes #8050
2022-11-30 09:27:46 +01:00
Paul Chavard
1fb051c3cc
refactor(attestation_template): remove unused code
2022-11-29 19:36:56 +01:00
Eric Leroy-Terquem
76605f2c0b
fix pagination
2022-11-29 17:46:30 +01:00
Paul Chavard
06f43f99d0
fix(dossier): excluded deleted dossiers from demarche overview
2022-11-29 16:41:31 +01:00
simon lehericey
bffd8015d8
fix(avis_controller): check revoked avis by default
2022-11-29 16:21:06 +01:00
simon lehericey
801d594efd
fix(avis_controller): revoked_acl on telecharger_pjs
2022-11-29 16:21:06 +01:00
simon lehericey
a84269e66e
fix(avis_controller): revoked acl on bilans_pdf
2022-11-29 16:21:06 +01:00
simon lehericey
d764959659
fix(avis_controller): revoked acl on create_commentaire
2022-11-29 16:21:06 +01:00
simon lehericey
8929af2767
fix(avis_controller): revoked acl on messagerie
2022-11-29 16:21:06 +01:00
simon lehericey
71dd0b99ab
fix(avis_controller): revoked acl on update_expert
2022-11-29 16:21:06 +01:00
simon lehericey
531cbf2612
fix(avis_controller): revoked acl on update
2022-11-29 16:21:06 +01:00
simon lehericey
3be17da70e
fix(avis_controller): revoked acl on update
2022-11-29 16:21:06 +01:00
simon lehericey
6aa2ccacd4
fix(avis_controller): fix revoked acl on create_avis
2022-11-29 16:21:06 +01:00
simon lehericey
c17bc50def
fix(avis_controller): acl on instruction
2022-11-29 16:21:06 +01:00
simon lehericey
f500cb8dc7
fix(avis_controller): procedure do not show revoked avis
2022-11-29 16:21:06 +01:00
simon lehericey
dcae06ae84
fix(avis_controller): index do not linked to revoked avis
2022-11-29 16:21:06 +01:00
simon lehericey
f96a7f432c
clean(dossier): useless method
2022-11-29 15:33:10 +01:00
Paul Chavard
53eb3e6ad0
chore(dossier): cleanup champs nested attributes
2022-11-29 11:10:59 +01:00
Paul Chavard
ee30a95847
fix(graphql): check if tokens are revoked
2022-11-25 16:27:11 +01:00
Colin Darie
611120f31f
chore(dossier_transfer): notice after transfer invitation sent
2022-11-25 13:34:12 +01:00
Colin Darie
f625d99934
chore(dossier_transfer): extract i18n
2022-11-25 13:34:12 +01:00
Colin Darie
933e6a1aec
chore(dossier_transfer): explanation about transfer more explicit and convert to DSFR
2022-11-25 13:34:12 +01:00
sebastiencarceles
c294ce70ca
fix: escape characters when showing page title
2022-11-25 09:30:20 +01:00
Colin Darie
0e49f3321a
fix(pdf): strip html in type_de_champ descriptions
2022-11-24 19:23:51 +01:00
Paul Chavard
5a9ce7a331
feat(graphql): make demarche schema public
2022-11-24 18:21:33 +01:00
Paul Chavard
e3da500614
fix(graphql): variables should be a plain hash
2022-11-24 18:21:33 +01:00
Paul Chavard
a760e0a698
feat(demarche): enable revisions for all
2022-11-24 17:35:33 +01:00
Paul Chavard
7a35a253a0
chore(dossier): cleanup clone champ
2022-11-24 16:25:27 +01:00
Paul Chavard
b3a35ab3aa
fix(graphql): fix playground when admin has no procedures or dossiers
2022-11-24 16:18:08 +01:00
Paul Chavard
4cdd5bcf07
fix(a11y): erreurs code source (Critère 8.2)
...
related #8051
2022-11-24 15:49:47 +01:00
Paul Chavard
6f6f4bc60d
fix(stats): exported file should be csv
...
fix #7040
2022-11-24 15:40:46 +01:00
Christophe Robillard
1003a24711
remove useless spaces
2022-11-24 15:05:46 +01:00
Christophe Robillard
3539b00652
search admins by email
2022-11-24 15:05:46 +01:00
simon lehericey
8acdf7f5ee
feat(team_account): link row to admin view
2022-11-24 14:50:26 +01:00
simon lehericey
18bb26a7f2
feat(team_account): add procedures count
2022-11-24 14:50:26 +01:00
simon lehericey
6c5ceac1e5
feat(team_manager): remove useless attributes
2022-11-24 14:50:26 +01:00
Paul Chavard
234975b806
feat(graphql): expose groupe_instructeur state and update mutation
2022-11-24 14:33:29 +01:00
Martin
bb993d552e
amelioration(avis): sur une page listant les avis en attente sur une procedure, on remonte le dernier avis demandé en premier
2022-11-24 14:23:06 +01:00
Paul Chavard
e395ab5c87
fix(invite): do not render menu when invite not found
2022-11-24 09:43:19 +01:00
Paul Chavard
405d2a695f
refactor(attestation_template): remove from revisions
2022-11-23 12:26:26 +01:00
Paul Chavard
c73b650f85
feat(attestation): validate attestation tags
2022-11-23 12:26:26 +01:00
Paul Chavard
cafda4f6f0
refactor(attestation_template): move to procedure
2022-11-23 12:26:26 +01:00
Paul Chavard
b89f6e2d53
feat(operation_log): add Cron::DossierOperationLogMoveToColdStorageJob
2022-11-22 18:06:05 +01:00
Paul Chavard
c0fd080d0e
refactor(operation_log): store data in jsonb instead of files
2022-11-22 18:06:05 +01:00
Paul Chavard
e4bf1bd2db
feat(dossier): add data to DossierOperationLog
2022-11-22 18:06:05 +01:00
Paul Chavard
d306583a7b
refactor(active_storage): PiecesJustificativesService::FakeAttachment -> ActiveStorage::FakeAttachment
2022-11-22 18:05:26 +01:00
Christophe Robillard
8e95c6a2ba
search procedures by libelle
2022-11-22 17:08:17 +01:00
simon lehericey
4babee2591
fix(admin): ignore active column
...
the attribut should be retrieve from the user model as the administrateur is no more a devise model
2022-11-22 16:41:20 +01:00
simon lehericey
bcccd57573
refactor(procedure_admins): delete old partial
2022-11-22 16:41:20 +01:00
simon lehericey
066c441b61
refactor(procedure_admins): use component
2022-11-22 16:41:20 +01:00
simon lehericey
924d2ae15d
refactor(procedure_adminis): extract component
2022-11-22 16:41:20 +01:00
simon lehericey
30b53ec927
feat(procedure_admins): allow self remove from procedure
2022-11-22 16:41:20 +01:00
simon lehericey
7e7363c8c3
refactor(application_component): add current_administrateur
2022-11-22 16:41:20 +01:00
simon lehericey
0e610179fb
refactor(champ_label): use ApplicationHelper
2022-11-22 16:41:20 +01:00
Paul Chavard
a53f0dee74
feat(a11y): add dsfr skiplinks
2022-11-22 12:29:39 +01:00
Colin Darie
15717c5b2f
chore(lint): fix haml linting issues on view components
2022-11-22 12:06:15 +01:00
simon lehericey
fe35a8a6e7
fix(cni): only allow jpg and png because of buggy pdf watermarking
2022-11-21 17:53:29 +01:00
Lisa Durand
3953470c78
remove change on api V1 and update graphql for sensitive data
2022-11-18 11:15:16 +01:00
Lisa Durand
f34c890278
add a label for api and export for sensitive data as titre_identite_champ
2022-11-18 11:15:16 +01:00
Paul Chavard
0c0618aa79
feat(export): add GeoJSON export
2022-11-18 10:04:35 +01:00
Paul Chavard
d70db8cc05
fix(css): body should expand to the whole page
2022-11-18 10:04:35 +01:00
Christophe Robillard
ca0dfc9da6
fix missing header for all demarches layout
2022-11-18 06:50:45 +01:00
simon lehericey
66e9b74121
feat(manager): select team_user base on attribute
2022-11-17 16:29:08 +01:00
Paul Chavard
07173401de
fix(graphql): load playground from CDN
2022-11-17 15:50:05 +01:00
Paul Chavard
29bdd82b59
refactor(procedure): types_de_champ -> active_revision.types_de_champ_public
2022-11-17 13:54:14 +01:00
simon lehericey
9ed42b316f
refactor(user): administration -> super_admin
...
delete_and_keep_track_dossier_also_delete_user is only called by super admin
2022-11-16 17:52:48 +01:00
simon lehericey
99871b6ba6
refactor(user): introduce method to only delete dossier
2022-11-16 17:52:47 +01:00
simon lehericey
fcfe09f05a
refactor(user): rename delete_and_keep_track_dossiers
2022-11-16 17:52:47 +01:00
Paul Chavard
6f6b3896de
refactor(export): reduce repetition in export code hopefully making it more readable
2022-11-16 08:49:37 +01:00
Paul Chavard
c1ae9d03be
feat(export): show refresh button sooner
2022-11-16 08:49:37 +01:00
Paul Chavard
8eac50f7c9
fix(turbo-stream): read delay on turbo-stream element
2022-11-16 08:49:37 +01:00
Paul Chavard
f6609d42ce
chore(vitejs): update
2022-11-15 18:54:43 +01:00
Colin Darie
3ea57a0416
chore(bundle): bump pundit 2.1.0 => 2.2.0
...
Fix administrate autoloading.
2022-11-15 17:28:04 +01:00
Colin Darie
a4ed1d07af
chore(manager): disable pagination count on massive tables
2022-11-15 17:28:04 +01:00
Colin Darie
a28e31bd97
chore(bundle): update administrate 0.16 => 0.18
2022-11-15 17:28:04 +01:00
Colin Darie
bad4581a46
style(manager): mandatory champ more visible
2022-11-15 16:30:18 +01:00
Colin Darie
b8bfb55fb2
chore(manager): replace dossier champ row by a view component
2022-11-15 16:30:18 +01:00
Colin Darie
42867569a5
style(manager): no hr between nested dl/dd, it breaks layout
2022-11-15 16:30:18 +01:00
Colin Darie
d0193c776f
chore(manager): improve filled piece justificative champ detection
2022-11-15 16:30:18 +01:00
Colin Darie
d4eed1c631
style(manager): message on invisible champ due to conditional
2022-11-15 16:30:18 +01:00
Colin Darie
8d1e99dc06
style(manager): iconify fill/empty champ
2022-11-15 16:30:18 +01:00
Colin Darie
d2ad8d8455
feat(manager): shows ChampRepetition children
2022-11-15 16:30:18 +01:00
Colin Darie
d961769a12
feat(manager): can search by user id
2022-11-15 16:30:18 +01:00
Colin Darie
949e9baa6f
style(manager): signin button as dsfr
2022-11-15 16:30:18 +01:00
Paul Chavard
6ad057dcee
feat(graphql): upgrade playground version
2022-11-15 11:48:29 +01:00
Lisa Durand
c2de73c09d
simplify and improve perf by making the feature works only for id search
2022-11-15 10:51:36 +01:00
Lisa Durand
d245e12559
remove render_views in spec and correct the way to retrieve dossiers
2022-11-15 10:51:36 +01:00
Lisa Durand
ba0799b684
it displays a message if instructor is looking for a dossier that is not in his instructor group
2022-11-15 10:51:36 +01:00
Colin Darie
0cd2eb696b
fix(manager): missing renaming champs -> champs_public
2022-11-14 22:39:26 +00:00
Colin Darie
2359360c15
fix(form): checkbox & radio not rendered properly on old safari & chrome
2022-11-14 14:56:43 +01:00
Colin Darie
a208b2e122
fix(dsfr): no underline on legacy buttons
2022-11-14 14:56:43 +01:00
Colin Darie
fb7ac3c610
style(dsfr): convert a user button to DSFR
2022-11-14 14:56:43 +01:00
Martin
18b7f4e4fa
remaniement(dossier.clone): simplifications, pas de callback/after, pas d'heritage, mm interface pour cloner les champs public/prive, clonage des PJs avec le nouveau service de clone, ajoute une cle etrangere sur la colonne parent_dossier_id
2022-11-14 09:53:19 +01:00
Martin
90f7d265c6
amelioration(clone.piece_justificative): gestion du clonage des piece justificative dans une tache asynchrone
2022-11-14 09:13:54 +01:00
Martin
05dcf5e7cf
amelioration(usager.liste_des_dossier): ajout du bouton pour cloner un dossier
2022-11-14 09:13:54 +01:00
Martin
844004818a
amelioration(dossier.clone): dossier.clone, permet de cloner un dossier
2022-11-14 09:13:52 +01:00
Paul Chavard
1cac88a621
refactor(dossier): permit old attributes format for smooth migration
2022-11-11 09:17:42 +00:00
Paul Chavard
e6288c39f2
refactor(dossier): champs -> champs_public
2022-11-10 22:44:39 +00:00
Christophe Robillard
cc35788d26
extract computation to controller
2022-11-10 18:02:20 +01:00
Christophe Robillard
3a15178cee
use common layout for all procedures and admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
5f5b6bf7c7
use specific route for all admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
c96781cfad
list all admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
3b2df47ba0
add style for all admins link
2022-11-10 18:02:20 +01:00
Paul Chavard
95f65900d3
refactor(active_storage): no download on clone
2022-11-10 12:25:55 +00:00
Christophe Robillard
c1dad54483
fix padding for checkbox group
...
due to dsfr 1.8 upgrade
2022-11-09 13:32:55 +01:00
Paul Chavard
5e87539d6d
fix(groupe_instructeur): add explicit order to groupe_instructeurs
2022-11-09 10:56:40 +00:00
Christophe Robillard
f80adb4287
improve wording
2022-11-09 10:58:02 +01:00
Christophe Robillard
87832f6eb2
fix pagination bug
2022-11-09 10:41:06 +01:00
Christophe Robillard
7ef114c910
add debounce for date_publication autosubmit
2022-11-09 10:41:06 +01:00
Christophe Robillard
a5fa21ca1b
add from_publication_date filter
2022-11-09 10:41:06 +01:00
Martin
b3f80dc5f9
amelioration(Procedure.revision_changes): ajout du support pour les texte complementaire affichable au clique des champs de type explication
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-11-08 17:49:24 +01:00
Martin
df54dc04a4
amelioration(champ.explication): ajout du support pour avoir un menu depliant avec plus d'information sur un champs explication
...
amelioration(champ.explication): ajout du support pour avoir un menu depliant avec plus d'information sur un champs explication
2022-11-08 17:49:24 +01:00
Martin
fe0411203f
amelioration(types_de_champ/editor): en mode edition d'un champ de type explication, permet de choisir d'afficher ou pas cette explication derriere un collapse
2022-11-08 17:49:24 +01:00
mfo
4a0955832d
Merge pull request #7997 from mfo/US/support-webhook
...
evolution(helpscout.webhooks): mise en place d'un rappel web afin de notifier l'equipe tech des bug identifies par le support
2022-11-08 17:19:10 +01:00
mfo
618967c054
Merge pull request #8022 from mfo/US/titre-identite-en-pdf
...
amelioration(Champ.titre-d-identite): ajout du support pour les .pdf
2022-11-08 17:05:23 +01:00
Martin
a1dbc40f57
evolution(helpscout.webhooks): mise en place des rappel web afin de notifier l'equipe tech des bug identifies par le support
...
Co-authored-by: Colin Darie <colin@darie.eu>
2022-11-08 17:00:03 +01:00
Martin
95312fed47
correctif(dropdown): rend toutes les dropdown valide via le controller.js plutot que les balises html
2022-11-08 16:40:17 +01:00
Martin
7d6e99316a
fix(a11y.color): corrige le manque de contraste sur les libelles des liens dans les menu action
2022-11-08 16:40:17 +01:00
Martin
b358c505fa
fix(aria-menu): element with role="menu-item" must be children of a direct parentElement having role="menu", all elements between role="menu" and role="menu-item" must be presentation as role="none", see: https://accessibilityinsights.io/info-examples/web/aria-required-parent/
2022-11-08 16:40:17 +01:00
Martin
9e399aa199
fix(aria-expanded): aria-expanded can be either true or false, not empty: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded
2022-11-08 16:40:17 +01:00
Martin
0d675d4ee5
amelioration(Champ.titre-d-identite): ajout du support pour les .pdf
2022-11-08 16:27:06 +01:00
simon lehericey
33e803cc79
fix: I18n
2022-11-08 16:17:06 +01:00
simon lehericey
db3ebfa6d2
feat(FranceConnect): list and allow to unlink FC identities
2022-11-08 16:17:06 +01:00
simon lehericey
ef1e66e651
fix(css): use dsfr button
2022-11-08 16:17:06 +01:00
Christophe Robillard
2138835f43
make status filter removable
2022-11-08 12:14:26 +01:00
Christophe Robillard
c0231dffa2
extract ProceduresFilter class
2022-11-08 12:14:26 +01:00
Christophe Robillard
296183cc26
improve accessibility
2022-11-08 12:14:26 +01:00
Paul Chavard
b020cb31b6
fix(publication): improuve publication warnings
2022-11-08 10:20:35 +00:00
mfo
8eefe3558b
Update app/dashboards/team_account_dashboard.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2022-11-08 09:55:21 +01:00
Martin
bd28c29856
amelioration(manager): ajout de la visualisation des comptes marqués comme membre de l'equipe
2022-11-08 09:55:21 +01:00
Martin
c9292e7ba8
amelioration(bdd): mise en place d'un flag pour identifier les anciens comptes d'admin de DS
2022-11-08 09:55:21 +01:00
Bouchra
c4011e32be
Update estimated_fill_duration_component.fr.yml
2022-11-07 13:34:58 +00:00
simon lehericey
1760ccbc01
fix(merge): transfers hidden procedures
2022-11-07 14:11:05 +01:00
Paul Chavard
7de52d582a
feat(conditional): remove conditional feature flag
2022-11-04 13:37:37 +00:00
Paul Chavard
1e8a440166
feat(graphql): expose deleted dossiers on groupe instructeur
2022-11-04 11:49:27 +00:00
Paul Chavard
3ced06d59b
feat(graphql): improuve groupe instructeur query
2022-11-04 11:27:58 +00:00
Eric Leroy-Terquem
aca2775874
remove routee? method
2022-11-04 12:03:44 +01:00
Eric Leroy-Terquem
b51770c151
toggle routing after groupe instructeur update
2022-11-04 12:03:44 +01:00
Eric Leroy-Terquem
5578115acf
update routee? method
2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
110953e450
constraint logic to active groups
2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
63ae328bee
update wording and cards order
2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
b419c48262
toggle routing when adding or deleting groupe_instructeurs
2022-11-04 12:03:43 +01:00
Paul Chavard
33fc8a45ab
feat(emails): show email errors on procedure page
2022-11-04 09:08:41 +00:00
Paul Chavard
ddd5eab4b1
feat(dsfr): improuve vertical card component
2022-11-04 09:08:41 +00:00
Paul Chavard
dd4c1f2fac
feat(emails): validate tags in notification emails
2022-11-04 09:08:41 +00:00
Eric Leroy-Terquem
09c5b9dc99
remove categories_type_de_champ feature flag
2022-11-03 14:28:27 +01:00
Kara Diaby
4d6ff768c4
Ajoute les dossiers déposés dans les statistiques Datagouv
2022-11-03 10:24:04 +01:00
Martin
9562108c60
amelioration(archive.nom-de-fichier): ameliore le nom du fichier d'une archive mensuelle pour eviter les confusion
2022-11-02 16:56:50 +01:00
Martin
e56441b7f5
correctif(Administrateurs::Archives#index): mauvaise comparaison
2022-11-02 14:07:53 +01:00
Paul Chavard
5487ce0458
feat(graphql): implement stored queries
2022-11-02 11:26:57 +01:00
Paul Chavard
91a662fdb9
fix(graphql): make sure dossiers are always loaded with appropriate scope
2022-11-02 11:25:26 +01:00
Paul Chavard
2ed11308a8
feat(graphql): improuve reptition champs schema
2022-11-02 11:09:56 +01:00
Kara Diaby
6a6a9dc006
style css
2022-11-02 10:19:43 +01:00
Kara Diaby
583a08cd6e
javascript
2022-11-02 10:19:43 +01:00
Kara Diaby
86afad6250
layout
2022-11-02 10:19:43 +01:00
Kara Diaby
661e5f78ac
model
2022-11-02 10:19:43 +01:00
Kara Diaby
2bb7b6156b
dashboard
2022-11-02 10:19:43 +01:00
Kara Diaby
329869b929
controllers
2022-11-02 10:19:43 +01:00
Paul Chavard
86a09dd24c
fix(procedure): fix procedure cards grid view
2022-11-02 09:29:28 +01:00
Paul Chavard
e7766694d3
fix(messages): retry stale blobs
2022-11-02 09:19:51 +01:00
Paul Chavard
c9adfc3bfa
fix(procedure): only set replaced_by if the procedure is effectively published
2022-11-01 15:53:58 +01:00
Martin
ef2064a603
nettoyage(Traitement): supprime une methode morte
2022-11-01 12:43:49 +01:00
Martin
1b1568b2c2
remaniement(Administrateurs::ArchivesController): ne passe pas par la table des traitement pour compter le nombre de dossier traites par mois. Depuis que nous avons redescendu la colonne processed_at sur la table dossiers, ce n'\est plus necessaire et le code est compliqué a comprendre
2022-11-01 12:43:49 +01:00
Martin
cb1726366f
correctif(administrateur/procedure/archives#index): ne pas utiliser la table des traitement pour la comptabilisation du nombre de dossier dans une archive car si le dossier a ete accepte [mois n-1], repasse en instruction[mois-n1], accepte[mois-narchive], on se retrouve avec le dossier dans plusieurs archives et des compteurs confusant
2022-11-01 12:43:49 +01:00
simon lehericey
34abf45801
fix(css): overflow in instructeur affectation
2022-11-01 10:33:57 +01:00
simon lehericey
52b7886961
fix(clone): on procedure clone, discard integrity error
2022-11-01 10:17:24 +01:00
Paul Chavard
8cf9aec0f7
refactor(procedure): expose procedure tags on model
2022-10-31 19:50:25 +01:00
Paul Chavard
70a9a7b8bd
chore(graphql): update
2022-10-31 19:20:40 +01:00
Christophe Robillard
de072c8b3d
use optional chaining
2022-10-31 16:12:02 +01:00
Christophe Robillard
7441218c7f
remove useless debug logs
2022-10-31 16:12:02 +01:00
Christophe Robillard
4308f1af26
improve readibility
2022-10-31 16:12:02 +01:00
Christophe Robillard
afcb811a8e
correct haml and scss lints
2022-10-31 16:12:02 +01:00
Christophe Robillard
a5a93260cf
reinit filters
2022-10-31 16:12:02 +01:00
Christophe Robillard
29be3812af
i18n for status
2022-10-31 16:12:02 +01:00
Christophe Robillard
3890b24489
i18n for publication date
2022-10-31 16:12:02 +01:00
Christophe Robillard
619afbacad
make selected zones removable
2022-10-31 16:12:02 +01:00
Christophe Robillard
e10e8f1024
autosubmit filter form
2022-10-31 16:12:02 +01:00
Christophe Robillard
0799c40aaa
add pagination for all demarches view
2022-10-31 16:12:02 +01:00
Christophe Robillard
3f0279ac45
add main menu for admin procedures views
2022-10-31 16:12:02 +01:00
Christophe Robillard
22fe357d75
list all demarches, filtered by status
2022-10-31 16:12:02 +01:00
Christophe Robillard
9abf1c4af3
list all demarches, filtered by zones
2022-10-31 16:12:02 +01:00
Christophe Robillard
f9f31b721a
get zones of an admin
2022-10-31 16:12:02 +01:00
Martin
60dc6a3912
correctif(export.global): Export.find_for_groupe_instructeurs remonte les exports globaux même lorsqu'il y a une procedure presentation
2022-10-31 14:32:17 +01:00
Paul Chavard
d20d9b8625
chore(manager): activate js
2022-10-31 14:06:26 +01:00
Colin Darie
3a06e7e0b3
refactor(tdc): convert fill duration in Duration objects
2022-10-31 12:17:16 +01:00
Colin Darie
010c9a0dcb
feat(procedure): includes read duration of explication/non fillable champs
...
Long explications can significantly increase global fill duration,
so we can't ignore them.
Closes #7963
2022-10-31 12:17:16 +01:00
Colin Darie
7731c6ad64
feat(procedure): estimate fill duration takes account of libelle & description read time
...
Sometimes long description on types de champ
significantly increases global fill duration.
140 words per minute is a good estimate of attentive off-voice read time.
(This is independent of characters per word).
Closes #7963
2022-10-31 12:17:16 +01:00
Colin Darie
408f57d2d1
fix(rna): date_creation may be null
...
Closes #7975
2022-10-31 12:02:37 +01:00
Paul Chavard
2ed26e8699
fix(graphql): properly handle variables json parse errors
2022-10-31 11:32:30 +01:00
Paul Chavard
ac75afb77c
fix(graphql): do not load brouillon or deleted linked dossier
2022-10-31 10:53:22 +01:00
Martin
5ced9fb431
chore(create_procedure_presentation): homogénéise l'interface sur les procédure présentation. pas d'objet 'build', sinon les export/filtres deviennent compliqués
2022-10-31 09:29:27 +01:00
Martin
50c43f4819
correct(export): la creation d'archive pour un groupe d'instructeur, avec des filtres differents et identique doit etre consistante
2022-10-31 09:29:27 +01:00
Paul Chavard
473a772032
feat(graphql): on api exceptions log query and variables
2022-10-28 12:18:21 +02:00
Colin Darie
9f2fa5ee1c
fix(invitation): don't fail when dossier is hidden & user signed on another account
...
Suite de 45994ff567
Cf https://sentry.io/organizations/demarches-simplifiees/issues/3422144920/events/e1c83ea74dbc410ea22aa17ef29fb329/?project=1429550
2022-10-28 08:56:03 +02:00
Martin
c7c46c9dff
design(page de configuration de procedure): passage de la grille au DSFR
2022-10-27 14:00:44 +02:00
simon lehericey
4c98b8f01c
fix(merge): ensure service transfert always works
2022-10-27 12:44:02 +02:00
simon lehericey
44aff1a293
fix(silent_error_in_merge): raise if merge update fail
2022-10-26 23:27:53 +02:00
Paul Chavard
7336a62637
refactor(rails/ujs): don’t use @rails/ujs in our own code
2022-10-26 23:06:10 +02:00
simon lehericey
43438f0018
fix(spec): use config debounce delay in editor
...
and 0 delay in spec
2022-10-26 22:38:33 +02:00
simon lehericey
59e68ab2c7
refactor(haml): swap - and = due to haml 6
2022-10-26 15:20:55 +02:00
simon lehericey
4e082d6424
fix(turbo morph): make the morph morph again
2022-10-26 15:20:55 +02:00
simon lehericey
baefd83f31
fix(editor): remove extra end
2022-10-25 16:32:25 +02:00
simon lehericey
6af4fe624a
refactor(service): explicit call to service job to avoid test side effect
2022-10-25 14:44:43 +02:00
simon lehericey
cf592820c6
make linter happier
2022-10-25 14:44:43 +02:00
simon lehericey
dbb5b7deec
clean(js): remove unused autosave:reset
2022-10-25 14:44:43 +02:00
simon lehericey
5cadb70d3a
refactor(js): add 'debounced-empty' when there are no more debouncing call
2022-10-25 14:44:43 +02:00
simon lehericey
f4f40ded6c
refactor(js): send 'autosave:end' when there are no more pending promises
2022-10-25 14:44:43 +02:00
Kara Diaby
476dd7e699
layout
2022-10-21 19:13:12 +02:00
Kara Diaby
cf8e6a9c67
controller
2022-10-21 19:13:12 +02:00
Kara Diaby
492c7f377f
migration
2022-10-21 19:13:12 +02:00
Paul Chavard
f2e8dba8e4
fix(dossier): tag can contain non breaking space
2022-10-21 16:34:19 +02:00
Paul Chavard
d7c5dcf8bb
fix(dossier): a tag can be preceded by a -
2022-10-21 16:06:32 +02:00
Paul Chavard
85581e72e9
refactor(turbo): simplify custom actions implementation now that turbo has support for it
2022-10-21 10:24:00 +02:00
Martin
527f416f52
amelioration(archives): documentation de la structure de l'archive
...
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2022-10-20 16:40:53 +02:00
simon lehericey
097082afc9
fix(dolist): reduce message name variability
2022-10-20 15:29:56 +02:00
Martin
2cd74d1010
amelioration(archives): positionne le fichier des reporting des erreurs en tête de l'arborescence
2022-10-20 15:14:57 +02:00
Martin
d46efeef85
amelioration(export): clarifier l'usage des exports pour les instructeurs pour eviter le téléchargement des export zip pour de l'archivage
2022-10-20 14:50:48 +02:00
Colin Darie
5b813a25d6
fix(dsfr/callout): don't nest p, it's already declared by component
2022-10-20 09:18:16 +02:00
Colin Darie
e96d307e56
style(admin): auto expiration styled with DSFR callout
2022-10-20 09:18:16 +02:00
Colin Darie
f5a0842c6e
style(dsfr): callout component with support for a bottom section like buttons
2022-10-20 09:18:16 +02:00
Colin Darie
7f28f1fe4c
fix(conjugaison): après que + indicatif
2022-10-20 09:18:16 +02:00
Colin Darie
45994ff567
fix(invitation): when dossier is not visible anymore
...
https://sentry.io/organizations/demarches-simplifiees/issues/3422144920/
2022-10-20 09:08:36 +02:00
Paul Chavard
74aa01479b
fix(revision): fix changes list style
2022-10-20 06:56:20 +02:00
Martin
576aa2c1e0
amelioration(export): augment la duree de conservation des exports en cours de generation passant de 12 a 16h. augment la duree de conservation des exports generés passant de 16 à 32h
2022-10-20 06:32:41 +02:00
simon lehericey
5fa5d46d8c
fix(admin_merge): a case where 2 admins have the same service
2022-10-19 16:54:34 +02:00
Paul Chavard
5be8810da4
fix(dossier): nullify instructeur and expert id on messages when they are deleted
...
we keep email on the message so it will be used when instructeur or expert are not available
2022-10-19 11:53:10 +02:00
simon lehericey
c6e7db3622
fix(export): bug when combining revision and conditional
2022-10-18 11:53:13 +02:00
simon lehericey
fbf089d60e
refactor(dossier): rename check_mandatory_champs -> check_mandatory_and_visible_champs
2022-10-18 11:13:41 +02:00
simon lehericey
9bba2093be
refactor(champ): mandatory_blank_and_visible? -> mandatory_blank?
...
As the method does not check visibility
2022-10-18 11:13:41 +02:00
simon lehericey
6832b12bd4
clean(haml): remove commented code
2022-10-18 11:13:41 +02:00
simon lehericey
7114623285
fix(champ): rewire champ.mandatory? to type_de_champ.mandatory?
...
it fixes behaviour in drop_down_list_component which add option if not mandatory (!= not required)
2022-10-18 11:13:41 +02:00
simon lehericey
528b7ec3f8
refactor(champ): add required?
...
used for the `required` html attribute. It check visibility to avoid hidden required input which prevent the form from being sent.
2022-10-18 11:13:41 +02:00
simon lehericey
dc89ddb639
fix(translation): typo in footer
2022-10-17 22:47:42 +02:00
Martin
6000de2095
feat(manager/outdated_procedure): enhance procedure cleanup
2022-10-17 13:35:37 +02:00
Paul Chavard
736e0b0731
fix(routage): fill dossier groupe instructeur in some edge cases
2022-10-14 17:29:56 +02:00
Paul Chavard
c075a4e415
fix(dossier): we should never detroy user’s dossiers in cascade
2022-10-14 14:14:51 +02:00
Paul Chavard
c097f70543
fix(graphql): hide champs based on conditions
2022-10-14 11:33:25 +02:00
simon lehericey
d5d031e15d
fix(export): do not export invisible champ
2022-10-14 10:30:27 +02:00
simon lehericey
40a3fff593
perf(dossiers_controller): do not load pj template in update, -10ms
2022-10-13 22:36:56 +02:00
simon lehericey
f8ee6386b9
perf(champ): check condition.present? without json deserializationl, -6ms
2022-10-13 22:36:56 +02:00
simon lehericey
73b4ee64e6
perf(champ_value): use champ_type instead of tdc.type_champ, -22ms
2022-10-13 22:36:56 +02:00
Eric Leroy-Terquem
c6082ded09
no select for usager if only one groupe_instructeur
2022-10-13 19:49:32 +02:00
Martin
d09c47f5ce
correctif(usager.fusion): leve une erreur quand on essaie de fusionner un compte sur lui même
2022-10-13 17:00:20 +02:00
Paul Chavard
25c774b3a1
refactor(dossier): extract dossier edit footer into a component
2022-10-13 14:44:46 +02:00
Paul Chavard
d409b6f4ef
feat(dossier): do not save dossier on submit
2022-10-13 14:44:46 +02:00
Paul Chavard
78a1323fc2
refactor(dossier): move dossier submit action in to a new form
2022-10-13 14:44:46 +02:00
Paul Chavard
dd38fa4458
refactor(spec): add wait_for_autosave helper
2022-10-13 14:44:46 +02:00
Colin Darie
e2e9ddd625
style(conditionnel): dsfr button styles
2022-10-13 10:17:21 +02:00
Colin Darie
8153f33896
style(repetition): fix button styles
2022-10-13 10:17:21 +02:00
Colin Darie
9571e9481d
style(avis): fix font sizes & colors due to h2 strongly styled
2022-10-12 14:41:31 +02:00
Paul Chavard
1fd1878370
feat(jobs): add request_id to jobs payload
2022-10-12 14:32:23 +02:00
Paul Chavard
7f1dd49bdc
chore(flipper): always use feature_enabled? helper
2022-10-12 14:14:30 +02:00
Paul Chavard
0f192fd752
chore(flipper): add feature_enabled? to components
2022-10-12 14:14:30 +02:00
Damien Le Thiec
29a97fac43
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-11 18:59:45 +02:00
Damien Le Thiec
0e995c8bcc
Update app/models/champs/rna_champ.rb
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2022-10-11 16:34:00 +02:00
simon lehericey
7672ad3fe9
fix(editor champ): do not raise on destroy replay
2022-10-11 16:27:49 +02:00
Damien Le Thiec
73f6063c87
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-11 15:36:46 +02:00
Damien Le Thiec
2e8c0512a5
Remove skip_cleanup option
2022-10-11 15:11:51 +02:00
Colin Darie
073656342e
fix(api_address): support Adresse BAN without postcode
...
Des adresses n'ont pas de code postal (dans certains TOM par exemple).
On fallback sur un string vide plutôt que nil pour limiter les effets de bord.
2022-10-11 12:25:12 +02:00
Damien Le Thiec
bcdc9c18ae
Remove skip_fetch_data mechanism
2022-10-11 11:52:59 +02:00
simon lehericey
97529ab6af
refactor(user dossier): move ruby logic to controller
2022-10-11 11:39:05 +02:00
simon lehericey
32e01b13ef
refactor(user dossier): mutualize update/update_brouillon
2022-10-11 11:39:05 +02:00
simon lehericey
437ac44143
perf(user dossier): batch hide/show element finding
2022-10-11 11:39:05 +02:00
Paul Chavard
a19bf050ef
fix(iban): format iban after validation
2022-10-11 10:43:32 +02:00
Colin Darie
a9f2bec636
style(css): add deprecation rules and TODO
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2022-10-11 09:50:21 +02:00
Colin Darie
59b9ae5c46
TODO: deprecate CSS containers
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2022-10-11 09:50:21 +02:00
Colin Darie
03de58c7e2
fix: download link with empty value, otherwise it could be used to name the file
2022-10-11 09:50:21 +02:00
Colin Darie
df672fb493
fix(footer): etalab link with rel=noopener
2022-10-11 09:50:21 +02:00
Colin Darie
d821a3e40c
style(new_session): fix buttons style
2022-10-11 09:50:21 +02:00
Colin Darie
9992ab9e09
style(admin): new procedure btn styles
2022-10-11 09:50:21 +02:00
Colin Darie
3e8f040d49
style(usager/dossier): fix summary actions style
2022-10-11 09:50:21 +02:00
Colin Darie
10802d15cc
style(instructeur/procedure): re-style header procedure title & dossier number
2022-10-11 09:50:21 +02:00
Colin Darie
c5092fda12
style(expert): fix avis weight/font-size
2022-10-11 09:50:21 +02:00
Colin Darie
df1d7ae2bd
style(procedures): dsfr compat instructeurs/expert procedures list
2022-10-11 09:50:21 +02:00
Colin Darie
0480a0336d
fix(scss): lint errors
2022-10-11 09:50:21 +02:00
Colin Darie
fa9bc5d185
style(admin): multiple style improvements, essentially links & buttons
2022-10-11 09:50:21 +02:00
Colin Darie
0a2460ba71
style(admin): fix various links / buttons style
2022-10-11 09:50:21 +02:00
Colin Darie
fd3b30d8e6
style(messagerie): improve font-size & styles
2022-10-11 09:50:21 +02:00
Colin Darie
278b58ef78
style(instructeurs): restyle dossier actions
2022-10-11 09:50:21 +02:00
Colin Darie
0e1077487a
style(autosave): better font-size & link style
2022-10-11 09:50:21 +02:00
Colin Darie
2ab5fbbb24
style(link): use DSFR underline style everywhere possible.
...
Par conséquent on commence à remplacer d'anciens "liens-boutons" (qui
auraient récupéré un souligné indésirable), par un vrai boutton dsfr.
Le hack fr-underlined n'est aussi plus nécessaire.
2022-10-11 09:50:21 +02:00
Colin Darie
555c796d19
style(forms): increase forms elements font-size to legacy value & fieldset style
2022-10-11 09:50:21 +02:00
Colin Darie
71996af65b
style(avis): use fr-badge for count instead of broken css
2022-10-11 09:50:21 +02:00
Colin Darie
7dd3a42cd7
fix(style): tabs
2022-10-11 09:50:21 +02:00
Colin Darie
72e79eb2d3
fix(css): don't duplicate font declarations from DSFR.
...
This may cause issues in exact font height computation & underline effect.
2022-10-11 09:50:21 +02:00
Colin Darie
aea2733be1
refactor(css): more landing + new_footer cleanup
2022-10-11 09:50:21 +02:00
Colin Darie
be367503cf
fix(footer): add missing title attribute on a
2022-10-11 09:50:21 +02:00
Colin Darie
8bd36921e0
style(footer): drop useless br since we now have a default margin-bottom on p
2022-10-11 09:50:21 +02:00
Colin Darie
10917af523
style: signin button styled accordingly to UX
2022-10-11 09:50:21 +02:00
Colin Darie
5c36c2e317
style(landing): update after reset CSS drop
2022-10-11 09:50:21 +02:00
Colin Darie
08c207e0e4
refactor(scss): remove legacy reset + generic rules, refactor imports
2022-10-11 09:50:21 +02:00
Colin Darie
5a50383a27
style: download links (notice & template) with expected DSFR design & details
...
Closes #7829
2022-10-11 09:50:21 +02:00
Colin Darie
1e9d5b753c
refactor(footer): licence sentence in partial
2022-10-11 09:50:21 +02:00
Colin Darie
36589c186c
style(colors): fix exact colors for some DSFR components like footer links
2022-10-11 09:50:21 +02:00
Colin Darie
cf4ac28735
style(stats): button with more space + dsfr
2022-10-11 09:50:21 +02:00
Colin Darie
2d7eca9dd2
feat(combo): debounce only with address / autocomplete binded on API
2022-10-10 21:09:30 +02:00
Paul Chavard
402d0dd3db
Revert "refactor(react): useDeferredValue"
...
This reverts commit cd4d7b5d36
.
2022-10-10 17:36:33 +02:00
simon lehericey
157c3778df
refactor(dossier_preloader): add option to laod pj_template
2022-10-10 12:31:40 +02:00
simon lehericey
7e03f0c825
refactor(dossier_preloader): add load_one api
2022-10-10 12:31:40 +02:00
simon lehericey
5920168077
refactor(dossier_preloader): preload piece_justificative_template
2022-10-10 12:31:40 +02:00
simon lehericey
1f95f68fcc
refactor(dossier_preloader): assign champ.parent
2022-10-10 12:31:40 +02:00
simon lehericey
5df76d9fec
refactor(dossier_preloader): remove weird set_inverse_instance
2022-10-10 12:31:40 +02:00
simon lehericey
f32b05e8b4
perf(dossier controller): use DossierPreloader
2022-10-10 12:31:40 +02:00
Martin
c921e6e1ee
fix(ProcedureExportService): downloadable_sorted_batch is scoped by export, no need to re-filter them via downloadablable_sorted_batch otherwise export for supprimes_recemment does not includes dossier.supprimes_recemment
2022-10-10 11:11:21 +02:00
Eric Leroy-Terquem
1177d861f4
add validation on routing_criteria_name
2022-10-10 09:48:11 +02:00
Martin
1f8bf201a2
feat(procedure_serializer): just add an empty string for direction
2022-10-07 18:39:17 +02:00
Martin
6752da40a9
test(procedure.direction): can we drop this column ?
2022-10-07 18:39:17 +02:00
simon lehericey
ceaf8ebbe7
fix: orphan tdc due to reset_draft
2022-10-07 17:44:30 +02:00
krichtof
44018a86de
a procedure without zone is finally valid
2022-10-07 16:59:12 +02:00
simon lehericey
f54407aa1e
fix: last_week_overview
2022-10-07 13:56:05 +02:00
simon lehericey
e86375046b
fix: label in linked_drop_down
2022-10-07 13:56:05 +02:00
simon lehericey
3dc0ed7695
fix: label in multiple_drop_down_list
2022-10-07 13:56:05 +02:00
simon lehericey
87d0334c1c
fix: label in champ component
2022-10-07 13:56:05 +02:00
Christophe Robillard
272c8cae09
cannot publish a procedure if no zones
2022-10-07 10:48:35 +02:00
Christophe Robillard
bdcb451d3c
procedure publiee must have one zone at least
2022-10-07 10:48:35 +02:00
Christophe Robillard
2985295a00
use normal font weight for checkbox labels
2022-10-07 10:48:35 +02:00
Christophe Robillard
a6928e7ca2
add ZonesComponent
2022-10-07 10:48:35 +02:00
Christophe Robillard
4d2c37ffdf
extract checkboxes zones to dedicated page
2022-10-07 10:48:35 +02:00
Christophe Robillard
94ca93e130
can choose multiple zones
2022-10-07 10:48:35 +02:00
Christophe Robillard
bffd9d61a9
add habtm between procedures and zones
2022-10-07 10:48:34 +02:00
simon lehericey
0e75f9960b
fix: send_dossier_decision preview
2022-10-06 17:43:09 +02:00
simon lehericey
9aeaddcb40
perf: remove one query on invite dropdown
2022-10-06 17:17:27 +02:00
Martin
a256dfbaa0
fix(spec): missed a failed spec previously. sorry
2022-10-06 15:34:29 +02:00
mfo
8a3550cda4
Merge pull request #7860 from mfo/US/procedure-duree-up-to-manager
...
feat(procedure.max_duree_conservation_dossiers_dans_ds): make it more flexible
2022-10-06 11:36:50 +02:00
mfo
e76b97fcb5
Merge pull request #7862 from mfo/US/cleanup-other-col
...
clean(procedure.columns): :durees_conservation_required, :cerfa_flag, :test_started_at
2022-10-06 11:36:00 +02:00
Martin
883ba8717f
clean(procedure.columns): :durees_conservation_required, :cerfa_flag, :test_started_at
2022-10-05 18:03:49 +02:00
Martin
405a885160
feat(procedure.max_duree_conservation_dossiers_dans_ds): make it more flexible
2022-10-05 17:27:09 +02:00
Damien Le Thiec
abbbef1461
Fix tests
2022-10-05 13:07:39 +02:00
Damien Le Thiec
a3468fca27
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-05 12:54:31 +02:00
Damien Le Thiec
0131a41266
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-05 12:38:24 +02:00
krichtof
92807edd03
fix zone labels when building a new procedure
2022-10-05 12:37:08 +02:00
Damien Le Thiec
93e89c8968
Fix small bugs rna controller and add tests
2022-10-05 12:31:34 +02:00
Paul Chavard
432c4690b5
feat(tags): replace regexp based parser with a parser combinator
2022-10-05 11:25:37 +02:00
Damien Le Thiec
776736fe5a
Fix rights view RNA champ data
2022-10-05 09:46:15 +02:00
Eric Leroy-Terquem
ff2e9f0816
add feature flag
2022-10-05 09:21:08 +02:00
Eric Leroy-Terquem
acd874ccdf
reorder inside categories
2022-10-05 09:21:08 +02:00
Eric Leroy-Terquem
6925ca66e6
add grouped options for select
2022-10-05 09:21:08 +02:00
Damien Le Thiec
0d9f02c88d
First draft autofetch data for RNA
2022-10-04 22:11:01 +02:00
Damien Le Thiec
ecd54de854
Extend RNA adapter while keeping depreciated version
2022-10-04 19:59:39 +02:00
Damien Le Thiec
e694ff1f60
Fix update external id after validation
2022-10-04 17:19:16 +02:00
Martin
54a47fadae
fix(sentry/3422144920): old email using TargetUserLink creates confusing errors
2022-10-04 11:41:32 +02:00
Paul Chavard
78d4abfb3d
chore(js): remove CheckConditionsController
2022-10-04 10:59:23 +02:00
Kara Diaby
057c951408
fixe une typo remontée par le support
2022-10-04 12:11:19 +04:00
Martin
7125e8538a
clean(engagement): remove last pieces of engagement champs
2022-10-04 07:17:47 +02:00
simon lehericey
77289b7a80
perf(admin_procedure_controller): same with publication page
2022-10-03 20:49:38 +02:00
simon lehericey
7af248b4bf
perf(admin_procedure_show): use partial with collection
2022-10-03 20:49:38 +02:00
simon lehericey
e043725d51
refactor(admin_procedure_controller): simplify AR include
2022-10-03 20:49:38 +02:00
simon lehericey
adbb655a4a
perf(procedure edition): validate only once to avoid reload tdc with n+1
2022-10-03 20:49:38 +02:00
simon lehericey
122c8107a5
fix(web_graphql): fix graphql web playground authorization
2022-10-03 18:08:03 +02:00
simon lehericey
6a5a82ce06
fix(instructeur dashboard): dossiers filtered on multiple states
2022-10-03 15:18:46 +02:00
Martin
19bac6339c
fix(multiple_drop_down_list): iterate over selected options not to_s
2022-09-30 12:24:00 +02:00
Martin
aceb8996c1
feat(instructeur/procedure#show): enhance sort by notifications as planned by UX
...
Update app/javascript/controllers/checkbox_controller.ts
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-09-30 10:29:51 +02:00
Christophe Robillard
da0738c661
unschedule export demarches opendata
2022-09-30 07:26:48 +02:00
Paul Chavard
462cc41caa
refactor(block): use block? instead of repetition?
2022-09-29 17:49:14 +02:00
simon lehericey
7a9c5e8d19
refactor(ujs): turbo use an id for turbo_stream.update id
not a class
2022-09-29 17:04:15 +02:00
Paul Chavard
b0aa777315
refactor(ujs): france_connect controller to use turbo
2022-09-29 16:51:54 +02:00
Paul Chavard
921f38833d
refactor(ujs): experts_procedures controller to use turbo
2022-09-29 16:51:54 +02:00
Paul Chavard
099eecaa6c
refactor(ujs): adapt safari-11-empty-file-workaround to turbo
2022-09-29 16:51:54 +02:00
Paul Chavard
5de74ae322
refactor(ujs): remove dead code
2022-09-29 16:51:53 +02:00
Paul Chavard
582ba7a16e
refactor(ujs): remove ujs spinner
2022-09-29 16:51:53 +02:00
Paul Chavard
a5d78fea1a
refactor(ujs): remove old ujs helpers
2022-09-29 16:51:53 +02:00
simon lehericey
7d547e5e11
fix(linked_drop_down): in repetiton the second choice is saved
...
the filter was not applied in repetition block so an additional empty input was send which overrided the real value
2022-09-29 14:50:02 +02:00
Paul Chavard
df47f4a7ab
feat(graphql): new tokens should carry administrateur_id
2022-09-29 11:58:58 +02:00
DanteZ5
3826121751
switch from id to class
2022-09-28 17:19:17 +02:00
DanteZ5
a22851cc35
fix linter SingleLinePerSelector
2022-09-28 17:19:17 +02:00
DanteZ5
7e29fe40f6
fix-ux(issue#7774) : indicateur menu email navbar
2022-09-28 17:19:17 +02:00
Colin Darie
da22c29688
feat(procedure): warn administrator that notice links are not shareable
...
Closes #7681
2022-09-28 17:01:25 +02:00
Colin Darie
6a943ad13f
feat(champ_pj): warn administrators about ephemeral template links
...
Closes #7681
2022-09-28 17:01:25 +02:00
Colin Darie
0f6a611b6f
chore(scss): remove obsolete css about old PJ UI
2022-09-28 17:01:25 +02:00
Martin
d7cce3c982
fix(instructeur/procedures#show): Procedure presentation filterable state field is in conflict with projected state field. quick fix, maybe will refactor both to align them
2022-09-28 15:28:51 +02:00
Paul Chavard
224f045a1a
fix(profile): fix css
2022-09-28 12:02:06 +02:00
Kara Diaby
e1999d5729
fix checkbox mandatory champ
2022-09-28 10:53:24 +02:00
Kara Diaby
c35a3d17de
fix dsfr footer visitor
2022-09-28 10:36:21 +02:00
simon lehericey
dd7af753fe
only display not_available error message
2022-09-28 10:06:32 +02:00
simon lehericey
8efd305256
add upper_tdcs to condition_form
2022-09-28 10:06:31 +02:00
simon lehericey
7e1963865e
compatibility from left
2022-09-28 10:06:31 +02:00
simon lehericey
43f926a1de
to_s
2022-09-28 10:06:31 +02:00
simon lehericey
f98d1463a6
compatible_type
2022-09-28 10:06:31 +02:00
simon lehericey
cd2b08e39b
options
2022-09-28 10:06:31 +02:00
simon lehericey
12b6a0d6d6
errors
2022-09-28 10:06:31 +02:00
simon lehericey
70022450cf
type
2022-09-28 10:06:31 +02:00
Martin
17ed80b18a
clean(Champs::Engagement): migrate to Champs::Checkbox, some for TypeDeChamp
2022-09-27 19:09:28 +02:00
Martin
ba6c5b4db7
feat(instructeur/procedure#index): enhance filter to support processed_at and state [plus en_instruction_at/since]
...
feat(filter): enable filter on dossiers.state, dossiers.processed_at(since), dossiers.en_instruction_at(since)
2022-09-27 17:19:54 +02:00
Colin Darie
e18dbb976f
fix(graphql/serializer): PersonneMorale#date_creation may be null
...
Ça fix le passage du dossier dans un dossier "terminé" pour un dossier
dont un champ avec SIRET correspond à un établissement sans date de creation
connue.
2022-09-26 18:05:04 +02:00
Christophe Robillard
ddd5f6ece2
make label method name more explict
2022-09-26 16:58:53 +02:00
Christophe Robillard
f452e1014a
make label_at more concise
2022-09-26 16:58:53 +02:00
Christophe Robillard
240f1b249f
makes the NA label for zone more explicit
2022-09-26 16:58:53 +02:00
Christophe Robillard
9a9330159c
choose zone options with correct label
...
label of the zone is the one available when the procedure has been published (or at the creation if the procedure has not been published)
2022-09-26 16:58:53 +02:00
Christophe Robillard
62f19aba8a
get all available zones at specific date
2022-09-26 16:58:53 +02:00
Christophe Robillard
9773977496
know if a zone exist at a specific date
2022-09-26 16:58:53 +02:00
Christophe Robillard
59cce4203a
get zone label at specific date
2022-09-26 16:58:53 +02:00
Christophe Robillard
a504e82021
add zone label
2022-09-26 16:58:53 +02:00
simon lehericey
2e33438131
fix(conditional): add missing locals
2022-09-26 10:21:15 +02:00
simon lehericey
bae60339a7
fix: wording
2022-09-26 10:21:15 +02:00
simon lehericey
726a0f20c9
fix(conditional): update breadcrump when condition change
2022-09-26 10:21:15 +02:00
simon lehericey
b6686828db
fix(conditional): update error summary when condition change
2022-09-26 10:21:15 +02:00
simon lehericey
eb71207457
fix(conditional): change number input to text input, to display original text not empty in the error message
2022-09-26 10:21:15 +02:00
simon lehericey
f53e8608ae
refactor(conditional): error message system
2022-09-26 10:21:15 +02:00
simon lehericey
ab42b27176
refactor(logic): add comments
2022-09-26 10:21:15 +02:00
simon lehericey
fcb9b55bc4
feat(conditional): add include operator
2022-09-26 10:21:15 +02:00
Martin
d9432ccd3b
fix(etablissement.as_degraded_mode): backfill missing data via a cron
2022-09-23 15:12:25 +02:00
Kara Diaby
83efa7eab3
fix title order
2022-09-23 08:41:25 +02:00
Kara Diaby
611cc23920
layout
2022-09-23 08:41:25 +02:00
mfo
7bd288e04a
Merge pull request #7796 from betagouv/fix-cron-declarative-procedure-incomplete-etablissement
...
fix(cron/procedure-declarative): don't auto accept a dossier still in degraded mode
2022-09-22 18:26:36 +02:00
Martin
daeab50321
fix(data): backfill etablissement as degraded mode
2022-09-22 18:02:47 +02:00
Damien Le Thiec
00ccca88ac
Update graphQL Schema
2022-09-22 17:30:51 +02:00
Damien Le Thiec
bd0df2b60b
Clean rna champ_row
2022-09-22 17:14:05 +02:00
Damien Le Thiec
542c5b518f
Improve and connect RNA Adapter
2022-09-22 17:13:53 +02:00
Colin Darie
6a4a9c8e03
fix(cron/procedure-declarative): don't auto accept a dossier still in degraded mode
2022-09-22 16:26:14 +02:00
Colin Darie
9b929c86ea
Merge pull request #7760 from betagouv/dsfr-dossier-top-form
...
DSFR: convert dossier top form elements
2022-09-21 16:44:51 +02:00
Colin Darie
39322e6dff
feat(instructeurs): warn about acceptation/reject unavailable due to incomplete etablissement
2022-09-21 16:00:59 +02:00
Colin Darie
fe2b3ec936
feat(instructeurs/dossier): explicit error about impossible transition due to incomplete etablissement
2022-09-21 16:00:59 +02:00
Colin Darie
e7de19b24d
fix(dossier): avoir final state if etablissement is still in degraded mode
...
Maintenant qu'on autorise un dossier pour entreprise a être créé en mode "dégradé",
(avec établissement incomplet suite à API Entreprise/INSEE down…),
on empêche de l'accepter/refuser/classer sans suite tant qu'on a pas
vérifié son SIRET.
Fix https://sentry.io/organizations/demarches-simplifiees/issues/2839832517/?project=1429550&query=is%3Aunresolved
2022-09-21 16:00:59 +02:00
Colin Darie
53cd041060
refactor(dsfr): components import order accordingly to their README
2022-09-21 15:47:35 +02:00
Colin Darie
55fd4307a1
refactor(header/notice): convert JS to stimulus
2022-09-21 15:47:35 +02:00
Colin Darie
4d5f03b99c
style(header): remove fr-header__with-notice-info when notice is closed
2022-09-21 15:47:35 +02:00
Colin Darie
7e6624753a
refactor(dossier/pdf): use new france_connect_informations helper
2022-09-21 15:47:35 +02:00
Colin Darie
fcb478eb53
refactor(fc_info): use Dsfr::Notice for france connect informations
2022-09-21 15:47:35 +02:00
Colin Darie
ab82128585
feat(dsfr): new NoticeComponent
2022-09-21 15:47:35 +02:00
Colin Darie
a5e1d8865b
style(france_connect_account): convert notice about FC user to DSFR
2022-09-21 15:47:35 +02:00
Colin Darie
80daf3ede1
style(dsfr): dossier form header + notice link
2022-09-21 15:47:35 +02:00
Colin Darie
13beb2bfa5
fix: AgentConnect button visibility
2022-09-21 15:34:31 +02:00
Paul Chavard
16bba911ba
Revert "Merge pull request #7637 from tchak/chore-add-missing-foreign-keys"
...
This reverts commit b21ee46dc2
, reversing
changes made to dd85b5c35c
.
2022-09-21 15:20:42 +02:00
Damien Le Thiec
2141dd501e
Create RNA component
2022-09-21 15:18:23 +02:00
Damien Le Thiec
d8afe81034
Setup RNA champ
2022-09-21 15:18:08 +02:00
Damien Le Thiec
606ac48964
Add new RNA Type de champ
2022-09-21 15:17:23 +02:00
Colin Darie
7e1c542807
fix: FranceConnect button was not visible anymore, convert to DSFR
2022-09-21 09:28:54 +02:00
Colin Darie
cffa8d0b69
style(dsfr/link): doc for explicitly disabling href underlined enabled by dsfr
2022-09-21 09:28:54 +02:00
Paul Chavard
84b9644bcd
fix(db): add missing foreign keys
2022-09-20 15:16:52 +02:00
Kara Diaby
ba58558146
fix accessibiliy problems
2022-09-19 13:34:43 +02:00
Kara Diaby
2c4a8e81ba
footer layout
2022-09-19 13:34:43 +02:00
Kara Diaby
f3549a7a4d
Modify CSS overide and import footer from DSFR
2022-09-19 13:34:43 +02:00
simon lehericey
9d2d19800d
feat(champ siret): save etablissement in degraded mode if api down and allow submission
2022-09-19 12:12:05 +02:00
simon lehericey
c7d54fc750
feat(champ siret): display an acknowledgment if siret exist
2022-09-19 11:50:33 +02:00
Martin
eae05b0a6f
feat(export.xslx): add code commune to geo_area.label
2022-09-17 08:59:06 +02:00
simon lehericey
0f318a1f7f
feat(api_entreprise): display partial information when degraded_mode
2022-09-16 14:43:18 +02:00
Colin Darie
95a4e8a907
feat(api_entreprise): create etablissement with fallback when API is down
...
On créé l'établissement uniquement avec le SIRET, sans que ce soit bloquant
pour compléter le dossier. On demande à l'utilisateur de vérifier
lui-même la concordance du SIRET avec son entreprise.
Cf #7766
2022-09-16 10:43:59 +02:00
Colin Darie
3cd02ceae3
fix(etablissement): improve annuaire_link, with SIRET & as search
...
Dans certaines circonstances le SIREN pouvait être vide alors qu'on a
toujours le SIRET. Aussi, on se base sur la recherhce qui redirige vers
le bon namespace car il n'y a pas forcément que des entreprises : certaines
sont listées sous "etablissement".
2022-09-16 10:43:59 +02:00
Colin Darie
2bacd175df
feat(dsfr): import icons sets
2022-09-16 10:43:59 +02:00
Colin Darie
46b69da396
style(dsfr/callout): more theming for callout component
2022-09-16 10:43:59 +02:00
Colin Darie
c4f6305b3a
fix(dossiers/api_down): specific error when API Entreprise is globally down.
2022-09-15 18:53:41 +02:00
Colin Darie
d1c06aa92e
feat(api_entreprise): add service api_up?, connected to their status page
2022-09-15 18:46:53 +02:00
sebastiencarceles
90d795d1e0
fix: remove instructeur when admin is removed
2022-09-13 09:44:49 +02:00
sebastiencarceles
9aaef79a3d
review: use salt to generate key
2022-09-13 07:47:30 +02:00
sebastiencarceles
f154bb56e6
confirm adding a new admin to a procedure
...
For clarity and a better understanding, use a dedicated controller
to allow the current admin to confirm adding an administrateur
to a procedure.
2022-09-13 07:45:07 +02:00
sebastiencarceles
4123709e72
build and render secured URL to invite admin
...
For clarity and a better understanding, use a dedicated controller to
build and render the confirmation URL to share in order to add a new
administrateur.
2022-09-13 07:45:07 +02:00
Martin
f47f74fac7
fix(typo): views/administrateurs/_groups_header.haml
2022-09-12 10:26:20 +02:00
mfo
cdf9fe6099
Merge pull request #7752 from mfo/helpcout/1988749
...
fix(upload.custom-types): army has a custom format for crypted zip. not recognized as an application/octet-stream by the browser. html5[accept] attributes allows to use extensions. So we allow this extension
2022-09-12 10:23:37 +02:00
Martin
67856c2f13
fix(upload.custom-types): army has a custom format for crypted zip. not recognized as an application/octet-stream by the browser. html5[accpet] attributes allows to use extensions. So we allow this extension
2022-09-09 15:54:13 +02:00
Martin
f08d4e9dc0
fix(breadcrumb): extends breadcrumb libelle truncation from 4 to 10 words
2022-09-09 13:08:24 +02:00
mfo
062477dede
Merge pull request #7750 from betagouv/fix_cursor_on_textarea
...
fix(style): applique un cursor text au textarea
2022-09-09 12:17:35 +02:00
simon lehericey
7449551d3f
fix(style): set cursor text on textarea
2022-09-09 12:09:31 +02:00
Martin
93e3f5877e
fix(champ_label_component): add missing helpers
2022-09-09 12:02:04 +02:00
simon lehericey
c43bf2e5c9
fix(conditional): only parse user input as int if compared with a number
2022-09-09 11:28:32 +02:00
simon lehericey
478a7e68ab
refactor(logic): reuse compatible_type
2022-09-09 10:55:42 +02:00
mfo
44f366d7f4
Merge branch 'main' into helpscout/1987597382
2022-09-08 12:03:01 +02:00
Paul Chavard
d6f5be622c
feat(dossier): autosave en construction
2022-09-08 11:26:29 +02:00
Paul Chavard
d35ceb7214
fix(champs): finish EditableChampComponent refactor
2022-09-08 11:26:29 +02:00
Martin
cbe77dd2f6
bug(instructeurs/dossiers#telecharger_pjs): zipline does not play well with not available active storage attachments
2022-09-08 11:05:24 +02:00
Colin Darie
e744c9d575
fix(home): signin button should not open on new window (regression)
2022-09-07 19:14:55 +02:00
Colin Darie
b8885140a4
fix(dsfr): checkbox/radio visibility on old firefox
...
Firefox < 80 ne supporte pas `appearance: auto` injecté par le DSFR,
ce qui rend les checkbox & radio transparentes (invisibles).
2022-09-07 19:14:55 +02:00
simon lehericey
4cd0261099
remove new header baseline
2022-09-07 18:04:25 +02:00
Colin Darie
c927f2c250
refactor(dsfr/card): rename CardComponent => CardVerticalComponent
2022-09-07 17:56:19 +02:00
Colin Darie
e0a15e9821
chore(patron): add Dsfr::CardComponent, but still media query issue
2022-09-07 17:56:19 +02:00
Colin Darie
5f08df7561
refactor(dsfr/button): remove useless & verbose Dsfr::ButtonComponent, in favor of good link_to / f.submit
2022-09-07 17:56:19 +02:00
Colin Darie
5f760585ad
refactor(dsfr): CardComponent with footer_buttons slot
2022-09-07 17:56:19 +02:00
Colin Darie
b769def337
refactor(landings): with DSFR button & card components
2022-09-07 17:56:19 +02:00
Colin Darie
0e28a3870a
refactor(dsfr/button_component): more modular & signature more like link_to
2022-09-07 17:56:19 +02:00
Colin Darie
abcfc4a64a
fix(home/administration): button hover visibility since dsfr + bottom cards
2022-09-07 17:56:19 +02:00
Colin Darie
b4fc46ba32
fix(home): buttons hover visibility since dsfr
2022-09-07 17:56:19 +02:00
Martin
f674f6981b
feat(DSFR.ie11): enable legacy mode with our own packaging system
2022-09-07 17:41:56 +02:00
simon lehericey
ac0ac171ad
perf(dossier): remove unused row validation
...
Gain, one request per champ not child
2022-09-07 15:00:40 +02:00
Paul Chavard
c05bc61c99
fix(revisions): improuve changes information display
2022-09-07 13:52:44 +02:00
sebastiencarceles
c203a7a3fd
remove the confusing help ('nom@site.com')
...
closes #7727
2022-09-07 08:04:26 +02:00
sebastiencarceles
b643660017
'Choix parmi une liste' becomes 'Choix unique'
...
closes #7374
2022-09-06 11:26:30 +02:00
Martin
abbef510c6
fix(breadcrumb): update turbo usage with new breadcrumb "api"
2022-09-06 10:09:12 +02:00
Martin
ecbe51f928
feat(a11y): avoid wrong heading level
2022-09-06 10:09:12 +02:00
Martin
795f6ab29b
fix(header): add missing i18n
2022-09-06 10:09:12 +02:00
Martin
fb0e863efd
feat(header): migrate help button to dsfr
2022-09-06 10:09:12 +02:00
Martin
df3ef23f7e
fix(spec): 1. visit new_user_session_path instead of navigating to it. 2. change way to submit search according to dsfr html. 3. avoid nav without aria label. 4. various lint fixes
2022-09-06 10:09:12 +02:00
Martin
a48a8b6081
feat(title): avoid title issues
2022-09-06 10:09:12 +02:00
Martin
af00936aac
ui(header): refine to fit with olivier design
2022-09-06 10:09:12 +02:00
Martin
73f94b9635
feat(header): switch to DSFR translate component and dropdown component
2022-09-06 10:09:12 +02:00
Martin
96cdae0dd5
feat(DSFR.header): switch to DSFR header
2022-09-06 10:09:12 +02:00
Martin
549eda6fe3
feat(DSFR.breadcrumb): switch to DSFR breadcrumb style since it is part of new service UI
2022-09-06 10:09:12 +02:00
Colin Darie
3cb25e8393
fix(geopoint_field): no geoportail link without coordinates
2022-09-06 09:23:52 +02:00
Colin Darie
3c9b41e233
fix(manager/services): d'ont search in etablissement_adresse (this is not a schema field)
2022-09-06 09:23:52 +02:00
Colin Darie
3cda6b7d62
chore(graphql): expose service#siret
2022-09-06 09:23:52 +02:00
Colin Darie
91c735a219
chore(service): SIRET is required
2022-09-06 09:23:52 +02:00
Colin Darie
9d59a50cd4
chore(manager/services): show etablissement adresse & geopoint
2022-09-06 09:23:52 +02:00
Colin Darie
67cbc61e1e
chore(services): update etablissement adresse & geocode when siret changes
2022-09-06 09:23:52 +02:00
Colin Darie
8762acc0b5
chore(services): fetch etablissement adresse from API Entreprise
2022-09-06 09:23:52 +02:00
Colin Darie
7d39cc6b3e
chore(schema): +services#etablissement_{infos,geopoint}
...
- `etablissement_infos` est une représentation partielle en jsonb
de ce qui est renvoyé par l'API Entreprise.
(On ne conserve que l'adresse pour le moment, utilisée pour le geocodage)
- `etablissement_geopoint` est le point (x,y) issu du géocodage de
l'établissement
2022-09-06 09:23:52 +02:00
Colin Darie
b75cff2fc3
refactor: API Entreprise instancified, more flexible for various input params
...
En fonction des resources, l'API est appelée :
- dans le contexte d'une Procedure ou non
- avec ou sans token injecté
- avec ou sans siret/siren
- avec ou sans user
2022-09-06 09:23:52 +02:00
Colin Darie
c02f68083c
feat(manager/service): show SIRET number
2022-09-06 09:23:52 +02:00
Colin Darie
fd18f8b5f8
feat(services): serializer with siret
2022-09-06 09:23:52 +02:00
Colin Darie
ad52710c3c
fix(siret): don't add twice invalid format errors
2022-09-06 09:23:52 +02:00
Colin Darie
64ce2719ed
feat(services): accept an optional SIRET
...
Closes #7359
2022-09-06 09:23:52 +02:00
Colin Darie
a4d9a45280
chore(schema): +services#siret
2022-09-06 09:23:52 +02:00
Colin Darie
a9aab27589
fix(contact-admin): add missing invisible captcha
2022-09-05 17:41:17 +02:00
Colin Darie
be965e4fdd
fix(api_entreprise): don't fail with entreprise without date_creation
2022-09-05 15:52:06 +02:00
Colin Darie
4e3b063b87
feat(carte/export): list geo labels
2022-09-05 11:02:51 +02:00
simon lehericey
d612c39438
fix(admin procedure preview): redirect is procedure invalid
2022-09-05 10:18:33 +02:00
simon lehericey
e9677c37a1
fix(admin procedure preview): remove preview and continue buttons where procedure invalid
2022-09-05 10:17:05 +02:00
Martin
6114d1ea2f
fix(helpscout#1994272872): pdf export contains ? with telecharger_psj.
2022-09-05 09:54:22 +02:00
Paul Chavard
ab3404714a
fix(css): rename css file to fix legacy browsers
2022-09-02 19:07:10 +02:00
simon lehericey
8c884b4869
fix(migration): fix avis email notification migration
2022-09-02 17:23:04 +02:00
Kara Diaby
f7039bbb0a
layout
2022-09-02 16:23:27 +02:00
Kara Diaby
f8d4644f73
models
2022-09-02 16:23:27 +02:00
Kara Diaby
98f4250214
controller
2022-09-02 16:23:27 +02:00
Martin
4537d2149d
fix(service#index): caption absolute positionning does works well with long captions
2022-09-02 10:29:00 +02:00
Martin
ae1e8caf31
fix(dsfr): removed image on link
2022-09-02 09:36:58 +02:00
Martin
7a3dddf9de
fix(dsfr): side effect
2022-09-01 17:12:22 +02:00
simon lehericey
bad058891b
feat(conditional): block actions and hide revision details if procedure invalid
2022-09-01 15:07:18 +02:00
simon lehericey
f4b465a03f
add errors_summary component
2022-09-01 15:07:18 +02:00
Martin
17c7ae1904
fix(a11y): input issue
2022-09-01 14:54:38 +02:00
Paul Chavard
afefa2bfb4
fix(dossier): fix user form component migration errors
2022-09-01 12:43:24 +02:00
simon lehericey
994d73b426
move trad
2022-09-01 09:48:27 +02:00
simon lehericey
a3e8c09e71
component all the champ
2022-09-01 09:48:27 +02:00
Paul Chavard
ebfed21fa8
chore(npm): update dependencies
2022-09-01 09:32:50 +02:00
Colin Darie
b4f791b1f1
fix(rgaa): missing title on signin (8.6)
2022-08-31 17:46:04 +02:00
Colin Darie
ba70cae75a
fix(a11y/html): email input with autocomplete=email
2022-08-31 17:46:04 +02:00
Colin Darie
4535810ed4
fix(a11y/html): add role=main on main content
2022-08-31 17:46:04 +02:00
Colin Darie
f4c76ca677
fix(a11y/flash): add role=alert or status to flash messages
2022-08-31 17:46:04 +02:00
Colin Darie
3148266b49
refactor(rgaa/contact): inject invisible_captcha styles into head instead of div
2022-08-31 17:46:04 +02:00
Colin Darie
aab3e3a4be
fix(rgaa/layout): invalid button > label
2022-08-31 17:46:04 +02:00
Colin Darie
69fe333aad
refactor(rgaa/contact): question type as radio buttons for better rgaa compliance
...
On suit les recommandations de l'audit RGAA 2021, mais il y aurait encore
peut-être à redire…
2022-08-31 17:46:04 +02:00
Colin Darie
4f8391bc7c
fix(rgaa/html): locale dropdown with valid html
2022-08-31 17:46:04 +02:00
Colin Darie
baf88f97e3
fix(rgaa/contact): replace misuse of dl/dd with ul/li
...
(Critère 9.3)
2022-08-31 17:46:04 +02:00
Colin Darie
cc93beb89e
chore(rgaa/images): empty alt / aria hidden for non informative image
2022-08-31 17:46:04 +02:00
Colin Darie
88ceae8b7e
chore(views): remove obsolete partial
2022-08-31 17:46:04 +02:00
Colin Darie
b1e9dffbc6
chore(rubocop): enable on .prawn files
2022-08-31 16:52:00 +02:00
Colin Darie
d30f51af79
fix(dossier/attestation_pdf): don't overlap DS name over logo
...
Le logo contient déjà le nom "demarches-simplifiees.fr", donc inutile
de le redupliquer en texte.
A la place on reprend le layout utilisé sur d'autres PDF.
Closes #7698
2022-08-31 16:52:00 +02:00
Martin
cc2b9b95bf
clean(import): dsfr
2022-08-31 15:18:21 +02:00
Martin
14625c29d1
fix(lint): fixlint
2022-08-31 14:56:01 +02:00
Martin
f3ad8e2ead
clean(service.edit.html.haml): extract other services
2022-08-31 14:56:01 +02:00
Martin
39b328a984
ui(Administrateur::Procedure::Service): use ds-fr table and some ui refinements
2022-08-31 14:56:01 +02:00
Martin
2649cc477f
feat(Administrateur::Procedure::Service.form): resize inputs
2022-08-31 14:56:01 +02:00
Martin
edbff1ceb2
feat(Administrateur::Procedure::Service.form): add back link
2022-08-31 14:56:01 +02:00
Martin
d2b42dda2e
feat(Administrateur::Procedure::Service.form): enhance wording and styl
2022-08-31 14:56:00 +02:00
Martin
f086302455
feat(Administrateurs::Procedure::Service#form): wrap explanation within DSFR::CallOut
2022-08-31 14:56:00 +02:00
Martin
289b8f78b8
feat(Administrateur::Services#index): rework list of services
2022-08-31 14:56:00 +02:00
Martin
a2311b1b75
perf(dsfr): only include what alert and its dependencies as refered in README of each components
2022-08-31 14:56:00 +02:00
Martin
17d8c7a371
feat(Administrateurs::Procedure::Service#edit): update UI with new warning as well as DSFR ui
...
feat(Administrateur::Procedure::Service#edit): add warning message a la DSFR
2022-08-31 14:56:00 +02:00
Martin
1bdbf2a7d7
feat(DesignSysteme): add DSfr and switch to Marianne font
2022-08-31 14:56:00 +02:00
Martin
5f2b290407
feat(Procedure.clone): reset subject.duree_conservation_dossiers_dans_ds when procedure.duree_conservation_etendue_par_ds was extended. only extends it on demand otherwise admin could clone old procedure with higher duree_conservation_dossiers_dans_ds
2022-08-31 14:56:00 +02:00
Martin
51680b11c2
feat(Adminstrateur::Procedures#clone): redirect to home of procedure with special info regarding procedure presentation & service
2022-08-31 14:56:00 +02:00
Martin
6e31decc2d
feat(Procedure.clone): stop cloning procedure service which is confusing for some administrateurs
2022-08-31 14:56:00 +02:00
Paul Chavard
d1ae98b9a7
feat(css): add dsfr
2022-08-31 14:53:50 +02:00
Colin Darie
4ece7c2494
fix(champ): remove null byte before save
...
Les null bytes peuvent être injectés lors de c/c depuis certains documents,
et ne sont pas sauvegardables en base, rendant la sauvegarde d'un dossier impossible.
Closes #7656
https://sentry.io/organizations/demarches-simplifiees/issues/3194932607/activity/?project=1429550&query=is%3Aunresolved
2022-08-31 11:39:34 +02:00
Christian
63a4a13323
Graphql: Fix champs sort in repetition
2022-08-31 11:15:28 +02:00
Martin
69ef1d508d
fix(brouillon.edit.form): when their is a type de champs repetition having a child being mandatory ; the form being not validatable the browser does not block the submission
2022-08-24 15:18:05 +02:00
Martin
1a1f44c5e6
fix(rubocop): filter does not exists on strong parameter...
2022-08-24 15:03:36 +02:00
Martin
2f5528398f
feat(manager#outdated_procedure): allow super admin to enable procedure_expires_when_termine_enabled for old procedure
...
revew(typo): various typo, tx christophe :-)
fix(spec): due to typo fixes
2022-08-24 13:10:48 +02:00
Martin
748b8c9d64
fix(instructeurs/archives#create): missing renaming during refacto
2022-08-23 15:31:17 +02:00
Martin
e35da17ce8
bug(instructeurs/archives#create): month should not be nil
2022-08-23 15:31:17 +02:00
Christophe Robillard
d4cdf1fb96
add dolist link to manager
2022-08-23 15:05:20 +02:00
Christophe Robillard
efbec80af8
update saml controller and views
...
because of using another gem (saml_idp)
2022-08-23 15:05:20 +02:00
mfo
5fb2c45540
review(i18n): fix typo and enhance wording.
2022-08-23 13:28:10 +02:00
Martin
d30492a222
tech(clean): better naming
2022-08-23 13:28:10 +02:00
Martin
45e0c15eb0
feat(PurgeManagerAdministrateurSessionsJob): also purge instructeur assign_tos
2022-08-23 13:28:10 +02:00
Martin
dc524cf615
fix(spec): broken spec due to TDD and refacto on former code
2022-08-23 13:28:10 +02:00
Martin
711b2ee2e4
feat(ExportComponent): only render it when connected instructeur/administrateur is not from manager
2022-08-23 13:28:10 +02:00
Martin
25c0e91d87
feat(Administrateurs::GroupeInstructeur): ensure admin from super admin can not add an instructeur
2022-08-23 13:28:10 +02:00
Martin
d1544bc4ae
feat(Administrateurs::ProcedureAdministrateurs): ensure admin from super admin can not add administrateur
2022-08-23 13:28:10 +02:00
Martin
d1297bc1f5
tech(rubocopify): ... just clean up ...
2022-08-23 13:28:10 +02:00
Martin
5e8210b8f8
feat(Administrateur::ExportsController#*): prevent SuperAdmin to ask/download export
2022-08-23 13:28:10 +02:00
Martin
bfd0f3379f
feat(Instructeur::ArchivesController#*): prevent SuperAdmin to index/download archives
2022-08-23 13:28:10 +02:00
Martin
c2e0994e11
feat(Administrateur::ArchivesController#*): prevent SuperAdmin to index/download archives
2022-08-23 13:28:10 +02:00
Martin
ef67958324
feat(manager): add #add_administrateur_with_confirmation and #confirm_add_administrateur so SuperAdmin requires another SuperAdmin approval to add an administrator to a procedure. Add #add_administrateur_and_instructeur for SuperAdmin willing to be administrateur/instructeur for 24
2022-08-23 13:28:10 +02:00
Martin
f0a4cbb61e
feat(assign_tos): add manager column to assign_tos table. Same idea as administrateur_procedures.manager which flag a link between procedure/administrateur coming from a SuperAdmin [target: able to avoid SuperAdmin sec issues]
2022-08-23 13:28:10 +02:00
Martin
ed20951f14
fix(conditional): within section (dark blue bg) ; use white text
2022-08-23 09:23:42 +02:00
simon lehericey
adf194cc08
fix(editeur_de_champ): can join an pj template
2022-08-11 15:01:48 +02:00
Kara Diaby
58f2f6bd9d
Manager : permet au super admin de se retirer d'une démarche
2022-08-11 10:58:58 +02:00
simon lehericey
650c36e3e2
feat(conditional): add not eq operator
2022-08-10 11:59:09 +02:00
simon lehericey
00d0813292
ensure the mandatory star hint is always displayed
2022-08-09 10:29:41 +02:00
simon lehericey
898badb579
a champ is mandatory when visible with a mandatory tdc
2022-08-09 10:25:47 +02:00
Christophe Robillard
e087582f57
Can get dossier vide if procedure is closed
2022-08-05 16:00:08 +02:00
Paul Chavard
a24885c2ee
feat(champ): can condition on other option
2022-08-04 15:28:54 +02:00
Paul Chavard
bbca7344e5
fix(conditional): mandatory champs inside hidden repetition should not be validated
2022-08-04 14:48:40 +02:00
Colin Darie
adced0f33a
fix(revision): fix stable siblings order when there are multiple identical position
...
Ça arrive parfois dans les tests, et potentiellement en prod :
après avoir créé un nouveau `revision_type_de_champ`,
on se retrouve très momentanément avec 2
RTDC ayant le même position en attendant le renumérotation peu près.
https://github.com/betagouv/demarches-simplifiees.fr/blob/main/app/models/procedure_revision.rb#L55
Ceci conduisait à une renumérotation erronnée quand la db renvoyait
le nouveau RTDC créé *avant* les précédents.
2022-08-03 18:29:48 +02:00
Paul Chavard
cf315b7246
fix(autosave): on check condition requests do not send file inputs
2022-08-03 12:04:39 +02:00
Paul Chavard
fdbcdfd043
fix(utils): explicitly exclude file type from text inputs
2022-08-03 12:04:39 +02:00
Colin Darie
4a1325eadf
fix(view_component): replace form_with with unaffected buffer form_tag helper
...
form_with/form_for have buffer issues (at least with turbo).
form_tag seems not affected.
2022-08-03 11:57:26 +02:00
Colin Darie
bc7cdb6b8e
fix(contact): translate captcha honeypot label
2022-08-03 11:57:26 +02:00
Colin Darie
11a9a6f53f
feat(dossier_transfer/email): require email in browser side
2022-08-03 11:44:54 +02:00
Colin Darie
d53aba4d24
fix(dossier_transfer): require a valid email
...
Cf #7621
2022-08-03 11:44:54 +02:00
Colin Darie
a5d5f4307f
fix(dossier_transfer): avoid all transfers without valid email
...
Cf #7621
2022-08-03 11:44:54 +02:00
Colin Darie
8dc966feb4
fix(dossier_transfer): requires an actual email
...
Closes #7621
2022-08-03 11:44:54 +02:00
Colin Darie
707ea37b33
chore(sentry): tag dossier & procedure ids on dossier endpoints
2022-08-03 10:34:10 +02:00
Colin Darie
e8210e6c2b
fix(agent_connect): constant path
...
https://sentry.io/organizations/demarches-simplifiees/issues/3248516694/?project=1429550&query=is%3Aunresolved&statsPeriod=14d
2022-08-03 10:19:45 +02:00
Paul Chavard
f48048179c
fix(conditional): enable conditional per procedure
2022-08-03 09:16:10 +02:00
Paul Chavard
435a635b3d
fix(procedure_presentation): find last instance of type_de_champ through coordinates
2022-08-02 15:24:52 +02:00
Paul Chavard
48a4e8bec5
chore(db): remove already dropped ignored columns
2022-08-02 15:24:52 +02:00
Martin
7f1018c5b0
feat(Users::CommencerController#commencer): ensure to redirect to replaced_by_procedure when it exisits
2022-08-02 13:08:36 +02:00
Colin Darie
4284f14ad8
fix(services): can destroy with discarded procedures
...
Closes #7626
2022-08-02 11:45:16 +02:00
Kara Diaby
ec3118e82c
Add concern for Datagouv schedulable jobs
2022-07-29 12:25:27 +02:00
Kara Diaby
a156529394
modify export descriptif demarches job
2022-07-29 11:17:22 +02:00
Kara Diaby
d18d89b41b
modify Lib Datagouv API
2022-07-29 11:17:22 +02:00
Kara Diaby
181e237cf0
add generation csv service
2022-07-29 11:17:22 +02:00
Kara Diaby
882ee74f88
Comptes créés avec FC par mois : CRON Job
2022-07-29 11:17:22 +02:00
Kara Diaby
dc1d0ce071
Démarches supprimées par mois : CRON Job
2022-07-29 11:17:22 +02:00
Kara Diaby
4a29162c6c
Démarches closes par mois : CRON Job
2022-07-29 11:17:22 +02:00
Kara Diaby
999059269e
Instructeurs connectés par mois : CRON Job
2022-07-29 11:17:21 +02:00
Kara Diaby
8e9d1eeb6f
Nombre de comptes créés par mois : CRON
2022-07-29 11:17:21 +02:00
Kara Diaby
b48a48980a
Nombre de dossiers créés par mois : CRON
2022-07-29 11:17:21 +02:00
Kara Diaby
9fa54c3cc8
Nombre de démarches créés par mois : CRON
2022-07-29 11:17:21 +02:00
Kara Diaby
e0dc36926e
Nombre d'instructeurs créés par mois : CRON
2022-07-29 11:17:21 +02:00
Kara Diaby
a0a3c6c0ee
Administrateurs crées par mois : CRON Job
2022-07-29 11:17:20 +02:00
Paul Chavard
782af3322a
fix(patron): when rendering “patron” champs should have dossier
2022-07-28 12:10:32 +02:00
Paul Chavard
31d80d80bd
fix(dossier): prevent users from removing mandatory fiels after submission
2022-07-28 11:19:47 +02:00
Paul Chavard
b616a4c1e9
fix(stats): remove Helpscout from stats page
2022-07-27 18:26:25 +02:00
Colin Darie
197fa54ea4
fix(archives): purge stuck pending archives
...
Cf 0cb096b3d6440a4da05ca2902ed6fa72a93e6579
2022-07-27 15:26:59 +02:00
Colin Darie
f1957e51f8
fix(exports): purge stuck (pending) exports, not generated or failed
...
Avec l'autre PR, ça reproduit le comportement d'avant, c'est à dire
que quoiqu'il arrive un export est purgé :
- soit 16h après sa génération (on a 16h pour le télécharger)
- soit 12h après sa création, et qu'il est bloqué
Auparavant, tous les exports étaient purgés au bout de 3h quelle que soit
le statut.
2022-07-27 15:26:59 +02:00
Colin Darie
bd788ec6bf
fix(manager/archives): status => job_status
...
Closes #7614
2022-07-27 15:26:59 +02:00
Colin Darie
4699d15853
fix(archives): don't fail when there are no weight estimation
...
A priori ça peut arriver lorsqu'il n'y a pas de dossier terminé sur une procédure
Closes #7615
2022-07-27 15:12:18 +02:00