Commit graph

594 commits

Author SHA1 Message Date
LeSim
c252748833
Merge pull request #8836 from demarches-simplifiees/improve-routing-rules-ux
feat(routing): nicer and safer ?
2023-04-17 08:23:15 +00:00
Paul Chavard
d3848ee7af chore(api_geo): import api geo data 2023-04-13 13:08:47 +02:00
simon lehericey
a5200a569f feat(routing): task to backfill procedure.defaut_groupe_instructeur_id 2023-04-13 10:44:06 +02:00
Paul Chavard
a6e3ea4839 fix(dossier): normalize champs commune data 2023-04-07 16:02:13 +02:00
Martin
144380fe4d correctif(data): certaines procedures supprimées etaient invalides du fait qu'elle n'avaient pas ete mise a jour sur le critere du nom de routage 2023-04-04 16:17:39 +02:00
Colin Darie
fed29651b2 fix(after-party): typo in task name 2023-03-16 18:06:44 +01:00
Colin Darie
83a3421537
Merge pull request #8769 from colinux/fix-annotations-privees-champ-type-mismatch
Fix: crash d'annotations privées à cause d'une incohérence avec leur type de champ
2023-03-16 15:55:56 +00:00
simon lehericey
ca63cc34ab feat(token depreciation): add mail alert 2023-03-16 16:16:45 +01:00
Colin Darie
4ae18af3cd
fix(annotations-privees): mismatch Champ.type <> TypeDeChamp.type_champ due to buggy rebases 2023-03-16 14:52:12 +01:00
Colin Darie
08666cd852 fix(dossier): fix again hidden_by_reason nil to fix Cron::DiscardedDossiersDeletionJob 2023-03-02 17:16:52 +01:00
Christophe Robillard
6851a9ee52 falsify opendata flag for some procedures
`procedures:falsify_opendata_procedures` rake task allows to falsify
opndata flag for procedures listed in csv file given in input (with only
one column : id column)
2023-03-01 11:47:11 +01:00
Colin Darie
ce175aed00 chore(type_de_champ): normalize (strip) all libelles 2023-02-27 17:29:22 +01:00
Christophe Robillard
61d14c2c52 compute once dossiers count for each procedure 2023-02-21 10:06:07 +01:00
Martin
437be2c901 correctif(data): supprime les attachment sans blob 2023-02-16 14:54:13 +01:00
Paul Chavard
f6b528e497 chore(geo_area): normalize all geo_areas 2023-02-15 11:58:59 +01:00
sebastiencarceles
daa7e17e70 review: avoid in_batches 2023-02-13 16:32:34 +01:00
sebastiencarceles
f0ffae8320 migrate(champs): normalize departements 2023-02-13 16:32:34 +01:00
mfo
e0da997a9b
Merge pull request #8593 from demarches-simplifiees/migration/normalize-regions
migrate(champs): normalize regions
2023-02-13 09:22:34 +01:00
Paul Chavard
e3446c2ad1 fix(revision): backfill missing published_at 2023-02-09 11:52:41 +01:00
sebastiencarceles
d2f5fe5ff5 migrate(champs): normalize regions 2023-02-09 10:46:17 +01:00
Colin Darie
2c1465a8cc
fix(geo_area): geo_area.geometry must be valid JSON, not nil 2023-02-08 16:55:35 +01:00
Martin
14494255be Revert "migrate(champs): normalize departements (#8505)"
This reverts commit 6800bb8cec.
2023-02-06 15:57:26 +01:00
Martin
db36397bc5 Revert "migration: normalize regions (#8521)"
This reverts commit 8fee658eba.
2023-02-06 14:49:51 +01:00
Martin
54fa4ddc3d data(migration): renomme les anciennes method dolist en dolist_smtp 2023-02-03 17:19:36 +01:00
Colin Darie
b0b7114c3b
feat: jsv support for primitives 2023-02-02 14:55:46 +01:00
Sébastien Carceles
8fee658eba
migration: normalize regions (#8521) 2023-02-02 10:19:33 +00:00
Sébastien Carceles
6800bb8cec
migrate(champs): normalize departements (#8505)
* migration: normalize departements

* rename update_all methods to avoid collusions

* simplify scopes
2023-02-02 10:00:56 +00:00
Paul Chavard
dd2d3d4626 fix(task): improuve after party backfill_dossiers_repetitions 2023-02-01 15:27:07 +01:00
Paul Chavard
8bf0d9c5ec fix(dossier): backfill missing repetition champs 2023-02-01 10:36:46 +01:00
Martin
bf839d61a0 amelioration(data): re-associe les anciennes invitation avec un nouveau targeted_user_link pour concerver des données homogènes 2023-01-31 17:09:36 +01:00
Martin
70e3d5a30c correctif(invitations): reprise des donnees d'invitations en erreur pointant sur le mauvais model 2023-01-31 16:55:12 +01:00
Martin
f6aa30763a donnees(correctif): corrige les transfers de dossiers ayant un email contenant des lettres capitales 2023-01-31 14:52:57 +01:00
Paul Chavard
626b28ca16 perf(tags parser): improuve parser perf 2023-01-30 11:52:35 +01:00
Colin Darie
869bdf6ade fix(after_party): backfill children Champs without row_ids
Pendant l'after_party 20221215135522_backfill_row_id_on_champs.rake
qui crééait les row_id pour la première fois,
des dossiers ont été clonés et ont échappé à cette tâche.
Ils possèdent donc des champs répétables sans row_id.

Cette tâche vient compléter les row_id manquants
pour ces quelques malheureux champs.

Co-authored-by: Paul Chavard <github@paul.chavard.net>
2023-01-18 17:42:40 +01:00
Damien Le Thiec
3a8a50a216
Allow prefill pays type de champs (#8344)
* Allow prefill pays type de champs

* Avoid conditional prefil params for pays champ

* Clean pays data with batch update

* Fix bug and add test batch update pays value

* Improve performance batch_update_pays

* Fix associated country code problem

* Fix after party task name

* Format country name if needed in batch update
2023-01-18 12:52:38 +01:00
Paul Chavard
bb6c53abaa fix(after_party): BatchUpdateDatetimeValueJob -> BatchUpdateDatetimeValuesJob 2023-01-17 16:40:34 +01:00
Paul Chavard
cd22f106be fix(after_party): DateTimeChamp -> DatetimeChamp 2023-01-17 16:13:59 +01:00
Damien Le Thiec
5e26acb0e1
Make date and datetime prefillable (#8304)
* Make date and datetime prefillable

* Format in ISO8601 format
2023-01-12 17:42:02 +01:00
Paul Chavard
dfe65136be refactor(repetition): add row_id to champs 2023-01-05 18:04:54 +01:00
Sébastien Carceles
fa6fc077b4
normalize boolean values (#8320)
* extract parent for yes no and checkbox champs

* checkbox stores true / false instead of on / off

* normalize blank value to nil

* normalize invalid value to false

* after party task: normalize checkbox values

* after party task: normalize yes_no values
2023-01-05 11:18:27 +00:00
Paul Chavard
6e18090fb3 refactor(virus_scan_result): use column instead of metadata on blob 2023-01-04 12:12:11 +01:00
Paul Chavard
d469bca0ae refactor(watermark): use column instead of metadata on blob 2023-01-04 12:07:08 +01:00
Colin Darie
9acde4bc61 fix(geo_area): missing source on 1 record 2022-12-21 12:57:38 +01:00
Paul Chavard
4eaa6ae049 fix(dossier): schedule a rebase to all pending dossiers 2022-12-21 10:12:33 +01:00
Christophe Robillard
11a18516b2 remove feature flag zonage 2022-12-21 09:02:16 +01:00
Paul Chavard
47f716f9fa feat(api_token): add api_tokens table 2022-12-07 18:19:37 +01:00
simon lehericey
905e3ab64e clean(flipper): remove unused gates 2022-12-05 12:22:29 +01:00
simon lehericey
f63de9524f feat(super_admin): create admin count for super_admin with team_account enabled 2022-11-24 12:22:01 +01:00
Paul Chavard
55c5de2c2c feat(attestation_template): assign attestations templates to procedures 2022-11-23 12:26:26 +01:00
simon lehericey
33dcd7a787 fix(procedure): backfill duree_conservation 2022-11-23 12:19:14 +01:00