Commit graph

17269 commits

Author SHA1 Message Date
Damien Le Thiec
63e7c17fda First tests for prefill repetition 2023-02-03 12:14:18 +01:00
Damien Le Thiec
e7c78321d9 Fix new failing tests 2023-02-01 13:35:32 +01:00
Damien Le Thiec
a4645855d3 Fix tests prefillable repetition 2023-02-01 12:02:09 +01:00
Damien Le Thiec
5a7b740f58 Clean rubocop alerts 2023-01-31 17:06:00 +01:00
Damien Le Thiec
4a5e866974 Fix problem schema 2023-01-31 17:01:38 +01:00
Damien Le Thiec
4a07fd6223 Merge branch 'main' into feature/prefill_repetible 2023-01-31 16:49:40 +01:00
Damien Le Thiec
e1748a2666 Fix "see more" link for prefillable fields 2023-01-31 16:48:38 +01:00
mfo
3e085d94d2
Merge pull request #8539 from mfo/fix-targeted-user-link-inscoped-by-type
correctif(invitations): peuvent reférencer le mauvais usager
2023-01-31 16:40:20 +01:00
Damien Le Thiec
d7b01255fe Merge branch 'main' into feature/prefill_repetible 2023-01-31 16:39:00 +01:00
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
Damien Le Thiec
f91cc05d95 Small fix link to prefill type de champ 2023-01-31 16:24:32 +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
Damien Le Thiec
20ba96ba3c POST working with prefill query example for repeating fields 2023-01-31 14:54:23 +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