Commit graph

3138 commits

Author SHA1 Message Date
Colin Darie
3c7018fd31 fix: don't set preferred domain on signup/signin unless feature is enabled 2024-04-09 10:04:18 +02:00
simon lehericey
e994738a2e
add and use api_insee_up? 2024-04-05 12:26:44 +02:00
Paul Chavard
9593e8825f chore(browser): be more agressive about browser deprecation 2024-04-04 13:53:41 +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
Colin Darie
0c4a4c8764
Merge pull request #10232 from demarches-simplifiees/redirect-fermeture-to-commencer-if-procedure-not-closed
Correctif: redirige la page fermeture vers la page commencer si la démarche n'est pas fermée
2024-04-04 07:34:23 +00:00
LeSim
3f54d46f19
Merge pull request #10258 from demarches-simplifiees/fix_strange_locale
tech: verifie que la locale est disponible
2024-04-03 07:11:12 +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
57927a3783
chore: more log to address controller errors 2024-04-02 15:47:11 +02:00
Martin
2944a0c2c3
fix(expert.attestation.url): was pointing to attestation_instructeur_dossier_path, so did not worked when expert was not instructeur. use active_storage_link, secured enough because served to authenticated users as well as expiring link 2024-03-30 06:20:11 +01:00
Eric Leroy-Terquem
78530f9823
fix(fermeture): redirect to commencer if procedure not closed 2024-03-27 12:16:04 +01:00
Paul Chavard
f589129ef5 chore(attachment): remove unused replace code 2024-03-25 15:13:14 +01:00
Eric Leroy-Terquem
773de2dbf2 chore(groupe_instructeurs): do not reaffect bulk messages anymore 2024-03-22 14:56:54 +01:00
Eric Leroy-Terquem
30f96a79c2 chore(bulk messages): update associations 2024-03-22 14:52:34 +01:00
Martin
2281e3de4b fixup! feat(type_de_champ_editor): move champs after another champ. 2024-03-22 10:10:28 +01:00
Martin
44cdb14fb9 feat(type_de_champ_editor): move champs after another champ. 2024-03-22 10:10:28 +01:00
simon lehericey
46087e4577 raise Error if generation fail 2024-03-21 21:03:21 +01:00
simon lehericey
77744f510e add upstream context to weasyprint html generation 2024-03-21 21:03:21 +01:00
Colin Darie
17f9992722
Merge pull request #10040 from colinux/cross-domain-component
Prépare la bannière informant du changement de nom de domaine, avec redirection automatique le cas échéant
2024-03-21 14:58:29 +00:00
simon lehericey
fa47eea07e oups 2024-03-21 14:01:52 +01:00
Colin Darie
f768801b7d
feat(registration): set preferred host on signup/signin 2024-03-21 13:15:36 +01:00
Colin Darie
2f4444bd5e
chore: mark preferred domain to new domain when closing notice 2024-03-21 13:15:34 +01:00
simon lehericey
a42f85ef05 remove useless administration_id in invite_admin and invite_administrateur! 2024-03-21 11:54:02 +01:00
simon lehericey
1dfd3bf573 use Current.application_base_url in app 2024-03-21 10:06:09 +01:00
simon lehericey
4c3b0229eb set Current.application_base_url 2024-03-21 10:06:09 +01:00
simon lehericey
edc4e60b81 use Current.contact_email in app 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
efa35e04a5 use Current.application_name in app excluding mail 2024-03-21 10:06:09 +01:00
simon lehericey
b9fcb25f1a set Current.application_name 2024-03-21 10:06:08 +01:00
Lisa Durand
6c5c744411
Merge pull request #10119 from demarches-simplifiees/add-explanation-when-publish-with-same-url-ldu
ETQ admin j'ai un message d'explication si j'utilise une URL déja utilisée lors de la publication d'une démarche
2024-03-20 13:21:59 +00:00
Lisa Durand
db244c821b remove ununcessary instance variable for current admin 2024-03-20 11:24:24 +01:00
simon lehericey
df0298ac42 simply deal with multiple agent_connect_information by taking the last used 2024-03-19 21:17:45 +01:00
simon lehericey
ca17524559 Allow instructeur to have multiple agent_connect_information
AC will return two different sub depending of the domain demarches.gouv.fr or ds.
Both agent_connect_information are stored and the corresponding instructeur is found by its email.
We do not store anymore the agent_connect_id on the instructeur as the are many.
2024-03-19 21:17:45 +01:00
simon lehericey
bdcc65ff4a fix: delete AgentConnect cookies instead of nullify 2024-03-19 21:17:44 +01:00
simon lehericey
759d729bf3 use AC autoconf discovery end_session_endpoint 2024-03-19 21:17:44 +01:00
Colin Darie
370aa074d2
fix(procedure): don't crash when procedure does not exist on /fermerture path 2024-03-19 14:46:00 +01:00
simon lehericey
dca3727253 proper agent connect logout mechanism 2024-03-18 14:02:53 +01:00
simon lehericey
597342fe9d small session refactor 2024-03-18 14:02:53 +01:00
simon lehericey
31b84fd770 store id_token 2024-03-18 14:02:53 +01:00
simon lehericey
063445b892 add logout route 2024-03-18 14:02:18 +01:00
Kara Diaby
09d479321b corrections après retours 2024-03-18 11:50:29 +00:00
Kara Diaby
9424d020bc controller 2024-03-18 11:50:29 +00:00
Kara Diaby
24d67dc6f3 concern 2024-03-18 11:50:29 +00:00
Paul Chavard
900db5624f refactor(champs): if champ not found - build it 2024-03-17 23:51:45 +01:00
simon lehericey
ce3a156a46 refactor(file retrieval): use ciphered query params instead of cookie to move email 2024-03-15 14:42:28 +01:00
simon lehericey
96a8e7888e feat(file retrieval): select procedure to recover 2024-03-15 14:35:14 +01:00
simon lehericey
cd7fd5832c feat(file retrieval): post targeted email 2024-03-15 14:35:14 +01:00
simon lehericey
d86bebdd03 feat(file retrieval): ensure collectivite territoriale 2024-03-15 14:35:14 +01:00
simon lehericey
fac365e01d feat(file retrieval): ensure agent connect is used 2024-03-15 14:35:14 +01:00
simon lehericey
d3955d48ee feat(file retrieval): contact support if not col ter 2024-03-15 14:35:14 +01:00