Martin
9527d19ae7
amelioration(data_fixer.rake): ajoute la tache pour fixer les champs manquant a un dossier
2023-10-16 17:20:17 +02:00
Martin
e31347d1bf
refactor(deplacement): renomme le phone_fixer.rake en un data_fixer.rake pour corriger les données de prod
2023-10-16 17:19:31 +02:00
Eric Leroy-Terquem
1ecd05df54
task(phone): add task to fix invalid phones
2023-10-12 17:57:43 +02:00
Christophe Robillard
75d671c0b4
fix: email no siret service
2023-10-06 11:16:12 +02:00
Colin Darie
9673485904
chore(flipper): delete disable_label_optional_champ_2023_06_29 feature flag
2023-10-03 14:37:41 +02:00
Colin Darie
347891fd92
chore(etablissement): task updating etablissements in degraded mode for a procedure
2023-10-03 11:22:32 +02:00
Paul Chavard
619e545238
Merge pull request #9543 from colinux/fix-perf-instructeurs-home
...
ETQ instructeur, la page de mes démarches est un peu plus rapide
2023-09-29 17:51:55 +00:00
Colin Darie
8678986808
chore(benchmark): tooling for benchmarking controller action
2023-09-29 15:11:50 +02:00
Christophe Robillard
20d70d2b1c
notify admin with service without siret
2023-09-29 11:37:34 +02:00
Eric Leroy-Terquem
12eac64572
fix(procedure): do not route cloned procedures from different admin retry
2023-09-28 18:10:59 +02:00
Eric Leroy-Terquem
07e971e4a3
db(procedure): unroute cloned procedures from different admin
2023-09-21 15:51:56 +02:00
Colin Darie
e2e3f9fdce
fix: destroy Individual of dossier for etablissements
2023-09-18 17:34:27 +02:00
Colin Darie
201b31bf36
refactor(watermark): small text based watermarked to increase document visibility
2023-09-12 13:04:31 +02:00
Eric Leroy-Terquem
5553e20282
db(after party): set forced_groupe_instructeur to false for brouillon dossiers without groupe_instructeur
2023-09-06 17:28:01 +02:00
Eric Leroy-Terquem
487959e864
Add a rake task to run RoutingEngine
2023-08-30 17:40:47 +02:00
Martin
367a557aaf
amelioration(data): pour les dossiers en brouillon ayant un groupe_instructeur_id, supprime cette information
2023-08-14 10:17:23 +02:00
Paul Chavard
4b8626b126
fix(after_party): this job timouts in prod. Drop it for now.
2023-08-10 15:33:21 +02:00
Paul Chavard
19902f46bf
chore(annotate): remove annotate gem
2023-08-02 11:11:36 +02:00
Eric Leroy-Terquem
550b925003
db(routing): task to update routing rule for groupe instructeurs routing from drop down other option
2023-07-28 14:15:51 +02:00
Paul Chavard
2e61c16dfd
feat(commune): remove Paris, Marseille and Lyon top level insee code
2023-07-26 14:15:20 +02:00
Paul Chavard
77c452ad37
Merge pull request #9346 from tchak/fix-purge-invalid-geo-areas
...
chore(geo_area): purge invalid geo_areas
2023-07-25 09:05:22 +00:00
Paul Chavard
931fd2130a
fix(dossier): purge motivations on dossiers non terminé
2023-07-24 09:52:12 +02:00
Paul Chavard
2d6d4b1b27
chore(geo_area): purge invalid geo_areas
2023-07-24 09:00:16 +02:00
Colin Darie
5998cfe31f
refactor(correction): rename kind => reason with default correction => incorrect
2023-07-21 16:45:47 +02:00
Colin Darie
f97b56c380
chore: flag dossiers with missing individual "nom" so users can update them
2023-07-07 17:34:47 +02:00
Paul Chavard
23685ef5b9
chore(after_party): validate all existing procedure liens
2023-07-06 10:27:43 +02:00
Paul Chavard
d03f5ce5f3
chore(api-geo): update api-geo data
2023-06-28 09:44:21 +02:00
simon lehericey
9fa864448e
add tasks / job to migrate pjs under namespace
2023-06-26 13:50:18 +02:00
simon lehericey
6dd6ddd8c6
tools: add task to renew blob signed_ids
2023-06-20 09:39:57 +02:00
Eric Leroy-Terquem
6f97fc2a68
fix(routing): migrate remaining data
2023-06-16 12:01:07 +02:00
Paul Chavard
c2ae3426cd
fix(commune): a commune can not be located in 99
2023-06-16 08:38:01 +01:00
Eric Leroy-Terquem
d18ba7fbe6
add routing rules for cloned routed procedure
2023-06-13 15:58:04 +02:00
Paul Chavard
c4432b1b47
perf(carto): use json schema to validate geojson instead of rgeo
2023-06-06 15:43:56 +02:00
Eric Leroy-Terquem
b42633d5dd
fix(instructeurs self management): make instructeurs self management for routed procedures
2023-06-01 16:22:11 +02:00
mfo
7232eb3adb
Merge pull request #9090 from mfo/US/export_blob_keys
...
tech(recovery.list_blob_ids): ajoute une tache pour exporter les clés des fichiers a restaurer
2023-05-31 09:05:48 +00:00
Eric Leroy-Terquem
2db2625fc8
Merge pull request #8923 from demarches-simplifiees/migrate-data-for-routing-with-dropdown-list
...
Migre les données pour le nouveau mode de routage
2023-05-31 08:42:11 +00:00
Martin
791a179a9e
tech(recovery.list_blob_ids): ajoute une tache pour exporter les clés des fichiers a restaurer
2023-05-27 09:24:17 +02:00
krichtof
0051face93
Merge pull request #9014 from demarches-simplifiees/8859-default_zones
...
Etq admin, lors de la création ou modification d'une démarche, des zones par défaut me sont suggérées
2023-05-26 17:25:21 +00:00
krichtof
7c02ff6685
remove useless task
2023-05-24 17:40:00 +02:00
Paul Chavard
e191cfb3f6
task(revision): find and correct all champs with wrong type de champ
2023-05-24 16:34:46 +02:00
Paul Chavard
c8c4522e6f
chore(afterparty): do not delete dossiers on draft revisions
2023-05-19 11:16:13 +02:00
Paul Chavard
9d9f87ab21
Merge pull request #9058 from tchak/fix-champ-types
...
fix(champs): update task to fix broken champ types
2023-05-16 17:54:27 +00:00
Paul Chavard
db37ce13bb
fix(champs): update task to fix broken champ types
2023-05-16 19:40:09 +02:00
Colin Darie
5b3a5d6ce3
fix(revision): backfill missing published_at on published revisions
2023-05-16 19:10:05 +02:00
Martin
f76e52cc97
tech(tache.recovery): ajoute une tache pour re-importer des dossiers venant d'un backup
...
Update app/lib/recovery/exporter.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-05-16 14:49:36 +02:00
Christophe Robillard
d0ca05259a
populate zones with tchap hs
...
NB: this after party task changes the structure of `config/zones.yml' file.
2023-05-16 09:40:53 +02:00
Paul Chavard
d8b1618a29
fix(after_party): type_de_champ can be nil
2023-05-12 21:50:32 +02:00
Paul Chavard
412c6affc2
fix(after_party): do not crash if missing champs for dossier
2023-05-12 21:26:50 +02:00
Paul Chavard
bb8302cbe0
fix(user): add task to fix champs revisions
2023-05-12 20:42:53 +02:00
simon lehericey
5d85864dbf
simplify
2023-05-12 16:52:59 +02:00
Paul Chavard
c40f42db19
fix(dossier): task to fix cloned published revisions
2023-05-12 16:52:59 +02:00
simon lehericey
a5d4773d31
feat(routing): task to backfill procedure.defaut_groupe_instructeur_id
2023-05-12 10:10:27 +02:00
Paul Chavard
db3b1e4db0
Merge pull request #8981 from tchak/fix-communes-undefined
...
ETQ opérateur, je souhaite corriger des valeurs invalides de codes départementaux
2023-04-27 10:19:16 +00:00
Paul Chavard
1d10e59e63
fix(commune): fix ‘undefined’ departement codes
2023-04-27 12:07:43 +02:00
Paul Chavard
45bd5d01f4
fix(dossiers): rollback dossiers en construction to brouillon if they have no identification
2023-04-27 11:21:08 +02:00
LeSim
c8ed0532ed
Merge pull request #8948 from colinux/fix-geoarea-geometry-blank
...
ETQ Usager, champ carte: ne permet pas d'enregistrer une geometry null pour ne pas casser les exports
2023-04-26 10:15:25 +02:00
simon lehericey
f1bcb84832
fix: replace ds_eq operator by ds_include when targeted_champ is a multiple_drop_down_list
2023-04-26 09:37:03 +02:00
simon lehericey
c189115757
fix defaut_groupe_instructeur for mismatching label
2023-04-24 10:16:09 +02:00
simon lehericey
995858e124
fix defaut_groupe_instructeur_id for (hidden) procedure with an (hidden) parent
2023-04-24 10:16:09 +02:00
Colin Darie
f5c8271e26
fix(geoarea): fix again new geo_areas#geometry nil
2023-04-22 16:23:39 +02:00
simon lehericey
439447b343
fix defaut_groupe_instructeur_id and change dossier.groupe_instructeur_id
2023-04-21 15:08:07 +02:00
simon lehericey
83b8570a65
fix: add rake task to fix wrong defaut_groupe_instructeur
...
to instance: skip this task if you merge this release with 2023-04-17-01
2023-04-21 12:20:50 +02:00
Colin Darie
1af404c5e7
chore(rubocop): fix Rails/WhereMissing
2023-04-19 12:55:14 +02:00
Colin Darie
e9649b667e
chore(rubocop): fix Rails/IgnoredColumnsAssignment
2023-04-19 12:55:14 +02:00
Colin Darie
b273e7b67e
chore(rubocop): fix Rails/RootPathnameMethods and assimiled cops
2023-04-19 12:55:13 +02:00
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