Commit graph

118 commits

Author SHA1 Message Date
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
Colin Darie
9d4113befb
feat(helpscout): delete old conversations 2024-06-13 11:16:52 +02:00
Paul Chavard
704cd60e04
chore(task): run commune code fix on all champs of a procedure 2024-05-29 15:56:49 +02:00
simon lehericey
555df3a6d8
feat(User): add maintenance task to backfill email_verified_at 2024-05-27 17:24:56 +02:00
mfo
1b2cd09737
Merge pull request #10387 from demarches-simplifiees/recompute_blob_checksum
Tech: ajoute une maintenance task pour recalculer les checksums de pj erronées
2024-05-24 08:20:42 +00:00
mfo
29ef5b313c
fix(data): clean Champs::PieceJustificativeChamp for annotations that had been cloned 2024-05-21 14:35:51 +02:00
mfo
a01bbd68c7
fix(backfill_invalid_dossiers): not tested, typo 2024-05-16 09:48:05 +02:00
mfo
68a624be9e
fix(data): backfill invalid dossier for tiers without tiers info 2024-05-15 14:42:37 +02:00
simon lehericey
d2987582f1
chore(blob): add maintenance task to recompute blob checksum 2024-04-29 10:06:33 +02:00
Paul Chavard
0f6b39d5ca fix(task): fix BackfillCommuneCodeFromNameTask 2024-04-24 16:22:20 +02:00
Paul Chavard
f4f1d5bcd9 chore(task): backfill commune code from name task 2024-04-15 12:12:05 +02:00
Paul Chavard
bde496b739
Merge pull request #10322 from tchak/chore-backfill-stable-id-custom-limit
chore(task): backfill stable_id with custom limit
2024-04-15 09:28:21 +00:00
Paul Chavard
ef2aa217ff chore(task): backfill stable_id with custom limit 2024-04-15 10:43:39 +02:00
simon lehericey
120eb4253c
data: add naive maintenance task to cold storage dol 2024-04-15 10:16:14 +02:00
Paul Chavard
9bfc4119b1 fix(stable_id): recursive job to fill stable_ids 2024-04-11 11:45:03 +02:00
simon lehericey
f55328c15d
fix: maintenance task to backfill city_name 2024-04-09 11:44:11 +02:00
Paul Chavard
282ce1322c fix(stats): more accurat stats about deleted dossiers 2024-04-04 19:00:48 +02:00
Paul Chavard
81c325f938 chore(task): another attempt to backfill stable_id 2024-04-04 17:55:38 +02:00
Paul Chavard
792bf47658 chore(task): reduce batch size of fill stable id task 2024-04-02 15:55:44 +02:00
Paul Chavard
3c336c437a chore(task): optimize maintenance task 2024-03-28 17:35:17 +01:00
Eric Leroy-Terquem
e712cf5f23 task(procedure): fix open procedures with closing reason 2024-03-22 16:00:36 +01:00
Eric Leroy-Terquem
a89b471b5c
Merge pull request #10163 from demarches-simplifiees/fix-bulk-message-maintenance-task
fix(maintenance task): fix query and add a test
2024-03-21 08:26:09 +00:00
Eric Leroy-Terquem
dd7a407187 fix(maintenance task): fix query and add a test 2024-03-20 15:24:21 +01:00
Eric Leroy-Terquem
280f1ac3c7 refactor(procedure): add a prefix to closing_reason enum 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
234f0d7a75 fix(data): update closing_reason to other if no replaced_by_procedure_id 2024-03-20 14:04:59 +01:00
Paul Chavard
40fb95978a
each -> find_each 2024-03-19 16:20:24 +01:00
Paul Chavard
bda2d80dea
task(champs): update champs for each dossier 2024-03-19 16:08:56 +01:00
Paul Chavard
8479300328 fix(champs): run mentainance task on all records 2024-03-19 14:25:36 +01:00
Paul Chavard
f2b3cbcf2e
Merge pull request #10147 from mfo/clean-fix-champ-missing
tech(clean): drop unusable maintenance task
2024-03-19 08:32:09 +00:00
Martin
291e6b0550 fix(fix_missing_champs_task): rake_puts present in spec, not in prod 2024-03-19 09:18:30 +01:00
Martin
9d94448763 tech(clean): drop unusable task (i'm not able to use my own csv_collection for task maintenance [that the expected format?, who knows]). now use https://github.com/demarches-simplifiees/demarches-simplifiees.fr/pull/10139, takes an array of procedure, find dossiers with missing champs, run the fixer. 2024-03-19 05:28:38 +01:00
mfo
aafe6a7bb6
Merge pull request #10139 from mfo/US/fix-missing-champs-task
fix(data): apply fix missing champ via task. FV dossiers are poping way too much at helpdesk
2024-03-18 17:26:45 +00:00
Martin
2dac74916f fix(data): apply fix missing champ via task. FV dossiers are poping way too much at helpdesk
Co-authored-by: Colin Darie <colin@darie.eu>
2024-03-18 17:53:21 +01:00
Paul Chavard
750b38bbf4 fix(champs): use approximate count in the task 2024-03-18 17:06:24 +01:00
Paul Chavard
8abe3fce79 add stable_id and stream 2024-03-18 11:34:55 +01:00
Eric Leroy-Terquem
0a00d801bc fix(data): update procedures with invalid mon avis 2024-03-18 10:11:09 +01:00
Eric Leroy-Terquem
6322532805 fix(data): destroy procedure if no administrateur and no dossier 2024-03-15 16:30:03 +01:00
Paul Chavard
4e023ebed0
Merge pull request #10106 from colinux/limit-service-geocoding-to-insee-code
Super-Admins: évite que le géocodage des services tombe sur une mauvaise commune
2024-03-14 16:16:03 +00:00
Eric Leroy-Terquem
0a8075d8a4 fix(maintenance task): pass a collection instead of an array 2024-03-13 16:02:25 +01:00
Eric Leroy-Terquem
237b21025a fix(data): update procedure with duree_conservation greater than max_duree 2024-03-13 11:09:36 +01:00
Colin Darie
4ce8e75001 chore(service): maintenance tasks refreshing geocoding 2024-03-13 11:02:14 +01:00
Colin Darie
ee92668611
Merge pull request #9930 from demarches-simplifiees/add-external-link-to-procedure
ETQ admin lorsque je clos une démarche je peux alerter les usagers et je crée une page de fermeture si la démarche n'est pas redirigée dans DS
2024-03-12 15:03:30 +00:00
Eric Leroy-Terquem
a5cfafbf27 db(bulk messages): backfill bulk_messages with procedure_id 2024-03-11 16:59:06 +01:00
Eric Leroy-Terquem
31ba16da02 db(bulk messages): destroy bulk_messages without procedure or groupe instructeur 2024-03-11 16:59:06 +01:00
Eric Leroy-Terquem
facb38b539 db(procedure): add a maintenance task to backfill closed procedures with closing reason 2024-03-11 15:48:28 +01:00
Paul Chavard
0a96405376 fix(effectif): bug in maintenance task 2024-03-08 13:09:09 +01:00
Christophe Robillard
c01914bc24 update zones for new government 2024-03-06 21:18:09 +01:00
Paul Chavard
a9bf809ea3
Merge pull request #10069 from mfo/US/fix-spread-dossier-deletion-task
tech(spread_dossier_deletion_task): query on date time range not on date
2024-03-05 15:27:09 +00:00
Paul Chavard
1243cfefeb fix(entreprise): graphql effectif 2024-03-05 16:00:28 +01:00
Martin
4f85082034 fix(spread_dossier_deletion_task): query on date time range not on date 2024-03-05 14:25:16 +01:00
Martin
eb6b23347b fix(data): avoid destroying 2M dossiers in one day due to error in Cron::ExpiredDossiersTermineDeletionJob 2024-03-04 10:52:49 +01:00
Paul Chavard
12598229a7 chore(browser): mark samsung browser as supported browser 2024-02-20 20:22:05 +01:00
Colin Darie
c9b9338f6e fix(maintenance): dossiers missing champs fixer invokation 2024-02-05 17:01:35 +01:00
Martin
5c049a1c0f feat(update_draft_revision_type_de_champs_task): force to use real position otherwise have to process parent_coordinates... 2024-01-22 14:57:04 +01:00
Eric Leroy-Terquem
882d72d139 data(conditional): add a maintenance task to update conditions based on commune or epci champ 2023-12-19 17:39:40 +01:00
Eric Leroy-Terquem
e4632214fb data(conditional): add a maintenance task to update routing rules based on commune or epci champ 2023-12-19 17:39:39 +01:00
Colin Darie
6a2e68b697 feat(admin): task removing type de champ from draft revision from a csv 2023-12-11 19:04:49 +01:00
Colin Darie
7618b8c549 feat(admin): task updating libelles, description, mandatory and positions on draft revision
Co-Authored-By: mfo <mfo@users.noreply.github.com>
2023-12-11 18:41:20 +01:00
Martin
b83975869c tech(maintenance): ajoute une maintenance_task pour ajouter des champs manquant a un dossier 2023-10-31 16:42:35 +01:00
Christophe Robillard
4130529854 backfill departement services 2023-10-26 11:36:58 +02:00
Paul Chavard
7a01889563 use maintenance tasks gem 2023-10-10 15:11:08 +02:00