Commit graph

19278 commits

Author SHA1 Message Date
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
LeSim
3b5256c05c
Merge pull request #7954 from colinux/fix-invitation-when-already-signed
fix(invitation): don't fail when dossier is hidden & user signed on another account
2022-10-28 09:01:45 +02:00
Colin Darie
9f2fa5ee1c fix(invitation): don't fail when dossier is hidden & user signed on another account
Suite de 45994ff567
Cf https://sentry.io/organizations/demarches-simplifiees/issues/3422144920/events/e1c83ea74dbc410ea22aa17ef29fb329/?project=1429550
2022-10-28 08:56:03 +02:00
mfo
9ac8c85b28
Merge pull request #7921 from mfo/US/refactor-admin-page-tile-with-dsfr-tile
design(page de configuration de procedure): passage de la grille au DSFR
2022-10-27 14:05:59 +02:00
Martin
c7c46c9dff design(page de configuration de procedure): passage de la grille au DSFR 2022-10-27 14:00:44 +02:00
LeSim
84a746741d
Merge pull request #7965 from betagouv/always_transfert_service_in_merge
fix(merge): s'assure que les transfert de service lors des merges d'administrateur fonctionnent
2022-10-27 12:59:28 +02:00
simon lehericey
4c98b8f01c fix(merge): ensure service transfert always works 2022-10-27 12:44:02 +02:00
LeSim
71e8277a4f
Merge pull request #7964 from betagouv/fix_strong_migration_on_procedures
fix(migration): ignore strong migration pour la petite table procédures
2022-10-27 09:53:40 +02:00
simon lehericey
46852c7f81 fix(migration): ignore strong migration for small nb of procedure 2022-10-27 09:39:41 +02:00
LeSim
8f76b7188c
Merge pull request #7947 from betagouv/raise_if_update_fail_in_merge
fix(silent_error_in_merge): leve une exception si une mise a jour dans l'update échoue
2022-10-26 23:36:25 +02:00
simon lehericey
44aff1a293 fix(silent_error_in_merge): raise if merge update fail 2022-10-26 23:27:53 +02:00
LeSim
c3242ebad3
Merge pull request #7949 from tchak/chore-remove-ujs
refactor(rails/ujs): don’t use @rails/ujs in our own code
2022-10-26 23:14:06 +02:00
Paul Chavard
7336a62637 refactor(rails/ujs): don’t use @rails/ujs in our own code 2022-10-26 23:06:10 +02:00
LeSim
e978fd14bc
Merge pull request #7894 from colinux/sentry-delayed-job
chore(sentry): regularly notify delayed jobs errors
2022-10-26 23:04:02 +02:00
Colin Darie
72363eea48 chore(delayed_job/sentry): sample traces different from Rails requests 2022-10-26 22:57:41 +02:00
Colin Darie
59c93833a1 chore(delayed_job/sentry): don't wait for all (~25) attempts before reporting 2022-10-26 22:57:41 +02:00
LeSim
18a826be64
Merge pull request #7960 from betagouv/fix_moving_editor
fix(editeur de champ): corrige la perte de focus lors de l'édition de champ
2022-10-26 22:45:56 +02:00
simon lehericey
43438f0018 fix(spec): use config debounce delay in editor
and 0 delay in spec
2022-10-26 22:38:33 +02:00
simon lehericey
59e68ab2c7 refactor(haml): swap - and = due to haml 6 2022-10-26 15:20:55 +02:00
simon lehericey
4e082d6424 fix(turbo morph): make the morph morph again 2022-10-26 15:20:55 +02:00
LeSim
1ebf7e2d9d
Merge pull request #7956 from betagouv/fix_extra_end_in_haml
fix(editeur): supprime un 'end' surnuméraire
2022-10-25 17:05:16 +02:00
simon lehericey
baefd83f31 fix(editor): remove extra end 2022-10-25 16:32:25 +02:00
LeSim
3c8c800683
Merge pull request #7959 from colinux/update-strscan
chore(bundle): update strscan 3.0.3 => 3.0.4
2022-10-25 16:31:39 +02:00
Colin Darie
ab5f222455 chore(bundle): update strscan 3.0.3 => 3.0.4 2022-10-25 16:19:57 +02:00
LeSim
086b391de4
Merge pull request #7957 from tchak/chore-improuve-yarn-clean
chore(dev): yarn clean should use vite clobber
2022-10-25 16:19:20 +02:00
Paul Chavard
f528ba241d chore(dev): yarn clean should use vite clobber 2022-10-25 16:09:34 +02:00
LeSim
cece0cb331
Merge pull request #7916 from betagouv/another_try_at_log_out_spec
chore(capybara): nouvelle essai pour stabiliser les deconnexions sur les tests bout en bout
2022-10-25 16:08:44 +02:00
simon lehericey
d1a8731bfc refactor(spec): faster service spec 2022-10-25 14:44:43 +02:00
simon lehericey
6af4fe624a refactor(service): explicit call to service job to avoid test side effect 2022-10-25 14:44:43 +02:00
simon lehericey
0a1ab733b6 refactor(spec): stabilize api_particulier_spec 2022-10-25 14:44:43 +02:00
simon lehericey
cf592820c6 make linter happier 2022-10-25 14:44:43 +02:00
simon lehericey
b65faafc30 improve stability 2022-10-25 14:44:43 +02:00
simon lehericey
dbb5b7deec clean(js): remove unused autosave:reset 2022-10-25 14:44:43 +02:00