Commit graph

10793 commits

Author SHA1 Message Date
Paul Chavard
c040cf5a65 chore(coldwired): data-turbo-force needs to be explicit 2023-06-02 08:58:52 +02:00
Colin Darie
619c470170
fix(procedure): more details about auto archive behavior 2023-06-01 16:49:57 +02:00
Colin Darie
ec244f1a94
fix(procedure): auto_archive_on must be in future 2023-06-01 16:49:52 +02:00
mfo
a69cf8b7d2
Merge pull request #9100 from demarches-simplifiees/8472-bilans-bdf
API Entreprise : migration "bilans bdf"
2023-06-01 13:17:54 +00:00
Martin
50da50a7ac amelioration(bilan_bdf.resultat_exercice): implement la logique d'affichage du resultat d'un exercice sur l'API v3 2023-06-01 15:04:09 +02:00
Colin Darie
87b5d3b1ed
Merge pull request #9118 from tchak/fix-raison-sociale
fix(api_entreprise): raison_sociale can be nil
2023-06-01 12:19:21 +00:00
Christophe Robillard
42acc71cbe display v2 and v3 bilans bdf 2023-06-01 14:03:31 +02:00
Christophe Robillard
0f083db32b migrate bilans bdf adapter to v3 2023-06-01 14:03:31 +02:00
mfo
c2f2b4ef2a
Merge pull request #9106 from mfo/api-entreprise.etablissement_adapter
API Entreprise: migration "Etablissement"
2023-06-01 11:45:47 +00:00
Paul Chavard
35f4c9f48b fix(api_entreprise): raison_sociale can be nil 2023-06-01 13:42:54 +02:00
mfo
1a6dc10548
Merge pull request #9102 from demarches-simplifiees/8472-migrate-rna
API Entreprise: migration RNA (associations)
2023-06-01 11:37:57 +00:00
Paul Chavard
6e160e54e3 chore(graphql): reorder fields declarations by nullability 2023-06-01 12:18:18 +02:00
Paul Chavard
86f18de7a6 fix(api_entreprise): nom_commercial can be nil 2023-06-01 12:16:54 +02:00
Lisa Durand
421ae6820b add detail on estimation time on description procedure page 2023-06-01 11:13:34 +02:00
Martin
c90175f121 tech(api-entreprise.etablissement): passage du endpoint ETABLISSEMENT_RESOURCE_NAME en v3 2023-06-01 09:06:36 +02:00
mfo
38d8566995
Merge pull request #9097 from mfo/US/improve-api-token-acl-ux
amelioration(users/profil): ETQ admin, j'ai du mal a comprendre l'interface qui me permet de gerer les autorisations qu'un jeton a
2023-05-31 15:59:43 +00:00
Lisa Durand
4fdcce45c5 fix specs 2023-05-31 17:33:49 +02:00
Martin
0d3deb01be tech(rna_controller#show): corrige les specs et recupère uniquement les informations utilisé par l'app 2023-05-31 16:11:12 +02:00
Lisa Durand
6b1c80ebc9 remove form previsualisation button from dashboard and improve design action buttons 2023-05-31 12:24:42 +02:00
Eric Leroy-Terquem
e8d687f5e7 fix(routing): routing engine works even with unconfigured groups 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
54fe10ff76 add warning in revision change component if tdc options used for routing has been changed 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
50abf496fd add warning in gi pages in rule does not match tdc 2023-05-31 11:38:16 +02:00
simon lehericey
ba5c64ea84 a cheap solution ? 2023-05-31 11:38:16 +02:00
simon lehericey
9004dd9758 remove old logic 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
6c188a867d run routing engine only at submit 2023-05-31 11:38:16 +02:00
simon lehericey
25ebfc4928 always set procedure.instructeurs_self_management_enabled to true when routing_enabled? 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
692010fa32 destroy all groups but defaut 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
526f70f9c0 add wizard 2023-05-31 11:38:16 +02:00
simon lehericey
2e1b8b9ef2 add import export view 2023-05-31 11:38:16 +02:00
simon lehericey
01caa498d3 add simple_routing 2023-05-31 11:38:16 +02:00
simon lehericey
8b568c2035 add ajout 2023-05-31 11:38:16 +02:00
simon lehericey
6b3447d71b add options 2023-05-31 11:38:16 +02:00
simon lehericey
c77450382c admin groupe instructeur show : use menu and one groupe management 2023-05-31 11:38:16 +02:00
simon lehericey
11a166aa51 add group_ajout_component 2023-05-31 11:38:16 +02:00
simon lehericey
f61498693a use routable_type_de_champ 2023-05-31 11:38:16 +02:00
simon lehericey
174f7a7c53 add one_groupe_management_component 2023-05-31 11:38:16 +02:00
simon lehericey
1754086c94 add options component 2023-05-31 11:38:16 +02:00
simon lehericey
5b0e0ced3c add groupes_management_component 2023-05-31 11:38:16 +02:00
simon lehericey
142ac9173d add groupes_search_component 2023-05-31 11:38:16 +02:00
simon lehericey
171a6b35fb use instructeur_menu 2023-05-31 11:38:16 +02:00
simon lehericey
588efc8b34 admin instructeur index: fix breadcrumb 2023-05-31 11:38:16 +02:00
simon lehericey
6bfbf8ca0e reset admin groupe instructeur index 2023-05-31 11:38:16 +02:00
simon lehericey
f3c9fc014b add instructeur_menu component 2023-05-31 11:38:16 +02:00
simon lehericey
2fb33336d1 side_menu_component: add icon 2023-05-31 11:38:16 +02:00
simon lehericey
62662c99c0 style: add flex auto 2023-05-31 11:38:16 +02:00
Lisa Durand
c6f13f63b5 remove previsualisation from procedure creation form 2023-05-31 11:33:59 +02:00
Christophe Robillard
ef82149a3b amelioration(api-entreprise.rna): passe a la v3 pour le endpoint RNA_RESOURCE_NAME 2023-05-31 09:59:44 +02:00
Julie Salha
86e7d9ef71 update second search bar 2023-05-30 15:58:29 +02:00
Julie Salha
be81424bb9 add footer to page transfer file 2023-05-30 14:46:45 +02:00
Julie Salha
bbce9ebcd2 update attributes wording and styles user search engine 2023-05-30 14:46:45 +02:00
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
Colin Darie
3161f90662
Merge pull request #9098 from demarches-simplifiees/8472-migrer-attestation-fiscale
API Entreprise : migration "attestation fiscale"
2023-05-30 08:52:17 +00:00
Christophe Robillard
0e85f84eff migrate exercices adapter 2023-05-29 17:46:39 +02:00
Christophe Robillard
0ec4c3d17b migrate attestation fiscale adapter to v4 2023-05-29 15:22:07 +02:00
Martin
fc18422a15 amelioration(users/profil): ETQ admin, j'ai du mal a comprendre l'interface qui me permet de gerer les autorisations qu'un jeton a 2023-05-27 09:23:56 +02:00
krichtof
0051face93
Merge pull request #9014 from demarches-simplifiees/8859-default_zones
Etq admin, lors de la création ou modification d'une démarche, des zones par défaut me sont suggérées
2023-05-26 17:25:21 +00:00
simon lehericey
9468e572a0 move up user email in dossier description 2023-05-26 14:10:54 +02:00
simon lehericey
09d1649610 add groupe details to dossier 2023-05-26 14:10:54 +02:00
Christophe Robillard
2a84f04bed add sentry instrumentation for entreprise adapters 2023-05-26 13:37:20 +02:00
Christophe Robillard
f3a4aec0bf add reference doc for api 2023-05-26 13:37:20 +02:00
Christophe Robillard
76a8b721ce add tva adapter and tva job 2023-05-26 13:37:20 +02:00
Christophe Robillard
f04e121a6f add extrait_kbis to handle nom_commercial and capital_social 2023-05-26 13:37:20 +02:00
Christophe Robillard
ba281d53cf migrate entreprise adapter to v3 2023-05-26 13:37:20 +02:00
Julie Salha
57f0a6795d add footer to profil page user 2023-05-26 11:08:35 +02:00
Julie Salha
b50698a30d
Merge branch 'main' into 8054-a11y-ways-of-navigating 2023-05-26 10:47:33 +02:00
Lisa Durand
7f53120815 fix specs - forget to remove description in siret context 2023-05-25 16:49:07 +02:00
Lisa Durand
31969b290b create a new layout without procedure for login and use same layout full_screen without description for identite step 2023-05-25 16:15:31 +02:00
Paul Chavard
e92c36185d
Merge pull request #9085 from tchak/graphql-fix-state-change-errors
ETQ intégrateur d’API, je voudrais voir un message d’erreur si le changement d’état échoue
2023-05-25 11:36:42 +00:00
Lisa Durand
1c409f0145 use DSFR input components for form 2023-05-25 10:18:26 +02:00
Colin Darie
c62893d7c8
Merge pull request #9088 from colinux/fix-fork-invalid
ETQ usager invité sur un dossier, je peux ajouter une PJ d'un dossier en construction
2023-05-25 07:40:39 +00:00
krichtof
601fde2147
Merge pull request #9084 from demarches-simplifiees/8472-migration-attestation-sociale
8472 migration attestation sociale
2023-05-25 07:11:59 +00:00
krichtof
7c02ff6685 remove useless task 2023-05-24 17:40:00 +02:00
Christophe Robillard
1bda86be03 suggest default zones 2023-05-24 17:40:00 +02:00
Christophe Robillard
b13e77650e update default zones after admin creation 2023-05-24 17:40:00 +02:00
Colin Darie
a0c8f46bb7 fix(fork): allow invited on dossier origin to resolve champs of forks 2023-05-24 16:53:51 +02:00
Paul Chavard
e191cfb3f6 task(revision): find and correct all champs with wrong type de champ 2023-05-24 16:34:46 +02:00
Colin Darie
795e0ca471
fix(fork): can fork a dossier having invalid champs so it can be fixed in brouillon 2023-05-24 12:15:43 +02:00
Lisa Durand
6fa44a4c11 remove read more function because of accordion for procedure description 2023-05-24 12:08:57 +02:00
Paul Chavard
c06a4113b3 fix(graphql): gracefully handle change state errors 2023-05-24 12:04:04 +02:00
Christophe Robillard
247ad49ab7 migrate attestation_sociale to v4 2023-05-24 11:52:43 +02:00
Christophe Robillard
9a38ec1184 prepare cohabitation of multiple versions of api entreprise 2023-05-24 11:34:29 +02:00
Lisa Durand
7340206f81 rollback - add just one new field and use actual description field 2023-05-24 11:31:24 +02:00
Paul Chavard
47f1e27f85
Merge pull request #9032 from colinux/password-email-wording
Usager: plus de détails sur les raisons qui expliquent pourquoi je ne reçois pas l'email "mot de passe perdu"
2023-05-24 08:30:03 +00:00
Paul Chavard
b0e179300b
Merge pull request #9075 from colinux/fix-sentry-dolist-contact
ETQ exploitant je veux faire remonter les contacts Dolist en erreur dans sentry
2023-05-24 08:06:10 +00:00
Paul Chavard
cf13b942e7
Merge pull request #9076 from colinux/fix-instructeurs-filter-avis
ETQ instructeur je peux filtrer les dossiers par avis
2023-05-24 08:05:07 +00:00
Paul Chavard
40b3742d69
Merge pull request #9081 from tchak/graphql-user-connection-type
ETQ Intégrateur d’API, je voudrais savoir si l’utilisateur est connecté avec FranceConnect
2023-05-24 08:03:09 +00:00
Paul Chavard
68ca71314d
Merge pull request #9079 from tchak/chore-sentry-release
ETQ Opérateur, je voudrais que les erreurs dans Sentry soient liées à la version de l'application
2023-05-24 07:50:24 +00:00
Paul Chavard
e1a25ee0e5 chore(sentry): read sentry release information from version file 2023-05-24 09:41:39 +02:00
Paul Chavard
bba66f7a36
Merge pull request #9071 from tchak/import-revisions
chore(recovery): import/export revision
2023-05-24 07:32:54 +00:00
Paul Chavard
bca08c8e6c feat(graphql): expose user connection type 2023-05-23 18:18:21 +02:00
Lisa Durand
8291d58dbb add dsfr style and add depreciated field description for older procedure 2023-05-23 17:22:19 +02:00
Lisa Durand
6274594c70 add new layout to handle new full screen design 2023-05-23 16:49:37 +02:00
Eric Leroy-Terquem
00561999ec fix(type de champ): do not raise error if tdc already destroyed 2023-05-23 15:52:51 +02:00
Colin Darie
3627d7cae1
Merge pull request #9078 from demarches-simplifiees/fix-css-counter-reset-for-firefox
Corrige un bug de numérotation automatique sur Firefox
2023-05-23 12:41:13 +00:00
Colin Darie
1afd5e7f12
Merge pull request #9072 from colinux/fix-modif-en-construction-demarche-test
ETQ admin: corrige une erreur lorsque je modifie mon dossier en construction d'une démarche en test
2023-05-23 10:30:57 +00:00
Lisa Durand
b6cc35df68 fix specs 2023-05-23 10:34:03 +02:00
Eric Leroy-Terquem
3c7e280027 fix css counter-reset bug with firefox 2023-05-23 10:12:16 +02:00
Colin Darie
b1435e18a9
chore(sentry): set procedure id tag on instructeurs controller 2023-05-23 09:40:21 +02:00
Colin Darie
ff8fba3725
fix(instructeur): can filter by avis answer 2023-05-23 09:40:21 +02:00
Martin
9b86fdf853 correctif(compteurs.avis.a.donner): ETQ expert, les compteurs d'avis à donner n'intègrent pas les avis à donner sur des dossiers terminés 2023-05-23 09:34:30 +02:00
Martin
d2e30911f7 bug(compteurs.avis.a.donner): ETQ expert, je ne souhaite pas avoir a donner un avis sur un dossier termine 2023-05-23 09:34:30 +02:00
Martin
1417d0e873 correctif(expert/avis#index): ETQ expert, je veux retrouver mes avis donnés sur des dossiers traités 2023-05-23 09:34:30 +02:00
mfo
3620cbadda
Merge pull request #9045 from mfo/US/fix-anchor-to-error-elements
correctif(users/dossiers/brouillon#submit): ETQ usager, je souhaite que chaque lien pointant vers une erreur de champ m'oriente sur le champ
2023-05-23 04:08:38 +00:00
Colin Darie
ac70eb00af fix(dolist): unfilter email field in sentry, because we want it 2023-05-22 17:34:51 +02:00
Lisa Durand
4a51a9a351 add two more fields for procedure description what et and for_who 2023-05-22 15:36:48 +02:00
Eric Leroy-Terquem
642a79bffc update wording for dossiers total count in instructor view 2023-05-22 14:48:11 +02:00
Colin Darie
d16b81e09c fix(rebase): don't fail on force rebased when procedure is still in draft 2023-05-22 13:50:58 +02:00
Martin
af19bbe8f5 correctif(users/dossiers/brouillon#submit): ETQ usager, je souhaite que chaque lien pointant vers une erreur de champ m'oriente sur le champ 2023-05-20 08:27:55 +02:00
Paul Chavard
2ec0d405f7 chore(recovery): import/export revision 2023-05-19 11:19:15 +02:00
Paul Chavard
a2e98f9065
Merge pull request #9051 from demarches-simplifiees/fix-bug-procedure-clone-validations
[fix] Vider les champs invalides pour permettre de cloner une procedure
2023-05-17 07:44:39 +00:00
Lisa Durand
7e39e8113b feedback PR Colin 2023-05-16 17:54:37 +02:00
Martin
80fd029e0a amelioration(recovery:import): fait que la tache soit re-entrante, ameliore les logs 2023-05-16 17:34:14 +02:00
Martin
32088512ff amelioration(importer): evite de re-importer un dossier pointant vers un parent qui est maintenant detruit 2023-05-16 17:00:34 +02:00
Martin
f76e52cc97 tech(tache.recovery): ajoute une tache pour re-importer des dossiers venant d'un backup
Update app/lib/recovery/exporter.rb

Co-authored-by: Colin Darie <colin@darie.eu>
2023-05-16 14:49:36 +02:00
simon lehericey
9d1d523cf6 remove life_cycle 2023-05-16 14:49:36 +02:00
simon lehericey
06b6663662 import more stuff 2023-05-16 14:49:36 +02:00
Martin
e9115b10b5 correctif(data.kc): re-import les données kc 2023-05-16 14:49:36 +02:00
Lisa Durand
f2cf3188d7 empty invalid fields to allow clone procedure 2023-05-16 10:59:17 +02:00
Christophe Robillard
ca922005f9 add admin update default zones job 2023-05-16 09:40:53 +02:00
Christophe Robillard
34540d34e9 create default_zones_administrateurs 2023-05-16 09:40:53 +02:00
Christophe Robillard
53dd2955e4 add tchap hs adapter 2023-05-16 09:40:53 +02:00
Christophe Robillard
3705dc2553 determine default zones according to tchap hs 2023-05-16 09:40:53 +02:00
Christophe Robillard
a191f66508 add tchap hs to zone 2023-05-16 09:40:53 +02:00
Colin Darie
5aac7f9282
fix(typo): interpolation bug in no procedure found message 2023-05-15 14:13:43 +02:00
Colin Darie
8592571b50
Merge pull request #9034 from colinux/editor-typo
Admin: corrige une typo dans une option de nombre de caractères limite
2023-05-15 11:41:21 +00:00
Colin Darie
493e8dc9de
Merge pull request #9036 from colinux/fix-fork-ui
ETQ Usager: correctifs pour les modifications en construction
2023-05-15 11:38:01 +00:00
Colin Darie
b4f658b601
Merge pull request #9046 from tchak/graphql-remove-sentry-tiemout-log
ETQ Opérateur, je ne veux pas voir de log de timeout d'API dans les log Sentry
2023-05-15 11:37:48 +00:00
Colin Darie
81cd6c86ad fix(fork): update autosave UI with button after piece justificative manipulation 2023-05-15 13:08:42 +02:00
Colin Darie
059dabb5ac fix(fork): don't fail when user submit twice en_construction (from 2 tabs) 2023-05-15 13:08:42 +02:00
Colin Darie
ec6d9f4e33
Merge pull request #9035 from colinux/fork-fix-champ-pj-updated-at
Correctif: ETQ usager le champ PJ d'un dossier en construction ne doit pas être marqué "à déposer" sans raison
2023-05-15 10:33:10 +00:00
Colin Darie
d3028f5570
Merge pull request #9037 from demarches-simplifiees/fix-bug-alert-batch-incrementation
[Fix] Actions multiples - Corriger le compteur dans les alertes + ajouter des infos sur le créateur du batch
2023-05-15 10:32:31 +00:00
Paul Chavard
0b696049b2 chore(graphql): remove sentry log on timeout errors 2023-05-15 11:36:10 +02:00
Colin Darie
0d21450f8a
fix(fork): don't let active storage override our champ#updated_at after a transaction 2023-05-15 11:08:07 +02:00
Paul Chavard
f485f144fc chore(procedure): log dossiers before reset 2023-05-15 10:21:54 +02:00
Paul Chavard
b4a299c326 fix(user): always rebase original dossier before merge 2023-05-12 20:42:02 +02:00
simon lehericey
26fa5de790 avoid reset 2023-05-12 11:31:34 +02:00
simon lehericey
6148f24387 Revert "Merge pull request #9002 from tchak/feat-procedure-clone-preview-published"
This reverts commit 7a6f46a8ad, reversing
changes made to 4513c52213.
2023-05-12 11:29:11 +02:00
simon lehericey
017ebbcd18 UI: change alert to warning 2023-05-12 10:04:11 +02:00
simon lehericey
7b17bfe0a1 feat: add info for screen reader 2023-05-12 10:03:54 +02:00
simon lehericey
36331f71a4 wording 2023-05-12 10:03:13 +02:00
Colin Darie
6033792669
Merge pull request #9029 from demarches-simplifiees/fix-hidden-dropdown-in-table-usagers
Usager: améliore la visibilité du bouton action dans le tableau dossiers des usagers
2023-05-11 19:59:08 +00:00
Lisa Durand
d673f7f30a add hacky css to improve usage of hidden action dropdown in usager table 2023-05-11 17:18:10 +02:00
Colin Darie
675af2776d
Merge pull request #9020 from demarches-simplifiees/add_administration_header
Ajouter des bannières visant soit les instructeurs / admins soit les usagers
2023-05-11 15:13:05 +00:00
Lisa Durand
9deb452ac0 add info about who created the batch and when in alert 2023-05-11 17:13:02 +02:00
Lisa Durand
1e7add3b6e fix incrementation of success dossiers in batch alert 2023-05-11 15:42:23 +02:00
Colin Darie
bc7a79f150
fix(admin): typo in character limit option 2023-05-11 09:57:42 +02:00
Colin Darie
21df038056
fix(dolist): notify us when contact status is not found 2023-05-11 09:45:32 +02:00
Colin Darie
f33fb0a076
refactor(password-reset): improve message not received wording 2023-05-11 09:10:20 +02:00
Colin Darie
bc56f14a72
Merge pull request #9031 from colinux/fix-entreprise-cesse
API Entreprise: supporte la nouvelle valeur qui indique qu'une entreprise est fermée/a cessé
2023-05-10 20:20:22 +00:00
Colin Darie
79f450a422
Merge pull request #9021 from colinux/feat-en-construction-fork
ETQ usager, je modifie et soumets à nouveau mon dossier “en construction"
2023-05-10 19:46:40 +00:00
Colin Darie
5c648664d5 fix(entreprise): accepts "C" as value for "closed" 2023-05-10 18:08:23 +02:00
LeSim
b44a2f9ce4
Merge pull request #9017 from colinux/spread-instructeur-summary-email
Email: étale un peu dans le temps l'envoi des rapports aux instructeurs pour éviter le quota Dolist
2023-05-10 10:03:47 +00:00
LeSim
4cde60ce2b
Merge pull request #9023 from mfo/US/clarify-counters
amelioration(instructeurs/procedure#show): ETQ instructeur, je souhaite avoir les mêmes compteurs entreles pages listant mes demarches et la page pour visualiser une démarches
2023-05-10 10:03:11 +00:00
Colin Darie
1e5b7f1068 fix(admin): typo in revision breaking change summary 2023-05-10 10:01:53 +02:00
LeSim
a45d5f6d05
Merge pull request #9022 from mfo/US/fix-sections
correctif(sections.numerotation-automatique): ETQ administrateur, je souhaite que la numerotation automatique des titres de section fonctionne meme quand si deux titres de sections se succèdent
2023-05-10 07:23:49 +00:00
Colin Darie
b626714610
fix(dossier): submit en_construction render views in error with dossier origin 2023-05-09 18:49:53 +02:00
Colin Darie
218c7d08c2
feat(fork): mark a fork as stale for future deletion, so it can't be reused 2023-05-09 18:49:53 +02:00
Colin Darie
76088d1ee8
refactor(autosave): improve en_construction feedback wording 2023-05-09 18:49:53 +02:00
Colin Darie
f135df0c74
refactor(fork): feedback to user that a modification must be submitted 2023-05-09 18:49:53 +02:00
Colin Darie
c35176703f
feat(dossier): inform dossier en_construction having not submitted changes 2023-05-09 18:49:52 +02:00
Colin Darie
606493b7dd
style(dossier): status overview with dsfr class 2023-05-09 18:49:52 +02:00
Colin Darie
f6ebfe0e47
fix(dossier): sync search_terms after merge
Use a job instead of a lot of reloads
2023-05-09 18:49:52 +02:00
Colin Darie
11dd1b7d76
style(autosave): retry button as dsfr 2023-05-09 18:49:52 +02:00
LeSim
d0bb759d3d
Merge pull request #8997 from demarches-simplifiees/add_defaut_procedure_for_new_admin
ETQ admin, je veux avoir une première démarche pré remplie lorsque j'arrive sur ds
2023-05-09 16:38:55 +00:00
LeSim
ef0238c9aa
Merge pull request #9015 from demarches-simplifiees/add_dsfr_components
Ajoute la liste de boutons et le composant toggle au format ds-fr
2023-05-09 15:40:42 +00:00
Colin Darie
ac43d78b08
feat(dossier): warn users currently editing their dossier en_construction during deploy they will need to refresh 2023-05-09 17:25:16 +02:00
Paul Chavard
71cfe094aa
fix(groupe_instructeur): always use assign_to_groupe_instructeur method 2023-05-09 17:23:23 +02:00
Paul Chavard
08a2a2c9aa
feat(dossier): fork dossier when editing en construction 2023-05-09 17:16:47 +02:00
simon lehericey
19c9d12e71 add banner for administrations / usagers 2023-05-09 17:14:23 +02:00
Paul Chavard
025bd5beaf
feat(dossier): dossier can be forked for editing 2023-05-09 15:34:10 +02:00
simon lehericey
9894a0f2ff ds_fr: add accordion.css 2023-05-09 14:46:14 +02:00
simon lehericey
cc04c4484d ds_fr: add toggle_component 2023-05-09 14:46:14 +02:00
simon lehericey
2135d3c4e7 ds_fr: add radio_button_list component 2023-05-09 14:46:14 +02:00
Colin Darie
5a3cbcdb72
Merge pull request #9016 from colinux/fix-dolist-sans-contact
Email (Dolist): pas d'erreur lorsqu'un mail n'a pas pu être envoyé vers un nouveau contact
2023-05-09 12:45:48 +00:00
Martin
180c659a84 correctif(sections.numerotation-automatique): ETQ administrateur, je souhaite que la numerotation automatique des titres de section fonctionne meme quand si deux titres de sections se succèdent 2023-05-09 14:23:53 +02:00
Martin
386523019d amelioration(instructeurs/procedure#show): ETQ instructeur, je souhaite avoir les mêmes compteurs entreles pages listant mes demarches et la page pour visualiser une démarches 2023-05-09 13:59:49 +02:00
Paul Chavard
b88d984828 fix(instructeur): exclude repetitions from filters/display 2023-05-09 11:38:06 +02:00
Colin Darie
f7029615a9
refactor(email): spread sending of instructeur digest emails over time
On envoi parfois plus de 20K mails, ce qui pose des problèmes de délivrance
et quotas si on le fait d'un coup.
On étale donc un peu dans la durée ces envois pour pas limiter le dépassement
de quota.
2023-05-09 11:32:43 +02:00
Colin Darie
049219a4a2
fix(dolist): don't fail on error when contact does not exist yet 2023-05-09 11:06:48 +02:00
Lisa Durand
2b2d65de87
Merge pull request #8994 from demarches-simplifiees/add-simple-filter-for-usagers
[refonte usager] Tableau de bord - Ajouter bouton filtres simples
2023-05-09 08:06:15 +00:00
mfo
2374ced5d2
Merge pull request #8987 from mfo/US/link-to-errored-champs
amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement
2023-05-09 07:06:36 +00:00
Paul Chavard
f563fb3269
Merge pull request #8990 from tchak/fix-limit-textarea-size
ETQ administrateur, je veux pouvoir limiter le nombre de caractères dans les champs "texte long"
2023-05-05 14:54:41 +00:00
Paul Chavard
fe041b4c6c fix(textarea): fix character limit option 2023-05-05 16:36:51 +02:00
Paul Chavard
471da7eb61 Revert "Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739""
This reverts commit 909d726429.
2023-05-05 16:36:51 +02:00
Paul Chavard
7a6f46a8ad
Merge pull request #9002 from tchak/feat-procedure-clone-preview-published
ETQ Administrateur, je veux cloner la version publiée des démarches en production
2023-05-05 14:36:03 +00:00
Paul Chavard
91a1064f33
Merge pull request #9000 from tchak/chore-update-dependencies
ETQ développeur, je veux que les dépendances npm soient à jour
2023-05-05 14:34:24 +00:00
Martin
2135985583 correctif(procedure.clone): ET admin, je souhaite pouvoir cloner une procedure ayant deux groupes d'instructeur ayant le dernier fermé 2023-05-05 11:09:06 +02:00
Paul Chavard
11065946ce fix(instructeur): fix dossiers suivis filter (merge behavior change in rails 7) 2023-05-04 18:24:18 +02:00
Paul Chavard
616188bfe3 feat(administrateur): when clone or preview procedure should use published revision if not the owned 2023-05-04 16:15:55 +02:00
Kara Diaby
e0071cf1bb
Merge pull request #8995 from demarches-simplifiees/feat/8969
ETQ administrateur , je souhaite prévisualiser la démarche depuis l'interface "toutes les démarches
2023-05-04 13:43:07 +00:00
Colin Darie
da178e354d
Merge pull request #8999 from colinux/fix-export-attachment-filenames
ETQ instructeur, ne plante pas un export s'il contient des PJ avec des noms de fichiers invalides
2023-05-04 13:35:39 +00:00
Colin Darie
5be8865675
fix(export): sanitize filename containing unsafe chars for storage
Pourrait fixer des problèmes de dezip sous windows de zip.
2023-05-04 14:36:44 +02:00
Colin Darie
f615facbba
fix(export): don't fail when trying to write a file name > 255 bytes 2023-05-04 14:36:33 +02:00
Paul Chavard
c8fc839acb chore(npm): fix update dependencies 2023-05-04 14:13:41 +02:00
Paul Chavard
7f991a67e2 Revert "Revert "Merge pull request #8985 from tchak/chore-update-dependencies""
This reverts commit e744ed99d2.
2023-05-04 14:01:35 +02:00
Lisa Durand
c039414872 feedback PR review 2023-05-04 12:39:06 +02:00
Kara Diaby
c2296630fa Ajout de la prévisualisation de la démarche dans la page toutes les démarches 2023-05-04 10:56:59 +02:00
Paul Chavard
88bb0cc532
Merge pull request #8989 from tchak/fix-presentation-filters
ETQ Instructeur, je ne veux pas d'erreurs quand les filtres ne sont pas trouvés
2023-05-04 08:45:56 +00:00
Colin Darie
93c08072ba fix(attestation): allow redirection to our static domain for attestation 2023-05-04 10:31:38 +02:00
Lisa Durand
eb09a7480e remove role from filter component a11y to fix specs 2023-05-03 17:48:04 +02:00
Lisa Durand
9fd9bdc7c0 add tag to display and remove active filters 2023-05-03 16:47:27 +02:00
simon lehericey
9c8020b05c feat(admin): add initiation procedure for a new admin 2023-05-03 15:08:21 +02:00
Lisa Durand
7aca10377c change no file message if filters are selected 2023-05-03 12:06:30 +02:00
Colin Darie
6616acb825
chore(super-admin): update devise-two-factor v5 with otp_secret encrypted attribute 2023-05-03 11:35:32 +02:00
Colin Darie
61ebb27e86
fix(redirect): allow other hosts when required 2023-05-03 11:35:31 +02:00
Colin Darie
d31016973c
chore(schema): model annotations accordingly to schema 2023-05-03 11:35:31 +02:00
Colin Darie
e8e785b953
refactor(rubocop): fix Rails/ToFormattedS 2023-05-03 11:35:30 +02:00
Nicolas Cavigneaux
940405cea8
fix: Avoid Brakeman warning about insecure redirect 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
01e0276f53
fix: MonAvisEmbed custom validation 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
61c3ff54d5
fix: JWT token custom validation 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
3aa6a5e28e
fix: url helper method calls for files 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
f78b415c51
fix: edit_component field_name signature
field_name is called by
actionview-7.0.4.2/lib/action_view/helpers/tags/base.rb who pass 3
arguments. We need to be compliant in order to make it valid.

We reuse the same method signature with nil default values as those
params are not being used.
2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
388ccca263
fix redefinition of signed_id Rails method by supporting options as arg 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
8f6beb1093
fix: Rails 7 preloader now take named arguments 2023-05-03 10:10:38 +02:00
Martin
c8ab1e8e03 amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement 2023-05-03 07:36:42 +02:00
Lisa Durand
530d36b6df use dropdown to hide filter form 2023-05-02 19:07:53 +02:00
Lisa Durand
6113c0b75e improve/add translations 2023-05-02 15:10:36 +02:00
Lisa Durand
24eca40f66 add from_depose_at filter 2023-05-02 10:32:38 +02:00
Lisa Durand
21ed6abcad add from_created_at filter 2023-05-02 09:37:03 +02:00
Paul Chavard
fc391fb553 fix(instructeur): no crash when filters not found 2023-05-01 11:34:11 +02:00
Paul Chavard
46f9148fa4
Merge pull request #8984 from tchak/fix-api-entreprise-status
ETQ usager, je veux être avertie si l'API entreprise est HS
2023-04-28 14:25:02 +00:00
Paul Chavard
f2c1c071b4 Revert "Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique"
This reverts commit d3eda28f35, reversing
changes made to 6394996e7f.
2023-04-28 16:10:20 +02:00
Paul Chavard
909d726429 Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739"
This reverts commit 04fbfa15b7, reversing
changes made to aac1cc7161.
2023-04-28 16:08:24 +02:00
Paul Chavard
e744ed99d2 Revert "Merge pull request #8985 from tchak/chore-update-dependencies"
This reverts commit 1e5c7516bc, reversing
changes made to 60bc6b0839.
2023-04-28 15:47:24 +02:00
Lisa Durand
39f534b3d7 add states filter for usager 2023-04-28 15:28:04 +02:00
Paul Chavard
1e5c7516bc
Merge pull request #8985 from tchak/chore-update-dependencies
ETQ développeur, je veux que les dépendances npm soient à jour
2023-04-28 10:00:40 +00:00
LeSim
6ffa0183d7
Merge pull request #8983 from mfo/US/fix-reset-counter-css-offset
correctif(titre-de-section): ETQ usager, je souhaite que les titres de sections ne soient pas préfixé d'un 0.
2023-04-28 09:44:17 +00:00
Paul Chavard
ba590ff262 chore(npm): update dependencies 2023-04-27 23:02:39 +02:00
Paul Chavard
99abdf45e7 fix(api-entreprise): use new status endpoint 2023-04-27 22:39:44 +02:00
Julie Salha
8cde00d0e1 update download link procedure footer 2023-04-27 17:31:07 +02:00
Julie Salha
45898decba update structure, content and translations procedure footer 2023-04-27 17:31:07 +02:00
Julie Salha
f5da547083 update structure management content procedure footer 2023-04-27 17:31:07 +02:00
Julie Salha
fe5e29c200 update information link dinum root footer 2023-04-27 17:31:07 +02:00
Julie Salha
84cbf1cf88 update structure and attributes simple footer 2023-04-27 17:31:07 +02:00
Julie Salha
1ca80ba617 update root footer esponsive 2023-04-27 17:31:07 +02:00
Julie Salha
a2a37cddf8 update wording root footer logo 2023-04-27 17:31:07 +02:00
Julie Salha
ffeace8940 update footer account creation page 2023-04-27 17:31:07 +02:00
Julie Salha
3262c5bf00 reinitilization branch 2023-04-27 17:31:07 +02:00
Julie Salha
0a900d72ea add footer to profile page 2023-04-27 17:31:07 +02:00
Julie Salha
2eea0e21b5 add footer to page: transfer your file 2023-04-27 17:31:07 +02:00
Martin
9612555cd1 correctif(titre-de-section): ETQ usager, je souhaite que les titres de sections ne soient pas préfixé d'un 0. 2023-04-27 16:00:43 +02:00
Kara Diaby
04fbfa15b7
Merge pull request #8844 from demarches-simplifiees/feat/7739
Ajoute un compteur sur les champ texte
2023-04-27 13:53:20 +00:00
Lisa Durand
aac1cc7161
Merge pull request #8971 from demarches-simplifiees/add-filter-for-usagers
[fix] Pagination interface usager - onglets disparaissent si pas sur la page 1
2023-04-27 13:46:15 +00:00
Lisa Durand
b76c0a36e8 fix specs 2023-04-27 15:26:10 +02:00
Paul Chavard
1d10e59e63 fix(commune): fix ‘undefined’ departement codes 2023-04-27 12:07:43 +02:00
Colin Darie
b0f4c578a6
Merge pull request #8978 from colinux/refactor-dolist-module
Tech: ne mélange pas class & module Dolist, supprime adapter SMTP
2023-04-27 09:52:42 +00:00
Paul Chavard
a64549d716
Merge pull request #8956 from tchak/update-coldwired
ETQ usager, je veux que le focus suive les changement d'interface
2023-04-27 09:31:45 +00:00
Paul Chavard
f9b8dac024 feat(champ): use new data-turbo-focus-group to manage focus on multiple drop down 2023-04-27 10:40:14 +02:00
Paul Chavard
5343c229a2 chore(turbo): update coldwired and fix focus in turbo 2023-04-27 10:40:14 +02:00
mfo
79a7877a09
Merge pull request #8961 from mfo/US/fix-fieldset-max-width
ETQ usager, quand une les balises <select> avec une <option> ayant un libelle tres long, le select prends la largueur du contenu de l'option et force un scroll horizontal sur la page
2023-04-27 08:33:29 +00:00
Kara Diaby
f3f49941b6 Ajoute un compteur sur les champ de type textarea sur l'interface usager 2023-04-27 10:28:43 +02:00
Paul Chavard
a59f44bcbc
Merge pull request #8976 from tchak/fix-dossier-continue-latest
ETQ usager, je ne veux pas bypasser la vérification de SIRET
2023-04-27 08:10:24 +00:00
Colin Darie
5cc2712873
refactor(dolist): drop smtp deliver method 2023-04-27 10:09:29 +02:00
Colin Darie
f7a80eb905
fix: dolist module/class mismatch 2023-04-27 10:09:00 +02:00
Martin
bbd565edee correctif(ui): les balises <select> avec un balise <option> à rallonge prenent la largueur du contenu de l'option
Update app/components/editable_champ/drop_down_list_component.rb

Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-27 10:05:07 +02:00
Paul Chavard
cb752d1857 fix(dossier): do not bypass depositaire check on modifier path 2023-04-27 09:52:10 +02:00
Martin
44c84b94ca amelioration(titre-de-section): saute un niveau de profondeur pour les titres de section 2023-04-27 09:29:51 +02:00
LeSim
4c5e903673
Merge pull request #8887 from demarches-simplifiees/8839-filter-by-siret
Filtrer les démarches par service
2023-04-26 19:44:08 +00:00
Paul Chavard
249c7729d9
Merge pull request #8962 from mfo/US/fix-date-input-edge
ETQ usager utilisant microsoft Edge, les champs de type date sont mal alignés
2023-04-26 18:33:55 +00:00
Paul Chavard
a41713c837
Merge pull request #8968 from demarches-simplifiees/fix_defaut_groupe_instructeur_again
Correctif: definit le groupe instructeur par defaut pour certaines procedure clonées
2023-04-26 17:59:13 +00:00
Eric Leroy-Terquem
432ec027cc
Merge pull request #8959 from victormours/fix-webinaire-typo
Correction de faute de frappe sur la page de présentation aux administrations
2023-04-26 17:28:46 +00:00
Paul Chavard
c7066573f6
Merge pull request #8921 from demarches-simplifiees/8827-user-path-translations-fix
ETQ usager, je veux que mon interface soit traduite en anglais
2023-04-26 17:17:35 +00:00
Martin
9a0b06b4bd correctif(ui.edge): les champs de type date etaient mal alignés 2023-04-26 19:17:03 +02:00
Victor Mours
f72d9e9784 Fix typo on webinaire 2023-04-26 19:00:57 +02:00
Paul Chavard
d3eda28f35
Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique
ETQ usager, je veux que les champs de type adresse électronique soit validé
2023-04-26 16:52:02 +00:00
Paul Chavard
6394996e7f
Merge pull request #8963 from tchak/fix-revision-changes-delete-champs-message
ETQ administrateur, je veux être averti si des données seront supprimées sur les dossiers lors de la publication d’une nouvelle révision
2023-04-26 15:12:31 +00:00
Paul Chavard
e16de77418
Update app/components/procedure/revision_changes_component.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-26 15:01:46 +02:00
Lisa Durand
74b28a995f paginate only dossiers that we display to fix empty tabs when not on page 1 2023-04-26 11:42:29 +02:00
Lisa Durand
e393132fd8
Merge pull request #8936 from demarches-simplifiees/add-yes-no-column-for-instructeurs
[instructeur] ajout du nb de réponses oui/non aux avis dans le tableau d'une procedure
2023-04-26 09:05:58 +00:00
simon lehericey
0934a672fe fix: defaut_groupe_instructeur for a cloned procedure from another admin without a group with default label 2023-04-26 10:52:31 +02:00
LeSim
1a704f0479
Merge pull request #8966 from mfo/US/fix-avis-remind-with-question
ETQ instructeur, je peux relancer une demande d'avis meme si celui ci contient une question
2023-04-26 08:09:41 +00:00
LeSim
c8ed0532ed
Merge pull request #8948 from colinux/fix-geoarea-geometry-blank
ETQ Usager, champ carte: ne permet pas d'enregistrer une geometry null pour ne pas casser les exports
2023-04-26 10:15:25 +02:00
Colin Darie
21a829ec1e fix(conditionel): error when using operator eq/not_eq with a multi dropdown 2023-04-26 09:58:00 +02:00
Martin
1ae40f1a22 correctif(instructeurs/avis_controller#remind): ETQ instructeur, je peux relancer une demande d'avis meme si celui ci contient une question 2023-04-26 07:46:21 +02:00
Colin Darie
02fab28ad6
Merge pull request #8964 from colinux/pdf-no-unbreakable
ETQ Utilisateur, je ne veux pas de caractère invalide dans l'état du dossier en PDF
2023-04-25 22:29:47 +00:00
Colin Darie
0a2b24aea2 fix(pdf): remove unbreakable spaces from dossier state, which are invalid in PDF 2023-04-25 18:36:49 +02:00
Paul Chavard
26798e8ed9 fix(revision): show a warning when champs will be deleted 2023-04-25 18:04:17 +02:00
Lisa Durand
7a530ae24c fix wrong variable name 2023-04-25 15:43:21 +02:00
mfo
fdb361c207
Merge pull request #8955 from tchak/fix-typo
ETQ instructeur, je veux pouvoir accéder à mes annotations privées
2023-04-25 12:47:49 +00:00
Lisa Durand
d52ee477b0 remove '+' and use variable in I18n 2023-04-25 14:30:39 +02:00
Lisa Durand
384b7f9fac simplify humanized groupe instructeur filter 2023-04-25 14:15:40 +02:00
Lisa Durand
26ff82dbe4 Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into user-dashboard/add-alert-WIP-last-dossier 2023-04-25 13:01:40 +02:00
Paul Chavard
08ed5e0d87 fix(type_de_champ): should use dossier revision instead of type_de_champ revision 2023-04-25 12:00:42 +02:00
Paul Chavard
eae58ae5b0 fix(type_de_champ): type_champs_private -> types_de_champ_private 2023-04-25 11:59:32 +02:00
Lisa Durand
3678015413
remove scope not_archived for brouillon
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-04-25 10:56:59 +02:00
Julie Salha
e6004d83f3
Merge branch 'main' into 8827-user-path-translations-fix 2023-04-25 09:36:05 +02:00
Lisa Durand
f5ffd1ad5e
Merge pull request #8947 from demarches-simplifiees/user-dashboard/add-pagination
[refonte usager] Tableau de bord - Améliorer pagination
2023-04-24 14:08:08 +00:00
Lisa Durand
402112583d fix test with good classname in js for batch 2023-04-24 10:54:53 +02:00
Martin
8c78008b4d correctif(usager.depot-dossier): ETQ usager, les titres de section conditionnés etait visible meme si la condition n'etait pas remplie 2023-04-24 10:47:20 +02:00
Lisa Durand
75415cf6dc
Fix typo issue
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-24 10:26:03 +02:00
Colin Darie
f7880352f0
Merge pull request #8941 from mfo/US/fixed-dossier-stalled-auto-processing
correctif(procedure.declarative): ETQ administrateur d'une procedure declarative, certains de mes dossiers restent en construction [ex: l'object storage est down, le dossier reste bloqué]
2023-04-22 16:13:01 +00:00
Colin Darie
25956c5141
fix(geoarea): geometry must not be nil 2023-04-22 16:23:39 +02:00
Lisa Durand
1c20a9160c add dsfr style pagination for all users 2023-04-21 17:19:17 +02:00
Martin
9dec6f1611 correctif(procedure.declarative): ETQ administrateur d'une procedure declarative, certains de mes dossiers restent en construction [ex: l'object storage est down, le dossier reste bloqué] 2023-04-21 15:45:45 +02:00
Colin Darie
925ebef551
Merge pull request #8934 from colinux/fix-markdown-in-url
ETQ utilisateur je ne veux pas perdre les _ au sein d'urls dans mes messages
2023-04-21 13:28:56 +00:00
Colin Darie
4f78aac297
Merge pull request #8944 from colinux/manager-replace-by-procedure
ETQ super-admin je peux éditer l'attribut d'une démarche qui pointe vers la démarche qui la remplace
2023-04-21 13:20:47 +00:00
Colin Darie
2775158052
Merge pull request #8943 from tchak/fix-dossier-can-create-new-dossiers
ETQ usager, je peux créer de nouveaux dossiers sur la démarche qui remplace la démarche fermée
2023-04-21 13:18:43 +00:00
Colin Darie
fb54ca1469 fix(markdown): don't convert underscore within urls or emails 2023-04-21 14:07:10 +02:00
Colin Darie
446ff5f28f feat(manager): edit procedure#replaced_by_procedure_id 2023-04-21 13:04:19 +02:00
Lisa Durand
1b02857662 add pagination title and add missing DSFR style on table 2023-04-21 12:53:57 +02:00
simon lehericey
a202a57988 fix: defaut_groupe_instructeur_id for a cloned procedure 2023-04-21 12:20:50 +02:00
Paul Chavard
52d63a1b02 fix(dossier): user can create new dossiers when closed procedure is replaced 2023-04-21 11:18:27 +01:00
Colin Darie
8f6681d2a3
Merge pull request #8937 from mfo/fix-procedure-pdf-without-repetitions
ETQ administrateur, je m'attends a ce qu'au moins 3 répétition soient présentes dans le formulaire au format PDF
2023-04-21 09:43:04 +00:00
Colin Darie
a8ae706efd
Merge pull request #8938 from mfo/US/annotation-privee-value-other
bug(instructeurs.annotations): ETQ instructeurs, lorsque je saisie une autre valeur dans un champ de type choix simple, celle ci n'est pas sauvegardé
2023-04-21 09:27:07 +00:00
Martin
b5e6c3d02a correctif(instructeurs.annotations): pour un champ de type choix simple, l'ordre des parametres value, value_other doit etre respecté sinon le 'setters' Champs::DropDownListChamp.value= passe après le setter Champs::DropDownListChamp.value_other=, ce qui a pour effet de supprimer la value 2023-04-21 09:57:23 +02:00
Eric Leroy-Terquem
06de9bf4b4 do not use notifier verb in the wrong way 2023-04-21 09:56:32 +02:00
krichtof
c2461f230c validate value for email champ 2023-04-20 18:27:02 +02:00
Lisa Durand
34697a3085 add missing translation for filter groupe instructeur 2023-04-20 17:32:36 +02:00
Martin
2db21c8789 correctif(administrateurs/procedure#dossier_vide): affiche 3 répétition sur le formulaire pdf d'une démarche 2023-04-20 16:19:03 +02:00
Lisa Durand
65730bcfcb display avis_anwser yes/no in table 2023-04-20 15:55:31 +02:00
Paul Chavard
88f680a265
Merge pull request #8930 from tchak/fix-champ-commune-spaces
ETQ usager, je voudrai pouvoir remplir un code postal avec des espaces
2023-04-20 08:40:38 +00:00
Paul Chavard
586286cb08
Merge pull request #8916 from demarches-simplifiees/can-update-defaut-groupe-instructeur-2
feat(routage): permet de changer le groupe par défaut
2023-04-20 08:28:46 +00:00
Paul Chavard
4a2e499679 fix(commune): should accept postal codes with spaces 2023-04-20 10:16:48 +02:00
simon lehericey
e64ac79f05 tech(refactor): much nicer code, thx LeSim
root -> rooted_tree

depth_cach -> walk

smal refactor

comment

remove form for header_section

remove seen_at from header section

header_section: champ -> header_section

champ_subree: remove if not

remove root_depth use header_section_level_value instead

remove unused include

remove ChampTreeComponent

rename ChampsSubtreeComponent to SectionComponent

use TreeableConcern only in section component

remove fields_for_champ_component

champs -> tail

add split_section_champ helper

refactor(editable_champ::header_section): keep same interface everywhere

fix(repetition): add spec for SectionComponent on repetitions
2023-04-20 08:22:02 +02:00
Martin
cc2c856ec2 amelioration(bloc-repetable): wrap les blocs repetatable dans des fieldsets 2023-04-20 08:22:02 +02:00
Martin
88abefb370 tech(remaniement): isole la logique de rendu au champs_subtree_component 2023-04-20 08:22:02 +02:00
Martin
3b5d1bd55b tech(remaniement): extraction du passage d'une liste de champs a un simili arbre 2023-04-20 08:22:02 +02:00
Martin
ad77b9321b amelioration(formulaire-usager): groupes les champs suivant un titre de section dans une balise html de type <fieldset> de sorte a améliorer l'accessibilite de la plateforme 2023-04-20 08:22:02 +02:00
Martin
b9faa26560 amelioration(editeur-de-champs): permet de choisir un niveau de titre (de 1 à 3) pour les champs de type Champs::HeaderSectionChamp. Gère les erreurs dans le cas ou un administrateur supprimerait un HeaderSection qui casserait l'ordre des titre [ex: titre 1,2,3. et l'admin supprime le titre 1 et il reste que 2,3]. 2023-04-20 08:22:02 +02:00
Paul Chavard
38b806a1e0
Merge pull request #8929 from tchak/feat-display-procedure-state-in-manager
ETQ opérateur, je voudrais pouvoir consulter plus facilement l’état d’une démarche
2023-04-19 19:11:42 +00:00
Paul Chavard
39ba03783a
Merge pull request #8928 from tchak/feat-api-public-stats
ETQ citoyen, je voudrais avoir accès aux statistiques des démarches closes
2023-04-19 19:11:34 +00:00
Paul Chavard
ce466d072a feat(manager): display procedure state and unpublished date 2023-04-19 19:59:54 +02:00
Paul Chavard
418d3b55d0 feat(stats): give access to stats on closed procedures 2023-04-19 18:31:58 +02:00
Colin Darie
e5df31fd66 fix(yaml): yes & no are reserved keywords in yaml, so they have to be quoted 2023-04-19 18:26:40 +02:00
Paul Chavard
63b7a83689 feat(graphql): log dossier and procedure id on dossier fetch endoint 2023-04-19 18:00:08 +02:00
Colin Darie
9728493bda
Merge pull request #8924 from colinux/rubocop-upgrades
Tech: update rubocop, active nouveaux cops Rails/*
2023-04-19 13:37:10 +00:00
Paul Chavard
de858243c0
Merge pull request #8925 from tchak/fix-procedire-remove-duplicate-code
chore(procedure): remove duplicate code
2023-04-19 12:26:34 +00:00
simon lehericey
9c6af921e5 Use has_one defaut_procdre to avoid before destroy prepend 2023-04-19 13:52:42 +02:00
Eric Leroy-Terquem
aecd7559d2 feat(groupe instructeur): cannot disable default groupe instructeur 2023-04-19 13:52:42 +02:00
Eric Leroy-Terquem
09b05550ab feat(groupe instructeur): cannot delete defaut_groupe_instructeur 2023-04-19 13:52:42 +02:00
simon lehericey
79131cc294 fix spec 2023-04-19 13:52:42 +02:00
simon lehericey
3889bdac73 refactor(routing): remove unused routing_params 2023-04-19 13:52:42 +02:00
simon lehericey
86733248f3 wording pour coller a Routage et Gestion des groupes 2023-04-19 13:52:41 +02:00
simon lehericey
b3ce3820a9 refactor(ui): use proper title 2023-04-19 13:52:41 +02:00
simon lehericey
43b0eae3ee refactor(ui): enough space for button 2023-04-19 13:52:41 +02:00
simon lehericey
b38470368b feat(routing): can change defaut groupe 2023-04-19 13:52:41 +02:00
simon lehericey
95ab81fd1c feat(routing): use procedure.defaut_groupe_instructeur_id to find defaut_groupe_instructeur 2023-04-19 13:52:41 +02:00
mfo
73184c6dac
Merge pull request #8907 from mfo/US/dolist-silence-some-errors
amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce
2023-04-19 11:49:01 +00:00
Paul Chavard
8904516b85 chore(procedure): remove duplicate code 2023-04-19 13:00:37 +02:00
Colin Darie
1af404c5e7
chore(rubocop): fix Rails/WhereMissing 2023-04-19 12:55:14 +02:00
Colin Darie
f4ad5289cd
chore(rubocop): fix Rails/RedundantPresenceValidationOnBelongsTo 2023-04-19 12:55:14 +02:00
Colin Darie
6eec42135d
chore(rubocop): fix Rails/DotSeparatedKeys 2023-04-19 12:55:14 +02:00
Colin Darie
20f0b64736
chore(rubocop): fix Rails/WhereNotWithMultipleConditions 2023-04-19 12:55:14 +02:00
Colin Darie
e9649b667e
chore(rubocop): fix Rails/IgnoredColumnsAssignment 2023-04-19 12:55:14 +02:00
Colin Darie
8fa5e0dbb8
chore(rubocop): fix Rails/UnusedIgnoredColumns 2023-04-19 12:55:14 +02:00
Colin Darie
7aba5ccc3e
chore(rubocop): fix Rails/DurationArithmetic 2023-04-19 12:55:13 +02:00
Colin Darie
160178b8f8
chore(rubocop): fix Rails/ExpandedDateRange 2023-04-19 12:55:13 +02:00
Colin Darie
bd8e8633e7
chore(rubocop): fix Rails/CompactBlank 2023-04-19 12:55:13 +02:00
Colin Darie
b273e7b67e
chore(rubocop): fix Rails/RootPathnameMethods and assimiled cops 2023-04-19 12:55:13 +02:00
Colin Darie
ca11ec8380
chore(rubocop): fix Rails/OutputSafety 2023-04-19 12:55:12 +02:00
Colin Darie
3317f19323
chore(rubocop): fix Rails/ContentTag 2023-04-19 12:55:12 +02:00
Paul Chavard
05cfb4055d fix(dossier): improuve dossier state display 2023-04-19 12:27:16 +02:00
Paul Chavard
7bf31c6278
Merge pull request #8850 from tchak/feat-refactor-drop-downs
Simplifie l'implémentation des champs "liste d'options" et "listes d'options liées"
2023-04-19 09:59:10 +00:00
Martin
534ce34f87 amelioration(Dolist::ApiSender): lève une Dolist::IgnorableError afin de l'inscrire dans l'historique des EmailEvent 2023-04-19 11:22:13 +02:00
Martin
8fa2bbb67d amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce 2023-04-19 11:22:13 +02:00
github-merge-queue[bot]
a286af8a70
Merge pull request #8918 from tchak/graphql-add-error-codes
ETQ intégrateur API, je voudrais avoir des codes d'erreur plus précis
2023-04-19 09:00:32 +00:00
github-merge-queue[bot]
c439a286a8
Merge pull request #8902 from demarches-simplifiees/bug-disable-select-all-actions-multiples
[bug] actions multiples > désactiver la checkbox select_all quand action en cours
2023-04-18 21:52:21 +00:00
Julie Salha
c6aff63ce7 remove phone contact accessibility statement 2023-04-18 17:25:20 +02:00
github-merge-queue[bot]
82f81cef21
Merge pull request #8913 from demarches-simplifiees/fix-display-search-results
[bug display] Améliorer l'affichage des resultats de recherche
2023-04-18 13:35:02 +00:00
github-merge-queue[bot]
26e516ea72
Merge pull request #8888 from tchak/graphql-improuve-stored-query
ETQ intégrateur API, je voudrais avoir accès aux dossiers récemment supprimés d’un groupe instructeur
2023-04-18 13:25:31 +00:00
Paul Chavard
0912a30eb0 feat(dossier): use turbo on select with other 2023-04-18 15:24:23 +02:00
Paul Chavard
eb599394e0 feat(dossier): use turbo on linked lists 2023-04-18 15:24:23 +02:00
Paul Chavard
ae1ec87397 feat(graphql): add code to timeout errors 2023-04-18 15:22:11 +02:00
Paul Chavard
f70532a844 feat(graphql): global not found error handling 2023-04-18 15:22:11 +02:00
Paul Chavard
fbae6d941d feat(graphql): add error codes to graphql errors 2023-04-18 15:22:11 +02:00
Paul Chavard
2a09f1d505 fix(graphql): return empty arrays from loaders when loading collections 2023-04-18 15:20:43 +02:00
Julie Salha
f80cccba93 reset component yes no structure 2023-04-18 14:54:01 +02:00
Julie Salha
f039b6687a add translations account confirmation page 2023-04-18 14:11:58 +02:00
Julie Salha
b1dfc83c17 add translations upload group notice 2023-04-18 14:04:32 +02:00
Julie Salha
be16cb6f5e add missing translations footer email change password 2023-04-18 13:56:50 +02:00
github-merge-queue[bot]
110a8aec97
Merge pull request #8919 from tchak/graphql-stub-fake-files-meta
ETQ intégrateur API, je ne veux pas avoir d'erreurs lorsque j'interroge les métadonnées de certains fichiers
2023-04-18 11:56:32 +00:00
Julie Salha
c37a54b65b add translations profile identification tokens 2023-04-18 13:51:41 +02:00
github-merge-queue[bot]
7a2805d001
Merge pull request #8912 from demarches-simplifiees/user-dashboard/switch-place-for-searchbar
[refonte usager] Tableau de bord - Déplacer la barre de recherche proche des dossiers
2023-04-18 11:47:49 +00:00
Julie Salha
93c5c52e19 add translations for yes-no radios form and update dsfr styles 2023-04-18 13:43:11 +02:00
Lisa Durand
c565ed415b change scope and alert location after UI modification 2023-04-18 12:03:10 +02:00
Paul Chavard
bd07441b7e fix(graphql): stub metadata on fake files interfaces 2023-04-18 11:36:40 +02:00
Paul Chavard
ca9fa71667 feat(graphql): improuve stored query 2023-04-17 18:43:00 +02:00
Paul Chavard
bf6cc25063 feat(graphql): expose pendingDeletedDossiers on groupe instructeur 2023-04-17 18:43:00 +02:00
Paul Chavard
5437727517 chore(api-geo): bump cache keys 2023-04-17 14:29:24 +02:00
LeSim
c252748833
Merge pull request #8836 from demarches-simplifiees/improve-routing-rules-ux
feat(routing): nicer and safer ?
2023-04-17 08:23:15 +00:00
Lisa Durand
e140d1cc7a restore the hidden overflow from DSFR on table 2023-04-17 10:08:43 +02:00
Lisa Durand
4ed29268bf fix table display for search result 2023-04-14 17:42:37 +02:00
Paul Chavard
cb6875352e fix(dossier): désactiver la checkbox select_all quand action en cours 2023-04-14 17:41:22 +02:00
Lisa Durand
f762323017 change searchbar from header to dashboard for user 2023-04-14 16:28:37 +02:00
mfo
e8218821a0
Merge pull request #8908 from mfo/US/doc-dolist-tracking
amelioration(dolist): desactive le tracking http
2023-04-14 09:12:04 +00:00
Martin
a47b19bee9 amelioration(dolist): desactive le tracking http 2023-04-14 10:11:09 +02:00
Lisa Durand
229ce67a5d
Add 'visible_by_user' - review PR
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-04-14 10:10:22 +02:00
Paul Chavard
98caf41a36 fix(dossier): find communes outside of departement 2023-04-13 13:09:56 +02:00
Paul Chavard
21b548d32b fix(dossier): delete all champs starting with children 2023-04-13 11:08:10 +02:00
Paul Chavard
7054c2d9ef fix(demarche): always reset outside of transactions 2023-04-13 11:05:38 +02:00
simon lehericey
f6948cfd5e feat(routing): record first groupe as default_groupe_instructeur 2023-04-13 10:36:42 +02:00
Eric Leroy-Terquem
cade677355 feat(db): add defaut_groupe_instructeur_id column to procedures 2023-04-13 10:36:42 +02:00
simon lehericey
c02319aa56 feat(routing): reset value if target as changed 2023-04-13 10:28:53 +02:00
simon lehericey
9fe8f98a17 refactor(routing): add id to option to help morph 2023-04-13 10:28:53 +02:00
simon lehericey
e27e18fdaf refactor(routing): use selerialized logic in select value 2023-04-13 10:28:53 +02:00
simon lehericey
16565d099a refactor(routing): add groupe_instructeur helper 2023-04-13 10:28:52 +02:00
simon lehericey
8b832396a3 feat(routing): server side: prevent changing tdc type if used for routing 2023-04-13 10:28:52 +02:00
Eric Leroy-Terquem
9ea75a5bd1 feat(routing): ui side: prevent changing tdc type if used for routing 2023-04-13 10:28:52 +02:00
simon lehericey
c1f67499aa feat(routing): server side: prevent tdc deletion if used for routing 2023-04-13 10:28:52 +02:00
simon lehericey
3f55fddcef feat(routing): ui side: prevent tdc deletion if used for routing 2023-04-13 10:28:52 +02:00
simon lehericey
213d463ff4 feat(routing): small UI polish 2023-04-13 10:28:52 +02:00
Eric Leroy-Terquem
c4d64d9775 feat(routing): add message if no type de champs routable 2023-04-13 10:28:52 +02:00
simon lehericey
80b5f6bc1d feat(champ_component): add errors banner 2023-04-13 10:28:52 +02:00
simon lehericey
362c220587 fix(champ_component): enable preview 2023-04-13 10:28:52 +02:00
simon lehericey
6e255489a5 feat(routing): fix test 2023-04-13 10:28:51 +02:00
Paul Chavard
8d89e2aec6
Merge pull request #8889 from tchak/chore-commune-remove-fallback
chore(dossier): remove fallback from commune champ
2023-04-12 17:33:14 +00:00
krichtof
6ed6f1ae58 add service siret filter in all demarches view 2023-04-12 18:53:57 +02:00
krichtof
78938b5a07 filter demarches by siret service 2023-04-12 18:53:57 +02:00
Lisa Durand
bf8c218d3a Disabled select_all checkbox if all checkboxes are disabled 2023-04-12 16:58:15 +02:00
Lisa Durand
b0df654346 add heading level customization to callout component to fix a11y issue 2023-04-11 16:32:57 +02:00
Lisa Durand
bc3e67ab94 add alert on user dashboard to edit last editable dossier 2023-04-11 15:50:17 +02:00
Eric Leroy-Terquem
eda48567ef fix link for csv example file 2023-04-11 14:36:35 +02:00
Paul Chavard
def32a3615 chore(dossier): remove fallback from commune champ 2023-04-11 10:49:01 +02:00
Colin Darie
54c9690289
Merge pull request #8886 from colinux/fix-delete-admin-without-published-procedure
fix(admin): peut supprimer un admin sans démarche publiée, sans service
2023-04-11 07:17:54 +00:00
Colin Darie
a413d2fa9c fix(admin): can delete an admin without published procedure 2023-04-07 16:10:10 +02:00
Paul Chavard
a6e3ea4839 fix(dossier): normalize champs commune data 2023-04-07 16:02:13 +02:00
Paul Chavard
0d1aa5cf96
Merge pull request #8867 from tchak/feat-graphql-commune-type
feat(graphql): expose commune and departement information on address
2023-04-07 10:35:32 +00:00
Paul Chavard
aaae3f461d feat(graphql): expose commune and departement information on address 2023-04-07 12:13:41 +02:00
Paul Chavard
207ce21327 fix(dossier): instructeur actions should be buttons and not links 2023-04-07 12:12:15 +02:00
Paul Chavard
0b95a912c6
Merge pull request #8858 from tchak/feat-refactor-dossier-link-champ
feat(dossier): use turbo to select linked dossier
2023-04-07 08:49:11 +00:00
Paul Chavard
79fee39888
Merge pull request #8872 from tchak/fix-champ-multiselect
fix(dossier): selecting blank option should not empty selection
2023-04-06 14:32:35 +00:00
Paul Chavard
ffb332159f fix(dossier): selecting blank option should not empty selection 2023-04-06 15:24:52 +02:00
Paul Chavard
a2f7d1df72 fix(graphql): pendingDeletedSince should not crash 2023-04-06 15:07:48 +02:00
Paul Chavard
f9b7859bf7
Merge pull request #8868 from tchak/fix-api-entreprise-adapter
fix(api-entreprise): do not crash when siret not found
2023-04-06 10:00:59 +00:00
Paul Chavard
7ea443f86a
Merge pull request #8860 from demarches-simplifiees/ay11-actions-multiples
[a11y] actions multiples
2023-04-05 16:41:06 +00:00
Paul Chavard
d1d5bc2e67 fix(api-entreprise): do not crash when siret not found 2023-04-05 18:38:13 +02:00
Paul Chavard
6511836f2d
Merge pull request #8865 from tchak/graphql-improuve-logs
feat(graphql): improuve logs
2023-04-05 12:34:36 +00:00
Paul Chavard
a5733002ed feat(graphql): improuve logs 2023-04-05 13:56:26 +02:00
Paul Chavard
b8f639721e
Merge pull request #8864 from colinux/fix-date-not-parseable
fix(date): ne crash pas lorsqu'un champ date n'as pas une date standard
2023-04-05 11:48:48 +00:00
Colin Darie
5e62aa7d21 fix(date): don't crash when date value is not parseable 2023-04-05 12:42:28 +02:00
Paul Chavard
52c8b0b297 feat(dossier): use turbo to select linked dossier 2023-04-05 11:40:03 +02:00
Paul Chavard
dee0952b2a fix(graphql): demandeur personne morale can be in degraded mode 2023-04-05 11:20:18 +02:00
Lisa Durand
058f1fe6e5 add focus on button when select all 2023-04-05 10:59:59 +02:00
Lisa Durand
c9d21f2b4d add dossier id in checkbox aria-label 2023-04-05 10:40:20 +02:00
Lisa Durand
f1c313eb49 add 'scope: col' to table th 2023-04-05 10:13:34 +02:00
Lisa Durand
9065e57e62 add aria-sort on sortable column 2023-04-05 10:05:51 +02:00
Paul Chavard
020f501a02
Merge pull request #8846 from tchak/fix-graphql-accepter
fix(graphql): return better errors when dossiers cannot change state
2023-04-04 15:42:54 +00:00
Paul Chavard
a778e1083b fix(graphql): return better errors when dossiers cannot change state 2023-04-04 17:24:30 +02:00
krichtof
7250c0cca7
Merge pull request #8855 from demarches-simplifiees/8854-manager-zones
WIP [manager] affiche les zones d'une procédure donnée
2023-04-04 14:50:38 +00:00
Christophe Robillard
7d94d321e9 [manager] display zones for a procedure 2023-04-04 16:36:04 +02:00
Martin
75657b5484 correctif(administrateur.merge): la fusion de compte entre admin devrait dissocie les services des procedures supprimées 2023-04-04 16:29:24 +02:00
Lisa Durand
6b1ecde852 add role status 2023-04-04 16:04:00 +02:00
Paul Chavard
2a48228552 fix(dossier): improuve commune champ rendering in pdf 2023-04-04 16:01:16 +02:00
Paul Chavard
ed33f1916a fix(commune): to_s should always return a string 2023-04-04 15:32:03 +02:00
Paul Chavard
12f0c03bac
Merge pull request #8847 from tchak/feat-improuve-dossier-remove
fix(dossier): an invited user can remove (leave) a dossier
2023-04-04 13:10:18 +00:00
Paul Chavard
e2d5834dc2
Update app/models/user.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-04-04 15:02:20 +02:00
Lisa Durand
96740152c8
Merge pull request #8852 from demarches-simplifiees/bug-display-btn-logique-conditionnelle
[bug] Changer couleur de fond pour faire apparaitre bouton conditionnelle sur les sections
2023-04-04 09:10:03 +00:00
Paul Chavard
750be8d735
Merge pull request #8849 from demarches-simplifiees/8589-accessibility-environment
a11y : add mobile environment test to accessibility statement
2023-04-04 08:49:44 +00:00
mfo
2c32e38383
Merge pull request #8851 from demarches-simplifiees/fix_condtion_check_on_children
fix(condition_check_on_children): give proper upper tdc to child cond…
2023-04-04 08:48:02 +00:00
Lisa Durand
b1e9fca9b2 add lighter blue for section type background 2023-04-04 10:36:32 +02:00
simon lehericey
fd927fd116 fix(condition_check_on_children): give proper upper tdc to child condition check 2023-04-04 10:24:11 +02:00
Lisa Durand
dde64415ae
Merge pull request #8845 from demarches-simplifiees/remove-dossiers-termines-from-avis-views
[bug] retirer les notifications + compteur des avis pour les dossiers terminés
2023-04-04 08:20:48 +00:00
Julie Salha
0d9beaa223 add mobile environment test 2023-04-04 08:36:43 +02:00
Paul Chavard
0864666d0a fix(dossier): an invited user can remove (leave) a dossier 2023-04-03 20:10:44 +02:00
Lisa Durand
2f012578eb remove dossier termine from avis views 2023-04-03 18:20:17 +02:00
Paul Chavard
fce78bbf30 feat(dossier): multiselect without react 2023-04-03 16:54:50 +02:00
Paul Chavard
b3f58a24cb fix(dossier): add value_json to dossier projection 2023-04-03 16:25:32 +02:00
Paul Chavard
8945777b56
Merge pull request #8835 from tchak/fix-champ-commune
fix(commune): improuve label and error message
2023-04-03 09:56:57 +00:00
Paul Chavard
b0673c0127
Merge pull request #8837 from demarches-simplifiees/bug-special-character-in-email
[fix] bug dans le sujet des mails de notification si le libelle de la procedure contient un apostrophe
2023-04-03 09:39:13 +00:00
Paul Chavard
ed62d171ce fix(commune): improuve label and error message 2023-04-03 11:24:32 +02:00
mfo
4336184fc8
Merge pull request #8833 from mfo/US/fix-valid-conditions-on-repetition
correctif(revision.validation-des-conditions): les conditions dans un bloc répétable ne remontenpt pas dans le composant ErrorsSummary
2023-03-31 15:03:12 +00:00
Lisa Durand
e1260a3df8 fix wrong encoding of special character in email notification subject 2023-03-31 16:58:41 +02:00
mfo
54d88e7dd0
Merge pull request #8699 from mfo/US/8661
a11y(bloc-repetable): amélioration des interactions avec les répétitions d'un bloc répétable
2023-03-31 14:39:23 +00:00
Martin
a53c32b41e correctif(validation-des-conditions): les conditions dans un bloc repetable identifient les conditions invalident
Update app/models/procedure_revision.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-03-31 16:38:27 +02:00
Martin
035da4403f chore(a11y): mutualise la gestion des <button> qui font des action POST/DESTROY dans un composant unique 2023-03-31 16:15:40 +02:00
LeSim
b003fd8be8
Merge pull request #8774 from E-L-T/add-routing-to-groupe-instructeurs
Add routing rules to groupe instructeurs
2023-03-31 10:16:51 +00:00
Martin
21701a1e37 patch(demarche.lien_demarche): ignore cette colonne pr la supprimer plus tard 2023-03-31 09:57:27 +02:00
Lisa Durand
7351580a65
Merge pull request #8811 from demarches-simplifiees/allow-instructeur-to-delete-pj
ETQ instructeur je veux pouvoir supprimer la pj pendant l'instruction
2023-03-31 07:46:55 +00:00
Martin
d161a624c5 a11y(bloc-repetable): ETQ usager qui navigue au clavier, lorsque je supprime une repetition, le focus revient soit sur le premier champ de la derniere repetition, soit sur le bouton ajouter une repetition [si il y a pas de repetition presente] 2023-03-31 08:51:39 +02:00
Martin
8b6a7689fa a11y(bloc-repetable.repetition): ajoute une repetition via un bouton et non un lien 2023-03-31 08:51:39 +02:00
Martin
92d3f9c192 a11y(bloc-repetable.repetition): supprime une repetition via un bouton et non un lien 2023-03-31 08:51:39 +02:00
Martin
a3f1e1926a a11y(bloc-repetable): ETQ usager qui navigue au clavier, lorsque j'ajoute un champs repetable, le focus vient sur le 1er champs du bloc repetable 2023-03-31 08:51:39 +02:00
Colin Darie
28656a96cd
fix(footer): add missing a11y external link attributes 2023-03-30 23:16:07 +02:00
Colin Darie
ef8906cb88
fix(footer): update maison france service link 2023-03-30 23:16:07 +02:00
Lisa Durand
6a544c210a
Merge pull request #8829 from demarches-simplifiees/fix-small-details-on-expert-views
[Fix] Petites améliorations de la vue expert
2023-03-30 16:23:00 +00:00
Lisa Durand
8f0861fba0 fix linter 2023-03-30 17:41:21 +02:00
Lisa Durand
ada417991a fix fil d'ariane in expert header 2023-03-30 17:23:42 +02:00
Colin Darie
0c3cc31fcd feat(manager): add id column to use it as replacement for created_at sorts 2023-03-30 15:45:03 +02:00
Colin Darie
e60c92957d
fix(manager): don't break DS by sorting Dossier by created_at 2023-03-30 15:41:07 +02:00
Colin Darie
294725ae67
Merge pull request #8826 from colinux/fix-explanation-collapse
Fix champ explication: cache le texte qui doit être caché
2023-03-30 11:22:14 +00:00
Colin Darie
e36dc19cc4 fix(explication): render collapsible text into collapse element 2023-03-30 12:46:31 +02:00
simon lehericey
41cb62b5c7 add full system spec 2023-03-30 12:31:48 +02:00
Paul Chavard
c909e0ad16
Merge pull request #8823 from tchak/chore-update-dependencies
chore(npm): update dependencies
2023-03-30 09:25:02 +00:00
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