Commit graph

9244 commits

Author SHA1 Message Date
Christophe Robillard
0a715bc79e add doc to some graphql fields 2023-03-22 10:31:46 +01:00
Paul Chavard
234846eb33 graphql(playground): build with vite 2023-03-22 10:19:56 +01:00
Lisa Durand
d8ecb8527f fix css multi select react 2023-03-22 10:07:51 +01:00
Lisa Durand
a01564adcd create component for sidemenu and add locales for raw text 2023-03-22 09:30:26 +01:00
Lisa Durand
4a2982dc37 fix tests and linter 2023-03-22 09:30:26 +01:00
Lisa Durand
c1b5daadef remove unused view and routes from instructeurs avis 2023-03-22 09:30:26 +01:00
Lisa Durand
d21ff7a762 add sidemenu for instructeurs instead of links at top of page 2023-03-22 09:30:26 +01:00
Lisa Durand
79552b496b add 3rd view for expert - form to ask avis to another expert 2023-03-22 09:30:26 +01:00
Lisa Durand
c51e6aa2e6 split form and avis answers in 2 views for experts and add sidemenu 2023-03-22 09:30:26 +01:00
Lisa Durand
603d66e020 split form and avis answers in 2 views for instructeurs 2023-03-22 09:30:26 +01:00
Colin Darie
08c68ef970
feat(manager): exports dashboard 2023-03-22 09:29:09 +01:00
Colin Darie
ab84222ce4
fix(manager): archives must not be downloadable from manager 2023-03-22 09:29:09 +01:00
LeSim
dcf1bcc16c
Merge pull request #8784 from tchak/fix-use-required
fix(champ): use champ.required?
2023-03-21 16:43:19 +00:00
Lisa Durand
f27e362cae fix validation of yes-no question in avis 2023-03-21 17:07:05 +01:00
Colin Darie
45eb53c26a chore(legal): rename legal notice controller to a StaticPages 2023-03-21 12:44:04 +01:00
Colin Darie
3a9b2d99e3
Merge pull request #8776 from colinux/fix-deadlocks
Fix: corrige peut-être des deadlocks postgresql sur le champ SIRET
2023-03-21 11:11:46 +00:00
Julie Salha
c71a41de13 update DSFR styles 2023-03-21 12:08:01 +01:00
Paul Chavard
af7e16c372 fix(champ): use champ.required? 2023-03-21 11:23:45 +01:00
Paul Chavard
4dc95417c5 fix(champ): use champ.mandatory? 2023-03-21 11:23:33 +01:00
Paul Chavard
b750be75d6
Merge pull request #8782 from tchak/fix-champ-carte-too-many-features
fix(dossier): do not show features list if more then 20
2023-03-21 10:18:05 +00:00
Julie Salha
f181882c85 update links legal notices 2023-03-21 10:25:51 +01:00
Julie Salha
4c62e2b569 clean CSS 2023-03-21 10:05:50 +01:00
Julie Salha
8523d310bf update DSFR styles 2023-03-21 10:05:50 +01:00
Julie Salha
d43b4badc4 fix PR URL and DSFR styles 2023-03-21 10:05:50 +01:00
Julie Salha
24a744537f remove custom css 2023-03-21 10:05:50 +01:00
Julie Salha
5a065cd5a9 fix PR indentation(5) 2023-03-21 10:05:50 +01:00
Julie Salha
92c79b32b9 fix PR indentation(4) 2023-03-21 10:05:50 +01:00
Julie Salha
b5829cbc5a fix PR indentation(3) 2023-03-21 10:05:50 +01:00
Julie Salha
7897196302 fix PR indentation(2) 2023-03-21 10:05:50 +01:00
Julie Salha
cc6ceb580b fix PR indentation 2023-03-21 10:05:50 +01:00
Julie Salha
7af378688e add static page legal notices 2023-03-21 10:05:50 +01: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
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
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
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
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
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
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
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
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
b628cf85cd
feat(siret): render siret formatted like INSEE 2023-03-15 12:43:56 +01:00
Colin Darie
37afd142cb
fix(entreprise): don't leak entreprise name if it's not diffusable 2023-03-15 12:43:56 +01:00
Colin Darie
fc0f9ce193
Merge pull request #8757 from colinux/manager-save-click-to-admin
Manager: liens directs vers les pages ETQ admin et ETQ instructeur d'une démarche
2023-03-14 15:55:01 +00:00
Paul Chavard
53e6ad135f Update app/controllers/concerns/turbo_champs_concern.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-03-14 15:22:13 +01:00
Paul Chavard
c521724cf4 Update app/components/dossiers/edit_footer_component.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-03-14 15:22:13 +01:00
Paul Chavard
cbaa77fca7 feat(annotations): activate autosave 2023-03-14 15:22:13 +01:00
Lisa Durand
ff10a03ffe
Merge pull request #8755 from demarches-simplifiees/adjust-badge-for-usager
[design] Corriger l'alignement des badges du dossier côté usager
2023-03-14 13:11:57 +00:00
LeSim
2d203d6461
Merge pull request #8756 from colinux/fix-cron-expired-dossiers-brouillon
fix(job): ExpiredDossiersDeletionJob détruit en batch les dossiers en brouillon expirés
2023-03-14 12:35:41 +00:00
Lisa Durand
2554f72668 remove useless class in html 2023-03-14 11:04:19 +01:00
Colin Darie
219c50ccaa feat(manager): direct link to procedure admin & instructeur pages 2023-03-13 11:01:14 +01:00
Colin Darie
520142a9c6 fix(job): Cron::ExpiredDossiersDeletionJob destroy brouillon expired in batch 2023-03-13 10:32:53 +01:00
Lisa Durand
17c8450450 adjust badge alignement for users dossiers 2023-03-10 17:54:10 +01:00
mfo
df05c4fbc5
Merge pull request #8754 from mfo/US/fix-duree-conservation-dans-ds
correctif(procedure.maj): quand la duree conservation dans ds est supérieur a 12, on ne pouvait plus mettre a jour la procedure
2023-03-10 09:28:31 +00:00
Lisa Durand
1f03130d52
Merge pull request #8728 from demarches-simplifiees/revoke-usager-transfert-demande
[usager] peut révoquer une demande de transfert
2023-03-10 09:21:59 +00:00
Martin
0b3f279012 correctif(procedure.maj): utilise procedure.max_duree_conservation_dossiers_dans_ds plutot que duree_conservation_etendue_par_ds pour contraindre la saisie du champs duree_conservation_dossiers_dans_ds 2023-03-10 10:18:29 +01:00
Colin Darie
6a2a7fa2d0
Merge pull request #8753 from colinux/fix-auto-numering-in-repetition
Fix(dossier): ne numérote pas automatiquement les titres de section dans les répétitions
2023-03-09 15:41:57 +00:00
Colin Darie
88efef0718
Merge pull request #8749 from colinux/fix-tags-persistence
Administrateur: ne supprime pas les tags quand on n'interagit pas avec la liste de sélection
2023-03-09 15:25:15 +00:00
Colin Darie
6243e5fb92
Merge pull request #8748 from colinux/fix-clone-estimated-dossier
Administrateur: le clone d'une démarche ne copie pas le cache du nombre de dossiers
2023-03-09 15:25:08 +00:00
Colin Darie
bc1ade02c0
Merge pull request #8750 from colinux/fix-jobs
Jobs: rallonge durée max pour les exports, fix des timeouts, isole DossierRebase
2023-03-09 15:22:30 +00:00
Colin Darie
f33d192142 fix(dossier): don't auto-number header sections in repetitions 2023-03-09 16:15:56 +01:00
Colin Darie
4288f28ac8 chore(job): same max_run_time between ArchiveCreationJob and ExportJob 2023-03-09 15:37:13 +01:00
Colin Darie
697aeeb348 refactor(job): DossieRebaseJob in new queue so they don't interfere with others
Ces jobs sont empilés par milliers d'un coup et peuvent mettre des dizaines
de minutes à s'écouler. On ne veut pas que ça interfère avec d'autres jobs,
notamment les scans antivirus qui, si retardés, empilent des "poll" pour
connaitre le status du fichier.
2023-03-09 15:18:14 +01:00
Lisa Durand
6ba47b731b refacto destroy action and add spec for unauthorized user 2023-03-09 14:58:47 +01:00
Lisa Durand
507d01dd44 use dsfr table for transfer receiver view 2023-03-09 14:58:44 +01:00
Lisa Durand
3d5bf40c0f allow transfer sender to revoke a transfer 2023-03-09 14:57:59 +01:00
Colin Darie
9e6d06fd9c fix(job): attempt to fix a pg timeout int Cron::NotifyDraftNotSubmittedJob 2023-03-08 18:45:02 +01:00
Colin Darie
86f15b8c05 chore(job): config delayed job for long-living export jobs 2023-03-08 18:37:41 +01:00
Colin Darie
6b87c290cb fix(cron): PurgeOldEmailEvent in batches 2023-03-08 15:31:10 +01:00
Colin Darie
d20114f978 chore(sentry): use "procedure" tag everywhere for a better debug experience 2023-03-08 13:48:44 +01:00
Colin Darie
c112018ec3 fix(administrateur): tags persistence when non interacting with tags combobox 2023-03-08 11:27:31 +01:00
Eric Leroy-Terquem
9e0753a710 fix(groupe instructeur mailer): do not notify if no added instructeurs 2023-03-08 11:03:33 +01:00
Eric Leroy-Terquem
e1906febcc feat(groupe instructeur): can enable routing from import 2023-03-08 10:48:02 +01:00
Eric Leroy-Terquem
9f0f5b0dc5 feat(groupe instructeur): allow import of many groups when procedure is not routed yet 2023-03-08 10:48:02 +01:00
Colin Darie
d6887f8aa4 fix(procedure): clone reset estimated_dossiers_count 2023-03-07 19:11:30 +01:00
Colin Darie
126819939b
Merge pull request #8678 from colinux/fix-explication-read-more-button
fix(a11y): improve Explication "lire plus"  accessibility
2023-03-07 15:37:02 +00:00
Martin
2b99bbd836 correctif(cadastre): certaines parcelles cadastrales ne contiennent pas la surface. cf: cadastre : numero: 4120 commune: 73094 prefixe: 000 section: A à CREST VOLAND 2023-03-07 14:42:44 +01:00