Colin Darie
610b808d32
test: fix deprecated any_instance and stub old syntax
2023-11-10 14:19:56 +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
c53d35401e
Tests
2023-11-10 08:54:27 +00: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
Colin Darie
edb47d94f7
test: fix not_to raise_error(SpecificErrorClass) false positive risk
2023-11-09 17:27:55 +01:00
Colin Darie
c38dac789d
test: fix deprecation warning, a selector matcher must be a string or symbol
2023-11-09 17:24:49 +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
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
e49436aa5d
feat(announce): can destroy a note and add at the same date
2023-11-08 18:23:16 +01:00
Colin Darie
ad671092c0
refactor(announces): note form as view component
2023-11-08 18:23:07 +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
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
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
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
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
Eric Leroy-Terquem
694cbcd0a2
feat(rnf): add rnf type_de_champ
2023-11-07 14:21:28 +01:00
Colin Darie
87b0975a7c
Merge pull request #9673 from colinux/autolink-instructeurs
...
ETQ Instructeur les urls de mes messages dans la messagerie sont converties en lien
2023-11-07 11:51:16 +00: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
3e2e5a01f9
fix(test): update routing tests
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
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
Colin Darie
560d291bcd
test: retry system tests only on CI (get error fast in local)
2023-11-06 15:15:51 +01:00
Paul Chavard
026885ebcf
feat(conditional): annotations can be conditioned by champs
2023-11-03 10:45:07 +00:00
Paul Chavard
99e22a8cbe
log(graphql): log deprecated order argument usage
2023-11-02 15:01:34 +00:00
Paul Chavard
869d83dda9
feat(dossier): validate on change and revalidate on input
2023-10-31 17:52:00 +00: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
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
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
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
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
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
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
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
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
Paul Chavard
9ad2c4358a
Merge pull request #9584 from tchak/maintenance_tasks
...
use maintenance tasks gem
2023-10-19 16:07:17 +00:00
Lisa Durand
48ee575990
fix specs
2023-10-19 17:59:16 +02: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
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
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
Christophe Robillard
0b7d4452fd
remove admin from manager
2023-10-19 09:14:44 +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
ecb3909e99
chorus(autocomplete): autocomplete sur le centre de cout, domaine fonctionnel, referentiel de programmation
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
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
Paul Chavard
a43176b2d6
fix lint
2023-10-18 13:02:59 +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
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
seb-by-ouidou
3c5e76e705
feat: US4.3 update and delete groupe gestionnaire
2023-10-18 09:51:04 +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
Lisa Durand
c88e6ab75c
fix specs
2023-10-17 12:25:58 +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
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
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
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
a26df43577
User : Ajoute le type de champ Expression régulière coté utilisateur
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
1ecd05df54
task(phone): add task to fix invalid phones
2023-10-12 17:57:43 +02:00
Eric Leroy-Terquem
a960395edb
fix(db): add phone fixer
2023-10-12 16:47:05 +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
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
Paul Chavard
f5588b708b
Merge pull request #9592 from govpf/feature/fix_sva_svr_specs
...
Tests: fix SVA/SVR calculator specs to handle time zones
2023-10-11 09:52:32 +00: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
Christian Lautier
6dcf24a684
fix sva_sva sort specs to handle time zones
2023-10-10 18:23:24 -10:00
Christian Lautier
b814f0f526
fix sva_sva calculator specs to handle time zones
2023-10-10 08:45:34 -10:00
Lisa Durand
d07c8ce19f
fix specs
2023-10-10 17:02:43 +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
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
9861f16a05
fix: avoid queries in the view
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
2c3562e829
bug(export.identify): identify pourrait etre la cause des exports remis a 0 [mauvais identification due au type de contenu]
2023-10-10 10:39:46 +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
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
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
Paul Chavard
2ed2125b2d
Merge pull request #9569 from demarches-simplifiees/fix-email-service
...
fix: corrige l'envoi d'email aux admins avec service sans siret
2023-10-09 08:34:31 +00:00
Eric Leroy-Terquem
ff700b19bb
fix(editable_champ): can enter negative decimal 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
Christophe Robillard
75d671c0b4
fix: email no siret service
2023-10-06 11:16:12 +02:00
Lisa Durand
cde8c614e6
display a select for input of choice type in instructeur filter
2023-10-05 11:32:07 +02: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
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
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
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
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
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
Christophe Robillard
20d70d2b1c
notify admin with service without siret
2023-09-29 11:37:34 +02: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
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
2cec44109d
Merge pull request #9516 from colinux/fix-invalid-facultative-evaporation
...
ETQ usager je ne veux pas pouvoir saisir un nombre invalide sans feedback
2023-09-28 13:50:08 +00: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
307ba68970
feat(exports): humanize status name
2023-09-28 12:35:20 +02:00
Lisa Durand
c7cd5d2189
improve UX for export page
2023-09-28 12:35:16 +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
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
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
78802712f4
add controller specs
2023-09-28 12:35:06 +02:00
Lisa Durand
79669dba37
fix spec
2023-09-28 12:35:05 +02:00
simon lehericey
a3a46d3bba
spec: use match_array
2023-09-28 11:19:06 +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
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
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
08363546d5
update spec for placeholder
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
Christophe Robillard
c02e6f2a77
feat(groupe-instructeur): instructeur can add signature in attestation
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
seb-by-ouidou
d29bbf6d4f
Merge branch 'main' into feature-ouidou/existing_procedure_hidden_as_template
2023-09-21 15:53:38 +02: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
simon lehericey
4be682145c
spec: speed up by 3
2023-09-20 14:11:10 +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
118242dbd2
refactor api_controller
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
40ed59a231
rename find_and_verify => authenticate
2023-09-20 14:11:09 +02:00
simon lehericey
c7afad2a88
refacto: spec
2023-09-20 14:11:09 +02:00
seb-by-ouidou
0d2cd0fe5d
feat(procedure): hide as template
2023-09-19 11:21:27 +00: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
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
Paul Chavard
ae2d9bba47
Merge pull request #9479 from tchak/graphql-fix-pending-deleted-dossiers-sort
...
fix(graphql): improuve sort for pending deleted dossiers
2023-09-18 09:17:26 +00:00
Eric Leroy-Terquem
0aa0b27810
test(champ value): test compute of champ value for epci tdc
2023-09-18 09:35:27 +02:00
Eric Leroy-Terquem
67703c94e7
test(routing): test simple routing with epci type de champ
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
967139ec88
feat(routing): make routing engine work with epci champ
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
cf7c7d9761
feat(routing): add epci to routable_types_de_champ
2023-09-18 09:32:07 +02:00
Paul Chavard
21b9a491cb
fix(graphql): improuve sort for pending deleted dossiers
2023-09-15 16:15:43 +02:00
Paul Chavard
85024174d4
feat(combobox): implement ComboboxComponent
2023-09-15 14:48:25 +02:00
Eric Leroy-Terquem
0454d2066e
Merge pull request #9474 from demarches-simplifiees/can-route-from-commune-champ
...
ETQ admin je peux router par département depuis un type de champ communes
2023-09-15 08:18:24 +00:00
Lisa Durand
7311bcebb9
Merge pull request #9363 from demarches-simplifiees/dashboard-usager/make-search-work-with-procedure-filter
...
[refonte usager] Tableau de bord - rendre recherche complémentaire avec filtre par procédure
2023-09-13 12:55:42 +00:00
Colin Darie
f28739d648
Merge pull request #9372 from colinux/svr
...
Admin: permet l'activation du SVR
2023-09-13 12:08:39 +00:00
Colin Darie
680919a68f
feat(svr): instructor filters with svr wording specific
2023-09-13 13:50:26 +02:00
Colin Darie
d7a9bee63e
feat(svr): instructor menu actions with svr actions
2023-09-13 13:50:25 +02:00
Colin Darie
e8000adecf
feat(svr): refuses automatically a dossier
2023-09-13 13:50:23 +02:00
Eric Leroy-Terquem
cdeddc6e1e
test(champ value): test compute of champ value for communes tdc
2023-09-13 10:53:52 +02:00
Eric Leroy-Terquem
ccc932f924
test(routing): test simple routing with communes type de champ
2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
46ff36c2bc
feat(routing): make routing engine work with commune champ
2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
50d0587a81
feat(routing): add communes to routable_types_de_champ
2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
345729a159
test(champ value): test compute of champ value for regions tdc
2023-09-13 10:22:01 +02:00
Eric Leroy-Terquem
cebeffb195
test(routing): test simple routing with regions type de champ
2023-09-13 10:22:01 +02:00
Eric Leroy-Terquem
d37fb90b2f
feat(routing): make routing engine work with region champ
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
5afaa458e2
feat(routing): add regions to routable_type_de_champ
2023-09-13 10:22:00 +02:00
Colin Darie
201b31bf36
refactor(watermark): small text based watermarked to increase document visibility
2023-09-12 13:04:31 +02:00
krichtof
5aabce488b
Merge pull request #9425 from demarches-simplifiees/9356-service-gi
...
ETQ Usager, je veux voir dans mon dossier les informations de contact de mon groupe instructeur
2023-09-11 07:38:34 +00:00
Christophe Robillard
5b9fbf40ed
fix: admin is redirected to admin groupe instructeur page
...
after creating or editing groupe instructeur service
2023-09-11 08:58:04 +02:00
Christophe Robillard
587960cfd9
clone groupe instructeur service
...
if admin owns original procedure
2023-09-11 08:58:04 +02:00
Christophe Robillard
e9ff4292fa
instructeur can destroy groupe instructeur service
2023-09-11 08:58:04 +02:00
Christophe Robillard
41b2c9355b
instructeur can update contact information for groupe instructeur
2023-09-11 08:58:04 +02:00
Christophe Robillard
ba0d3fa678
instructeur can create contact information for groupe instructeur
2023-09-11 08:58:03 +02:00
Christophe Robillard
46dec40543
add contact information model
2023-09-08 11:04:06 +02:00
simon lehericey
894b91ed52
spec: fix due to activestorage bump
2023-09-07 15:57:39 +02:00
simon lehericey
5534190c89
chore: build openstack client without calling now private service.client
2023-09-07 15:57:39 +02:00
simon lehericey
d319385d17
Add tests for prefill identity
2023-09-07 10:17:19 +02:00
simon lehericey
4cbb8e91f2
Workable draft prefill identity (no link or query help)
2023-09-07 10:17:19 +02:00
LeSim
d69636c411
Merge pull request #9230 from colinux/log-destroyed-dossiers
...
Tech: log technique de la destruction de dossiers
2023-09-06 14:17:57 +00:00
Colin Darie
20c7921abe
chore(log): log destroyed dossiers
2023-09-06 16:07:18 +02:00
Kara Diaby
be55bba553
tests
2023-09-06 10:51:58 +00:00
Eric Leroy-Terquem
32b446deee
refactor(groupe instructeur): add valid_rule? method
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-05 15:59:11 +02:00
Eric Leroy-Terquem
0cab4d9807
test(routing): test routing priorities
2023-09-05 15:59:11 +02:00
Eric Leroy-Terquem
6f7aaef132
test(routing): test routing controller with not_eq operator
2023-09-05 15:59:11 +02:00
Eric Leroy-Terquem
d0da808325
feat(routing): can add a routing rule with not_eq operator
2023-09-05 15:57:31 +02:00
Eric Leroy-Terquem
e1ab65e62a
feat(routing): can route from not_eq routing rules
2023-09-05 15:57:31 +02:00
Colin Darie
606a56807a
Merge pull request #9453 from colinux/fix-layout-zones
...
ETQ admin, fix UX du formulaire de design de zones
2023-09-05 09:14:12 +00:00
Colin Darie
5e99250546
fix(admin): zones selector checkbox as dsfr
2023-09-05 11:02:29 +02:00
LeSim
b39e6ebf28
Merge pull request #9450 from colinux/sva-improve-repasser-en-instruction-flow
...
ETQ instructeur d'une démarche SVA/SVR je visualise mieux un dossier terminé qui est repassé en instruction
2023-09-05 08:45:52 +00:00
Lisa Durand
cd698fd1bd
fix test
2023-09-04 16:42:19 +02:00
Lisa Durand
5ff5923612
make dossiers search compatible with filter by procedure
2023-09-04 16:42:19 +02:00
Colin Darie
b5e2c9b860
fix(sva): improvements when a dossier has already been terminated
2023-09-04 16:09:01 +02:00
Martin
094f4f3ce6
tech(refacto): extrait la logique de rendu du dsfr sur les composants
2023-09-04 10:55:48 +02:00
Martin
6aec12f02f
correctif(spec): mise a jour des brouillons_spec.rb pour adapter l'integration des checkbox au DSFR
2023-09-04 10:55:48 +02:00
Kara Diaby
370d8a8cf1
tests
2023-09-04 10:55:48 +02:00
Kara Diaby
0ab31ba649
Boutons radio au DSFR
2023-09-04 10:55:48 +02:00
Colin Darie
abb89a0220
Merge pull request #9362 from colinux/graphl-sva
...
API: expose les 2 dates utilisées par le SVA
2023-08-31 14:40:04 +00:00
simon lehericey
fdf51b5ea1
fix: a expert merge transfers hidden procedures
2023-08-31 14:26:45 +02:00
Christian Lautier
db278e83ed
add a constant for the most used test password
2023-08-31 13:40:05 +02:00
LeSim
3e193675aa
Merge pull request #9392 from demarches-simplifiees/move-groupe-instructeur-validation-to-model
...
Tech : déplace une validation sur le groupe d'instructeurs défaut du controleur au modèle
2023-08-31 09:45:03 +00:00
Colin Darie
703735417c
Merge pull request #9433 from colinux/fix-dsfr-forms
...
ETQ usager: fix layout de 3 forms de gestion de compte
2023-08-31 08:58:55 +00:00
LeSim
a211d4f356
Merge pull request #9414 from demarches-simplifiees/exclude-brouillon-dossiers-from-recherche
...
Correctif : exclut les dossiers en brouillon de la recherche (etq instructeur)
2023-08-31 08:15:02 +00:00
simon lehericey
bd78a14f62
spec: add retry to all system spec
2023-08-31 09:59:18 +02:00
Colin Darie
f3d4008436
test: remove useless wait_for_autosave because click_on will wait anyway
2023-08-31 09:33:35 +02:00
Colin Darie
21001d7ae0
style: super admin signin form converted to dsfr
2023-08-31 09:33:34 +02:00
Eric Leroy-Terquem
9978908195
fix(dossier): exclude brouillons from recherche
2023-08-30 14:12:19 +02:00
Martin
4974962abd
amelioration(instructeur.connexion): ETQ instructeur, je peux redemander un lien de connexion securisé
2023-08-30 13:40:51 +02:00
Colin Darie
3c410e48f3
Merge pull request #9422 from mfo/US/fix-flacky-dossier_shared_example-l13
...
tech(test): retire un params inutile dans wait for autosave
2023-08-30 09:34:56 +00:00
Colin Darie
c4a54fc576
Merge pull request #9426 from colinux/fix-avis-answer-sort
...
ETQ instructeur: fix flaky test et tri des dossiers par avis
2023-08-30 09:34:44 +00:00
Eric Leroy-Terquem
69eafa4dda
Merge pull request #9406 from demarches-simplifiees/can-route-from-departements-champ
...
ETQ admin je peux router depuis un champ département
2023-08-30 08:09:08 +00:00
Martin
7779aa648f
tech(test.flacky): utilise click_on en lieu et place de wait_for_autosave sur dossier_shared_examples.rb
...
supprime un parametre inutile de la methode wait_for_autosave
2023-08-30 10:01:19 +02:00
Colin Darie
cf87419a19
fix(avis): table is only sortable by question_answer, answer is not exposed
2023-08-29 18:01:14 +02:00
Colin Darie
ea7d3f9364
feat(graphql): expose sva/svr dates
2023-08-29 16:33:00 +02:00
Eric Leroy-Terquem
b1c28e1818
test(routing): test simple routing with departements type de champ
2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
ca25788f07
feat(routing): use only department codes in routing rules
2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
7e3fc68c53
feat(routing): make routing engine work with departement champ
2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
ac823c1b25
feat(routing): add departements to routable_type_de_champ
2023-08-29 15:50:42 +02:00
Martin
7905a4e870
tech(test.flacky): essaie de rendre plus fiable un test flacky sur la configuration des champs d'un formulaire
2023-08-29 15:49:58 +02:00
Eric Leroy-Terquem
3f1309011a
test gem
2023-08-29 15:11:34 +02:00
Colin Darie
bb7673e697
fix(sva): decision date when start date is at end of month and with correction delay
2023-08-29 12:55:06 +02:00
Eric Leroy-Terquem
fc2c196cfa
chore(groupe instructeur): move closed validation for defaut groupe to model
2023-08-21 16:31:54 +02:00
mfo
28de1a7453
Merge pull request #9396 from tchak/remove-piepdrive
...
chore(pipedrive): remove pipedrive
2023-08-14 09:26:50 +00:00
Martin
425d8867be
amelioration(bulk_messages): ETQ instructeur, je peux envoyer un message aux usagers ayant un dossier en brouillon
2023-08-14 10:17:23 +02:00
Martin
fc3a5496eb
amelioration(email_usagers): autorise uniquement les instructeurs présent dans tous les groupes d'instructeur a envoyer un message de masse aux usagers ayant un dossier en brouillon
2023-08-14 10:17:23 +02:00
Martin
05687e63ca
amelioration(dossier.routage): assigne le groupe d'instructeur au moment de passer_en_construction! un dossier et ignore ce concept de pre-setter le groupe d'instructeur sur tout le reste de l'app
2023-08-14 10:17:23 +02:00
Paul Chavard
ca4066939c
chore(pipedrive): remove pipedrive
2023-08-10 10:29:25 +02:00
LeSim
441360a7f4
Merge pull request #9280 from govpf/feature/fix_datetime_validations
...
Fix datetime_champ validation with negative time zone
2023-08-02 13:14:19 +00:00
Christian Lautier
5ce42afe28
Fix datetime_champ validation with negative time zone
2023-08-02 14:40:47 +02:00
Lisa Durand
71f548dadb
add usual traitement time on procedure description page
2023-08-02 14:28:20 +02:00
Paul Chavard
e9cb50d09c
feat(api): add last_authenticated_at timestamp to api requests
2023-08-02 13:22:18 +02:00
Paul Chavard
0ca72492e3
feat(graphql): use camelize with inflection
2023-08-01 14:55:08 +02:00
Christophe Robillard
af8b423e4c
fix siren spec
2023-07-31 10:56:05 +02:00
krichtof
c315127c33
Merge pull request #9365 from demarches-simplifiees/fix-siret
...
envoie le siret par défaut si le siret du service est identique au siret de l'établissement demandé
2023-07-27 08:40:23 +00:00
Paul Chavard
e28e31c23a
fix: update spec with correct locales
2023-07-27 10:08:30 +02:00
Christophe Robillard
ef7b0c7377
alert admin with procedures without service
2023-07-27 10:08:30 +02:00
Christophe Robillard
beaf5751bb
alert admin with service without siret
2023-07-27 10:08:30 +02:00
Paul Chavard
2daee794bc
fix(markdown): render ordered lists with custom values and handle multiline list items
2023-07-27 09:07:14 +02:00
mfo
cf4048312e
Merge pull request #9004 from mfo/poc/error-bellow-inputs
...
amelioration(champs.erreurs): ETQ usager, je retrouve les erreurs sous les champs + les champs de type text/number sont au format dsfr 🫖 🥖
2023-07-27 06:35:43 +00:00
Colin Darie
e24672e71f
Merge pull request #9361 from colinux/fix-fork-having-associated-invalid
...
Usager: fix modif en construction lorsqu'un objet associé (geo area…) n'est pas valide
2023-07-27 06:35:02 +00:00
Christophe Robillard
2963fdbfa3
send dinum siret when siret service same as siret etablissement requested
2023-07-26 19:27:08 +02:00
Martin
9a0ee850a8
amelioration(design): ETQ usager la cohabitation du design d'un form mi-DSFR, mi-DS n'est pas trop moche
...
amelioration(design): ETQ usager la cohabitation du design d'un form mi-DSFR, mi-DS n'est pas trop moche
2023-07-26 14:27:50 +02:00
Paul Chavard
2e61c16dfd
feat(commune): remove Paris, Marseille and Lyon top level insee code
2023-07-26 14:15:20 +02:00
Colin Darie
fb470c1504
fix(fork): dossier forkable when associated objects to champs are not valid
2023-07-26 12:18:49 +02:00
Paul Chavard
9571981856
Merge pull request #9350 from adullact/adullact_fix_spec_instructeur_procedures_controller
...
fix spec (% 10000 and assert_performed_jobs)
2023-07-25 11:07:30 +00:00
Paul Chavard
d669e0fb45
fix flaky spec
2023-07-25 12:49:13 +02:00
Paul Chavard
328f90275f
Merge pull request #9352 from adullact/feature-ouidou/env_var_for_admin_unused_threshold
...
feat(administrateur): add environment variable for Administrateur::UNUSED_ADMIN_THRESHOLD
2023-07-25 08:29:37 +00:00
Paul Chavard
8febb3d236
Merge pull request #9338 from demarches-simplifiees/user-dashboard/add-filter-by-procedure-outside-tabs
...
[refonte usager] Tableau de bord - filtrer les dossiers par démarche
2023-07-24 16:32:44 +00:00
seb-by-ouidou
243b8c239a
feat(administrateur): add environment variable for Administrateur::UNUSED_ADMIN_THRESHOLD
2023-07-24 15:55:33 +00:00
seb-by-ouidou
dcdf33e4fd
fix spec (% 10000 and assert_performed_jobs)
2023-07-24 14:43:31 +02:00
Paul Chavard
4bc8b23a19
fix(dossier): purge motivation after repasser en instruction
2023-07-24 09:52:12 +02:00
Paul Chavard
03da5725d4
Merge pull request #9310 from demarches-simplifiees/feat-graphql-dossier-corrections
...
API graphql: expose les demandes de corrections
2023-07-21 22:00:42 +00:00
Paul Chavard
aa4865d566
Merge pull request #9332 from demarches-simplifiees/9062-flash-forbidden-access
...
rend plus actionnable message d'erreur
2023-07-21 14:49:05 +00:00
Colin Darie
caf41a82e6
feat(graphql): can flag pending correction with "dossier envoyer message"
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2023-07-21 16:45:47 +02:00
Colin Darie
873218222c
feat(graphql): returns dossier & message correction status
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2023-07-21 16:45:47 +02:00
Colin Darie
5998cfe31f
refactor(correction): rename kind => reason with default correction => incorrect
2023-07-21 16:45:47 +02:00
Lisa Durand
385d4b4fa5
fix search and add system spec
2023-07-20 17:13:22 +02:00
Lisa Durand
68ca0a4f0d
Merge pull request #9323 from demarches-simplifiees/make-publication-page-clearer-for-admin
...
ETQ administrateur, je souhaite que la page "publier" soit plus claire
2023-07-20 14:04:28 +00:00
Christophe Robillard
20d0585e31
rend plus actionnable message d'erreur
2023-07-19 18:16:04 +02:00
krichtof
753731cc53
Merge pull request #9259 from demarches-simplifiees/9189-merge-api-tokens
...
ajoute les jetons api lors de la fusion d'un compte administrateur
2023-07-19 12:04:19 +00:00
krichtof
4862cc2be8
Merge pull request #9326 from demarches-simplifiees/9242-api-entreprise-recipient
...
send service siret as recipient
2023-07-19 09:31:11 +00:00
Christophe Robillard
619dfd5553
send service siret as recipient
2023-07-19 10:08:44 +02:00
Paul Chavard
4f4e68719a
Merge pull request #9275 from tchak/validate-geo-json
...
ETQ Instructeur, je veux que les GeoJSON déposés par les utilisateurs soient valides
2023-07-19 08:01:01 +00:00
Paul Chavard
47dc2cba9c
Merge pull request #9325 from tchak/fix-dpo-lien-validation
...
fix(procedure): accept dpo emails with accents
2023-07-18 16:27:49 +00:00
Paul Chavard
04b3a70108
feat(champ): validate GeoJSON
2023-07-18 18:01:29 +02:00
Paul Chavard
1882f652d5
fix(dossier): do not create groupe instructeur assignements on brouillons
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
e8e9857dda
style(reaffectation): apply dsfr to buttons
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
0e58e10b82
refactor(DossierAssignment): move create_assignment to assign_to_groupe_instructeur
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
96d17d03ec
feat(DossierAssignment): create assignments when admin reaffect all dossiers
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
082db0ed02
feat(DossierAssignment): create Assignment when admin reaffect dossiers
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
f619fdfb19
feat(DossierAssignment): add reaffectations to presonnes impliquees view
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
ac2043e920
feat(DossierAssignment): create assignment when manual assignment by instructeur
2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
c09655a07f
feat(DossierAssignment): create assignment from routing engine
2023-07-18 16:54:00 +02:00
Paul Chavard
dc567568b6
Merge pull request #9317 from demarches-simplifiees/9204-entreprise-raison-sociale-ei
...
indique nom et prénom de l'EI comme raison sociale
2023-07-18 13:49:25 +00:00
Paul Chavard
08f0184700
fix(procedure): accept dpo emails with accents
2023-07-18 15:16:31 +02:00
simon lehericey
ad7fa39b62
feat(user): block login when .. blocked
2023-07-18 14:10:40 +02:00
Lisa Durand
62382b1209
fix tests
2023-07-18 10:59:09 +02:00
Christophe Robillard
18f5c2a9ad
merge only v3 api tokens
2023-07-17 16:35:07 +02:00
Christophe Robillard
67b9bb264a
build raison sociale from nom and nom
2023-07-14 16:19:44 +02:00
Lisa Durand
77bdbf45bc
Merge pull request #9308 from demarches-simplifiees/add-tabs-for-instructeur-index-procedures
...
ETQ instructeur mes démarches sont filtrées par onglet pour les retrouver plus facilement
2023-07-13 08:49:23 +00:00
Lisa Durand
fced4194d6
add tabs to filter procedures on index for instructeur
2023-07-12 12:38:41 +02:00
Lisa Durand
3e30834644
Merge pull request #9274 from demarches-simplifiees/bach-operation-all-instruction-actions
...
[Actions multiples] Ajouter la possibilité pour les instructeurs de classer sans suite et refuser
2023-07-12 09:43:29 +00:00
Martin
ce9dbed663
amelioration(NotificationMailer): sort la creation des commentaire sur la messagerie du mailer [trop de prob possible sinon: au retry on dupliquait les commenaitres, si le mail foirait, on commentait pas etc...]
2023-07-11 15:11:40 +02:00
Lisa Durand
d806495f66
Merge pull request #9298 from demarches-simplifiees/fix-bug-search-for-dossiers-invites
...
[bug] fix de la barre de recherche pour les dossiers invités
2023-07-11 12:57:04 +00:00
Lisa Durand
16c2cdee8a
fix dossier invites search
2023-07-11 11:03:02 +02:00
Colin Darie
07432503a7
Merge pull request #9291 from colinux/stats
...
Stats: ignore aperçus, brouillons en construction & dossiers des démarches en brouillon
2023-07-11 08:36:12 +00:00
Colin Darie
0d106cdf4b
Merge pull request #9104 from colinux/sva
...
ETQ admin je peux configurer ma démarche en SVA/SVR
2023-07-11 08:21:46 +00:00
Colin Darie
4aaf5566c3
feat(sva): more details with example dates on procedure description
2023-07-11 10:02:47 +02:00
Colin Darie
73a28d2eca
fix(sva): don't process dossiers submitted before sva was enabled
2023-07-11 10:02:47 +02:00
Colin Darie
7225f1b023
fix(sva): not compatible with declarative procedure
2023-07-11 10:02:47 +02:00
Colin Darie
e1b21f980f
feat(sva): pending correction email mention sva/svr
2023-07-11 10:02:47 +02:00
Colin Darie
4c46a2f8da
feat(sva): date in pdf
2023-07-11 10:02:47 +02:00
Colin Darie
8c49dcf21e
feat(sva): exports include SVA devision date
2023-07-11 10:02:47 +02:00
Colin Darie
f369775d5b
fix(sva): compute decision date from the day after deposit or resolution
2023-07-11 10:01:49 +02:00
Colin Darie
b4e6c20bbd
feat(sva): log operation when instructeur requests a correction
2023-07-11 10:01:49 +02:00
Colin Darie
512f6ca0ec
feat(sva): reset start date when on a correction "incomplete"
2023-07-11 10:01:49 +02:00
Colin Darie
6ce8428ac6
feat(sva): instructeur can flag a dossier as incomplete
2023-07-11 10:01:48 +02:00
Colin Darie
168189c3ac
feat(sva): instructeurs can filter by sva/svr decision before a date
2023-07-11 10:01:48 +02:00
Colin Darie
f1504e9724
feat(sva): instructeurs dashboard sva/svr colonnes with multiple use cases
2023-07-11 10:01:47 +02:00
Lisa Durand
e43eea7fcf
display sva date and possibility to order in instructeur table
2023-07-11 10:01:47 +02:00
Lisa Durand
d7b0b1c01f
feat(sva): display encart SVA on procedure description when needed
2023-07-11 10:01:47 +02:00
Colin Darie
d70278a534
refactor(sva): dossier can't repasser en construction without pending correction
2023-07-11 10:01:47 +02:00
Colin Darie
30df476791
fix(sva): ensure "en construction" + "en instruction" notifications when submitting at submission
...
Pour le moment on conserve les 2 emails car l'email en construction
contient des informations spécifiques :
- l'attestation de dépôt
- potentiellement un contenu spécifique car il provient d'un template
Même remarque pour les démarches déclaratives.
2023-07-11 10:01:47 +02:00
Colin Darie
4bdd4310ab
feat(sva): calculcate decision date with corrections delays & resume methods
2023-07-11 10:01:47 +02:00
Colin Darie
5db80ee6de
feat(sva): cron accepts dossiers for each sva procedure
2023-07-11 10:01:47 +02:00
Colin Darie
3612eddf79
feat(sva): accepte automatiquement
2023-07-11 10:01:46 +02:00
Colin Darie
eb7f1f199a
feat(sva): block configuration changes when procedure is published
2023-07-11 10:01:46 +02:00
Colin Darie
afe373c6b4
feat(sva): transition to en_instruction when (re-)submitting a dossier
2023-07-11 10:01:46 +02:00
Colin Darie
8c52c4f63f
feat(sva): date calculator service for a dossier and a procedure
2023-07-11 10:01:46 +02:00
Colin Darie
8c210e6fc7
feat(admin): config sva/svr
2023-07-11 10:01:45 +02:00
Paul Chavard
95f7ca0f44
fix(cojo): invalid accreditation should result in a blank champ
2023-07-10 19:15:39 +02:00
Colin Darie
e2a9978c26
Merge pull request #9294 from colinux/fix-entreprise-without-siret-siege
...
Fix (demande): pas d'erreur lorsque l'entreprie n'a pas de SIRET associé au siège social
2023-07-10 14:09:23 +00:00
Colin Darie
e47761860a
fix(demande): don't crash when siret siege social is missing
2023-07-10 15:41:50 +02:00
Colin Darie
6cf9ea6459
Merge pull request #9256 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile-part-2
...
[refonte usager] Tableau de bord - Changer design de tableau à tuiles
2023-07-10 13:28:51 +00:00
Colin Darie
aa8bef48b0
fix(stat): ignore forks, previews & dossiers from draft procedures
2023-07-10 15:16:56 +02:00
Paul Chavard
d5820277c0
feat(cojo): add cojo type de champ
2023-07-10 14:57:34 +02:00
Paul Chavard
c74351459e
feat(champ): add result error handling to ChampFetchExternalDataJob
2023-07-10 14:57:34 +02:00
Lisa Durand
b41a3586ff
fix specs
2023-07-10 14:55:20 +02:00
Lisa Durand
0a0665bb4d
feedback PR Colin
2023-07-10 10:53:07 +02:00
Lisa Durand
6738dcf080
change design from table to cards for usager for deleted dossier tab
2023-07-10 10:53:07 +02:00
Lisa Durand
77240f40c8
fix specs
2023-07-10 10:53:07 +02:00
Lisa Durand
3d20ef6af9
remove specific partial for dossier transfers and use Dossier instead od DossierTransfer
2023-07-10 10:53:07 +02:00
Lisa Durand
e1ece91bb3
harmonize card admin
2023-07-10 10:53:07 +02:00
Colin Darie
d2f1af0830
Merge pull request #9281 from colinux/demande-usager-layout
...
ETQ usager/instructeur: augmente le contraste entre libellés et réponses sur la page de la demande
2023-07-10 08:31:34 +00:00
Colin Darie
f4f036ce81
fix(demande): extract missing i18n title
2023-07-10 10:17:12 +02:00
Colin Darie
0b01c44025
fix(demarche): show notice download link
2023-07-06 13:38:00 +02:00
Lisa Durand
e1c7f2ac6f
fix specs
2023-07-06 11:30:10 +02:00
Colin Darie
6fa7ed1c1f
Merge pull request #9279 from colinux/fix-email-default-template
...
Correctif: utilise le template d'email de notification par défaut quand la démarche n'a pas personnalisé le sien
2023-07-06 09:30:04 +00:00
Colin Darie
edc790be8f
test: remove false positive warning about expect.not_to raise(SpecificError) syntax
2023-07-06 10:56:01 +02:00
Colin Darie
1da1e67067
fix(mail): use default template when no custom template was found
2023-07-06 10:53:11 +02:00
Paul Chavard
9cfbc75f25
spec(procedure): test url validator
2023-07-06 10:27:43 +02:00
Colin Darie
3340b504d7
Merge pull request #9272 from colinux/demande-instructeur-columns
...
ETQ usager/instructeur: repasse l'affichage demande en 2 colonnes
2023-07-04 16:57:24 +00:00
Colin Darie
c83cc048c6
Merge pull request #9269 from mfo/US/text-merge-fork-with-revision-removing-repetition
...
Test: merge_fork d'un dossier étant sur une revision passée avec une répétition qui a été supprimée
2023-07-04 12:21:31 +00:00
Lisa Durand
b2ba15a277
add specs
2023-07-04 11:40:11 +02:00
Eric Leroy-Terquem
f959450477
Merge pull request #9244 from demarches-simplifiees/refactor-routing-update
...
Tech : mise à jour du routage sans callback
2023-07-04 09:39:00 +00:00
Lisa Durand
3577bcbffa
make batch instruction button disable
2023-07-04 11:13:39 +02:00
Colin Darie
2476fa7eb8
test(champs): remove obsolete test about updated champ of routed procedure
2023-07-04 10:47:41 +02:00
Colin Darie
e899fe5f5f
style(demande): layout with 2 columns
2023-07-04 10:47:41 +02:00
Eric Leroy-Terquem
0c3426228f
feat(routing): to_configure include invalid_rule and non_unic_rule
2023-07-04 10:04:35 +02:00
Eric Leroy-Terquem
b059e905cd
feat(routing): add warning for groups with same rule
2023-07-04 09:53:00 +02:00
Eric Leroy-Terquem
7fe4ec67c3
update previous routing system tests
2023-07-03 14:58:45 +02:00
Eric Leroy-Terquem
7598b0a513
remove previous routing sytem code
2023-07-03 14:58:45 +02:00
Eric Leroy-Terquem
a2c636d784
fix(tests): create groupe instructeurs with factory
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
16676a3d3f
test(groupe instructeur): toggle routing in after create in factory
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
d6fea4ed95
refactor(routing): toggle routing when custom routing
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
520050933e
refactor(routing): toggle routing when simple routing
2023-07-03 14:47:56 +02:00
Martin
5c9101d15f
bug(merge_fork): un dossier etant sur une revision passee avec une repetition qui a ete supprime ne peut merge_fork
2023-06-30 14:25:23 +02:00
Martin
dfb525892a
amelioration(instructeurs/dossiers/show): ETQ instructeur, je vois les champs saisi, les champs qui ont ete vidé apres le depot du dossier, je ne vois pas les champs facultatif jamais saisis
2023-06-29 07:59:32 +02:00
Christophe Robillard
faecefe405
merge admin api tokens
2023-06-28 13:37:33 +02:00
Paul Chavard
f3a5e0e6d7
Merge pull request #9219 from tchak/fix-departement-filters
...
ETQ Instructeur, je voudrais que les filtres fassent la différence entre les Bouches-du-Rhône et le Rhône
2023-06-28 09:42:50 +00:00
Colin Darie
10a37793be
Merge pull request #9252 from colinux/fix-demande-updated-at
...
ETQ usager/instructeur: fix date de modification du dossier
2023-06-28 08:46:39 +00:00
Eric Leroy-Terquem
97949fc168
fix(typo) adresse électronique
2023-06-28 10:24:37 +02:00
Paul Chavard
f7e81965b1
fix(instructeur): filter by departement or region should use code instead of name
2023-06-28 10:14:34 +02:00
Colin Darie
0cec8947d9
chore(demande): no facultatif word on instructeur profile
2023-06-28 09:55:57 +02:00
Paul Chavard
d03f5ce5f3
chore(api-geo): update api-geo data
2023-06-28 09:44:21 +02:00
Paul Chavard
02dcead04a
fix(commune): add fallbacks to commune name resolution
2023-06-28 09:44:21 +02:00
Martin
a0ceee96bd
amelioration(email.resume_hebdomadaire): envoie le mail a 4h du matin sur une periode de 3h
...
tech(
Co-authored-by: Colin Darie <colin@darie.eu>
2023-06-26 17:47:53 +02:00
Martin
d45a250075
amelioration(mail): ajoute d'un simili rate limiter pour envoyer les mails sur des fenetres de temps ayant une limite
2023-06-26 17:28:27 +02:00
mfo
8282403c07
Merge pull request #9030 from mfo/8164-additional-visible-content
...
ETQ usager, la page resumant ma demande est aux couleurs du DSFR
2023-06-26 09:44:01 +00:00
Eric Leroy-Terquem
3f55c71bc8
Merge pull request #8658 from E-L-T/notify-instructeur-when-added-or-removed-from-api
...
feat(API): notify instructeurs when added or removed from procedure
2023-06-26 09:37:15 +00:00
Lisa Durand
34609ffffe
Merge pull request #9210 from demarches-simplifiees/design-harmonize-header-admin
...
[design ADMIN] Mettre le libellé de la procédure en h1 et harmoniser le header
2023-06-26 08:15:15 +00:00
Colin Darie
8501fbadbb
fix(dossier): can merge fork after rebase adding a champ in repetition
2023-06-23 00:22:32 +02:00
Martin
43c6f03d10
amelioration(users/dossiers#demande): passage a la nouvelle ui/ux
...
wip
2023-06-22 16:54:17 +02:00
Lisa Durand
9c89719a51
fix specs
2023-06-22 15:52:21 +02:00
Lisa Durand
9338a73362
add possibility to override generated pj list by admin
2023-06-22 09:50:38 +02:00
Paul Chavard
e509ff1717
fix(dossier): do not send notifcations to deleted users
2023-06-21 09:52:38 +01:00
mfo
ab1399da57
Merge pull request #9209 from mfo/US/intercept-email-delivering
...
amelioration(email_event): re-lever une erreur dans un rescue_from ne la fait pas remonter. change de stratégie pour savoir si oui ou non un mail a ete envoye avec success.
2023-06-20 14:55:49 +00:00
Martin
9b2d05b8a1
amelioration(email_event): re-lever une erreur dans un rescue_from ne la fait pas remonter. change de stratégie pour savoir si oui ou non un mail a ete envoye avec success.
2023-06-20 13:39:29 +02:00
Colin Darie
33617a4c44
test: ensure travel_back is automatically called at the right time
2023-06-20 00:04:55 +02:00
Colin Darie
acc6456b08
Merge pull request #9201 from demarches-simplifiees/user-dashboard/add-filter-a-corriger
...
[refonte usager] Tableau de bord - remonter les dossiers à corriger
2023-06-19 19:21:32 +00:00
Colin Darie
7023284726
Merge pull request #9195 from colinux/job-declarative-dossier-unit
...
Jobs: traite en isolation les dossiers bloqués de démarches déclaratives
2023-06-19 14:44:59 +00:00
Lisa Durand
7ee62a170d
harmonize admin header for dashboard view
2023-06-19 15:42:24 +02:00
Eric Leroy-Terquem
be4f8f57ab
Merge pull request #9093 from demarches-simplifiees/rerouter-un-dossier
...
ETQ instructeur je peux réaffecter un dossier à un autre groupe d'instructeurs
2023-06-16 12:01:10 +00:00
Lisa Durand
bcc37f4130
change states filter from checkbox to select and add 'a_corriger'
2023-06-15 18:17:36 +02:00
Lisa Durand
f4e33c068b
Merge pull request #9121 from demarches-simplifiees/add-detail-on-PJ-on-description-procedure-page
...
[Refonte page accueil demarche] Ajouter les infos concernant les PJ
2023-06-15 12:52:50 +00:00
Eric Leroy-Terquem
18054fe346
feat(routing): add view for dossier a reaffecter
2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
e7e702a574
feat(routing): add reaffecter_un_dossier
2023-06-15 14:34:01 +02:00
Paul Chavard
c1afc985e4
fix(prefill): allow private annotations prefill
2023-06-15 10:07:25 +01:00
Paul Chavard
10524643fb
fix(hack): fix and test hack for procedures using groupe instructeur api
2023-06-14 19:24:58 +01:00
Colin Darie
17f5fb4a51
refactor(declarative): process dossier in job isolation
2023-06-14 12:06:22 +02:00
Colin Darie
f675d2d1a7
Merge pull request #9196 from colinux/fix-admin-publication-errors
...
ETQ admin je veux voir les erreurs lorsque la (re-)publication échoue
2023-06-14 09:56:46 +00:00
Paul Chavard
b3aeb46c1b
fix(prefill): it should be possible to prefill a dossier on a test procedure
2023-06-14 09:14:12 +01:00
Colin Darie
889940af2a
fix(administrateur): renders errors when publication fails
2023-06-13 19:11:59 +02:00
Lisa Durand
d2f91a6405
add list of PJ in procedure description
2023-06-13 10:58:05 +02:00
Kara Diaby
804f89f444
Changements sur le caractère obligatoire / facultatif et l'asterisque interface usager et page de connexion
2023-06-12 14:43:10 +00:00
Eric Leroy-Terquem
0d1754d715
Merge pull request #9153 from demarches-simplifiees/fix-typos
...
Correction de coquilles et fautes d'orthographe
2023-06-12 14:10:33 +00:00
Eric Leroy-Terquem
90b11ebe9c
Merge pull request #9146 from demarches-simplifiees/update-ui-when-adding-group
...
Mise a jour de l'UX de la page groupe d'instructeurs
2023-06-12 13:56:19 +00:00
Eric Leroy-Terquem
dd1b67bbc7
UI(groupe instructeur): update heading level and wording
2023-06-12 15:32:02 +02:00
Eric Leroy-Terquem
0164b5f008
fix tests after typos corrections
2023-06-12 15:13:25 +02:00
Paul Chavard
6723bdcd9d
fix(carto): no crash on points with elevation
2023-06-12 14:56:52 +02:00
Colin Darie
9d8ad9b3d8
Merge pull request #9160 from colinux/improve-instructeurs-filter-date
...
ETQ instructeur je lis la date d'un filtre dans un format "humain"
2023-06-12 12:22:51 +00:00
simon lehericey
44859b8217
fix(user dossiers index): do not crash with a deleted dossier and a discarded procedure
2023-06-12 13:57:28 +02:00
Colin Darie
75b2685230
fix(instructeurs): human format a filtered date
2023-06-08 19:01:23 +02:00
Paul Chavard
6945b3f438
fix(carte): no autosave on champ carte
2023-06-06 16:46:32 +02:00
Paul Chavard
c4432b1b47
perf(carto): use json schema to validate geojson instead of rgeo
2023-06-06 15:43:56 +02:00
Lisa Durand
968f05f648
Merge pull request #9107 from demarches-simplifiees/remove-previsualisation-from-admin-procedure-creation
...
[Refonte page accueil demarche] Formulaire de création admin full page - plus de prévisualisation
2023-06-05 12:10:31 +00:00
Colin Darie
66dc8f251f
Merge pull request #9128 from colinux/fix-procedure-presentation-show-avis
...
ETQ instructeur je veux pouvoir afficher sans erreur la colonne "avis"
2023-06-05 08:53:39 +00:00
Colin Darie
7e567d5080
fix(instructeurs): don't crash when displaying "avis" column
2023-06-02 17:07:02 +02:00
Colin Darie
7f871728c7
refactor(message): badges à corriger/en attente/corrigé when related to a correction
2023-06-02 16:18:33 +02:00
Colin Darie
52c8553576
fix(dossier_correction): don't allow to save with a missing (invalid) commentaire
2023-06-02 16:18:33 +02:00
Colin Darie
fd4a9a6a2f
refactor(instruction): menu repasser en construction + demander une correction
2023-06-02 16:18:32 +02:00
Colin Darie
3c4ea6f8cf
refactor(instructeur): instruction menu as component
2023-06-02 16:18:31 +02:00
Colin Darie
734d88d80d
fix(pending-correction): wording alignement
2023-06-02 16:16:14 +02:00