Commit graph

120 commits

Author SHA1 Message Date
Benoit Queyron
2b8e2b41da
Merge pull request #10968 from demarches-simplifiees/tech-nettoyage-options-header-section
Tech: task, nettoyage des options des header_section
2024-10-23 09:23:53 +00:00
benoitqueyron
1169dae310
task: clean header_section options 2024-10-23 10:35:07 +02:00
Eric Leroy-Terquem
d17b913ccc
db(task): set a date_time to pieces_jointes_seen_at for remaining follows 2024-10-18 16:43:28 +02:00
simon lehericey
b2754cd26c
move validations concern to filtered_column
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:06 +02:00
Mathieu Magnin
097074fdc7
Merge pull request #10865 from demarches-simplifiees/fix-10799
ETQ Admin / Instructeur je veux être savoir si le jeton api entreprise d'une démarche a expiré ou va expirer prochainement
2024-10-15 13:25:20 +00:00
Mathieu Magnin
029a75404d
[#10799] Fixes after @E-L-T review's 2024-10-15 14:40:51 +02:00
Mathieu Magnin
f26ff30538
[#10799] Add maintenance task to fill api_entreprise_token_expires_at for previous data 2024-10-15 14:40:50 +02:00
Paul Chavard
bd32f5693d
refactor(repetition): remove parent_id 2024-10-15 11:42:36 +02:00
Kara Diaby
2c85757289
Créé la liste de nouveaux tags en base et les associe aux démarches 2024-10-14 10:26:47 +02:00
Colin Darie
da1bf573e3
chore(task): noop maintenance task verifying automatic run on deploy 2024-10-09 13:44:18 +02:00
Colin Darie
9eb9e80232
chore(doc): more information about many maintenance tasks 2024-10-09 13:44:17 +02:00
Colin Darie
cae5d8afed
feat(task): task enqueueing a maintenance task runnable on deploy 2024-10-09 13:44:17 +02:00
Colin Darie
d0f77d0aab
feat(task): with_statement_timeout helper for long running collection or process query 2024-10-09 13:44:17 +02:00
Paul Chavard
ecbf985147
refactor(dossier): champs_* -> project_champs_* 2024-10-04 12:05:55 +02:00
Paul Chavard
a8e605f4b3
chore: clean some dead code 2024-09-27 11:35:29 +02:00
mfo
9d46514467
fix(resolve_pending_correction): role back pending_correction for champs
without external_id
2024-09-23 21:15:14 +02:00
mfo
3b3c845b2e
fix(fix_champs_commune_having_value_but_not_external_id): only asks for update for dossier en construction 2024-09-20 14:30:42 +02:00
mfo
ada5ceeeec
fix(data): revert pending_correction for champs commune not having external_id, was a mistake. mine 2024-09-20 11:54:11 +02:00
mfo
36247a4b6d
Merge pull request #10770 from demarches-simplifiees/US/fix-timeouting-task-fixing-champs-commune
ETQ operateur DS, je souhaite pouvoir corriger les champs de type commune ayant de la bad data
2024-09-17 07:17:47 +00:00
mfo
7bbf04b9b5
Merge pull request #10774 from mfo/US/fix-PG-NumericValueOutOfRange
correctif: ETQ instructeur, si j'ai essayé de filtrer mes dossiers par numéro et que j'ai saisi un numero superieur à 2147483647, ma page ne doit pas planter
2024-09-16 14:43:59 +00:00
mfo
18137b176c
fix(fix_champs_commune_having_value_but_not_external_id_task): timeouting despite classic pattern to find all champs for a specific type. lighten request by selecting only :id and processing batches 2024-09-16 16:38:46 +02:00
mfo
6af07dd721
data(fix): backfill invalid procedure presentation filters having a value greater than pg max integer 2024-09-16 16:36:02 +02:00
mfo
e2ec5118f4
fix(champs.rnf): some foundations was removed from the registry. lucky us [or good archi ? :D], we kept api data 2024-09-16 14:24:40 +02:00
Colin Darie
09cafdb15f
Merge pull request #10745 from colinux/helpscout-delete-old-customers
ETQ opérateur, je supprime les contacts HS > 2 ans
2024-09-11 15:19:33 +00:00
Colin Darie
7c30ab87bc
Merge pull request #10712 from colinux/rails-7-finalize-defaults
Rails 7.0 : finalise la migration des defaults
2024-09-09 08:08:27 +00:00
Colin Darie
5d4cafc18f
Merge pull request #10722 from colinux/migrates-otp-secrets
Tech: task pour copier les secrets OTP vers les encrypted attributes
2024-09-09 07:08:30 +00:00
mfo
657fb0ebf4
feat(Maintenance.communes): backfill missing external_id for communes champs in error 2024-09-06 09:29:28 +02:00
Colin Darie
328844dabf
feat(task): delete contacts without activity since 2 years 2024-09-05 10:50:42 +02:00
Colin Darie
1524f5ba16
feat(maintenance): add task to copy super admin OTP secrets to Rails 7 encrypted attributes 2024-09-03 19:25:32 +02:00
mfo
3a33d8af45
fix(data): unlock broken dossier due to bad release 2024-08-30 17:37:05 +02:00
Colin Darie
ca7100c7af
chore(encryption): task rotating api particulier token encrypted attributes 2024-08-28 13:58:59 +02:00
mfo
bab8fc2d29
fix(delete_orphaned_champs): maintenance tasks with custom PG_STATEMENT_TIMEOUT is not a good fit. change implementation to after_party 2024-08-27 13:43:28 +02:00
mfo
0771d207f3
Merge pull request #10716 from mfo/US/fix-bad-data
ETQ instance DS, je souhaite que l'intégrité des données entre les champs et les dossiers soient garantie par une contrainte en base de donnée
2024-08-26 14:23:25 +00:00
mfo
1d84c0f55b
fix(champs.orphaned): add maintenance task to clean orphaned champs where dossier is missing 2024-08-26 16:00:59 +02:00
mfo
03a72ccf06
fix(PopulateSiretValueJSONTask): some bad data prevent the task to finish 2024-08-26 10:10:34 +02:00
mfo
8a42c6a7ad
Merge pull request #10708 from mfo/US/format-rna
ETQ tech je souhaite que les champs RNA ne puissent pas contenir d'espace sans quoi nos appels d'API remontent un URI::InvalidURIError
2024-08-22 08:36:38 +00:00
mfo
53cbb1cace
fix(PopulateRnaJsonValue): some procedure had been deleted, can not find them 2024-08-22 10:24:03 +02:00
mfo
22e50d4c9e
fix(data): normalize invalid Champs::RNAChamp.values in db 2024-08-22 10:24:03 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
mfo
0ed5206d9f
fix(PopulateRNAJSONValueTask): edge case, one champ raises an URI::InvalidURIError 2024-08-21 16:36:22 +02:00
mfo
3662e38366
hotfix(ProcedurePresentation): backfill invalid procedure presentation private tabel name for type de champs private 2024-08-20 17:58:55 +02:00
mfo
92ffd69bf1
doc(instance): explicite quand/comment faire tourner ces taches 2024-08-20 11:37:21 +02:00
mfo
a66bd46082
data(backfill): Champs::SiretChamp.value_json [±1.4M occurences] 2024-08-20 10:31:23 +02:00
mfo
917f25dcfd
data(backfill): Champs::RnaChamp.value_json [±7.5k occurences] 2024-08-20 10:31:23 +02:00
mfo
4bf5725d6d
data(backfill): Champs::RnfChamp.value_json [±400 occurences] 2024-08-20 10:31:23 +02:00
Paul Chavard
9d7d7da85a
Merge pull request #10572 from demarches-simplifiees/add-pj-from-messagerie-to-gallery
ETQ instructeur je peux voir les pjs envoyées par la messagerie dans l‘onglet "pièces jointes"
2024-07-30 09:35:14 +00:00
simon lehericey
746ff92118
Add PhishingAlert maintenance task and mailer 2024-07-24 18:10:57 +02:00
Eric Leroy-Terquem
d8d2094909
db(task): remove pj files for not visible champs 2024-07-24 09:21:12 +02:00
Colin Darie
4f5f860405
fix(helpscout): rate limit respect 1 minute window 2024-07-22 15:12:54 +02:00
Eric Leroy-Terquem
5fbe2daca2
db(maintenance task): create representations for pjs sent by messagerie 2024-07-22 10:07:40 +02:00