Commit graph

13004 commits

Author SHA1 Message Date
simon lehericey
0abee08329
add filters for 2024-10-07 22:09:20 +02:00
simon lehericey
3d79c6176e
add columns_ids to procedure_presentations table 2024-10-07 22:09:20 +02:00
simon lehericey
e3697bd976
colonne.id = { procedure_id:, column_id: }.to_json
because:
- id should be a string as other id
- id need procedure_id to allow ColumnType.deserialize(id) -> Column as the columns are built by a procedure
2024-10-07 22:09:20 +02:00
simon lehericey
a8b41e90cc
remove make_id 2024-10-07 21:47:03 +02:00
simon lehericey
3740a79219
add procedure_id to column.id 2024-10-07 21:46:59 +02:00
simon lehericey
3c7521a428
extract dossier_id_column, notifications_column 2024-10-07 15:49:58 +02:00
simon lehericey
c6559577f1
remove old comment 2024-10-07 14:50:35 +02:00
Paul Chavard
274e43c5e6
fix(dossier): projected champs should have updated_at 2024-10-05 22:22:04 +02:00
Paul Chavard
70699a681d
Merge pull request #10889 from tchak/fix-dossier-follow-should-bump-updated-at
ETQ intégrateur d’API, je veux que le dossier soit remonté comme modifié quand ses instructeurs changent
2024-10-05 08:58:05 +00:00
Paul Chavard
ecbf985147
refactor(dossier): champs_* -> project_champs_* 2024-10-04 12:05:55 +02:00
Paul Chavard
8fdf5cbe80
refactor(dossier): explicitly build default values - less callbacks, less magic 2024-10-04 12:05:54 +02:00
Paul Chavard
25977fd97d
ETQ intégrateur d’API, je veux que le dossier soit remonté comme modifié quand ses instructeurs changent 2024-10-03 18:10:04 +02:00
mfo
5879d54145
Merge pull request #10866 from mfo/US/fix-filter-ilike
amelioration : ETQ instructeur, je souhaite pouvoir filtrer les dossiers sur mon tableau de bord fonction des choix simple/multiple/etc.. sans conflit parmis les autres valeurs de ces même choix simple/multiple/etc...
2024-10-03 13:08:49 +00:00
Colin Darie
ecb3133cb9
Merge pull request #10886 from colinux/manager-fix-accessible-actions
ETQ super-admin, corrige l'affichage de certains boutons d'actions dans le manager
2024-10-03 10:14:16 +00:00
Colin Darie
853cddd043
fix(manager): regression on accesible actions introduced in 0ccb18 2024-10-03 11:48:24 +02:00
Colin Darie
3923e316e1
Merge pull request #10883 from colinux/helpscout-instructeur-notif
ETQ support je vois dans HS lorsqu'un instructeur a désactivé ses notifications
2024-10-03 09:12:15 +00:00
Colin Darie
e39bb4b04d
Merge pull request #10887 from colinux/manager-emails-parallelize
ETQ super-admin la page qui liste les emails envoyés d'un usager va (peut-être) un plus vite
2024-10-03 09:11:45 +00:00
Colin Darie
366c95af7d
refactor(manager): parallelize sent emails retrieval 2024-10-03 10:42:47 +02:00
Corinne Durrmeyer
19cd42ac8c
Merge pull request #10879 from demarches-simplifiees/a11y-fix-process-home-connected
Corrige les défaut d'accessibilité de l'étape 1 d'une démarche
2024-10-03 08:37:31 +00:00
Colin Darie
a933e45e7b
feat(helpscout): warn when instructeur disabled notifs 2024-10-03 10:03:34 +02:00
Corinne Durrmeyer
480c8f493e
Remove nav when empty 2024-10-01 10:16:03 +02:00
Corinne Durrmeyer
5c6eb69c43
Remove .fr-grid-row.fr-grid-row--gutters when empty 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
2885a25aba
Remove alt content from illustrative images 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
35e5d1849e
Add asterisk explanation 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
243971c865
Center submit button 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
c88096859a
Avoid loss of focus on .suspect-email closure 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
3de79e99e0
Prevent comment from being displayed in html 2024-10-01 10:13:07 +02:00
Corinne Durrmeyer
2598bb99d0
Add forgotten title 2024-10-01 10:13:07 +02:00
Paul Chavard
da2312152d
graphql(personne_morale): return full address 2024-09-30 16:44:14 +02:00
simon lehericey
fb66434a15
remove empty option at the start of default options 2024-09-30 15:37:02 +02:00
simon lehericey
c638ac0261
rename drop_down_list_value -> drop_down_option_from_text 2024-09-30 15:37:02 +02:00
simon lehericey
5fc0eb11f5
rename remaining drop_down_list_enabled_non_empty_options(other: true) -> drop_down_options_with_other 2024-09-30 15:37:02 +02:00
simon lehericey
532f0f48fa
replace drop_down_list_enabled_non_empty_options by drop_down_options when possible 2024-09-30 15:37:02 +02:00
simon lehericey
cfb03fc747
remove enabled_non_empty_options indirection 2024-09-30 15:37:01 +02:00
simon lehericey
8b5f689a67
use drop_down_options when possible 2024-09-30 15:37:01 +02:00
simon lehericey
77b754a08d
no more empty case 2024-09-30 15:37:01 +02:00
simon lehericey
5a19cc1a09
remove drop_down_list_value reader 2024-09-30 15:37:01 +02:00
Corinne Durrmeyer
a000c3335e
Remove useless search button 2024-09-30 14:45:38 +02:00
Corinne Durrmeyer
741df66107
Remove autocomplete=false attributes 2024-09-30 10:51:52 +02:00
Corinne Durrmeyer
9490886206
Adding asterisk to mandatory field 2024-09-28 10:23:17 +02:00
Corinne Durrmeyer
1bff9b3147
Improve hyphenation in help menu 2024-09-28 08:21:06 +02:00
Corinne Durrmeyer
2baf953cd0
Remove fieldset without legend 2024-09-28 08:21:06 +02:00
Corinne Durrmeyer
0b081aea30
Remove useless aria-labelledby (due to legend element) 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
02d9e4438f
Hide autosubmit button to ATs 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
56adb34890
Internationalize title and specify current stage 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
1762e359d8
Add asterisk explanation above the form 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
a451088077
Fix rendering bug in Voice Over 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
7dd941a25c
Add missing space below UserProcedureFilterComponent 2024-09-28 08:21:05 +02:00
Corinne Durrmeyer
479ccb16c8
Remove inappropriate aria-controls attribute 2024-09-28 08:21:05 +02:00
Paul Chavard
0ccb188aac
chore: valid_action? -> accessible_action? 2024-09-27 16:39:46 +02:00
Paul Chavard
a8e605f4b3
chore: clean some dead code 2024-09-27 11:35:29 +02:00
Paul Chavard
084a68a121
refactor(repetition): consolidate repetition manipulation methods 2024-09-27 11:34:06 +02:00
mfo
010963faa4
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-25 15:26:22 +02:00
mfo
afe98704e9
feat(async): re-order priority jobs 2024-09-24 21:35:00 +02:00
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
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
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
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
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
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
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
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
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
b5eb87de6a
fix(champ): improve row_id validation and remove it during export 2024-09-23 17:06:33 +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
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
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
Lisa Durand
0272f79c6a
migration to remove hidden_at from dossiers 2024-09-23 10:58:36 +02:00
Paul Chavard
3429a72f53
fix(dossier): do not show repetitions in header sections summary 2024-09-23 10:51:38 +02:00
Paul Chavard
6254b50de9
Revert "Revert "Merge pull request #10771 from tchak/refactor-champs-revert""
This reverts commit 10a1ae5534.
2024-09-23 10:21:07 +02:00
Paul Chavard
e4ac781b54
fix(rnf): remove deprecated status attribute 2024-09-20 16:58:51 +02:00
Mathieu Magnin
e9b5c4a615
[#10837] Add an explicit message when SIRET is not valid on service 2024-09-20 15:44:46 +02:00
Paul Chavard
356dae446c
fix(spec): make pagination links clickable 2024-09-20 15:24:41 +02:00
Corinne Durrmeyer
d79fb43635
Add forgotten hint 2024-09-20 15:07:43 +02:00
Corinne Durrmeyer
6e960d2b21
Remove useless attributes 2024-09-20 15:07:16 +02:00
Corinne Durrmeyer
6f7e7f43d6
Password complexity : Adds component vocalization for ATs 2024-09-20 14:32:17 +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
Mathieu Magnin
a11fb0081e
Add opendata attribute on manager 2024-09-20 11:30:12 +02:00
mfo
cd8c55b161
Merge pull request #10814 from demarches-simplifiees/fix-10813
[bug] Ne pas afficher de 500 quand value_json d'un champ SIRET est nil
2024-09-19 15:22:45 +00:00
Corinne Durrmeyer
2c69f93edd
Remove time slot from telephone link 2024-09-19 14:15:58 +02:00
Corinne Durrmeyer
c950925a57
Distinguish links from content 2024-09-19 14:15:54 +02:00
Corinne Durrmeyer
acdd259e1d
Uniform title with link content 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
019b1e389f
Add missing h2 to footer 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
aa0e469dc5
Replace h2 with h3 in france connect component 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
5d6c97eb2f
Replace p.fr-callout__text with div to avoid unauthorised nesting 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
b301ad9109
Hide decorative content from TA 2024-09-19 14:15:51 +02:00
Corinne Durrmeyer
3962c24892
Empty alt attribute for decorative images 2024-09-19 14:15:50 +02:00
simon lehericey
10a1ae5534
Revert "Merge pull request #10771 from tchak/refactor-champs-revert"
This reverts commit c902061ebf, reversing
changes made to b4ed11c788.
2024-09-19 11:09:01 +02:00
Lisa Durand
5b31aca888
improve transfer mail for user without account 2024-09-18 17:19:26 +02:00
LeSim
6b322d61ca
Merge pull request #10776 from demarches-simplifiees/ac_2fa
ETQ Instructeur, je dois utiliser le 2fa pour le fournisseur d'identité Agent Connect / Mon Compte Pro
2024-09-18 12:48:39 +00:00
LeSim
d32124d732
Merge pull request #10807 from demarches-simplifiees/slow_drop_down_cleaning
Tech: simplification de la logique des champs listes
2024-09-18 12:46:15 +00:00
Lisa Durand
3d50f9363f
Merge pull request #10741 from demarches-simplifiees/secu-improve-complexity-password-ldu
[sécu] Améliorer la complexité des mots de passe pour tous les users
2024-09-18 12:40:17 +00:00
simon lehericey
05238912cf
record amr for stat 2024-09-18 14:40:12 +02:00
simon lehericey
363f70a3fc
add feature flipping, just in case 2024-09-18 14:40:11 +02:00
simon lehericey
cd2d772cd0
feature(agent_connect_2fa): add intermediate pages to improve UX 2024-09-18 14:40:11 +02:00
simon lehericey
6f5135a6b2
refactor: extract agent_connect logout_url to a agent_connect_service 2024-09-18 14:40:11 +02:00
simon lehericey
1706feec3d
feature(agent_connect_2fa): do not log AC/MonComptePro agent without 2fa 2024-09-18 14:40:10 +02:00
simon lehericey
5f25756ae2
ask for amr (Authentication Methods References) 2024-09-18 14:40:10 +02:00
simon lehericey
1e9982927a
add identity_provider id scope 2024-09-18 14:40:10 +02:00
simon lehericey
c0fe06ceb7
refactor: simplify ZxcvbnService 2024-09-18 12:57:58 +02:00
Lisa Durand
214a0daca1
small wording adjustment 2024-09-18 12:57:51 +02:00
LeSim
c89e60d5fa
Merge pull request #10793 from demarches-simplifiees/remove_virtual_attribute_in_code
Tech: retire la protection contre les colonnes virtuelles
2024-09-18 08:38:20 +00:00
simon lehericey
061c9cc6f3
remove default empty value in drop_down_list 2024-09-18 10:26:00 +02:00
simon lehericey
51e192939c
pack drop_down stuff together 2024-09-18 10:08:12 +02:00
simon lehericey
85684e3bea
homogenize render? if not options 2024-09-18 10:08:12 +02:00
simon lehericey
f1a606da6d
one less indirection 2024-09-18 10:08:12 +02:00
simon lehericey
b3ad237fa1
simplify drop_down_list_value 2024-09-18 10:08:12 +02:00
simon lehericey
2f64fe5e4c
one less indirection 2024-09-18 10:08:12 +02:00
simon lehericey
f046f31dcc
remove_disabled_options 2024-09-18 10:08:11 +02:00
Mathieu Magnin
bfb7b59033
[#10813] When value_json of champ SIRET is nil do not crash 2024-09-17 19:05:36 +02:00
Colin Darie
39ebaadf03
Merge pull request #10811 from colinux/fix-stats-nav-bar
ETQ usager, pas d'erreur sur la page stats quand je viens de la page commencer (à cause de la navbar)
2024-09-17 16:05:24 +00:00
mfo
1e0391c9dc
Merge pull request #10806 from mfo/US/fix-number-not-number-in-filters
Correctif: ETQ instructeur, la recherche par numéro de dossier ne doit accepter que des numero
2024-09-17 14:39:08 +00:00
Colin Darie
79a1d9b99d
fix(navbar): never fail request on broken navbar logic 2024-09-17 16:18:16 +02:00
Colin Darie
b68b340d81
fix(stats): nav bar profile logic when fallbacking on referer context without request 2024-09-17 15:59:24 +02:00
Lisa Durand
1d0be04f2a
Merge pull request #10809 from demarches-simplifiees/design-improve-fc-email-page-ldu
[Design] Amelioration du design de la page de confirmation du mail de France Connect
2024-09-17 13:47:02 +00:00
Eric Leroy-Terquem
969706163b
Merge pull request #10641 from demarches-simplifiees/move-image-treatment-to-jobs
Technique : déplace les traitements d‘images côté jobs
2024-09-17 13:43:51 +00:00
mfo
ebb51e8128
fix(filters): filter by dossier should only accept number 2024-09-17 15:18:23 +02:00
Lisa Durand
edc4f826f2
small design improvement for FC email page 2024-09-17 15:01:01 +02:00
Mathieu Magnin
8384be12a0
Fix missing expiration after refacto 2024-09-17 14:26:06 +02:00
Paul Chavard
3fef831524
move child? method for clarity 2024-09-17 10:29:34 +02:00
Paul Chavard
54132df77d
dossier(champ): validate presence of row_ids 2024-09-17 10:29:34 +02:00
Paul Chavard
33e502234e
refactor(dossier loader): simplify all the things 2024-09-17 10:29:34 +02:00
Paul Chavard
2ba356bc68
cleanup(prefill): remove unused validation 2024-09-17 10:29:34 +02:00
Paul Chavard
c94d1b7eea
cleanup: more concistent methods usage 2024-09-17 10:29:34 +02:00
Paul Chavard
a474cf4590
refactor(attestation): unspecified_champs_for_dossier based on types_de_champ 2024-09-17 10:29:34 +02:00
Paul Chavard
54926db89b
refactor(champ): more concistent champ_for_update usage 2024-09-17 10:29:34 +02:00