Commit graph

18600 commits

Author SHA1 Message Date
LeSim
22135a87ce
Merge pull request #7941 from tchak/add-foreign-keys-to-commentaires
fix(message): add instructeurs foreign key
2022-10-20 14:49:57 +02:00
Paul Chavard
fa18ebd63a fix(message): add instructeurs foreign key 2022-10-20 14:42:42 +02:00
LeSim
1641d8806e
Merge pull request #7944 from betagouv/dependabot/bundler/nokogiri-1.13.9
chore(deps): bump nokogiri from 1.13.8 to 1.13.9
2022-10-20 14:38:41 +02:00
dependabot[bot]
a703dfce3b
chore(deps): bump nokogiri from 1.13.8 to 1.13.9
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.8 to 1.13.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.8...v1.13.9)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 10:22:53 +00:00
LeSim
576f30eb21
Merge pull request #7943 from tchak/fix-some-actions-warnings
chore(actions): update github actions
2022-10-20 12:20:34 +02:00
Paul Chavard
ddb230899c chore(actions): update github actions 2022-10-20 11:55:10 +02:00
Colin Darie
81b27a88ff
Merge pull request #7929 from colinux/dsfr-suggest-expires
style(admin): suggest auto expiration converted to DSFR
2022-10-20 09:29:05 +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
a5af9721d2
Merge pull request #7927 from colinux/fix-invitation-on-hidden-dossier
fix(invitation): when dossier is not visible anymore
2022-10-20 09:17:30 +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
mfo
fe81b73052
Merge pull request #7917 from tchak/fix-changes-list-style
fix(revision): fix changes list style
2022-10-20 07:02:10 +02:00
Paul Chavard
74aa01479b fix(revision): fix changes list style 2022-10-20 06:56:20 +02:00
mfo
dbbed8f4ad
Merge pull request #7926 from mfo/US/increase_export_max_duration
amelioration(export): augmente la duree de conservation des exports encours de generation passant de 12 a 16h. augment la duree de conservation des exports generés passant de 16 à 32h
2022-10-20 06:38:50 +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
LeSim
345e609889
Merge pull request #7935 from betagouv/fix_duplicate_service_in_merge
fix(admin_merge): résout un pb lorsque les 2 admins ont un service avec le mm nom
2022-10-19 18:08:26 +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
90ec4d45d3
Merge pull request #7933 from tchak/fix-message-instructeur-email
fix(dossier): nullify instructeur and expert id on messages when they are deleted
2022-10-19 16:13:40 +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
LeSim
c5ccc90cc4
Merge pull request #7932 from betagouv/fix_fix_enable_procedure_expires
fix: typo in task
2022-10-18 15:31:04 +02:00
simon lehericey
0565fa50ce fix: typo in task 2022-10-18 15:29:52 +02:00
LeSim
de0886e584
Merge pull request #7931 from betagouv/fix_enable_procedure_expires
fix(task): ajoute un controle des exception dans la tache d'action d'expiration des procedures
2022-10-18 15:19:48 +02:00
simon lehericey
d050abe53c fix(task): add begin rescue in rake task 2022-10-18 15:05:29 +02:00
LeSim
875751de69
Merge pull request #7928 from betagouv/fix_conditionnal_export_2
fix(export): corrige un bug apparaissant avec des revisions et du conditionnel
2022-10-18 12:38:12 +02:00
simon lehericey
c6e7db3622 fix(export): bug when combining revision and conditional 2022-10-18 11:53:13 +02:00
LeSim
1d82d5f7bb
Merge pull request #7922 from betagouv/fix_mandatory_options
fix(drop_down_list): corrige l'apparition de l'option 'non renseigné' dans une liste de choix obligatoire
2022-10-18 11:20:22 +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
LeSim
c94b1ce3d9
Merge pull request #7923 from betagouv/fix_typo_in_footer_translation
fix(translation): typo dans le footer
2022-10-17 22:53:52 +02:00
simon lehericey
dc89ddb639 fix(translation): typo in footer 2022-10-17 22:47:42 +02:00
mfo
36b78d0300
Merge pull request #7856 from mfo/US/enhance_outdated_procedure
feat(manager/outdated_procedure): enhance procedure cleanup
2022-10-17 14:31:36 +02:00
Martin
6000de2095 feat(manager/outdated_procedure): enhance procedure cleanup 2022-10-17 13:35:37 +02:00
Paul Chavard
84b1888d3a
Merge pull request #7918 from tchak/fix-routage-groupe-instructeur
fix(routage): fill dossier groupe instructeur in some edge cases
2022-10-14 23:34:29 +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
b4cec14d6e
Merge pull request #7906 from tchak/fix-user-destroy-dossiers
fix(dossier): we should never detroy user’s dossiers in cascade
2022-10-14 14:21:46 +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
e0e9085fe3
Merge pull request #7915 from tchak/graphql-champ-visibility
fix(graphql): hide champs based on conditions
2022-10-14 11:40:04 +02:00
Paul Chavard
c097f70543 fix(graphql): hide champs based on conditions 2022-10-14 11:33:25 +02:00
LeSim
e4ceaa1194
Merge pull request #7909 from betagouv/fix_conditionnal_export
fix(export): met une valeur null aux champs cachés lors des exports
2022-10-14 10:53:39 +02:00
simon lehericey
d5d031e15d fix(export): do not export invisible champ 2022-10-14 10:30:27 +02:00
Paul Chavard
b0db7e7cb9
Merge pull request #7914 from betagouv/fix_flaky_spec
refactor(spec): use match_array
2022-10-14 10:18:36 +02:00
simon lehericey
de875632e6 refactor(spec): use match_array 2022-10-14 09:45:58 +02:00
LeSim
b0831de11d
Merge pull request #7903 from betagouv/small_perf_gain
perf(dossier brouillon): petites optimisations
2022-10-13 22:42:48 +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