simon lehericey
40ed59a231
rename find_and_verify => authenticate
2023-09-20 14:11:09 +02:00
simon lehericey
87933d3567
introduce token bearer
2023-09-20 14:11:09 +02:00
simon lehericey
0b03ba4d68
remove v1/v2 api token logic
2023-09-20 14:11:09 +02:00
seb-by-ouidou
0d2cd0fe5d
feat(procedure): hide as template
2023-09-19 11:21:27 +00:00
LeSim
e6f8400cfd
Merge pull request #9477 from demarches-simplifiees/can-route-from-epci-champ
...
ETQ admin je peux router par département depuis le champ EPCI
2023-09-19 08:21:26 +00:00
Colin Darie
8358fec884
fix(prefill): don't create Individual for non-individual procedures
...
Closes #9486
2023-09-18 16:45:02 +02:00
Eric Leroy-Terquem
967139ec88
feat(routing): make routing engine work with epci champ
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
60e5abd266
feat(routing): add departements options to value tag if routing by epci
2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
cf7c7d9761
feat(routing): add epci to routable_types_de_champ
2023-09-18 09:32:07 +02:00
Paul Chavard
fb917a221d
feat(combobox): use ComboboxComponent on drop_down_list champs
2023-09-15 14:49:13 +02:00
Eric Leroy-Terquem
0454d2066e
Merge pull request #9474 from demarches-simplifiees/can-route-from-commune-champ
...
ETQ admin je peux router par département depuis un type de champ communes
2023-09-15 08:18:24 +00:00
Eric Leroy-Terquem
956048ffea
refactor(type de champ): extract routable? method
2023-09-15 10:02:14 +02:00
Colin Darie
f28739d648
Merge pull request #9372 from colinux/svr
...
Admin: permet l'activation du SVR
2023-09-13 12:08:39 +00:00
Colin Darie
680919a68f
feat(svr): instructor filters with svr wording specific
2023-09-13 13:50:26 +02:00
Colin Darie
e8000adecf
feat(svr): refuses automatically a dossier
2023-09-13 13:50:23 +02:00
Colin Darie
69e673e47e
feat(svr): enablable from configuration
2023-09-13 13:50:22 +02:00
Eric Leroy-Terquem
46ff36c2bc
feat(routing): make routing engine work with commune champ
2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
d1cf60585a
feat(routing): add departements options to value tag if routing by communes
2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
50d0587a81
feat(routing): add communes to routable_types_de_champ
2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
d37fb90b2f
feat(routing): make routing engine work with region champ
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
e9760e5aa3
feat(routing): add regions options to value tag
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
5afaa458e2
feat(routing): add regions to routable_type_de_champ
2023-09-13 10:22:00 +02:00
krichtof
5aabce488b
Merge pull request #9425 from demarches-simplifiees/9356-service-gi
...
ETQ Usager, je veux voir dans mon dossier les informations de contact de mon groupe instructeur
2023-09-11 07:38:34 +00:00
Christophe Robillard
587960cfd9
clone groupe instructeur service
...
if admin owns original procedure
2023-09-11 08:58:04 +02:00
Christophe Robillard
af195d9158
display for user groupe instructeur service when available
2023-09-11 08:58:04 +02:00
Christophe Robillard
46dec40543
add contact information model
2023-09-08 11:04:06 +02:00
Damien Le Thiec
be02dd965f
Add link and query examples with identity prefill
2023-09-07 10:17:19 +02:00
simon lehericey
4cbb8e91f2
Workable draft prefill identity (no link or query help)
2023-09-07 10:17:19 +02:00
Eric Leroy-Terquem
6198de1f43
Merge pull request #9466 from demarches-simplifiees/track-dossiers-with-no-groupe-instructeur
...
Fix brouillon dossiers with forced_groupe_instructeur
2023-09-06 16:30:38 +00:00
Eric Leroy-Terquem
d63787cf5c
fix(routing): create assignments even for brouillon dossiers (it used to be possible for brouillon dossiers to have a groupe instructeur)
2023-09-06 17:28:01 +02:00
Eric Leroy-Terquem
9d0447c14a
fix(routing): track assigned dossiers without groupe_instructeur
2023-09-06 17:28:01 +02:00
Colin Darie
31db96cf41
fix(log): fix caller of log destroyed dossiers
2023-09-06 16:32:47 +02:00
LeSim
d69636c411
Merge pull request #9230 from colinux/log-destroyed-dossiers
...
Tech: log technique de la destruction de dossiers
2023-09-06 14:17:57 +00:00
Colin Darie
20c7921abe
chore(log): log destroyed dossiers
2023-09-06 16:07:18 +02:00
Eric Leroy-Terquem
32b446deee
refactor(groupe instructeur): add valid_rule? method
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-05 15:59:11 +02:00
Eric Leroy-Terquem
e1ab65e62a
feat(routing): can route from not_eq routing rules
2023-09-05 15:57:31 +02:00
simon lehericey
9e0aadd2dd
fix: always add an empty option in mandatory
2023-09-05 14:18:44 +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
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
f54ab0bf96
amelioration(form): utilise les bonnes classes DSFR pour divers composants
2023-09-04 10:55:48 +02:00
Martin
d164605f32
amelioration(champs.commune): passe le champs commune au DSFR, l'encapsule dans un fieldset et améliore le wording
2023-09-04 10:55:48 +02:00
Martin
a947457b57
amelioration(champs.epci): passe le champs epci au DSFR et l'encapsule dans un fieldset
2023-09-04 10:55:48 +02:00
Kara Diaby
58bcdb406d
Multiple drop down list au DSFR
2023-09-04 10:55:48 +02:00
Kara Diaby
37796b8843
Checkbox au DSFR
2023-09-04 10:55:48 +02:00
Kara Diaby
0ab31ba649
Boutons radio au DSFR
2023-09-04 10:55:48 +02:00
Paul Chavard
0ba0fd5058
feat(type_de_champ): insert an add champ button after each type de champ
2023-09-01 13:00:38 +02:00
LeSim
9e2357941f
Merge pull request #9438 from tchak/fix-remove-option-en-construction
...
fix(dossier): should refresh dossier footer when removing options from multiselect
2023-08-31 14:03:28 +00:00
Paul Chavard
3a54e44b57
fix(dossier): should refresh dossier footer when removing options from multiselect
2023-08-31 15:43:40 +02:00
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
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
Eric Leroy-Terquem
e8d687f5e7
fix(routing): routing engine works even with unconfigured groups
2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
54fe10ff76
add warning in revision change component if tdc options used for routing has been changed
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
simon lehericey
25ebfc4928
always set procedure.instructeurs_self_management_enabled to true when routing_enabled?
2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
692010fa32
destroy all groups but defaut
2023-05-31 11:38:16 +02:00
simon lehericey
f61498693a
use routable_type_de_champ
2023-05-31 11:38:16 +02:00
simon lehericey
5b0e0ced3c
add groupes_management_component
2023-05-31 11:38:16 +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
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
1bda86be03
suggest default zones
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
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
Lisa Durand
7340206f81
rollback - add just one new field and use actual description field
2023-05-24 11:31:24 +02: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
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
Lisa Durand
4a51a9a351
add two more fields for procedure description what et and for_who
2023-05-22 15:36:48 +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
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
Lisa Durand
7e39e8113b
feedback PR Colin
2023-05-16 17:54:37 +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
06b6663662
import more stuff
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
34540d34e9
create default_zones_administrateurs
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
a191f66508
add tchap hs to zone
2023-05-16 09:40:53 +02:00
Colin Darie
8592571b50
Merge pull request #9034 from colinux/editor-typo
...
Admin: corrige une typo dans une option de nombre de caractères limite
2023-05-15 11:41:21 +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
Paul Chavard
f485f144fc
chore(procedure): log dossiers before reset
2023-05-15 10:21:54 +02:00
Paul Chavard
b4a299c326
fix(user): always rebase original dossier before merge
2023-05-12 20:42:02 +02:00
simon lehericey
26fa5de790
avoid reset
2023-05-12 11:31:34 +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
7b17bfe0a1
feat: add info for screen reader
2023-05-12 10:03:54 +02:00
Lisa Durand
1e7add3b6e
fix incrementation of success dossiers in batch alert
2023-05-11 15:42:23 +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
LeSim
4cde60ce2b
Merge pull request #9023 from mfo/US/clarify-counters
...
amelioration(instructeurs/procedure#show): ETQ instructeur, je souhaite avoir les mêmes compteurs entreles pages listant mes demarches et la page pour visualiser une démarches
2023-05-10 10:03:11 +00: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
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
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
Martin
386523019d
amelioration(instructeurs/procedure#show): ETQ instructeur, je souhaite avoir les mêmes compteurs entreles pages listant mes demarches et la page pour visualiser une démarches
2023-05-09 13:59:49 +02:00