Commit graph

19395 commits

Author SHA1 Message Date
Paul Chavard
a40c39fc9c
Merge pull request #8494 from tchak/fix-only_present_on_draft
fix(only_present_on_draft?): broken when type_de_champ is removed from later revisions
2023-01-31 09:34:00 +01:00
Paul Chavard
ca05fb753b fix(only_present_on_draft?): broken when type_de_champ is removed from later revisions 2023-01-31 09:26:50 +01:00
mfo
b1d94317b2
Merge pull request #8529 from colinux/fix-pdf-annotations-privees
fix(instructeurs): exports PDF avec annotations privées
2023-01-31 09:23:59 +01:00
Colin Darie
36d5569114 fix(instructeurs): pdf in exports include info administration 2023-01-30 18:38:54 +01:00
Colin Darie
ef864021f7 refactor(pj_service): explicit options with_{bills,champs_private} because expert & instructeurs does not need the same 2023-01-30 18:04:09 +01:00
mfo
b07dc3cddb
Merge pull request #8528 from mfo/US/fix-morph
correctif(typo): remplace le dernier usage de morph par replace
2023-01-30 17:28:40 +01:00
Martin
3fbe44b09a correctif(typo): remplace le dernier usage de morph par replace 2023-01-30 16:38:53 +01:00
Colin Darie
911e84263f
Merge pull request #8526 from demarches-simplifiees/fix/new-tab
fix: add title to new tab link
2023-01-30 15:26:00 +01:00
sebastiencarceles
bad7b24bf2 fix: add title to new tab link 2023-01-30 15:17:59 +01:00
Colin Darie
960ba98378
Merge pull request #8525 from colinux/fix-dropdown-turbo
fix(menu_component): tag html options must be set as keyword args, not hash
2023-01-30 15:16:03 +01:00
Colin Darie
3402279b08 fix(menu_component): tag html options must be set as keyword args, not hash 2023-01-30 15:03:16 +01:00
Sébastien Carceles
d3e0046e9b
prefill: open possible values in a new tab (#8524) 2023-01-30 14:55:46 +01:00
Colin Darie
938e524060
Merge pull request #8504 from mfo/US/fix-date-champs
correct(champs::date): renforce la validation d'un champs de type date
2023-01-30 13:08:25 +01:00
Martin
dbe64cf0c8 correctif(date_champ): renforce la validation avec le parsing de la date plutot qu'une approche par regexp 2023-01-30 13:01:24 +01:00
Martin
78f9910fd0 bug(date): la validation est trop lache 2023-01-30 13:01:24 +01:00
Colin Darie
c04dcb47e4
Merge pull request #8498 from demarches-simplifiees/a11y-8213-contact-explicit-links
a11y : contact standardize links
2023-01-30 12:53:40 +01:00
Colin Darie
43d854f6b1 fix(contact): yaml syntax 2023-01-30 12:46:04 +01:00
Julie Salha
1175edd64e fix PR index 2023-01-30 12:46:04 +01:00
Julie Salha
a59f3a142e fix PR index 2023-01-30 12:46:04 +01:00
Julie Salha
160520c406 contact standardize links 2023-01-30 12:46:04 +01:00
Colin Darie
1ec8196efd
Merge pull request #8491 from colinux/fix-drop-down-other-value-override
Fix: champ "autre" d'une liste déroulante qui écrasait une option de la liste
2023-01-30 12:24:06 +01:00
Colin Darie
3265fff30e fix(dropdown): wait "other" input to be disabled before autosave
Fix le workflow suivant pour un champ drop down avec option "autre" :

- on choisit la valeur "autre" avec une valeur => ça autosave la bonne valeur
- on choisit finalement une autre valeur proposée => l'autosave envoyait
  la nouvelle valeur, et toujours la valeur "other" car l'input n'était pas encore
  `disabled`. Par conséquent la valeur other overridait la valeur choisie
  et ça provoquait des erreurs en cascade, notamment dans le conditionnel.
2023-01-30 12:16:25 +01:00
Colin Darie
c15ad573bc feat(dropdown/a11y): "other" input with label and autofocus 2023-01-30 12:16:25 +01:00
Paul Chavard
4f70185a6c
Merge pull request #8514 from tchak/fix-dossier-rebase-no-touch-all
fix(dossier): set rebased_at only on changed champs
2023-01-30 12:09:45 +01:00
Paul Chavard
6cacfbdf32 refactor(dossier): refactor rebase 2023-01-30 12:01:11 +01:00
Paul Chavard
2f4e85f163 fix(dossier): set rebased_at only on changed champs 2023-01-30 12:01:11 +01:00
Paul Chavard
905d1f2605
Merge pull request #8515 from tchak/fix-tags-validation
Améliorations sur la validation des balises dans les attestations
2023-01-30 12:00:24 +01:00
Paul Chavard
626b28ca16 perf(tags parser): improuve parser perf 2023-01-30 11:52:35 +01:00
Paul Chavard
d82620d1ff fix(attestation template): validate on edit form load 2023-01-30 11:52:35 +01:00
Colin Darie
17141a26d5
Merge pull request #8520 from colinux/fix-stimulus-on-handler
fix(stimulus): "on" handler having target
2023-01-30 11:52:06 +01:00
Colin Darie
ec1ae25bb4 fix(stimulus): on handler having target 2023-01-30 11:34:24 +01:00
Eric Leroy-Terquem
2aa6e635f1
Merge pull request #8511 from E-L-T/add-reminded-at-field-to-avis
feat(avis): add reminded_at field to avis
2023-01-30 11:21:32 +01:00
Eric Leroy-Terquem
1b67f93c66 feat(avis): add reminded_at field to avis 2023-01-30 11:13:23 +01:00
Paul Chavard
22f3442a75
Merge pull request #8516 from tchak/fix-clone-with-data
fix(dossier): fix clone with data
2023-01-30 11:05:22 +01:00
Paul Chavard
298721f90d fix(dossier): fix clone with data 2023-01-30 10:58:26 +01:00
Colin Darie
efa1366086
Merge pull request #8519 from demarches-simplifiees/dependabot/bundler/sanitize-6.0.1
chore(deps): bump sanitize from 6.0.0 to 6.0.1
2023-01-30 10:42:50 +01:00
dependabot[bot]
e2f99a814a chore(deps): bump sanitize from 6.0.0 to 6.0.1
Bumps [sanitize](https://github.com/rgrove/sanitize) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/rgrove/sanitize/releases)
- [Changelog](https://github.com/rgrove/sanitize/blob/main/HISTORY.md)
- [Commits](https://github.com/rgrove/sanitize/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: sanitize
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:36:16 +01:00
Colin Darie
840b34890d
Merge pull request #8510 from demarches-simplifiees/a11y-8073-tags-used-for-presentation
a11y : sign in remove tags used only for presentation
2023-01-30 10:31:41 +01:00
Julie Salha
61042cd51e fix PR 2023-01-30 10:24:22 +01:00
Julie Salha
d059e3d5ff sign in remove tags used only for presentation 2023-01-30 10:24:22 +01:00
Colin Darie
abf9a4e477
Merge pull request #8509 from demarches-simplifiees/a11y-8057-tags-used-for-presentation
a11y : update html tags card-title
2023-01-30 10:14:10 +01:00
Julie Salha
59980fa3dd update html tags card-title 2023-01-30 10:07:20 +01:00
Colin Darie
09b4eb9879
Merge pull request #8496 from demarches-simplifiees/a11y-8168-footer-tags-used-for-presentation
a11y : footer remove br tags
2023-01-30 10:06:29 +01:00
Damien Le Thiec
81df033282 First draft repeatable 2023-01-26 17:57:57 +01:00
Julie Salha
2a9a79a673 footer remove br tags 2023-01-26 17:41:02 +01:00
Colin Darie
dfd5bdf44d
Merge pull request #8508 from colinux/perf-instructeurs
perf: gros gain sur les pages dossier des instructeurs
2023-01-26 15:12:17 +01:00
Colin Darie
923ee59e92 refactor(instructeurs/perf): don't load anymore geo areas for each champ because of header
Economise 1 requête par champ sur chaque page instructeur d'un dossier
à cause du header juste pour savoir s'il faut afficher
le bouton d'export GeoJSON.
2023-01-26 14:57:45 +01:00
Julie Salha
a6c3143961
Merge pull request #8507 from demarches-simplifiees/a11y-8225-search-engine
a11y : update structure search engine
2023-01-26 14:37:12 +01:00
Julie Salha
5f3ac1c61c update structure search engine 2023-01-26 14:11:21 +01:00
mfo
8af5ba434b
Merge pull request #8360 from mfo/US/dropdown_component
POC - amelioration(menu): extraction des menu dans un composant ruby pour ne pas dupliquer les changements aria partout ds la codebase
2023-01-26 12:39:43 +01:00