Commit graph

21257 commits

Author SHA1 Message Date
simon lehericey
fa47eea07e oups 2024-03-21 14:01:52 +01:00
LeSim
2978eb328c
Merge pull request #10159 from demarches-simplifiees/dead_code
Tech: suppression de code mort relatif a pipedrive
2024-03-21 11:01:48 +00:00
simon lehericey
2ea6a5d25c remove now useless biz_dev module 2024-03-21 11:54:03 +01:00
simon lehericey
a42f85ef05 remove useless administration_id in invite_admin and invite_administrateur! 2024-03-21 11:54:02 +01:00
LeSim
31124123e1
Merge pull request #10157 from demarches-simplifiees/double_run
Tech: surchage des constantes relatives au nom pour permettre un double run ds et demarches.gouv hors mailers
2024-03-21 09:15:09 +00:00
simon lehericey
5288ee4ab9 fix spec 2024-03-21 10:06:09 +01:00
simon lehericey
44b113e433 fix brakeman 2024-03-21 10:06:09 +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
d99f489fd6 remove unused application_shortname 2024-03-21 10:06:09 +01:00
simon lehericey
72a2b764dc add demarches.gouv.fr as sender of automatic emails 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
simon lehericey
5c06430042 remove dead code 2024-03-21 10:06:08 +01:00
Kara Diaby
6222a3b797
Merge pull request #10164 from demarches-simplifiees/feat/10151
ETQ instructeur, je souhaite voir la gestion des notifications instructeurs au DSFR
2024-03-21 08:51:07 +00:00
Eric Leroy-Terquem
a89b471b5c
Merge pull request #10163 from demarches-simplifiees/fix-bulk-message-maintenance-task
fix(maintenance task): fix query and add a test
2024-03-21 08:26:09 +00:00
Kara Diaby
84890f954b gestion des notifications instructeurs au DSFR 2024-03-21 04:02:53 +00:00
mfo
086cc1537b
Merge pull request #10068 from mfo/US/user-has-many-fcis
tech(User.FranceConnect): un usager peut avoir plusieurs profils FranceConnect, pas uniquement un
2024-03-20 16:30:39 +00:00
Eric Leroy-Terquem
dd7a407187 fix(maintenance task): fix query and add a test 2024-03-20 15:24:21 +01:00
Eric Leroy-Terquem
73d6609eb3
Merge pull request #10158 from demarches-simplifiees/fix-closing-reason-form
Correctif : ETQ admin je ne peux pas fermer une démarche en redirigeant sans choisir la nouvelle démarche
2024-03-20 13:28:40 +00: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
Eric Leroy-Terquem
280f1ac3c7 refactor(procedure): add a prefix to closing_reason enum 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
579fe2c933 chore(procedure): remove unnecessary safe operator 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
234f0d7a75 fix(data): update closing_reason to other if no replaced_by_procedure_id 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
e55531c6f4 fix(procedure): validates presence of replaced_by_id if procedure redirected 2024-03-20 14:04:59 +01:00
Lisa Durand
db244c821b remove ununcessary instance variable for current admin 2024-03-20 11:24:24 +01:00
Paul Chavard
61a9bedfff
Merge pull request #10150 from tchak/refactor-dossier-sections
refactor(dossier): label indexes based on type_de_champ not champ
2024-03-20 09:06:37 +00:00
Paul Chavard
eff03aaf23 refactor(dossier): label indexes based on type_de_champ not champ 2024-03-20 09:58:47 +01:00
Paul Chavard
33125c691e
Merge pull request #10145 from tchak/fix-clone-with-stable-id
fix(champ): fill stable_id and stream when cloning from old champs
2024-03-20 08:29:12 +00:00
Paul Chavard
c62937862e
Merge pull request #10160 from tchak/chore-run-maintenance-tasks-in-sidekiq
chore(tasks): run tasks in sidekiq
2024-03-20 08:08:47 +00:00
Paul Chavard
f15cba8f35 chore(tasks): run tasks in sidekiq 2024-03-20 09:00:05 +01:00
LeSim
7178660acd
Merge pull request #10154 from demarches-simplifiees/multiple_agent_connect
Tech: permet de faire marcher agent connect simultanément sur le domaine gouv et ds
2024-03-19 20:26:31 +00:00
simon lehericey
75db5ee320 replace AGENT_CONNECT_ENABLED and move AC conf to optionnal env 2024-03-19 21:17:45 +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
2f6147308c use ac gouv conf when needed 2024-03-19 21:17:44 +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
simon lehericey
916407ec95 remove secret indirection and fetch AC conf once for all 2024-03-19 21:17:44 +01:00
simon lehericey
4997a81639 remove one indirection 2024-03-19 21:17:44 +01:00
Colin Darie
ee4af30725
Merge pull request #10153 from colinux/fix-closing-procedure-not-found
ETQ usager, pas d'erreur 500 lorsque j'accède à une démarche "fermée" qui n'existe pas
2024-03-19 15:31:46 +00:00
Colin Darie
0977bd39d9
Merge pull request #10155 from demarches-simplifiees/tchak-patch-1
task(champs): update champs for each dossier
2024-03-19 15:29:37 +00:00
Colin Darie
800cbbec13
Merge pull request #10156 from colinux/fix-annuaire-education
ETQ usager: correction du champ Annuaire Education (legacy combobox)
2024-03-19 15:24:56 +00:00
Paul Chavard
40fb95978a
each -> find_each 2024-03-19 16:20:24 +01:00
Colin Darie
02cb64aa6e fix(combo-legacy): fieldset group has changed its id pattern 2024-03-19 16:16:45 +01:00
Paul Chavard
bda2d80dea
task(champs): update champs for each dossier 2024-03-19 16:08:56 +01:00
Paul Chavard
776f81eb0e
Merge pull request #10152 from tchak/fix-champs-stable-id-task
fix(champs): run mentainance task on all records
2024-03-19 14:12:04 +00:00
Colin Darie
b686e299a1
fix(procedure): format date with I18n helper 2024-03-19 14:46:02 +01:00