Commit graph

15749 commits

Author SHA1 Message Date
Martin
daeab50321 fix(data): backfill etablissement as degraded mode 2022-09-22 18:02:47 +02:00
Colin Darie
9b929c86ea
Merge pull request #7760 from betagouv/dsfr-dossier-top-form
DSFR: convert dossier top form elements
2022-09-21 16:44:51 +02:00
Colin Darie
a90c5f1d74
Merge pull request #7789 from betagouv/fix-instructeurs-dossier-termine-incomplet
Fix(dossier): don't accept/reject  ith an incomplete etablissement (degraded mode)
2022-09-21 16:07:29 +02:00
Colin Darie
39322e6dff feat(instructeurs): warn about acceptation/reject unavailable due to incomplete etablissement 2022-09-21 16:00:59 +02:00
Colin Darie
fe2b3ec936 feat(instructeurs/dossier): explicit error about impossible transition due to incomplete etablissement 2022-09-21 16:00:59 +02:00
Colin Darie
e7de19b24d fix(dossier): avoir final state if etablissement is still in degraded mode
Maintenant qu'on autorise un dossier pour entreprise a être créé en mode "dégradé",
(avec établissement incomplet suite à API Entreprise/INSEE down…),
on empêche de l'accepter/refuser/classer sans suite tant qu'on a pas
vérifié son SIRET.

Fix https://sentry.io/organizations/demarches-simplifiees/issues/2839832517/?project=1429550&query=is%3Aunresolved
2022-09-21 16:00:59 +02:00
Colin Darie
53cd041060 refactor(dsfr): components import order accordingly to their README 2022-09-21 15:47:35 +02:00
Colin Darie
55fd4307a1 refactor(header/notice): convert JS to stimulus 2022-09-21 15:47:35 +02:00
Colin Darie
a2c32b44c0 chore(scss): support dsfr prefixed fr- not being hyphenated 2022-09-21 15:47:35 +02:00
Colin Darie
4d5f03b99c style(header): remove fr-header__with-notice-info when notice is closed 2022-09-21 15:47:35 +02:00
Colin Darie
7e6624753a refactor(dossier/pdf): use new france_connect_informations helper 2022-09-21 15:47:35 +02:00
Colin Darie
fcb478eb53 refactor(fc_info): use Dsfr::Notice for france connect informations 2022-09-21 15:47:35 +02:00
Colin Darie
ab82128585 feat(dsfr): new NoticeComponent 2022-09-21 15:47:35 +02:00
Colin Darie
a5e1d8865b style(france_connect_account): convert notice about FC user to DSFR 2022-09-21 15:47:35 +02:00
Colin Darie
80daf3ede1 style(dsfr): dossier form header + notice link 2022-09-21 15:47:35 +02:00
Colin Darie
864b1f0c3c
Merge pull request #7787 from betagouv/fix-agent-connect-btn
fix: AgentConnect button visibility
2022-09-21 15:47:11 +02:00
Colin Darie
13beb2bfa5 fix: AgentConnect button visibility 2022-09-21 15:34:31 +02:00
Colin Darie
a7ca444781
Merge pull request #7788 from tchak/rollback-foreign-keys
Revert "Merge pull request #7637 from tchak/chore-add-missing-foreign…
2022-09-21 15:33:42 +02:00
Paul Chavard
16bba911ba Revert "Merge pull request #7637 from tchak/chore-add-missing-foreign-keys"
This reverts commit b21ee46dc2, reversing
changes made to dd85b5c35c.
2022-09-21 15:20:42 +02:00
Colin Darie
673ea9843e
Merge pull request #7784 from betagouv/fix-fc-button
fix: FranceConnect button visibility
2022-09-21 09:36:06 +02:00
Colin Darie
7e1c542807 fix: FranceConnect button was not visible anymore, convert to DSFR 2022-09-21 09:28:54 +02:00
Colin Darie
cffa8d0b69 style(dsfr/link): doc for explicitly disabling href underlined enabled by dsfr 2022-09-21 09:28:54 +02:00
Paul Chavard
b21ee46dc2
Merge pull request #7637 from tchak/chore-add-missing-foreign-keys
fix(db): add missing foreign keys
2022-09-20 15:27:53 +02:00
Paul Chavard
2485fb67cc fix(db): add missing foreign key on attachements blob_id 2022-09-20 15:18:19 +02:00
Paul Chavard
84b9644bcd fix(db): add missing foreign keys 2022-09-20 15:16:52 +02:00
mfo
dd85b5c35c
Merge pull request #7747 from betagouv/feat/7718
ETQ Usager, je souhaite voir le footer au design DSFR
2022-09-19 13:56:57 +02:00
Kara Diaby
ba58558146 fix accessibiliy problems 2022-09-19 13:34:43 +02:00
Kara Diaby
3e43597440 tests 2022-09-19 13:34:43 +02:00
Kara Diaby
12b66513ca locales 2022-09-19 13:34:43 +02:00
Kara Diaby
2c4a8e81ba footer layout 2022-09-19 13:34:43 +02:00
Kara Diaby
f3549a7a4d Modify CSS overide and import footer from DSFR 2022-09-19 13:34:43 +02:00
mfo
f80132377a
Merge pull request #7778 from betagouv/allow_champ_siret_submission_when_api_down
feat(champ siret): permet la soumission du formulaire lorsque l'api est down
2022-09-19 13:34:19 +02:00
simon lehericey
9d2d19800d feat(champ siret): save etablissement in degraded mode if api down and allow submission 2022-09-19 12:12:05 +02:00
simon lehericey
c7d54fc750 feat(champ siret): display an acknowledgment if siret exist 2022-09-19 11:50:33 +02:00
mfo
ce25f45b75
Merge pull request #7773 from mfo/US/add-code-commune-to-geoarea-label
feat(export.xslx): add code commune to geo_area.label
2022-09-19 10:19:51 +02:00
Martin
eae05b0a6f feat(export.xslx): add code commune to geo_area.label 2022-09-17 08:59:06 +02:00
LeSim
3fd6e0b7b0
Merge pull request #7772 from betagouv/display_partial_entreprise_information
feat(api_entreprise): n'affiche que le siret si mode dégradé
2022-09-16 15:00:37 +02:00
simon lehericey
0f318a1f7f feat(api_entreprise): display partial information when degraded_mode 2022-09-16 14:43:18 +02:00
LeSim
7636d35241
Merge pull request #7770 from betagouv/api-entreprise-degraded-mode
API entreprise: degraded mode
2022-09-16 11:55:26 +02:00
Colin Darie
95a4e8a907
feat(api_entreprise): create etablissement with fallback when API is down
On créé l'établissement uniquement avec le SIRET, sans que ce soit bloquant
pour compléter le dossier. On demande à l'utilisateur de vérifier
lui-même la concordance du SIRET avec son entreprise.

