Paul Chavard
5abb6a8f12
chore(spec): remove memory store cache from tests
2023-04-13 13:10:23 +02:00
Paul Chavard
98caf41a36
fix(dossier): find communes outside of departement
2023-04-13 13:09:56 +02:00
Paul Chavard
21b548d32b
fix(dossier): delete all champs starting with children
2023-04-13 11:08:10 +02:00
simon lehericey
a5200a569f
feat(routing): task to backfill procedure.defaut_groupe_instructeur_id
2023-04-13 10:44:06 +02:00
simon lehericey
f6948cfd5e
feat(routing): record first groupe as default_groupe_instructeur
2023-04-13 10:36:42 +02:00
simon lehericey
c02319aa56
feat(routing): reset value if target as changed
2023-04-13 10:28:53 +02:00
simon lehericey
8b832396a3
feat(routing): server side: prevent changing tdc type if used for routing
2023-04-13 10:28:52 +02:00
Eric Leroy-Terquem
9ea75a5bd1
feat(routing): ui side: prevent changing tdc type if used for routing
2023-04-13 10:28:52 +02:00
simon lehericey
c1f67499aa
feat(routing): server side: prevent tdc deletion if used for routing
2023-04-13 10:28:52 +02:00
simon lehericey
213d463ff4
feat(routing): small UI polish
2023-04-13 10:28:52 +02:00
Eric Leroy-Terquem
c4d64d9775
feat(routing): add message if no type de champs routable
2023-04-13 10:28:52 +02:00
simon lehericey
80b5f6bc1d
feat(champ_component): add errors banner
2023-04-13 10:28:52 +02:00
simon lehericey
362c220587
fix(champ_component): enable preview
2023-04-13 10:28:52 +02:00
krichtof
78938b5a07
filter demarches by siret service
2023-04-12 18:53:57 +02:00
Lisa Durand
bc3e67ab94
add alert on user dashboard to edit last editable dossier
2023-04-11 15:50:17 +02:00
Paul Chavard
def32a3615
chore(dossier): remove fallback from commune champ
2023-04-11 10:49:01 +02:00
Colin Darie
54c9690289
Merge pull request #8886 from colinux/fix-delete-admin-without-published-procedure
...
fix(admin): peut supprimer un admin sans démarche publiée, sans service
2023-04-11 07:17:54 +00:00
Colin Darie
a413d2fa9c
fix(admin): can delete an admin without published procedure
2023-04-07 16:10:10 +02:00
Paul Chavard
a6e3ea4839
fix(dossier): normalize champs commune data
2023-04-07 16:02:13 +02:00
Paul Chavard
0d1aa5cf96
Merge pull request #8867 from tchak/feat-graphql-commune-type
...
feat(graphql): expose commune and departement information on address
2023-04-07 10:35:32 +00:00
Paul Chavard
aaae3f461d
feat(graphql): expose commune and departement information on address
2023-04-07 12:13:41 +02:00
Paul Chavard
207ce21327
fix(dossier): instructeur actions should be buttons and not links
2023-04-07 12:12:15 +02:00
Paul Chavard
0b95a912c6
Merge pull request #8858 from tchak/feat-refactor-dossier-link-champ
...
feat(dossier): use turbo to select linked dossier
2023-04-07 08:49:11 +00:00
Paul Chavard
79fee39888
Merge pull request #8872 from tchak/fix-champ-multiselect
...
fix(dossier): selecting blank option should not empty selection
2023-04-06 14:32:35 +00:00
Paul Chavard
ffb332159f
fix(dossier): selecting blank option should not empty selection
2023-04-06 15:24:52 +02:00
Paul Chavard
a2f7d1df72
fix(graphql): pendingDeletedSince should not crash
2023-04-06 15:07:48 +02:00
Paul Chavard
6511836f2d
Merge pull request #8865 from tchak/graphql-improuve-logs
...
feat(graphql): improuve logs
2023-04-05 12:34:36 +00:00
Paul Chavard
a5733002ed
feat(graphql): improuve logs
2023-04-05 13:56:26 +02:00
Paul Chavard
b8f639721e
Merge pull request #8864 from colinux/fix-date-not-parseable
...
fix(date): ne crash pas lorsqu'un champ date n'as pas une date standard
2023-04-05 11:48:48 +00:00
Colin Darie
5e62aa7d21
fix(date): don't crash when date value is not parseable
2023-04-05 12:42:28 +02:00
Paul Chavard
52c8b0b297
feat(dossier): use turbo to select linked dossier
2023-04-05 11:40:03 +02:00
Paul Chavard
dee0952b2a
fix(graphql): demandeur personne morale can be in degraded mode
2023-04-05 11:20:18 +02:00
Paul Chavard
a778e1083b
fix(graphql): return better errors when dossiers cannot change state
2023-04-04 17:24:30 +02:00
Martin
6039539727
bug(administrateur.merge): la fusion de compte entre admin devrait aussi dissocier les services des procedures supprimées
2023-04-04 16:29:24 +02:00
Paul Chavard
2a48228552
fix(dossier): improuve commune champ rendering in pdf
2023-04-04 16:01:16 +02:00
Paul Chavard
12f0c03bac
Merge pull request #8847 from tchak/feat-improuve-dossier-remove
...
fix(dossier): an invited user can remove (leave) a dossier
2023-04-04 13:10:18 +00:00
mfo
2c32e38383
Merge pull request #8851 from demarches-simplifiees/fix_condtion_check_on_children
...
fix(condition_check_on_children): give proper upper tdc to child cond…
2023-04-04 08:48:02 +00:00
simon lehericey
fd927fd116
fix(condition_check_on_children): give proper upper tdc to child condition check
2023-04-04 10:24:11 +02:00
Lisa Durand
dde64415ae
Merge pull request #8845 from demarches-simplifiees/remove-dossiers-termines-from-avis-views
...
[bug] retirer les notifications + compteur des avis pour les dossiers terminés
2023-04-04 08:20:48 +00:00
Paul Chavard
0864666d0a
fix(dossier): an invited user can remove (leave) a dossier
2023-04-03 20:10:44 +02:00
Lisa Durand
2f012578eb
remove dossier termine from avis views
2023-04-03 18:20:17 +02:00
Paul Chavard
fce78bbf30
feat(dossier): multiselect without react
2023-04-03 16:54:50 +02:00
Paul Chavard
b3f58a24cb
fix(dossier): add value_json to dossier projection
2023-04-03 16:25:32 +02:00
Paul Chavard
8945777b56
Merge pull request #8835 from tchak/fix-champ-commune
...
fix(commune): improuve label and error message
2023-04-03 09:56:57 +00:00
Paul Chavard
b0673c0127
Merge pull request #8837 from demarches-simplifiees/bug-special-character-in-email
...
[fix] bug dans le sujet des mails de notification si le libelle de la procedure contient un apostrophe
2023-04-03 09:39:13 +00:00
Paul Chavard
ed62d171ce
fix(commune): improuve label and error message
2023-04-03 11:24:32 +02:00
mfo
4336184fc8
Merge pull request #8833 from mfo/US/fix-valid-conditions-on-repetition
...
correctif(revision.validation-des-conditions): les conditions dans un bloc répétable ne remontenpt pas dans le composant ErrorsSummary
2023-03-31 15:03:12 +00:00
Lisa Durand
e1260a3df8
fix wrong encoding of special character in email notification subject
2023-03-31 16:58:41 +02:00
mfo
54d88e7dd0
Merge pull request #8699 from mfo/US/8661
...
a11y(bloc-repetable): amélioration des interactions avec les répétitions d'un bloc répétable
2023-03-31 14:39:23 +00:00
LeSim
b003fd8be8
Merge pull request #8774 from E-L-T/add-routing-to-groupe-instructeurs
...
Add routing rules to groupe instructeurs
2023-03-31 10:16:51 +00:00
Martin
92f5e7663e
bug(validation-des-conditions): les conditions dans un bloc repetable ne remontent pas dans la liste des erreurs de la page formulaire ou sur les changements du formulaire
2023-03-31 10:31:34 +02:00
Martin
a3f1e1926a
a11y(bloc-repetable): ETQ usager qui navigue au clavier, lorsque j'ajoute un champs repetable, le focus vient sur le 1er champs du bloc repetable
2023-03-31 08:51:39 +02:00
Lisa Durand
630742ee94
fix test
2023-03-30 17:54:14 +02:00
Colin Darie
e36dc19cc4
fix(explication): render collapsible text into collapse element
2023-03-30 12:46:31 +02:00
simon lehericey
41cb62b5c7
add full system spec
2023-03-30 12:31:48 +02:00
Eric Leroy-Terquem
6f6bbd6ca1
feat(routing): put routing logic behind a feature flag
2023-03-30 10:52:53 +02:00
Eric Leroy-Terquem
6dfe54479d
test(routing): can route from a dropdown list
2023-03-30 10:51:48 +02:00
simon lehericey
3cede55d41
feat(routing): add routing engine
2023-03-30 10:51:20 +02:00
simon lehericey
b93e3776c4
feat(routing): add controller
2023-03-30 10:51:20 +02:00
simon lehericey
f6738be454
fix(spec): small refactor
2023-03-30 10:51:20 +02:00
Paul Chavard
01602101f1
spec(commune): improuve spec
2023-03-29 15:42:33 +02:00
Paul Chavard
00fc2f519f
chore(spec): fix commune spec
2023-03-29 15:42:33 +02:00
Colin Darie
f274748acd
Merge pull request #8820 from colinux/fix-autolink-renderer
...
Fix: autolink manuellement les liens qui ne sont pas des urls
2023-03-29 15:42:33 +02:00
mfo
8efd191e0f
Merge pull request #8817 from mfo/US/fix-expert-export
...
correctif(export.pdf): ETQ expert, lorsque j'exporte un dossier au format PDF, celui ci contenient les avis non confidentiels ainsi que mes avis
2023-03-29 15:42:33 +02:00
Colin Darie
49e016ba58
fix: handle all autolinks manually
...
On ne peut pas appeler super() qui est en méthode en C, pas en ruby.
Donc on doit gérer manuellement les cas possibles.
2023-03-29 15:42:33 +02:00
Colin Darie
6ddbda34a2
fix(avis): don't list question_answer radios on empty question
2023-03-29 15:42:33 +02:00
Martin
c6e9674de2
correctif(export.pdf): ETQ expert, lorsque j'exporte un dossier au format PDF, celui ci contenient les avis non confidentiels ainsi que mes avis
2023-03-28 17:16:34 +02:00
Martin
4f9c45c489
bug(export.pdf): ETQ expert, lorsque j'exporte un dossier, celui ci devrait contenir les avis non confidentiels ainsi que mes avis
2023-03-28 16:55:12 +02:00
Paul Chavard
76da68c3fb
feat(commune): prefill by postal code and insee
2023-03-28 16:34:19 +02:00
Paul Chavard
a4e96d5256
feat(apigeo): add communes_by_postal_code method
2023-03-28 16:34:19 +02:00
Colin Darie
4865fb368f
fix(avis): don't list question_answer radios on empty question
2023-03-28 15:38:13 +02:00
Colin Darie
b26f477fe1
Merge pull request #8810 from demarches-simplifiees/ask-avis-remove-specific-css-v2
...
[UX] améliorer UX de la demande d'avis - partie 2 CSS
2023-03-27 14:02:13 +00:00
Lisa Durand
0424f9dff8
merge avis_list view expert and instructeur
2023-03-27 14:59:49 +02:00
Kara Diaby
4a13c64b38
tests
2023-03-27 14:14:18 +02:00
Lisa Durand
d079f3ac98
Merge pull request #8770 from demarches-simplifiees/ask-question-in-avis-ux-part
...
[UX] améliorer UX de la demande d'avis
2023-03-24 10:50:33 +00:00
Paul Chavard
275150d727
feat(graphql): expose pendingDeletedDossiers
...
fix #8785
2023-03-22 19:40:43 +01:00
Colin Darie
a96ccba92c
Merge pull request #8798 from colinux/fix-simple-renderer-missing-title
...
a11y: ajoute l'attribut title précisant l'ouverture dans un nouvel onglet dans le simple renderer
2023-03-22 15:47:17 +00:00
Colin Darie
40a303f6a6
fix(a11y): add a title in simple renderer links and autolinks
...
Closes #8095
2023-03-22 14:05:06 +01:00
Paul Chavard
6b8f7a0c73
Merge pull request #8795 from tchak/fix-flaky-test
...
fix(api_token): improuve flaky test
2023-03-22 11:01:25 +00:00
Lisa Durand
aa9c94a20e
fix display in view and export if answer is 'no'
2023-03-22 11:56:52 +01:00
Paul Chavard
ee1df3f05f
fix(dossier): fix rebasing submitted dossiers private champs type changes
2023-03-22 11:43:08 +01:00
Paul Chavard
48733a1d15
fix(api_token): improuve flaky test
2023-03-22 11:18:49 +01:00
Lisa Durand
4a2982dc37
fix tests and linter
2023-03-22 09:30:26 +01:00
Lisa Durand
c1b5daadef
remove unused view and routes from instructeurs avis
2023-03-22 09:30:26 +01:00
Lisa Durand
f27e362cae
fix validation of yes-no question in avis
2023-03-21 17:07:05 +01:00
Colin Darie
954652fcf5
fix(champ): may fix pg deadlocks: autosave already saves value at the same time
2023-03-20 14:32:14 +01:00
Lisa Durand
893ee5801e
Merge pull request #8743 from demarches-simplifiees/ask-question-in-avis
...
[instructeurs] Je peux poser une question dans une demande d'avis
2023-03-17 15:10:51 +00:00
simon lehericey
ca63cc34ab
feat(token depreciation): add mail alert
2023-03-16 16:16:45 +01:00
Lisa Durand
ee2f795dec
pr feedbacks - add validation for yes/no answer - improve locales use
2023-03-16 11:32:05 +01:00
Lisa Durand
3b3d5182bf
add new column to spreadsheets
2023-03-16 11:32:05 +01:00
Lisa Durand
38c84115e6
reorganise file order for more consistency
2023-03-16 11:32:05 +01:00
Lisa Durand
eddd7a2192
add flash alert if email field empty
2023-03-16 11:32:05 +01:00
Lisa Durand
01afa998b6
add specs
2023-03-16 11:32:05 +01:00
Paul Chavard
4ba3c0e650
fix(graphql): return empty array when no attachments
2023-03-16 10:59:08 +01:00
Paul Chavard
8ee13f1719
feat(api_token): add allowed_procedure_ids and write_access
2023-03-15 19:09:49 +01:00
Colin Darie
b628cf85cd
feat(siret): render siret formatted like INSEE
2023-03-15 12:43:56 +01:00
Colin Darie
37afd142cb
fix(entreprise): don't leak entreprise name if it's not diffusable
2023-03-15 12:43:56 +01:00
Paul Chavard
cbaa77fca7
feat(annotations): activate autosave
2023-03-14 15:22:13 +01:00
mfo
df05c4fbc5
Merge pull request #8754 from mfo/US/fix-duree-conservation-dans-ds
...
correctif(procedure.maj): quand la duree conservation dans ds est supérieur a 12, on ne pouvait plus mettre a jour la procedure
2023-03-10 09:28:31 +00:00
Lisa Durand
1f03130d52
Merge pull request #8728 from demarches-simplifiees/revoke-usager-transfert-demande
...
[usager] peut révoquer une demande de transfert
2023-03-10 09:21:59 +00:00
Martin
4ac498392c
bug(procedure.maj): impossible de mettre a jour une procedure avec une duree de conservation supérieur a 12 mois
2023-03-10 10:16:36 +01:00
Colin Darie
6a2a7fa2d0
Merge pull request #8753 from colinux/fix-auto-numering-in-repetition
...
Fix(dossier): ne numérote pas automatiquement les titres de section dans les répétitions
2023-03-09 15:41:57 +00:00
Colin Darie
88efef0718
Merge pull request #8749 from colinux/fix-tags-persistence
...
Administrateur: ne supprime pas les tags quand on n'interagit pas avec la liste de sélection
2023-03-09 15:25:15 +00:00
Colin Darie
6243e5fb92
Merge pull request #8748 from colinux/fix-clone-estimated-dossier
...
Administrateur: le clone d'une démarche ne copie pas le cache du nombre de dossiers
2023-03-09 15:25:08 +00:00
Colin Darie
f33d192142
fix(dossier): don't auto-number header sections in repetitions
2023-03-09 16:15:56 +01:00
Lisa Durand
6ba47b731b
refacto destroy action and add spec for unauthorized user
2023-03-09 14:58:47 +01:00
Lisa Durand
efcb783c8c
fix system spec with trad
2023-03-09 14:58:47 +01:00
Lisa Durand
3d5bf40c0f
allow transfer sender to revoke a transfer
2023-03-09 14:57:59 +01:00
Colin Darie
c112018ec3
fix(administrateur): tags persistence when non interacting with tags combobox
2023-03-08 11:27:31 +01:00
Eric Leroy-Terquem
9e0753a710
fix(groupe instructeur mailer): do not notify if no added instructeurs
2023-03-08 11:03:33 +01:00
Eric Leroy-Terquem
f317f28ff5
test(groupe instructeurs): use right data (a routed procedure has at
...
least two active groups)
2023-03-08 10:48:02 +01:00
Eric Leroy-Terquem
e1906febcc
feat(groupe instructeur): can enable routing from import
2023-03-08 10:48:02 +01:00
Eric Leroy-Terquem
9f0f5b0dc5
feat(groupe instructeur): allow import of many groups when procedure is not routed yet
2023-03-08 10:48:02 +01:00
Colin Darie
d6887f8aa4
fix(procedure): clone reset estimated_dossiers_count
2023-03-07 19:11:30 +01:00
Martin
401ead47f0
bug(dossier.export.pdf): l'export au format pdf d'un dossier ayant un champ de type repetition contenant un titre est bizarre
2023-03-07 07:00:28 +01:00
mfo
6e86a0e622
Merge pull request #8744 from mfo/US/8737/correctif-export-sans-avis-expert
...
correctif(export.zip): integre les avis dans l'export au format pdf du dossier
2023-03-06 15:35:57 +00:00
Colin Darie
d87495c5fc
Merge pull request #8723 from colinux/fix-failing-jobs
...
Attempts to fix timeout and errors cron jobs
2023-03-06 14:02:55 +00:00
Martin
c470cca9ab
correctif(export.zip): integre les avis dans l'export au format pdf du dossier
2023-03-06 14:58:26 +01:00
Colin Darie
43613009d6
fix(job): Cron::WeeklyOverviewJob simplified and respect dolist API rate limiting
2023-03-06 14:39:55 +01:00
Lisa Durand
875d5b7ce5
Merge pull request #8710 from demarches-simplifiees/use-DSFR-class-badge-for-dossier-states
...
[Design] Implémentation des classes DSFR pour les badges d'état des dossiers
2023-03-06 11:45:42 +00:00
Lisa Durand
d65050ff44
Merge pull request #8701 from demarches-simplifiees/improve-instruction-dropdown
...
[instructeurs] amelioration UX du bouton d'instruction
2023-03-06 10:45:00 +00:00
Colin Darie
35674838d1
Merge pull request #8720 from demarches-simplifiees/feat/8549
...
ETQ administrateur, je souhaite filtrer avec plusieurs tags
2023-03-06 10:19:22 +00:00
Colin Darie
8722ee028d
Merge pull request #8729 from colinux/fix-groupe-instructeur-wrongly-invalid
...
fix(groupe-instructeur): un groupe instructeur inactif est valide tant qu'il reste un groupe actif
2023-03-06 10:13:16 +00:00
Kara Diaby
4ea7bb2f1c
tests
2023-03-03 11:50:47 +01:00
Lisa Durand
72667cb49a
fix tests
2023-03-02 16:37:05 +01:00
Lisa Durand
3aac56042e
fix tests
2023-03-02 16:34:58 +01:00
Lisa Durand
7130ea7e99
fix specs
2023-03-02 16:34:58 +01:00
Colin Darie
20d4a8153d
fix(groupe-instructeur): a closed groupe with an active groupe is a valid record
2023-03-02 16:34:18 +01:00
Damien Le Thiec
687c05e6d1
Merge pull request #8622 from demarches-simplifiees/fix/stored_query_issue
...
Dossier prefill get without stored queries
2023-03-02 14:01:04 +00:00
Lisa Durand
54f17ad3c7
Merge pull request #8630 from demarches-simplifiees/harmonize-actions-for-instructeurs
...
[instructeurs] Uniformiser les actions pour les instructeurs sur la page tableau et dossier
2023-03-02 13:28:23 +00:00
Paul Chavard
6647be216b
Merge pull request #8722 from E-L-T/do-not-notify-group-when-instructeurs-removed
...
feat(groupe instructeur): do not notify group when instructeurs removed
2023-03-02 12:51:23 +00:00
Paul Chavard
ac00a91984
fix(graphql): fix etablissement in degraded mode
2023-03-02 13:32:17 +01:00
Eric Leroy-Terquem
f6c4986e86
feat(groupe instructeur mailer): do not notify group when instructeurs removed
2023-03-02 09:46:58 +01:00
sebastiencarceles
157a2d8cae
feature spec cover
2023-03-01 14:05:18 +01:00
sebastiencarceles
00fa8dc895
transform value to also populate external id
2023-03-01 14:03:54 +01:00
sebastiencarceles
a7b21fcd7c
let address champ be prefillable
2023-03-01 14:03:54 +01:00
Christophe Robillard
6851a9ee52
falsify opendata flag for some procedures
...
`procedures:falsify_opendata_procedures` rake task allows to falsify
opndata flag for procedures listed in csv file given in input (with only
one column : id column)
2023-03-01 11:47:11 +01:00
krichtof
5840c8c7f9
Merge pull request #8711 from demarches-simplifiees/8708-demarches-publiques
...
Ne pas publier le descriptif de toutes les procedures sur datagouv
2023-03-01 10:09:47 +00:00
Damien Le Thiec
8a7cb3f1fe
Merge branch 'main' into fix/stored_query_issue
2023-03-01 10:22:40 +01:00
Damien Le Thiec
01f142183e
Add and correct tests
2023-03-01 10:21:22 +01:00
Sébastien Carceles
3c0eaae24c
Merge pull request #8625 from demarches-simplifiees/prefill/annuaire-education
...
feat(dossier): prefill annuaire education champ
2023-03-01 08:20:59 +00:00
Paul Chavard
d3f504271c
Merge branch 'harmonize-actions-for-instructeurs' of github.com:demarches-simplifiees/demarches-simplifiees.fr into harmonize-actions-for-instructeurs
2023-02-28 17:28:36 +01:00
Paul Chavard
d8ee4cb360
fix(test): dossiers_controller_spec
2023-02-28 17:28:17 +01:00
Christophe Robillard
9ff88db48c
publish only some opendata procedures for datagouv
...
- only published or closed procedures
- only procedures with flag opendata
- only procedures with 4 or more dossiers
- only procedures without word "mail" in lien_site_web
- only procedures without word "intra" in lien_site_web
2023-02-28 17:02:08 +01:00
Paul Chavard
294a5135ce
feat(public/api): add dossier state api
2023-02-28 16:35:25 +01:00
sebastiencarceles
f52554b5a3
review: update value with async fetch
...
1 - spec cover the job which fetches external data
2 - refactor the job with guard clauses
3 - delegate update operation to the champ itself
4 - annuaire education: override the update operation
to let the value be populated by the fetched data
5 - prefilling: don't fetch data synchronously
2023-02-28 14:53:08 +01:00
sebastiencarceles
8b25503f7e
feature spec cover
2023-02-28 14:23:38 +01:00
sebastiencarceles
447ea1b9a8
don't prefill with an incorrect value
2023-02-28 14:23:38 +01:00
sebastiencarceles
d7bfb9dc18
enrich value from education api
2023-02-28 14:23:38 +01:00
sebastiencarceles
71f1e785ab
let annuaire education champ be prefillable
2023-02-28 13:26:35 +01:00