Commit graph

16893 commits

Author SHA1 Message Date
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
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