Commit graph

18257 commits

Author SHA1 Message Date
LeSim
22d0ad64db
Merge pull request #8781 from demarches-simplifiees/copy_past_siret
Ajoute un raccourci pour copier un siret dans la vue instructeur
2023-03-21 08:06:15 +00:00
Paul Chavard
281ee20af9 fix(dossier): do not show features list if more then 20 2023-03-20 18:30:00 +01:00
simon lehericey
1ffeaf6c34 feat(siret): add copy shortcut on siret 2023-03-20 17:45:58 +01:00
Colin Darie
f8d075c187
fix(siret): remove message "nous récupérons…" without siret 2023-03-20 14:32:14 +01:00
Colin Darie
954652fcf5
fix(champ): may fix pg deadlocks: autosave already saves value at the same time 2023-03-20 14:32:14 +01:00
krichtof
da49497f0b
Merge pull request #8726 from demarches-simplifiees/disable-otp-4-super-admin
desactive le 2FA suivant la config
2023-03-20 10:34:27 +00:00
mfo
76cf93c189
Merge pull request #8773 from mfo/US/49.3
amelioration(placeholder): les champs de type decimaux ont comme placeholder 49.3
2023-03-17 20:53:00 +00:00
Martin
49080b3e62 amelioration(placeholder): les champs de type decimaux ont comme placeholder 49.3 2023-03-17 21:43:47 +01:00
Lisa Durand
893ee5801e
Merge pull request #8743 from demarches-simplifiees/ask-question-in-avis
[instructeurs] Je peux poser une question dans une demande d'avis
2023-03-17 15:10:51 +00:00
Colin Darie
358bccd79a
Merge pull request #8772 from colinux/fix-after-party-typo
fix(after-party): typo in task name
2023-03-16 17:16:47 +00:00
Colin Darie
fed29651b2 fix(after-party): typo in task name 2023-03-16 18:06:44 +01:00
Colin Darie
83a3421537
Merge pull request #8769 from colinux/fix-annotations-privees-champ-type-mismatch
Fix: crash d'annotations privées à cause d'une incohérence avec leur type de champ
2023-03-16 15:55:56 +00:00
Colin Darie
397b5ac489
Merge pull request #8765 from colinux/pdf-timeout-carte-generation
Fix dossier/pdf: remplace les feature collections du champ carte par les libellés de sélection utilisateur
2023-03-16 15:40:00 +00:00
LeSim
297ac4259f
Merge pull request #8771 from demarches-simplifiees/deprecate_old_token
déprécie les jetons d'api v1 / v2
2023-03-16 15:25:41 +00:00
simon lehericey
ca63cc34ab feat(token depreciation): add mail alert 2023-03-16 16:16:45 +01:00
simon lehericey
9ae4dbd4af feat(token depreciation): add alert on profile 2023-03-16 15:39:33 +01:00
Colin Darie
5231ad8d7d
fix(dossier/pdf): champ carte with geo area labels instead of future collection
Parfois des geo areas sont extrêmement détaillés avec des milliers de points,
et empêchaient la génération de PDF avec l'ensemble des feature
collections.

A la place on liste les labels de type "un ligne de 85 m"
2023-03-16 15:38:21 +01:00
Colin Darie
4ae18af3cd
fix(annotations-privees): mismatch Champ.type <> TypeDeChamp.type_champ due to buggy rebases 2023-03-16 14:52:12 +01:00
Paul Chavard
f4f55183de
Merge pull request #8768 from tchak/fix-graphql-attachement
fix(graphql): return empty array when no attachments
2023-03-16 10:44:50 +00:00
LeSim
b13cfa0bd6
Merge pull request #8764 from demarches-simplifiees/update_puma
update to puma 6.1.1
2023-03-16 10:34:27 +00:00
Lisa Durand
215c989a6c add question_answer in pdf and change local for optional field 2023-03-16 11:32:05 +01:00
Lisa Durand
ee2f795dec pr feedbacks - add validation for yes/no answer - improve locales use 2023-03-16 11:32:05 +01:00
Lisa Durand
3b3d5182bf add new column to spreadsheets 2023-03-16 11:32:05 +01:00
Lisa Durand
38c84115e6 reorganise file order for more consistency 2023-03-16 11:32:05 +01:00
Lisa Durand
eddd7a2192 add flash alert if email field empty 2023-03-16 11:32:05 +01:00
Lisa Durand
1cbafd1e0b remove unused view instruction for instructeur 2023-03-16 11:32:05 +01:00
Lisa Durand
01afa998b6 add specs 2023-03-16 11:32:05 +01:00
Lisa Durand
5b0570d289 add new fields to serializer 2023-03-16 11:32:05 +01:00
Lisa Durand
0679fdc55f delete duplicated form file 2023-03-16 11:32:05 +01:00
Lisa Durand
a4a99a72ec first step to add question in experts avis 2023-03-16 11:32:05 +01:00
LeSim
bb442ccfe3
Merge pull request #8766 from demarches-simplifiees/better_api_log
Better api log
2023-03-16 10:19:10 +00:00
Paul Chavard
4ba3c0e650 fix(graphql): return empty array when no attachments 2023-03-16 10:59:08 +01:00
simon lehericey
8b5d493f12 clean: log current_user in api v2, when not using token_v3 2023-03-16 10:06:23 +01:00
simon lehericey
7a6658700e clean: log current_user in api v1 2023-03-16 10:06:23 +01:00
simon lehericey
c0ca9f156e clean: remove unused Current.instructeur 2023-03-15 21:51:02 +01:00
simon lehericey
a984c21f64 clean: remove unused Current.administrateur 2023-03-15 21:51:02 +01:00
Paul Chavard
9ead0daf32
Merge pull request #8623 from tchak/feat-api-token-procedure
feat(api_token): enable fine grained access rights on tokens
2023-03-15 18:17:41 +00:00
Paul Chavard
d481222110 refactor(graphql): extract compute_demarche_authorization 2023-03-15 19:09:49 +01:00
Paul Chavard
42e74dfc76 feat(api_token): enable fin graned access rights on tokens 2023-03-15 19:09:49 +01:00
Paul Chavard
8ee13f1719 feat(api_token): add allowed_procedure_ids and write_access 2023-03-15 19:09:49 +01:00
Paul Chavard
85d31632e3 feat(graphql): add read_only check to mutations 2023-03-15 19:09:49 +01:00
Paul Chavard
64f79bb6d8 feat(api_token): add allowed_procedure_ids to api tokens 2023-03-15 19:09:49 +01:00
Colin Darie
84271526f3 fix(admin): translation keys for private revision changes 2023-03-15 19:00:17 +01:00
Colin Darie
e2ec46a5ba
chore(sentry): set dossier scope for instructeurs as well 2023-03-15 18:59:44 +01:00
Colin Darie
17361b8644
Merge pull request #8761 from colinux/fix-siret-non-diffusible
Fix: masque le nom de l'entreprise aux usagers lorsqu'elle exerce sont droit de non diffusion
2023-03-15 17:09:45 +00:00
Colin Darie
9ac4622d29
Merge pull request #8763 from colinux/infra-monitoring
Infra: log process id traitant chaque requête
2023-03-15 17:09:37 +00:00
simon lehericey
b04a85d74d update capybara 2023-03-15 15:19:16 +01:00
simon lehericey
78f0ebc6bb update to puma 6.1.1 2023-03-15 14:53:41 +01:00
Colin Darie
c850986c96 chore: log pid for each request 2023-03-15 14:44:31 +01:00
Colin Darie
b628cf85cd
feat(siret): render siret formatted like INSEE 2023-03-15 12:43:56 +01:00