Commit graph

15327 commits

Author SHA1 Message Date
Martin
87af7f3261 feat(exports): implement admin export 2022-07-20 14:08:33 +02:00
LeSim
18eb241e1a
Merge pull request #7589 from betagouv/fix_cascade_and_conditional
fix(conditionnel): la valeur d'un champ est nul si le champ est caché
2022-07-20 11:28:37 +02:00
simon lehericey
72583f846b champ value return nil if champ is hidden 2022-07-20 11:23:57 +02:00
simon lehericey
d1e3a0d29f spec 2022-07-20 11:23:57 +02:00
Paul Chavard
c61e411328
Merge pull request #7590 from tchak/fix-linked-drop-down-lists
fix(champ): allow to submit when secondary options are empty
2022-07-20 11:00:27 +02:00
Paul Chavard
e85fe71887 fix(champ): allow to submit when secondary options are empty 2022-07-20 10:49:07 +02:00
Paul Chavard
36df41c1e4
Merge pull request #7587 from betagouv/wording
hide internal zone word to admin
2022-07-19 16:41:51 +02:00
simon lehericey
0fc9fc095c hide internal zone word to admin 2022-07-19 16:04:47 +02:00
Paul Chavard
9da86c4544
Merge pull request #7567 from tchak/fix-do-not-include-preview-in-dossiers-count
fix(dossier): do not include preview dossiers in dossiers counts
2022-07-19 11:22:20 +02:00
Paul Chavard
9fec11bfd0 refactor(dossier): use size and empty? instead of count 2022-07-19 11:11:46 +02:00
Paul Chavard
1657605ef1 fix(dossier): do not include preview dossiers in dossiers counts 2022-07-19 11:11:46 +02:00
mfo
8993c84eb7
Merge pull request #7583 from betagouv/revert/fix-event-polyfill
more fix other ie11 issues
2022-07-19 10:57:14 +02:00
Martin
4048dc1ae6 fix(dom4): maybe missing replaceWith 2022-07-19 10:52:55 +02:00
Martin
850f9375b7 fix(ujs-error-handling): sometimes body is not yet ready,other calls regarding ajax namespace are wired on document, copy/paste 2022-07-19 10:52:55 +02:00
Martin
40df4bee84 fix(polyfills): maybe missing core-js 2022-07-19 10:52:55 +02:00
Martin
5932f2a1f6 fix(MutationObserver): IE 11 kind of silent error: https://stackoverflow.com/questions/50593385/mutationobserver-syntax-error-on-ie-11 2022-07-19 10:52:55 +02:00
Martin
b01161c471 fix(ie): now failing on custom event 2022-07-19 10:52:55 +02:00
Martin
f7215a3dea fix(polyfill): make it works on ie11 2022-07-19 10:52:55 +02:00
Martin
1d33fd9db3 fix(formdata-polyfill): retry with babel as transpiler 2022-07-19 10:52:55 +02:00
Martin
99350e45dd Revert "Merge pull request #7579 from betagouv/US/fix-event-target-polyfill"
This reverts commit 27ed32bff0, reversing
changes made to 795570b039.
2022-07-19 10:52:55 +02:00
Paul Chavard
24d7cbb4e1
Merge pull request #7582 from betagouv/conditional_small_fixes
fix(conditionnel): fait marcher les operateurs lorsque les usagers n'ont pas remplis les champs
2022-07-19 10:16:07 +02:00
simon lehericey
2d26ba3507 fix: binary operator computes false by default 2022-07-19 10:11:24 +02:00
mfo
27ed32bff0
Merge pull request #7579 from betagouv/US/fix-event-target-polyfill
Us/fix event target polyfill
2022-07-18 17:22:15 +02:00
Martin
8a439be506 fix(polyfill): remove usage of backticks / template so it works with ie11 2022-07-18 16:55:45 +02:00
Martin
aab203aaae fix(event-target-polyfill): do not use template literal for polyfills 2022-07-18 16:55:45 +02:00
Paul Chavard
795570b039
Merge pull request #7568 from tchak/fix-issue-7411
fix(champ): use safe_join in champ helpers
2022-07-18 16:40:26 +02:00
Paul Chavard
0578f4f305 fix(champ): use safe_join in champ helpers
fix #7411
2022-07-18 16:29:41 +02:00
Paul Chavard
5abc17fe74
Merge pull request #7581 from tchak/fix-gon-type
fix(gon): matomo key can be a number
2022-07-18 16:19:21 +02:00
Paul Chavard
a45b76e63a fix(gon): matomo key can be a number 2022-07-18 16:08:42 +02:00
LeSim
84a048ac47
Merge pull request #7578 from betagouv/improve_perf_in_editor
Improve perf in editor
2022-07-18 14:36:50 +02:00
simon lehericey
c0e8a07868 perf: 500 queries -> 250 procedure show (id: 34908) 2022-07-18 14:28:35 +02:00
simon lehericey
9cfa6205b5 perf: editor public 250 queries -> 15 queries 2022-07-18 14:28:35 +02:00
mfo
cc841e49ad
Merge pull request #7551 from mfo/US/max_duree_conservation
feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12
2022-07-18 14:15:37 +02:00
mfo
4b6ae888d2 Update app/views/administrateurs/procedures/_informations.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-07-18 14:08:53 +02:00
Martin
8ca3a9760b feat(procedure/_information): show new policy regarding data retention [translated so other instances can adapt their support strategy] 2022-07-18 14:08:53 +02:00
Martin
05b6b462b6 feat(new_max_duree_conservation): make it configurable for other instances 2022-07-18 14:08:53 +02:00
Martin
24c8dc5829 feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12 2022-07-18 14:08:53 +02:00
mfo
df85d51556
Merge pull request #7574 from betagouv/US/patch-webcomponent-template
fix(ie11): @webcomponents used template interpolation
2022-07-18 14:07:33 +02:00
Martin
ec9c2849ff fix(ie11): @webcomponents used template interpolation 2022-07-18 13:23:37 +02:00
LeSim
0340983706
Merge pull request #7570 from betagouv/update_rails
chore: bump rails to 6.1.6.1
2022-07-18 10:37:43 +02:00
simon lehericey
8cd9a91fd7 fix local 2022-07-18 10:17:52 +02:00
simon lehericey
0455010360 bump rails 2022-07-18 10:17:52 +02:00
Colin Darie
1c42d5f63c
Merge pull request #7571 from betagouv/usager/edit-siret-in-draft
feat: allows user to edit civility / siret from a dossier en brouillon
2022-07-18 10:11:29 +02:00
Colin Darie
dea1ce40a9 feat(dossier): allows user to edit identity from a brouillon dossier
Closes #7386
2022-07-18 09:57:19 +02:00
Colin Darie
d3232a28cd chore(api_entreprise): intercept token expiration for a more contextual frontend message
Auparavant le service échouait silencieusement et ne retournait rien,
ce qui dans les implémentations du front aboutissait au message que
l'établissement/l'entreprise n'a pas été trouvé.

Un type d'erreur spécifique sur l'expiration du token permet d'afficher
le message lié à un problème temporaire de récupération d'infos.
2022-07-18 09:57:19 +02:00
Colin Darie
5e1fc855e3
Merge pull request #7555 from betagouv/ux/input-sizes
UX/input sizes
2022-07-18 09:56:28 +02:00
Colin Darie
1c96ca59dd style(combo): better inputs sizes for pays/regions/departement/communes champs 2022-07-18 09:48:35 +02:00
Colin Darie
71e7f51753 style(champ): remove generic placeholders because new DSFR don't like placeholders in input 2022-07-18 09:48:35 +02:00
Colin Darie
bf20bcf476 style(champ): fix date input width on mobile 2022-07-18 09:48:35 +02:00
Colin Darie
7f7e192df9 style(champs): each composite inputs on its own line (cnaf, dgfip…) with standard width 2022-07-18 09:48:35 +02:00