mfo
08ec45443d
BREAKING(sidekiq.queues): rationalize queues. now have critical, default, low
...
Dear instances, make sure to update your sidekiq processes. Indead, we are adopting a new strategy for daemons that process our background
jobs.
Now their is only 3 queues on sidekiq (still, we keep archive/export on delayed job for now).
The big idea : allow any worker to deal with any queue (capacity mgmt) :
- critical: must be procesed now
- default: will be processed asap
- low: do it after everything else
FYI: we had 50% of our server capacity on reserved queues. Leading to
bottle neck processing (reserved queues/worker not processing other
queues). We HAD TO fix it. Sorry for the inconvenience
TBH, this is an idea of Colin Darie <colin@darie.eu>. I'm just pushing
it forward.
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-09-24 21:29:11 +02:00
mfo
c02e4fff57
tech(brakeman): bypass sec warning, indead, rails sanitize queries when using where("anything = ?", value)
synthax
2024-09-24 20:57:13 +02:00
mfo
75063ae31e
fix(filter): filtering types_de_champs by enum should not ilike. nows it search by exact match since enum are normalized so findable with simple where
2024-09-24 20:48:10 +02:00
mfo
1339e10280
bug(filter): filtering types_de_champs.value with ilike is trickier than expected. indead, some enum might overlap on word ex: Favorable, Defavorable. Searching with ilike Favorable finds Defavorable
2024-09-24 20:48:10 +02:00
mfo
b30cbf3032
tech(doc): explain which columns are ilikable for user/individual
2024-09-24 20:48:09 +02:00
mfo
51ce0cd562
clean(filter): avis column are not filterable, not needed to ilike them
2024-09-24 20:47:43 +02:00
mfo
284bdc5b2b
clean(deadcode): their is no column for avis.label. so clean this one
2024-09-24 20:47:09 +02:00
mfo
0cbb296e7d
Merge pull request #10864 from mfo/US/fix-export-template-with-lots-of-types-de-champs
...
correctif: ETQ instructeur, j'aimerais pouvoir modifier mes modèles d'export, meme sur des démarches avec beaucoup de champs
2024-09-24 16:37:37 +00:00
mfo
b117bc9774
fix(export_template#preview): avoid 414 responses, using get method is not a good option for procedure with a lot of types_de_champ, otherwise we reach http get size limit
2024-09-24 18:07:18 +02:00
Lisa Durand
e1d9ea2a66
Merge pull request #10859 from demarches-simplifiees/improve-dossier-transfer-ldu
...
Améliorer le mail si un usager sans compte DS reçoit un transfert de dossier
2024-09-24 13:49:45 +00:00
Colin Darie
f700024df0
Merge pull request #10862 from colinux/fix-sva-with-complex-pending-corrections
...
ETQ usager: corrige la date prévisionnelle SVA lorsqu'il y a un mélange de demandes de corrections résolues et en attente
2024-09-24 12:35:26 +00:00
Colin Darie
99534ef834
Merge pull request #10812 from colinux/date-last-updated-at-tag
...
ETQ admin, créé les balises "date de mise à jour" du dossier et "date prévisionnelle SVA/SVR"
2024-09-24 12:21:07 +00:00
Colin Darie
b50d42fbb4
fix(sva): when there were resolved corrections and a pending correction
2024-09-24 12:48:09 +02:00
Colin Darie
e48b845e66
Merge pull request #10860 from mfo/US/fix-queue-typo
...
fix(typo): mailerS
2024-09-24 09:44:02 +00:00
Lisa Durand
463e3e1538
improve email wording for transfert with DS account
2024-09-24 11:31:00 +02:00
Colin Darie
2b07826202
fix(sva): add sva/svr decision date tag for relevant template emails
...
Closes #10033
2024-09-24 11:28:18 +02:00
Colin Darie
861f7359b1
feat(attestation): support last champ updated at as tag
...
closes #9825
2024-09-24 11:28:17 +02:00
mfo
ee19268720
fix(typo): mailerS
2024-09-24 11:24:02 +02:00
Colin Darie
cae524b6bd
Merge pull request #10828 from demarches-simplifiees/CamilyaDellali-patch-2
...
Update FAQ comment-dupliquer-un-dossier-deja-depose.fr.
2024-09-24 08:47:52 +00:00
Colin Darie
b6534e8b80
Update doc/faqs/usager/comment-dupliquer-un-dossier-deja-depose.fr.md
2024-09-24 10:35:42 +02:00
Colin Darie
655e4be0e7
Merge pull request #10858 from colinux/attestation-v2-better-v1-ording
...
ETQ admin, explique mieux que l'attestation v1 reste fonctionnelle alors que j'ai accès à la v2
2024-09-24 08:35:09 +00:00
Mathieu Magnin
af0692163b
Merge pull request #10839 from demarches-simplifiees/fix-10837
...
ETQ Administrateur, si j'oublie de renseigner le SIRET de mon service, je souhaite recevoir un message d'erreur explicite pour m'alerter.
2024-09-24 08:31:47 +00:00
Colin Darie
e7f5217211
chore(attestation): improve wording about v1/v2 switch
2024-09-24 10:18:00 +02:00
mfo
12ef66c2b0
Merge pull request #10847 from mfo/US/clean-db
...
amélioration : ETQ tech je souhatie que ma base de donnée ne stock pas de donnée inutile
2024-09-24 08:12:09 +00:00
mfo
a71e83dabe
clean(db): remove ignored column
2024-09-24 10:04:04 +02:00
mfo
7f19111997
Merge pull request #10857 from mfo/US/move-batch-operation-jobs-to-higher-priority-queue
...
amelioration: ETQ operateur d'instance, je souhaite que les jobs de batch soient prioritaire par rapport aux jobs de vignette
2024-09-24 07:42:51 +00:00
mfo
0cfa9d6719
fix(batch): this is a hotfix, please be nice we just want to allow our
...
infra to deal with BatchOperation when their is a big load
2024-09-24 09:34:37 +02:00
Eric Leroy-Terquem
063a2fc13e
Merge pull request #10853 from demarches-simplifiees/fix-adding-admin-or-instructor-from-manager
...
Correctif : ETQ super admin je peux m'ajouter à une démarche si je suis déjà soit administrateur soit instructeur
2024-09-24 07:14:58 +00:00
Eric Leroy-Terquem
7625ec5c8f
fix(manager): can add to super admin both roles of administrator and instructor if he is already one of them
2024-09-24 09:05:38 +02:00
Eric Leroy-Terquem
f16addd080
test(manager): nominal case of #add_administrateur_and_instructor
2024-09-24 09:05:37 +02:00
mfo
5b268fff29
Merge pull request #10855 from mfo/US/fix-resolve
...
ETQ administrateur je ne souhatie pas que mes usagers aient une demande de correction suite à un depot de dossier trop ancien
2024-09-24 06:48:41 +00:00
Paul Chavard
09fb256042
Merge pull request #10849 from tchak/fix-copy-past-in-combobox
...
fix(combobox): can copy past multiple values in restricted multi select combobox
2024-09-24 06:13:04 +00:00
Paul Chavard
3e9a51d9b8
fix(combobox): don’t output undefined className
2024-09-23 21:49:24 +02:00
Paul Chavard
fb07a0ca54
fix(combobox): can copy past multiple values in restricted multi select combobox
2024-09-23 21:49:24 +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
Paul Chavard
e35584811c
Merge pull request #10852 from tchak/fix-export-with-row_ids
...
fix(champ): improve row_id validation and remove it during export
2024-09-23 15:38:51 +00:00
Paul Chavard
b5eb87de6a
fix(champ): improve row_id validation and remove it during export
2024-09-23 17:06:33 +02:00
Paul Chavard
8bf6272c9b
Merge pull request #10848 from tchak/update-bun-lockfile
...
fix(bun): update lockfile
2024-09-23 15:33:08 +02:00
Paul Chavard
7a60023237
fix(bun): update lockfile
2024-09-23 15:32:10 +02:00
mfo
b9f9255e32
Merge pull request #10825 from mfo/US/drop-other-unused-indices
...
amelioration ETQ tech/ops, on souhaite ne pas avoir d'index non utilisé (et plus maintenu) - bis
2024-09-23 13:17:23 +00:00
mfo
7adbdaa4de
tech(clean): unused index and column
2024-09-23 14:53:37 +02:00
Paul Chavard
0321226130
Merge pull request #10845 from tchak/update-maplibre
...
chore(maplibre): update
2024-09-23 12:53:34 +00:00
Paul Chavard
95176b8a00
chore(maplibre): update
2024-09-23 14:45:36 +02:00
Paul Chavard
b1c0b4de20
Merge pull request #10840 from tchak/fix-pagination-links
...
fix some playwright specs
2024-09-23 12:27:54 +00:00
Paul Chavard
4ab9ef1f3f
Merge pull request #10842 from tchak/revert-du-revert-de-refactoring-champs
...
Revert "Revert "Merge pull request #10771 ""
2024-09-23 12:27:04 +00:00
Lisa Durand
f18b71a36b
remove invisible and unused transfer_all feature
2024-09-23 14:22:54 +02:00
Lisa Durand
ba76ef0a6d
make the email verification message more generic to fit the flow
2024-09-23 14:15:02 +02:00
mfo
d16a40b6aa
Merge pull request #10836 from mfo/US/fix-mistake-changing-dossier-repasser-en-construciton
...
ETQ administrateur, je ne souhaite pas voir des dossiers en instruction repasser en construction pour une donnée qui ne m'est pas necessaire
2024-09-23 11:54:56 +00:00
Colin Darie
6800205ffe
Merge pull request #10682 from demarches-simplifiees/a11y-fix-process-screen-1
...
Corrige les défaut d'accessibilité de la page d'accueil d'une démarche
2024-09-23 11:21:11 +00:00
Colin Darie
84fbb4c6ad
fix: heading level of france connect title depends on context
2024-09-23 13:11:13 +02:00