simon lehericey
097082afc9
fix(dolist): reduce message name variability
2022-10-20 15:29:56 +02:00
Martin
2cd74d1010
amelioration(archives): positionne le fichier des reporting des erreurs en tête de l'arborescence
2022-10-20 15:14:57 +02:00
Martin
d46efeef85
amelioration(export): clarifier l'usage des exports pour les instructeurs pour eviter le téléchargement des export zip pour de l'archivage
2022-10-20 14:50:48 +02:00
Colin Darie
5b813a25d6
fix(dsfr/callout): don't nest p, it's already declared by component
2022-10-20 09:18:16 +02:00
Colin Darie
e96d307e56
style(admin): auto expiration styled with DSFR callout
2022-10-20 09:18:16 +02:00
Colin Darie
f5a0842c6e
style(dsfr): callout component with support for a bottom section like buttons
2022-10-20 09:18:16 +02:00
Colin Darie
7f28f1fe4c
fix(conjugaison): après que + indicatif
2022-10-20 09:18:16 +02:00
Colin Darie
45994ff567
fix(invitation): when dossier is not visible anymore
...
https://sentry.io/organizations/demarches-simplifiees/issues/3422144920/
2022-10-20 09:08:36 +02:00
Paul Chavard
74aa01479b
fix(revision): fix changes list style
2022-10-20 06:56:20 +02:00
Martin
576aa2c1e0
amelioration(export): augment la duree de conservation des exports en cours de generation passant de 12 a 16h. augment la duree de conservation des exports generés passant de 16 à 32h
2022-10-20 06:32:41 +02:00
simon lehericey
5fa5d46d8c
fix(admin_merge): a case where 2 admins have the same service
2022-10-19 16:54:34 +02:00
Paul Chavard
5be8810da4
fix(dossier): nullify instructeur and expert id on messages when they are deleted
...
we keep email on the message so it will be used when instructeur or expert are not available
2022-10-19 11:53:10 +02:00
simon lehericey
c6e7db3622
fix(export): bug when combining revision and conditional
2022-10-18 11:53:13 +02:00
simon lehericey
fbf089d60e
refactor(dossier): rename check_mandatory_champs -> check_mandatory_and_visible_champs
2022-10-18 11:13:41 +02:00
simon lehericey
9bba2093be
refactor(champ): mandatory_blank_and_visible? -> mandatory_blank?
...
As the method does not check visibility
2022-10-18 11:13:41 +02:00
simon lehericey
6832b12bd4
clean(haml): remove commented code
2022-10-18 11:13:41 +02:00
simon lehericey
7114623285
fix(champ): rewire champ.mandatory? to type_de_champ.mandatory?
...
it fixes behaviour in drop_down_list_component which add option if not mandatory (!= not required)
2022-10-18 11:13:41 +02:00
simon lehericey
528b7ec3f8
refactor(champ): add required?
...
used for the `required` html attribute. It check visibility to avoid hidden required input which prevent the form from being sent.
2022-10-18 11:13:41 +02:00
simon lehericey
dc89ddb639
fix(translation): typo in footer
2022-10-17 22:47:42 +02:00
Martin
6000de2095
feat(manager/outdated_procedure): enhance procedure cleanup
2022-10-17 13:35:37 +02:00
Paul Chavard
736e0b0731
fix(routage): fill dossier groupe instructeur in some edge cases
2022-10-14 17:29:56 +02:00
Paul Chavard
c075a4e415
fix(dossier): we should never detroy user’s dossiers in cascade
2022-10-14 14:14:51 +02:00
Paul Chavard
c097f70543
fix(graphql): hide champs based on conditions
2022-10-14 11:33:25 +02:00
simon lehericey
d5d031e15d
fix(export): do not export invisible champ
2022-10-14 10:30:27 +02:00
simon lehericey
40a3fff593
perf(dossiers_controller): do not load pj template in update, -10ms
2022-10-13 22:36:56 +02:00
simon lehericey
f8ee6386b9
perf(champ): check condition.present? without json deserializationl, -6ms
2022-10-13 22:36:56 +02:00
simon lehericey
73b4ee64e6
perf(champ_value): use champ_type instead of tdc.type_champ, -22ms
2022-10-13 22:36:56 +02:00
Eric Leroy-Terquem
c6082ded09
no select for usager if only one groupe_instructeur
2022-10-13 19:49:32 +02:00
Martin
d09c47f5ce
correctif(usager.fusion): leve une erreur quand on essaie de fusionner un compte sur lui même
2022-10-13 17:00:20 +02:00
Paul Chavard
25c774b3a1
refactor(dossier): extract dossier edit footer into a component
2022-10-13 14:44:46 +02:00
Paul Chavard
d409b6f4ef
feat(dossier): do not save dossier on submit
2022-10-13 14:44:46 +02:00
Paul Chavard
78a1323fc2
refactor(dossier): move dossier submit action in to a new form
2022-10-13 14:44:46 +02:00
Paul Chavard
dd38fa4458
refactor(spec): add wait_for_autosave helper
2022-10-13 14:44:46 +02:00
Colin Darie
e2e9ddd625
style(conditionnel): dsfr button styles
2022-10-13 10:17:21 +02:00
Colin Darie
8153f33896
style(repetition): fix button styles
2022-10-13 10:17:21 +02:00
Colin Darie
9571e9481d
style(avis): fix font sizes & colors due to h2 strongly styled
2022-10-12 14:41:31 +02:00
Paul Chavard
1fd1878370
feat(jobs): add request_id to jobs payload
2022-10-12 14:32:23 +02:00
Paul Chavard
7f1dd49bdc
chore(flipper): always use feature_enabled? helper
2022-10-12 14:14:30 +02:00
Paul Chavard
0f192fd752
chore(flipper): add feature_enabled? to components
2022-10-12 14:14:30 +02:00
Damien Le Thiec
29a97fac43
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-11 18:59:45 +02:00
Damien Le Thiec
0e995c8bcc
Update app/models/champs/rna_champ.rb
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2022-10-11 16:34:00 +02:00
simon lehericey
7672ad3fe9
fix(editor champ): do not raise on destroy replay
2022-10-11 16:27:49 +02:00
Damien Le Thiec
73f6063c87
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-11 15:36:46 +02:00
Damien Le Thiec
2e8c0512a5
Remove skip_cleanup option
2022-10-11 15:11:51 +02:00
Colin Darie
073656342e
fix(api_address): support Adresse BAN without postcode
...
Des adresses n'ont pas de code postal (dans certains TOM par exemple).
On fallback sur un string vide plutôt que nil pour limiter les effets de bord.
2022-10-11 12:25:12 +02:00
Damien Le Thiec
bcdc9c18ae
Remove skip_fetch_data mechanism
2022-10-11 11:52:59 +02:00
simon lehericey
97529ab6af
refactor(user dossier): move ruby logic to controller
2022-10-11 11:39:05 +02:00
simon lehericey
32e01b13ef
refactor(user dossier): mutualize update/update_brouillon
2022-10-11 11:39:05 +02:00
simon lehericey
437ac44143
perf(user dossier): batch hide/show element finding
2022-10-11 11:39:05 +02:00
Paul Chavard
a19bf050ef
fix(iban): format iban after validation
2022-10-11 10:43:32 +02:00
Colin Darie
a9f2bec636
style(css): add deprecation rules and TODO
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2022-10-11 09:50:21 +02:00
Colin Darie
59b9ae5c46
TODO: deprecate CSS containers
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2022-10-11 09:50:21 +02:00
Colin Darie
03de58c7e2
fix: download link with empty value, otherwise it could be used to name the file
2022-10-11 09:50:21 +02:00
Colin Darie
df672fb493
fix(footer): etalab link with rel=noopener
2022-10-11 09:50:21 +02:00
Colin Darie
d821a3e40c
style(new_session): fix buttons style
2022-10-11 09:50:21 +02:00
Colin Darie
9992ab9e09
style(admin): new procedure btn styles
2022-10-11 09:50:21 +02:00
Colin Darie
3e8f040d49
style(usager/dossier): fix summary actions style
2022-10-11 09:50:21 +02:00
Colin Darie
10802d15cc
style(instructeur/procedure): re-style header procedure title & dossier number
2022-10-11 09:50:21 +02:00
Colin Darie
c5092fda12
style(expert): fix avis weight/font-size
2022-10-11 09:50:21 +02:00
Colin Darie
df1d7ae2bd
style(procedures): dsfr compat instructeurs/expert procedures list
2022-10-11 09:50:21 +02:00
Colin Darie
0480a0336d
fix(scss): lint errors
2022-10-11 09:50:21 +02:00
Colin Darie
fa9bc5d185
style(admin): multiple style improvements, essentially links & buttons
2022-10-11 09:50:21 +02:00
Colin Darie
0a2460ba71
style(admin): fix various links / buttons style
2022-10-11 09:50:21 +02:00
Colin Darie
fd3b30d8e6
style(messagerie): improve font-size & styles
2022-10-11 09:50:21 +02:00
Colin Darie
278b58ef78
style(instructeurs): restyle dossier actions
2022-10-11 09:50:21 +02:00
Colin Darie
0e1077487a
style(autosave): better font-size & link style
2022-10-11 09:50:21 +02:00
Colin Darie
2ab5fbbb24
style(link): use DSFR underline style everywhere possible.
...
Par conséquent on commence à remplacer d'anciens "liens-boutons" (qui
auraient récupéré un souligné indésirable), par un vrai boutton dsfr.
Le hack fr-underlined n'est aussi plus nécessaire.
2022-10-11 09:50:21 +02:00
Colin Darie
555c796d19
style(forms): increase forms elements font-size to legacy value & fieldset style
2022-10-11 09:50:21 +02:00
Colin Darie
71996af65b
style(avis): use fr-badge for count instead of broken css
2022-10-11 09:50:21 +02:00
Colin Darie
7dd3a42cd7
fix(style): tabs
2022-10-11 09:50:21 +02:00
Colin Darie
72e79eb2d3
fix(css): don't duplicate font declarations from DSFR.
...
This may cause issues in exact font height computation & underline effect.
2022-10-11 09:50:21 +02:00
Colin Darie
aea2733be1
refactor(css): more landing + new_footer cleanup
2022-10-11 09:50:21 +02:00
Colin Darie
be367503cf
fix(footer): add missing title attribute on a
2022-10-11 09:50:21 +02:00
Colin Darie
8bd36921e0
style(footer): drop useless br since we now have a default margin-bottom on p
2022-10-11 09:50:21 +02:00
Colin Darie
10917af523
style: signin button styled accordingly to UX
2022-10-11 09:50:21 +02:00
Colin Darie
5c36c2e317
style(landing): update after reset CSS drop
2022-10-11 09:50:21 +02:00
Colin Darie
08c207e0e4
refactor(scss): remove legacy reset + generic rules, refactor imports
2022-10-11 09:50:21 +02:00
Colin Darie
5a50383a27
style: download links (notice & template) with expected DSFR design & details
...
Closes #7829
2022-10-11 09:50:21 +02:00
Colin Darie
1e9d5b753c
refactor(footer): licence sentence in partial
2022-10-11 09:50:21 +02:00
Colin Darie
36589c186c
style(colors): fix exact colors for some DSFR components like footer links
2022-10-11 09:50:21 +02:00
Colin Darie
cf4ac28735
style(stats): button with more space + dsfr
2022-10-11 09:50:21 +02:00
Colin Darie
2d7eca9dd2
feat(combo): debounce only with address / autocomplete binded on API
2022-10-10 21:09:30 +02:00
Paul Chavard
402d0dd3db
Revert "refactor(react): useDeferredValue"
...
This reverts commit cd4d7b5d36
.
2022-10-10 17:36:33 +02:00
simon lehericey
157c3778df
refactor(dossier_preloader): add option to laod pj_template
2022-10-10 12:31:40 +02:00
simon lehericey
7e03f0c825
refactor(dossier_preloader): add load_one api
2022-10-10 12:31:40 +02:00
simon lehericey
5920168077
refactor(dossier_preloader): preload piece_justificative_template
2022-10-10 12:31:40 +02:00
simon lehericey
1f95f68fcc
refactor(dossier_preloader): assign champ.parent
2022-10-10 12:31:40 +02:00
simon lehericey
5df76d9fec
refactor(dossier_preloader): remove weird set_inverse_instance
2022-10-10 12:31:40 +02:00
simon lehericey
f32b05e8b4
perf(dossier controller): use DossierPreloader
2022-10-10 12:31:40 +02:00
Martin
c921e6e1ee
fix(ProcedureExportService): downloadable_sorted_batch is scoped by export, no need to re-filter them via downloadablable_sorted_batch otherwise export for supprimes_recemment does not includes dossier.supprimes_recemment
2022-10-10 11:11:21 +02:00
Eric Leroy-Terquem
1177d861f4
add validation on routing_criteria_name
2022-10-10 09:48:11 +02:00
Martin
1f8bf201a2
feat(procedure_serializer): just add an empty string for direction
2022-10-07 18:39:17 +02:00
Martin
6752da40a9
test(procedure.direction): can we drop this column ?
2022-10-07 18:39:17 +02:00
simon lehericey
ceaf8ebbe7
fix: orphan tdc due to reset_draft
2022-10-07 17:44:30 +02:00
krichtof
44018a86de
a procedure without zone is finally valid
2022-10-07 16:59:12 +02:00
simon lehericey
f54407aa1e
fix: last_week_overview
2022-10-07 13:56:05 +02:00
simon lehericey
e86375046b
fix: label in linked_drop_down
2022-10-07 13:56:05 +02:00
simon lehericey
3dc0ed7695
fix: label in multiple_drop_down_list
2022-10-07 13:56:05 +02:00
simon lehericey
87d0334c1c
fix: label in champ component
2022-10-07 13:56:05 +02:00
Christophe Robillard
272c8cae09
cannot publish a procedure if no zones
2022-10-07 10:48:35 +02:00