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
Colin Darie
a32014d4fd
feat(correction): user can mark dossier en_construction as resolved
2023-06-02 16:16:14 +02:00
Colin Darie
8839ac7f76
fix(instructeur): pending_correction flag does not make messagerie unseen
2023-06-02 16:16:14 +02:00
Colin Darie
62cc9d30d8
chore(correction): passing en_instruction resolve pending corrections
2023-06-02 16:16:14 +02:00
Colin Darie
5ab44fc7a9
chore: rename dossier_resolution => dossier_correction
2023-06-02 16:16:14 +02:00
Colin Darie
538e24fa7e
feat(dossier/projection): supports pending_correction?
2023-06-02 16:16:13 +02:00
Colin Darie
9565267170
feat(dossier): notify user by email about pending corrections
2023-06-02 16:16:13 +02:00
Colin Darie
ca3b127942
feat(instructeur): can flag a dossier as "pending corrections"
2023-06-02 16:16:12 +02:00
Colin Darie
d73b96ea40
feat(dossier): pending resolution state
2023-06-02 16:13:16 +02:00
Colin Darie
2c79ca94f5
chore(schema): create dossier_corrections
2023-06-02 16:13:15 +02:00
Colin Darie
ec244f1a94
fix(procedure): auto_archive_on must be in future
2023-06-01 16:49:52 +02:00
Martin
50da50a7ac
amelioration(bilan_bdf.resultat_exercice): implement la logique d'affichage du resultat d'un exercice sur l'API v3
2023-06-01 15:04:09 +02:00
Christophe Robillard
42acc71cbe
display v2 and v3 bilans bdf
2023-06-01 14:03:31 +02:00
Christophe Robillard
0f083db32b
migrate bilans bdf adapter to v3
2023-06-01 14:03:31 +02:00
mfo
c2f2b4ef2a
Merge pull request #9106 from mfo/api-entreprise.etablissement_adapter
...
API Entreprise: migration "Etablissement"
2023-06-01 11:45:47 +00:00
mfo
1a6dc10548
Merge pull request #9102 from demarches-simplifiees/8472-migrate-rna
...
API Entreprise: migration RNA (associations)
2023-06-01 11:37:57 +00:00
Martin
c90175f121
tech(api-entreprise.etablissement): passage du endpoint ETABLISSEMENT_RESOURCE_NAME en v3
2023-06-01 09:06:36 +02:00
Lisa Durand
4fdcce45c5
fix specs
2023-05-31 17:33:49 +02:00
Martin
0d3deb01be
tech(rna_controller#show): corrige les specs et recupère uniquement les informations utilisé par l'app
2023-05-31 16:11:12 +02:00
Eric Leroy-Terquem
e8d687f5e7
fix(routing): routing engine works even with unconfigured groups
2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
50abf496fd
add warning in gi pages in rule does not match tdc
2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
6e88c49470
remove old logic test
2023-05-31 11:38:16 +02:00
simon lehericey
97aac5d588
update tests for rules based routing
2023-05-31 11:38:16 +02:00
simon lehericey
174f7a7c53
add one_groupe_management_component
2023-05-31 11:38:16 +02:00
simon lehericey
142ac9173d
add groupes_search_component
2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
2db2625fc8
Merge pull request #8923 from demarches-simplifiees/migrate-data-for-routing-with-dropdown-list
...
Migre les données pour le nouveau mode de routage
2023-05-31 08:42:11 +00:00
Christophe Robillard
ef82149a3b
amelioration(api-entreprise.rna): passe a la v3 pour le endpoint RNA_RESOURCE_NAME
2023-05-31 09:59:44 +02:00
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
...
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
Colin Darie
3161f90662
Merge pull request #9098 from demarches-simplifiees/8472-migrer-attestation-fiscale
...
API Entreprise : migration "attestation fiscale"
2023-05-30 08:52:17 +00:00
Christophe Robillard
0e85f84eff
migrate exercices adapter
2023-05-29 17:46:39 +02:00
Christophe Robillard
0ec4c3d17b
migrate attestation fiscale adapter to v4
2023-05-29 15:22:07 +02:00
krichtof
0051face93
Merge pull request #9014 from demarches-simplifiees/8859-default_zones
...
Etq admin, lors de la création ou modification d'une démarche, des zones par défaut me sont suggérées
2023-05-26 17:25:21 +00:00
Christophe Robillard
76a8b721ce
add tva adapter and tva job
2023-05-26 13:37:20 +02:00
Christophe Robillard
f04e121a6f
add extrait_kbis to handle nom_commercial and capital_social
2023-05-26 13:37:20 +02:00
Christophe Robillard
ba281d53cf
migrate entreprise adapter to v3
2023-05-26 13:37:20 +02:00
Lisa Durand
7f53120815
fix specs - forget to remove description in siret context
2023-05-25 16:49:07 +02:00
Lisa Durand
31969b290b
create a new layout without procedure for login and use same layout full_screen without description for identite step
2023-05-25 16:15:31 +02:00
Paul Chavard
e92c36185d
Merge pull request #9085 from tchak/graphql-fix-state-change-errors
...
ETQ intégrateur d’API, je voudrais voir un message d’erreur si le changement d’état échoue
2023-05-25 11:36:42 +00:00
Colin Darie
c62893d7c8
Merge pull request #9088 from colinux/fix-fork-invalid
...
ETQ usager invité sur un dossier, je peux ajouter une PJ d'un dossier en construction
2023-05-25 07:40:39 +00:00
krichtof
601fde2147
Merge pull request #9084 from demarches-simplifiees/8472-migration-attestation-sociale
...
8472 migration attestation sociale
2023-05-25 07:11:59 +00:00
krichtof
7c02ff6685
remove useless task
2023-05-24 17:40:00 +02:00
Christophe Robillard
b13e77650e
update default zones after admin creation
2023-05-24 17:40:00 +02:00
Colin Darie
a0c8f46bb7
fix(fork): allow invited on dossier origin to resolve champs of forks
2023-05-24 16:53:51 +02:00
Paul Chavard
e191cfb3f6
task(revision): find and correct all champs with wrong type de champ
2023-05-24 16:34:46 +02:00
Colin Darie
795e0ca471
fix(fork): can fork a dossier having invalid champs so it can be fixed in brouillon
2023-05-24 12:15:43 +02:00
Paul Chavard
c06a4113b3
fix(graphql): gracefully handle change state errors
2023-05-24 12:04:04 +02:00
Christophe Robillard
247ad49ab7
migrate attestation_sociale to v4
2023-05-24 11:52:43 +02:00
Lisa Durand
7340206f81
rollback - add just one new field and use actual description field
2023-05-24 11:31:24 +02:00
Paul Chavard
47f1e27f85
Merge pull request #9032 from colinux/password-email-wording
...
Usager: plus de détails sur les raisons qui expliquent pourquoi je ne reçois pas l'email "mot de passe perdu"
2023-05-24 08:30:03 +00:00
Paul Chavard
cf13b942e7
Merge pull request #9076 from colinux/fix-instructeurs-filter-avis
...
ETQ instructeur je peux filtrer les dossiers par avis
2023-05-24 08:05:07 +00:00
Paul Chavard
40b3742d69
Merge pull request #9081 from tchak/graphql-user-connection-type
...
ETQ Intégrateur d’API, je voudrais savoir si l’utilisateur est connecté avec FranceConnect
2023-05-24 08:03:09 +00:00
Paul Chavard
bba66f7a36
Merge pull request #9071 from tchak/import-revisions
...
chore(recovery): import/export revision
2023-05-24 07:32:54 +00:00
Paul Chavard
bca08c8e6c
feat(graphql): expose user connection type
2023-05-23 18:18:21 +02:00
Lisa Durand
6274594c70
add new layout to handle new full screen design
2023-05-23 16:49:37 +02:00
Colin Darie
1afd5e7f12
Merge pull request #9072 from colinux/fix-modif-en-construction-demarche-test
...
ETQ admin: corrige une erreur lorsque je modifie mon dossier en construction d'une démarche en test
2023-05-23 10:30:57 +00:00
Lisa Durand
b6cc35df68
fix specs
2023-05-23 10:34:03 +02:00
Colin Darie
ff8fba3725
fix(instructeur): can filter by avis answer
2023-05-23 09:40:21 +02:00
Martin
d2e30911f7
bug(compteurs.avis.a.donner): ETQ expert, je ne souhaite pas avoir a donner un avis sur un dossier termine
2023-05-23 09:34:30 +02:00
Martin
0213ad018a
bug(expert/avis#index): ETQ expert, je veux retrouver mes avis donnés sur des dossiers traités
2023-05-23 09:34:30 +02:00
Colin Darie
d16b81e09c
fix(rebase): don't fail on force rebased when procedure is still in draft
2023-05-22 13:50:58 +02:00
Martin
af19bbe8f5
correctif(users/dossiers/brouillon#submit): ETQ usager, je souhaite que chaque lien pointant vers une erreur de champ m'oriente sur le champ
2023-05-20 08:27:55 +02:00
Paul Chavard
2ec0d405f7
chore(recovery): import/export revision
2023-05-19 11:19:15 +02:00
Paul Chavard
a2e98f9065
Merge pull request #9051 from demarches-simplifiees/fix-bug-procedure-clone-validations
...
[fix] Vider les champs invalides pour permettre de cloner une procedure
2023-05-17 07:44:39 +00:00
Paul Chavard
634257e242
Merge pull request #9057 from demarches-simplifiees/US/restore-dossier-kc
...
amelioration(recovery:import): meilleure log et gestion de edge cases
2023-05-16 17:01:07 +00:00
Paul Chavard
d448806ddb
fix(spec): specify vcr cassette for the whole scenario
2023-05-16 17:55:44 +02:00
Lisa Durand
7e39e8113b
feedback PR Colin
2023-05-16 17:54:37 +02:00
Martin
32088512ff
amelioration(importer): evite de re-importer un dossier pointant vers un parent qui est maintenant detruit
2023-05-16 17:00:34 +02:00
Martin
f76e52cc97
tech(tache.recovery): ajoute une tache pour re-importer des dossiers venant d'un backup
...
Update app/lib/recovery/exporter.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-05-16 14:49:36 +02:00
simon lehericey
9d1d523cf6
remove life_cycle
2023-05-16 14:49:36 +02:00
simon lehericey
06b6663662
import more stuff
2023-05-16 14:49:36 +02:00
simon lehericey
6f41f0e1c6
factories: add traits about files
2023-05-16 14:49:36 +02:00
Martin
e9115b10b5
correctif(data.kc): re-import les données kc
2023-05-16 14:49:36 +02:00
Lisa Durand
f2cf3188d7
empty invalid fields to allow clone procedure
2023-05-16 10:59:17 +02:00
Christophe Robillard
ca922005f9
add admin update default zones job
2023-05-16 09:40:53 +02:00
Christophe Robillard
53dd2955e4
add tchap hs adapter
2023-05-16 09:40:53 +02:00
Christophe Robillard
3705dc2553
determine default zones according to tchap hs
2023-05-16 09:40:53 +02:00
Christophe Robillard
d0ca05259a
populate zones with tchap hs
...
NB: this after party task changes the structure of `config/zones.yml' file.
2023-05-16 09:40:53 +02:00
Colin Darie
493e8dc9de
Merge pull request #9036 from colinux/fix-fork-ui
...
ETQ Usager: correctifs pour les modifications en construction
2023-05-15 11:38:01 +00:00
Colin Darie
059dabb5ac
fix(fork): don't fail when user submit twice en_construction (from 2 tabs)
2023-05-15 13:08:42 +02:00
Colin Darie
c523c1023e
Merge pull request #9026 from demarches-simplifiees/less_flacky
...
Corrige des tests instables
2023-05-15 10:44:17 +00:00
Colin Darie
ec6d9f4e33
Merge pull request #9035 from colinux/fork-fix-champ-pj-updated-at
...
Correctif: ETQ usager le champ PJ d'un dossier en construction ne doit pas être marqué "à déposer" sans raison
2023-05-15 10:33:10 +00:00
Colin Darie
d3028f5570
Merge pull request #9037 from demarches-simplifiees/fix-bug-alert-batch-incrementation
...
[Fix] Actions multiples - Corriger le compteur dans les alertes + ajouter des infos sur le créateur du batch
2023-05-15 10:32:31 +00:00
Colin Darie
0d21450f8a
fix(fork): don't let active storage override our champ#updated_at after a transaction
2023-05-15 11:08:07 +02:00
Colin Darie
9b52f0902d
test(clone): move dossier#clone spec into appropriate concern
2023-05-15 11:08:06 +02:00
Paul Chavard
b4a299c326
fix(user): always rebase original dossier before merge
2023-05-12 20:42:02 +02:00
Paul Chavard
c40f42db19
fix(dossier): task to fix cloned published revisions
2023-05-12 16:52:59 +02:00
simon lehericey
6148f24387
Revert "Merge pull request #9002 from tchak/feat-procedure-clone-preview-published"
...
This reverts commit 7a6f46a8ad
, reversing
changes made to 4513c52213
.
2023-05-12 11:29:11 +02:00
simon lehericey
a5d4773d31
feat(routing): task to backfill procedure.defaut_groupe_instructeur_id
2023-05-12 10:10:27 +02:00
Lisa Durand
9deb452ac0
add info about who created the batch and when in alert
2023-05-11 17:13:02 +02:00
simon lehericey
0457251cb0
try something different
2023-05-11 16:56:56 +02:00
simon lehericey
35866cf860
fix graphql_stored_queries_spec
2023-05-11 16:56:56 +02:00
simon lehericey
4aee0e056d
try to fix autosave spec
2023-05-11 11:52:30 +02:00
Colin Darie
f33fb0a076
refactor(password-reset): improve message not received wording
2023-05-11 09:10:20 +02:00
Colin Darie
79f450a422
Merge pull request #9021 from colinux/feat-en-construction-fork
...
ETQ usager, je modifie et soumets à nouveau mon dossier “en construction"
2023-05-10 19:46:40 +00:00
simon lehericey
6d73faf90b
try fix api particulier spec
2023-05-10 10:41:35 +02:00
simon lehericey
3a1614f96d
try fix upload pj spec
2023-05-10 10:41:35 +02:00
Colin Darie
b626714610
fix(dossier): submit en_construction render views in error with dossier origin
2023-05-09 18:49:53 +02:00
Colin Darie
218c7d08c2
feat(fork): mark a fork as stale for future deletion, so it can't be reused
2023-05-09 18:49:53 +02:00
Colin Darie
c35176703f
feat(dossier): inform dossier en_construction having not submitted changes
2023-05-09 18:49:52 +02:00
Colin Darie
606493b7dd
style(dossier): status overview with dsfr class
2023-05-09 18:49:52 +02:00
Colin Darie
f6ebfe0e47
fix(dossier): sync search_terms after merge
...
Use a job instead of a lot of reloads
2023-05-09 18:49:52 +02:00
Colin Darie
11dd1b7d76
style(autosave): retry button as dsfr
2023-05-09 18:49:52 +02:00
LeSim
d0bb759d3d
Merge pull request #8997 from demarches-simplifiees/add_defaut_procedure_for_new_admin
...
ETQ admin, je veux avoir une première démarche pré remplie lorsque j'arrive sur ds
2023-05-09 16:38:55 +00:00
Paul Chavard
71cfe094aa
fix(groupe_instructeur): always use assign_to_groupe_instructeur method
2023-05-09 17:23:23 +02:00
Paul Chavard
08a2a2c9aa
feat(dossier): fork dossier when editing en construction
2023-05-09 17:16:47 +02:00
Paul Chavard
025bd5beaf
feat(dossier): dossier can be forked for editing
2023-05-09 15:34:10 +02:00
Lisa Durand
2b2d65de87
Merge pull request #8994 from demarches-simplifiees/add-simple-filter-for-usagers
...
[refonte usager] Tableau de bord - Ajouter bouton filtres simples
2023-05-09 08:06:15 +00:00
mfo
2374ced5d2
Merge pull request #8987 from mfo/US/link-to-errored-champs
...
amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement
2023-05-09 07:06:36 +00:00
Paul Chavard
7a6f46a8ad
Merge pull request #9002 from tchak/feat-procedure-clone-preview-published
...
ETQ Administrateur, je veux cloner la version publiée des démarches en production
2023-05-05 14:36:03 +00:00
Martin
2135985583
correctif(procedure.clone): ET admin, je souhaite pouvoir cloner une procedure ayant deux groupes d'instructeur ayant le dernier fermé
2023-05-05 11:09:06 +02:00
Paul Chavard
11065946ce
fix(instructeur): fix dossiers suivis filter (merge behavior change in rails 7)
2023-05-04 18:24:18 +02:00
Paul Chavard
616188bfe3
feat(administrateur): when clone or preview procedure should use published revision if not the owned
2023-05-04 16:15:55 +02:00
Colin Darie
5be8865675
fix(export): sanitize filename containing unsafe chars for storage
...
Pourrait fixer des problèmes de dezip sous windows de zip.
2023-05-04 14:36:44 +02:00
Colin Darie
f615facbba
fix(export): don't fail when trying to write a file name > 255 bytes
2023-05-04 14:36:33 +02:00
Lisa Durand
9fd9bdc7c0
add tag to display and remove active filters
2023-05-03 16:47:27 +02:00
simon lehericey
9c8020b05c
feat(admin): add initiation procedure for a new admin
2023-05-03 15:08:21 +02:00
Colin Darie
eabc9069f8
test(super-admin): more explicit disable otp test
2023-05-03 11:37:28 +02:00
Colin Darie
4c162a64d9
test: fix missing explicit rspec type
2023-05-03 11:35:32 +02:00
Colin Darie
ae88c1de6b
fix(devise): default config for devise and turbo stream as navigational format
2023-05-03 11:35:32 +02:00
Colin Darie
61ebb27e86
fix(redirect): allow other hosts when required
2023-05-03 11:35:31 +02:00
Nicolas Cavigneaux
7e0fbcf672
fix: ensure procedure used in remove_instructeur spec has routing_enabled set to true
2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
06296e933a
fix: super admin test where attribute was not reloaded
2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
faad8abaf6
fix: add missing file content type in fixture blob creation
2023-05-03 11:35:28 +02:00
Lisa Durand
1ab3dbb864
fix spec adding click on dropdown
2023-05-03 11:04:15 +02:00
Nicolas Cavigneaux
b478168e23
fix: remove hardcoded .pdf.prawn
from describe
calls since it no longer works
2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
e483bfbc76
fix: remove hardcoded .html.haml
from render
calls since it no longer works
2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
7e245c0b70
fix: add required argument for SMTP errors instanciation in application_mailer_spec
2023-05-03 10:10:38 +02:00
Martin
c8ab1e8e03
amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement
2023-05-03 07:36:42 +02:00
Lisa Durand
cfce0075ce
fix view spec adding fake params
2023-05-02 19:24:30 +02:00
Lisa Durand
6113c0b75e
improve/add translations
2023-05-02 15:10:36 +02:00
Lisa Durand
24eca40f66
add from_depose_at filter
2023-05-02 10:32:38 +02:00
Lisa Durand
21ed6abcad
add from_created_at filter
2023-05-02 09:37:03 +02:00
Paul Chavard
46f9148fa4
Merge pull request #8984 from tchak/fix-api-entreprise-status
...
ETQ usager, je veux être avertie si l'API entreprise est HS
2023-04-28 14:25:02 +00:00
Paul Chavard
f2c1c071b4
Revert "Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique"
...
This reverts commit d3eda28f35
, reversing
changes made to 6394996e7f
.
2023-04-28 16:10:20 +02:00
Lisa Durand
39f534b3d7
add states filter for usager
2023-04-28 15:28:04 +02:00
simon lehericey
47bae606f1
spec: remove weird now obsolete spec which pollute global namespace with logic helper
...
and make spread_architect tests fail
2023-04-28 10:42:09 +02:00
Paul Chavard
99abdf45e7
fix(api-entreprise): use new status endpoint
2023-04-27 22:39:44 +02:00
Lisa Durand
aac1cc7161
Merge pull request #8971 from demarches-simplifiees/add-filter-for-usagers
...
[fix] Pagination interface usager - onglets disparaissent si pas sur la page 1
2023-04-27 13:46:15 +00:00
Lisa Durand
b76c0a36e8
fix specs
2023-04-27 15:26:10 +02:00
Paul Chavard
1d10e59e63
fix(commune): fix ‘undefined’ departement codes
2023-04-27 12:07:43 +02:00
Paul Chavard
cb752d1857
fix(dossier): do not bypass depositaire check on modifier path
2023-04-27 09:52:10 +02:00
simon lehericey
86e0538425
keep test active_storage service
2023-04-26 22:46:16 +02:00
LeSim
4c5e903673
Merge pull request #8887 from demarches-simplifiees/8839-filter-by-siret
...
Filtrer les démarches par service
2023-04-26 19:44:08 +00:00
Paul Chavard
a41713c837
Merge pull request #8968 from demarches-simplifiees/fix_defaut_groupe_instructeur_again
...
Correctif: definit le groupe instructeur par defaut pour certaines procedure clonées
2023-04-26 17:59:13 +00:00
Paul Chavard
d3eda28f35
Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique
...
ETQ usager, je veux que les champs de type adresse électronique soit validé
2023-04-26 16:52:02 +00:00
simon lehericey
fcb11e49e1
spec: fix flaky test
2023-04-26 16:51:10 +02:00
Lisa Durand
e393132fd8
Merge pull request #8936 from demarches-simplifiees/add-yes-no-column-for-instructeurs
...
[instructeur] ajout du nb de réponses oui/non aux avis dans le tableau d'une procedure
2023-04-26 09:05:58 +00:00
simon lehericey
0934a672fe
fix: defaut_groupe_instructeur for a cloned procedure from another admin without a group with default label
2023-04-26 10:52:31 +02:00
simon lehericey
dce2bf3209
spec: move procedure.clone in subject, to enable future before
2023-04-26 10:47:51 +02:00
LeSim
1a704f0479
Merge pull request #8966 from mfo/US/fix-avis-remind-with-question
...
ETQ instructeur, je peux relancer une demande d'avis meme si celui ci contient une question
2023-04-26 08:09:41 +00:00
LeSim
c8ed0532ed
Merge pull request #8948 from colinux/fix-geoarea-geometry-blank
...
ETQ Usager, champ carte: ne permet pas d'enregistrer une geometry null pour ne pas casser les exports
2023-04-26 10:15:25 +02:00
Colin Darie
21a829ec1e
fix(conditionel): error when using operator eq/not_eq with a multi dropdown
2023-04-26 09:58:00 +02:00
simon lehericey
f1bcb84832
fix: replace ds_eq operator by ds_include when targeted_champ is a multiple_drop_down_list
2023-04-26 09:37:03 +02:00
Martin
6a2d2ae0a7
bug(instructeurs/avis_controller#remind): ETQ instructeur, je peux relancer une demande d'avis meme si celui ci contient une question
2023-04-26 07:46:21 +02:00
Lisa Durand
26ff82dbe4
Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into user-dashboard/add-alert-WIP-last-dossier
2023-04-25 13:01:40 +02:00
simon lehericey
ae1fd3f30b
linter
2023-04-24 10:59:42 +02:00
Martin
8c78008b4d
correctif(usager.depot-dossier): ETQ usager, les titres de section conditionnés etait visible meme si la condition n'etait pas remplie
2023-04-24 10:47:20 +02:00
simon lehericey
c189115757
fix defaut_groupe_instructeur for mismatching label
2023-04-24 10:16:09 +02:00
simon lehericey
995858e124
fix defaut_groupe_instructeur_id for (hidden) procedure with an (hidden) parent
2023-04-24 10:16:09 +02:00
Colin Darie
f7880352f0
Merge pull request #8941 from mfo/US/fixed-dossier-stalled-auto-processing
...
correctif(procedure.declarative): ETQ administrateur d'une procedure declarative, certains de mes dossiers restent en construction [ex: l'object storage est down, le dossier reste bloqué]
2023-04-22 16:13:01 +00:00
Colin Darie
25956c5141
fix(geoarea): geometry must not be nil
2023-04-22 16:23:39 +02:00
Martin
9dec6f1611
correctif(procedure.declarative): ETQ administrateur d'une procedure declarative, certains de mes dossiers restent en construction [ex: l'object storage est down, le dossier reste bloqué]
2023-04-21 15:45:45 +02:00
Colin Darie
925ebef551
Merge pull request #8934 from colinux/fix-markdown-in-url
...
ETQ utilisateur je ne veux pas perdre les _ au sein d'urls dans mes messages
2023-04-21 13:28:56 +00:00
Colin Darie
2775158052
Merge pull request #8943 from tchak/fix-dossier-can-create-new-dossiers
...
ETQ usager, je peux créer de nouveaux dossiers sur la démarche qui remplace la démarche fermée
2023-04-21 13:18:43 +00:00
simon lehericey
439447b343
fix defaut_groupe_instructeur_id and change dossier.groupe_instructeur_id
2023-04-21 15:08:07 +02:00
Colin Darie
fb54ca1469
fix(markdown): don't convert underscore within urls or emails
2023-04-21 14:07:10 +02:00
simon lehericey
a202a57988
fix: defaut_groupe_instructeur_id for a cloned procedure
2023-04-21 12:20:50 +02:00
Paul Chavard
52d63a1b02
fix(dossier): user can create new dossiers when closed procedure is replaced
2023-04-21 11:18:27 +01:00
Lisa Durand
b52a2ca972
fix spec
2023-04-21 10:21:54 +02:00
Martin
6739bfc665
bug(instructeurs.annotations): ETQ instructeurs, lorsque je saisie une autre valeur dans un champ de type choix simple, celle ci n'est pas sauvegardé
2023-04-21 09:35:16 +02:00
krichtof
c2461f230c
validate value for email champ
2023-04-20 18:27:02 +02:00
Paul Chavard
88f680a265
Merge pull request #8930 from tchak/fix-champ-commune-spaces
...
ETQ usager, je voudrai pouvoir remplir un code postal avec des espaces
2023-04-20 08:40:38 +00:00
Paul Chavard
586286cb08
Merge pull request #8916 from demarches-simplifiees/can-update-defaut-groupe-instructeur-2
...
feat(routage): permet de changer le groupe par défaut
2023-04-20 08:28:46 +00:00
Paul Chavard
4a2e499679
fix(commune): should accept postal codes with spaces
2023-04-20 10:16:48 +02:00
simon lehericey
e64ac79f05
tech(refactor): much nicer code, thx LeSim
...
root -> rooted_tree
depth_cach -> walk
smal refactor
comment
remove form for header_section
remove seen_at from header section
header_section: champ -> header_section
champ_subree: remove if not
remove root_depth use header_section_level_value instead
remove unused include
remove ChampTreeComponent
rename ChampsSubtreeComponent to SectionComponent
use TreeableConcern only in section component
remove fields_for_champ_component
champs -> tail
add split_section_champ helper
refactor(editable_champ::header_section): keep same interface everywhere
fix(repetition): add spec for SectionComponent on repetitions
2023-04-20 08:22:02 +02:00
Martin
cc2c856ec2
amelioration(bloc-repetable): wrap les blocs repetatable dans des fieldsets
2023-04-20 08:22:02 +02:00
Martin
88abefb370
tech(remaniement): isole la logique de rendu au champs_subtree_component
2023-04-20 08:22:02 +02:00
Martin
3b5d1bd55b
tech(remaniement): extraction du passage d'une liste de champs a un simili arbre
2023-04-20 08:22:02 +02:00
Martin
ad77b9321b
amelioration(formulaire-usager): groupes les champs suivant un titre de section dans une balise html de type <fieldset> de sorte a améliorer l'accessibilite de la plateforme
2023-04-20 08:22:02 +02:00
Martin
b9faa26560
amelioration(editeur-de-champs): permet de choisir un niveau de titre (de 1 à 3) pour les champs de type Champs::HeaderSectionChamp. Gère les erreurs dans le cas ou un administrateur supprimerait un HeaderSection qui casserait l'ordre des titre [ex: titre 1,2,3. et l'admin supprime le titre 1 et il reste que 2,3].
2023-04-20 08:22:02 +02:00
Paul Chavard
418d3b55d0
feat(stats): give access to stats on closed procedures
2023-04-19 18:31:58 +02:00
Colin Darie
9728493bda
Merge pull request #8924 from colinux/rubocop-upgrades
...
Tech: update rubocop, active nouveaux cops Rails/*
2023-04-19 13:37:10 +00:00
Eric Leroy-Terquem
aecd7559d2
feat(groupe instructeur): cannot disable default groupe instructeur
2023-04-19 13:52:42 +02:00
Eric Leroy-Terquem
09b05550ab
feat(groupe instructeur): cannot delete defaut_groupe_instructeur
2023-04-19 13:52:42 +02:00
simon lehericey
79131cc294
fix spec
2023-04-19 13:52:42 +02:00
simon lehericey
b38470368b
feat(routing): can change defaut groupe
2023-04-19 13:52:41 +02:00
mfo
73184c6dac
Merge pull request #8907 from mfo/US/dolist-silence-some-errors
...
amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce
2023-04-19 11:49:01 +00:00
Colin Darie
516ffc68ba
chore(rubocop): fix Rails/I18nLocaleAssignment
2023-04-19 12:55:14 +02:00
Colin Darie
7aba5ccc3e
chore(rubocop): fix Rails/DurationArithmetic
2023-04-19 12:55:13 +02:00
Colin Darie
999f06075b
chore(rubocop): fix Rails/ResponseParsedBody
2023-04-19 12:55:13 +02:00
Colin Darie
b273e7b67e
chore(rubocop): fix Rails/RootPathnameMethods and assimiled cops
2023-04-19 12:55:13 +02:00
Paul Chavard
05cfb4055d
fix(dossier): improuve dossier state display
2023-04-19 12:27:16 +02:00
Paul Chavard
7bf31c6278
Merge pull request #8850 from tchak/feat-refactor-drop-downs
...
Simplifie l'implémentation des champs "liste d'options" et "listes d'options liées"
2023-04-19 09:59:10 +00:00
Martin
8fa2bbb67d
amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce
2023-04-19 11:22:13 +02:00
github-merge-queue[bot]
a286af8a70
Merge pull request #8918 from tchak/graphql-add-error-codes
...
ETQ intégrateur API, je voudrais avoir des codes d'erreur plus précis
2023-04-19 09:00:32 +00:00
Paul Chavard
0912a30eb0
feat(dossier): use turbo on select with other
2023-04-18 15:24:23 +02:00
Paul Chavard
ae1ec87397
feat(graphql): add code to timeout errors
2023-04-18 15:22:11 +02:00
Paul Chavard
f70532a844
feat(graphql): global not found error handling
2023-04-18 15:22:11 +02:00
Paul Chavard
fbae6d941d
feat(graphql): add error codes to graphql errors
2023-04-18 15:22:11 +02:00
Paul Chavard
2a09f1d505
fix(graphql): return empty arrays from loaders when loading collections
2023-04-18 15:20:43 +02:00
Lisa Durand
c565ed415b
change scope and alert location after UI modification
2023-04-18 12:03:10 +02:00
Paul Chavard
bf6cc25063
feat(graphql): expose pendingDeletedDossiers on groupe instructeur
2023-04-17 18:43:00 +02:00
LeSim
c252748833
Merge pull request #8836 from demarches-simplifiees/improve-routing-rules-ux
...
feat(routing): nicer and safer ?
2023-04-17 08:23:15 +00:00
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
Eric Leroy-Terquem
72b6dacfbd
fix(API): remove notification to group when instructeurs removed
2023-03-08 11:59:58 +01:00
Eric Leroy-Terquem
a150aa33ef
feat(GroupeInstructeurSupprimerInstructeurs): add notification for removed instructeurs via API
2023-03-08 11:59:58 +01:00
Eric Leroy-Terquem
ac0d7a67a1
feat(GroupeInstructeurAjouterInstructeurs): add notification for added instructeurs via API
2023-03-08 11:59:58 +01:00
Eric Leroy-Terquem
b2f3a7af4c
feat(GroupeInstructeurSupprimerInstructeurs): enable emailing for unrouted procedures
2023-03-08 11:59:55 +01:00
Colin Darie
c112018ec3
fix(administrateur): tags persistence when non interacting with tags combobox
2023-03-08 11:27:31 +01:00
Eric Leroy-Terquem
9e0753a710
fix(groupe instructeur mailer): do not notify if no added instructeurs
2023-03-08 11:03:33 +01:00
Eric Leroy-Terquem
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
Colin Darie
7e13d58db2
Merge pull request #8703 from govpf/feature/fix-dossier-controller-spec
...
Fix dossier controller spec
2023-02-28 12:11:30 +00:00
krichtof
dee499d386
Merge pull request #8706 from demarches-simplifiees/all_demarches_even_without_zones
...
liste toutes les démarches, même celles non associées à des zones
2023-02-28 10:58:07 +00:00
sebastiencarceles
a08bb1bddc
fix epci: all possible values
2023-02-28 08:37:52 +01:00
sebastiencarceles
2ae2d99e93
fix communes: all possible values
2023-02-28 08:36:43 +01:00
Lisa Durand
07bb27a3af
add repasser_en_instruction to dossiers expirants
2023-02-27 17:57:46 +01:00
Colin Darie
ae93d3927e
refactor(dossier): extract sections logic in a concern
2023-02-27 17:29:22 +01:00
Colin Darie
1981bfc88e
feat(tdc): strip libelle so header section titles always start with something
2023-02-27 17:29:22 +01:00
Colin Darie
d7880f7e58
feat(dossier/pdf): header sections numbering
2023-02-27 17:29:22 +01:00
Colin Darie
3de089d6c7
fix(conditional): dynamic title counters using css
...
Closes #8086
2023-02-27 17:29:22 +01:00
Paul Chavard
7076d6d99e
fix(turbo): rerender only top part of the header
2023-02-27 16:06:11 +01:00
sebastiencarceles
8f12467168
feature spec cover
2023-02-27 15:18:37 +01:00
sebastiencarceles
35f4874b69
allow integers only
2023-02-27 15:16:40 +01:00
sebastiencarceles
13229158bd
let dossier link champ be prefillable
2023-02-27 15:14:39 +01:00
sebastiencarceles
1caf56d943
fix lint
2023-02-27 14:48:46 +01:00
sebastiencarceles
efd5464bd5
cover use case with feature spec
2023-02-27 14:43:48 +01:00
sebastiencarceles
39545671f3
refacto: better error management
2023-02-27 14:35:11 +01:00
sebastiencarceles
33fa40eda2
don't clean the rna champ value
...
Cleaning the value is useless, when fetching the association,
as the value will be re-written by the dossier update, when the user
fills in the dossier.
Furthermore we need the value to persist when prefilling the champ.
2023-02-27 14:35:11 +01:00
Sébastien Carceles
7e55aca107
allow rna prefill
2023-02-27 14:35:11 +01:00
sebastiencarceles
7d65a34bc6
rna champ can fetch it's own association
2023-02-27 14:31:58 +01:00
Lisa Durand
636e6aa6cb
fix broken tabs with turbostream
2023-02-27 14:30:10 +01:00
sebastiencarceles
becf4da70a
fix raison social fetch
2023-02-27 13:54:35 +01:00
sebastiencarceles
498e5d7487
cover use case with a feature spec
2023-02-27 13:53:18 +01:00
sebastiencarceles
5dce401a14
review: add missing spec
2023-02-27 13:47:56 +01:00
sebastiencarceles
30eef3e128
review: detailled error message
2023-02-27 13:45:16 +01:00