Colin Darie
5d23b37f59
chore: custom dynamic & static 500 pages
2024-04-11 18:19:30 +02:00
Colin Darie
f8a9e72aa2
feat(mail): from and link with host for recipient in dossier_mailer
2024-04-02 18:47:44 +02:00
Colin Darie
16478651a9
test(attestation): more tests for v2
2024-02-01 18:55:53 +01:00
Martin
69346ad41f
tech(review): implement some pair review suggestions
2024-01-12 11:00:29 +01:00
Lisa Durand
43f5f4e030
fix test
2023-12-12 22:35:11 +00:00
Martin
1f13000537
amelioraiton(instructeur.filtres): utilise un combobox pour rechercher le type de champs
2023-12-08 16:10:18 +01:00
Colin Darie
437fb0e39f
test: fix context warning
2023-12-04 15:31:48 +01:00
Colin Darie
3b9285a00b
perf(procedure): description view caching
2023-11-27 11:29:20 +01:00
krichtof
fce2d8efa9
Merge pull request #9710 from demarches-simplifiees/9615-form-autosave
...
ETQ admin, je peux savoir quand mon formulaire a été sauvegardé pour la dernière fois
2023-11-23 23:17:14 +00:00
Christophe Robillard
9c641ccee1
remove flash success messages
2023-11-23 17:10:29 +01:00
Christophe Robillard
2c6a9e7bf2
add autosave feedback when admin updates form
2023-11-23 13:35:53 +01:00
Colin Darie
2343ee83ef
test: fix flaky brouillon on repetition
2023-11-14 09:23:00 +01:00
Colin Darie
e591851b79
test: fix warning about classes already defined by another spec
2023-11-10 14:24:28 +01:00
Paul Chavard
34a76d8afd
feat(dossier): commune champ is an autocomplete now
2023-11-07 20:58:39 +01:00
Lisa Durand
c88e6ab75c
fix specs
2023-10-17 12:25:58 +02:00
simon lehericey
d319385d17
Add tests for prefill identity
2023-09-07 10:17:19 +02:00
Martin
094f4f3ce6
tech(refacto): extrait la logique de rendu du dsfr sur les composants
2023-09-04 10:55:48 +02:00
Kara Diaby
370d8a8cf1
tests
2023-09-04 10:55:48 +02:00
Christian Lautier
db278e83ed
add a constant for the most used test password
2023-08-31 13:40:05 +02:00
Martin
7779aa648f
tech(test.flacky): utilise click_on en lieu et place de wait_for_autosave sur dossier_shared_examples.rb
...
supprime un parametre inutile de la methode wait_for_autosave
2023-08-30 10:01:19 +02:00
Martin
c90175f121
tech(api-entreprise.etablissement): passage du endpoint ETABLISSEMENT_RESOURCE_NAME en v3
2023-06-01 09:06:36 +02:00
Lisa Durand
7f53120815
fix specs - forget to remove description in siret context
2023-05-25 16:49:07 +02:00
Lisa Durand
6274594c70
add new layout to handle new full screen design
2023-05-23 16:49:37 +02:00
Lisa Durand
b6cc35df68
fix specs
2023-05-23 10:34:03 +02:00
Martin
cc2c856ec2
amelioration(bloc-repetable): wrap les blocs repetatable dans des fieldsets
2023-04-20 08:22:02 +02:00
Martin
a3f1e1926a
a11y(bloc-repetable): ETQ usager qui navigue au clavier, lorsque j'ajoute un champs repetable, le focus vient sur le 1er champs du bloc repetable
2023-03-31 08:51:39 +02:00
Paul Chavard
76da68c3fb
feat(commune): prefill by postal code and insee
2023-03-28 16:34:19 +02:00
sebastiencarceles
157a2d8cae
feature spec cover
2023-03-01 14:05:18 +01:00
sebastiencarceles
8b25503f7e
feature spec cover
2023-02-28 14:23:38 +01:00
sebastiencarceles
8f12467168
feature spec cover
2023-02-27 15:18:37 +01:00
sebastiencarceles
efd5464bd5
cover use case with feature spec
2023-02-27 14:43:48 +01:00
sebastiencarceles
498e5d7487
cover use case with a feature spec
2023-02-27 13:53:18 +01:00
sebastiencarceles
bd1bed940c
feature spec cover
2023-02-27 12:20:11 +01:00
Damien Le Thiec
dce4c84f9a
Merge branch 'main' into feature/prefill_repetible
2023-02-16 17:08:30 +01:00
sebastiencarceles
a3ca79076e
cover the use case with feature specs
2023-02-16 10:49:15 +01:00
Damien Le Thiec
4876d583b6
Merge branch 'main' into feature/prefill_repetible
2023-02-15 17:39:19 +01:00
sebastiencarceles
8aa31522b6
cover feature with specs
2023-02-15 12:14:11 +01:00
Damien Le Thiec
dbb92e7fd3
Merge branch 'main' into feature/prefill_repetible
2023-02-11 22:40:56 +01:00
Damien Le Thiec
4b0e6ea382
Convert datetime field to datetime_local ( #8572 )
...
* Convert datetime field to datetime_local
* Fix tests
* Add value formatting view datetime component
* Add helper datetime component value
2023-02-09 15:18:38 +01:00
Damien Le Thiec
63e7c17fda
First tests for prefill repetition
2023-02-03 12:14:18 +01:00
Sébastien Carceles
fa6fc077b4
normalize boolean values ( #8320 )
...
* extract parent for yes no and checkbox champs
* checkbox stores true / false instead of on / off
* normalize blank value to nil
* normalize invalid value to false
* after party task: normalize checkbox values
* after party task: normalize yes_no values
2023-01-05 11:18:27 +00:00
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
simon lehericey
5ee065c8f0
chore(capybara): increase waiting time as workers are slow
2022-11-03 15:26:48 +01:00
simon lehericey
db0fcec019
conf(capybara): make JS_LOG work for head and headless
2022-10-28 14:51:41 +02:00
simon lehericey
091a522cbf
conf(capybara): add MAKE_IT_SLOW option to reveal bugs
2022-10-28 14:51:41 +02:00
simon lehericey
dbb5b7deec
clean(js): remove unused autosave:reset
2022-10-25 14:44:43 +02:00
simon lehericey
e71b7eeee5
refactor(spec): wait for debounce and in flight promise
2022-10-25 14:44:43 +02:00
simon lehericey
4ec13d652a
core(capybara): disable_animation
2022-10-25 14:44:43 +02:00
simon lehericey
5d38345478
feat(system-spec): display js console error
2022-10-25 14:44:43 +02:00