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
Eric Leroy-Terquem
058350df53
fix(administrateur): can delete administrateur with a discarded procedure with no dossier
2024-03-21 14:27:53 +01:00
Eric Leroy-Terquem
9139bfbf48
clean(administrateur): remove dead code
2024-03-21 14:27:53 +01:00
Eric Leroy-Terquem
6a77bbb6c9
fix(administrateur): can be deleted only if other admin or dossiers on all procedures included with discarded
2024-03-21 14:27:52 +01: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
41a02d1ead
feat: notify sentry when connection test on new host fail
2024-03-21 13:15:35 +01:00
Colin Darie
2f4444bd5e
chore: mark preferred domain to new domain when closing notice
2024-03-21 13:15:34 +01:00
Colin Darie
a16f88f8af
chore(schema): add preferred_domain to users
2024-03-21 12:21:19 +01:00
Colin Darie
4dd24f0925
chore: cross domain banner between APP_HOST_LEGACY and APP_HOST
2024-03-21 12:21:16 +01: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
Martin
22fa2e61b4
feat(api): add champs.champDescriptorId so champRepetitions.rows[x] has a uniq id
2024-03-21 10:29:33 +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
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
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
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
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
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
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
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
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
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
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
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
Kara Diaby
09d479321b
corrections après retours
2024-03-18 11:50:29 +00:00
Kara Diaby
f41dcc69d8
model
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
Kara Diaby
e824118aea
layout
2024-03-18 11:50:29 +00:00
Lisa Durand
b8cf19337f
Merge pull request #10131 from demarches-simplifiees/wording-page-stats-ldu
...
ETQ instructeur je souhaite mieux comprendre le graph "avancée des dossiers" en changeant le terme "démarrés"
2024-03-18 11:49:20 +00:00
Paul Chavard
1b2315cd45
fix(champ): fix multiple champ copies bug
2024-03-18 12:13:22 +01:00
Colin Darie
61c203e97e
Merge pull request #10122 from goulvench/patch-1
...
[Nitpick] Adjust vertical spacing in segmented-control-item
2024-03-18 11:12:35 +00:00
Paul Chavard
e8b2e77b65
Merge pull request #10133 from demarches-simplifiees/add-owner-on-dossier-list-when-many-invitations-ldu
...
ETQ invité, ajouter l'owner du dossier dans la liste des dossiers
2024-03-18 11:03:16 +00:00
Paul Chavard
8abe3fce79
add stable_id and stream
2024-03-18 11:34:55 +01:00
Lisa Durand
93c21d5639
use method to display email (PR review)
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2024-03-18 11:27:50 +01:00
Lisa Durand
90331f6e52
add dossier owner on dossier list when there is invitation
2024-03-18 11:15:39 +01:00
Lisa Durand
6b916493cb
change wording on page stats
2024-03-18 10:39:11 +01:00
Eric Leroy-Terquem
0a00d801bc
fix(data): update procedures with invalid mon avis
2024-03-18 10:11:09 +01:00
Eric Leroy-Terquem
94f37b6708
Merge pull request #10125 from demarches-simplifiees/destroy-procedure-without-administrateur-and-without-dossier
...
Correctif : supprime les démarches sans administrateur ni dossier
2024-03-18 08:48:52 +00:00
Paul Chavard
900db5624f
refactor(champs): if champ not found - build it
2024-03-17 23:51:45 +01:00
Paul Chavard
fd2e253ebc
refactor(champs): use ViewableChamp::SectionComponent
2024-03-17 23:51:45 +01:00
Paul Chavard
378e15e083
fix(api_geo): include Paris, Lyon and Marseille code INSEE in local data
2024-03-15 22:33:26 +01:00
Eric Leroy-Terquem
6322532805
fix(data): destroy procedure if no administrateur and no dossier
2024-03-15 16:30:03 +01:00
Eric Leroy-Terquem
eae149f49d
chore(administrateur): destroy procedure if no administrateur and no dossier
2024-03-15 16:16:10 +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
7e6792c616
feat(file retrieval): add dossier_transfer_log
2024-03-15 14:35:15 +01:00
simon lehericey
84398b147d
feat(file retrieval): post select only if selection
2024-03-15 14:35:15 +01:00
simon lehericey
2c367846da
refactor(js): radio_enabled_submit -> enable_submit_if_checked
2024-03-15 14:35:15 +01:00
simon lehericey
96a8e7888e
feat(file retrieval): select procedure to recover
2024-03-15 14:35:14 +01:00
simon lehericey
e91eeadccb
feat(file retrieval): add recovery_service
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