Commit graph

17465 commits

Author SHA1 Message Date
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
mfo
041d1c372f
Merge pull request #8618 from mfo/US/typo
typo(fix): text+e
2023-02-13 11:50:40 +01:00
Martin
13cbbe9138 typo(fix): text+e 2023-02-13 11:43:44 +01:00
mfo
e0da997a9b
Merge pull request #8593 from demarches-simplifiees/migration/normalize-regions
migrate(champs): normalize regions
2023-02-13 09:22:34 +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
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
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
sebastiencarceles
d2f5fe5ff5 migrate(champs): normalize regions 2023-02-09 10:46:17 +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