Commit graph

17152 commits

Author SHA1 Message Date
Martin
4990c448b1 amelioration(mail.prioritaire): en plus des mails de device, ajoute la gestion du routage des autres mails critique 2023-01-24 11:49:53 +01:00
Colin Darie
e6b29af2ac
Merge pull request #8485 from colinux/fix-combobox-form-having-direct-upload
fix(combobox): let direct upload finish before submitting form
2023-01-24 10:03:55 +01:00
Colin Darie
d7f170b57a fix(combobox): let direct upload finish before submitting form
Quand un form pour lequel on intercepte le submit a un direct upload,
on laisse le direct upload gérer le submit manuellement pour attendre la
fin de l'upload ; autrement le form est parfois soumis sans la référence
au fichier, ce qui provoque des erreurs rails `InvalidSignature`.
2023-01-24 09:51:05 +01:00
mfo
4e0f83aad6
Merge pull request #8482 from mfo/US/fix-patron
correctif(patron): limite l'usage de la page patron aux devs
2023-01-24 09:50:45 +01:00
Martin
5c48036cc6 correctif(patron): limite l'usage de la page patron aux devs 2023-01-24 09:39:31 +01:00
mfo
84a667b8bd
Merge pull request #8454 from tchak/feat-epci
feat(types de champ): add EPCI champ
2023-01-23 16:56:18 +01:00
Sébastien Carceles
92c769de4f
fix(prefill): code pays display (#8477)
* show translated text AND possible values

* show less possible values

* show countries possible values
2023-01-23 14:08:20 +00:00
mfo
dcf2b92ef5
Merge pull request #8478 from mfo/hs/2130856854/2011688
amelioration(modele_attestation): re-tente a génération de l'attestation dans le cas ou notre objectstorage est en bagotage
2023-01-23 14:56:40 +01:00
Martin
a73c3d8bdf fix(attestation): re-essaie une fois de telecharger le logo/signature au moment de generer l'attestation. sinon on peut se retrouver avec des dossier qui restent en status en construction alors qu'ils devraient etre automatiquement soit en instruction, soit accepte 2023-01-23 14:24:07 +01:00
mfo
24e610e247
Merge pull request #8476 from mfo/hs/2110477668/2009283
Hs/2110477668/2009283
2023-01-23 14:11:34 +01:00
Martin
4b895b71c4 fix(user/dossiers#show): ne fait pas apparaitre les champs conditionnel non visible dans l'export pdf d'un dossier 2023-01-23 14:02:29 +01:00
mfo
1926aa283d
Merge pull request #8425 from adullact/fix/procedure-custom-retention
Fix du support d'une durée personnalisée de conservation des dossiers
2023-01-23 12:11:29 +01:00
Damien Le Thiec
962016e32e
Schema graph_ql (#8406)
* First draft schema graph_ql

* Add tests for json schema procedures
2023-01-23 11:31:06 +01:00
Sébastien Carceles
68ddae7382
feat(demarche): prefilling stats (#8436)
* force json content type for POST / PATCH / PUT

* add specs about stats dossiers funnel

* new endpoint to render stats about a procedure
2023-01-20 13:28:02 +00:00
Paul Chavard
a4cbbe721e feat(types de champ): add EPCI champ 2023-01-20 11:32:36 +01:00
Paul Chavard
f38ee8f03f feat(dossier): implement refresh_after_update on champs 2023-01-20 11:05:25 +01:00
Paul Chavard
60e3ebd7c7
Merge pull request #8470 from tchak/fix-graphql-champ-descriptors
fix(graphql): remove deprecated options from introspection query
2023-01-20 10:39:12 +01:00
Paul Chavard
8f1ae99413 fix(graphql): remove deprecated options from introspection query 2023-01-20 09:54:50 +01:00
mfo
160970da7a
Merge pull request #8471 from demarches-simplifiees/dependabot/bundler/globalid-1.0.1
chore(deps): bump globalid from 1.0.0 to 1.0.1
2023-01-20 09:33:39 +01:00
dependabot[bot]
aac5753798
chore(deps): bump globalid from 1.0.0 to 1.0.1
Bumps [globalid](https://github.com/rails/globalid) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rails/globalid/releases)
- [Commits](https://github.com/rails/globalid/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: globalid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 22:17:33 +00:00
mfo
6e4c164e5b
Merge pull request #8469 from mfo/US/token_enhancement
Us/token enhancement
2023-01-19 18:17:24 +01:00
Martin
ffd6a10618 clean(api/v2/base_controller): remove potential confusion 2023-01-19 18:09:38 +01:00
Martin
52380d5249 fix(api): on fixe avec avec des tests le prob de token 2023-01-19 17:40:19 +01:00
Martin
7206f1b298 bug(api): token, not checked 2023-01-19 17:33:19 +01:00
LeSim
d566a5e095
Merge pull request #8455 from demarches-simplifiees/fix_instructeur_visibility
fix(expert_export): an expert export excludes annotation and avis
2023-01-19 12:16:31 +01:00
simon lehericey
84d08d4d24 fix(expert_export): an expert export excludes annotation and avis 2023-01-19 12:09:16 +01:00
Paul Chavard
c62d83a7f5
Merge pull request #8463 from marc-bouvier/strike-banner
add strike banner
2023-01-19 12:03:49 +01:00
Paul Chavard
b40b6267ad chore(layout): remove unused file 2023-01-19 11:56:46 +01:00
Marc Bouvier
8688671439 add strike banner 2023-01-19 11:56:46 +01:00
Sébastien Carceles
0046338e6a
fix(prefill): don't mark the dossier as prefilled when it's not (#8464)
A dossier should not be marked as prefilled when it's not, meaning
when no prefill params are given.
2023-01-19 10:51:56 +00:00
mfo
51e97b2d89
Merge pull request #8465 from mfo/US/fix-repetition
Us/fix repetition
2023-01-19 11:04:12 +01:00
Martin
8528939b75 correctif(champs/repetitions#remove): les row id etant des ulid commence par un int. utiliser l'ulid comme selecteur css n'est pas valide. il faut donc avoir un selecteur CSS 'safe', et envoyer le row_id 2023-01-19 10:48:01 +01:00
Martin
f59354f787 tech(champs/repetitions#remove): ajout d'un test pour s'assurer que l'action de suppression d'un bloc repetable fonctionne 2023-01-19 10:38:30 +01:00
mfo
1f3215ed46
Merge pull request #8434 from mfo/US/sib-webhooks
Us/sib webhooks - ajoute d'un webhook pr diffuser les incidents SIB sur nos channel de support
2023-01-19 09:57:56 +01:00
Martin
3dc26efc61 infra(monitoring): ajoute le webhook pour les notifier des incidents cote sib 2023-01-19 09:50:25 +01:00
Colin Darie
40ca336750
Merge pull request #8462 from colinux/fix-not-terminable-dossier-having-incomplete-etablissement
Fix: prévient l'instructeur lorsqu'un dossier n'est pas terminable à cause de champ SIRET incomplet
2023-01-18 19:37:31 +01:00
Colin Darie
00643b968d chore(serializer): add sentry tags to have more details when serialization failed 2023-01-18 19:23:25 +01:00
Colin Darie
b549a0ba83 fix(instructeurs): notify that dossier can be terminer if a siret champ is in degraded mode 2023-01-18 19:23:25 +01:00
Colin Darie
428dd9bf1a fix(dossier): we can't terminer any dossier having etablissements in degraded mode
Closes #8449
2023-01-18 19:23:25 +01:00
Kara Diaby
d986c998b8
Merge pull request #8392 from demarches-simplifiees/feat/8065
ETQ Administrateur, je souhaite filtrer mes démarches par tag
2023-01-18 18:54:35 +01:00
Kara Diaby
063059d6f0 tests 2023-01-18 18:46:42 +01:00
Kara Diaby
eac5a42a32 model 2023-01-18 18:46:42 +01:00
Kara Diaby
04b86e9c55 controller 2023-01-18 18:46:42 +01:00
Kara Diaby
b81c36c6b8 layout 2023-01-18 18:46:42 +01:00
Paul Chavard
3f735de520
Merge pull request #8461 from tchak/fix-graphql-description-with-pj
fix(graphql): demarche with pj should return schema
2023-01-18 18:21:56 +01:00
Paul Chavard
b5dc71e975 fix(graphql): demarche with pj should return schema 2023-01-18 18:06:10 +01:00
Colin Darie
1c4d1c4760
Merge pull request #8460 from colinux/backfill-missing-row-ids
fix(after_party): backfill children Champs without row_ids
2023-01-18 17:51:37 +01:00
Colin Darie
869bdf6ade fix(after_party): backfill children Champs without row_ids
Pendant l'after_party 20221215135522_backfill_row_id_on_champs.rake
qui crééait les row_id pour la première fois,
des dossiers ont été clonés et ont échappé à cette tâche.
Ils possèdent donc des champs répétables sans row_id.

Cette tâche vient compléter les row_id manquants
pour ces quelques malheureux champs.

Co-authored-by: Paul Chavard <github@paul.chavard.net>
2023-01-18 17:42:40 +01:00
Paul Chavard
357290acf7
Merge pull request #8117 from tchak/graphql-complete-demarche
feat(graphql): expose more information on demarche descriptor
2023-01-18 15:50:22 +01:00
Paul Chavard
e19af241ca feat(graphql): expose pays, region and departement options in schema 2023-01-18 13:46:40 +01:00