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
Eric Leroy-Terquem
7598b0a513
remove previous routing sytem code
2023-07-03 14:58:45 +02:00
Eric Leroy-Terquem
b94e8edb67
refactor(routing): move toggle_routing to procedure model
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
3a667d39ba
refactor(routing): rollback Procedure#instructeurs_self_management?
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
5416ec8226
refactor(routing): make toggle_routing public
2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
2a3ffdf3c6
refactor(routing): do not use toggle_routing as a callback anymore
2023-07-03 14:47:56 +02:00
Colin Darie
c95f4ab700
refactor(correction): preload corrections for exports
2023-07-03 09:53:24 +02:00
Martin
c52c0e4573
correctif(dossier.en_construction): ETQ usager, je souhaite pouvoir modifier un dossier ayant des repetition ayant des enfants
2023-06-30 12:09:54 +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
Paul Chavard
f7e81965b1
fix(instructeur): filter by departement or region should use code instead of name
2023-06-28 10:14:34 +02:00
Paul Chavard
02dcead04a
fix(commune): add fallbacks to commune name resolution
2023-06-28 09:44:21 +02:00
Colin Darie
1bdc6c02c6
style(demande): homogeneize "blank" champs and not attached files champs
2023-06-27 17:44:21 +02:00
Colin Darie
cf1285dd42
fix(rebase): ensure dossier.champs is up to date after creating a child
2023-06-23 01:01:39 +02:00
Colin Darie
8501fbadbb
fix(dossier): can merge fork after rebase adding a champ in repetition
2023-06-23 00:22:32 +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
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
Lisa Durand
6a92249f0a
Merge pull request #9208 from demarches-simplifiees/remove-iban-from-suspicious-list
...
ETQ admin, je ne veux plus voir l'IBAN comme un champ "suspect"
2023-06-19 14:45:06 +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
52bbd47ebe
add constant for 'à_corriger'
2023-06-19 16:16:44 +02:00
Lisa Durand
87f11f06ad
remove IBAN from forbidden keywords list
2023-06-19 14:30:29 +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
a9c6cc322a
feat(routing): do not run routing engine if dossier has been re routed
2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
ce1429b850
migration : add forced_group_instructeur_to_dossier
2023-06-15 14:14:47 +02:00
Eric Leroy-Terquem
e78c22f33c
refactor(groupe instructeur): extract method other_groupe_instructeurs
2023-06-15 14:14:47 +02:00
Paul Chavard
c1afc985e4
fix(prefill): allow private annotations prefill
2023-06-15 10:07:25 +01:00
Paul Chavard
01653440e7
Merge pull request #9198 from tchak/fix-groupe-instructeur-api-hack
...
fix(hack): fix and test hack for procedures using groupe instructeur api
2023-06-14 18:35:46 +00:00
Paul Chavard
10524643fb
fix(hack): fix and test hack for procedures using groupe instructeur api
2023-06-14 19:24:58 +01:00
Paul Chavard
a432323843
fix(dossier): only show optional text on public champs
2023-06-14 19:00:06 +01:00
Colin Darie
17f5fb4a51
refactor(declarative): process dossier in job isolation
2023-06-14 12:06:22 +02: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
Lisa Durand
4b6d18608e
split pj in two lists regarding to conditionnal
2023-06-13 11:00:16 +02:00
Lisa Durand
d2f91a6405
add list of PJ in procedure description
2023-06-13 10:58:05 +02:00
Paul Chavard
6723bdcd9d
fix(carto): no crash on points with elevation
2023-06-12 14:56:52 +02:00
Colin Darie
75b2685230
fix(instructeurs): human format a filtered date
2023-06-08 19:01:23 +02:00
Paul Chavard
c4432b1b47
perf(carto): use json schema to validate geojson instead of rgeo
2023-06-06 15:43:56 +02: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
b1bcc784bb
refactor(messagerie): preload commentaires with corrections & attachments blobs
2023-06-02 16:18:33 +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
b495e0aff0
feat(user): dossier résumé with commentaire about corrections
2023-06-02 16:18:32 +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
b14a70abf7
feat(instructeur): filter dossiers "en attente"
2023-06-02 16:16:14 +02:00