Martin
a4d6692bc6
accessibilite(pages-authentification): evolutions des pages de connexion/creation de compte pour respecter le DSFR et supporter une meilleure accessibilite
...
Update app/components/dsfr/input_component/input_component.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-01-03 16:26:05 +01:00
Sébastien Carceles
20136b7ac8
feat(demarche): create and prefill a dossier with POST request ( #8233 )
...
* add base controller for public api
* add dossiers controller with basic checks
* create the dossier
* ensure content-type is json
* prefill dossier with given values
* mark a dossier as prefilled
When a dossier is prefilled, it's allowed not to have a user.
Plus, we add a secure token to the dossier, which we will need later to set a
user after sign in / sign up.
* set user as owner of an orphan prefilled dossier
When a visitor comes from the dossier_url answered by the public api,
the dossier is orphan:
- when the user is already authenticated: they become the owner
- when the user is not authenticated: they can sign in / sign up / france_connect
and then they become the owner
So here is the procedure:
- allow to sign in / sign up / france connect when user is unauthenticated
- set dossier ownership when the dossier is orphan
- check dossier ownership when the dossier is not
- redirect to brouillon path when user is signed in and owner
* mark the dossier as prefilled when it's prefilled
(even with a GET request, because it will be useful later on, for
exmample in order to cleanup the unused prefilled dossiers)
* system spec: prefilling dossier with post request
2023-01-03 14:46:10 +01:00
Eric Leroy-Terquem
f82fba3e2f
add folders number for instructor group
2023-01-02 15:43:13 +01:00
Damien Le Thiec
ffdb6c0104
Merge branch 'main' into improvement/link_to_dossier_description
2023-01-02 10:15:39 +01:00
Damien Le Thiec
775eb16d95
Add link to prefill description from procedure show
2022-12-29 16:11:59 +01:00
Damien Le Thiec
e6d4b3061e
Improve text for prefill description page
2022-12-29 10:56:42 +01:00
Paul Chavard
0e73415904
feat(revision): improuve changes dashboard
2022-12-27 11:06:51 +00:00
Paul Chavard
9b3fa4dd3c
refactor(revision): changes should be domain objects
2022-12-27 10:58:53 +00:00
Paul Chavard
7aa6f172dc
feat(revision): show number of pending dossiers for each revision
2022-12-27 10:58:53 +00:00
mfo
99a652c297
Merge pull request #8267 from mfo/a11y/use-alert-for-dossier-state
...
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-26 17:44:59 +01:00
mfo
36b86e99be
Merge pull request #8333 from adullact/refactor/remove-useless-env-var
...
remove useless DOSSIER_DEPOSIT_RECEIPT_LOGO_SRC env var
2022-12-26 16:19:52 +01:00
Damien Le Thiec
9e083ea3f7
Merge branch 'main' into feature/prefill_civility
2022-12-26 11:31:52 +01:00
Martin
f333fa6048
correctif(email.sans-confirmation): manque de la maj des traductions des mails sans confirmations
2022-12-26 10:32:19 +01:00
François Vantomme
043dde8841
refactor(env): remove useless DOSSIER_DEPOSIT_RECEIPT_LOGO_SRC var
2022-12-22 19:44:57 +01:00
Christophe Robillard
cfc2aec334
display all demarches only if zonage enabled
2022-12-21 09:02:16 +01:00
Christophe Robillard
11a18516b2
remove feature flag zonage
2022-12-21 09:02:16 +01:00
Colin Darie
7cc7c414ad
style(instructeurs): improve dossier header layout
...
Closes #8292
2022-12-20 19:07:00 +01:00
Damien Le Thiec
c3c1801a62
Add example values civilité
2022-12-20 14:53:46 +01:00
Christophe Robillard
edffd0a7a8
extract ds_opendata_enabled
2022-12-20 12:52:56 +01:00
Sébastien Carceles
dd0a05c1d8
feat(prefill): add possible values ( #8299 )
...
* update layout in order to show possible values
* filter out non fillable types de champ
2022-12-20 11:04:42 +01:00
Kara Diaby
b1b8f1b12e
routes
2022-12-19 15:28:09 +01:00
Martin
4e201a245b
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-19 15:16:57 +01:00
Sébastien Carceles
0a10a08c21
feat(demarche): describe procedure prefilling ( #8187 )
...
* feat(demarche): description
Show the description of an opendata procedure (published or draft),
with help about how to prefill a dossier for this procedure.
Co-authored-by: Damien Le Thiec <damien.lethiec@gmail.com>
2022-12-19 11:32:09 +00:00
Martin
2be4441a70
amelioration(attestion.et.mail): deduplique les message d'erreur, améliore les messages d'erreur, gère la pluralisation des erreurs lorsque plusieurs tags sont concernés
2022-12-19 09:28:46 +01:00
Martin
ef389eab41
amelioration(attestation.et.mail): repositionne les messages d'erreur lié à la substitution des balises a proximité du formulaire pour faciliter la comprehension. passage des champs au DSFR
2022-12-19 09:28:46 +01:00
Christophe Robillard
5de0c8722e
i18n for procedure attributes and values
2022-12-16 15:51:49 +01:00
Christophe Robillard
f3f8bc74c7
fetch procedure info on demand
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
Co-authored-by: Martin <martin@sharypic.com>
2022-12-16 15:51:49 +01:00
Eric Leroy-Terquem
2645ac85f7
update wording and order in types de champ select
2022-12-16 09:30:36 +01:00
simon lehericey
172a9d5599
feat(timestamp): add certigna
2022-12-07 19:28:01 +01:00
Paul Chavard
3d1f57df83
feat(api_token): add api token controller
2022-12-07 18:19:37 +01:00
Paul Chavard
f49a1baeec
refactor(groupe_instructeur): remove mailer should take a list of instructeurs
2022-12-06 12:01:54 +01:00
Martin
6556fda218
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Martin
5875f9b572
spec(batch_operation): system spec batch operation poc
2022-12-06 11:28:48 +01:00
Martin
7df86c50fb
poc(batch_operations_controller): implement simple [not yet with procedure_presentation] action to create a batch operation
2022-12-06 11:28:48 +01:00
simon lehericey
8771205679
clean(flipper): remove unused expert_not_allowed_to_invite
2022-12-05 12:22:29 +01:00
simon lehericey
905e3ab64e
clean(flipper): remove unused gates
2022-12-05 12:22:29 +01:00
simon lehericey
ebd68484df
clean(flipper): remove unused groups
2022-12-05 12:22:29 +01:00
Colin Darie
f7d6350e05
fix(a11y/identite): indicates that all fields are required
...
Closes #8096
2022-12-05 11:37:36 +01:00
Colin Darie
b9d6397a9b
fix(pj_template): private proxy template url so their links are non expirable
...
Closes #7920
2022-12-05 11:30:00 +01:00
Colin Darie
b13c5e56f6
refactor(piece_justificative): UX follows mockups
2022-12-05 10:47:10 +01:00
Colin Darie
ac234b7744
chore(footer): remove obsolete footer partial & i18n keys
2022-12-05 10:38:16 +01:00
Colin Darie
52b6502cbd
test(a11y): ensure we don't mix aria-label and title on main pages
...
Actuellement, on fait le choix de ne pas avoir d'éléments porteurs à la
fois d'aria-label et title.
Bien qu'en principe l'aria-label quand elle est gérée par un navigateur,
prenne précédence sur le title, en pratique un bug dans NVDA cumule les 2
et rend la navigation difficile.
On prend donc le parti (provisoire?) de n'avoir que l'un ou l'autre.
Nous gardons le title si l'info qu'il contient est également pertinente
pour les navigateurs graphiques qui l'affichent en guise de tooltip ;
autrement on bascule sur l'aria-label qui est plus largement supporté
par les navigateurs a11y.
2022-12-05 10:38:16 +01:00
Colin Darie
f653a25cc2
fix(i18n/a11y): translate "Edit file" button title
...
Closes #8136
2022-12-05 10:38:16 +01:00
Colin Darie
762942f468
chore(i18n): translate meta title for main user pages
2022-12-05 10:38:16 +01:00
Colin Darie
70d4d7848b
feat(i18n): more footer translations
2022-12-05 10:38:16 +01:00
Colin Darie
daefdc19af
fix(footer): link to our new github org
2022-12-05 10:38:16 +01:00
Colin Darie
f15363e178
feat(i18n): basic home translation
2022-12-05 10:38:16 +01:00
Paul Chavard
4778c773b3
fix(dev): fix helo integration
2022-12-02 19:13:56 +01:00
Kara Diaby
016f3701d8
routes
2022-12-02 11:30:49 +01:00
Kara Diaby
fe04244138
locales
2022-12-02 11:30:49 +01:00