Paul Chavard
88bb0cc532
Merge pull request #8989 from tchak/fix-presentation-filters
...
ETQ Instructeur, je ne veux pas d'erreurs quand les filtres ne sont pas trouvés
2023-05-04 08:45:56 +00:00
Colin Darie
53b7a37fb4
Merge pull request #8998 from colinux/fix-attestation-redirect
...
ETQ Instructeur et Usager: corrige le téléchargement des attestations
2023-05-04 08:40:30 +00:00
Colin Darie
93c08072ba
fix(attestation): allow redirection to our static domain for attestation
2023-05-04 10:31:38 +02:00
Colin Darie
f4ccc5c717
Merge pull request #8736 from adullact/feat/rails-7
...
Tech: migration vers Rails 7
2023-05-04 07:03:06 +00:00
Colin Darie
97049f7b2e
chore(lograge): fix rails 7 initialization with ApplicationLogSubscriber
2023-05-03 13:18:09 +02:00
Colin Darie
eabc9069f8
test(super-admin): more explicit disable otp test
2023-05-03 11:37:28 +02:00
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
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