Cf #7766
2022-09-16 10:43:59 +02:00
Colin Darie
3cd02ceae3
fix(etablissement): improve annuaire_link, with SIRET & as search
Dans certaines circonstances le SIREN pouvait être vide alors qu'on a
toujours le SIRET. Aussi, on se base sur la recherhce qui redirige vers
le bon namespace car il n'y a pas forcément que des entreprises : certaines
sont listées sous "etablissement".
2022-09-16 10:43:59 +02:00
Colin Darie
2bacd175df
feat(dsfr): import icons sets 2022-09-16 10:43:59 +02:00
Colin Darie
46b69da396
style(dsfr/callout): more theming for callout component 2022-09-16 10:43:59 +02:00
Colin Darie
c4f6305b3a fix(dossiers/api_down): specific error when API Entreprise is globally down. 2022-09-15 18:53:41 +02:00
Colin Darie
d1c06aa92e feat(api_entreprise): add service api_up?, connected to their status page 2022-09-15 18:46:53 +02:00
Paul Chavard
09a63c095e
Merge pull request #7764 from betagouv/split-bad-data-scripts
fix(after_party): split foreign key cleanup task
2022-09-15 11:22:45 +02:00
Paul Chavard
3cea20c46a fix(after_party): split foreign key cleanup task 2022-09-14 11:20:35 +02:00
Paul Chavard
543d7cc7ac
Merge pull request #7635 from tchak/fix-bad-data
fix(db): remove bad data
2022-09-13 12:33:55 +02:00
Paul Chavard
74c6273d17 fix(db): remove bad data 2022-09-13 12:28:04 +02:00
LeSim
6d80a848c8
Merge pull request #7759 from tchak/add-graphql-doc-redirect
fix(graphql): add graphql doc redirect
2022-09-13 11:59:48 +02:00