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
Colin Darie
dded825d1e
Merge pull request #9587 from colinux/fix-landing-admin
...
Landing administrateur : fix design des éléments "DS en chiffres"
2023-10-10 16:00:08 +00:00
Colin Darie
2eabbebfba
Merge pull request #9586 from colinux/avis-perf
...
Expert: accélère les pages de liste d'avis et d'affichage des dossiers
2023-10-10 15:59:56 +00:00
simon lehericey
cffd9d5a4d
fix suivi on mobile by using ds fr
2023-10-10 17:23:16 +02:00
Lisa Durand
7d7fbab5b2
add empty link instead of span on last breadcrumb item to improve display
2023-10-10 15:57:05 +02:00
Colin Darie
a16a8bfbaa
style(admin landing): fix design for features numbers
2023-10-10 15:56:24 +02:00
Colin Darie
816a85800e
refactor(expert): preload dossier
2023-10-10 15:36:24 +02:00
Colin Darie
9985cdccec
refactor(expert): no n+1 user on avis index
2023-10-10 15:36:21 +02:00
Paul Chavard
7a01889563
use maintenance tasks gem
2023-10-10 15:11:08 +02:00
mfo
ade95f5f5f
Merge pull request #9582 from demarches-simplifiees/US/fix-export-job
...
correctif(tech.export): il arrive que des exports soient mal identifié (le content-type), ce qui par la suite renvoie des exports vide (0kb)
2023-10-10 12:22:54 +00:00
LeSim
34dcf4ae9f
Merge pull request #9523 from demarches-simplifiees/destroy_blob_not_found_in_migrations
...
Lors de la migration des pjs, détruit les blobs qui n'existent pas dans l'espace de stockage
2023-10-10 10:49:26 +00:00
LeSim
75d2ad9a4d
Merge pull request #9579 from demarches-simplifiees/previous_dossier
...
ETQ usager, lorsque j'ai déjà des dossiers sur une procédure, la page de garde me donne de meilleurs liens
2023-10-10 10:20:47 +00:00
krichtof
78058bc52a
Merge pull request #9550 from demarches-simplifiees/9542-reactivation-procedure
...
ETQ admin, je suis averti que je ne peux pas réactiver une démarche tant que la date limite de dépôt de dossiers n'est pas dans le futur
2023-10-10 09:45:51 +00:00
simon lehericey
6d550802db
fix: 4 less queries
2023-10-10 11:28:29 +02:00
simon lehericey
9861f16a05
fix: avoid queries in the view
2023-10-10 11:28:29 +02:00
simon lehericey
51aba39787
fix: simplify queries
2023-10-10 11:28:29 +02:00
simon lehericey
ec60c884e3
fix: locales go to dedicated file
2023-10-10 11:28:29 +02:00
simon lehericey
5b4c3df54c
feat: when previous dossiers exist, show a preview
2023-10-10 11:28:29 +02:00
simon lehericey
95fb3671fb
feat: when previous dossiers existing, redirect to list filtered by procedure_id
2023-10-10 11:28:29 +02:00
Christophe Robillard
73953a8a57
fix sentry capture message for webhook
2023-10-10 11:00:58 +02:00
Martin
f4430cebb0
bug(export.identify): la clé pour declarer que le fichier a deja ete identifie [content_type] est identified, pas identify
2023-10-10 10:39:46 +02:00
Lisa Durand
b7868798ae
add region and department champs in choice method
2023-10-10 10:37:20 +02:00
mfo
def659e599
Merge pull request #9558 from mfo/US/avis-in-exports
...
amelioration(dossier.export): ajoute les piece justificative des avis dans les exports
2023-10-09 13:12:22 +00:00
Martin
1d8a1617d7
amelioration(dossier.export): intègre les avis dans les exports [n'inclu pas les pieces justificatives des avis confidentiels pour les expert, inclu les piece justificatives des avis confidentiel pour les instructeurs ]
2023-10-09 14:53:46 +02:00
Colin Darie
539a84b5e4
Merge pull request #9576 from colinux/fix-sections-conditional
...
ETQ usager le form n'accumule pas l'espacement vertical des champs conditionnés consécutifs
2023-10-09 12:44:23 +00:00
Colin Darie
5314af52f2
Merge pull request #9575 from colinux/exports-fix-dossiers-count
...
ETQ instructeur: corrige le décompte du nombre de dossiers exportés une fois l'export généré
2023-10-09 12:40:36 +00:00
Colin Darie
e3b05f7e20
Merge pull request #9556 from demarches-simplifiees/fix_conditionnal
...
Administrateur : correction de l'affichage du bouton "logique conditionnelle" dans l'éditeur de champ
2023-10-09 11:19:22 +00:00
Colin Darie
22a2188917
style(form): don't cumulate vertical margins with fieldset and inlined elements
2023-10-09 13:15:17 +02:00
Colin Darie
5ea7c15251
style(champ civilite): better vertical margin between label & fieldset
2023-10-09 13:15:15 +02:00
Colin Darie
9e5ade817a
fix(form): conditional hides fieldset__element so vertical margins are not cumulated
2023-10-09 13:15:13 +02:00
krichtof
7b9f44ec42
Merge pull request #9573 from demarches-simplifiees/add-sentry-to-webhook-call
...
remonte les erreurs dans Sentry lorsqu'un appel webhook est en erreur
2023-10-09 10:11:08 +00:00
Christophe Robillard
3fdc3a15be
add sentry context to webhook call
2023-10-09 11:42:13 +02:00
Colin Darie
428b869181
fix(exports): display exact number of dossiers count at time generation
2023-10-09 11:23:16 +02:00
Colin Darie
640f729413
feat(exports): persist instructeur requestor & dossiers count
2023-10-09 11:23:15 +02:00
Colin Darie
760005de35
chore(schema): add dossiers_count & instructeur_id to exports
2023-10-09 11:23:12 +02:00
Eric Leroy-Terquem
ff700b19bb
fix(editable_champ): can enter negative decimal number
2023-10-06 15:43:59 +02:00
Eric Leroy-Terquem
c53b0a1c9e
fix(editable_champ): can enter negative number
2023-10-06 15:43:59 +02:00
Eric Leroy-Terquem
e17d694b30
fix(editable_champ): can enter negative integer number
2023-10-06 15:43:59 +02:00
Lisa Durand
cde8c614e6
display a select for input of choice type in instructeur filter
2023-10-05 11:32:07 +02:00
Eric Leroy-Terquem
e6b98a1e82
doc(routage): add link to routage doc in options page
2023-10-04 14:23:25 +02:00
Colin Darie
a2f18dff49
fix(pdf): preload dossier so PDF generation is much faster on big procedures
2023-10-03 18:29:55 +02:00
Colin Darie
28ebb045d8
fix(demande): preload dossier so page is much faster on big procedures
2023-10-03 18:07:20 +02:00
mfo
86773a9118
Merge pull request #9557 from mfo/US/fix-ui-quirks
...
correctif(design): certains formulaire ne respectaient pas la chartre du DSFR
2023-10-03 14:30:54 +00:00
Colin Darie
0ad1e88018
Merge pull request #9555 from colinux/pdf-with-avis-question
...
ETQ instructeur, le PDF d'un dossier intègre les questions et messages des avis experts
2023-10-03 14:01:52 +00:00
Martin
d4e6242b62
correctif(users.merge): le formulaire pour fusionner un compte existant avec un compte france connect n'est pas au format DSFR
2023-10-03 16:00:03 +02:00
Martin
15d683964e
correctif(users.confirmation): le formulaire n'est pas au format DSFR
2023-10-03 15:55:51 +02:00
Paul Chavard
d14ba89ed2
Merge pull request #9553 from colinux/remove-optional-mention
...
ETQ usager, plus de mention "facultatif" sur les champs optionnels
2023-10-03 13:48:38 +00:00
Martin
8e036152f1
correctif(profil#show): un champ a moitié invisible qui n'était pas thémé au DSFR
2023-10-03 15:42:25 +02:00
mfo
98d483ec32
Merge pull request #9552 from demarches-simplifiees/US/fix-export-with-file-bigger-than-4Go
...
correctif(export): lorsqu'un export .zip fait plus de 4Go, le fait del'assigner via file.attach(blob) declenche soit un identify soit un virus scanner qui par la suite le vide sur le bucket
2023-10-03 13:40:12 +00:00
simon lehericey
564939e83a
fix: allow conditional on first child of bloc based on the first champ
...
The upper_coordinates were wrong in administrateur/type_de_champ_controller. The upper coordinates outside the bloc where missing.
with the following tdc:
- number
- bloc
- text # this text can be conditioned by the number
2023-10-03 15:17:50 +02:00
Martin
a2e6727b4b
correctif(export): lorsqu'un export .zip fait plus de 4Go, le fait de l'assigner via file.attach(blob) declenche soit un identify soit un virus scanner qui par la suite le vide sur le bucket
2023-10-03 14:43:52 +02:00
Colin Darie
9673485904
chore(flipper): delete disable_label_optional_champ_2023_06_29 feature flag
2023-10-03 14:37:41 +02:00
Colin Darie
8c66f4d6df
chore(form): remove "optional" mention because people never fill them
...
Closes #9540
2023-10-03 14:37:20 +02:00
Colin Darie
b90fb2f998
fix(pdf): show avis message & question before answer
...
Closes #9548
2023-10-03 14:27:08 +02:00
seb-by-ouidou
9b26bf911c
fix: fixes after tchak s review
2023-10-03 13:51:57 +02:00
seb-by-ouidou
44b4b5d0ab
feat: rename admins_group_manager to gestionnaire
2023-10-03 13:51:57 +02:00
seb-by-ouidou
e9c143f226
fix: split into smaller PR
2023-10-03 13:51:57 +02:00
seb-by-ouidou
e2f792b44b
FEAT: init admins group
2023-10-03 13:51:57 +02:00
simon lehericey
6fb9459d29
UI: small fixed
2023-10-03 12:24:28 +02:00
Colin Darie
e1dab5bb39
Merge pull request #9549 from colinux/form-identite-fix-accessibilite
...
ETQ usager, le formulaire d'identité est un peu plus accessible
2023-10-03 09:23:48 +00:00
Christophe Robillard
ba56c79325
admin can't reactivate procedure if auto archive on past
2023-10-03 11:11:17 +02:00
Colin Darie
c14b9abb45
fix(admin): remaining old asterisk on procedure form
2023-10-03 10:37:13 +02:00
Colin Darie
1fbfc9fce1
chore(form): InputComponent with asterisk on required inputs
2023-10-03 10:37:12 +02:00
Colin Darie
b85a897237
fix(form): improve identity form a11y & markup
2023-10-03 10:37:11 +02:00
Paul Chavard
d53a00137c
feat(dossier): enable conditional annotations
2023-10-02 15:41:27 +02:00
Colin Darie
202ba6bbe6
Merge pull request #9544 from colinux/form-champ-scroll-margin
...
ETQ usager aère le form quand on clic sur une ancre d'un champ en erreur
2023-10-02 07:44:58 +00:00
Colin Darie
2900c4cde2
Merge pull request #9545 from demarches-simplifiees/9514-ui-admin
...
Rend moins anxiogène le message d'alerte avant publication de changement d'un formulaire
2023-10-02 07:35:18 +00:00
Colin Darie
bda55299d3
chore(bundle): update scss-lint 0.59 => 0.60
2023-10-02 09:33:45 +02:00
Paul Chavard
619e545238
Merge pull request #9543 from colinux/fix-perf-instructeurs-home
...
ETQ instructeur, la page de mes démarches est un peu plus rapide
2023-09-29 17:51:55 +00:00
Christophe Robillard
1bab324444
improve wording for breaking changes
2023-09-29 17:40:06 +02:00
krichtof
428ae4a45a
Merge pull request #9507 from demarches-simplifiees/9449-signature-groupe-instructeur
...
9449 ETQ instructeur ou admin, je peux apposer sur une attestation un tampon dédié à un groupe instructeur
2023-09-29 14:20:46 +00:00
Christophe Robillard
f5d77a528c
refactor(attestation_template): make code more readable
...
Co-Authored-By: simon lehericey <mail@simon.lehericey.net>
2023-09-29 15:37:24 +02:00
Colin Darie
eb3878b288
style(form): add spacing above label when scrolling to anchor
2023-09-29 15:20:14 +02:00
krichtof
1ef9ea0a96
Merge pull request #9524 from demarches-simplifiees/9502-contact-admin-sans-siret
...
Notifier par mail les admin de services sans siret
2023-09-29 12:11:42 +00:00
mfo
af6fd9d14c
Merge pull request #9531 from colinux/fix-form-markup
...
ETQ usager le formulaire est aéré grâce au bon markup du DSFR
2023-09-29 12:04:59 +00:00
Colin Darie
04071073e5
refactor(instructeurs): faster procedures listing
2023-09-29 13:09:54 +02:00
Christophe Robillard
20d70d2b1c
notify admin with service without siret
2023-09-29 11:37:34 +02:00
Colin Darie
8ad87de461
Merge pull request #9539 from colinux/fix-admin-publish-order-buttons
...
ETQ admin le bouton de publication des modifications passe à gauche
2023-09-29 08:16:37 +00:00
Colin Darie
f942610d32
Merge pull request #9473 from demarches-simplifiees/create-export-page-V2-ldu
...
[Export] Créer une page d'export et sortir les liens des dropdowns
2023-09-28 17:15:31 +00:00
mfo
e1fe1188de
Merge pull request #9491 from mfo/US/better-error-summary
...
amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
2023-09-28 17:01:09 +00:00
Colin Darie
a835990f74
fix(admin): publish button of new version must be aligned before reset
2023-09-28 18:38:03 +02:00
Colin Darie
95ceee38c7
chore(form): don't try to put invalid group classes for non fillable inputs
2023-09-28 18:33:28 +02:00
Colin Darie
60882e0844
chore(form): respect dsfr fr-fieldset and elements expected markup
2023-09-28 18:33:26 +02:00
Martin
d8220395c8
amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
...
Update app/components/dossiers/errors_full_messages.rb
Update app/components/dossiers/errors_full_messages/errors_full_messages.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-28 17:50:47 +02:00
Colin Darie
0920b97e4d
fix(admin/archives): fix markup axe issue
2023-09-28 15:34:09 +02:00
Colin Darie
75bf30bed2
feat(champ-numbers): format value in input to a backend compatible value
2023-09-28 15:26:35 +02:00
Colin Darie
123114be81
fix(conditional): don't .to_i/to_f => 0 an invalid number
2023-09-28 15:26:34 +02:00
Colin Darie
aac7de208f
chore(champs-number): render as text input to validate them when invalid
...
Les input=number n'ont pas de value lorsque la valeur saisie n'est pas un
nombre. Par conséquent dans ces cas là, nous ne pouvions faire remonter
au backend pour validation / enregistrement, et il n'y avait aucun
feedback signalement l'erreur à l'usager.
On les convertit en inputs texte, avec les adaptations nécessaires
pour montrer le pavé numérique sur mobile, et un style correct.
2023-09-28 15:26:33 +02:00
Colin Darie
d4198869fb
chore(exports): dropdown menu re-uses the same pending export or create a fresh one
...
Pour permettre d'avoir des données fraiches dans un export tout
en conservant l'historique des exports,
la demande d'export depuis le menu créé toujours un nouvel export sauf:
- si un autre export identique est déjà en préparation
- si un autre export identique s'est terminé il y a moins de 5 minutes
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 15:23:31 +02:00
Colin Darie
d9687f7418
chore(exports): minor wording improvements and clarifications
2023-09-28 12:35:26 +02:00
Colin Darie
ec46faf690
fix(exports): don't duplicate exports when belonging to multiple groupe instructeurs
2023-09-28 12:35:24 +02:00
mfo
00a6d02d21
fix(exports): block exports page to super admins so they can't download exports
2023-09-28 12:35:23 +02:00
Colin Darie
2283c7eba7
test(exports): minimal coverage for ExportLinkComponent
2023-09-28 12:35:22 +02:00
Colin Darie
daa8eac9cc
style(exports): download link instead of button
2023-09-28 12:35:21 +02:00
Colin Darie
307ba68970
feat(exports): humanize status name
2023-09-28 12:35:20 +02:00
Colin Darie
3af93735a3
feat(exports): turbo poll for pending exports
2023-09-28 12:35:19 +02:00
Colin Darie
ed057737a5
feat(exports): name the dossiers count
2023-09-28 12:35:18 +02:00
Lisa Durand
c7cd5d2189
improve UX for export page
2023-09-28 12:35:16 +02:00
Lisa Durand
58a143b2c7
improve wording and display for export page
2023-09-28 12:35:15 +02:00
Lisa Durand
282df1b44b
add link to export page in flash message for instructeur
2023-09-28 12:35:14 +02:00
Colin Darie
a867c9a998
feat(instructeurs): notification badge when a new export has been generated
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:13 +02:00
Colin Darie
99f5b39dbb
fix(exports): force regenerate export with same statut filter
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:12 +02:00
Colin Darie
edb030bb4c
refactor(exports): regenerating exports redirect (back) to exports page
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:11 +02:00
Colin Darie
ca0b5c9cb9
refactor(exports): destroy errorable on force to ensure we have fresh export
...
Il semblerait que le destroy échoue parfois silencieusement pour une raison
inconnue, ce qui empêche le create_or_find_export de se dérouler
à cause de la contrainte d'unicité (il rollback), ce qui conduit ensuite
à un comportement inattendu: re-téléchargement de l'ancienne archive
alors qu'on voulait la regénérer.
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:09 +02:00
Colin Darie
fc66f4b05d
refactor(exports): drop useless exports relation dependency for exports dropdown
...
Since the dropdown does not list download links anymore,
we don't have to pass them a dynamic exports list.
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:08 +02:00
Colin Darie
82dd05c189
chore(exports): finders by groupe instructeurs compatible across exports components
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:07 +02:00
Lisa Durand
5a571a3535
create export page to list all the exports and remove links from the dropdown
2023-09-28 12:35:04 +02:00
simon lehericey
23b68fa5aa
pj_migration: destroy blob if not found
2023-09-28 10:41:33 +02:00
Lisa Durand
a559bf54eb
Merge pull request #9517 from demarches-simplifiees/change-tabs-for-instructeur-dashboard-ldu
...
[instructeur] Mettre en avant les démarches closes avec des dossiers à traiter
2023-09-28 07:32:07 +00:00
Lisa Durand
db4c8619a9
Update app/views/instructeurs/procedures/index.html.haml
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:51:44 +02:00
Lisa Durand
91018d8f8f
Update app/controllers/instructeurs/procedures_controller.rb
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:51:07 +02:00
Lisa Durand
46e492496e
Update app/controllers/instructeurs/procedures_controller.rb
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:50:55 +02:00
Colin Darie
2cc2c9f77d
Merge pull request #9520 from demarches-simplifiees/filter-instructeur-exclude-en-attente-ldu
...
[instructeur] je veux pouvoir filtrer les dossiers "en construction" sans avoir ceux "en attente de corrections"
2023-09-27 11:57:35 +00:00
krichtof
63ca98b5b6
Merge pull request #9529 from demarches-simplifiees/fix-contact-information
...
Fix contact information
2023-09-27 11:33:41 +00:00
Christophe Robillard
2a39cfead7
fix: display contact info on footer of notif mail
2023-09-27 12:49:24 +02:00
Christophe Robillard
6035a16ecc
fix: can display contact_info nom on footer
2023-09-27 12:09:00 +02:00
Eric Leroy-Terquem
774e375f44
feat(conditional): can condition on departement champ value
2023-09-27 10:22:12 +02:00
Lisa Durand
129230af88
exclude dossiers with pending correction when instructeur filters on 'en_construction'
2023-09-26 16:36:39 +02:00
krichtof
da62a5ec79
Merge pull request #9518 from demarches-simplifiees/9497-description-champs
...
ETQ usager, je suis aidé à la saisie par une description des champs
2023-09-26 13:58:02 +00:00
Christophe Robillard
abad463bb1
remove placeholder for decimal number component
2023-09-25 18:17:04 +02:00
Christophe Robillard
168616b8c6
remove placeholder for phone component
2023-09-25 18:17:04 +02:00
Christophe Robillard
18e5c32363
remove placehoder for rna component
2023-09-25 18:17:04 +02:00
Christophe Robillard
8bacb30e36
remove placeholder for iban component
2023-09-25 18:17:04 +02:00
Christophe Robillard
bd3f7eeb38
remove placeholder for siret component
2023-09-25 18:17:04 +02:00
Christophe Robillard
ae08f044ed
remove placeholder for email component
2023-09-25 18:17:04 +02:00
Christophe Robillard
3ff7bc7234
display max size and format as hint
2023-09-25 18:17:04 +02:00
Christophe Robillard
e972514ec6
remove useless blank line
2023-09-25 18:17:04 +02:00
Christophe Robillard
9c2c378588
use model locales for titre identite hint
2023-09-25 18:17:04 +02:00
Lisa Durand
a4c79e953b
change 'published' tabs by 'en cours' to highlight closed procedure with 'en cours' files
2023-09-25 15:34:37 +02:00
krichtof
f019f1e316
Merge pull request #9345 from adullact/feature-ouidou/existing_procedure_hidden_as_template
...
ETQ superadmin, je peux masquer une démarche de la liste des démarches proposées à la création
2023-09-25 08:46:31 +00:00
Eric Leroy-Terquem
1060aadff7
Merge pull request #9504 from demarches-simplifiees/do-not-route-cloned-procedures-if-admin-is-different
...
Correction : désactive le routage des procédures clonées si l'admin n'est pas aussi admin de la procédure parente
2023-09-22 09:10:42 +00:00
Colin Darie
da06295191
chore(attestation): improve groupe instructeurs signature wording
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
d231ec35f4
refactor(attestation): groupe instructeur add signature shared
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
4c7664d61c
fix(admin): missing siret & service alert don't override action alert
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
934e86a465
refactor(attestation): groupe instructeur signature shared
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Christophe Robillard
c02e6f2a77
feat(groupe-instructeur): instructeur can add signature in attestation
2023-09-22 10:24:16 +02:00
Colin Darie
ad10335888
feat(groupe-instructeur): admin can preview signature in attestation
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
3e1678c17a
chore(attachments): always render allowed formats when list is short
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
44578ba65c
fix(attachment): keep direct_upload behavior in poll url
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Christophe Robillard
c121a8b2dc
admin can add groupe_instructeur signature
2023-09-22 10:24:16 +02:00
Christophe Robillard
5482863eea
add signature to groupe_instructeur
2023-09-22 10:24:16 +02:00
Christophe Robillard
7529294845
fix: uninterlace only interlaced png
2023-09-22 10:24:16 +02:00
Christophe Robillard
46edaed6bc
extract uninterlace_png method
2023-09-22 10:24:16 +02:00
seb-by-ouidou
d29bbf6d4f
Merge branch 'main' into feature-ouidou/existing_procedure_hidden_as_template
2023-09-21 15:53:38 +02:00
seb-by-ouidou
5b9423bab3
fix: remove hidden_at_as_template from filter
2023-09-21 13:50:23 +00:00
Eric Leroy-Terquem
70cc8dac4c
fix(procedure): do not route cloned procedures from different admin
2023-09-21 15:24:17 +02:00
Eric Leroy-Terquem
5e4d96654f
fix(dossier clone): always rebase cloned dossiers
2023-09-21 13:50:40 +02:00
Martin
04fe3ad2b6
correctif(repetition.commune): ETQ usager, lorsque j'ai plus d'une repetition ayant un champ commune, les ids des options des input[type=radio] des communes partageant le meme code postal ne sont pas uniques, on boucle sur la 1ere repetition
2023-09-20 17:56:17 +02:00
simon lehericey
4a17dec87b
refactor procedure_controller
2023-09-20 14:11:10 +02:00
simon lehericey
40a15b9be4
refactor dossier_controller
2023-09-20 14:11:10 +02:00
simon lehericey
c248f96f31
fixup base controller
2023-09-20 14:11:10 +02:00
simon lehericey
118242dbd2
refactor api_controller
2023-09-20 14:11:09 +02:00
simon lehericey
2664c3671f
api_tokens_controller: only use turbo
2023-09-20 14:11:09 +02:00
simon lehericey
954c5334ef
use new procedure in view
2023-09-20 14:11:09 +02:00
simon lehericey
9047c2a7de
api_tokens_controller: extract become full_access
2023-09-20 14:11:09 +02:00
simon lehericey
9b440b6c44
api_tokens_controller: extract disallow_procedure
2023-09-20 14:11:09 +02:00
simon lehericey
2a109d3aa4
api_tokens_controller: use before_action set_api_token
2023-09-20 14:11:09 +02:00
simon lehericey
01efae960b
fix component
2023-09-20 14:11:09 +02:00
simon lehericey
05a8fd8ee1
refactor of api_token
2023-09-20 14:11:09 +02:00
simon lehericey
24fd12ed70
explicit about different contexts
2023-09-20 14:11:09 +02:00
simon lehericey
f434c6a6ad
refactor: try base controller
2023-09-20 14:11:09 +02:00
simon lehericey
40ed59a231
rename find_and_verify => authenticate
2023-09-20 14:11:09 +02:00
simon lehericey
87933d3567
introduce token bearer
2023-09-20 14:11:09 +02:00
simon lehericey
0b03ba4d68
remove v1/v2 api token logic
2023-09-20 14:11:09 +02:00
Lisa Durand
83957a41cd
add min height for table with max 2 files to display dropdown
2023-09-19 17:50:38 +02:00
seb-by-ouidou
0d2cd0fe5d
feat(procedure): hide as template
2023-09-19 11:21:27 +00:00
Paul Chavard
b1dc376d1d
fix(champs-editor): add dsfr classes to select elements
2023-09-19 11:09:29 +02:00
Paul Chavard
cf3a35724c
fix(champs-editor): remove unnecessary background color
2023-09-19 11:09:09 +02:00
LeSim
e6f8400cfd
Merge pull request #9477 from demarches-simplifiees/can-route-from-epci-champ
...
ETQ admin je peux router par département depuis le champ EPCI
2023-09-19 08:21:26 +00:00
LeSim
29c52d191e
Merge pull request #9487 from mfo/US/fix-expert-invitation
...
correctif(expert.invite-autre-expert): ETQ expert, je ne pouvais pas demander d'autres avis d'expert
2023-09-19 08:16:53 +00:00
LeSim
3f9f7d59a2
Merge pull request #9489 from colinux/form-identity-siret-dsfr
...
ETQ usager le form pour renseigner son SIRET passe au DSFR et est dispo en anglais
2023-09-19 08:14:03 +00:00
Colin Darie
bccad19e13
chore(siret): translate identity siret form
2023-09-18 19:11:27 +02:00
mfo
25d7333ac3
Update app/controllers/experts/avis_controller.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-18 16:55:07 +02:00
Colin Darie
8358fec884
fix(prefill): don't create Individual for non-individual procedures
...
Closes #9486
2023-09-18 16:45:02 +02:00
Martin
aa10f23b43
correctif(expert.invite-autre-expert): ETQ expert, je ne pouvais pas demander d'autres avis d'expert
2023-09-18 16:23:42 +02:00