sebastiencarceles
76c9d1ada5
add possible values
2023-02-27 11:53:25 +01:00
sebastiencarceles
40b7ea3af2
transform the input value to assignable attributes
2023-02-27 11:51:24 +01:00
sebastiencarceles
46091cb6b4
let communes champ be prefillable
2023-02-27 11:50:25 +01:00
sebastiencarceles
83802a507a
return communes with the APIGeoService
2023-02-27 11:47:34 +01:00
Damien Le Thiec
67bbacbb05
Merge pull request #8513 from demarches-simplifiees/feature/prefill_repetible
...
Prefill repeatable
2023-02-27 09:58:53 +00:00
Damien Le Thiec
d7592afdd1
Draft session management Prefill get
2023-02-27 10:48:59 +01:00
Lisa Durand
6487e2c27e
implement turbostream back for state change in dossier view
2023-02-24 17:54:53 +01:00
Christophe Robillard
4e8a6f6b11
show published_at only if exist
2023-02-24 17:45:01 +01:00
Christophe Robillard
1d6c2fd7eb
display procedures without zones
2023-02-24 17:27:28 +01:00
Paul Chavard
14d889b317
fix(procedure): fix translations in changes component
2023-02-24 13:39:03 +01:00
Paul Chavard
531c5ec056
fix(filter): fix find type de champ by stable_id
2023-02-24 13:32:46 +01:00
mfo
3b51654024
Merge pull request #8680 from tchak/more-communes
...
feat(apigeo): enable all zones on departements api
2023-02-24 10:49:46 +01:00
mfo
ec4c702ac5
Merge pull request #8692 from mfo/hs/2162307059/2015014
...
correctif(filtres): les filtres par colonne se font par stable_id, non pas par id
2023-02-24 10:41:28 +01:00
Martin
ff9bb8a3cc
correctif(annotations-privee): ajout du delete form component pour supprimer une annotation privee
2023-02-24 10:19:41 +01:00
Martin
fc1bb68a3a
correctif(filtres): les filtres par colonne se font par stable_id, non pas par id
2023-02-24 09:39:16 +01:00
Paul Chavard
bdb15aaa4a
feat(apigeo): enable all zones on departements api
2023-02-23 17:28:02 +01:00
Paul Chavard
21f47dcb01
feat(procedure): include deleted dossiers in stats
2023-02-23 17:14:25 +01:00
Lisa Durand
b03748d3dd
fix actions rules for archived and expirant dossiers
2023-02-23 17:03:55 +01:00
Paul Chavard
eb3039aeca
fix(demarche): exclude preview and deleted dossiers from stats
2023-02-23 16:38:40 +01:00
Lisa Durand
76947a5ccf
add mention if user_deleted and move dossier info back to info_generales
2023-02-23 16:05:43 +01:00
Lisa Durand
90a7ecef52
rename state button to instruction button
2023-02-23 16:05:38 +01:00
Christophe Robillard
38fa7a44c3
publish opendata demarches only if they are publiees or closes
2023-02-23 15:47:18 +01:00
Martin
a584279020
chore(deadcode): drop deadcode
2023-02-23 15:23:20 +01:00
Martin
c00c4936b2
correctif(a11y): traite aussi les avis d'expert avec la nouvelle methode de rendu des textes saisis par des admin/instructeur/expert
2023-02-23 15:23:20 +01:00
Martin
8a44e6a03c
correctif(a11y): #8179 , quand la messagerie est desactivée. supprime les br et utilise le nouveau mode de rendu pour afficher les horaires saisies par l'administration
2023-02-23 15:23:20 +01:00
Martin
fd203f5bb7
correctif(a11y): #8105 format les messages de la messageries avec la nouvelle methode pour rendre les textes saisies par les admin et les instructeurs
2023-02-23 15:23:20 +01:00
Martin
a68d89b183
correctif(a11y): #8168 , dans le footer d'une procedure, ne pas afficher pas la list-item horaire/telephone si les deux sont vides. Sinon afficher uniquement les informations disponibles
2023-02-23 15:23:20 +01:00
Martin
571268dd77
correctif(a11y): #8168 , ajout d'une option pour forcer l'usage d'une classe en fonction dy type de balise rendu par SimpleFormatComponent
2023-02-23 15:23:20 +01:00
Martin
c8e9b2f008
correctif(a11y): #8105 , pour les callout, utilise un div wrappant du contenu html
2023-02-23 15:23:20 +01:00
Martin
4fd799390b
correctif(a11y): #8107 (et d'autres), utilise le nouveau composant pour rendre les textes saisies par les admins accessible
2023-02-23 15:23:20 +01:00
Martin
4d8b4e078b
amelioration(a11y): extrait un nouveau composant pour rendre du texte saisi par un humain accessible
2023-02-23 15:23:20 +01:00
Eric Leroy-Terquem
58ec1b1688
Merge pull request #8681 from E-L-T/notify-added-instructeurs-from-import
...
feat(instructeurs import): notify added instructeurs from import
2023-02-23 10:12:20 +00:00
Eric Leroy-Terquem
2f0a46386f
Merge pull request #8675 from E-L-T/allow-links-in-flash-messages
...
fix(flash messages): allow links in flash messages
2023-02-23 10:02:41 +00:00
Damien Le Thiec
17f8475b07
Refacto comparaison typed id
2023-02-23 11:00:09 +01:00
Eric Leroy-Terquem
4ea1d7d33b
feat(groupe instructeurs import): notify added instructeurs
2023-02-23 10:56:55 +01:00
Eric Leroy-Terquem
a6e01d98ea
feat(instructeurs import): notify added instructeurs
2023-02-23 10:56:55 +01:00
Eric Leroy-Terquem
d516d2a3eb
feat(groupe instructeur): add a confirm modal before import
2023-02-23 10:56:55 +01:00
Lisa Durand
8d44c327f7
add 2 icons and make delete button in red
2023-02-23 10:56:33 +01:00
Eric Leroy-Terquem
127f86e8ae
feat(flash messages): add a helper method to keep link when sanitizing
2023-02-23 10:26:46 +01:00
Damien Le Thiec
61d2edc42e
Cache champ attributes
2023-02-22 20:05:36 +01:00
Damien Le Thiec
731cd56594
Merge branch 'main' into feature/prefill_repetible
2023-02-22 19:49:06 +01:00
Damien Le Thiec
ca29079c27
Fix rubocop
2023-02-22 19:40:52 +01:00
Damien Le Thiec
fbe4fe251a
Fix format prefill repetition
2023-02-22 19:32:25 +01:00
Lisa Durand
fddcce8b7b
fix specs
2023-02-22 18:17:06 +01:00
Colin Darie
fc6051a4b9
fix(a11y/upload): role=status on progress antivirus & watermark
...
Cf #8555
2023-02-22 14:03:55 +01:00
Colin Darie
e4af86fb96
fix(a11y): explication "lire plus" styled as button
...
Cf #8662
2023-02-22 12:56:31 +01:00
Paul Chavard
3c3629d151
refactor(instructeurs): add_instructeurs should add
2023-02-22 09:49:26 +01:00
Paul Chavard
302ddb9951
refactor(instructeurs): use add_instructeurs in import service
2023-02-22 09:49:26 +01:00
Paul Chavard
fcd0f7c609
bring back find_or_create_instructeurs
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
d0c432d939
refactor(groupe instructeur): move method to Instructeur model
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
7e97825fd2
refactor(instructeurs import service): use groupe_instructeur model methods
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
d45efa99bc
refactor(groupe_instructeurs): extract method for flash message at import
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
25df48f255
feat(groupe_instructeurs): import instructeurs in unrouted procedure with a proper CSV
2023-02-22 09:49:26 +01:00
Colin Darie
8a3bb0c38e
fix(instructeurs): combobox layout in "personnes impliquees" tab
...
Closes #8527
2023-02-21 18:20:30 +01:00
Martin
f6fb1ceca5
correctif(attachement_edit): ajoute le cmmposant <form> pour supprimer un attachment via le nouveau <button>
2023-02-21 16:41:18 +01:00
Paul Chavard
9c0cd8979a
fix(graphql): context should correctly preserve demarche authorization state
2023-02-21 16:06:39 +01:00
Damien Le Thiec
2052bc7840
Remove dependency type_de_champ -> procedure
2023-02-21 16:00:58 +01:00
Paul Chavard
e56d51e0f6
fix(graphql): fix demarcheUrl
2023-02-21 10:57:43 +01:00
Christophe Robillard
9bab4f9d76
display dossiers count for each procedure
2023-02-21 10:06:07 +01:00
Christophe Robillard
c5acd82e6e
update dossiers count when passing to construction
2023-02-21 10:06:07 +01:00
Christophe Robillard
bd92291f8a
cache dossiers count
2023-02-21 10:06:07 +01:00
Martin
eca44ce60e
correctif(a11y): il est recommandé d'utilser un boutton pour la suppression d'un element. le bouton etant deja dans un form, nous ne pouvons pas utiliser le button_to. Extraction d'un form pour soumettre la suppression des pjs par des input pointant sur ce form
...
Update app/components/attachment/edit_component/edit_component.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
Update app/views/shared/dossiers/_edit.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
amelioration(attachment.destroy): force l'usage de turbo
2023-02-21 08:22:50 +01:00
Eric Leroy-Terquem
daef99109e
fix(groupe instructeur mailer): add translation for Bonjour
2023-02-20 15:59:42 +01:00
Eric Leroy-Terquem
7b12ec3ffe
refactor(groupe instructeur mailer): move translations in dedicated files
2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
343cb5fce6
feat(groupe instructeur mailer): add emailing to added instructeurs
2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
7c86df9d35
clean(groupe instructeur mailer): remove unused view
2023-02-20 15:40:32 +01:00
Damien Le Thiec
deb51e3880
Manage GET prefill by creating a dossier
2023-02-20 15:35:14 +01:00
Martin
a89f5d373f
amelioration(procedures#filtres): filtre par regions avec un enum sur la collection des regions normalisés
2023-02-20 11:47:14 +01:00
Martin
68de0c6566
correctif(procedures#filtres): le filtre par departement ne fonctionnait plus. utilise un enum sur la collection des departements possible normalisés
2023-02-20 11:47:14 +01:00
Damien Le Thiec
d2452980fe
Fix merge conflict spec
2023-02-16 20:17:05 +01:00
Damien Le Thiec
dce4c84f9a
Merge branch 'main' into feature/prefill_repetible
2023-02-16 17:08:30 +01:00
Damien Le Thiec
6231c75e07
Fix tests conflicts
2023-02-16 16:58:55 +01:00
Colin Darie
c968aa63d3
fix(a11y/password form): describedby rel with input and password rules
2023-02-16 16:15:40 +01:00
Colin Darie
31c99e935a
refactor(admin): migrate password form to DSFR components
2023-02-16 16:15:40 +01:00
Colin Darie
4f7839039d
refactor(password-complexity): as component for better form integration
2023-02-16 16:15:40 +01:00
Colin Darie
1f930dfe23
feat(user): can show password when editing password
2023-02-16 16:15:40 +01:00
Julie Salha
0e5deda86c
add scrolling functionnality for description procedure
2023-02-16 11:44:26 +01:00
Paul Chavard
c0ad7853cb
fix(administrateur): procedure page n+1
2023-02-16 11:29:21 +01:00
Sébastien Carceles
8c67df7130
review: use selected options
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-02-16 10:49:15 +01:00
sebastiencarceles
e344b97d51
review: readability
2023-02-16 10:49:15 +01:00
sebastiencarceles
d5ffd61ab6
validate values inclusion
2023-02-16 10:49:15 +01:00
sebastiencarceles
d648ac31c2
add prefill decorator for multiple drop down list
2023-02-16 10:49:15 +01:00
sebastiencarceles
cbe2dc9c2d
let the multiple drop down list be prefillable
2023-02-16 10:49:15 +01:00
Eric Leroy-Terquem
a46faf8cdf
feat(groupe instructeur mailer): make two kind of notifications for removed instructeur
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
5be58c8223
refactor(groupe instructeur mailer): rename mailer methods
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
cbf072961c
feat(groupe instructeur mailer): add emailing to removed instructeurs
2023-02-16 10:37:04 +01:00
Paul Chavard
ade9811d10
Revert "Merge pull request #8635 from tchak/graphql-with-traces"
...
This reverts commit 76520ec77d
, reversing
changes made to 2c729ff396
.
2023-02-16 10:07:07 +01:00
Martin
0fe027f408
a11y(main_menu): utilise aria-current=true plutot que avec page
2023-02-16 09:45:32 +01:00
Paul Chavard
74c6d45b74
feat(graphql): add tracing support for managers
2023-02-15 18:18:45 +01:00
Damien Le Thiec
96b9ec3f42
First fix tests
2023-02-15 18:13:16 +01:00
Damien Le Thiec
539b9e4f10
Merge branch 'main' into feature/prefill_repetible
2023-02-15 17:53:06 +01:00
Damien Le Thiec
4876d583b6
Merge branch 'main' into feature/prefill_repetible
2023-02-15 17:39:19 +01:00
Colin Darie
1de936e1d6
fix(procedures/all): table layout issue
2023-02-15 15:33:50 +01:00
Damien Le Thiec
5a89a2dbe4
Use Stable ID for repetitions prefill
2023-02-15 12:15:34 +01:00
sebastiencarceles
07b5a3b4b5
manage types de champ with multiple example values
2023-02-15 12:14:11 +01:00
sebastiencarceles
edf90a77f3
validate epci to reject incorrect prefill values
2023-02-15 12:14:11 +01:00
sebastiencarceles
5ac80f968a
add possible and example values
2023-02-15 12:14:11 +01:00
sebastiencarceles
f836f57e98
transform the input value to assignable attributes
...
Use the prefill decorator to transform the input value (for example
['01', '200042935']) into assignables attributes (for example
{ code_departement: '01', value: '200042935' }), in order to let the
champ be prefilled successfully.
2023-02-15 12:14:11 +01:00
sebastiencarceles
0f483668cf
let epci champ be prefillable
2023-02-15 12:14:11 +01:00
Paul Chavard
f6b528e497
chore(geo_area): normalize all geo_areas
2023-02-15 11:58:59 +01:00
Paul Chavard
8b74a6f39b
fix(geometry): implement our own bbox to replace rgeo
2023-02-15 11:58:59 +01:00
Martin
c45f15ff61
correctif(procedure/all.xsls): deconnecte le lien de telechargement de toutes les demarche de turbo
2023-02-15 11:26:21 +01:00
Damien Le Thiec
2533ca50d4
Merge branch 'main' into feature/prefill_repetible
2023-02-15 11:07:56 +01:00
Lisa Durand
b7a5f8bf7f
extract actions and info from dropdown
2023-02-14 17:57:50 +01:00
sebastiencarceles
6f65a4c2fe
🚨 line length
2023-02-14 13:49:41 +01:00
sebastiencarceles
681e1cf518
♻️ refactor possible_values impl for clarity
2023-02-14 13:45:30 +01:00
Julie Salha
6db07ca2a3
fix PR wording
2023-02-14 12:26:57 +01:00
Julie Salha
4fee6f3626
update label button
2023-02-14 12:17:44 +01:00
sebastiencarceles
a07446da6c
♻️ rename method for clarity
2023-02-14 11:45:39 +01:00
sebastiencarceles
0159a10969
🐛 make possible_values_list method public
2023-02-14 11:41:35 +01:00
sebastiencarceles
a77a0e2c7f
⚰️ dead code is dead
2023-02-14 11:35:35 +01:00
Julie Salha
81bc898cfb
optimization burger menu dsfr
2023-02-14 11:09:36 +01:00
sebastiencarceles
67ef3a16fa
review: put example values in translation yamls
2023-02-14 09:23:52 +01:00
Sébastien Carceles
12abf9045b
add external_id and value validation
2023-02-14 09:23:11 +01:00
Sébastien Carceles
a235829ddd
add possible and example values
2023-02-14 09:19:55 +01:00
Sébastien Carceles
cd3a72ddce
make departements champ prefillable
2023-02-14 09:19:19 +01:00
Damien Le Thiec
802a23057b
Microtest dossier prefill get without stored queries
2023-02-13 18:15:24 +01:00
mfo
76ef4ae96e
Merge pull request #8613 from colinux/email-template-subject-length
...
Email: limite le sujet généré à 100 caractères et utilise le sujet par défaut si le modèle est vide
2023-02-13 17:31:04 +01:00
sebastiencarceles
f0ffae8320
migrate(champs): normalize departements
2023-02-13 16:32:34 +01:00
Lisa Durand
58c287dad9
instructeur header dossier view restructuration
2023-02-13 15:41:18 +01:00
Damien Le Thiec
899c8a6589
Add documentation json parse rescue repetition
2023-02-13 14:17:53 +01:00
Martin
0a386994e5
correctif(messagerie): autorise l'usage des balises <a> dans la messagerie quand les messages viennent de l'administration
2023-02-13 13:45:08 +01:00
Martin
13cbbe9138
typo(fix): text+e
2023-02-13 11:43:44 +01:00
Sébastien Carceles
1a72b80f8f
fix: "remove" a champ to prefill ( #8612 )
...
* fix: "remove" a champ to prefill
Removing a champ to prefill on /preremplir used to fail, because of a
collusion (having the same form multiple times on un page looks like a
bad idea, when it comes to multiple input fields).
* fix specs
2023-02-13 08:17:22 +00:00
Damien Le Thiec
ea126612a1
Refacto to_assignable_attributes for prefill_repetition
2023-02-12 13:02:30 +01:00
Damien Le Thiec
fc94aaaa21
Use "to_assignable_attributes"
2023-02-12 11:55:28 +01:00
Damien Le Thiec
4a6841c009
Fix linter
2023-02-11 22:51:37 +01:00
Damien Le Thiec
dbb92e7fd3
Merge branch 'main' into feature/prefill_repetible
2023-02-11 22:40:56 +01:00
Damien Le Thiec
2a3ba28343
Fix tests possible value prefill
2023-02-11 22:27:16 +01:00
Damien Le Thiec
a4d707f942
Improve format prefill possible_values (tests missing)
2023-02-09 18:08:51 +01:00
Colin Darie
aeb602a63d
fix(mail): default subject fallback when subject template is empty
...
Closes #8448
2023-02-09 17:49:43 +01:00
Colin Darie
5526cb5173
fix(mail): limit generated subjects to 100 characters
2023-02-09 17:39:56 +01:00
Damien Le Thiec
4b0e6ea382
Convert datetime field to datetime_local ( #8572 )
...
* Convert datetime field to datetime_local
* Fix tests
* Add value formatting view datetime component
* Add helper datetime component value
2023-02-09 15:18:38 +01:00
sebastiencarceles
3404b5aa0b
review: wordings
2023-02-09 13:51:52 +01:00
sebastiencarceles
6c5b82ebbf
filter out locale from stored query params
...
As 'locale' isn't a param we want to prefill a dossier, we ignore it
and remove it from the stored query params.
2023-02-09 13:51:52 +01:00
sebastiencarceles
b3af9108cb
harmonize get and post: go to prefilled file
2023-02-09 13:51:52 +01:00
sebastiencarceles
e212055ef8
tell when query params have been stored
2023-02-09 13:51:52 +01:00
Julie Salha
bc06600b0d
optimization return to the line of longs links
2023-02-09 13:05:28 +01:00
Colin Darie
e626eb69ce
feat(admin): import groupe instructeurs csv when procedure is closed
2023-02-09 11:17:13 +01:00
Colin Darie
a4329b6699
chore(export/job): set procedure_id for sentry
2023-02-09 11:06:54 +01:00
Colin Darie
964f3829c6
fix(export/job): race condition when export was already generated
2023-02-09 11:06:54 +01:00
Colin Darie
8a859402ad
chore(mailer): setup Services Publics+ by env var so instances can have their owns
2023-02-09 10:47:53 +01:00
Colin Darie
d78c75620a
chore(mailer): services publics + only for Termine "states"
2023-02-09 10:47:53 +01:00
Colin Darie
82ad6346cc
chore(service-plus): replace svg by png, micro improve layout for clients compat
2023-02-09 10:47:53 +01:00
Lisa Durand
dfb1863d92
add logo service plus
2023-02-09 10:47:53 +01:00
Lisa Durand
2396ff3355
add service plus in notification emails
2023-02-09 10:47:53 +01:00
Paul Chavard
5f0e9f7313
fix(graphql): fixing couple of n+1
2023-02-09 10:37:44 +01:00
Kara Diaby
f212fa1008
Permet de cloner une démarche depuis la page toutes les démarches
2023-02-09 08:28:30 +00:00
Damien Le Thiec
c5f1f80d25
Add prefill params tests repetition
2023-02-08 17:38:51 +01:00
Paul Chavard
f22cc8812b
secu(graphql): log full queries and variables
2023-02-08 15:10:27 +01:00