Paul Chavard
741712141a
refactor(champs): add new champs controllers urls with stable_id and row_id
2024-04-22 13:55:02 +02:00
Colin Darie
7dcd4ba538
feat: customized page 404
2024-04-11 18:19:29 +02:00
Colin Darie
8af3f07181
Merge pull request #10231 from colinux/fix-gouv-fr-banner
...
Tech: petites corrections pour le .gouv
2024-04-04 09:02:03 +00:00
simon lehericey
fc8d5adf2f
fix: avoid buggy locale from user
2024-04-02 21:53:56 +02:00
Colin Darie
8c0375fe6f
chore: easier to test .gouv / new host using APP_HOST
2024-04-02 19:36:39 +02:00
simon lehericey
fa47eea07e
oups
2024-03-21 14:01:52 +01:00
simon lehericey
4c3b0229eb
set Current.application_base_url
2024-03-21 10:06:09 +01:00
simon lehericey
d13910dac4
set Current.contact_email
2024-03-21 10:06:09 +01:00
simon lehericey
b9fcb25f1a
set Current.application_name
2024-03-21 10:06:08 +01:00
simon lehericey
8dea936d41
double callback on FC based on the request host
2024-03-07 12:14:58 +01:00
Colin Darie
0a07c9cd72
fix: encode reset link email in param because it's rendered in view later
2024-02-27 18:59:52 +01:00
Colin Darie
9db7b5b864
fix: encode reset password email in param because it's rendered in view later
2024-02-27 18:53:07 +01:00
Lisa Durand
c767164e28
add expert in current_account and mode badge to the right
2023-12-19 11:33:48 +01:00
Martin
1307e7262f
amelioration(application_controller.roles): intègre aussi le role d'expert aux logs
2023-12-14 14:52:50 +01:00
Colin Darie
25dfbe5085
chore: fix ActiveStorage::Current.host deprecation warning
2023-11-10 14:20:01 +01:00
simon lehericey
8c0d2bb8cb
refactor: add request_logs methods
...
it avoids having to change lograge.rb for adding an entry
2023-11-08 17:49:09 +01:00
Paul Chavard
d93c624164
feat(traitement): add browser information
2023-11-08 00:09:38 +01:00
seb-by-ouidou
44b4b5d0ab
feat: rename admins_group_manager to gestionnaire
2023-10-03 13:51:57 +02:00
seb-by-ouidou
e2f792b44b
FEAT: init admins group
2023-10-03 13:51:57 +02:00
Kara Diaby
7472b17009
Autocomplete pour instructeurs qui veulent affecter un expert au dossier, avec tous les experts sollicités sur la démarche
2023-09-11 09:13:04 +00:00
Colin Darie
20c7921abe
chore(log): log destroyed dossiers
2023-09-06 16:07:18 +02:00
Paul Chavard
e1a25ee0e5
chore(sentry): read sentry release information from version file
2023-05-24 09:41:39 +02:00
Colin Darie
83a3421537
Merge pull request #8769 from colinux/fix-annotations-privees-champ-type-mismatch
...
Fix: crash d'annotations privées à cause d'une incohérence avec leur type de champ
2023-03-16 15:55:56 +00:00
simon lehericey
c0ca9f156e
clean: remove unused Current.instructeur
2023-03-15 21:51:02 +01:00
simon lehericey
a984c21f64
clean: remove unused Current.administrateur
2023-03-15 21:51:02 +01:00
Colin Darie
e2ec46a5ba
chore(sentry): set dossier scope for instructeurs as well
2023-03-15 18:59:44 +01:00
Colin Darie
4d1a5f230c
feat(a11y/i18n): inject user locale to chat / crisp
2023-02-27 17:23:43 +01:00
simon lehericey
7461d84018
feat(log): log ip and correlation id
2023-02-02 11:20:05 +01:00
Colin Darie
b13c5e56f6
refactor(piece_justificative): UX follows mockups
2022-12-05 10:47:10 +01:00
Colin Darie
3ea57a0416
chore(bundle): bump pundit 2.1.0 => 2.2.0
...
Fix administrate autoloading.
2022-11-15 17:28:04 +01:00
Paul Chavard
e6288c39f2
refactor(dossier): champs -> champs_public
2022-11-10 22:44:39 +00:00
Paul Chavard
1fd1878370
feat(jobs): add request_id to jobs payload
2022-10-12 14:32:23 +02:00
Paul Chavard
df47f4a7ab
feat(graphql): new tokens should carry administrateur_id
2022-09-29 11:58:58 +02:00
Paul Chavard
1c8efea465
fix(preview): gon should not crash on preview pages
2022-07-12 11:16:41 +02:00
Paul Chavard
99a8786dd5
fix(expert): expert should be allowed to delete messages
2022-05-20 15:47:48 +02:00
Paul Chavard
9e0b3b642f
cleanup(sendinblue): remove sendinblue tracking
2022-05-06 11:14:44 +02:00
Paul Chavard
edba12705b
feat(controller): add read_param_value helper
2022-05-03 16:14:54 +02:00
François Vantomme
d5cd0101c8
feat(footer): customize using custom views & locales
2022-03-10 17:31:20 +01:00
Pierre de La Morinerie
90b5e938e3
stats: fix Matomo cookie domains setting
...
It was exported to the GON as `cookie_domain`, but imported
by the tracking code as `cookieDomain`.
2022-02-15 11:55:24 +01:00
François Vantomme
cc6cb2ea30
feat(matomo): use env variables to set the domain
2022-02-15 09:25:23 +01:00
Pierre de La Morinerie
d4fada9f6c
config: add MATOMO_HOST environment variable
2022-01-19 15:43:44 +01:00
Pierre de La Morinerie
ac07f05771
app: use Instructeur.bypass_email_login_token
2021-12-02 08:51:52 +01:00
lydiasan
6f9c3abfbc
i18n: display language selector on non-french accept-languages
2021-10-19 16:41:36 +02:00
simon lehericey
19f81b594b
merge with an existing account by using the password
2021-10-14 14:47:50 +02:00
Paul Chavard
5933194149
feat(log): stop logging user emails
...
fix #6485
2021-09-27 14:56:00 +02:00
Paul Chavard
34b1418868
feat(i18n): save locale on user
2021-09-07 09:51:23 +02:00
Paul Chavard
3b6528decf
feat(i18n): enable localization by query param
...
Providing a query param ("locale") will enable localization. A language picker will be shown once
localization is activated. Locale is stored in a cookie "locale".
2021-08-24 12:42:40 +02:00
Pierre de La Morinerie
831672391e
app: use a long-lived cookie for CSRF token
...
See the ADR document for rationale.
2021-07-20 11:11:52 +02:00
Pierre de La Morinerie
09933454ff
app: improve InvalidAuthenticityToken logging
...
- Log on all controllers
- Improve description of the controller action involved
- Ignore Safari bogus requests
2021-07-06 12:42:01 +02:00
Pierre de La Morinerie
a99a6cc49f
controllers: use default Rails settings for protecting against forgery
...
Rails uses `config.action_controller.allow_forgery_protection` to
enable or disable forgery protection globaly.
This is disabled for tests by default. So our custom config is not
required.
2021-06-22 13:21:55 +02:00