Commit graph

10982 commits

Author SHA1 Message Date
Martin
dd31dbc450 correctif(mail_templates/_form.html.haml): force la preservation des espaces dans le code des balises, sinon un tag d'un type de champ ayant un libelle contenant deux espaces consécutif est invalide car il se fait manger par le rendu html 2023-11-16 10:31:35 +01:00
Eric Leroy-Terquem
f945c02c3c feat(conditional): add exclude operator 2023-11-16 10:27:03 +01:00
Lisa Durand
31cb62e27d improve dark mode for admin user 2023-11-15 19:09:11 +01:00
Lisa Durand
373379d132 remove icon from admin dashboard and use badge - Figma 2023-11-15 19:08:56 +01:00
Lisa Durand
9af2304019 remove hard coded color for dossier subheader 2023-11-15 18:43:20 +01:00
Lisa Durand
d601f92be8 add links in footer and page profil and modal to choose scheme 2023-11-15 18:43:20 +01:00
Colin Darie
cbec8b8b75 chore(assets): setup dsfr artwork 2023-11-15 18:43:17 +01:00
Lisa Durand
d403f851c6 fix specs with good aria attributes for tabs 2023-11-15 18:42:40 +01:00
Lisa Durand
75867df013 fix linter with correct indentation 2023-11-15 18:42:40 +01:00
Lisa Durand
cf31815890 change rgb color by var from DSFR 2023-11-15 18:42:40 +01:00
Lisa Durand
7c7f9113d2 improve css dark mode for combobox 2023-11-15 18:42:40 +01:00
Lisa Durand
84cd5daf9c add css to make dropdown readable with dark mode 2023-11-15 18:42:40 +01:00
Lisa Durand
86c9a84111 fix dark mode on login pages 2023-11-15 18:42:40 +01:00
Lisa Durand
a3307553b7 simplify html and css for landing pages and improve dark mode 2023-11-15 18:42:40 +01:00
Lisa Durand
f4283392b7 improve table and messagerie display in dark mode 2023-11-15 18:42:40 +01:00
Lisa Durand
11c8e408ef remove specific tabs css and use DSFR tabs 2023-11-15 18:42:40 +01:00
Lisa Durand
a0998ab709 import dark mode from DSFR and setup as system 2023-11-15 18:42:40 +01:00
Christophe Robillard
a2f5687aa3 migrate api entreprise privileges 2023-11-15 17:19:53 +01:00
Martin
101fbb1610 amelelioration(API): ajoute l'enseigne aux personnes morales 2023-11-15 15:58:29 +01:00
simon lehericey
200cdbd4ef fix types 2023-11-15 15:42:24 +01:00
simon lehericey
9fc6c3b641 attestation_template v2 : add feature flag 2023-11-15 15:24:46 +01:00
simon lehericey
791954af1b attestation_template v2: add weasyprint integration 2023-11-15 15:24:46 +01:00
simon lehericey
e4a48f1270 tiptap service handle empty attestation 2023-11-15 15:24:46 +01:00
simon lehericey
af53a9b9db attestation_template v2: edit / update 2023-11-15 15:24:46 +01:00
simon lehericey
f6001c8eae attestation_template v2: show 2023-11-15 12:17:26 +01:00
Paul Chavard
8aab0cdfed
Merge pull request #9707 from demarches-simplifiees/remove-routing-feature-flags
Tech : supprime des features flags liés au routage
2023-11-15 09:23:00 +00:00
Paul Chavard
2b6cd5068b
Merge pull request #9697 from tchak/fix-repasser_en_instruction-email
fix(dossier): use traitements to send repasser_en_instruction template
2023-11-15 09:22:40 +00:00
Eric Leroy-Terquem
22eadafe07 fix(condition): make condition work with decimal 2023-11-15 09:53:02 +01:00
Paul Chavard
508602fd4a fix(dossier): use traitements to send repasser_en_instruction template 2023-11-14 23:59:45 +01:00
Paul Chavard
a2ed35d44e spec(dossier): improuve dossier with state factories 2023-11-14 23:59:45 +01:00
Eric Leroy-Terquem
6ad0547a72 chore(feature flag): remove multi line routing flag 2023-11-14 17:06:05 +01:00
Eric Leroy-Terquem
77e589d307 chore(feature flag): remove rerouting flag 2023-11-14 17:04:35 +01:00
Colin Darie
da6e5fcd9c
Merge pull request #9700 from mfo/US/fix-invite-modal
correctif(dossiers): ETQ usager, le menu d'invitation etait cassé sur mobile
2023-11-14 10:17:40 +00:00
Martin
80f2771c05 correctif(filtres): utilise la derniere version du type de champs de sorte a avoir les bons types 2023-11-14 09:46:29 +01:00
mfo
7fca13d02c
Merge pull request #9696 from colinux/procedure-visible-by-user-faster
Perf: accélération du chargement des dossiers visibles
2023-11-14 08:22:31 +00:00
Martin
c1a4f7d81d correctif(dossiers): ETQ usager, le menu d'invitation etait cassé sur mobile 2023-11-14 09:22:07 +01:00
Martin
d3d195c566 amelioration(combobox): ETQ usager, les combobox de DS se comportent comme un <select> 2023-11-13 14:43:26 +01:00
Martin
4daeed68f3 correctif(combobox): problème de z-index et de fond sur les combobox en mobile
Co-authored-by: Colin Darie <colin@darie.eu>
2023-11-13 11:55:19 +01:00
Colin Darie
fb318620aa
Merge pull request #9692 from colinux/fix-deprecation-warnings
Tech: fix multiple deprecation warnings
2023-11-13 10:16:06 +00:00
Colin Darie
d0b8176081 chore(procedure): faster procedure closing 2023-11-10 15:53:29 +01:00
Colin Darie
154a993794 chore(perf): improve perf of Dossier#visible_by_user up to 32% 2023-11-10 15:51:24 +01:00
Colin Darie
25dfbe5085
chore: fix ActiveStorage::Current.host deprecation warning 2023-11-10 14:20:01 +01:00
Colin Darie
8326cf080e
fix: typo in method name extention => extension 2023-11-10 14:20:00 +01:00
Colin Darie
148611d595
fix(dossier): rails 7 deprecation warning about sum of non numeric values 2023-11-10 14:19:59 +01:00
Colin Darie
867568f289 fix(style): select of admin limit text characters 2023-11-10 14:09:18 +01:00
mfo
49d6373330
Merge pull request #9691 from mfo/US/fix-multiple-attachement-not-enabled
correctif(pjs.upload.multiple): ETQ usager, lorsqu'une demarche n'a pas activé les PJ multiples, je ne dois pas pouvoir uploader plus d'une pj
2023-11-10 12:38:17 +00:00
Martin
8c9656f7db correctif(pjs.upload.multiple): ETQ usager, lorsqu'une demarche n'a pas activé les PJ multiples, je ne dois pas pouvoir uploader plus d'une pj 2023-11-10 12:02:52 +01:00
mfo
e70c49d47b
Merge pull request #9689 from mfo/US/fix-not-normalized-champs-commune
correctif(Champs::CommuneChamp): il restait des champs commune a normaliser
2023-11-10 09:55:11 +00:00
Martin
2d4701ac61 correctif(Champs::CommuneChamp): il restait des champs commune a normaliser 2023-11-10 10:42:42 +01:00
Kara Diaby
fa874a0ea3 Permet de configurer le mail de réexamen du dossier par l'administrateur 2023-11-10 08:54:27 +00:00
Kara Diaby
7926948c0d Ajoute l'email de repassage en instruction dans la messagerie du dossier 2023-11-10 08:44:48 +00:00
simon lehericey
167060ea14 add dummy sidekiq job 2023-11-09 16:57:10 +01:00
simon lehericey
c32fa93689 add sidekiq UI 2023-11-09 16:57:10 +01:00
mfo
b61fa88fe0
Merge pull request #9621 from mfo/US/type-de-champs-ej
amelioration(chorus): ETQ admin, je peux ajouter un type de champ EngagementJuridique
2023-11-09 14:40:49 +00:00
mfo
87c3615774 review(tech): utilise un code unique pr les elements de l'autocomplete, corrections de typos, amelioration du code
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-11-09 11:10:17 +01:00
Martin
c7d5bf8dc7 amelioration(export.chorus): integre le cadre budgetaire en pus des champs ej 2023-11-09 10:09:51 +01:00
Martin
362b072c6c amelioration(chorus): flip sur le type de champ engagement_juridique afin d'activer la tuile et le type de champs avec un seul flag 2023-11-09 10:09:50 +01:00
Martin
0428853f4d amelioration(Champs::EngagementJuridiqueChamp): valide le format 2023-11-09 10:09:14 +01:00
Martin
d2657d83ac amelioration(chorus.update): oriente l'admin a remplir tous les champs du cadre budgetaire. une fois le cadre budgetaire renseigné, oriente l'admin a ajouter un champ EJ 2023-11-09 10:09:14 +01:00
Martin
395f2d9b04 amelioration(chorus.edit): ajoute un Dsfr::Callout pour documenter l'intention de la fonctionnalité aupres des des administrateurs 2023-11-09 10:09:14 +01:00
Martin
39abf283d9 tech(amelioration.chorus_configuration): deplace les methodes liées au rendu du model ChorusConfiguration dans le ChorusFormComponent 2023-11-09 10:09:14 +01:00
Martin
a6cf22edb8 amelioration(types_de_champ_editor/champ_component): isole le type de champs Ej aux annotation privée 2023-11-09 10:09:14 +01:00
Martin
13624f0f7e add type de champs ej bin/rails generate add_champ EngagementJuridique 2023-11-09 10:09:13 +01:00
Colin Darie
7a4456efeb
Merge pull request #9638 from colinux/poc-release-notes
ETQ super-admin je peux informer les administrateurs, instructeurs et experts des évolutions du site
2023-11-09 09:00:01 +00:00
Colin Darie
178458215c
chore(announces): main navigation across announces 2023-11-08 18:23:18 +01:00
Colin Darie
e49436aa5d
feat(announce): can destroy a note and add at the same date 2023-11-08 18:23:16 +01:00
Colin Darie
5df6997fa3
feat(announces): link from manager 2023-11-08 18:23:15 +01:00
Colin Darie
ad671092c0
refactor(announces): note form as view component 2023-11-08 18:23:07 +01:00
Colin Darie
8587696f33
feat(components): make works rich_text_area inputs 2023-11-08 18:22:15 +01:00
Colin Darie
e4c37758d4
feat(announces): anyone can read announces 2023-11-08 18:22:14 +01:00
Colin Darie
ff8ed6016e
feat(announce): super admin can create announce 2023-11-08 18:22:11 +01:00
Colin Darie
0d626f1811
chore(schema): create release_notes 2023-11-08 18:20:00 +01:00
simon lehericey
8c0d2bb8cb refactor: add request_logs methods
it avoids having to change lograge.rb for adding an entry
2023-11-08 17:49:09 +01:00
simon lehericey
52752c95ec tech: add api_token_id to graphql logs 2023-11-08 16:50:10 +01:00
simon lehericey
a431287db0 chore: @current_user is set by authenticate_from_token 2023-11-08 16:50:09 +01:00
simon lehericey
daf1443b0c chore: remove duplicated private 2023-11-08 16:50:09 +01:00
krichtof
a6ea607e7a
Merge pull request #9566 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_children_management
Feature ouidou/admin creation delegation gestionnaire page children management
2023-11-08 15:13:10 +00:00
seb-by-ouidou
7a3a022ed4 feat: replace fail by flast alert 2023-11-08 13:54:40 +00:00
seb-by-ouidou
a14d77cbd3 fix: remove useless comments 2023-11-08 13:50:18 +00:00
Paul Chavard
8d23152630
Merge pull request #9680 from colinux/stats-layout
Super-Admin: fix layout des gros nombres de la page stats
2023-11-08 12:09:11 +00:00
Lisa Durand
ac834b0c0a add confirmation page after publishing procedure for admin 2023-11-08 12:07:32 +01:00
Paul Chavard
a611852ebc
Merge pull request #9663 from tchak/legacy-browsers
feat(traitement): add browser information
2023-11-08 10:23:31 +00:00
Colin Darie
7a0bdd6c94 style(stats): fix big number layout 2023-11-08 10:39:03 +01:00
Eric Leroy-Terquem
0968f02a26
Merge pull request #9648 from demarches-simplifiees/add-rnf-service
Ajout d'un nouveau référentiel : le Répertoire National des Fondations (RNF)
2023-11-08 09:06:47 +00:00
Eric Leroy-Terquem
f7eeb21425
Merge pull request #9604 from demarches-simplifiees/etq-admin-je-peux-creer-une-regle-de-routage-de-plusieurs-lignes
ETQ admin je peux créer une règle de routage de plusieurs lignes
2023-11-08 08:28:34 +00:00
Paul Chavard
d93c624164 feat(traitement): add browser information 2023-11-08 00:09:38 +01:00
Paul Chavard
34a76d8afd feat(dossier): commune champ is an autocomplete now 2023-11-07 20:58:39 +01:00
Paul Chavard
b92ccc0a09 chore(adresse): improuve adresse data source 2023-11-07 20:58:39 +01:00
Paul Chavard
f0168d1470 feat(combobox): add data:string slot 2023-11-07 20:58:39 +01:00
Paul Chavard
6ce2b33519 feat(graphql): expose prefilled flag on dossier and champ 2023-11-07 19:00:32 +01:00
Eric Leroy-Terquem
94c218e2f7 wording(type de champ): add full wording for rna and rnf 2023-11-07 14:21:29 +01:00
Lisa Durand
ce1cd4240c add code postal, city code and department infos in view 2023-11-07 14:21:29 +01:00
Eric Leroy-Terquem
a70e7ca903 feat(graphql): add rnf_champ to graphql api 2023-11-07 14:21:29 +01:00
Eric Leroy-Terquem
bfb8611c81 feat(rnf): display rnf data in show 2023-11-07 14:21:29 +01:00
Eric Leroy-Terquem
694cbcd0a2 feat(rnf): add rnf type_de_champ 2023-11-07 14:21:28 +01:00
Eric Leroy-Terquem
0268b0af9e chore(champ): update error catching when fetching external data 2023-11-07 14:21:28 +01:00
Paul Chavard
198860d9f3 fix(dropdown_multiple): options -> enabled_non_empty_options 2023-11-07 13:55:16 +01:00
Colin Darie
21b6479ace feat(messages): re-enable simple autolink for instructeurs messages
Closes #9541
2023-11-06 19:01:25 +01:00
Eric Leroy-Terquem
2465e13504 chore(logic): add a translation for empty rule 2023-11-06 18:10:08 +01:00
Eric Leroy-Terquem
6c959d9d4e refactor(groupe instructeur): use logic validation system for routing
rule"
2023-11-06 17:44:40 +01:00
Eric Leroy-Terquem
cd9cc65e99 feat(routing): add a feature flag on multi line routing 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
469a50f19d refactor(condition): move conditions_error_component 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
cf80fd03e1 chore(routing): update routing_rule validations 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
22feb48c29 chore(conditions): update views 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
28b07f7650 chore(conditions): update condition_form 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
4d95f49c82 chore(conditions): update controllers and routes 2023-11-06 15:25:45 +01:00
Eric Leroy-Terquem
979b5101ae chore(conditions): champs_conditions_component and routing_rules_component inherit from conditions_component 2023-11-06 15:25:45 +01:00
Lisa Durand
baaf4e3517
Merge pull request #9653 from demarches-simplifiees/fix-close-procedure-page
[Fix] ETQ admin, je souhaite associer une démarche existante depuis le bouton "clore" du tableau de bord de la démarche
2023-11-06 13:13:33 +00:00
Lisa Durand
be8303f1c4 feedback review - remove unused class and simplify method 2023-11-06 11:22:09 +01:00
Paul Chavard
026885ebcf feat(conditional): annotations can be conditioned by champs 2023-11-03 10:45:07 +00:00
Paul Chavard
532fe466df refactor(conditional): use upper_coordinates method 2023-11-03 10:15:46 +00:00
Paul Chavard
99e22a8cbe log(graphql): log deprecated order argument usage 2023-11-02 15:01:34 +00:00
Colin Darie
a26c82cde7
Merge pull request #9661 from colinux/admin-no-rib-alert
ETQ administrateur je n'ai plus d'avertissement si ma démarche contient un champ RIB
2023-11-02 14:27:37 +00:00
Colin Darie
74722490bc fix(admin): RIB champ is not a forbidden keyword 2023-11-02 11:27:34 +01:00
mfo
17a71eb7a8
Merge pull request #9659 from mfo/US/enhance-export-page-for-less-zip-support
amelioration(export): suggère l'usage de 7zip et de renommer l'archive pour un nommage plus court sur la page des exports afin d'eviter les problèmes au support
2023-11-02 08:57:26 +00:00
Martin
dda5dadaed amelioration(export): suggère l'usage de 7zip et de renommer l'archive pour un nommage plus court sur la page des exports afin d'eviter les problèmes au support
Co-authored-by: Colin Darie <colin@darie.eu>
2023-11-02 09:08:17 +01:00
Paul Chavard
869d83dda9 feat(dossier): validate on change and revalidate on input 2023-10-31 17:52:00 +00:00
Paul Chavard
c93141d8bb chore(coldwired): update utils 2023-10-31 17:52:00 +00:00
mfo
0f608444b5
Merge pull request #9657 from mfo/US/ops-dossier-champs-missing
tech(maintenance): ajoute `maintenance_task` une  pour ajouter des champs manquant a un dossier
2023-10-31 16:31:11 +00:00
mfo
0e2d973b33
Merge pull request #9656 from mfo/US/fix-non-printable-char-in-pdf
correctif(pdf): ETQ instructeur, lorsque je télécharge un dossier et ses PJs, les \t deviennent des ?
2023-10-31 16:30:32 +00:00
Martin
25a4a4de4a correctif(pdf): ETQ instructeur, lorsque je télécharge un dossier et ses PJs, les \t deviennent des ?
Co-authored-by: colin@darie.eu
2023-10-31 17:05:14 +01:00
Martin
b83975869c tech(maintenance): ajoute une maintenance_task pour ajouter des champs manquant a un dossier 2023-10-31 16:42:35 +01:00
Paul Chavard
f6c051e08e
Merge pull request #9654 from colinux/improve-autocomplete-style
Usager: légères harmonisations visuelles de la combobox
2023-10-30 17:47:24 +00:00
Lisa Durand
1de9130ab5 fix not displaying select on page close procedure and make the 2 buttons redirect to this page 2023-10-30 15:02:26 +01:00
Colin Darie
04d40ede43 style(combobox): fix height of fake input/select 2023-10-30 11:34:38 +01:00
Colin Darie
bade4edcc7 style(combobox): fix spacing between label/hint & input 2023-10-30 11:20:04 +01:00
Colin Darie
c4272e3bac
fix(dropdown-other): other input alignement/markup 2023-10-30 11:05:27 +01:00
krichtof
0daeca14e4
Merge pull request #9649 from demarches-simplifiees/9642-filter-dept
En tant qu'admin, je peux filtrer les démarches par département
2023-10-30 09:14:41 +00:00
Paul Chavard
d76123831c fix(drop_down_list): fix other option with combobox and some cleanup 2023-10-27 18:11:26 +02:00
krichtof
62d2522300
display departement name filter, not only code
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-27 17:27:50 +02:00
krichtof
4a698f8264
Merge pull request #9616 from demarches-simplifiees/9525-remove-admin-from-manager
ETQ superadmin, je peux supprimer un admin depuis le manager
2023-10-27 12:21:23 +00:00
Christophe Robillard
ef4113f8f9 filter all demarches by departement 2023-10-27 14:15:03 +02:00
Colin Darie
19ffb43686 fix(security): don't automatically sign in after reset password when 2FA is enabled 2023-10-27 11:39:33 +02:00
Christophe Robillard
97ff31f60f update departement after getting etablissement_infos 2023-10-27 10:00:52 +02:00
krichtof
7da2e2f073
Merge pull request #9647 from demarches-simplifiees/9642-add-dept-services
tech: ajoute le departement aux services
2023-10-26 15:17:01 +00:00
seb-by-ouidou
528c51cb5e feat: US4.3.9 children management 2023-10-26 10:46:18 +00:00
Paul Chavard
9ea59814ad
Merge pull request #9646 from tchak/graphql-fix-pagination-preloader
fix(graphql): fix preloader with pagination
2023-10-26 09:54:36 +00:00
Paul Chavard
bd5356c9b6
Merge pull request #9565 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_group_gestionnaire_management
Feature ouidou/admin creation delegation gestionnaire page group gestionnaire management
2023-10-26 09:51:44 +00:00
Paul Chavard
fbf2cfae50 fix(graphql): fix preloader with pagination 2023-10-26 11:43:19 +02:00
Christophe Robillard
4130529854 backfill departement services 2023-10-26 11:36:58 +02:00
Christophe Robillard
42d3052c4f convert code_insee to departement 2023-10-26 11:34:55 +02:00
Paul Chavard
33f5a553b6 fix(graphql): fix pagination with order desc 2023-10-26 10:52:18 +02:00
mfo
9866acc0f8
Merge pull request #9624 from mfo/US/dossier.export.pdf
amelioration(dossier.pdf): pour les champs de type Champs::AddressChamp, ajoute le code insee de la commune sous l'adresse complete
2023-10-26 06:34:30 +00:00
krichtof
1974e35a66
Merge pull request #9636 from demarches-simplifiees/9530-remove-piece-jointe
can reset file input in messagerie
2023-10-25 10:24:43 +00:00
Paul Chavard
c60494c975 refactor to use event delegation 2023-10-25 12:04:12 +02:00
mfo
b9b9569852
Merge pull request #9639 from mfo/US/fix-missing-autosave-end-for-file-upload
correctif(upload): ETQ usager, lorsque j'upload un fichier, ca bloquele bouton pour deposer un dossier
2023-10-25 09:02:11 +00:00
Martin
cf8fb9195e correctif(upload): ETQ usager, lorsque j'upload un fichier, ca bloque le bouton pour deposer un dossier 2023-10-25 10:46:15 +02:00
Christophe Robillard
00e3d33ba4 can reset file input in messagerie 2023-10-25 09:52:49 +02:00
mfo
53259b733b
Merge pull request #9626 from tchak/tiptap_service
feat(attestation): add tiptap json to html converter
2023-10-25 07:24:32 +00:00
Martin
2295d64300 amelioration(dossier.pdf): pour les champs de type Champs::AddressChamp, ajoute le code insee de la commune sous l'adresse complete, ajoute le code postal, ajoute le departemenent et son code. Pour les champs de type Champs::CommuneChamp ajoute le code postal de la commune 2023-10-25 09:22:35 +02:00
mfo
ebea269f79
Merge pull request #9420 from mfo/US/chorus-tile
amelioration(tuile.chorus): ETQ admin, je peux saisir le cadre budgetaire d'une demarche de subvention pour faciliter le rapprochement d'un export DS a un export Chorus
2023-10-24 12:57:26 +00:00
Colin Darie
5d3d4cbd91
Merge pull request #9634 from colinux/fix-regex-timeout
Sécurité (champ regex): timeout plus agressif à 1 seconde
2023-10-24 12:37:58 +00:00
Martin
79b5b25720 correctif(procedure.edit): le fixed-footer venait en sur-elevation des options avancées la ou il etait présent 2023-10-24 13:35:08 +02:00
Colin Darie
d87c7ca424 fix(scss): fix remaining comma which leads to invalid css 2023-10-24 12:54:39 +02:00
Colin Darie
7aa0c7d0e8 style(champ regex): shows delimiter as hint: they don't have to be filled 2023-10-24 12:53:43 +02:00
Colin Darie
f4e3d2137b fix(champ regex): same timeout across validations, and more agressive value 2023-10-24 10:30:12 +02:00
Paul Chavard
d01cc76970 fix(decimal_champ): only remove dots if coma also present 2023-10-23 16:46:07 +02:00
mfo
81ccc8ace2
Merge pull request #9630 from tchak/fix-champ-address
fix(address): champ address should allow custom values
2023-10-23 13:23:59 +00:00
Paul Chavard
045b4942d9 fix(epci): do not show let select departements with no epci 2023-10-23 12:41:24 +02:00
Paul Chavard
cf3249dba5 fix(address): champ address should allow custom values 2023-10-23 12:35:19 +02:00
Lisa Durand
a6842e8484
Merge pull request #9603 from demarches-simplifiees/design-admin-form-move-button-to-sticky-footer
[admin] Rendre les boutons d'actions de la page "création du formulaire" et "annotations" plus visibles
2023-10-23 09:13:47 +00:00
Paul Chavard
09ce6ee1c8 feat(attestation): add tiptap json to html converter 2023-10-21 12:08:12 +02:00
Kara Diaby
60fcb51533 affiche le message d'erreur entré par l'administrateur 2023-10-20 08:59:12 +00:00
mfo
0922e0987a review(maj): strip la valeur recherché sur les api chorus avant de le soumettre à l'API, et quelques maj de style
Co-authored-by: Colin Darie <colin@darie.eu>
2023-10-20 07:07:53 +02:00
Kara Diaby
3c172e1115 Supprime du code mort 2023-10-19 23:21:54 +00:00
Paul Chavard
9ad2c4358a
Merge pull request #9584 from tchak/maintenance_tasks
use maintenance tasks gem
2023-10-19 16:07:17 +00:00
krichtof
7ae66d0360
Merge pull request #9613 from demarches-simplifiees/8742-effectifs
tech: utilise l'api entreprise v3 pour récupérer les effectifs mensuels et annuels
2023-10-19 14:46:10 +00:00
Paul Chavard
03dd6218f8 fix(editor): always render add champ button 2023-10-19 15:43:35 +02:00
mfo
8a4299ade1
Merge pull request #9610 from mfo/US/fix-missing-champs
correctif(data): tâche rake recréant les champs manquant à un dossier ayant subi une perte de données
2023-10-19 09:49:35 +00:00
Martin
ec2e03f24e amelioration(data_fixer/dossier_champs_missing): ajoute du log 2023-10-19 11:37:51 +02:00
Martin
70c54808fa amelioration(datafixer.DossierChampsMissing): prends aussi en compte les champs manquant dans une repetition 2023-10-19 11:25:10 +02:00
Colin Darie
befb875318
Merge pull request #9618 from tchak/fix-search-deleted-dossiers
fix(search): show a message if searching for deleted dossier
2023-10-19 08:37:06 +00:00
Martin
a4ef3cdf23 tech(ActiveModel.types.json): renomme en simple_json pour eviter la confusion avec ActiveRecord.types.json 2023-10-19 09:30:52 +02:00
Martin
ffdd7ee95d tech(APIBretagneService.clean): l'API de data.bretagne renvoie un vide quand il n'y a pas de resultat, change l'implem pour ce cas 2023-10-19 09:30:52 +02:00
Christophe Robillard
1869d6b910 bugfix: have to repeatedly press confirm button when removing accounts 2023-10-19 09:14:44 +02:00
Christophe Robillard
0b7d4452fd remove admin from manager 2023-10-19 09:14:44 +02:00
Martin
3495147045 tech(APIBretagneService.clean): renvoie un tableau vide tant que la recherche ne fait pas plus de 2 caractères 2023-10-19 08:47:48 +02:00
Martin
857c1f0c21 amelioration(ChorusComponent): ameliore le rendu de la tuile si celle ci n'est que partiellement rempli 2023-10-19 07:31:14 +02:00
Martin
9c2e8d266c fixup! amelioration(procedure.chorus): ajoute la tuile chorus quand cette fonction est active sur la procedure 2023-10-19 07:14:27 +02:00
Martin
ecb3909e99 chorus(autocomplete): autocomplete sur le centre de cout, domaine fonctionnel, referentiel de programmation 2023-10-19 07:14:27 +02:00
Martin
df78e14469 amelioration(procedure.chorus): ajoute le service pour requeter les api chorus fournies par la bretagne 2023-10-19 07:14:27 +02:00
Martin
87f435d2d3 amelioration(procedure.chorus): ajoute le form component pour le 'crud' du ChorusConfiguration 2023-10-19 07:14:27 +02:00
Martin
fea0cb1c60 amelioration(procedure.chorus): connecte la tuile a un controller basique ayant les ACL 2023-10-19 07:14:27 +02:00
Martin
7d7a741a1a amelioration(procedure.chorus): ajoute la tuile chorus quand cette fonction est active sur la procedure 2023-10-19 07:14:27 +02:00
Martin
758b739aa3 amelioration(procedure.chorus): ajoute le feature flag chorus aux procedure pour activer/desactiver cette nouvelle feature 2023-10-19 07:14:27 +02:00
mfo
5ad724a4cb
Merge pull request #9617 from mfo/US/move_low_priority_email_in_low_priority_queue
amelioration(email): passe les jobs non prioritaire [appelons ça des bulk email], dans la queue de low_priority
2023-10-19 03:25:57 +00:00
Martin
b69d4baaa2 amelioration(email): passe les jobs non prioritaire [appelons ça des bulk email], dans la queue de low_priority 2023-10-18 17:08:43 +02:00
Eric Leroy-Terquem
dac7292618
Merge pull request #9614 from demarches-simplifiees/add-communes-epci-and-regions-to-conditional
ETQ admin je peux conditionner sur les champs communes, EPCI et région
2023-10-18 12:18:12 +00:00
simon lehericey
071167da96 remove methods 2023-10-18 13:01:07 +02:00
simon lehericey
6a02e670aa use new methods 2023-10-18 13:01:07 +02:00
simon lehericey
b37f2c6825 add next_page? 2023-10-18 13:01:07 +02:00
simon lehericey
137c19cce8 add previous_page? 2023-10-18 13:01:07 +02:00
simon lehericey
17aab9c891 add limit_and_inverted method 2023-10-18 13:01:07 +02:00
simon lehericey
ce5cd63ed2 comment 2023-10-18 13:01:07 +02:00
simon lehericey
1bb4d3cf17 remove useless assignment 2023-10-18 13:01:07 +02:00
simon lehericey
dbe67aaf18 default_page <= max_page_size 2023-10-18 13:01:07 +02:00
simon lehericey
c5899f2c46 extract limit and expected_size 2023-10-18 13:01:07 +02:00
simon lehericey
311c9215cd extract ensure_valid_params 2023-10-18 13:01:07 +02:00
simon lehericey
0dd68ab73d add comments 2023-10-18 13:01:07 +02:00
Paul Chavard
71d5470100 fix(graphql): implement real cursor pagination 2023-10-18 13:01:07 +02:00
Paul Chavard
29980ab130 fix(search): show a message if searching for deleted dossier 2023-10-18 12:55:10 +02:00
Lisa Durand
5a11ef783a change wording for button 'continue' 2023-10-18 10:36:39 +02:00
Paul Chavard
563c47c88c
Merge pull request #9600 from tchak/update-browsers
chore(browser): show browser outdated message to more (very) old browsers
2023-10-18 08:03:44 +00:00
seb-by-ouidou
3c5e76e705 feat: US4.3 update and delete groupe gestionnaire 2023-10-18 09:51:04 +02:00
Christophe Robillard
d98c4faf94 explain more precisely effectifs 2023-10-17 13:48:46 +02:00
Christophe Robillard
0f1e243b01 use api entreprise v3 for effectifs annuels 2023-10-17 13:48:46 +02:00
Christophe Robillard
e5d0d7dda2 get most fresh info for effectifs mensuels 2023-10-17 13:48:46 +02:00
Christophe Robillard
81f78c62b4 use api entreprise v3 for effectifs mensuels 2023-10-17 13:48:46 +02:00
Eric Leroy-Terquem
ab0bb456bc feat(conditional): can condition on commune champ value 2023-10-17 11:51:45 +02:00
Eric Leroy-Terquem
422a22e14b feat(conditional): can condition on epci champ value 2023-10-17 11:51:45 +02:00
Eric Leroy-Terquem
90524cb541 feat(conditional): can condition on region champ value 2023-10-17 11:51:45 +02:00
Kara Diaby
870efba29b
Merge pull request #9535 from demarches-simplifiees/feat/9411
ETQ administrateur, je veux pouvoir valider des champs avec des règles simples (Regexp)
2023-10-17 09:11:32 +00:00
Lisa Durand
f8c6080292
Merge pull request #9597 from demarches-simplifiees/display-rna-info-for-user-ldu
[amélioration] Affichage de plus d'info RNA coté usager + amélioration affichage coté instructeur/usager
2023-10-17 08:35:52 +00:00
Martin
95bdcc986e refactor(renomme): deplace le phone_fixer.rb dans un repertoire dedié aux fix de data en prod 2023-10-16 17:25:06 +02:00
Martin
8069c5bb7c correctif(data): ajoute une classe pour ajouter les champs manquant a des dossiers qui ont subit une perte de donnée supposant qu'une race-condition sur le dossier.merge(fork) puisse detruire des champs 2023-10-16 17:18:10 +02:00
Paul Chavard
c72c7bc957
Merge pull request #9607 from tchak/fix-decimal-number-input
fix(dossier): remove extra input event on page load
2023-10-16 15:02:31 +00:00
Lisa Durand
75c155c284 fix displaying add field button with turbo 2023-10-16 17:02:24 +02:00
Paul Chavard
63303e51f8 fix(dossier): improuve decimal field formatting 2023-10-16 16:50:07 +02:00
Martin
86b44cd0a4 iamelioration(champ.expression_reguliere): empeche le rebase lorsqu'il y a un changement sur un type de champ expression reguliere.
Plus quelques adaptation de style cf: pas besoin d'executer la validation du champs expression reguliere dans controller, le validateur le fait sur le champ au moment de sauver le dossier avec le bon context
2023-10-16 11:52:05 +00:00
Paul Chavard
2286759b5f fix(api_client): fix some edge cases 2023-10-16 13:36:06 +02:00
Martin
30bc4aa5d3 amelioration(champ.expression_reguliere): pas besoin d'executer la validation du champs expression reguliere dans controller, le validateur le fait sur le champ au moment de sauver le dossier avec le bon context 2023-10-16 08:53:52 +00:00
Kara Diaby
1d66b47300 Prend en charge les révisions sur les démarches 2023-10-16 08:53:52 +00:00
Kara Diaby
5b08f54665 Ajoute les changements à l'API 2023-10-16 08:53:52 +00:00
Kara Diaby
4145f25210 Ajoute le feature flag sur le nouveau champ expression reguliere 2023-10-16 08:53:52 +00:00
Kara Diaby
a26df43577 User : Ajoute le type de champ Expression régulière coté utilisateur 2023-10-16 08:53:52 +00:00
Kara Diaby
c22e36c35c Si l'exemple ne passe pas la regexp, la publication de la démarche est imopssible 2023-10-16 08:53:52 +00:00
Kara Diaby
9bf1c65dec Procedure Revision and tests 2023-10-16 08:53:52 +00:00
Kara Diaby
3b5bbb0779 Add new type de champ expression_reguliere with tests 2023-10-16 08:53:52 +00:00
Eric Leroy-Terquem
dbb68f29da
Merge pull request #9602 from demarches-simplifiees/fix-invalid-phones
Correction : tâche Rake pour corriger les numéros de téléphone invalides
2023-10-16 07:22:22 +00:00
Paul Chavard
89582d2e09 feat(dossier): use new combobox on champ adresse 2023-10-12 20:18:08 +02:00
Paul Chavard
ae450a2d2b feat(combobox): add a setting to load options from an API 2023-10-12 20:18:08 +02:00
Eric Leroy-Terquem
a960395edb fix(db): add phone fixer 2023-10-12 16:47:05 +02:00
Lisa Durand
2c73aa64a2 remove button from header for champs and annotations views & harmonize footer 2023-10-12 16:04:58 +02:00
Paul Chavard
8b23f2a555 chore(browser): reduce browser support scope 2023-10-12 15:28:07 +02:00
seb-by-ouidou
0fdbfbd0b8 feat: add env var CERTIGNA_ENABLED to disable certigna if not used 2023-10-12 15:03:53 +02:00
Lisa Durand
5e8d59244e
Merge pull request #9560 from demarches-simplifiees/instructeur-filter-display-select-for-multiple-field
ETQ instructeur si j'utilise un filtre de type choix, les valeurs possibles s'affichent dans un select
2023-10-12 07:51:04 +00:00
Lisa Durand
da8a887083 fix commit suggestions from GH 2023-10-11 17:48:20 +02:00
Lisa Durand
3c2d913a44
Update app/models/type_de_champ.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-11 17:12:23 +02:00
Lisa Durand
d1d2f30833
Update app/models/type_de_champ.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-11 17:12:05 +02:00
Lisa Durand
6380859668
Update app/models/type_de_champ.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-10-11 17:11:44 +02:00
Lisa Durand
2360e5e115 fix specs 2023-10-11 16:33:45 +02:00
seb-by-ouidou
8b1a14e16a feat: add test for GroupeGestionnaire#remove 2023-10-11 13:13:23 +00:00
seb-by-ouidou
ea7a5e6761 feat: US4.3.7.1 init manage gestionnaires of a group 2023-10-11 13:13:23 +00:00
Lisa Durand
b125f921ea harmonize rna display for instructeur and usager - add grey card like siret 2023-10-11 12:14:00 +02:00
Paul Chavard
19a641deca
Merge pull request #9591 from tchak/fix-delay-submit-to-autosave-end
fix(dossier): delay submit to autosave end
2023-10-11 09:52:00 +00:00
seb-by-ouidou
b5fb06a641 feat: US1.6 /manager/gestionnaires/<idGestionnaire> 2023-10-11 09:38:42 +02:00
seb-by-ouidou
d5637ac7aa feat: remove_gestionnaire 2023-10-11 09:38:42 +02:00
seb-by-ouidou
b100c8380e FEAT: init admins group 2023-10-11 09:38:42 +02:00
LeSim
b7d6e9e30f
Merge pull request #9589 from demarches-simplifiees/fix_suivi
fix suivi on mobile by using ds fr
2023-10-10 19:55:17 +00:00
Paul Chavard
de9d3501b5 fix(dossier): delay submit to autosave end 2023-10-10 19:13:11 +02:00