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
Paul Chavard
6e37a3faf1
chore(champs): task to move non unique champs to a bad_data stream
2024-07-16 14:17:12 +02:00
Eric Leroy-Terquem
ad7f01f97b
fix(maintenance task): catch active storage errors
2024-07-11 10:37:00 +02:00
Eric Leroy-Terquem
30da11823b
db(task): create previews for pjs in one week
2024-07-10 17:38:05 +02:00
Eric Leroy-Terquem
c9d74c46d1
db(task): create variants for pjs in one week
2024-07-10 17:38:04 +02:00
Eric Leroy-Terquem
5397c84918
clean: remove failing maintenance tasks
2024-07-02 09:58:28 +02:00
Colin Darie
0adadf77fa
fix(helpscout): rate limit compared to integer
...
Signed-off-by: Colin Darie <colin@darie.eu>
2024-07-01 10:54:31 +02:00
mfo
bc6e2a40ba
Merge pull request #10554 from mfo/US/fix-export-decimal
...
ETQ admin/instructeur, je souhaite récupérer la valeur d'un type de champ decimal même si la valeur est précédé et ou suivi d'espace blanc
2024-06-26 02:06:39 +00:00
mfo
cfda807b66
fix(data): decimal number having spaces are no more exportable
2024-06-25 21:17:46 +02:00
Colin Darie
22a4f471e5
fix(helpscout): rate limit take into deletions into account
2024-06-25 16:45:41 +02:00
Eric Leroy-Terquem
c94c2f55c8
task(pj): create representations for latest pieces jointes
2024-06-24 11:13:37 +02:00