Commit graph

18480 commits

Author SHA1 Message Date
Colin Darie
91c735a219 chore(service): SIRET is required 2022-09-06 09:23:52 +02:00
Colin Darie
9d59a50cd4 chore(manager/services): show etablissement adresse & geopoint 2022-09-06 09:23:52 +02:00
Colin Darie
67cbc61e1e chore(services): update etablissement adresse & geocode when siret changes 2022-09-06 09:23:52 +02:00
Colin Darie
8762acc0b5 chore(services): fetch etablissement adresse from API Entreprise 2022-09-06 09:23:52 +02:00
Colin Darie
7d39cc6b3e chore(schema): +services#etablissement_{infos,geopoint}
- `etablissement_infos` est une représentation partielle en jsonb
de ce qui est renvoyé par l'API Entreprise.
(On ne conserve que l'adresse pour le moment, utilisée pour le geocodage)
- `etablissement_geopoint` est le point (x,y) issu du géocodage de
l'établissement
2022-09-06 09:23:52 +02:00
Colin Darie
f8cf8aaab7 test(api_entreprise): add missing tests for API Entreprises privileges & adapter 2022-09-06 09:23:52 +02:00
Colin Darie
b75cff2fc3 refactor: API Entreprise instancified, more flexible for various input params
En fonction des resources, l'API est appelée :

- dans le contexte d'une Procedure ou non
- avec ou sans token injecté
- avec ou sans siret/siren
- avec ou sans user
2022-09-06 09:23:52 +02:00
Colin Darie
c02f68083c feat(manager/service): show SIRET number 2022-09-06 09:23:52 +02:00
Colin Darie
fd18f8b5f8 feat(services): serializer with siret 2022-09-06 09:23:52 +02:00
Colin Darie
ad52710c3c fix(siret): don't add twice invalid format errors 2022-09-06 09:23:52 +02:00
Colin Darie
64ce2719ed feat(services): accept an optional SIRET
Closes #7359
2022-09-06 09:23:52 +02:00
Colin Darie
54181bd920 refactor(spec/services): dynamic procedure reference instead of hardcoded id 2022-09-06 09:23:52 +02:00
Colin Darie
a4d9a45280 chore(schema): +services#siret 2022-09-06 09:23:52 +02:00
Colin Darie
54e7a713b4 refactor(spec): service_specs with be_valid syntax 2022-09-06 09:23:52 +02:00
Colin Darie
bfaafdb3f6
Merge pull request #7721 from betagouv/fix-contact-admin
Fix contact admin form
2022-09-05 17:47:09 +02:00
Colin Darie
7f1764fa66 test(support): add contact-admin spec 2022-09-05 17:41:17 +02:00
Colin Darie
a9aab27589 fix(contact-admin): add missing invisible captcha 2022-09-05 17:41:17 +02:00
LeSim
5268962797
Merge pull request #7722 from betagouv/fix-entreprise-without-date-creation
fix(api_entreprise job): don't fail with an entreprise without date_creation
2022-09-05 17:10:45 +02:00
Colin Darie
be965e4fdd fix(api_entreprise): don't fail with entreprise without date_creation 2022-09-05 15:52:06 +02:00
Colin Darie
ad13690d4d
Merge pull request #7704 from betagouv/export-carte-champ-basic
feat(carte/export): list geo labels for carte champ
2022-09-05 11:41:58 +02:00
Colin Darie
4e3b063b87
feat(carte/export): list geo labels 2022-09-05 11:02:51 +02:00
LeSim
661c98b4e7
Merge pull request #7713 from betagouv/more_fix_on_preview
fix(preview): empeche d'accéder a la page aperçu si la revision est invalide
2022-09-05 10:48:06 +02:00
simon lehericey
d612c39438 fix(admin procedure preview): redirect is procedure invalid 2022-09-05 10:18:33 +02:00
simon lehericey
e9677c37a1 fix(admin procedure preview): remove preview and continue buttons where procedure invalid 2022-09-05 10:17:05 +02:00
mfo
da078015ec
Merge pull request #7717 from mfo/US/fix-nbsp-in-pdf
fix(helpscout#1994272872): pdf export contains "?" instructeurs/dossier#telecharger_psj
2022-09-05 10:09:28 +02:00
Martin
6114d1ea2f fix(helpscout#1994272872): pdf export contains ? with telecharger_psj. 2022-09-05 09:54:22 +02:00
LeSim
4215b47af2
Merge pull request #7716 from tchak/fix-dsfr-css
fix(css): rename css file to fix legacy browsers
2022-09-05 09:12:56 +02:00
Paul Chavard
ab3404714a fix(css): rename css file to fix legacy browsers 2022-09-02 19:07:10 +02:00
Kara Diaby
65523b5294
Merge pull request #7715 from betagouv/fix_avis_email_migration
fix(migration): correction de la migration avis email notification
2022-09-02 18:49:28 +02:00
simon lehericey
8c884b4869 fix(migration): fix avis email notification migration 2022-09-02 17:23:04 +02:00
Kara Diaby
733a98f6ee
Merge pull request #7702 from betagouv/feat/7496
ETQ instructeur, je veux pouvoir recevoir un mail lorsqu'un expert dépose un avis
2022-09-02 16:32:40 +02:00
Kara Diaby
a52aeb6fdc tests 2022-09-02 16:23:27 +02:00
Kara Diaby
a73a14aa89 locales 2022-09-02 16:23:27 +02:00
Kara Diaby
f7039bbb0a layout 2022-09-02 16:23:27 +02:00
Kara Diaby
f8d4644f73 models 2022-09-02 16:23:27 +02:00
Kara Diaby
98f4250214 controller 2022-09-02 16:23:27 +02:00
Kara Diaby
aab0c445de Add instant avis email notification to assign_tos 2022-09-02 16:17:22 +02:00
mfo
28e8d903b0
Merge pull request #7712 from mfo/US/fix-service-table-caption
fix(service#index): DSFR table.caption absolute positionning does works well with long captions
2022-09-02 10:40:04 +02:00
Martin
4537d2149d fix(service#index): caption absolute positionning does works well with long captions 2022-09-02 10:29:00 +02:00
mfo
8c570472f3
Merge pull request #7711 from mfo/US/fix-france-connect-button
fix(dsfr): removed image on link
2022-09-02 10:28:50 +02:00
Martin
ae1e8caf31 fix(dsfr): removed image on link 2022-09-02 09:36:58 +02:00
mfo
7e6afd2848
Merge pull request #7710 from mfo/US/fix-dsfr-side-effects
fix(dsfr): side effect
2022-09-01 17:41:44 +02:00
Martin
7a3dddf9de fix(dsfr): side effect 2022-09-01 17:12:22 +02:00
LeSim
e521e9f376
Merge pull request #7708 from betagouv/add_errors_summary_component
ajoute un résumé des erreurs présentes dans l'éditeur de champ
2022-09-01 15:13:49 +02:00
simon lehericey
bad058891b feat(conditional): block actions and hide revision details if procedure invalid 2022-09-01 15:07:18 +02:00
simon lehericey
f4b465a03f add errors_summary component 2022-09-01 15:07:18 +02:00
mfo
a98484809f
Merge pull request #7707 from mfo/US/fix-section-title
fix(a11y): input background color issue
2022-09-01 14:54:47 +02:00
Martin
17c7ae1904 fix(a11y): input issue 2022-09-01 14:54:38 +02:00
Paul Chavard
9532549fe3
Merge pull request #7706 from tchak/fix-form-components
fix(dossier): fix user form component migration errors
2022-09-01 12:59:41 +02:00
Paul Chavard
afefa2bfb4 fix(dossier): fix user form component migration errors 2022-09-01 12:43:24 +02:00