Commit graph

18492 commits

Author SHA1 Message Date
Nicolas Cavigneaux
6eef70750b
feat: add initializer to handle encrypted cookies rotation
This is needed to keep them working when switching from Rails 6.1 to Rails 7.0
2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
5ee60cbb0c
chore: update and default initializer for Rails 7 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
940405cea8
fix: Avoid Brakeman warning about insecure redirect 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
7e0fbcf672
fix: ensure procedure used in remove_instructeur spec has routing_enabled set to true 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
01e0276f53
fix: MonAvisEmbed custom validation 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
61c3ff54d5
fix: JWT token custom validation 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
06296e933a
fix: super admin test where attribute was not reloaded 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
faad8abaf6
fix: add missing file content type in fixture blob creation 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
c1453c5f5c
fix: ensure turbo_stream request are not considered as navigational 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
3aa6a5e28e
fix: url helper method calls for files 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
f78b415c51
fix: edit_component field_name signature
field_name is called by
actionview-7.0.4.2/lib/action_view/helpers/tags/base.rb who pass 3
arguments. We need to be compliant in order to make it valid.

We reuse the same method signature with nil default values as those
params are not being used.
2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
db71323b92
fix: add missing encryption key / salt introduced in Rails 7 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
388ccca263
fix redefinition of signed_id Rails method by supporting options as arg 2023-05-03 11:35:28 +02:00
Lisa Durand
1ab3dbb864 fix spec adding click on dropdown 2023-05-03 11:04:15 +02:00
Nicolas Cavigneaux
00e640a21d
fix Zeitwerk check 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
8f6beb1093
fix: Rails 7 preloader now take named arguments 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
b478168e23
fix: remove hardcoded .pdf.prawn from describe calls since it no longer works 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
e483bfbc76
fix: remove hardcoded .html.haml from render calls since it no longer works 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
42689e34ba
chore: bump Rails (and required dependencies) to 7.0.4.2 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
7e245c0b70
fix: add required argument for SMTP errors instanciation in application_mailer_spec 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
5ba409ec9a
chore: update Rails to latest minor version of 6 2023-05-03 10:10:37 +02:00
Martin
c8ab1e8e03 amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement 2023-05-03 07:36:42 +02:00
Lisa Durand
cfce0075ce fix view spec adding fake params 2023-05-02 19:24:30 +02:00
Lisa Durand
530d36b6df use dropdown to hide filter form 2023-05-02 19:07:53 +02:00
Lisa Durand
6113c0b75e improve/add translations 2023-05-02 15:10:36 +02:00
Lisa Durand
24eca40f66 add from_depose_at filter 2023-05-02 10:32:38 +02:00
Lisa Durand
21ed6abcad add from_created_at filter 2023-05-02 09:37:03 +02:00
Paul Chavard
fc391fb553 fix(instructeur): no crash when filters not found 2023-05-01 11:34:11 +02:00
Paul Chavard
46f9148fa4
Merge pull request #8984 from tchak/fix-api-entreprise-status
ETQ usager, je veux être avertie si l'API entreprise est HS
2023-04-28 14:25:02 +00:00
Paul Chavard
f2d51a7b63
Merge pull request #8988 from tchak/rollback-broken-validations
ETQ opérateur, je veux revert les validations cassées
2023-04-28 14:21:19 +00:00
Paul Chavard
f2c1c071b4 Revert "Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique"
This reverts commit d3eda28f35, reversing
changes made to 6394996e7f.
2023-04-28 16:10:20 +02:00
Paul Chavard
909d726429 Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739"
This reverts commit 04fbfa15b7, reversing
changes made to aac1cc7161.
2023-04-28 16:08:24 +02:00
Paul Chavard
e744ed99d2 Revert "Merge pull request #8985 from tchak/chore-update-dependencies"
This reverts commit 1e5c7516bc, reversing
changes made to 60bc6b0839.
2023-04-28 15:47:24 +02:00
Lisa Durand
39f534b3d7 add states filter for usager 2023-04-28 15:28:04 +02:00
Paul Chavard
1e5c7516bc
Merge pull request #8985 from tchak/chore-update-dependencies
ETQ développeur, je veux que les dépendances npm soient à jour
2023-04-28 10:00:40 +00:00
LeSim
60bc6b0839
Merge pull request #8986 from demarches-simplifiees/fix_super_admin_test
Corrige des tests peu fiables
2023-04-28 10:00:27 +00:00
LeSim
6ffa0183d7
Merge pull request #8983 from mfo/US/fix-reset-counter-css-offset
correctif(titre-de-section): ETQ usager, je souhaite que les titres de sections ne soient pas préfixé d'un 0.
2023-04-28 09:44:17 +00:00
simon lehericey
47bae606f1 spec: remove weird now obsolete spec which pollute global namespace with logic helper
and make spread_architect tests fail
2023-04-28 10:42:09 +02:00
simon lehericey
07d3496300 spec: always enable super_admin_otp for spec 2023-04-28 10:24:14 +02:00
Paul Chavard
ba590ff262 chore(npm): update dependencies 2023-04-27 23:02:39 +02:00
Paul Chavard
99abdf45e7 fix(api-entreprise): use new status endpoint 2023-04-27 22:39:44 +02:00
Martin
9612555cd1 correctif(titre-de-section): ETQ usager, je souhaite que les titres de sections ne soient pas préfixé d'un 0. 2023-04-27 16:00:43 +02:00
Kara Diaby
04fbfa15b7
Merge pull request #8844 from demarches-simplifiees/feat/7739
Ajoute un compteur sur les champ texte
2023-04-27 13:53:20 +00:00
Lisa Durand
aac1cc7161
Merge pull request #8971 from demarches-simplifiees/add-filter-for-usagers
[fix] Pagination interface usager - onglets disparaissent si pas sur la page 1
2023-04-27 13:46:15 +00:00
Lisa Durand
b76c0a36e8 fix specs 2023-04-27 15:26:10 +02:00
Paul Chavard
db3b1e4db0
Merge pull request #8981 from tchak/fix-communes-undefined
ETQ opérateur, je souhaite corriger des valeurs invalides de codes départementaux
2023-04-27 10:19:16 +00:00
Paul Chavard
075192518a
Merge pull request #8980 from tchak/fix-dossiers-with-missing-identification
ETQ instructeur, je veux que tous les dossiers aient un demandeur
2023-04-27 10:14:00 +00:00
Paul Chavard
1d10e59e63 fix(commune): fix ‘undefined’ departement codes 2023-04-27 12:07:43 +02:00
Colin Darie
b0f4c578a6
Merge pull request #8978 from colinux/refactor-dolist-module
Tech: ne mélange pas class & module Dolist, supprime adapter SMTP
2023-04-27 09:52:42 +00:00
Paul Chavard
a64549d716
Merge pull request #8956 from tchak/update-coldwired
ETQ usager, je veux que le focus suive les changement d'interface
2023-04-27 09:31:45 +00:00