Commit graph

17507 commits

Author SHA1 Message Date
Martin
2edfcdd652 correctif(liens.invitations): utilise le mapping rails as: :target_model, sinon on requete uniquement par l'id du model, qui peut etre problématique en cas de relation polymorphiques avec des ensembles d'id se superposant 2023-01-31 16:33:31 +01:00
Martin
4f4791a864 bug(liens-invitation): ne devrait pas pointer sur l'avis ayant le même id que l'invitation 2023-01-31 16:33:31 +01:00
mfo
42f93e241f
Merge pull request #8538 from mfo/US/fix-transfert-with-uppercase
correctif(dossiers.transfert): ne fonctionne pas quand on saisi un mail avec une majuscule
2023-01-31 16:14:10 +01:00
Martin
f6aa30763a donnees(correctif): corrige les transfers de dossiers ayant un email contenant des lettres capitales 2023-01-31 14:52:57 +01:00
Martin
88553eec9b correctif(dossier_transfer): le transfer de dossier vers un email contenant des majuscule ne fonctionnait pas 2023-01-31 14:52:57 +01:00
Colin Darie
472759f688
Merge pull request #8536 from colinux/fix-procedure-presentation-groupe-instructeurs
fix(instructeurs): filtre "Groupe instructeur" avec seulement les groupes de la démarche
2023-01-31 14:08:50 +01:00
Colin Darie
5cddb1c74e fix(procedure_presentation): options groupe_instructeur for that procedure only 2023-01-31 13:55:06 +01:00
Colin Darie
6468d16d5c
Merge pull request #8531 from colinux/fix-dropdown-click-outside
fix(menu): js error on click outside before unloading menu
2023-01-31 12:16:26 +01:00
Colin Darie
be020e1031 fix(dropdown): error when click outside before unloading menu
Co-Authored-by: mfo <mfo@users.noreply.github.com>
2023-01-31 12:09:50 +01:00
Paul Chavard
570c06e53e
Merge pull request #8532 from tchak/fix-parser-with-dashes
fix(dossier): fix parser with dashes
2023-01-31 11:20:00 +01:00
Paul Chavard
dcbe16603a fix(dossier): fix parser with dashes 2023-01-31 10:40:48 +01:00
Colin Darie
a462ff3f67
Merge pull request #8530 from colinux/fix-form-combobox-without-file
fix(combobox): form submit when form has combobox and file input without file selected
2023-01-31 09:52:00 +01:00
Colin Darie
efea44b9ba fix(combobox): form submission when form has combobox and input file without file selected 2023-01-31 09:44:41 +01:00
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