Colin Darie
4c162a64d9
test: fix missing explicit rspec type
2023-05-03 11:35:32 +02:00
Colin Darie
6616acb825
chore(super-admin): update devise-two-factor v5 with otp_secret encrypted attribute
2023-05-03 11:35:32 +02:00
Colin Darie
eb88c5e9de
chore: setup active record encryption from secrets
2023-05-03 11:35:32 +02:00
Colin Darie
2144c69e22
chore: disable cookies rotation until we enforce SHA256 digests
2023-05-03 11:35:32 +02:00
Colin Darie
ae88c1de6b
fix(devise): default config for devise and turbo stream as navigational format
2023-05-03 11:35:32 +02:00
Colin Darie
d044472615
chore(bundle): update rspec-rails & rspec-mocks for rails 7 support
2023-05-03 11:35:32 +02:00
Colin Darie
61ebb27e86
fix(redirect): allow other hosts when required
2023-05-03 11:35:31 +02:00
Colin Darie
33a1e0f22d
fix(loading): in initializer, dolist must be manually loaded
2023-05-03 11:35:31 +02:00
Colin Darie
109504d9be
chore(schema): sync schema with production options
2023-05-03 11:35:31 +02:00
Colin Darie
42c1e32909
chore(schema): missing foreign key declarations
2023-05-03 11:35:31 +02:00
Colin Darie
7597d898a6
chore(schema): fix precision option for datetime columns
2023-05-03 11:35:31 +02:00
Colin Darie
d31016973c
chore(schema): model annotations accordingly to schema
2023-05-03 11:35:31 +02:00
Colin Darie
b3099214b1
chore(rails): we already use json as cookies_serializer
2023-05-03 11:35:31 +02:00
Colin Darie
e8e785b953
refactor(rubocop): fix Rails/ToFormattedS
2023-05-03 11:35:30 +02:00
Colin Darie
1f3cd386e5
chore(bundle): pry 0.13.1 => 0.14.2
2023-05-03 11:35:30 +02:00
Colin Darie
5a35154c37
chore(bundle): update to rails 7.0.4.3 and improve pinning
2023-05-03 11:35:30 +02:00
Colin Darie
d5efe47286
chore(bundle): pg 1.2.3 => 1.4.6
2023-05-03 11:35:30 +02:00
Colin Darie
4c39026779
chore(ruby): ruby 3.2.2
2023-05-03 11:35:30 +02:00
Nicolas Cavigneaux
9097664de5
chore: activate new config defaults for Rails 7 that should be compatible with current version
2023-05-03 11:35:30 +02:00
Nicolas Cavigneaux
1b37e95a3b
chore: bump Ruby version to 3.2.1
2023-05-03 11:35:29 +02:00
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
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
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
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