Commit graph

21582 commits

Author SHA1 Message Date
Paul Chavard
61a6f0b382
Merge pull request #10243 from demarches-simplifiees/small_job_fixes
Tech: petites corrections pour éviter les réessais inutile sur les jobs de mail et de rnf
2024-04-02 14:09:55 +00:00
Paul Chavard
792bf47658 chore(task): reduce batch size of fill stable id task 2024-04-02 15:55:44 +02:00
Colin Darie
e23e2d9c31
perf(export): download in chunks files >= 10 mb 2024-04-02 15:54:46 +02:00
simon lehericey
57927a3783
chore: more log to address controller errors 2024-04-02 15:47:11 +02:00
mfo
b245d9b063
Merge pull request #10220 from demarches-simplifiees/fix-drop-down-missing-hint
ETQ usager : Champ choix multiple, ajouter une aide a a la saisie
2024-04-02 09:28:34 +00:00
mfo
597014e636
Merge pull request #10240 from demarches-simplifiees/more_job_to_sidekiq
Tech: ajoute plus de job a sidekiq
2024-04-02 09:28:08 +00:00
mfo
84f0891a8b
Merge pull request #10245 from demarches-simplifiees/US/fix-attestation-link
correctif(lien.attestation): ETQ expert, je souhaite avoir accès à l'attestation même si je ne suis pas instructeur
2024-04-02 08:14:37 +00:00
mfo
e40ef51f61
Merge pull request #10247 from colinux/fix-export-memory-leak
Tech: fix memory leak pendant le téléchargement des PJ des exports
2024-04-02 08:14:28 +00:00
mfo
3a895fbd4a
tech(review): add a guard clause to prevent missing pdf, enhance specs 2024-04-02 10:04:22 +02:00
simon lehericey
8405c83c12
fix: do not retry rnf bad request 2024-04-02 10:00:07 +02:00
simon lehericey
dd6c558541
fix: discard deserialization error as there are raised from AR not found 2024-04-02 10:00:06 +02:00
mfo
4da36531d4
Merge pull request #10242 from demarches-simplifiees/US/fix-decimal-number-validator
Correctif(annotations privées): ETQ instructeur, je ne pouvais modifier une annotation quand un usager avait saisi des valeur de champs incorrectes
2024-04-02 07:13:07 +00:00
Colin Darie
f9af570cab perf(export): fix memory leak after large files downloads 2024-04-01 20:03:35 +02:00
Paul Chavard
61a74239f8
Merge pull request #10246 from tchak/fix-enqueu-jobs-after-commit
fix(dossier): enqueue jobs after commit
2024-04-01 17:09:38 +00:00
Paul Chavard
13005b0a4a fix(dossier): enqueue jobs after commit 2024-04-01 19:00:25 +02:00
Paul Chavard
5d302fb6ac refactor(dossier): extract aasm callbacks in to a concern 2024-04-01 18:55:08 +02:00
mfo
e08aa7d28b
wip(validates): prefill and validate_champ_value? on all other missing validation checks 2024-04-01 07:36:14 +02:00
mfo
284a10e235
fix(Champs::EngagementJuridiqueChamp): validates Champs::EngagementJuridiqueChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
mfo
ff527517c9
fix(Champs::CiviliteChamp): validates Champs::CiviliteChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
mfo
94ea16c894
fix(Champs::BooleanChamp): validates Champs::BooleanChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
mfo
d7f152f4af
fix(Champs::PhoneChamp): validates Champs::PhoneChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
mfo
374d763084
fix(Champs::IntegerNumberChamp): validates Champs::IntegerNumberChamp respecting it's validation context. 2024-04-01 07:18:13 +02:00
mfo
fd5faad31f
fix(Champs::PaysChamp): validates Champs::PaysChamp respecting it's validation context. Also do not save value when external_id/code can't be found by lookup 2024-04-01 07:18:13 +02:00
mfo
04f3b6a844
fix(Champs::DecimalNumberChamp): validates Champs::DecimalNumberChamp respecting it's validation context 2024-04-01 07:07:11 +02:00
mfo
b07bbfa455
bug(instructeurs/dossiers#update_annotations): should works if a champ_public is invalid 2024-04-01 07:07:10 +02:00
Martin
2944a0c2c3
fix(expert.attestation.url): was pointing to attestation_instructeur_dossier_path, so did not worked when expert was not instructeur. use active_storage_link, secured enough because served to authenticated users as well as expiring link 2024-03-30 06:20:11 +01:00
Paul Chavard
46c5830306
Merge pull request #10238 from demarches-simplifiees/fix-mailbox-missing-link
ETQ usager : ajout d'un lien vers la messagerie dans les dossiers en attente de correction
2024-03-28 16:56:17 +00:00
Paul Chavard
f8accdcb8d
Merge pull request #10241 from tchak/maintenance-task-optimize
chore(task): optimize maintenance task
2024-03-28 16:48:33 +00:00
Paul Chavard
3c336c437a chore(task): optimize maintenance task 2024-03-28 17:35:17 +01:00
simon lehericey
40df5028ff
chore: move more jobs to sidekiq
active_storage_analysis : queue active_storage_analysis
proceduresvasvr: queue sva
webhook: queue webhooks_v1
destroyrecordlater: default
champfetchexternal: default
dossierupdatesearch: default
2024-03-28 17:25:50 +01:00
LeSim
a30dfaf118
Merge pull request #10237 from demarches-simplifiees/yabeda-sidekiq
Yabeda sidekiq
2024-03-28 11:32:44 +00:00
simon lehericey
4c0b6fd93a
enable yabeda sidekiq metrics
a webserver is launched with the sidekiq process. It listen on the 9394 port and bind on 0.0.0.0 by default.
2024-03-28 12:11:14 +01:00
simon lehericey
1bd6260df4
add webrick to export prometheus data
not so sure about having a second webserver gem
2024-03-28 12:11:14 +01:00
Corinne Durrmeyer
d5af837872 feat(messagerie_missing_link): Add link to messaging system in the alert block - fix #10198 2024-03-28 11:55:09 +01:00
simon lehericey
3fbc96e4e0
add yadeba sidekiq and prometheus 2024-03-28 11:26:55 +01:00
Corinne Durrmeyer
4cfcd70266
Update config/locales/models/champs/multiple_drop_down_list/fr.yml
Fix typo

Co-authored-by: Colin Darie <colin@darie.eu>
2024-03-28 10:11:29 +01:00
Paul Chavard
96e77c81c5
Merge pull request #10233 from colinux/gh-git-fixup-merge
CI: block fixup commit merge
2024-03-27 17:38:44 +00:00
Colin Darie
3cf79fd170 ci: block fixup commit merge 2024-03-27 17:25:52 +01:00
Eric Leroy-Terquem
78530f9823
fix(fermeture): redirect to commencer if procedure not closed 2024-03-27 12:16:04 +01:00
Lisa Durand
65b8f6881a
Merge pull request #10143 from demarches-simplifiees/float-too-many-decimal-ldu
ETQ admin, je veux que le champ nombre décimal ne prenne que 3 chiffres après la virgule
2024-03-27 10:05:35 +00:00
Lisa Durand
a3ab6dd257 add validation on decimal max 3 digits after coma 2024-03-27 10:55:10 +01:00
mfo
465de75e6b
Merge pull request #10215 from demarches-simplifiees/US/catch-oomed-jobs
tech(export_job): sometimes ExportJob are OOMed, in those cases jobs are stuck and never retried. release lock and increase attempts
2024-03-27 09:34:46 +00:00
LeSim
5fc751a691
Merge pull request #10173 from demarches-simplifiees/US/test-pg-extra
Tech: ajoute gem `rails-pg-extras`
2024-03-27 08:55:48 +00:00
LeSim
6b6c2b5111
Merge pull request #10228 from demarches-simplifiees/move_mailer_to_sidekiq
Tech: les jobs de mail utilisent sidekiq
2024-03-27 08:45:26 +00:00
Colin Darie
ae505e32aa
Merge pull request #10212 from demarches-simplifiees/dependabot/bundler/rdoc-6.6.3.1
chore(deps-dev): bump rdoc from 6.6.2 to 6.6.3.1
2024-03-27 08:43:43 +00:00
simon lehericey
6ff26666c5
chore: move mailer to sidekiq 2024-03-26 21:25:14 +01:00
Kara Diaby
bfc68f8377
Merge pull request #10216 from demarches-simplifiees/dark_mode_admin_mails
ETQ Admin, je souhaite voir l'éditeur de mail adapté au dark mode
2024-03-26 20:04:21 +00:00
LeSim
1178a31d63
Merge pull request #10207 from demarches-simplifiees/remove_index_dossiers_hidden_at
Tech: supprime l'index inutilisé dossiers#hidden_at
2024-03-26 16:36:37 +00:00
simon lehericey
64abf6325c
remove index on dossiers/hidden_at 2024-03-26 17:17:10 +01:00
Corinne Durrmeyer
ba290110e5 feat(multiple_drop_down_list): Replace blank option 2024-03-26 15:39:27 +01:00