Commit graph

15764 commits

Author SHA1 Message Date
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
Paul Chavard
f4cc890e5d fix(graphql): add graphql doc redirect 2022-09-13 11:38:58 +02:00
Colin Darie
f55bf4c451
Merge pull request #7757 from betagouv/7738-fix-delete-administrateur
fix: remove instructeur when admin is removed
2022-09-13 10:28:57 +02:00
sebastiencarceles
90d795d1e0 fix: remove instructeur when admin is removed 2022-09-13 09:44:49 +02:00
Colin Darie
3afa554a91
Merge pull request #7737 from betagouv/7699-add-admin-with-confirmation-dev
secure admin adding
2022-09-13 09:32:10 +02:00
sebastiencarceles
9aaef79a3d review: use salt to generate key 2022-09-13 07:47:30 +02:00
sebastiencarceles
f154bb56e6 confirm adding a new admin to a procedure
For clarity and a better understanding, use a dedicated controller
to allow the current admin to confirm adding an administrateur
to a procedure.
2022-09-13 07:45:07 +02:00
sebastiencarceles
4123709e72 build and render secured URL to invite admin
For clarity and a better understanding, use a dedicated controller to
build and render the confirmation URL to share in order to add a new
administrateur.
2022-09-13 07:45:07 +02:00
mfo
ca707d2880
Merge pull request #7754 from mfo/US/fix-typo
fix(typo): views/administrateurs/_groups_header.haml
2022-09-12 11:00:33 +02:00
Martin
f47f74fac7 fix(typo): views/administrateurs/_groups_header.haml 2022-09-12 10:26:20 +02:00
mfo
cdf9fe6099
Merge pull request #7752 from mfo/helpcout/1988749
fix(upload.custom-types): army has a custom format for crypted zip. not recognized as an application/octet-stream by the browser. html5[accept] attributes allows to use extensions. So we allow this extension
2022-09-12 10:23:37 +02:00
Martin
67856c2f13 fix(upload.custom-types): army has a custom format for crypted zip. not recognized as an application/octet-stream by the browser. html5[accpet] attributes allows to use extensions. So we allow this extension 2022-09-09 15:54:13 +02:00
mfo
525cce1f2e
Merge pull request #7751 from mfo/US/fix-breadcrumb
fix(breadcrumb): extends breadcrumb libelle truncation from 4 to 10 words
2022-09-09 15:47:46 +02:00
Martin
f08d4e9dc0 fix(breadcrumb): extends breadcrumb libelle truncation from 4 to 10 words 2022-09-09 13:08:24 +02:00
mfo
062477dede
Merge pull request #7750 from betagouv/fix_cursor_on_textarea
fix(style): applique un cursor text au textarea
2022-09-09 12:17:35 +02:00
mfo
ec94fb25cb
Merge pull request #7749 from mfo/fix/annotations-privees-suivis
fix(champ_label_component): add missing helpers
2022-09-09 12:11:28 +02:00
simon lehericey
7449551d3f fix(style): set cursor text on textarea 2022-09-09 12:09:31 +02:00
Martin
93e3f5877e fix(champ_label_component): add missing helpers 2022-09-09 12:02:04 +02:00
LeSim
93f6f22c9e
Merge pull request #7746 from betagouv/fix_condition_on_number_list
fix(conditionnal): corrige les conditions sur les listes de nombre
2022-09-09 11:35:10 +02:00
simon lehericey
c43bf2e5c9 fix(conditional): only parse user input as int if compared with a number 2022-09-09 11:28:32 +02:00
simon lehericey
478a7e68ab refactor(logic): reuse compatible_type 2022-09-09 10:55:42 +02:00
mfo
06c025b5a5
Merge pull request #7723 from mfo/helpscout/1987597382
bug(instructeurs/dossiers#telecharger_pjs): zipline does not play well with not available active storage attachments
2022-09-08 16:28:52 +02:00
mfo
44f366d7f4
Merge branch 'main' into helpscout/1987597382 2022-09-08 12:03:01 +02:00
Paul Chavard
eae06579f8
Merge pull request #7734 from tchak/autosave-en-construction
feat(dossier): autosave en construction
2022-09-08 11:33:00 +02:00
Paul Chavard
d6f5be622c feat(dossier): autosave en construction 2022-09-08 11:26:29 +02:00
Paul Chavard
d35ceb7214 fix(champs): finish EditableChampComponent refactor 2022-09-08 11:26:29 +02:00
Colin Darie
0a1a9e07c4
Merge pull request #7745 from betagouv/fix-old-firefox-inputs
fix(dsfr): input checkbox/radio visibility on old firefox
2022-09-08 11:12:27 +02:00
Martin
cbe77dd2f6 bug(instructeurs/dossiers#telecharger_pjs): zipline does not play well with not available active storage attachments 2022-09-08 11:05:24 +02:00
Colin Darie
e744c9d575
fix(home): signin button should not open on new window (regression) 2022-09-07 19:14:55 +02:00
Colin Darie
b8885140a4
fix(dsfr): checkbox/radio visibility on old firefox
Firefox < 80 ne supporte pas `appearance: auto` injecté par le DSFR,
ce qui rend les checkbox & radio transparentes (invisibles).
2022-09-07 19:14:55 +02:00
LeSim
3aec5fe413
Merge pull request #7730 from betagouv/remove_baseline
style: retirer la baseline du header
2022-09-07 18:10:57 +02:00
simon lehericey
4cd0261099 remove new header baseline 2022-09-07 18:04:25 +02:00
Colin Darie
685ef54062
Merge pull request #7731 from betagouv/fix-home-buttons
Fix home hover buttons, convert to DSFR style
2022-09-07 18:02:32 +02:00
Colin Darie
c927f2c250 refactor(dsfr/card): rename CardComponent => CardVerticalComponent 2022-09-07 17:56:19 +02:00
Colin Darie
e0a15e9821 chore(patron): add Dsfr::CardComponent, but still media query issue 2022-09-07 17:56:19 +02:00
Colin Darie
5f08df7561 refactor(dsfr/button): remove useless & verbose Dsfr::ButtonComponent, in favor of good link_to / f.submit 2022-09-07 17:56:19 +02:00