Commit graph

3164 commits

Author SHA1 Message Date
simon lehericey
fdf51b5ea1 fix: a expert merge transfers hidden procedures 2023-08-31 14:26:45 +02:00
LeSim
04ab6ed0aa
Merge pull request #9286 from demarches-simplifiees/etq-instructeur-i-see-a-badge-for-reaffected-dossiers
ETQ instructeur je vois un badge d'alerte quand le dossier a été réaffecté
2023-08-31 10:22:25 +00: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
Martin
26045cdd5f amelioration(instructeur#activate_account): passage de la page de d'activation d'un compte instructeur au dsfr 2023-08-30 13:40:51 +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
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
Colin Darie
cf87419a19
fix(avis): table is only sortable by question_answer, answer is not exposed 2023-08-29 18:01:14 +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
8d0fffe44f refactor(type de champ): extract codes_and_names method 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
4be9352781 feat(routing): add departements options to value tag 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
Eric Leroy-Terquem
03202f3e98 chore(groupe instructeur): remove unused validation 2023-08-21 16:31:55 +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
Martin
bf6b5ea963 amelioration(mailer.logo): utilise procedure_logo_url pour afficher le logo dans les mails 2023-08-14 13:09:05 +02:00
Martin
a3c6a2c46f correctif(dolist): utilise des liens vers les logos des procedures plutôt que des attachements.inlined 2023-08-14 13:09:05 +02:00
Martin
367a557aaf amelioration(data): pour les dossiers en brouillon ayant un groupe_instructeur_id, supprime cette information 2023-08-14 10:17:23 +02: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
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
Eric Leroy-Terquem
bbb3823212 db(routing): remove routing criteria name column 2023-08-02 18:25:37 +02:00
Christian Lautier
5ce42afe28 Fix datetime_champ validation with negative time zone 2023-08-02 14:40:47 +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
0f6188a542 chore(annotate): remove model comments 2023-08-02 11:43:23 +02:00
Eric Leroy-Terquem
16c0a2cb73 db(routing): ignore routing criteria name column 2023-08-01 16:59:22 +02:00
Eric Leroy-Terquem
cdbaf987c0 db(routing): remove migrated champ routage columns 2023-08-01 16:59:22 +02:00
Eric Leroy-Terquem
ca8a3732f5 feat(DossierAssignment): add warning when dossier is reaffected 2023-07-31 14:41:37 +02:00
krichtof
b78611d36a
Merge pull request #9366 from demarches-simplifiees/fix-routage-with-other
Corrige le routage si option "autre" sélectionnée
2023-07-31 10:06:45 +00:00
Eric Leroy-Terquem
cb3d971dcb fix(routing): display Autre instead of __other__ in gis list 2023-07-28 10:18:39 +02:00
Colin Darie
f2afe5008f
chore(schema): remove dossier_corrections#kind, replaced in 5998cf 2023-07-27 16:31:48 +02:00
Eric Leroy-Terquem
c85d7f8a5a feat(routing): compute from selected if drop_down_other 2023-07-27 15:42:43 +02:00
Eric Leroy-Terquem
155a797aba feat(routing): update method checking if routling rule match tdc 2023-07-27 15:42:43 +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
Martin
b88b537518 poc(erreur): sur les champs 2023-07-26 14:27:50 +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
seb-by-ouidou
243b8c239a feat(administrateur): add environment variable for Administrateur::UNUSED_ADMIN_THRESHOLD 2023-07-24 15:55:33 +00:00
Paul Chavard
93d6bda4ed refactor: move submit en_construction logic to the model 2023-07-24 12:12:58 +02:00
Paul Chavard
4bc8b23a19 fix(dossier): purge motivation after repasser en instruction 2023-07-24 09:52:12 +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
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
simon lehericey
3a839dcf41 perf: cache template tags parsing 2023-07-19 09:56:35 +02: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
1882f652d5 fix(dossier): do not create groupe instructeur assignements on brouillons 2023-07-18 16:54:00 +02:00
Paul Chavard
04160b5d44 chore(dossier_assignment): avoid n+1 queries 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
7a95846cba feat(DossierAssignment): always add forced_groupe_instructeur when manual assignment 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
488a932cd5 refactor(DossierAssignment): extract method create_assignment 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
199cf0d91f feat(DossierAssignment): fallback on label if group deleted 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
c09655a07f feat(DossierAssignment): create assignment from routing engine 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
5f5714678c feat(DossierAsignment): create model 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
simon lehericey
c130f80a7d feat(user): add blocket_at and block_reason columns 2023-07-18 13:46:27 +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
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
Paul Chavard
d9cefb4873
Merge pull request #9299 from tchak/feat-refresh-champ
feat(dossier): enable refresh after update on more champs
2023-07-11 13:46:17 +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
Paul Chavard
b14fbe7f31 feat(dossier): enable refresh after update on more champs 2023-07-11 11:19:16 +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
LeSim
7e5bc6c72f
Merge pull request #9293 from demarches-simplifiees/bye_bye_v1_v2_token
secu: bloque les jetons d'api v1 and v2
2023-07-11 08:05:58 +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
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
07f10070e9
fix(sva): disable svr configuration since until implementation 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
6ce8428ac6
feat(sva): instructeur can flag a dossier as incomplete 2023-07-11 10:01:48 +02:00
Colin Darie
1c977c72bf
chore(schema): +dossier_corrections#kind 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
Lisa Durand
e43eea7fcf
display sva date and possibility to order in instructeur table 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
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
c3480f550d
chore(schema): +dossiers#sva_svr_decision_on, sva_svr_decision_triggered_at 2023-07-11 10:01:46 +02:00
Colin Darie
8c210e6fc7
feat(admin): config sva/svr 2023-07-11 10:01:45 +02:00
Colin Darie
bb4a6e22ce
chore(schema): +procedures#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
simon lehericey
35052087b1 secu: block v1 and v2 api token 2023-07-10 15:55:54 +02: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
a9f431caa5 feat(dossier): implement champ polling 2023-07-10 14:57:34 +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
219f71f64b fix(mail): replace new line by space to avoid glued words 2023-07-06 10:58:44 +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
7136c96a36 feat(procedure): validate external links 2023-07-06 10:27:43 +02:00
Paul Chavard
a43c3fd19d feat(procedure): add lien_notice_error and lien_dpo_error 2023-07-06 10:27:43 +02:00
Colin Darie
dfbb824dde
Merge pull request #9260 from colinux/export-corrections
ETQ instructeur: intègre les demandes de corrections dans les PDF
2023-07-04 09:58:07 +00: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
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
Lisa Durand
220b71bbf7 add classer_sans_suite and refuser to batch operation 2023-07-03 16:05:48 +02:00
Eric Leroy-Terquem
c82727120c feat(DB): ignore migrated_champ_routage_columns 2023-07-03 14:58:45 +02:00