Commit graph

18055 commits

Author SHA1 Message Date
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
6b70fd6af4
Merge pull request #8608 from demarches-simplifiees/a11y-8204-burger-menu
a11y : optimization burger menu dsfr Closes #8608
2023-02-14 11:18:31 +01:00
Julie Salha
ee009a2c7e fix PR: delete translations 2023-02-14 11:09:36 +01:00
Julie Salha
81bc898cfb optimization burger menu dsfr 2023-02-14 11:09:36 +01:00
Sébastien Carceles
064f969f82
Merge pull request #8472 from demarches-simplifiees/prefill/departement
feat(dossier): prefill departements champ
2023-02-14 09:37:37 +01:00
sebastiencarceles
67ef3a16fa review: put example values in translation yamls 2023-02-14 09:23:52 +01:00
sebastiencarceles
a56efe22e5 review: link about department numbers 2023-02-14 09:23:35 +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
mfo
b16defd9e8
Merge pull request #8595 from demarches-simplifiees/migration/normalize-departements
migrate(champs): normalize departements
2023-02-13 17:27:47 +01:00
sebastiencarceles
daa7e17e70 review: avoid in_batches 2023-02-13 16:32:34 +01:00
sebastiencarceles
f0ffae8320 migrate(champs): normalize departements 2023-02-13 16:32:34 +01:00
mfo
624c95b264
Merge pull request #8617 from mfo/US/fix-admin-links
correctif(messagerie): autorise l'usage des balises <a> dans la messagerie quand les messages viennent de l'administration
2023-02-13 16:25:20 +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
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
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
Fabrice Gangler
d5f40cfd96
docs: add DATAGOUV_STATISTICS_DATASET environment variable to env.example.optional file
Refs: #8615
2023-02-10 12:40:38 +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
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