sebastiencarceles
4f4f4baffd
add possible and example values
2023-02-28 13:26:35 +01:00
kleph
120e13f9ba
Merge pull request #8688 from kleph/doc_apm_env_var
...
chore(env): add ELASTIC_APM_* environment variable to env.example.optional file
2023-02-28 09:39:17 +00:00
kleph
7676043ebc
chore(env): add ELASTIC_APM_* environment variable to env.example.optional file
2023-02-28 10:24:11 +01:00
Colin Darie
a931bea712
feat(a11y/i18n): translate skiplinks
2023-02-27 17:23:43 +01:00
Colin Darie
11fb3a5ca8
fix(i18n): translate contextual procedure help dropdown
...
Cf #8665
2023-02-27 17:23:43 +01:00
sebastiencarceles
35f4874b69
allow integers only
2023-02-27 15:16:40 +01:00
sebastiencarceles
0aacaee2c2
add possible and example values
2023-02-27 15:16:27 +01:00
Sébastien Carceles
7e55aca107
allow rna prefill
2023-02-27 14:35:11 +01:00
sebastiencarceles
30eef3e128
review: detailled error message
2023-02-27 13:45:16 +01:00
Sébastien Carceles
3eb76d8a43
allow siret prefilling
2023-02-27 13:45:16 +01:00
sebastiencarceles
76c9d1ada5
add possible values
2023-02-27 11:53:25 +01:00
Damien Le Thiec
67bbacbb05
Merge pull request #8513 from demarches-simplifiees/feature/prefill_repetible
...
Prefill repeatable
2023-02-27 09:58:53 +00:00
krichtof
1e37e5ca60
Merge pull request #8616 from dzc34/patch-1
...
docs: add DATAGOUV_STATISTICS_DATASET environment variable to env.example.optional
2023-02-23 14:03:43 +00:00
Eric Leroy-Terquem
d516d2a3eb
feat(groupe instructeur): add a confirm modal before import
2023-02-23 10:56:55 +01:00
Damien Le Thiec
731cd56594
Merge branch 'main' into feature/prefill_repetible
2023-02-22 19:49:06 +01:00
Eric Leroy-Terquem
25df48f255
feat(groupe_instructeurs): import instructeurs in unrouted procedure with a proper CSV
2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
3aa7793ed3
fix(groupe_instructeurs): can parse a monocolumn csv file
2023-02-22 09:49:26 +01:00
Colin Darie
a71e8d9a81
chore(bundle): setup elastic_apm, disabled by default
2023-02-21 12:30:51 +01:00
Eric Leroy-Terquem
7b12ec3ffe
refactor(groupe instructeur mailer): move translations in dedicated files
2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
343cb5fce6
feat(groupe instructeur mailer): add emailing to added instructeurs
2023-02-20 15:41:19 +01:00
Damien Le Thiec
989ff598d0
Remove unused locales
2023-02-20 15:40:28 +01:00
Damien Le Thiec
deb51e3880
Manage GET prefill by creating a dossier
2023-02-20 15:35:14 +01:00
Damien Le Thiec
dce4c84f9a
Merge branch 'main' into feature/prefill_repetible
2023-02-16 17:08:30 +01:00
Colin Darie
31c99e935a
refactor(admin): migrate password form to DSFR components
2023-02-16 16:15:40 +01:00
Colin Darie
1f930dfe23
feat(user): can show password when editing password
2023-02-16 16:15:40 +01:00
Julie Salha
ca12e3f58c
Update french translation description
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-02-16 11:44:26 +01:00
Julie Salha
a38c6077a5
fix PR translations
2023-02-16 11:44:26 +01:00
Julie Salha
0e5deda86c
add scrolling functionnality for description procedure
2023-02-16 11:44:26 +01:00
sebastiencarceles
d5ffd61ab6
validate values inclusion
2023-02-16 10:49:15 +01:00
Eric Leroy-Terquem
a46faf8cdf
feat(groupe instructeur mailer): make two kind of notifications for removed instructeur
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
5be58c8223
refactor(groupe instructeur mailer): rename mailer methods
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
cbf072961c
feat(groupe instructeur mailer): add emailing to removed instructeurs
2023-02-16 10:37:04 +01:00
Damien Le Thiec
539b9e4f10
Merge branch 'main' into feature/prefill_repetible
2023-02-15 17:53:06 +01:00
Damien Le Thiec
4876d583b6
Merge branch 'main' into feature/prefill_repetible
2023-02-15 17:39:19 +01:00
sebastiencarceles
edf90a77f3
validate epci to reject incorrect prefill values
2023-02-15 12:14:11 +01:00
sebastiencarceles
5ac80f968a
add possible and example values
2023-02-15 12:14:11 +01:00
Damien Le Thiec
2533ca50d4
Merge branch 'main' into feature/prefill_repetible
2023-02-15 11:07:56 +01:00
Julie Salha
ee009a2c7e
fix PR: delete translations
2023-02-14 11:09:36 +01:00
sebastiencarceles
67ef3a16fa
review: put example values in translation yamls
2023-02-14 09:23:52 +01:00
sebastiencarceles
a56efe22e5
review: link about department numbers
2023-02-14 09:23:35 +01:00
Sébastien Carceles
12abf9045b
add external_id and value validation
2023-02-14 09:23:11 +01:00
Damien Le Thiec
802a23057b
Microtest dossier prefill get without stored queries
2023-02-13 18:15:24 +01:00
Damien Le Thiec
dbb92e7fd3
Merge branch 'main' into feature/prefill_repetible
2023-02-11 22:40:56 +01:00
Fabrice Gangler
d5f40cfd96
docs: add DATAGOUV_STATISTICS_DATASET environment variable to env.example.optional file
...
Refs: #8615
2023-02-10 12:40:38 +01:00
Damien Le Thiec
a4d707f942
Improve format prefill possible_values (tests missing)
2023-02-09 18:08:51 +01:00
Colin Darie
5526cb5173
fix(mail): limit generated subjects to 100 characters
2023-02-09 17:39:56 +01:00
sebastiencarceles
3404b5aa0b
review: wordings
2023-02-09 13:51:52 +01:00
sebastiencarceles
b3af9108cb
harmonize get and post: go to prefilled file
2023-02-09 13:51:52 +01:00
Colin Darie
8a859402ad
chore(mailer): setup Services Publics+ by env var so instances can have their owns
2023-02-09 10:47:53 +01:00
Kara Diaby
f212fa1008
Permet de cloner une démarche depuis la page toutes les démarches
2023-02-09 08:28:30 +00:00
Paul Chavard
6f67ea09bb
fix(lograge): send client_ip and request_id to es
2023-02-08 20:09:19 +01:00
Colin Darie
5aba442e2a
chore(prod): decrease log level to info in production
2023-02-08 16:09:43 +01:00
Paul Chavard
f22cc8812b
secu(graphql): log full queries and variables
2023-02-08 15:10:27 +01:00
Julie Salha
9f61b0db19
remove last commit
2023-02-07 10:34:28 +01:00
Julie Salha
cf99c0450d
remove aria-label attribute burger menu
2023-02-07 10:31:57 +01:00
Martin
d82e705089
fix(dolist): dolist method not defined
2023-02-07 09:30:19 +01:00
Damien Le Thiec
b9c2d1251b
Add missing tests repetition prefill
2023-02-06 17:38:59 +01:00
Colin Darie
cb98bbad21
Revert "chore(sentry): more traces"
2023-02-06 11:52:30 +01:00
simon lehericey
4f0f221e46
secu: remove a balise from sane user input
2023-02-06 11:01:28 +01:00
mfo
3cbb491cfc
Merge pull request #8574 from colinux/more-sentry-traces
...
chore(sentry): more traces
2023-02-06 11:01:06 +01:00
Colin Darie
b3702f4224
chore(sentry): more traces
2023-02-06 10:58:38 +01:00
Martin
6a25120f80
amelioration(dolist_api): echoue avec un fail pour remonter dans notre gestion des retry
2023-02-03 17:19:36 +01:00
Martin
2de9026c13
amelioration(dolist_api): forward le message_id afin de faciliter les investigations
2023-02-03 17:19:36 +01:00
Martin
709a9e82a2
amelioration(dolist): prepare l'usage de dolist par api
...
amelioration(email): ajoute la delivery_method dolist_api pour envoyer les mails via l'api comme recommandé par le fournisseur
2023-02-03 17:19:36 +01:00
Lisa Durand
1d1f5ad567
improve translation
2023-02-03 15:13:06 +01:00
Lisa Durand
8adb90b7e0
fix missing translations issues
2023-02-03 15:13:06 +01:00
Lisa Durand
9aa6c55d1f
replace partial by component
2023-02-03 15:13:06 +01:00
Lisa Durand
4d1f164c43
be more specific on the count of dossiers we display in the table
2023-02-03 15:13:06 +01:00
Julie Salha
31e4a7fe19
Merge branch 'main' into a11y-8225-navigation
2023-02-03 09:34:03 +01:00
Julie Salha
b39d658c06
fix translations tabs menu
2023-02-03 09:17:16 +01:00
Julie Salha
9164abe988
fix translations quotes
2023-02-03 08:38:02 +01:00
Colin Darie
a221c57fbc
feat(manager): resend reset password instructions
2023-02-02 22:15:10 +01:00
Julie Salha
c1ed6aa177
optimization burger menu
2023-02-02 16:46:46 +01:00
Julie Salha
2db959531a
optimization navigation accessibility
2023-02-02 16:04:42 +01:00
Eric Leroy-Terquem
b306dea5cf
refactor(avis): rename revive by remind
2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
2475bb1098
feat(avis): add remind text in view
2023-02-01 09:55:46 +01:00
Damien Le Thiec
d7b01255fe
Merge branch 'main' into feature/prefill_repetible
2023-01-31 16:39:00 +01:00
Damien Le Thiec
20ba96ba3c
POST working with prefill query example for repeating fields
2023-01-31 14:54:23 +01:00
sebastiencarceles
bad7b24bf2
fix: add title to new tab link
2023-01-30 15:17:59 +01:00
Colin Darie
43d854f6b1
fix(contact): yaml syntax
2023-01-30 12:46:04 +01:00
Julie Salha
160520c406
contact standardize links
2023-01-30 12:46:04 +01:00
Julie Salha
5f3ac1c61c
update structure search engine
2023-01-26 14:11:21 +01:00
Sébastien Carceles
49ce255e29
feat(dossier): prefill region champ ( #8442 )
...
* make regions champ prefillable
* add possible and example value
* add external_id and value validation
2023-01-24 11:25:17 +00:00
Martin
5c48036cc6
correctif(patron): limite l'usage de la page patron aux devs
2023-01-24 09:39:31 +01:00
mfo
84a667b8bd
Merge pull request #8454 from tchak/feat-epci
...
feat(types de champ): add EPCI champ
2023-01-23 16:56:18 +01:00
Damien Le Thiec
962016e32e
Schema graph_ql ( #8406 )
...
* First draft schema graph_ql
* Add tests for json schema procedures
2023-01-23 11:31:06 +01:00
Sébastien Carceles
68ddae7382
feat(demarche): prefilling stats ( #8436 )
...
* force json content type for POST / PATCH / PUT
* add specs about stats dossiers funnel
* new endpoint to render stats about a procedure
2023-01-20 13:28:02 +00:00
Paul Chavard
a4cbbe721e
feat(types de champ): add EPCI champ
2023-01-20 11:32:36 +01:00
Martin
3dc26efc61
infra(monitoring): ajoute le webhook pour les notifier des incidents cote sib
2023-01-19 09:50:25 +01:00
Damien Le Thiec
3a8a50a216
Allow prefill pays type de champs ( #8344 )
...
* Allow prefill pays type de champs
* Avoid conditional prefil params for pays champ
* Clean pays data with batch update
* Fix bug and add test batch update pays value
* Improve performance batch_update_pays
* Fix associated country code problem
* Fix after party task name
* Format country name if needed in batch update
2023-01-18 12:52:38 +01:00
Colin Darie
deb40caae1
feat(manager): schedule a dolist report from manager
2023-01-18 09:56:40 +01:00
Sébastien Carceles
5c7b2ba1f3
feat(dossier): prefill drop down list champ ( #8361 )
...
* feat(dossier): prefill drop down list champ
* decorate the types de champ to avoid if / else
In order to avoid doing if this a drop down ? / else at several places,
we decorate the types de champ and let the decorator give the possible
and example values.
* show all possible values when there are too many
* allow to prefill 'other' option
* review: remove duplicate
* review: refactor for readability
* validate that value is in options
* review: exclude disabled options
2023-01-18 09:47:22 +01:00
Colin Darie
ae7e3cf887
fix: indentation
2023-01-17 14:26:11 +01:00
Paul Chavard
44488c7014
feat(dossier): use select in filters bygroupe instructeur
2023-01-16 14:00:08 +01:00
Colin Darie
f02f9a13a8
fix(i18n): fix same typo with missing a word
2023-01-16 13:19:11 +01:00
Damien Le Thiec
5e26acb0e1
Make date and datetime prefillable ( #8304 )
...
* Make date and datetime prefillable
* Format in ISO8601 format
2023-01-12 17:42:02 +01:00
Paul Chavard
289d48f697
refactor(js): use autosubmit controller in filter_component
2023-01-12 11:58:46 +01:00
Paul Chavard
5641c2b078
fix(groupe_instructeur): only show to administrators the number of visible files
2023-01-11 21:49:08 +01:00
Martin
822eda7c42
correctif(safe_mailer): fix bug sur de la synthax
2023-01-11 20:29:51 +01:00
Martin
3e1f4f0209
correctif(safe_mailer): autorise le new/create depuis le manager
2023-01-11 18:34:30 +01:00
Martin
3e6b82ed9e
amelioration(safe_mailer): ajoute au manager la fonction pour configurer le routage des mails sur un fournisseur unique
...
Update app/mailers/devise_user_mailer.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-01-11 17:32:24 +01:00
Damien Le Thiec
493a60f221
Add prefill api to rack_attack
2023-01-11 15:35:43 +01:00
François Vantomme
f430647064
refactor(storage): move S3_* variables to config/env.example.optional
2023-01-11 12:59:19 +01:00
François Vantomme
eb812032e1
security(csp): whitelist amazon AWS for S3 storage
2023-01-11 12:59:19 +01:00
François Vantomme
3ab4482ff7
feat(storage): add S3 storage support
2023-01-11 12:59:19 +01:00
François Vantomme
08d276472b
refactor(links): use localized FAQ URLs
2023-01-11 11:28:03 +01:00
François Vantomme
fe518fed8c
refactor(links): move FAQ from footer to common scope
2023-01-11 11:28:03 +01:00
Colin Darie
05b517a847
fix(mailer): observers on balancer and balanced delivery methods
...
- Les observers doivent être déclarés *avant*
le chargement de nos delivery methods (Sendinblue & Dolist),
sinon ils seront ignorés par ces derniers
- dans le balancer, on ne peut pas appeler `.deliver` une seconde fois,
sinon les observers (et interceptors) sont invoqués deux fois.
2023-01-11 00:57:16 +01:00
Lisa Durand
7abf51ca81
split filter in 2 partials too display filters tags on its own div to have more spaces
2023-01-10 18:05:23 +01:00
Colin Darie
22e2749357
chore(manager): basic dashboard for EmailEvents
2023-01-10 16:07:35 +01:00
Colin Darie
6cb2389eef
chore(email): add an observer which log the emails dispatched
2023-01-10 16:07:35 +01:00
Paul Chavard
5128b9a086
refactor(demarches): use turbo_stream template
2023-01-10 09:48:32 +01:00
Sébastien Carceles
177dec2bdb
feat(dossier): add dossier id to prefill response ( #8382 )
2023-01-06 13:46:27 +00:00
Lisa Durand
080747f60b
reorganise multiple buttons on top of table from instructeur procedure view
2023-01-05 17:22:53 +01:00
Sébastien Carceles
7679ba26b2
⚰️ remove dead route ( #8372 )
2023-01-05 14:07:39 +00: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
Colin Darie
a91fc3bbe1
chore(usager/wording): Dossiers => Mes dossiers in main tab
2023-01-04 13:15:10 +01:00
Colin Darie
c05c765ba7
style(user/expiration): convert banner to DSFR
2023-01-04 13:15:10 +01:00
Colin Darie
6a9afdc2fc
fix(dossier/i18n): correct pluralization of delay expiration button
2023-01-04 13:15:10 +01:00
Colin Darie
0b033a7025
refactor(email): improve wording of automatic deletion to user
...
Closes #7688
2023-01-04 13:15:10 +01:00
Colin Darie
7d16ae83e8
refactor(email): improve wording of near deletion to user
...
Closes #7688
2023-01-04 13:15:10 +01:00
Sébastien Carceles
456be420fa
feat(demarche): describe dossier prefilling with POST ( #8298 )
...
* feat(demarche): describe dossier prefilling with POST
* show response example
2023-01-04 07:31:31 +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
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