Colin Darie
d8b35e2e77
feat(banner-domain): hide error msg by default because while redirecting, we briefly see the banner
2024-03-21 17:20:03 +01:00
Colin Darie
dd0dba2959
fix(domain-banner): oops
2024-03-21 17:18:54 +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
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
simon lehericey
d3955d48ee
feat(file retrieval): contact support if not col ter
2024-03-15 14:35:14 +01:00
simon lehericey
b7c48acf86
feat(file retrieval): basic UI skeleton
2024-03-15 14:35:14 +01:00
simon lehericey
a60a082ec5
feat(file retrieval): add api_recherche_entreprises_service
2024-03-15 14:35:14 +01:00
simon lehericey
c1199af83d
feat(file retrieval): attach agent_connect_information to instructeur
2024-03-15 14:35:14 +01:00
simon lehericey
277ac1259a
feat(file retrieval): create agent connect information
2024-03-15 14:35:14 +01:00
Goulven Champenois
561e050d47
[Nitpick] Adjust vertical spacing in segmented-control-item
...
This small fix adjusts vertical spacing for the text inside `segmented-control-item`. Padding before: `0 15 4 15`, padding after: `4 15`.
The `.segmented-control-item` class is only used on the stats page, so there won't be any unwanted side-effects. Since the same variable is used for top and bottom, changes to the `--li-bottom` variable won't break vertical alignment.
2024-03-15 10:17:25 +01:00
Lisa Durand
e757eefd37
add message when path is already taken when publishing a procedure
2024-03-14 17:17:47 +01:00
Paul Chavard
4e023ebed0
Merge pull request #10106 from colinux/limit-service-geocoding-to-insee-code
...
Super-Admins: évite que le géocodage des services tombe sur une mauvaise commune
2024-03-14 16:16:03 +00:00
Paul Chavard
29335800b7
Merge pull request #10115 from colinux/fix-instructeur-exports-turbo
...
ETQ instructeur: corrige la mise à jour automatique du bandeau de statut d'un export après sa création
2024-03-14 16:15:35 +00:00
Paul Chavard
4cadc0554a
Merge pull request #10116 from colinux/minor-admin-fix
...
ETQ admin: ajoute des messages manquants dans la liste des modifications d'annotations privées
2024-03-14 16:14:52 +00:00
Colin Darie
8fa6e04c53
fix(export): turbo poll when creating an export
2024-03-14 14:04:25 +01:00
Colin Darie
505b48bfb6
chore(admin): add missing translations for revision changes in private champs
2024-03-14 13:17:39 +01:00
Colin Darie
0c2d1b2cf6
Merge pull request #10111 from colinux/fix-procedure-logo-dark-theme
...
Usager: logos transparents de démarches plus visible avec le thème sombre
2024-03-14 11:28:10 +00:00
Colin Darie
4d53bdcae5
chore: remove download link of pdf form of closed procedure
2024-03-14 10:47:13 +01:00
Colin Darie
7fbf3feb5d
style(dark): minor dark theme fix text in button
2024-03-14 10:06:52 +01:00
Colin Darie
0bf7f26112
style(dark): white background behind transparent procedure logos in dark theme
2024-03-14 10:06:51 +01:00
Eric Leroy-Terquem
0a8075d8a4
fix(maintenance task): pass a collection instead of an array
2024-03-13 16:02:25 +01:00
Eric Leroy-Terquem
237b21025a
fix(data): update procedure with duree_conservation greater than max_duree
2024-03-13 11:09:36 +01:00
Colin Darie
4ce8e75001
chore(service): maintenance tasks refreshing geocoding
2024-03-13 11:02:14 +01:00
Colin Darie
578f19b000
chore(service): limit geocoding area to INSEE code commune
2024-03-13 10:40:39 +01:00
mfo
5dda05d710
Merge pull request #10100 from mfo/US/cleanup-champs-after-passer-en-construction
...
fix(email_validation): allow email with specific format
2024-03-12 17:09:39 +01:00
Colin Darie
a8a23f55a6
Merge pull request #10097 from colinux/fix-email-event-with-invalid-to-fields
...
Tech: pas d'erreur EmailEvent lorsque le message ne peut pas avoir plusieurs destinataires
2024-03-12 15:29:52 +00:00
Colin Darie
fc1c6bb412
Merge pull request #10103 from tchak/dossier-vide-from-procedure
...
refactor(dossier_vide): use types_de_champ instead of empty dossier
2024-03-12 15:29:24 +00:00
Colin Darie
ee92668611
Merge pull request #9930 from demarches-simplifiees/add-external-link-to-procedure
...
ETQ admin lorsque je clos une démarche je peux alerter les usagers et je crée une page de fermeture si la démarche n'est pas redirigée dans DS
2024-03-12 15:03:30 +00:00
Colin Darie
a5c142a702
Merge pull request #10101 from mfo/fix-merge-fork
...
fix(rebase): destroy_all to cascade on dependencies
2024-03-12 14:51:49 +00:00
Colin Darie
0d2f5547e0
Merge pull request #10076 from mfo/US/fix-expert-dossier-export
...
correctif(Export.export): ETQ expert téléchargeant un dossier et toutes ses PJs, la messagerie n'est pas dans l'export quand la procedure ne l'autorise pas. L'export ne contient pas les annotations privées
2024-03-12 14:09:48 +00:00
Paul Chavard
aa0aea1543
refactor(dossier_vide): use types_de_champ instead of empty dossier
2024-03-12 14:23:07 +01:00
Colin Darie
5f826cfd88
Merge pull request #10095 from demarches-simplifiees/fix_multiple_error_message_on_regexp
...
Admin: corrige un bug ou un message d'erreur d expression regulière apparaissait plusieurs fois
2024-03-12 13:07:25 +00:00
Colin Darie
745d7d62b5
Merge pull request #10096 from colinux/fix-add-instructeur-without-valid-email
...
ETQ instructeur je ne dois pas pouvoir inviter un instructeur avec une adresse email invalide
2024-03-12 11:11:36 +00:00
Martin
064f926428
fix(rebase): destroy_all to cascade on dependencies (destroy geoareas)
2024-03-12 11:39:00 +01:00
Martin
2468d528fd
fix(email_validation): use truemail regexp
2024-03-12 11:29:31 +01:00
mfo
a106394e89
Merge pull request #10098 from colinux/dont-report-every-invalid-auth-token
...
Tech: ne remonte plus que 10% des InvalidAuthenticityToken errors
2024-03-12 09:04:57 +00:00
Lisa Durand
2d186a7292
add svg in view
2024-03-11 17:29:47 +01:00
Colin Darie
00d023184d
chore(sentry): don't report every InvalidAuthenticityToken
2024-03-11 17:06:38 +01:00
Eric Leroy-Terquem
a5cfafbf27
db(bulk messages): backfill bulk_messages with procedure_id
2024-03-11 16:59:06 +01:00
Eric Leroy-Terquem
31ba16da02
db(bulk messages): destroy bulk_messages without procedure or groupe instructeur
2024-03-11 16:59:06 +01:00
Eric Leroy-Terquem
c96d86a64b
style(procedure removed banner): add links for email and telephone
2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
d3c26591c8
feat(user dossiers): update messages when procedure is closed
2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
d800213920
feat(procedure): add closing details page
2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
facb38b539
db(procedure): add a maintenance task to backfill closed procedures with closing reason
2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
8c322353c7
feat(procedure): add alert on admin show when procedure closed
2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
c95f0f1cad
feat(procedure): send notifications after closing
2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
1bbf35a6ba
dsfr(toggle): add attributes to toggle component
2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
74903d79bf
feat(procedure): update archiving to add closing reason and closing details
2024-03-11 15:48:28 +01:00
Paul Chavard
a865e00f4d
fix(apply_diff): one more time
2024-03-11 15:13:56 +01:00
Colin Darie
de56eadb43
fix(email): don't fail when to
header is invalid when email contains <
2024-03-11 13:11:25 +01:00
Colin Darie
bfba80a5ce
fix(instructeur): don't try to create instructeur with an invalid email
2024-03-11 12:29:06 +01:00
mfo
d9b6db8ebc
Merge pull request #10092 from mfo/US/fix-dossier-vide
...
correctif(dossier.pdf): ETQ usager, je souhaite pouvoir visualiser un formularie au format PDF
2024-03-11 10:56:02 +00:00
simon lehericey
2bec15b78f
fix multiple error message on regexp
2024-03-11 11:41:31 +01:00
Paul Chavard
9afe71529e
fix(addresse): lookup for city, departement and region name in local db
2024-03-11 10:49:56 +01:00
Martin
75ea596e48
fix(commencer#dossier_vide): use repetition added_champs from repetition instead of creating/iterating over not persisted champs
2024-03-11 10:15:42 +01:00
Paul Chavard
72e27eb7b4
fix(dossier): safely remove child champs in apply_diff
2024-03-11 09:17:03 +01:00
Martin
5b9276e1ba
Revert "Merge pull request #10082 from tchak/fix-address-city_name"
...
This reverts commit 3febf1bafd
, reversing
changes made to 6ec7a87bcb
.
2024-03-08 17:15:28 +01:00
mfo
14266232a4
Merge pull request #10084 from mfo/US/fix-rebase-when-repetition-was-removed
...
fix(rebase): rebase a dossier when its repetition had been removed on newer version of published_revision crashes
2024-03-08 16:15:00 +01:00
Martin
4a26b61d1b
fix(rebase): rebase a dossier when its repetition had been removed on newer version does not crash
2024-03-08 15:55:50 +01:00
Paul Chavard
5c8a5248a2
fix(section): display sections inside repetitions
2024-03-08 15:53:20 +01:00
Paul Chavard
b219b366ff
Merge pull request #10083 from tchak/fix-migration-task
...
fix(effectif): bug in maintenance task
2024-03-08 14:34:56 +00:00
Paul Chavard
3febf1bafd
Merge pull request #10082 from tchak/fix-address-city_name
...
fix(graphql): no crash on address type without city_name
2024-03-08 13:40:47 +00:00
Paul Chavard
6ec7a87bcb
Merge pull request #10080 from demarches-simplifiees/add-dependent-destroy-on-contact-information
...
Correctif : supprime l'information de contact à la suppression du groupe instructeur
2024-03-08 12:15:27 +00:00
Paul Chavard
a898675145
Merge pull request #10081 from mfo/US/fix-motivation-tags
...
correctif(attestation): ETQ usager, je ne souhaite pas voir apparaitre des balaises HTML dans mon attestation au format pdf
2024-03-08 12:14:57 +00:00
Paul Chavard
0a96405376
fix(effectif): bug in maintenance task
2024-03-08 13:09:09 +01:00
Paul Chavard
9629395450
fix(graphql): no crash on address type without city_name
2024-03-08 12:53:53 +01:00
mfo
0013528deb
Merge pull request #10065 from mfo/US/secu-email
...
fix(email.validation): some nasty tests
2024-03-08 09:05:03 +00:00
Martin
d0e2df1aa0
fix(attestation): strip all tags from attestation
2024-03-08 09:57:28 +01:00
Martin
9425f2cc58
fix(user.france_connect_informations): has_many, not has_one
2024-03-08 09:44:21 +01:00
krichtof
1024557081
Merge pull request #10041 from demarches-simplifiees/10029-filter-kind-usager
...
ETQ admin, je peux filtrer toutes les démarches par type d'usager
2024-03-08 08:23:26 +00:00
Eric Leroy-Terquem
6651b36fe4
db(migration): add closing_reason and closing_details to procedure
2024-03-07 19:00:46 +01:00
Eric Leroy-Terquem
877e1f79cc
fix(groupe instructeur): add a dependent destroy on contact information
2024-03-07 16:33:17 +01:00
Paul Chavard
3b13595a41
Merge pull request #10027 from mfo/US/input-state-valid-after-update
...
correctif(Champs::Civilite): ETQ usager, j'aimerais que le champs de type civilité ait le même style d'erreur que les autres
2024-03-07 14:03:06 +00:00
simon lehericey
8dea936d41
double callback on FC based on the request host
2024-03-07 12:14:58 +01:00
Martin
f4d2f1ddf5
fix(export.pdf): expert should not have access to messagerie when it was disabled
2024-03-07 08:39:32 +01:00
Christophe Robillard
c01914bc24
update zones for new government
2024-03-06 21:18:09 +01:00
Martin
84f995bd47
fix(expert.export): expert should not have access to include_infos_administration
2024-03-06 17:28:47 +01:00
Martin
0519dece96
fix(Champs::Civilite): fix dsfr missing red feedback, add green feedback
2024-03-06 15:56:36 +01:00
Eric Leroy-Terquem
418bb8c00f
fix(attestation depot): define organisme on contact_information as on service
2024-03-06 10:47:19 +01:00
Eric Leroy-Terquem
43e870e9ec
fix(attestation depot): run routing engine before sending notifications
2024-03-06 10:47:19 +01:00
Eric Leroy-Terquem
3f6b6ccc63
fix(attestation depot): display groupe information contact if dossier is routed
2024-03-06 10:47:19 +01:00
Paul Chavard
cf684ffd40
Merge pull request #10050 from tchak/fix-batch-motivation
...
ETQ Instructeur je veux attribuer la motivation correcte à ma décision
2024-03-05 17:01:54 +00:00
Paul Chavard
a9bf809ea3
Merge pull request #10069 from mfo/US/fix-spread-dossier-deletion-task
...
tech(spread_dossier_deletion_task): query on date time range not on date
2024-03-05 15:27:09 +00:00
Martin
0ea90e036e
fix(email.validation): some nasty tests
2024-03-05 16:27:07 +01:00
Paul Chavard
1243cfefeb
fix(entreprise): graphql effectif
2024-03-05 16:00:28 +01:00
Martin
4f85082034
fix(spread_dossier_deletion_task): query on date time range not on date
2024-03-05 14:25:16 +01:00
Paul Chavard
a247ec6c12
Merge pull request #9695 from tchak/use-types-de-champ-as-source-of-truth
...
refactor(dossier): use revision as source of truth to diplay champs
2024-03-04 15:03:02 +00:00
Paul Chavard
7a727e2bd2
Merge pull request #10051 from demarches-simplifiees/fix-france-connect-warning
...
Correction : etq usager je ne vois pas le bandeau indiquant que je suis connecté avec France Connect
2024-03-04 11:44:25 +00:00
Paul Chavard
124466a6a2
Merge pull request #10060 from tchak/fix-improuve-municipalities-handling-by-ban-api
...
fix(adress): show postal code on municipalities
2024-03-04 11:11:38 +00:00
Paul Chavard
c596b6e37d
Merge pull request #10061 from tchak/fix-adresse-champ
...
fix(address): nullify data when empty or invalid address is entered
2024-03-04 10:54:07 +00:00
Eric Leroy-Terquem
125724d416
feat(dossier): display france connect information notice only to instructeur
2024-03-04 11:30:19 +01:00
Paul Chavard
662917799b
refactor(dossier): remove champ ordered scope
2024-03-04 10:59:11 +01:00
Paul Chavard
1193c866bf
refactor(dossier): has_annotations?
2024-03-04 10:59:11 +01:00
Paul Chavard
9b26dedab4
refactor(dossier): make new methods arguments named
2024-03-04 10:59:11 +01:00
Martin
436caa2305
fix(repetition): re-add repetition style and indexing
2024-03-04 10:59:11 +01:00
Paul Chavard
2eb1f54aa1
refactor(dossier_loader): ignore champs from old revisions
2024-03-04 10:59:11 +01:00
Paul Chavard
8687d73a73
refactor(dossier): clone only current revision champs
2024-03-04 10:59:11 +01:00
Paul Chavard
1850d80b82
refactor(dossier): use new champs_for_revision method
2024-03-04 10:59:11 +01:00
Paul Chavard
3e296fc75c
refactor(graphql): use new champs methods on API
2024-03-04 10:59:11 +01:00
Paul Chavard
f7758d0033
refactor(dossier): remove old section code
2024-03-04 10:59:11 +01:00
Paul Chavard
02591da16b
refactor(section): update section components
2024-03-04 10:59:11 +01:00
Paul Chavard
283ee72d51
refactor(dossier): implement champs_for_revision
2024-03-04 10:59:11 +01:00
Martin
eb6b23347b
fix(data): avoid destroying 2M dossiers in one day due to error in Cron::ExpiredDossiersTermineDeletionJob
2024-03-04 10:52:49 +01:00
Paul Chavard
223e6dfb2d
chore(combobox): add timeout on datasources
2024-03-04 10:14:38 +01:00
Paul Chavard
2d76e8386e
fix(commune): fetch more communes by postal code
2024-03-04 09:15:27 +01:00
Paul Chavard
5da1eb3024
fix(adress): show postal code on municipalities
2024-03-04 09:15:27 +01:00
Paul Chavard
6a69b350f7
fix(address): nullify data when empty or invalid address is entered
2024-03-04 09:06:50 +01:00
Paul Chavard
9280ccc23d
Merge pull request #10059 from colinux/improve-flipper
...
Tech: réduit l'impact de Flipper sur la base
2024-03-04 07:18:42 +00:00
Paul Chavard
c52688e1e9
Merge pull request #10056 from tchak/fix-champ-nil
...
fix(dossier): no crash if condition target champ is not found
2024-03-03 09:40:24 +00:00
Colin Darie
dbf04c63a4
fix(flipper): don't clone features globally enabled
2024-03-03 00:13:01 +01:00
Eric Leroy-Terquem
e94ae3498c
Merge pull request #10048 from demarches-simplifiees/etq-admin-je-vois-les-messages-envoyes-aux-brouillons
...
ETQ instructeur je vois les messages envoyés aux usagers avec un dossier en brouillon
2024-03-01 13:27:36 +00:00
Paul Chavard
1e0baca866
fix(dossier): no crach if condition target champ is not found
2024-02-29 22:09:27 +01:00
Paul Chavard
0721c98e65
fix(export): avoid a crash when dossier user is deleted
2024-02-29 17:54:46 +01:00
Eric Leroy-Terquem
6be57d9ea4
fix(bulk messages): display previous bulk messages
2024-02-28 16:07:27 +01:00
Eric Leroy-Terquem
1f0e2030be
db(migration): add procedure_id to bulk_messages
2024-02-28 16:07:27 +01:00
Eric Leroy-Terquem
efa19926e4
Merge pull request #9966 from demarches-simplifiees/etq-admin-je-peux-coller-une-liste-d-emails-d-experts
...
ETQ admin ou instructeur je peux copier une liste d'emails pour inviter des experts
2024-02-28 14:49:04 +00:00
mfo
43a9ee0ca4
Merge pull request #10049 from colinux/fix-params-i18n-sanitization
...
Tech: chiffre le param email réaffiché dans la vue pour éviter de construire des pages de phishing
2024-02-28 14:17:47 +01:00
Paul Chavard
529461f3b6
fix(instructeur): motivations from different states should not conflict
2024-02-28 13:42:44 +01:00
Paul Chavard
eeab49573a
chore: remove empty file
2024-02-28 13:42:15 +01:00
mfo
c0d120545e
Merge pull request #10042 from mfo/US/vers-demarches-gouv-et-lau-dela
...
tech(redirect): ETQ usager non connecté, je suis automatiquement redirigé de demarches-simplifiees vers le nouvel host
2024-02-28 10:30:42 +00:00
mfo
b9f6e3424c
Merge pull request #10047 from mfo/US/api-graphql-email-beneficiaire
...
feat(api.dossier.for_tiers): expose email of tier
2024-02-28 08:46:27 +00:00
mfo
9b328828fd
feat(api.dossier.for_tiers): expose email of tier
...
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-28 06:26:12 +01:00
Martin
a13594792a
feat(cross-domain-redirect): redirect to APP_HOST when user is on APP_HOST_LEGACY
2024-02-28 06:23:55 +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
Martin
b9e2f20cc0
feat(api.dossier.for_tiers): expose email of tier
2024-02-27 17:38:08 +01:00
mfo
01d6ef3f60
Merge pull request #10046 from mfo/US/a11y-attestation-pdf
...
fix(dossiers/papertrail.pdf): more compatible with state design. larger body and darker font
2024-02-27 13:37:38 +00:00
Martin
da0edb683a
fix(dossiers/papertrail.pdf): more compatible with state design. larger body and darker font
2024-02-27 10:20:29 +01:00
Christophe Robillard
26a86d8003
filter all demarches by kind usager
2024-02-23 16:04:27 +01:00
Martin
8ca853c79c
feat(application_controller): add method to check if request is on app_host_legacy?
2024-02-23 10:42:23 +01:00
Colin Darie
3cf2e3ecde
Merge pull request #10031 from colinux/fix-typo-tiers
...
ETQ instructeur: corrige une typo tier => tiers dans les exports
2024-02-23 09:13:19 +00:00
Colin Darie
f04420812b
fix(export): typo tier => tiers
2024-02-22 15:58:29 +01:00
Colin Darie
85eef97392
Merge pull request #10035 from colinux/revert-mailjet
...
Tech: supprime support de mailjet
2024-02-22 14:29:00 +00:00
Colin Darie
a99c20e1b3
Merge pull request #10032 from mfo/US/fix-api-attestations
...
API: fix régression d'accès aux attestations PDF
2024-02-22 14:24:20 +00:00
Colin Darie
f9e7d5536b
chore: remove mailjet support
2024-02-22 15:18:34 +01:00
Martin
c9ea79c7cc
fix(api/attestations#pdf): missing acl
2024-02-22 15:08:40 +01:00
Colin Darie
7143c7e8e2
Merge pull request #9995 from colinux/attestation-v2-improvements
...
ETQ admin, quelques améliorations sur l'éditeur v2
2024-02-22 11:30:41 +00:00
Colin Darie
c70d848788
fix(attestation): preload revisions & types de champs
2024-02-22 12:19:09 +01:00
Colin Darie
4a45fdb3d6
fix(attestation): marianne label until 5 lines because of Economie & Finances long name
2024-02-22 12:19:08 +01:00
Colin Darie
3c22f4ea48
fix(attestation): always return v1 template when exists, otherwise it's a v2
2024-02-22 12:19:07 +01:00
Colin Darie
8ba1c0e481
feat(attestation): can toggle optional champs tags visibility
2024-02-22 12:19:06 +01:00
Colin Darie
c5174f7d43
feat(attestation): dossier for preview priorize termine dossier: all data are available
2024-02-22 12:19:05 +01:00
Colin Darie
accc5af7d2
chore(tags): don't list champs Carte, PJ, Titre identité
...
Note: ils ne sont pas validés par le TagsValidator, donc ça ne cassera
pas les attestations existantes. L'objectif est juste de ne pas les
proposer dans les interfaces.
2024-02-22 12:19:04 +01:00
Colin Darie
2d039cd410
style(attestation): preview on side
2024-02-22 12:18:54 +01:00
Colin Darie
e34eca11e4
style(attestation): tools above editor
2024-02-22 12:18:53 +01:00
Colin Darie
bacfc0c5d1
Merge pull request #10015 from mfo/US/feat-export-include-mandataire
...
ETQ instructeur, ETQ API les exports contiennent plus de donnée (mandataire & info de france connection france connect)
2024-02-22 10:33:15 +00:00
Colin Darie
3492bf398f
Merge pull request #10026 from colinux/usager-form-improvements
...
ETQ Usager : légères améliorations de lisibilité et d'espacement sur le formulaire
2024-02-22 08:51:57 +00:00
mfo
aaf5f08f25
Merge pull request #10020 from mfo/US/a11y-invite-with-nice-feedback
...
ETQ usager utilisant un lecteur d'écran: l'envoie d'une invitation est confusant (le form reste rempli, le message de confirmation n'est pas lu)
2024-02-22 06:02:26 +00:00
Colin Darie
01ab59c2ed
style(form): position correctly the mandatory star on checkbox when text is on multiple lines
2024-02-21 18:04:33 +01:00
Colin Darie
e1eba45739
style: improve readibility of updated-at/rebase notices, closer to dsfr colors
2024-02-21 18:04:32 +01:00
Colin Darie
896f48a7b3
style(form): fix spacing before error in inlined elements
2024-02-21 18:04:31 +01:00
mfo
8579736c03
Merge pull request #10025 from colinux/fix-filter-too-long-error
...
ETQ instructeur, message d'erreur plutôt que crash lorsqu'on ajoute un filtre trop long (plus de 100 caractères)
2024-02-21 14:51:26 +00:00
mfo
b361da97e6
Merge pull request #10024 from colinux/fix-clipboard-blocked
...
Tech: cache le bouton de c/c lorsque le navigateur bloque l'accès au clipboard
2024-02-21 14:51:22 +00:00
Martin
a4a232dda2
a11y(invite): rework invite menu for easier readability by screen reader
2024-02-21 15:49:55 +01:00
Martin
77927e41bc
feat(api.mandataire): add missing mandataire_first_name/last_name
...
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-21 15:15:55 +01:00
Martin
c2675dfb4d
feat(export.user): add when user passthru FranceConnect or not
2024-02-21 14:44:49 +01:00
Martin
c9235c8a3d
feat(export.for_tier): add to export
2024-02-21 14:44:49 +01:00
Colin Darie
5f5756a034
Merge pull request #10017 from mfo/US/a11y-after-signup
...
ETQ usager utilisant un lecteur d'écran: la page de demande de confirmation de compte ne concentre pas le lecteur d'écran sur le champ pour renvoyer un mail de confirmation
2024-02-21 12:25:35 +00:00
Colin Darie
41a27fbad2
Merge pull request #10014 from mfo/US/better-expert-exports
...
ETQ expert: je retrouve mes avis confidentiel dans les exports. ETQ instructeur, je retrouve les fichiers joint a une demande d'avis expert
2024-02-21 11:25:58 +00:00
Colin Darie
76d903b04e
Merge pull request #10011 from adullact/feature-ouidou/admin_creation_delegation_review
...
ETQ gestionnaire d'admins: sépare les commentaires par origine + correctifs
2024-02-21 11:21:45 +00:00
Colin Darie
5ab1d45b8a
fix(instructeur): don't crash when adding a filter too long
2024-02-21 12:13:47 +01:00
Colin Darie
bda8d66047
fix(clipboard): hide clipboard button when clipboard is blocked
2024-02-21 10:55:24 +01:00
seb-by-ouidou
52db6f712f
separate commentaires by origin + few fixes
2024-02-21 09:47:03 +00:00
Paul Chavard
5a8859cd28
Merge pull request #10018 from tchak/fix-address-champ
...
fix(champ): do not reset data on champs without fetch_external_data
2024-02-21 09:06:24 +00:00
Colin Darie
1671a783a2
Merge pull request #10021 from colinux/fix-email-subject-double-encode
...
ETQ usager je dois voir de vraies apostrophes à la place de `'` dans les sujets d'email
2024-02-21 08:33:44 +00:00
Paul Chavard
702b9dd8b3
fix(champ): do not reset data on champs without fetch_external_data
2024-02-21 08:54:08 +01:00
Martin
48336f0ca4
a11y(users/confirmations#new): avoid autofocus on input to resend the mail, otherwise screen reader goes straight to the input
2024-02-21 07:56:00 +01:00
Paul Chavard
12598229a7
chore(browser): mark samsung browser as supported browser
2024-02-20 20:22:05 +01:00
Colin Darie
c05aaa5f35
fix(email): dynamic subject should be escaped, cf RFC 2047 which have its own encoding
2024-02-20 18:29:41 +01:00
Colin Darie
560d50f52d
fix(dropdown-multiple): a valid option starting by [ may not be a JSON value
2024-02-20 17:41:53 +01:00
Martin
6117aa503f
a11y(flash_message): make them assertive, feedback from a request is the priority.
2024-02-20 17:26:13 +01:00
Martin
11eb0a9c56
feat(invite): i18n create/destroy
2024-02-20 17:22:47 +01:00
Martin
497146081d
fix(monavisvalidator): restrict to known domains
2024-02-20 11:51:00 +01:00
mfo
de4369db29
Merge pull request #10010 from mfo/US/fix-expert-signup
...
amelioration(expert.signup): passe la page de creation de compte expert au dsfr
2024-02-19 16:43:31 +00:00
Martin
a151a304e2
feat(pj_service): add expert's avis (even when confidential) to exports asked by same expert
2024-02-19 16:22:08 +01:00
Martin
dd39ac313b
feat(pj_service): add introduction_file to exports
2024-02-19 16:21:26 +01:00
Martin
8dc3103ac1
fix(champs.email): allow nil
2024-02-19 15:13:20 +01:00
Martin
e788846894
feat(expert.signup): dsfrize
2024-02-19 11:28:38 +01:00
Paul Chavard
46b12c0c3d
Merge pull request #9990 from tchak/refactor-adresse-champ
...
refactor(address): use directly BAN data
2024-02-16 16:42:17 +00:00
Martin
1a424beb6f
fix(tags): libelle with double dash, becomes double underscore. no worries it was already broken
2024-02-16 14:00:18 +01:00
Paul Chavard
20307f1d21
refactor(address): use directly BAN data
2024-02-16 12:15:14 +01:00
Martin
2200310877
fixup! tech(refactor): extract clone logic inside its own class
2024-02-16 11:23:39 +01:00
Martin
32e8f34511
refactor(PiecesJustificativesService): stop passing flags, pass user_profile and manage ACL from the service itself
2024-02-16 11:23:39 +01:00
Martin
83690529ca
tech(refactor): inline PiecesJustificativesService.serialize_champs_as_pjs(object) within DossierSerializer
2024-02-16 11:23:39 +01:00
Martin
56ed901703
tech(clean): remove dead code
2024-02-16 11:23:39 +01:00
Martin
3e64a3bbbc
tech(refactor): extract clone logic inside its own class
2024-02-16 11:23:39 +01:00
Martin
72a3f6e89c
refactor(export/archives): holds user profile asking for the archive or export
2024-02-16 11:23:38 +01:00
mfo
4dfb3b86ef
Merge pull request #10000 from mfo/US/groupe-instructeur-manageable-for-routee-procedure
...
ETQ administrateur, je peux gerer la liste des instructeurs même si le routage est activé sur ma démarche
2024-02-16 09:26:06 +00:00
mfo
cc53946d22
Merge pull request #9978 from mfo/US/enforce-real-email-validation
...
feat(email): stricter validation
2024-02-16 09:25:58 +00:00
Martin
c719a42f8a
feat(procedure.instructeurs_self_management_enabled): backfill instructeurs_self_management_enabled since routing_enabled is not one of the option conditionning it
2024-02-16 10:08:36 +01:00
Colin Darie
fc482c1607
Merge pull request #10008 from colinux/fix-draft-procedure-description-cache
...
ETQ admin: correction du cache de la liste des PJ d'une démarche en brouillon
2024-02-16 07:22:22 +00:00
mfo
4f58795eaa
Merge pull request #10002 from mfo/US/dsfrize-instructeur-invitation-page
...
ETQ instructeur, la page de gestion des groupes d'instructeur est au format du DSFR
2024-02-16 06:37:49 +00:00
mfo
3e9abd73e4
Merge pull request #10004 from mfo/add_missing_acl_on_instructeurs_self_management_enabled
...
secu(instructeurs/groupes_instructeurs): s'assure que seul les instructeurs d'une demarche ayant la gestion activé puisse acceder aux ecrans
2024-02-16 06:37:45 +00:00
Colin Darie
a783c50026
fix(commencer): cache on description of draft procedure
...
Des changements dans le formulaire d'une démarche en brouillon
ne mettent pas à jour la cache_key de la procedure, donc au fait au plus
simple pour éviter un cache stale dans ces cas là.
2024-02-15 18:45:13 +01:00
Martin
a274629719
fix(instructeurs/groupes_instructeurs#*): add some ACL here
2024-02-15 17:11:25 +01:00
Martin
b6c2742cda
bug(instructeurs/groupes_instructeurs#*): any ACL here ?
2024-02-15 17:11:25 +01:00
Martin
8488e74bbb
review(suggestion): better code with reviews, normalize Champs::EmailChamp.value, simplier default strict validation activation
...
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-15 16:41:00 +01:00
Martin
5f77c0cd06
feat(email.validation): expand email validation to Avis, ContactInformation, Invite, DossierTransfert
2024-02-15 16:41:00 +01:00
Martin
05193e1d1e
feat(User.validation): validates email when env var is present
2024-02-15 16:41:00 +01:00
Martin
25f92a7760
feat(email.validator): define a strict email validator, validates Champs::EmailChamp.value only on validation context
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-02-15 16:41:00 +01:00
mfo
51c5244545
review(dsfr): enforce fr-container, fr-table, fr-spacers
...
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-15 16:11:16 +01:00
Martin
2f32468d36
feat(instructeurs/groupes_instructeur): dsfrize
2024-02-15 15:34:22 +01:00
Martin
5407011668
feat(procedure.routing): allow admin to manage instructeur even when procedure has some routing
2024-02-15 13:40:48 +01:00
seb-by-ouidou
9ddd55d5cd
feat: remove commentaire_component and replace it by message_component + replace commentaires/_form by messages/_form + few fixes
2024-02-15 07:50:20 +00:00
Paul Chavard
f5f94d9e52
Merge pull request #9989 from tchak/fix-allow-to-edit-more-geo-areas
...
ETQ usager je peux éditer jusqu'à 50 points ou éléments sélectionnés dans le champ carte
2024-02-14 21:13:09 +00:00
Colin Darie
bd3c2c070a
Merge pull request #9957 from demarches-simplifiees/finalize-rna-rnf-ldu
...
ETQ instructeur et consommateur API, la vue du champ RNA est harmonisée avec le champ RNF
2024-02-14 15:30:54 +00:00
Colin Darie
a9b24b897e
Merge pull request #9971 from demarches-simplifiees/harmonize-merci-message-from-admin-apercu-to-user-ldu
...
ETQ admin, je veux que le message de fin de dépot d'une démarche déclarative soit correct
2024-02-14 15:14:20 +00:00
mfo
3237ea8e9f
Merge pull request #9991 from mfo/US/fix-attestation-template-revision-preloader
...
perf(mail_template/attestation): preload procedure revisions
2024-02-14 08:58:16 +00:00
Martin
85fa75e8f0
perf(mail_template/attestation): preload procedure revisions
2024-02-13 17:11:21 +01:00
Colin Darie
48644ae407
Merge pull request #9846 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_contact_parent_gestionnaires
...
Délégation de compte: ETQ gestionnaire je peux contacter les gestionnaires des groupes parents
2024-02-13 14:42:03 +00:00
Paul Chavard
7d9cb4d497
Merge pull request #9988 from tchak/refactor-logic-compute-sub-values
...
refactor(logic): compute sub champ values
2024-02-13 14:22:09 +00:00
Paul Chavard
ff95a812e2
fix(combobox): always sort on the client
2024-02-13 12:26:43 +01:00
Paul Chavard
cf10b68d0d
fix(geo_area): allow up to 50 geo_area to be edited
2024-02-13 12:09:03 +01:00
Paul Chavard
93635b3516
refactor(logic): compute sub champ values
2024-02-13 11:57:31 +01:00
seb-by-ouidou
08cffda440
fix: few fixes after review
2024-02-13 11:19:52 +01:00
seb-by-ouidou
fba3cbe331
feat: as gestionnaire, contact gestionnaire of parent groupe
2024-02-13 11:19:52 +01:00
Paul Chavard
641a33e1e0
Merge pull request #9985 from tchak/fix-update-dossier-en-construction
...
ETQ Usager, je ne veux pas voir un message d'alerte indiquant que la démarche est close lorsque je modifie un dossier en construction
2024-02-13 09:38:08 +00:00
Lisa Durand
f57be9e455
fix(dossier): harmonize merci message from admin apercu to user
2024-02-13 09:28:47 +01:00
Eric Leroy-Terquem
7b539c72b1
Merge pull request #9955 from demarches-simplifiees/fix-simple-routing
...
ETQ admin je peux faire un routage simple à partir d'un type de champ communes ou epci
2024-02-13 07:56:42 +00:00
Paul Chavard
034015384b
fix(dossier): do not warn about closed demarche when updating a fork
2024-02-13 08:19:19 +01:00
Lisa Durand
f09ab62620
add rna type de champ to harmonize api with rnf
2024-02-12 17:20:07 +01:00
Lisa Durand
a756ab0a63
add address infos for rna in show
2024-02-12 17:20:06 +01:00
Lisa Durand
9e3f28e87b
add rnf and rna address in form view
2024-02-12 17:20:05 +01:00
Colin Darie
7251a5ca01
Merge pull request #9983 from colinux/fix-address-champ
...
ETQ instructeur: fix génération d'attestation avec une balise "nom de la commune" depuis un champ adresse
2024-02-12 15:48:11 +00:00
Colin Darie
bfb98554ff
fix(active-storage): don't fail on analyzing a blob derivated by watermark
...
Quand l'analyse du job se produit après le watermark, elle doit comparer
le checksum avec celui du fichier filigrané.
2024-02-12 16:30:58 +01:00
Colin Darie
ea89c2e8dd
fix(attestation): tag commune_name from address
2024-02-12 15:08:05 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine
2024-02-12 09:33:23 +01:00
Colin Darie
e3f233cd51
fix(rubocop): Layout/ExtraSpacing et Layout/SpaceAroundOperators
2024-02-12 09:33:22 +01:00
Colin Darie
eeef6176b7
fix(rubocop): Rails/PluckInWhere
2024-02-12 09:33:19 +01:00
Colin Darie
6ab3fa1cf4
fix(rubocop): Rails/RedundantActiveRecordAllMethod
2024-02-12 09:33:18 +01:00
Colin Darie
0da2843f26
fix(rubocop): Rails/FindEach
2024-02-12 09:33:17 +01:00
Colin Darie
9639d68ebf
fix(checkbox): show mandatory icon on mandatory champ
...
Closes #9891
2024-02-09 12:52:21 +01:00
Colin Darie
c4bdef3a1c
Merge pull request #9979 from mfo/US/fix-point-input
...
ETQ usager: fix comportement des marqueurs de la carte dans les blocs répétables
2024-02-09 10:03:50 +00:00
Martin
4209eec021
fix(cartes): PointInput should not add point to all map on page
2024-02-09 10:41:35 +01:00
Colin Darie
162d8ca752
Merge pull request #9974 from colinux/fix-delai-declarative-instruction
...
ETQ usager je vois de nouveau le délai d'instruction pour les démarches déclaratives en instruction
2024-02-09 09:16:18 +00:00
Paul Chavard
d9f195a74b
fix map zoom hook
2024-02-09 09:24:58 +01:00
Martin
53ae5eeb5b
feat(map): stop flyTo/panTo on champ carte by default
2024-02-09 09:23:17 +01:00
Martin
32dcb411ca
feat(repetition.carte): add carte to repetition, just to test it
2024-02-09 09:23:17 +01:00
Paul Chavard
23592087ae
refactor(instructeur): use precomputed timestamps
2024-02-08 18:36:04 +01:00
Colin Darie
2e68fddd68
Merge pull request #9976 from colinux/carte-design
...
ETQ usager: le champ carte est un peu plus design (passage au DSFR)
2024-02-08 16:47:12 +00:00
Colin Darie
0bb25765d9
style(carte): passe l'UI au DSFR
2024-02-08 17:25:22 +01:00
Colin Darie
1f731ad14a
chore(ign): match proper style to layers
2024-02-08 16:23:15 +01:00
Paul Chavard
163e6f807e
chore(ign): update to geoplateforme
2024-02-08 16:23:08 +01:00
Colin Darie
8f1818511a
fix(demarche): estimated delay display for declarative en instruction
2024-02-08 12:47:58 +01:00
Colin Darie
b1203faa69
Merge pull request #9973 from demarches-simplifiees/add-padding-in-email-footer-ldu
...
ETQ usager, améliore le footer dans les emails de démarche avec un petit espace supplémentaire
2024-02-08 11:10:25 +00:00
Eric Leroy-Terquem
79ff2ba779
feat(combobox): can paste many terms separated by semicolons
2024-02-08 11:53:47 +01:00
Colin Darie
0111329b56
Merge pull request #9963 from colinux/fix-datafixer
...
Tech: fix maintenance task invokation `AddDossiersMissingChampsTask`
2024-02-08 10:29:27 +00:00
Colin Darie
8361938511
Merge pull request #9972 from colinux/upgrade-administrate
...
Tech: update administrate from 0.18.0 to 0.20.1 (manager)
2024-02-08 10:26:52 +00:00
Lisa Durand
048dd7dd74
add padding in email footer
2024-02-07 17:06:31 +01:00
Colin Darie
88a24e6c0f
Merge pull request #9970 from demarches-simplifiees/remove-estimated-delay-for-procedure-declarative-ldu
...
ETQ usager, je n'ai pas besoin du détail des délais d'instruction pour les démarches déclaratives
2024-02-07 16:00:31 +00:00
Colin Darie
1e2a6d0461
fix(manager): update templates and make everything works
2024-02-07 16:54:23 +01:00
Lisa Durand
52b334e48b
dont display estimated delay for declarative procedure
2024-02-07 16:21:24 +01:00
Lisa Durand
a14d587722
fix missing local when calling partial user_infos
2024-02-07 15:11:29 +01:00
mfo
8d658c60d8
Merge pull request #9953 from mfo/US/fix-archive-without-annotations
...
correctif: ETQ admin, je souhaite retrouver les annotations privées dans les archives
2024-02-07 10:05:42 +00:00
Colin Darie
fb14afc530
fix(rna): real RNA identifier could contain at least 1 letter, despite of specs
2024-02-06 15:02:57 +01:00
Colin Darie
70e92f7c6b
Merge pull request #9903 from colinux/attestation-ux
...
ETQ admin, je peux tester l'attestation v2
2024-02-06 08:09:53 +00:00
Colin Darie
c9b9338f6e
fix(maintenance): dossiers missing champs fixer invokation
2024-02-05 17:01:35 +01:00
seb-by-ouidou
c2c54083e8
feat: display tree structure of a group
2024-02-05 09:30:24 +01:00
Colin Darie
460240713f
Merge pull request #9668 from adullact/feature-ouidou/admin_creation_delegation_commentaire_email_notification
...
Délégation de compte admin: notification par email à l'ajout d'un commentaire
2024-02-02 14:09:22 +00:00
Colin Darie
eb55abebfc
style(attestation): fix for headings style and spacing following charte
2024-02-02 13:49:22 +01:00
Colin Darie
72e59b6473
fix(attestation): can remove headings
2024-02-02 13:18:42 +01:00
Colin Darie
a1359c243e
style(attestation): fix h3 font-size
2024-02-02 13:08:55 +01:00
Colin Darie
f7484eb0e5
feat(attestation): list tags errors and substitute missing tag by libelle
2024-02-02 13:05:09 +01:00
seb-by-ouidou
46c19014f9
feat: notify administrateur and gestionnaire by email when new commentaire + for administrateur highlight card and commentaires if any unread
2024-02-02 12:52:36 +01:00
Eric Leroy-Terquem
4ccb61981d
feat(manager): add dossiers invites in user dashboard
2024-02-02 10:27:20 +01:00
Colin Darie
6f49dd892d
fix(attestation): multiple tags improvements
...
- no menu when no matching tags
- insert a space after clicking a button
- allow no space before mention
2024-02-02 09:47:20 +01:00
Colin Darie
58064dc6cd
fix(attestation): improve autosubmit debounce due to tags interactions
2024-02-01 18:56:02 +01:00
Colin Darie
7e02342518
feat(attestation): tiptap default attestation
2024-02-01 18:55:58 +01:00
Colin Darie
ce2ae53def
style(attestation): revamp bottom bar
2024-02-01 18:55:56 +01:00
Colin Darie
475406f3f2
style(attestation): improve editor UI & style
2024-02-01 18:55:55 +01:00
Colin Darie
16478651a9
test(attestation): more tests for v2
2024-02-01 18:55:53 +01:00
Colin Darie
443e41a6ed
style(attestation): group tags by section
2024-02-01 18:55:52 +01:00
Colin Darie
a842fefa7a
feat(attestation): inform that conditional champs are not tags-available
2024-02-01 18:55:51 +01:00
Colin Darie
40353fee04
feat(attestation): replace tags in preview for v2
2024-02-01 18:55:50 +01:00
mfo
86fb28bda0
Merge pull request #9956 from mfo/US/amelioration-rebase
...
tech(perf.rebase): améliore la performance pour réconcilier les dossiers d'une procédure lorsqu'un administrateur change le formulaire (donc nouveau milésime 🍷 )
2024-01-31 17:26:25 +00:00
Martin
437b3d2a61
fix(perf): last n+1
2024-01-31 17:06:16 +01:00
Martin
47ff3086af
fix(rebase): preload revision too
2024-01-31 17:06:16 +01:00
Colin Darie
d4c4b3a212
chore(attestation): preview link to PDF
2024-01-31 17:04:06 +01:00
Colin Darie
fe2661d37c
feat(attestation): can create an attestation v2
2024-01-31 17:04:05 +01:00
Colin Darie
fd829351e8
chore(attestation): browse between 2 versions
2024-01-31 17:04:03 +01:00
Colin Darie
d92200f80b
fix(attestation): various tiptap & axe fixes
2024-01-31 17:04:02 +01:00
Colin Darie
39d00c81de
feat(attestation): show template schema
2024-01-31 17:04:01 +01:00
Colin Darie
89a62bacbb
feat(attestation): intitules & footer limit of rows
2024-01-31 17:04:00 +01:00
Colin Darie
1123222b36
chore(schema): add version to attestation_templates
2024-01-31 17:03:59 +01:00
Colin Darie
dfa07c1c5d
style(attestation): editor sections border instead of background
2024-01-31 17:03:58 +01:00
Colin Darie
3391d75633
style(attestation): cap logo size in free layout
2024-01-31 17:03:56 +01:00
Colin Darie
1c3254755d
chore(schema): add official layout to attestation templates
2024-01-31 17:03:55 +01:00
Colin Darie
8ba78d1cfe
feat(attestation): conditional official layout & logo (start)
2024-01-31 17:03:54 +01:00
Colin Darie
9c9daf162d
feat(attestation): render signature
2024-01-31 17:03:53 +01:00
Colin Darie
3b70b36d2d
feat(attestation): footer save, preview
2024-01-31 17:03:52 +01:00
Colin Darie
e19780445b
feat(attestation): upload de logo and signature
2024-01-31 17:03:51 +01:00
Colin Darie
bb19674339
feat(attestation): improve tags suggestion UX, can validate on click
2024-01-31 17:03:50 +01:00
Colin Darie
277b4f4ec8
style(attestation): improve rendering with almost all nodes
2024-01-31 17:03:48 +01:00
Colin Darie
16cdff8425
feat(tiptap): detect first body paragraph for spacing, handle empty nodes
2024-01-31 17:03:47 +01:00
Colin Darie
eaf4e24a55
feat(attestation): v2 edit form and tags style
2024-01-31 17:03:46 +01:00
Colin Darie
84b8fe4b64
style(attestation): add missing remix icons
2024-01-31 17:03:44 +01:00
Colin Darie
3aae580e26
fix(editor): don't labellize tags with double dash
2024-01-31 17:03:43 +01:00
Colin Darie
d01dc82e8c
refactor(attestation): remove footer from doc structure
2024-01-31 17:03:41 +01:00
Colin Darie
45071b7bb6
fix(tiptap): don't fail on node without content
2024-01-31 17:03:40 +01:00
mfo
fcb2d93056
Merge pull request #9954 from mfo/US/procedure-logo-size
...
ETQ admin les logos de démarches gardent une résolution convenable
2024-01-31 16:01:07 +00:00
Martin
b964ac6a7a
perf(rebase): includes champs.types de champs instead of n+1 on this one
2024-01-31 16:20:50 +01:00
Eric Leroy-Terquem
b04f152733
fix(routing): can create simple routing with communes and epci tdc
2024-01-31 15:27:45 +01:00