Commit graph

17408 commits

Author SHA1 Message Date
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
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
Sébastien Carceles
9c26d76f28
Merge pull request #8598 from demarches-simplifiees/prefill-dossier-buttons
feat(prefill): harmonize prefill buttons
2023-02-09 13:57:42 +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
7a254d124f feature spec cover 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
sebastiencarceles
73fa572236 spec cover 2023-02-09 13:51:52 +01:00
Julie Salha
b6da27fe0b
Merge pull request #8606 from demarches-simplifiees/a11y-8119-no-horizontal-scrolling-fix
a11y : optimization return to the line of longs links
2023-02-09 13:14:58 +01:00
Julie Salha
bc06600b0d optimization return to the line of longs links 2023-02-09 13:05:28 +01:00
Paul Chavard
27f25cd57d
Merge pull request #8607 from tchak/fix-published-revisions
fix(revision): backfill missing published_at
2023-02-09 12:00:08 +01:00
Paul Chavard
e3446c2ad1 fix(revision): backfill missing published_at 2023-02-09 11:52:41 +01:00
Colin Darie
4da276bbd5
Merge pull request #8605 from colinux/admin-import-instructeurs-csv
feat(admin): permet l'import de groupes instructeurs en CSV quand la démarche est close
2023-02-09 11:29:17 +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
24f9058889
Merge pull request #8603 from colinux/fix-export-race-condition
fix(export/job): race condition when export was already generated
2023-02-09 11:15:40 +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
4b480de9b7
Merge pull request #8577 from demarches-simplifiees/add-services-public-plus-in-emails
ETQ usager, je peux donner mon avis sur "services publics +" depuis un mail reçu une fois mon dossier traité
2023-02-09 10:59:32 +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
66e1f39778
Merge pull request #8604 from tchak/graphql-optimize
fix(graphql): fixing couple of n+1
2023-02-09 10:44:35 +01:00
Paul Chavard
5f0e9f7313 fix(graphql): fixing couple of n+1 2023-02-09 10:37:44 +01:00
Kara Diaby
18cdcecd92
Merge pull request #8551 from demarches-simplifiees/feat/8368
ETQ admin, je peux cloner une démarche à partir de la vue "toutes les démarches"
2023-02-09 10:19:39 +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
Paul Chavard
9733121fca
Merge pull request #8599 from tchak/fix-lograge
fix(lograge): send client_ip and request_id to es
2023-02-08 20:15:41 +01:00
Paul Chavard
6f67ea09bb fix(lograge): send client_ip and request_id to es 2023-02-08 20:09:19 +01:00
Colin Darie
46a6e3054b
Merge pull request #8601 from colinux/fix_geo_areas_without_geometry
fix(geo_area): geo_area.geometry must be valid JSON, not nil
2023-02-08 18:21:07 +01:00
Colin Darie
2c1465a8cc
fix(geo_area): geo_area.geometry must be valid JSON, not nil 2023-02-08 16:55:35 +01:00
Colin Darie
a3bf94e431
Merge pull request #8597 from colinux/rails-log-level
chore(prod): decrease log level to info in production
2023-02-08 16:17:32 +01:00
Colin Darie
5aba442e2a chore(prod): decrease log level to info in production 2023-02-08 16:09:43 +01:00
Paul Chavard
a217072b4f
Merge pull request #8596 from tchak/secu-log-graphql-queries
secu(graphql): log full queries and variables
2023-02-08 15:20:03 +01:00
Paul Chavard
f22cc8812b secu(graphql): log full queries and variables 2023-02-08 15:10:27 +01:00
Paul Chavard
384e861f8e
Merge pull request #8594 from tchak/fix-rebase-destroy-champ
fix(dossier): prevent crash when updating champs in rebase
2023-02-08 15:07:42 +01:00
Paul Chavard
1693e46acb fix(dossier): prevent crash when updating champs in rebase 2023-02-08 14:56:26 +01:00
Colin Darie
ea51e7d3f5
Merge pull request #8585 from colinux/fix-procedure-draft-delete-dossiers
fix(dossier/démarche en test): peut détruire des dossiers référencés dans des opérations de masse
2023-02-08 14:49:12 +01:00
Colin Darie
786c3d06d6 chore(sentry): set procedure tag to administrateur controller 2023-02-08 14:42:14 +01:00
Colin Darie
0958053c72 chore(dossier): can destroy dossier having dossier_batch_operations
Ça peut arriver lors des démarches en test, avec des dossiers tests
en cours d'instruction.
2023-02-08 14:42:14 +01:00
Paul Chavard
7d12b2ad3b
Merge pull request #8587 from tchak/fix-changes-order
fix(dossier): prevent crash in rebase
2023-02-08 13:43:33 +01:00
Paul Chavard
dc9a455d22 fix(dossier): prevent crash in rebase 2023-02-08 11:11:14 +01:00
Colin Darie
453732257d
Merge pull request #8581 from E-L-T/do-not-notify-instructeurs-when-adding-other-instructeurs
feat(groupe instructeurs): remove mailing when adding instructeurs
2023-02-08 11:04:13 +01:00
Eric Leroy-Terquem
0e60d6bb11 clean(groupe instructeurs): remove unused method 2023-02-08 10:36:42 +01:00
Eric Leroy-Terquem
22089efa12 test(groupe instructeurs): add test and preview when removing instructeurs 2023-02-08 10:36:42 +01:00
Eric Leroy-Terquem
6cbc514d56 feat(groupe instructeurs): remove mailing when add instructeurs 2023-02-08 10:36:42 +01:00
Colin Darie
b109f206ee
Merge pull request #8591 from colinux/fix-dolist-api-wo-recipients
fix(dolist): n'envoie pas de mail par Dolist API s'il contient des destinataires cachés
2023-02-07 16:58:56 +01:00
Colin Darie
6fa692d22e
fix(dolist): don't delivery by API emails having bcc 2023-02-07 16:51:44 +01:00
mfo
b1440ac5ee
Merge pull request #8590 from demarches-simplifiees/add-external-id-index
add external id index to champs
2023-02-07 15:28:18 +01:00