Commit graph

16410 commits

Author SHA1 Message Date
Martin
cb1726366f correctif(administrateur/procedure/archives#index): ne pas utiliser la table des traitement pour la comptabilisation du nombre de dossier dans une archive car si le dossier a ete accepte [mois n-1], repasse en instruction[mois-n1], accepte[mois-narchive], on se retrouve avec le dossier dans plusieurs archives et des compteurs confusant 2022-11-01 12:43:49 +01:00
LeSim
0b96876653
Merge pull request #7973 from demarches-simplifiees/css_fix_in_instructeur_affectation
fix(css): corrige un dépassement dans l affectation des instructeurs
2022-11-01 10:41:58 +01:00
simon lehericey
34abf45801 fix(css): overflow in instructeur affectation 2022-11-01 10:33:57 +01:00
LeSim
a2a9a9aec0
Merge pull request #7971 from demarches-simplifiees/ignore_integrity_error_on_clone
fix(clone): lors du clone d'une procédure, ignore les fichiers corrompus
2022-11-01 10:31:31 +01:00
simon lehericey
52b7886961 fix(clone): on procedure clone, discard integrity error 2022-11-01 10:17:24 +01:00
Paul Chavard
2201114028
Merge pull request #7986 from tchak/refactor-procedure-tags
refactor(procedure): expose procedure tags on model
2022-10-31 22:14:08 +01:00
Paul Chavard
8cf9aec0f7 refactor(procedure): expose procedure tags on model 2022-10-31 19:50:25 +01:00
Paul Chavard
d0c6560f25
Merge pull request #7982 from tchak/graphql-update
chore(graphql): update
2022-10-31 19:27:00 +01:00
Paul Chavard
70a9a7b8bd chore(graphql): update 2022-10-31 19:20:40 +01:00
krichtof
a7a422810d
Merge pull request #7976 from demarches-simplifiees/list-all-demarches
ETQ Administrateur, je peux voir la liste de toutes les démarches.
Filtrées par zone et/ou statut
2022-10-31 16:23:47 +01:00
Christophe Robillard
de072c8b3d use optional chaining 2022-10-31 16:12:02 +01:00
Christophe Robillard
7441218c7f remove useless debug logs 2022-10-31 16:12:02 +01:00
Christophe Robillard
4308f1af26 improve readibility 2022-10-31 16:12:02 +01:00
Christophe Robillard
afcb811a8e correct haml and scss lints 2022-10-31 16:12:02 +01:00
Christophe Robillard
a5a93260cf reinit filters 2022-10-31 16:12:02 +01:00
Christophe Robillard
29be3812af i18n for status 2022-10-31 16:12:02 +01:00
Christophe Robillard
3890b24489 i18n for publication date 2022-10-31 16:12:02 +01:00
Christophe Robillard
619afbacad make selected zones removable 2022-10-31 16:12:02 +01:00
Christophe Robillard
e10e8f1024 autosubmit filter form 2022-10-31 16:12:02 +01:00
Christophe Robillard
0799c40aaa add pagination for all demarches view 2022-10-31 16:12:02 +01:00
Christophe Robillard
3f0279ac45 add main menu for admin procedures views 2022-10-31 16:12:02 +01:00
Christophe Robillard
22fe357d75 list all demarches, filtered by status 2022-10-31 16:12:02 +01:00
Christophe Robillard
9abf1c4af3 list all demarches, filtered by zones 2022-10-31 16:12:02 +01:00
Christophe Robillard
f9f31b721a get zones of an admin 2022-10-31 16:12:02 +01:00
mfo
9260c084d3
Merge pull request #7980 from mfo/US/fix-global-export
correctif(export.global): les exports globals ne sont pas trouvés parla methode find_for_groupe_instructeurs
2022-10-31 16:06:49 +01:00
Martin
60dc6a3912 correctif(export.global): Export.find_for_groupe_instructeurs remonte les exports globaux même lorsqu'il y a une procedure presentation 2022-10-31 14:32:17 +01:00
Martin
fb73838bb8 bug(export.global): Export.find_for_groupe_instructeurs devrait remonter les exports globaux 2022-10-31 14:32:17 +01:00
Paul Chavard
ecd2b2d71e
Merge pull request #7981 from tchak/chore-js-dans-manager
chore(manager): activate js
2022-10-31 14:29:11 +01:00
Paul Chavard
d20d9b8625 chore(manager): activate js 2022-10-31 14:06:26 +01:00
Colin Darie
13adef808a
Merge pull request #7967 from colinux/improve-estimated-fill-duration
feat: improve estimated fill duration with text reading time
2022-10-31 13:36:43 +01:00
Colin Darie
3a06e7e0b3 refactor(tdc): convert fill duration in Duration objects 2022-10-31 12:17:16 +01:00
Colin Darie
010c9a0dcb feat(procedure): includes read duration of explication/non fillable champs
Long explications can significantly increase global fill duration,
so we can't ignore them.

Closes #7963
2022-10-31 12:17:16 +01:00
Colin Darie
7731c6ad64 feat(procedure): estimate fill duration takes account of libelle & description read time
Sometimes long description on types de champ
significantly increases global fill duration.

140 words per minute is a good estimate of attentive off-voice read time.
(This is independent of characters per word).

Closes #7963
2022-10-31 12:17:16 +01:00
Colin Darie
c59867b456
Merge pull request #7978 from colinux/fix-rna
fix(rna): date_creation may be null
2022-10-31 12:13:55 +01:00
Colin Darie
408f57d2d1 fix(rna): date_creation may be null
Closes #7975
2022-10-31 12:02:37 +01:00
Paul Chavard
8704c26b24
Merge pull request #7979 from tchak/fix-graphql-envoyer-message-errors
fix(graphql): properly handle variables json parse errors
2022-10-31 11:39:09 +01:00
Paul Chavard
2ed26e8699 fix(graphql): properly handle variables json parse errors 2022-10-31 11:32:30 +01:00
Paul Chavard
3b0cb8bfe9
Merge pull request #7977 from tchak/fix-graphql-dossier-brouillon
fix(graphql): do not load brouillon or deleted linked dossier
2022-10-31 11:32:11 +01:00
Paul Chavard
ac75afb77c fix(graphql): do not load brouillon or deleted linked dossier 2022-10-31 10:53:22 +01:00
LeSim
96147330ba
Merge pull request #7951 from mfo/US/fix-export-cache-key
bug(export): la creation d'un export avec un filtre different devrait etre effective, ce n'est pas le cas
2022-10-31 09:35:26 +01:00
Martin
5ced9fb431 chore(create_procedure_presentation): homogénéise l'interface sur les procédure présentation. pas d'objet 'build', sinon les export/filtres deviennent compliqués 2022-10-31 09:29:27 +01:00
Martin
50c43f4819 correct(export): la creation d'archive pour un groupe d'instructeur, avec des filtres differents et identique doit etre consistante 2022-10-31 09:29:27 +01:00
Martin
cf51be85e0 bug(export): la creation d'une archive avec un filtre different devrait etre effective, ce n'est pas le cas 2022-10-31 09:29:27 +01:00
LeSim
cde1aebe5e
Merge pull request #7969 from demarches-simplifiees/more_stable_system_spec
fix(spec/system): stabilise encore un peu les tests de bout en bout
2022-10-28 14:57:51 +02:00
simon lehericey
e7666e274f fix(spec/system): wait for merci page 2022-10-28 14:51:41 +02:00
simon lehericey
d859f1ed0a fix(spec/system): add delay when dealing with pj 2022-10-28 14:51:41 +02:00
simon lehericey
db0fcec019 conf(capybara): make JS_LOG work for head and headless 2022-10-28 14:51:41 +02:00
simon lehericey
091a522cbf conf(capybara): add MAKE_IT_SLOW option to reveal bugs 2022-10-28 14:51:41 +02:00
LeSim
7c90444878
Merge pull request #7970 from tchak/graphql-exception-query
feat(graphql): on api exceptions log query and variables
2022-10-28 12:28:32 +02:00
Paul Chavard
473a772032 feat(graphql): on api exceptions log query and variables 2022-10-28 12:18:21 +02:00