Commit graph

12990 commits

Author SHA1 Message Date
mfo
b8b727f06b
feat(default.queues): mailers that are not critical are low, otherwise critical. analysis is default, purge is low 2024-10-10 09:31:20 +02:00
Colin Darie
9ef445a4a1
Merge pull request #10905 from tchak/fix-api-entreprise-sentry-error
ETQ Usager, je veux pouvoir déposer mon dossier même si le service des SIRET n'est pas disponible
2024-10-09 14:13:47 +00:00
LeSim
163fa42007
Merge pull request #10869 from demarches-simplifiees/add_id_to_column_second_part
Tech: utilise les objets `SortedColumn`
2024-10-09 13:05:50 +00:00
Colin Darie
fbb9405e50
Merge pull request #10863 from colinux/maintenance-tasks-template
ETQ dev, je peux programmer des maintenance tasks à jouer lors de leur déploiement
2024-10-09 12:16:56 +00:00
mfo
c449892bbe
Merge pull request #10888 from demarches-simplifiees/US/exports-on-sidekiq
ETQ tech, on souhaite tout passer sur sidekiq
2024-10-09 12:15:38 +00:00
Colin Darie
da1bf573e3
chore(task): noop maintenance task verifying automatic run on deploy 2024-10-09 13:44:18 +02:00
Colin Darie
9eb9e80232
chore(doc): more information about many maintenance tasks 2024-10-09 13:44:17 +02:00
Colin Darie
cae5d8afed
feat(task): task enqueueing a maintenance task runnable on deploy 2024-10-09 13:44:17 +02:00
Colin Darie
d0f77d0aab
feat(task): with_statement_timeout helper for long running collection or process query 2024-10-09 13:44:17 +02:00
Paul Chavard
668aba8986
fix(api-entreprise): do not raise an error when the service is unavailable 2024-10-09 12:47:26 +02:00
Paul Chavard
e56bc9d35b
chore(prefill): remove unused prefill support on complex champs 2024-10-09 12:11:42 +02:00
simon lehericey
34b0379203
procedure.find_column raise NotFound to fit AR interface 2024-10-09 09:23:06 +02:00
simon lehericey
14809b35af
add comments 2024-10-09 09:21:44 +02:00
simon lehericey
450420aa81
cache columns per request using Current 2024-10-08 22:51:26 +02:00
simon lehericey
249ddf291f
update_displayed_fields can use sorted_column 2024-10-08 22:51:26 +02:00
simon lehericey
4f0cac251d
use sorted_column to sort dossier 2024-10-08 22:51:26 +02:00
simon lehericey
ba91f2f66e
remove now useless validation 2024-10-08 22:51:25 +02:00
simon lehericey
da98aa556b
use update(sorted_column:) and remove obsolete update_sort(column_id:, order:) 2024-10-08 22:51:25 +02:00
simon lehericey
76fee12653
remove now unused procedure_presentation.opposite_order_for 2024-10-08 22:51:25 +02:00
simon lehericey
7349dd183a
notified_toggle_component use sorted_column 2024-10-08 22:51:24 +02:00
simon lehericey
22cbf725ec
column_table_header compute update_sort_path 2024-10-08 22:51:24 +02:00
simon lehericey
b582a2afc6
column_table_header_component use sorted_column 2024-10-08 22:51:18 +02:00
simon lehericey
21533f91e3
add storted_column_type 2024-10-08 22:47:37 +02:00
simon lehericey
9652cf78c3
add default_sorted_column 2024-10-08 22:47:37 +02:00
simon lehericey
305b31e53b
add sorted_column 2024-10-08 22:47:37 +02:00
simon lehericey
693629afc8
add column type 2024-10-08 22:47:36 +02:00
Paul Chavard
d51d3fd8ad
Merge pull request #10881 from tchak/fix-graphql-api-entreprise-adresse
graphql(personne_morale): return full address
2024-10-08 15:36:51 +00:00
mfo
02590b3a73
Revert "clean(delayed_jobs): remove dependencies and all occurences"
This reverts commit 90ca937b7131575816d72e35e2c48f9d82e9a5e6.

ReRevert me in order to remove all delayed job occurences. But we keep
this dependencie for our instances at least for a year
2024-10-08 16:44:09 +02:00
mfo
5eec93bc8c
clean(delayed_jobs): remove dependencies and all occurences 2024-10-08 16:43:57 +02:00
mfo
ab8ac78ccb
tech(sidekiq): use sidekiq by default, clean transition code 2024-10-08 16:43:57 +02:00
mfo
5cba847d10
perf(Instructeurs/Dossiers#demande): remove n+1 2024-10-08 14:47:34 +02:00
simon lehericey
d5a722c143
weird frozen_string bug 2024-10-07 22:09:21 +02:00
simon lehericey
a418cf6632
remove_filter double_write 2024-10-07 22:09:21 +02:00
simon lehericey
870d67e844
add_filter double write 2024-10-07 22:09:21 +02:00
simon lehericey
5f6d8e93ca
update_display double write 2024-10-07 22:09:20 +02:00
simon lehericey
98c2b7e954
update_sort double write 2024-10-07 22:09:20 +02:00
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