Commit graph

21478 commits

Author SHA1 Message Date
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
Colin Darie
370aa074d2
fix(procedure): don't crash when procedure does not exist on /fermerture path 2024-03-19 14:46:00 +01:00
Paul Chavard
8479300328 fix(champs): run mentainance task on all records 2024-03-19 14:25:36 +01:00
Paul Chavard
ebe762ee5d
Merge pull request #10146 from colinux/fix-champ-built-updated-at
Tech: pas de comparaison avec champ#updated_at lorsque le champ n'est pas persisté
2024-03-19 11:38:48 +00:00
Colin Darie
455086c1d7
fix(champs): don't fail on updated_at comparison when champ is not persisted 2024-03-19 11:46:08 +01:00
Paul Chavard
f2b3cbcf2e
Merge pull request #10147 from mfo/clean-fix-champ-missing
tech(clean): drop unusable maintenance task
2024-03-19 08:32:09 +00:00
mfo
46946568ae
Merge pull request #10149 from mfo/US/fix_maintenance_task_without_rake_puts
fix(fix_missing_champs_task): `rake_puts` present in spec, not in prod
2024-03-19 08:27:23 +00:00
Martin
291e6b0550 fix(fix_missing_champs_task): rake_puts present in spec, not in prod 2024-03-19 09:18:30 +01:00
Martin
9d94448763 tech(clean): drop unusable task (i'm not able to use my own csv_collection for task maintenance [that the expected format?, who knows]). now use https://github.com/demarches-simplifiees/demarches-simplifiees.fr/pull/10139, takes an array of procedure, find dossiers with missing champs, run the fixer. 2024-03-19 05:28:38 +01:00
Paul Chavard
a962e2d94e fix(champ): fill stable_id and stream when cloning from old champs 2024-03-18 20:04:53 +01:00
Paul Chavard
4412aa7d9c
Merge pull request #10144 from tchak/fix-projection-stable-id
fix(dossier): select the right stable_id
2024-03-18 18:47:54 +00:00
Paul Chavard
0f93ea2156 fix(dossier): select the right stable_id 2024-03-18 19:20:10 +01:00
mfo
aafe6a7bb6
Merge pull request #10139 from mfo/US/fix-missing-champs-task
fix(data): apply fix missing champ via task. FV dossiers are poping way too much at helpdesk
2024-03-18 17:26:45 +00:00
Paul Chavard
a9166c8d8e
Merge pull request #10140 from tchak/fix-count-in-mentenance-task
fix(champs): use approximate count in the task
2024-03-18 17:09:12 +00:00
Paul Chavard
c5892a1ca2
Merge pull request #10141 from tchak/fix-rows-order
fix(champs): fix rows order
2024-03-18 16:56:21 +00:00
Martin
2dac74916f fix(data): apply fix missing champ via task. FV dossiers are poping way too much at helpdesk
Co-authored-by: Colin Darie <colin@darie.eu>
2024-03-18 17:53:21 +01:00
Paul Chavard
f21192bb06
Merge pull request #10123 from tchak/fix-multiple-champ-copies-bug
fix(champ): fix multiple champ copies bug
2024-03-18 16:46:17 +00:00
Lisa Durand
9f536d625c
Merge pull request #10136 from demarches-simplifiees/add-export-colonne-dossier-MAJ-ldu
Exports: ajouter une colonne "date de dernière mise à jour du dossier" #10043
2024-03-18 16:42:41 +00:00
Paul Chavard
818dcc32da fix(champs): fix rows order 2024-03-18 17:26:41 +01:00
Paul Chavard
750b38bbf4 fix(champs): use approximate count in the task 2024-03-18 17:06:24 +01:00
Lisa Durand
72c4b23821 add last_champ_updated_at in export 2024-03-18 16:10:26 +01:00
LeSim
a60bc5d630
Merge pull request #10138 from demarches-simplifiees/relax_agent_connect_constraints
Tech: rend les champs agent connect usual and given name optionnels
2024-03-18 13:57:10 +00:00
simon lehericey
2a81ca3871 relax agent connect constraints 2024-03-18 14:48:32 +01:00
LeSim
78462841cc
Merge pull request #10135 from demarches-simplifiees/agent_connect_logout
ETQ instructeur agent connecté, me déconnecter me déconnecte également d'agent connect
2024-03-18 13:11:03 +00: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
c1171cfd8b add id_token to instructeur
We use instructeur to store the id_token as the instructeur may have (in the migration and in the future) multiple agent connect information
2024-03-18 14:02:52 +01:00
simon lehericey
063445b892 add logout route 2024-03-18 14:02:18 +01:00
Kara Diaby
e73318e3bb
Merge pull request #10127 from demarches-simplifiees/feat/10005
ETQ expert, je veux pouvoir gérer les notifications que je reçois depuis mon interface
2024-03-18 12:27:37 +00:00