Paul Chavard
c94d1b7eea
cleanup: more concistent methods usage
2024-09-17 10:29:34 +02:00
Paul Chavard
a474cf4590
refactor(attestation): unspecified_champs_for_dossier based on types_de_champ
2024-09-17 10:29:34 +02:00
Paul Chavard
54926db89b
refactor(champ): more concistent champ_for_update usage
2024-09-17 10:29:34 +02:00
Paul Chavard
988025ba69
refactor(champs): validate only champs in current revision
2024-09-17 10:29:34 +02:00
Paul Chavard
df83322f0c
refactor(apiv1): use dossier preloader on api v1
2024-09-17 10:29:34 +02:00
Paul Chavard
ed4fbc887a
refactor(dossier): remove unused scopes
2024-09-17 10:29:34 +02:00
Paul Chavard
3817f334c9
refactor(repetition): use less champs and public_id methods
2024-09-17 10:29:34 +02:00
Mathieu Magnin
b4ed11c788
Merge pull request #10800 from demarches-simplifiees/fix-10798
...
[#10798 ] ETQ Superadmin, je veux savoir sur le Manager si une démarche a un jeton d'api entreprise configuré
2024-09-17 07:59:59 +00:00
Mathieu Magnin
7ace670010
[ #10798 ] fix tests
2024-09-17 09:47:46 +02:00
mfo
36247a4b6d
Merge pull request #10770 from demarches-simplifiees/US/fix-timeouting-task-fixing-champs-commune
...
ETQ operateur DS, je souhaite pouvoir corriger les champs de type commune ayant de la bad data
2024-09-17 07:17:47 +00:00
Paul Chavard
9924b2d640
Merge pull request #10804 from tchak/better_drop_down_other_option
...
Drop down other label set to 'Enter another option' instead of 'Other'
2024-09-16 15:12:14 +00:00
Paul Chavard
34a05d0bf0
Merge pull request #10462 from demarches-simplifiees/can-filter-from-repetition-content
...
ETQ instructeur je peux filtrer à partir du contenu d'un bloc répétable
2024-09-16 14:59:05 +00:00
Paul Chavard
e7bc7c4783
feat(procedure): can filter from repetion content
2024-09-16 16:46:49 +02:00
mfo
7bbf04b9b5
Merge pull request #10774 from mfo/US/fix-PG-NumericValueOutOfRange
...
correctif: ETQ instructeur, si j'ai essayé de filtrer mes dossiers par numéro et que j'ai saisi un numero superieur à 2147483647, ma page ne doit pas planter
2024-09-16 14:43:59 +00:00
Christian Lautier
17bbc474ff
Drop down other label set to 'Enter another option' instead of 'Other'
2024-09-16 16:41:46 +02:00
mfo
18137b176c
fix(fix_champs_commune_having_value_but_not_external_id_task): timeouting despite classic pattern to find all champs for a specific type. lighten request by selecting only :id and processing batches
2024-09-16 16:38:46 +02:00
mfo
6af07dd721
data(fix): backfill invalid procedure presentation filters having a value greater than pg max integer
2024-09-16 16:36:02 +02:00
mfo
4bd518f85e
Merge pull request #10802 from mfo/US/fix-rnf-with-removed-fondation
...
Correctif: ETQ usager/instructeur, je souhaite pouvoir visualiser les dossiers ayant un champ fondation dont celle ci a ete supprimé du registre
2024-09-16 13:48:05 +00:00
Paul Chavard
e9009025f6
Merge pull request #10736 from demarches-simplifiees/fix-notif-to-instructeurs-when-import
...
Correctif: lors de l‘import en masse d'instructeurs, les nouveaux instructeurs reçoivent un lien pour vérifier leur email
2024-09-16 13:31:33 +00:00
Lisa Durand
030bfa6651
disable submit button on page loading
2024-09-16 15:28:15 +02:00
Lisa Durand
22e06bc5eb
change password complexity library and setup
2024-09-16 15:28:14 +02:00
Lisa Durand
71e03203aa
add password complexity for expert
2024-09-16 15:23:43 +02:00
Lisa Durand
766a5608bb
remove unused views
2024-09-16 15:23:43 +02:00
Lisa Durand
00a155b896
add password complexity for instructeur, user and password change
2024-09-16 15:23:43 +02:00
mfo
e2ec5118f4
fix(champs.rnf): some foundations was removed from the registry. lucky us [or good archi ? :D], we kept api data
2024-09-16 14:24:40 +02:00
Paul Chavard
f5fdef0600
fix(api-entreprise): save libelle_commune_etranger and libelle_pays_etranger in db
2024-09-16 12:55:59 +02:00
Colin Darie
58037f21cd
Merge pull request #10778 from colinux/sharerd-controller-nav-bar-profile
...
UX: améliore la détection du type de profile utilisé pour la nav bar
2024-09-16 08:01:03 +00:00
Mathieu Magnin
539853255d
Missing frozen_string_literal
2024-09-13 16:52:42 +02:00
Mathieu Magnin
ce22adf811
[ #10798 ] Indicate in manager if api_entreprise_token is present / valid / expired
2024-09-13 16:47:31 +02:00
Paul Chavard
f00ba04fb9
graphql(playground): fix acl
2024-09-13 14:28:13 +02:00
mfo
7a78fdc913
fix(normalized_address): should not raise an error for addresses without code postal
2024-09-13 11:19:05 +02:00
simon lehericey
bc7d91751d
Revert "fix: ignore virtual data in column initialization"
...
This reverts commit 4289aa2cf5
.
2024-09-13 11:00:08 +02:00
Mathieu Magnin
d8a0adc6ed
Merge pull request #10772 from demarches-simplifiees/fix-10751
...
ETQ Instructeur, jamais connecté, je ne veux pas recevoir 10 mails si j'ai été ajouté à 10 groupes
2024-09-13 08:08:16 +00:00
Colin Darie
8dfddba433
Merge pull request #10584 from colinux/attestation-render-list
...
ETQ admin, améliore l'affichage de champ choix multiple et répétitions dans les attestations v2
2024-09-12 14:40:32 +00:00
Lisa Durand
697e2328e3
Merge pull request #10777 from demarches-simplifiees/improve-wording-reset-link-pwd-ldu
...
ETQ usager, améliore la page après envoi du mot de passe oublié
2024-09-12 14:37:48 +00:00
Colin Darie
f6744adbde
fix: never show 'guest' profile name
...
it's just a hack to tell we don't known the actual profile
2024-09-12 10:00:19 +02:00
Colin Darie
d566186954
fix: coherent nav bar profile for super admins
2024-09-12 10:00:19 +02:00
Colin Darie
16e1daac9b
fix(recherche): respects nav bar profile context
2024-09-12 10:00:18 +02:00
Colin Darie
0309e0f6b2
refactor(profile): generalize profile from referrer or for user
2024-09-12 10:00:18 +02:00
Mathieu Magnin
a99fae168c
[ #10751 ] Allow sending a new invitation if the user's previous one has expired
2024-09-11 18:45:15 +02:00
Mathieu Magnin
790177c758
[ #10751 ] Only send the first invitation mail to the instructeur if email is not verified (from admin controller)
2024-09-11 18:45:15 +02:00
Mathieu Magnin
d7811fca40
[ #10751 ] Only send the first invitation mail to the instructeur if email is not verified
2024-09-11 18:45:15 +02:00
Colin Darie
b5c024cca5
Merge pull request #10768 from colinux/disable-admin-hide-instructeur-toggle
...
ETQ tech c'est finalement par le manager qui définit si le flag pour masquer l'email des instructeurs
2024-09-11 15:29:06 +00:00
Colin Darie
0201feec65
feat(manager): can hide instructeurs email from procedure
2024-09-11 17:20:58 +02:00
Colin Darie
b987688d19
refactor: disable auto hide instructeurs toggle by admin
2024-09-11 17:20:57 +02:00
Colin Darie
09cafdb15f
Merge pull request #10745 from colinux/helpscout-delete-old-customers
...
ETQ opérateur, je supprime les contacts HS > 2 ans
2024-09-11 15:19:33 +00:00
Lisa Durand
966c110df8
add strong tags to highlight email and application name
2024-09-11 15:26:58 +02:00
Lisa Durand
abbbb09180
make reset link page clearer
2024-09-11 11:41:11 +02:00
mfo
02bbf26d3f
feat(ProcedurePresentation): validates that ProcedurePresentation.filters using a value casted as an integer [search by id] is not out of pg integer range
2024-09-10 17:47:50 +02:00
Colin Darie
6240d54fd4
fix: unbreakable space for better look in filters
2024-09-10 12:36:13 +02:00
Colin Darie
40b5eb5ea7
fix: typo region => région
2024-09-10 12:29:53 +02:00
simon lehericey
4289aa2cf5
fix: ignore virtual data in column initialization
2024-09-09 16:37:22 +02:00
Colin Darie
ab3139c2ed
Merge pull request #10680 from demarches-simplifiees/a11y-fix-demarche-header
...
Refonte du menu d'aide
2024-09-09 14:17:50 +00:00
mfo
5ab57a32ce
Merge pull request #10762 from mfo/US/export-when-tdc-change
...
Correctif, ETQ instructeur exportant mes dossiers, je souhaite retrouver la valeur saisie par les usagers quand les types de champ ont changés de type mais que les données restent compatible
2024-09-09 09:26:42 +00:00
mfo
7ec17ff7f5
fix(dossier.export): should not use default value when types_de_champ changed to a similar one
2024-09-09 11:00:01 +02:00
Colin Darie
7c30ab87bc
Merge pull request #10712 from colinux/rails-7-finalize-defaults
...
Rails 7.0 : finalise la migration des defaults
2024-09-09 08:08:27 +00:00
Colin Darie
977e47fa74
Merge pull request #10757 from mfo/US/fix-required-dossier-link-with-missing-dossier
...
correct: ETQ administrateur, je souhaite que les types de champ liens vers un dossier pointent vers un dossier valide si ils sont obligatoire
2024-09-09 07:28:48 +00:00
Colin Darie
6e9fb7f247
Merge pull request #10740 from colinux/debug-email-verified
...
ETQ tech et super-admin, je veux voir rapidement si un user a son email verifié
2024-09-09 07:23:32 +00:00
Colin Darie
5d4cafc18f
Merge pull request #10722 from colinux/migrates-otp-secrets
...
Tech: task pour copier les secrets OTP vers les encrypted attributes
2024-09-09 07:08:30 +00:00
Colin Darie
1515e67651
Merge pull request #10760 from demarches-simplifiees/fix_unverified_admin_email
...
ETQ Administrateur, je peux recevoir des mails lorsque je valide mon compte depuis le mail d'invitation
2024-09-09 07:07:26 +00:00
Mathieu Magnin
71d43078ee
Merge pull request #10743 from demarches-simplifiees/fix-10742
...
ETQ instructeur mon adresse email est automatiquement vérifiée quand je me connecte par AgentConnect
2024-09-06 14:26:54 +00:00
Mathieu Magnin
628be7c703
update => update!
2024-09-06 16:18:25 +02:00
Mathieu Magnin
22473adec7
[ #10742 ] Set email as verified when instructeur signs in with Agent Connect
2024-09-06 16:18:11 +02:00
Mathieu Magnin
8d68bebaed
Merge pull request #10761 from demarches-simplifiees/fix-10754
...
ETQ Instructeur, si je n'ai pas vérifié mon email je dois quand même recevoir un email avec login token
2024-09-06 14:14:54 +00:00
LeSim
723ea310ba
Merge pull request #10758 from demarches-simplifiees/fix-10752
...
ETQ Instructeur je veux avoir mon email vérifié si je reset mon mdp
2024-09-06 13:36:29 +00:00
Eric Leroy-Terquem
41ee00ebc3
Merge pull request #10755 from demarches-simplifiees/remove_gallery_demande_feature_flag
...
Technique : retire le feature flag gallery_demande
2024-09-06 13:00:54 +00:00
Mathieu Magnin
d1749c2baf
[ #10754 ] verify email when using login token
2024-09-06 14:56:44 +02:00
simon lehericey
277c1a17c6
set verified_email when admin set its password from email link
2024-09-06 14:51:48 +02:00
Mathieu Magnin
95eb9ef9d4
[ #10754 ] bypass unverified mail protection for login token emails
2024-09-06 14:15:06 +02:00
mfo
915779c9b0
Merge pull request #10749 from mfo/US/commune-without-insee
...
correctif: ETQ administrateur/instructeur, je souhaite que les champs de type commune aient tjr un code insee afin de router de maniere fiable
2024-09-06 11:44:00 +00:00
Mathieu Magnin
9e843a3df4
[ #10752 ] set email verified after password reset
2024-09-06 12:06:05 +02:00
mfo
eb8b9a13ca
fix(Champs::DossierLinkChamp): when required, should point to existing dossier
2024-09-06 11:23:12 +02:00
Eric Leroy-Terquem
765281e1c3
chore(flipper): remove gallery_demande feature flag
2024-09-06 10:46:28 +02:00
Eric Leroy-Terquem
7dc853ad1c
refactor(instructeurs import): extract notify_instructeurs method
2024-09-06 10:00:17 +02:00
Eric Leroy-Terquem
d361ce2e38
fix(instructeurs import): send confirmation link if new instructeurs
2024-09-06 10:00:17 +02:00
mfo
657fb0ebf4
feat(Maintenance.communes): backfill missing external_id for communes champs in error
2024-09-06 09:29:28 +02:00
mfo
ace2f4382f
tech(refactor): DataSources::CommuneController, move request methods to fetch and format commune searched by postal_code or name
2024-09-06 08:37:08 +02:00
mfo
5abba5a166
feat(Champs::CommuneChamp): ensure presence of external_id since some of Champs::CommuneChamp.external_id are missing while .value is present 🔥
2024-09-06 08:37:08 +02:00
Colin Darie
328844dabf
feat(task): delete contacts without activity since 2 years
2024-09-05 10:50:42 +02:00
LeSim
9fd53b182a
Merge pull request #10570 from demarches-simplifiees/feat/10425
...
ETQ Usager se connectant par FC, je dois confirmer mon mail
2024-09-05 08:07:23 +00:00
Colin Darie
247bb6f8c6
refactor(attestation): hide libelle of empty repetitions
2024-09-04 17:42:04 +02:00
Kara Diaby
9cebac1d99
Supprime la vérification par feature flag et utilise la vérif par booléen au booléen
2024-09-04 15:00:03 +00:00
Kara Diaby
c86ad15b8c
Ajoute hide_instructeurs_identity sur Procedures et dans l'interface admin
2024-09-04 15:00:03 +00:00
Colin Darie
9f9720d65b
fix(attestation): delete empty paragraphs
2024-09-04 15:04:07 +02:00
Kara Diaby
07ea31fc4c
Add aria accessibility regarding the hidden class on partial choose email
2024-09-04 08:08:02 +00:00
Kara Diaby
ff88a0a2a6
Fix add requested_email column to france_connect_information table Lint error
2024-09-04 08:08:01 +00:00
Kara Diaby
08fb6c856e
Fix choose email screen
2024-09-04 08:08:01 +00:00
simon lehericey
ce095479b7
fix password reset with bad password scenario
2024-09-04 08:08:01 +00:00
simon lehericey
eaef5c7e39
readapt name and logic
2024-09-04 08:08:01 +00:00
mfo
c0970693f3
fix(associate_user.with_existing_one): does not leak existing email when trying to choose an alternative email with france connect
2024-09-04 08:05:54 +00:00
Kara Diaby
b6d0502f39
modifications après dernière review
2024-09-04 08:05:54 +00:00
mfo
3cd5d778ca
a11y(particulier/merge): no empty legend, ensure to link fieldset with legend
2024-09-04 08:05:54 +00:00
mfo
03d425859d
feat(particulier#confirm_email): nicer
2024-09-04 08:05:54 +00:00
mfo
88a4619dcb
feat(particulier#associate_user): catch email already taken and redirect to reset password
2024-09-04 08:05:53 +00:00
mfo
828f491c14
feat(france_connect#choose_email): prevent bad email
2024-09-04 08:05:53 +00:00
mfo
fe69ada7d9
a11y(particulier/choose_email): no empty legend, ensure to link fieldset with legend
2024-09-04 08:05:53 +00:00
Kara Diaby
337f88575d
Modifications sur la méthode after_confirmation dans le modèle user
2024-09-04 08:05:53 +00:00
Kara Diaby
d6defce137
Ajoute un mailer pour l'envoi du lien de confirmation de mail customisé
2024-09-04 08:05:52 +00:00
Kara Diaby
9c41c9a08f
Model FC : au lieu de valider le mail on envoie une demande de confirmation par mail
2024-09-04 08:05:52 +00:00
Kara Diaby
c51cf7e048
Layout : ajoute les vues pour confirmer le mail fc ou en choisir un autre
2024-09-04 08:05:52 +00:00
Kara Diaby
fb5968bf25
France connect particulier controller : permet de gérer le cas ou le mail n'est pas connu de DS
...
Signed-off-by: Kara Diaby <kdiaby.pro@gmail.com>
2024-09-04 08:05:51 +00:00
Colin Darie
1524f5ba16
feat(maintenance): add task to copy super admin OTP secrets to Rails 7 encrypted attributes
2024-09-03 19:25:32 +02:00
mfo
0b8212f151
Merge pull request #10738 from mfo/US/fix-not-expanded-type-de-champ-textarea
...
ETQ usager, j'aimerais avoir les champs de type texte long d'une hauteur differente des champs de type texte court
2024-09-03 15:24:25 +00:00
Lisa Durand
27c8abfb4b
Merge pull request #10734 from demarches-simplifiees/cannot-publish-with-test-service-ldu
...
ETQ Admin, je ne dois pas pouvoir publier une démarche avec les informations du service de test
2024-09-03 15:00:30 +00:00
Colin Darie
bd1a888c5b
feat(manager): list email verified at
2024-09-03 16:51:17 +02:00
Colin Darie
d29cf3d222
refactor(activation): more readable condition
2024-09-03 16:51:00 +02:00
mfo
a3050348e2
fix(autoresize_controller.ts): ensure to bind autoresize-textarea when element is visible, otherwise it is not expanded by 5 rows as expected by default
...
cleaner ts implementation
Co-authored-by: Colin Darie <colin@darie.eu>
2024-09-03 16:41:08 +02:00
simon lehericey
e0daf1032d
rename virtual_dates by non_displayable_dates
2024-09-02 17:27:35 +02:00
simon lehericey
245f7bb975
remove column.virtual params
2024-09-02 17:25:46 +02:00
simon lehericey
3c7c58623f
replace virtual: true
by displayable: false
2024-09-02 17:25:22 +02:00
Lisa Durand
b5051a25d9
it displays an alert if using test service before publishing a procedure
2024-09-02 16:52:21 +02:00
Colin Darie
4db4cf1513
fix(attestation): don't render block levels presentation elements into a p
2024-09-02 16:11:02 +02:00
Colin Darie
c9956c4881
feat(attestation): better presentation of repetition champs
2024-09-02 16:11:02 +02:00
Colin Darie
09581ad028
feat(attestation): render multiple drop down list as list
2024-09-02 15:23:11 +02:00
Colin Darie
ae207ac2e6
chore(attestation): link to new test dossier
2024-09-02 15:23:11 +02:00
Colin Darie
8e1cfd50dd
feat(procedure): improve dossier_for_preview with last dossier, excluding hidden by user
2024-09-02 15:23:10 +02:00
Colin Darie
31cc6578aa
Merge pull request #10725 from colinux/admin-minor-renaming
...
ETQ admin, renomme *Pour aller plus loin* en *Autres paramètres*
2024-09-02 13:20:52 +00:00
Colin Darie
8f60909155
chore(admin): rename 'Pour aller plus loin' => 'Autres paramètres'
...
Closes #9844
2024-09-02 15:12:41 +02:00
Colin Darie
cb902732be
Merge pull request #10710 from demarches-simplifiees/remove-unused-hidden-at-for-dossiers-ldu
...
[Tech] Retirer la colonne obsolète 'hidden_at' des dossiers (part 1)
2024-09-02 12:41:28 +00:00
mfo
f171727140
Merge pull request #10703 from mfo/US/dry-rna-rnf-siret-addresses-view
...
ETQ instructeur, je souhaite acceder aux information liées à l'adresses des champs RNA/RNF/SIRET
2024-09-02 12:25:54 +00:00
Colin Darie
46547cb2cd
Merge pull request #10729 from mfo/US/fix-errored-data
...
ETQ usager, je souhaite que me dossier soit debloqué
2024-08-30 17:45:04 +02:00
mfo
3a33d8af45
fix(data): unlock broken dossier due to bad release
2024-08-30 17:37:05 +02:00
Colin Darie
e7443c2308
Revert "Champ related cleanups and refactoring"
2024-08-30 16:43:30 +02:00
Eric Leroy-Terquem
37a018880b
chore: generate representations coming from ActionText in background
2024-08-30 16:37:19 +02:00
Eric Leroy-Terquem
4d0961d3ec
chore: remove uninterlacing from web machines
2024-08-30 14:28:43 +02:00
Eric Leroy-Terquem
0511a84abf
chore: move uninterlace to image processor job
2024-08-30 14:28:43 +02:00
Eric Leroy-Terquem
00c905a615
chore: generate variant for procedure logo in background
2024-08-30 14:28:42 +02:00
simon lehericey
6677f31652
use path_rewrite in commencer controller
2024-08-29 17:01:40 +02:00
simon lehericey
516205efd9
add path_rewrite model
2024-08-29 16:15:07 +02:00
Colin Darie
ca7100c7af
chore(encryption): task rotating api particulier token encrypted attributes
2024-08-28 13:58:59 +02:00
Colin Darie
3ac671576b
chore(encryption): rotate key with new default digest (SHA256)
2024-08-28 13:58:59 +02:00
mfo
bab8fc2d29
fix(delete_orphaned_champs): maintenance tasks with custom PG_STATEMENT_TIMEOUT is not a good fit. change implementation to after_party
2024-08-27 13:43:28 +02:00
mfo
0771d207f3
Merge pull request #10716 from mfo/US/fix-bad-data
...
ETQ instance DS, je souhaite que l'intégrité des données entre les champs et les dossiers soient garantie par une contrainte en base de donnée
2024-08-26 14:23:25 +00:00
mfo
1d84c0f55b
fix(champs.orphaned): add maintenance task to clean orphaned champs where dossier is missing
2024-08-26 16:00:59 +02:00
Paul Chavard
79c9784d17
refactor(dossier loader): simplify all the things
2024-08-26 14:53:56 +02:00
Paul Chavard
bb288337bf
cleanup(prefill): remove unused validation
2024-08-26 14:53:56 +02:00
Paul Chavard
3ef6f450da
cleanup: more concistent methods usage
2024-08-26 14:53:56 +02:00
Paul Chavard
5edb8749c0
refactor(attestation): unspecified_champs_for_dossier based on types_de_champ
2024-08-26 14:53:56 +02:00
Paul Chavard
1aee7ab1d2
refactor(champ): more concistent champ_for_update usage
2024-08-26 14:53:56 +02:00
Paul Chavard
f7cd7e615d
refactor(champs): validate only champs in current revision
2024-08-26 14:53:56 +02:00
Paul Chavard
8ccf2bed4c
refactor(apiv1): use dossier preloader on api v1
2024-08-26 14:53:56 +02:00
Paul Chavard
701a28302e
refactor(dossier): remove unused scopes
2024-08-26 14:53:56 +02:00
Paul Chavard
bb2f590d18
refactor(repetition): use less champs and public_id methods
2024-08-26 14:53:56 +02:00
Eric Leroy-Terquem
fade633828
feat(routing): can create simple routing with address tdc
2024-08-26 11:16:47 +02:00
Eric Leroy-Terquem
8b4b4d7cb7
feat(conditional): can condition and route on address champ
2024-08-26 11:16:46 +02:00
mfo
03a72ccf06
fix(PopulateSiretValueJSONTask): some bad data prevent the task to finish
2024-08-26 10:10:34 +02:00
Lisa Durand
b586f23009
remove hidden at column from dossiers
2024-08-22 17:36:41 +02:00
Lisa Durand
8e7e8d9624
Merge pull request #10705 from demarches-simplifiees/email-expert-need-confirmation-ldu
...
ETQ expert, je dois confirmer mon mail
2024-08-22 12:53:52 +00:00
Paul Chavard
6a642c350e
Merge pull request #10709 from colinux/cojo-date-hint-localized
...
ETQ usager, j'ai une indication sur le format de date à saisir en fonction de mon navigateur
2024-08-22 10:12:19 +00:00
Colin Darie
e46f09dfb9
feat(cojo): date format hint is localized, depending on browser
2024-08-22 11:05:35 +02:00
mfo
70983c50f9
spec(normalized_address): add simple spec
2024-08-22 10:37:31 +02:00
mfo
8a42c6a7ad
Merge pull request #10708 from mfo/US/format-rna
...
ETQ tech je souhaite que les champs RNA ne puissent pas contenir d'espace sans quoi nos appels d'API remontent un URI::InvalidURIError
2024-08-22 08:36:38 +00:00
mfo
76f9373af5
fix(RNA.pattern): allows RNA with letters too, some territories can have letters too
2024-08-22 10:24:03 +02:00
mfo
53cbb1cace
fix(PopulateRnaJsonValue): some procedure had been deleted, can not find them
2024-08-22 10:24:03 +02:00
mfo
22e50d4c9e
fix(data): normalize invalid Champs::RNAChamp.values in db
2024-08-22 10:24:03 +02:00
mfo
abb2fa159c
feat(Champ.rna): avoid spaces that breaks API calls
2024-08-22 10:23:56 +02:00
mfo
7182a4e8d0
feat(identite_entreprise): prefer champ.value_json in order to ensure good department
2024-08-22 09:45:27 +02:00
mfo
fdff699d51
feat(champ.rnf/rna/siret): render normalized address the same way
2024-08-22 09:45:27 +02:00
Colin Darie
2b9fe12079
test(dolist): add some specs and remove unsupported email sent with attachments
2024-08-22 09:26:49 +02:00
Colin Darie
659d35e11f
test: fix for mutable string
2024-08-22 09:26:49 +02:00
Colin Darie
992c61b51a
fix: as of parsby 1.1, IO can be mutated during parsing
...
See 534f8a95b4/lib/parsby.rb (L572C11-L572C17)
Trace:
IOError: not modifiable string
# parsby-1.1.1/lib/parsby.rb:572:in `ungetc'
# parsby-1.1.1/lib/parsby.rb:572:in `ungetc'
# parsby-1.1.1/lib/parsby.rb:539:in `block in restore'
# parsby-1.1.1/lib/parsby.rb:539:in `each'
2024-08-22 09:26:48 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment
2024-08-22 09:26:48 +02:00
Colin Darie
3796210928
Merge pull request #10707 from colinux/fix-unpublished-changes-button
...
ETQ admin: corrige le nouveau bouton de publication d'une démarche
2024-08-21 15:48:45 +00:00
Colin Darie
4c1e67bd65
Merge pull request #10704 from mfo/US/fix-populate-rna-maintenance-task
...
Correctif: tache de maintenance des données RNA pour permettre la recherche
2024-08-21 15:45:18 +00:00
Colin Darie
eccfde848f
feat(admin): disable publish button when there are errors
2024-08-21 17:38:07 +02:00
Colin Darie
d0837c58f5
fix(admin): publish modifications button must be PUT
2024-08-21 17:38:07 +02:00
Colin Darie
6efd9ae747
refactor(admin): rename procedures/_unpublished_changes_{navbar,sticky} partial
2024-08-21 17:38:04 +02:00
mfo
0ed5206d9f
fix(PopulateRNAJSONValueTask): edge case, one champ raises an URI::InvalidURIError
2024-08-21 16:36:22 +02:00
Lisa Durand
3cf3dc4623
make email confirmation more generic
2024-08-21 16:23:56 +02:00
Lisa Durand
ea354d46c4
Create new invitation email if expert not confirm
2024-08-21 16:19:51 +02:00
Kara Diaby
4a93579e71
Ajoute une sticky navbar si il y a une modification de démarche déjà publiée
2024-08-21 10:23:02 +00:00
mfo
ec9a03ac17
Merge pull request #10693 from mfo/US/filter-by-json-path-3
...
ETQ instructeur, je peux filtrer par les donnée de champs issues d'API, a commencer par RNA/RNF SIRET
2024-08-21 09:50:47 +00:00
Paul Chavard
1d15689989
Merge pull request #10701 from tchak/refactor-virtual-displayable
...
refactor(columns): rename virtual to displayable
2024-08-21 09:37:51 +00:00
mfo
750842f742
feat(Column::JSONPathColumn): allow search by json path column
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-08-21 10:23:39 +02:00
Colin Darie
c1f4bd0ba3
Merge pull request #10700 from colinux/fix-persisting-pp-error
...
ETQ instructeur, n'affiche pas 2 fois le message de réinitialisation du tableau de dossiers
2024-08-21 07:23:15 +00:00
Paul Chavard
271602082b
refactor(columns): rename virtual to displayable
2024-08-20 18:46:19 +02:00
Colin Darie
8c6a7a8528
fix(instructeur): don't display twice pp error on get requests
2024-08-20 18:30:20 +02:00
Colin Darie
8cdd7ef4df
Merge pull request #10699 from mfo/US/hotfix-pp
...
Correctif: rattrape les données inconsistantes pour la présentation des tableaux instructeurs qui se font detruire a la 1ere connection
2024-08-20 16:16:26 +00:00
Colin Darie
6b9af51e31
Merge pull request #10698 from colinux/fix-strftime-on-non-numeric-field
...
ETQ instructeur, ne plante pas en essayant de formater une date quand c'est pas une date
2024-08-20 15:59:02 +00:00
mfo
3662e38366
hotfix(ProcedurePresentation): backfill invalid procedure presentation private tabel name for type de champs private
2024-08-20 17:58:55 +02:00
Colin Darie
fe2e8ae793
fix(instructeur): never try to strftime on non date value
2024-08-20 17:33:04 +02:00
Colin Darie
6b6cf091e0
Merge pull request #10697 from colinux/fix-row-deleted-dossier
...
ETQ instructeur, corrige l'affichage expliquant la raison pour laquelle l'usager a supprimé (ou expiré) un dossier
2024-08-20 15:20:39 +00:00
Lisa Durand
49e9d4a683
Merge pull request #10627 from demarches-simplifiees/simplify-tabs-supprimes-ldu
...
[UX] Simplifier l'interface avec un onglet unique pour les dossiers supprimés
2024-08-20 14:50:42 +00:00
Colin Darie
b2931a9dde
fix(instructeur): dossier hidden by user reason interpolation
2024-08-20 16:15:13 +02:00
Colin Darie
87cc8a7241
fix(dossier): render PJ champ respects profile context
2024-08-20 15:52:30 +02:00
Colin Darie
e6c2926426
fix(xss): injection from pj malicious filename would trick browser and lead to XSS injection
2024-08-20 15:51:54 +02:00
Lisa Durand
16864cc868
fix test
2024-08-20 15:47:09 +02:00
Lisa Durand
286758e933
create component to display deleted dossiers
2024-08-20 15:26:15 +02:00
Lisa Durand
5281ab966a
add deleted dossiers in menu for instructeurs
2024-08-20 15:26:15 +02:00
Lisa Durand
066a2bea85
use main navigation to display deleted dossier for user
2024-08-20 15:26:14 +02:00
Lisa Durand
a0a9270a61
remove deleted dossier from filter and search
2024-08-20 15:26:14 +02:00
Lisa Durand
30df5aa89a
add page link and page to access deleted dossier historique
2024-08-20 15:26:14 +02:00
Lisa Durand
ab483a8959
simplifie tabs supprimes and reduce to one
2024-08-20 15:26:09 +02:00
Colin Darie
e4d460965f
Merge pull request #10690 from mfo/US/normalize-addresses-for-rnf-rna-siret
...
ETQ Tech, les adresses des champs siret / rna / rnf sont normalisées pour une recherche homogène via les filtres
2024-08-20 10:11:48 +00:00
mfo
92ffd69bf1
doc(instance): explicite quand/comment faire tourner ces taches
2024-08-20 11:37:21 +02:00
Colin Darie
1e53e3bfef
Merge pull request #10661 from demarches-simplifiees/feat/10460
...
ETQ admin, je veux que l'email du déposant ne puisse pas être similaire à l'email du mandataire
2024-08-20 09:34:03 +00:00
Colin Darie
66bf0cca6e
Merge pull request #10688 from colinux/delete-yabeda-rails
...
Tech: remove yabeda-rails et yabeda-graphql
2024-08-20 09:26:39 +00:00
LeSim
befe74b801
Merge pull request #9758 from demarches-simplifiees/purge_supprimer_dol
...
Tech: quand un dossier est définitivement supprimé, on ne garde que le log (DOL) concernant sa suppression
2024-08-20 09:26:33 +00:00
mfo
bc7264ee08
Merge pull request #10625 from demarches-simplifiees/US/cleanup-procedure-presentation
...
ETQ tech, je souhaite isoler le concept des colonnes extractable/cherchable/affichable d'une demarche
2024-08-20 09:04:23 +00:00
Colin Darie
3b3697a67e
Merge pull request #10691 from colinux/fix-attestation-footer
...
ETQ usager, l'attestation v2 gère mieux les pieds de page
2024-08-20 08:57:25 +00:00
simon lehericey
28b338452a
feat(dossier_purge): when the dols are purged, only keep supprimer dol but destroy its data
...
Note, the only remaining data are dossier_id, automatic_operation, digest and bill_id, created_at
2024-08-20 10:55:32 +02:00
Colin Darie
e314365083
chore: remove yabeda-graphql
2024-08-20 10:53:28 +02:00
mfo
a66bd46082
data(backfill): Champs::SiretChamp.value_json [±1.4M occurences]
2024-08-20 10:31:23 +02:00
mfo
917f25dcfd
data(backfill): Champs::RnaChamp.value_json [±7.5k occurences]
2024-08-20 10:31:23 +02:00
mfo
4bf5725d6d
data(backfill): Champs::RnfChamp.value_json [±400 occurences]
2024-08-20 10:31:23 +02:00
mfo
d866309d45
feat(rnf/rna/siret): normalize address in champs.value_json
2024-08-20 10:31:23 +02:00
Paul Chavard
ba92216504
Merge pull request #10614 from tchak/graphql-only-allow-saved-queries-without-token
...
secu(graphql): without a token, only saved queries are allowed
2024-08-20 08:11:48 +00:00
Colin Darie
e35809db28
fix(attestation): html format expand a4 background even if because there is a single page
2024-08-19 18:36:35 +02:00
Colin Darie
1dbd198092
fix(attestation): footer must be in before flexible content in order to be repeated on each page
2024-08-19 18:35:23 +02:00
Colin Darie
b33f542cf4
fix(attestation): nowrap footers & pages counter
2024-08-19 16:15:29 +02:00
mfo
dba6f9b3aa
refactor(Facet): to column 🚀
2024-08-19 15:46:14 +02:00
mfo
b910705353
move tdc facets builder to tdc
2024-08-19 15:30:08 +02:00
mfo
b6464c1963
tech: use facet_id to sort fields
2024-08-19 15:30:08 +02:00
mfo
743ff8c8a9
extract Instructeurs::FacetTableHeaderComponent wrapping sort logic
2024-08-19 15:30:08 +02:00
mfo
31255b69cc
move/rename faceting components within their instructeur ns
2024-08-19 15:30:08 +02:00
simon lehericey
61051771a7
stay the old way for the moment ?
2024-08-19 15:30:07 +02:00
simon lehericey
ef63579e2e
clean facets_concern
2024-08-19 15:30:07 +02:00
mfo
60c6c86d70
ProcedurePresentation.displayable_fields_for_select -> InstructeurFacetPickerComponent.displayable_fields_for_select
2024-08-19 15:29:59 +02:00
mfo
41ea39abb1
ProcedurePresentation.filterable_fields_options -> InstructeurFilterComponent.filterable_fields_options
2024-08-19 15:29:59 +02:00
simon lehericey
379c9fb812
procedure should provide its facets
2024-08-19 15:29:59 +02:00
simon lehericey
e19f1bd8c2
sortable? -> sorted_by
2024-08-19 15:29:59 +02:00
simon lehericey
14c5c26bb6
rubocop
2024-08-19 15:29:59 +02:00
simon lehericey
c5c2d5782d
lets keep it private
2024-08-19 15:29:59 +02:00
simon lehericey
7a1c25271d
small refactors
2024-08-19 15:29:56 +02:00
simon lehericey
772424ff5e
move field_enum to instructeur filter component
2024-08-19 15:28:36 +02:00
simon lehericey
73293b0d06
give facet object instead of field_id to instructeur_filter_component
2024-08-19 15:28:36 +02:00
simon lehericey
437e632f6a
move facet_find to Facet.find
2024-08-19 15:28:36 +02:00
simon lehericey
969282e453
remove last field_hash
2024-08-19 15:28:36 +02:00
simon lehericey
305b8c13c7
! BREAKING : break previous filter by type_de_champ_private
...
simplify type_de_champ_private -> type_de_champ, fix spec, add facet_spec
2024-08-19 15:28:36 +02:00
simon lehericey
2239172fac
move facets list to facets
2024-08-19 15:28:36 +02:00
simon lehericey
49eaf10bce
fields -> facets
2024-08-19 15:28:36 +02:00
simon lehericey
5c09581228
move id to facet and search_by facet_id
2024-08-19 15:28:34 +02:00
mfo
41eb99ce5a
fix(dossier_projection_service.rb): do not fwd internal id_value_h to the view by deep duping fields
2024-08-19 15:27:50 +02:00
mfo
b3cb3e974e
refactor(Facet): extract Facet from ProcedurePresentation
...
Co-Authored-By: LeSim <mail@simon.lehericey.net>
clean(code): no comment 🎶
2024-08-19 15:27:39 +02:00
Kara Diaby
88cd4a94dd
Ajoute la validation sur le modèle Individual
2024-08-19 12:51:39 +00:00
simon lehericey
9d847ef57a
fix: do not show notifications filter on unfollowed dossiers
2024-08-19 11:46:42 +02:00
Corinne Durrmeyer
9e87662c8f
Distinguish links from content
2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
e358f196e9
Change help__content to help-content to conform linting Regex
2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
bbfcb689d3
Change help menu design pattern (offline pages)
2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
bc95b5b323
Change help menu design pattern (instructor pages)
2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
33eece94fd
Change help menu design pattern (user pages)
2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
399f020047
Replace span with h1
2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
5501be17c6
Remove legacy code
2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
87ab67fee5
Replace aria-label with visually-hidden label
2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
f3bca9bfeb
Replace paragraphs with list
2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
e847e9263e
Add label to icons carrying information
2024-08-14 09:56:51 +02:00
benoitqueyron
ae87fd72fd
views/instructeurs/procedures/_dossiers_actions: fix http verb
2024-08-12 17:11:03 +02:00
benoitqueyron
67d9ef2eac
fix alert info on dossiers_list & deleting the delete procedure button for published procedure
2024-08-07 17:23:51 +02:00
Paul Chavard
065000cae3
Merge pull request #10674 from colinux/really-fix-rnf
...
ETQ usager, permet de saisir un champ RNF en ignorant les espaces/tabulations
2024-08-01 18:09:21 +00:00
Colin Darie
c2159ca0bf
fix(contact): allow deletion of contact form of users having dossiers
2024-08-01 19:44:44 +02:00
Colin Darie
720a312b00
fix(rnf): really normalize spaces
...
Fix #10653
2024-08-01 18:54:50 +02:00
Paul Chavard
25d4e7dfee
fix(rnf): no crash on identifiers with spaces
2024-08-01 18:00:46 +02:00
Colin Darie
3469527637
fix(contact): use user email when no email was specified
2024-08-01 16:43:28 +02:00
Paul Chavard
807d43a9a7
feat(graphql): add desarchiver mutation
2024-08-01 09:50:01 +02:00
Colin Darie
e415c79ade
refactor(contact): builtin piece jointe attachment
2024-07-31 17:08:02 +02:00
Colin Darie
4b6d3ee16d
refactor(contact): support => contact
2024-07-31 17:08:02 +02:00
Colin Darie
e71c1781a9
fix(contact): add missing notices locales
2024-07-31 17:08:02 +02:00
Colin Darie
5af32b46f4
refactor(contact): form is persisted in db before pushed to HS
2024-07-31 17:08:01 +02:00
Colin Darie
4bc0a04106
chore(schema): add contact_forms
2024-07-31 17:08:01 +02:00
Colin Darie
ff62e99e7b
refactor(contact): suggest email correction, strict email validation, fix admin form
2024-07-31 11:23:17 +02:00
Colin Darie
49be3a797a
refactor(input): don't duplicate hint logic
2024-07-31 11:23:17 +02:00
Colin Darie
90e6c8a6f6
Merge pull request #10603 from demarches-simplifiees/bug-input-pj-apres-suppression
...
ETQ Admin (bug), je veux pouvoir modifier des PJ sans recharger la page
2024-07-30 12:14:11 +00:00
Colin Darie
e467be1dbc
fix(dossier): can download an expired dossier
2024-07-30 14:06:43 +02:00
Paul Chavard
bced38eb78
Merge pull request #10665 from demarches-simplifiees/a11y-fix-suspect-email
...
Accessibilité : Assure la restitution par les TA du bloc de suggestion de l'adresse mail
2024-07-30 09:53:01 +00:00
Corinne Durrmeyer
523a295be0
Replace aria-live with focus shift
2024-07-30 11:42:29 +02:00
Paul Chavard
9d7d7da85a
Merge pull request #10572 from demarches-simplifiees/add-pj-from-messagerie-to-gallery
...
ETQ instructeur je peux voir les pjs envoyées par la messagerie dans l‘onglet "pièces jointes"
2024-07-30 09:35:14 +00:00
Paul Chavard
337eaff3f0
Merge pull request #10602 from demarches-simplifiees/fix-routing-fields-list
...
Correctif : ouvre l‘assistant de routage à tous les types de champ conditionnables
2024-07-30 09:01:24 +00:00
Benoit Queyron
81932915c6
suppresion du form_object_name dans input_id
2024-07-30 10:39:12 +02:00
Paul Chavard
4e180f8f05
Merge pull request #10642 from mfo/US/api.dossier_modifier_annotation_drop_down_list
...
Amélioration, ETQ consommateur de l'API graphql, je souhaite pouvoir modifier une annotation de type choix simple
2024-07-30 08:25:05 +00:00
Paul Chavard
9aa86031cc
Merge pull request #10660 from colinux/fix-attestation-draft
...
ETQ admin sur une démarche en brouillon, l'attestation v2 est créé en brouillon si on a déjà une v1 active
2024-07-30 08:12:55 +00:00
Paul Chavard
12c11c563f
Merge pull request #10656 from colinux/fix-when-removing-all-displayed-fields
...
ETQ instructeur, pas d'erreur quand on veut enlever la dernière colonne affichée dans le tableau
2024-07-30 08:11:02 +00:00
Paul Chavard
c559028990
Merge pull request #10649 from colinux/fix-attestation-titles-multilines
...
ETQ usager mon attestation v2 n'a pas ses titres chevauchés lorsqu'ils passent sur 2 lignes
2024-07-30 08:09:17 +00:00
Colin Darie
8d70f68146
fix(attestation): link to published v1 from v2
2024-07-29 17:06:55 +02:00
Colin Darie
2689bc6721
fix(attestation): build v2 draft on draft procedure when a v1 is published
2024-07-29 17:06:54 +02:00
Colin Darie
25014a71b8
Merge pull request #10659 from colinux/fix-devise-confirmation-leak
...
ETQ usager, redirige les utilisateurs déjà confirmés qui réutilisent le lien de confirmation
2024-07-29 12:15:21 +00:00
Colin Darie
a6554aa7bf
fix(users): don't expose email of accounts already confirmed
2024-07-29 12:07:02 +02:00
Paul Chavard
2fe40343a7
Merge pull request #10646 from colinux/faq-allow-custom-image-attributes
...
Accessibilité: permet au markdown FAQ d'intégrer n'importe quel attribut html dans les `<img>`
2024-07-29 08:27:04 +00:00
Corinne Durrmeyer
afa43ef84c
Merge pull request #10654 from demarches-simplifiees/a11y-forgotten-password
...
Améliore l'accessibilité de la page mot de passe oublié
2024-07-26 14:08:42 +00:00
Colin Darie
6a6e643771
fix(instructeurs): don't fail when removing all displayed fields
2024-07-26 15:55:02 +02:00
LeSim
12c174f6cf
Merge pull request #10548 from demarches-simplifiees/choose_pjs_to_export
...
ETQ Instructeur, je peux choisir les pjs que j'exporte
2024-07-26 11:43:02 +00:00
simon lehericey
0dbeb822e4
layout: add possibiilty to export outdated pjs
2024-07-26 13:34:51 +02:00
simon lehericey
e9abdcbbf1
make it beautiful
2024-07-26 13:34:50 +02:00
simon lehericey
57f698853f
some layouts
2024-07-26 13:34:50 +02:00
simon lehericey
393db312c2
a little js
2024-07-26 13:34:50 +02:00
simon lehericey
c4403bffeb
work on controller
2024-07-26 13:34:50 +02:00
simon lehericey
30e79b735d
route: allow standard path helper to work
...
for example `form_with model: [:instructeur, procedure, export_template]`
2024-07-26 13:34:49 +02:00
simon lehericey
248da3a896
work on validator
2024-07-26 13:34:49 +02:00
simon lehericey
057868a48e
small work on tiptap
2024-07-26 13:34:49 +02:00
simon lehericey
f973c59c9a
stop exporting bills with export_template
2024-07-26 13:34:49 +02:00
simon lehericey
33244f6d70
adapt pieces_justificatives_service to new export_template.attachment_path
2024-07-26 13:34:49 +02:00
simon lehericey
8906a59635
simplify export_template model and spec
2024-07-26 13:34:49 +02:00
simon lehericey
977cfc87ce
Add export_item type
2024-07-26 13:31:06 +02:00
simon lehericey
24109a0128
add exportables_pieces_jointes_for_all_versions and outdated to pj_list_concern
2024-07-26 13:31:06 +02:00
simon lehericey
53a48f963d
tdc: add libelle_as_filename
2024-07-26 13:31:05 +02:00
Paul Chavard
b7bdf0be92
Merge pull request #10652 from tchak/fix-dsfr-theme-switch
...
fix(dsfr): theme switch is back
2024-07-26 11:26:38 +00:00
Corinne Durrmeyer
190addd317
Merge pull request #10647 from demarches-simplifiees/a11y-authentification-page
...
Améliore l'accessibilité de la page d'authentification
2024-07-26 09:38:18 +00:00
Corinne Durrmeyer
a415775e17
Merge pull request #10632 from demarches-simplifiees/a11y-fix-faq-content
...
Améliore l'accessibilité des pages de contenu de la FAQ
2024-07-26 09:18:02 +00:00
Corinne Durrmeyer
8057f050f4
Apply DSFR instead of custom classes
2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
f596216208
Remove code legacy
2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
07b4d59426
Add forgetten alt attribute
2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
444a96a5ee
Prevent buttons from overflowing their container
2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
6383dc359b
Remove useless aria-labelledby attribute
2024-07-26 10:52:42 +02:00
Paul Chavard
25c4d6d237
fix(dsfr): theme switch is back
2024-07-26 10:43:59 +02:00
Paul Chavard
b9000eeb65
Merge pull request #10651 from tchak/fix-rebase-with-new-pj
...
fix(rebase): avoid errors when adding pj champs to a new revision
2024-07-25 18:35:57 +00:00
Paul Chavard
11cb856921
Merge pull request #10635 from tchak/improuve-combobox
...
feat(combobox): improve style and menu trigger mode
2024-07-25 18:29:41 +00:00
Paul Chavard
223317fb5a
fix(rebase): avoid errors when adding pj champs to a new revision
2024-07-25 18:29:01 +02:00
Lisa Durand
e93ea356ab
Merge pull request #10488 from demarches-simplifiees/improve-mails-for-deleted-dossiers-ldu
...
[usager] Laisser un délai avant suppression des dossiers expirés
2024-07-25 15:14:30 +00:00
Paul Chavard
8f313a036e
fix(dossier): fix crash when dossier has no service
2024-07-25 17:04:31 +02:00
Lisa Durand
4f7b0c93d0
fix multiple errors from creation of dedicated method to restore and extend
2024-07-25 16:55:00 +02:00
Colin Darie
30b7dd0dce
fix(attestation): don't overlap multilines titles
2024-07-25 16:33:46 +02:00
Corinne Durrmeyer
e98dbf3898
Move expected format of email field to <span class='fr-hint-text'>
2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
1b9ba64f7e
Remove code legacy (agent connect page)
2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
f8974921c9
Add asterisk explanation (agent connect page)
2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
280da9fd6c
Remove unnecessary lists around link & button (agent connect page)
2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
2e3ee18a32
Prevent image overflow
2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
6bb9d708ab
Remove code legacy
2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
0ea4159027
Place catchphrase in a single paragraph
2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
96f1f101a9
Remove unnecessary lists around link & button
2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
1eb012924b
Add asterisk explanation
2024-07-25 11:07:19 +02:00
Paul Chavard
2a225013ff
Merge pull request #10636 from tchak/improuve-dynamic-routage
...
refactor(routing_roules): simplify refresh conditions
2024-07-25 08:29:27 +00:00
Benoit Queyron
3493736133
Merge pull request #10624 from demarches-simplifiees/usager-remonter-bouton-nouveau-dossier
...
ETQ usager - je veux pouvoir accéder plus facilement au bouton "nouveau dossier"
2024-07-25 07:20:45 +00:00
Colin Darie
efa5122ce0
feat(a11y): allow trusted markdown (FAQ) to set any custom attributes in img
2024-07-24 19:13:08 +02:00
Paul Chavard
65dffd0e19
feat(combobox): improve style and menu trigger mode
2024-07-24 19:00:17 +02:00
Paul Chavard
634d78e369
chore(dsfr): only load dsfr js we use
2024-07-24 19:00:17 +02:00
simon lehericey
746ff92118
Add PhishingAlert maintenance task and mailer
2024-07-24 18:10:57 +02:00
mfo
e63b777bd9
feat(api.dossier.modifier_annotation): stop validation only with graphql schema, also validate with our validations methods
2024-07-24 17:48:00 +02:00
Lisa Durand
4b1e743ecf
fix wrong method on projected dossier
2024-07-24 17:19:59 +02:00
Lisa Durand
7da3e05752
small refacto to simplify scope
2024-07-24 17:07:48 +02:00
Lisa Durand
b820577461
create a method to extend and restore
2024-07-24 17:07:48 +02:00
Lisa Durand
ae1a6e1b3d
improve hidden_by_expired scope
2024-07-24 17:07:47 +02:00
Lisa Durand
5c26073af7
small refacto with hidden_by_expired? method
2024-07-24 17:07:47 +02:00
Lisa Durand
df13e53815
small refactos from Sim review
2024-07-24 17:07:47 +02:00
Lisa Durand
94e1f048ce
fix tabs count
2024-07-24 17:07:47 +02:00
Lisa Durand
eb3b928cf2
change scope to include new column for expiring dossiers
2024-07-24 17:07:47 +02:00
Lisa Durand
0dcdcb5643
add column hidden_by_expired_at
2024-07-24 17:07:41 +02:00
Lisa Durand
954ab39de8
remove badge supprimé and display state dossier badge
2024-07-24 17:06:31 +02:00
Lisa Durand
0bf1790682
change wording to clarify emails
2024-07-24 17:06:31 +02:00
Lisa Durand
1441855fe8
fix query for instructeur tabs count
2024-07-24 17:06:31 +02:00
Lisa Durand
2d66a67564
use automatic flag for dossier operation log
2024-07-24 17:06:31 +02:00
Lisa Durand
9346020889
dont use depreciated column hidden_at
2024-07-24 17:06:30 +02:00
Lisa Durand
8b88fafc25
add correct action for instructeur
2024-07-24 17:06:30 +02:00
Lisa Durand
c2abceaa72
hide expired dossiers instead of delete them
2024-07-24 17:06:30 +02:00
mfo
8e6c5d1567
api(mutation.dossier_modifier_annotation_drop_down_list): add mutation to change drop_down_list annotations value
2024-07-24 15:02:24 +02:00
Paul Chavard
5aee51d5ac
refactor(routing_roules): simplify refresh conditions
2024-07-24 12:53:26 +02:00
Benoit Queyron
420ebc70f9
remontee bouton dossier en cours + icones
2024-07-24 12:33:01 +02:00
Eric Leroy-Terquem
d8d2094909
db(task): remove pj files for not visible champs
2024-07-24 09:21:12 +02:00
Corinne Durrmeyer
4233c9aee5
Force line breaks in pre
2024-07-23 11:18:02 +02:00
Corinne Durrmeyer
54a32a2e97
Add content to link title attributes
2024-07-23 11:18:02 +02:00
Eric Leroy-Terquem
e413c0881e
chore(routing): update turbo stream only if champ used by routing rules has been updated
2024-07-23 10:23:54 +02:00
Eric Leroy-Terquem
f30057e585
feat(routing): replace contact information with turbo_stream
2024-07-23 10:23:54 +02:00
Eric Leroy-Terquem
f860745629
feat(routing): route when autosave of champ used by routing rules
2024-07-23 10:23:53 +02:00
Colin Darie
60ba6a2241
Merge pull request #10628 from colinux/helpscout-robust-api-limit
...
Tech: essaie de contourner les crash aléatoires sur le non respect du rate limit
2024-07-23 07:26:51 +00:00
Colin Darie
4f5f860405
fix(helpscout): rate limit respect 1 minute window
2024-07-22 15:12:54 +02:00
Paul Chavard
229483d16c
refactor(champ): remove type_de_champ_id and champ factories
2024-07-22 13:53:45 +02:00
Paul Chavard
d6f9e57e77
secu(graphql): without a token, only persisted queries are allowed
2024-07-22 11:39:32 +02:00
Paul Chavard
c31321d695
chore(graphql): API::V2::DossiersController is not using tokens
2024-07-22 11:38:11 +02:00
Paul Chavard
38243434d2
refactor(graphql): add graphql_error helper
2024-07-22 11:38:11 +02:00
simon lehericey
bb6c43cbb9
do not give bad advice
2024-07-22 11:15:27 +02:00
Colin Darie
d4a9b63b00
Merge pull request #10622 from demarches-simplifiees/a11y-fix-faq-page
...
Accessibilité: Amélioration de la page FAQ
2024-07-22 09:06:59 +00:00
Eric Leroy-Terquem
5fbe2daca2
db(maintenance task): create representations for pjs sent by messagerie
2024-07-22 10:07:40 +02:00
Eric Leroy-Terquem
3bbcda9c04
refactor(dossier): refactor pieces jointes
2024-07-22 10:07:39 +02:00
Eric Leroy-Terquem
3516bae008
feat(gallery): create representations for pjs sent by messagerie
2024-07-22 10:07:39 +02:00
Eric Leroy-Terquem
59ddaf5b0b
feat(gallery): add pjs from messagerie to gallery
2024-07-22 10:07:39 +02:00
Benoit Queyron
5434e0a4d6
remonter bouton nouveau dossier
2024-07-19 10:02:02 +02:00
Corinne Durrmeyer
cdbdcffa5b
Remove empty <p>.
2024-07-18 12:06:40 +02:00
Paul Chavard
f7c5f8fb14
fix(intl): polyfill intl-listformat
2024-07-18 09:33:07 +02:00
Paul Chavard
be83f2c7d1
Merge pull request #10609 from tchak/champs-selection-multiple-combobox
...
Utiliser les nouvelles combobox pour les champs de sélection multiple
2024-07-16 13:17:41 +00:00
Paul Chavard
888be8df89
feat(champs): use new combobox for champs selection multiple
2024-07-16 15:10:45 +02:00
Paul Chavard
d640ab8428
fix(combobox): dispatch change event on multiple combo changes
2024-07-16 15:10:45 +02:00
Paul Chavard
f88fb3babc
Merge pull request #10613 from tchak/refactor-remove_piece_justificative_file_not_visible
...
refactor(dossier): use each instead of filter with side effects
2024-07-16 13:06:55 +00:00
Paul Chavard
6e37a3faf1
chore(champs): task to move non unique champs to a bad_data stream
2024-07-16 14:17:12 +02:00
mfo
64811d836a
Merge pull request #10616 from mfo/US/enhance-siret-champ
...
Amélioration, ETQ usager je souhaite pouvoir copier/coller un siret contenant des espaces
2024-07-16 09:50:08 +00:00
mfo
23d9c62245
feat(champ.siret): allow copy/paste from web
2024-07-16 11:29:54 +02:00
Benoit Queyron
79ba52317a
limitation des params selon le type de PJ
2024-07-16 10:59:57 +02:00
Benoit Queyron
ec24ce3dad
ajustement test PJ dossier en construction
2024-07-16 10:51:17 +02:00
Paul Chavard
42ed6d7c87
refactor(dossier): use each instead of filter with side effects
2024-07-16 09:03:56 +02:00
Lisa Durand
7630cc39fa
Merge pull request #10595 from demarches-simplifiees/email-mandant-need-confirmation-ldu
...
ETQ Mandant, je dois confirmer mon mail avant de recevoir des notifs
2024-07-15 14:00:38 +00:00
Lisa Durand
e9f5389f83
resent email if link too old and better style email
2024-07-15 12:00:03 +02:00
Lisa Durand
3eabcb0736
add tests
2024-07-15 11:56:18 +02:00
mfo
b55ed262ed
Merge pull request #10607 from mfo/US/fix-invisible-pj
...
Amélioration: ETQ usager, je souhaite que les PJs d'un champ qui n'est plus visible ne soient pas soumise a l'administration
2024-07-15 09:36:01 +00:00
mfo
ad8a664fe4
Merge pull request #10608 from mfo/US/fix-regexp-error
...
Correctif: ETQ administrateur je souhaite qu'un type de champ expression régulière ne bloque pas l'edition de ma demarche
2024-07-15 09:34:16 +00:00
mfo
1cd539297f
feat(dossier.passer_en_construction!): clean up PJ for champs that are not visible [condition is false]
2024-07-15 11:28:59 +02:00
mfo
19268345db
fix(tdc.expression_reguliere): invalid regexp shows nice error message
2024-07-15 09:59:50 +02:00
Benoit Queyron
249da03287
adaptation attestation v2
2024-07-12 20:14:13 +02:00
LeSim
2e13943c5d
Merge pull request #10606 from tchak/menu-combobox
...
feat(combobox): trigger menu on focus
2024-07-12 18:36:07 +02:00
Benoit Queyron
dbacbd8ae2
ajustement pour PJ attestation
2024-07-12 18:08:51 +02:00
Paul Chavard
00df0305fd
feat(combobox): trigger menu on focus
2024-07-12 17:44:12 +02:00
Paul Chavard
d6e0d83c5d
fix(education): query annuaire education in the browser
2024-07-12 17:32:34 +02:00
Paul Chavard
91b398d039
fix(education): improve some settings to make champ education more reliable
2024-07-12 17:32:34 +02:00
mfo
fe37f1acfe
Merge pull request #10604 from mfo/US/fix-race-with-lock
...
pan pan
2024-07-12 14:56:33 +00:00
mfo
d5c8b7464c
fix(users.update_email): optimistic
2024-07-12 15:42:50 +02:00
Benoit Queyron
3e4aa0cde3
disabled input with PJ and insert input when PJ is deleted
2024-07-11 17:33:52 +02:00
Eric Leroy-Terquem
f31f70e9b9
feat(routing): configurate routage custom if no simple_routable_types_de_champ
2024-07-11 14:55:03 +02:00
Eric Leroy-Terquem
ea8112b8b3
fix(routing): open routing wizard to all conditionable types
2024-07-11 14:55:03 +02:00
Eric Leroy-Terquem
70d9d72a59
refactor(routing): extract configurate_routage_custom method
2024-07-11 12:17:46 +02:00
Eric Leroy-Terquem
60ff785009
refactor(type de champ): rename routable_types in simple_routable_types
2024-07-11 12:17:46 +02:00
Eric Leroy-Terquem
ad7f01f97b
fix(maintenance task): catch active storage errors
2024-07-11 10:37:00 +02:00
Eric Leroy-Terquem
30da11823b
db(task): create previews for pjs in one week
2024-07-10 17:38:05 +02:00
Eric Leroy-Terquem
c9d74c46d1
db(task): create variants for pjs in one week
2024-07-10 17:38:04 +02:00
Lisa Durand
72f840e393
Merge pull request #10579 from demarches-simplifiees/instructeur-invitation-include-typo-suggestion-ldu
...
ETQ admin et instructeur, lorsque je gère ma liste d'instructeurs sur une démarche, je suis guidé pour eviter les typos
2024-07-10 14:48:49 +00:00
Benoit Queyron
ceedbe9c45
Merge branch 'main' into bug-input-pj-apres-suppression
2024-07-10 16:35:07 +02:00
Benoit Queyron
9e4b7cc84e
liaison for label/input
2024-07-10 16:33:39 +02:00
Lisa Durand
7539d2ddea
fix specs
2024-07-10 16:11:38 +02:00
mfo
4fce812dea
Merge pull request #10589 from tchak/update-js
...
chore(npm): update dependencies
2024-07-10 13:27:27 +00:00
Lisa Durand
42633c0012
Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into instructeur-invitation-include-typo-suggestion-ldu
2024-07-10 14:58:55 +02:00
Lisa Durand
3b138d5bb7
add confirmation for tiers email
2024-07-10 10:57:26 +02:00
Paul Chavard
6016ec6049
chore(npm): update dependencies
2024-07-09 22:30:13 +02:00
Colin Darie
a020aefa05
fix(expert): demande layout like in instructeurs view
2024-07-09 19:36:59 +02:00
mfo
f3690d8890
Merge pull request #10587 from tchak/refactor-no-validate-on-format
...
refactor(champ): remove call to validation from value formatting code
2024-07-09 14:31:10 +00:00
Paul Chavard
9468471164
fix(combobox): allow for null emptyFilterKey and fix setSelection
2024-07-09 16:18:39 +02:00
Colin Darie
142ed6f762
fix(cojo): fetch external data when "-01" suffix is typed, even if its deleted later by .to_i
2024-07-09 12:49:22 +02:00
Benoit Queyron
ebea9e3818
find champ by dossier stable_id row_id
2024-07-08 16:09:29 +02:00
Benoit Queyron
4bee40caa4
suppresion de la logique hidden
2024-07-08 16:09:23 +02:00
Benoit Queyron
70c1d30fe4
disabled attribut on input
2024-07-08 16:09:21 +02:00
Benoit Queyron
a2389f14af
annulation des modifs précédentes
2024-07-08 16:09:20 +02:00
Benoit Queyron
bfd455986f
ajout de la condition sur PJ uniquement autorisee
2024-07-08 16:09:18 +02:00
Benoit Queyron
a46ebea4ee
détachement de l'attribut for dans le label d'une PJ avec l'id de l'input
2024-07-08 16:09:09 +02:00
Paul Chavard
133689b4d3
refactor(champ): remove call to validation from value formatting code
2024-07-08 15:39:28 +02:00
Colin Darie
f954d07cf6
Merge pull request #10577 from colinux/alert-procedure-draft
...
ETQ usager et admin, je suis prévenu au moment de commencer un dossier sur une démarche ou révision en test
2024-07-08 09:43:57 +00:00
Paul Chavard
09db22f81c
Merge pull request #10586 from tchak/combo-distinct-values
...
fix(combobox): allow non unique lists of options
2024-07-08 09:43:15 +00:00
Colin Darie
3e9cb6f388
Merge pull request #10576 from colinux/secure-cookies
...
Tech: cookies avec flag `secure` et `httponly`
2024-07-08 09:33:30 +00:00
Colin Darie
ba6fdc4748
feat: /commencer alert about draft procedure
2024-07-08 11:32:37 +02:00
Colin Darie
029db3b1cb
refactor(alert): standard methods order
2024-07-08 11:32:36 +02:00
Colin Darie
06c93f0c0f
Merge pull request #10575 from colinux/fix-demande-alignemnts
...
ETQ usager, corrige l'alignement de la page demande d'un dossier en construction
2024-07-08 09:31:10 +00:00
Paul Chavard
7ead0a82de
fix(combobox): allow non unique lists of options
2024-07-08 10:27:56 +02:00
mfo
75a6c8b4b6
Merge pull request #10555 from mfo/US/normalize-number-cahmp
...
tech: Normalisation des champs de type number/decimal pr enlever les espace blanc à la saisi
2024-07-08 07:31:29 +00:00
Paul Chavard
14a1bfa1a3
refactor(js): use superstruct instead of zod
2024-07-05 16:07:41 +02:00
Paul Chavard
c6f1d16451
feat(combobox): reset value on form reset
2024-07-05 09:36:33 +02:00
Paul Chavard
89fb0abe6e
fix(spec): fix system test
2024-07-05 09:36:33 +02:00
Paul Chavard
e2ba14583c
chore(combobox): remove old styles
2024-07-05 09:36:33 +02:00
Paul Chavard
c17351e50a
refactor(combo): use new multicombobox
2024-07-05 09:36:33 +02:00
Paul Chavard
8d6dc625f3
refactor(dossier): instructeur filter
2024-07-05 09:36:33 +02:00
Paul Chavard
dc6af4fb85
refactor(champ): update champ chorus
2024-07-05 09:36:33 +02:00
Paul Chavard
f0f88ef3f0
refactor(champ): update champ drop_down_list
2024-07-05 09:36:33 +02:00
Paul Chavard
cb01f15570
refactor(champ): update champ commune
2024-07-05 09:36:33 +02:00
Paul Chavard
4e8b29b21c
refactor(js): remove old code
2024-07-05 09:36:33 +02:00
Paul Chavard
2f2edfdfc7
refactor(champ): update champ carte
2024-07-05 09:36:33 +02:00
Paul Chavard
f1f1af4e61
refactor(champ): update champ annuaire education
2024-07-05 09:36:33 +02:00
Paul Chavard
79a65a4847
refactor(champ): update champ address
2024-07-05 09:36:33 +02:00
Paul Chavard
df34784d5c
feat(js): implement react aria combobox
2024-07-05 09:36:33 +02:00
Paul Chavard
1e11ad4ce6
chore(js): update coldwired and react
2024-07-05 09:36:33 +02:00
Lisa Durand
8ff2bbbaab
fix specs
2024-07-04 14:41:37 +02:00
Lisa Durand
67be27e18f
add typo detection and suggestion for instructeur adding instructeur
2024-07-04 13:56:02 +02:00
mfo
c50f949acd
feat(Champs::number*): normalize values by stripping spaces.
2024-07-04 09:56:23 +02:00
Lisa Durand
f163c04da6
add typo detection and suggestion for admin adding instructeurs
2024-07-03 16:53:23 +02:00
Lisa Durand
c8906d20b8
add reusable code in concern for typo detection email
2024-07-03 16:09:34 +02:00
Colin Darie
990dfbcf9e
chore(cookies): cookies http only
2024-07-03 11:54:10 +02:00
Colin Darie
1eb0bdb4ae
chore: cookies with "secure" flag (only transmitted through https)
2024-07-03 11:18:16 +02:00
Colin Darie
ca55fc9c40
style(demande): fix horizontal alignements en construction
2024-07-03 10:24:06 +02:00
Colin Darie
68cf6b58a3
Merge pull request #10574 from colinux/fix-experts-invits
...
ETQ admin, fix l'invitation d'experts n'ayant pas de compte DS
2024-07-02 17:33:11 +02:00